1 |
commit: 555f4cdf885aa2ca79b33e590ab9956392baf7c1 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 27 01:38:40 2011 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 27 01:38:40 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=555f4cdf |
7 |
|
8 |
Prepare release 0.4.0 |
9 |
|
10 |
--- |
11 |
Makefile.in | 677 +++++ |
12 |
aclocal.m4 | 951 ++++++ |
13 |
autom4te.cache/output.0 | 7037 ++++++++++++++++++++++++++++++++++++++++++++ |
14 |
autom4te.cache/output.1 | 7037 ++++++++++++++++++++++++++++++++++++++++++++ |
15 |
autom4te.cache/requests | 144 + |
16 |
autom4te.cache/traces.0 | 798 +++++ |
17 |
autom4te.cache/traces.1 | 540 ++++ |
18 |
config.h.in | 137 + |
19 |
configure | 7037 ++++++++++++++++++++++++++++++++++++++++++++ |
20 |
configure.ac | 2 +- |
21 |
depcomp | 630 ++++ |
22 |
doc/Makefile.in | 398 +++ |
23 |
install-sh | 520 ++++ |
24 |
missing | 376 +++ |
25 |
scripts/Makefile.in | 380 +++ |
26 |
src/Makefile.in | 458 +++ |
27 |
tests/Makefile.in | 517 ++++ |
28 |
tests/gnustack/Makefile.in | 435 +++ |
29 |
tests/pxtpax/Makefile.in | 421 +++ |
30 |
19 files changed, 28494 insertions(+), 1 deletions(-) |
31 |
|
32 |
diff --git a/Makefile.in b/Makefile.in |
33 |
new file mode 100644 |
34 |
index 0000000..6f5493f |
35 |
--- /dev/null |
36 |
+++ b/Makefile.in |
37 |
@@ -0,0 +1,677 @@ |
38 |
+# Makefile.in generated by automake 1.11.1 from Makefile.am. |
39 |
+# @configure_input@ |
40 |
+ |
41 |
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
42 |
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
43 |
+# Inc. |
44 |
+# This Makefile.in is free software; the Free Software Foundation |
45 |
+# gives unlimited permission to copy and/or distribute it, |
46 |
+# with or without modifications, as long as this notice is preserved. |
47 |
+ |
48 |
+# This program is distributed in the hope that it will be useful, |
49 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
50 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
51 |
+# PARTICULAR PURPOSE. |
52 |
+ |
53 |
+@SET_MAKE@ |
54 |
+VPATH = @srcdir@ |
55 |
+pkgdatadir = $(datadir)/@PACKAGE@ |
56 |
+pkgincludedir = $(includedir)/@PACKAGE@ |
57 |
+pkglibdir = $(libdir)/@PACKAGE@ |
58 |
+pkglibexecdir = $(libexecdir)/@PACKAGE@ |
59 |
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
60 |
+install_sh_DATA = $(install_sh) -c -m 644 |
61 |
+install_sh_PROGRAM = $(install_sh) -c |
62 |
+install_sh_SCRIPT = $(install_sh) -c |
63 |
+INSTALL_HEADER = $(INSTALL_DATA) |
64 |
+transform = $(program_transform_name) |
65 |
+NORMAL_INSTALL = : |
66 |
+PRE_INSTALL = : |
67 |
+POST_INSTALL = : |
68 |
+NORMAL_UNINSTALL = : |
69 |
+PRE_UNINSTALL = : |
70 |
+POST_UNINSTALL = : |
71 |
+subdir = . |
72 |
+DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
73 |
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
74 |
+ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL \ |
75 |
+ THANKS TODO depcomp install-sh missing |
76 |
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
77 |
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
78 |
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
79 |
+ $(ACLOCAL_M4) |
80 |
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
81 |
+ configure.lineno config.status.lineno |
82 |
+mkinstalldirs = $(install_sh) -d |
83 |
+CONFIG_HEADER = config.h |
84 |
+CONFIG_CLEAN_FILES = |
85 |
+CONFIG_CLEAN_VPATH_FILES = |
86 |
+SOURCES = |
87 |
+DIST_SOURCES = |
88 |
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
89 |
+ html-recursive info-recursive install-data-recursive \ |
90 |
+ install-dvi-recursive install-exec-recursive \ |
91 |
+ install-html-recursive install-info-recursive \ |
92 |
+ install-pdf-recursive install-ps-recursive install-recursive \ |
93 |
+ installcheck-recursive installdirs-recursive pdf-recursive \ |
94 |
+ ps-recursive uninstall-recursive |
95 |
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
96 |
+ distclean-recursive maintainer-clean-recursive |
97 |
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
98 |
+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
99 |
+ distdir dist dist-all distcheck |
100 |
+ETAGS = etags |
101 |
+CTAGS = ctags |
102 |
+DIST_SUBDIRS = src scripts doc tests |
103 |
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
104 |
+distdir = $(PACKAGE)-$(VERSION) |
105 |
+top_distdir = $(distdir) |
106 |
+am__remove_distdir = \ |
107 |
+ { test ! -d "$(distdir)" \ |
108 |
+ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
109 |
+ && rm -fr "$(distdir)"; }; } |
110 |
+am__relativize = \ |
111 |
+ dir0=`pwd`; \ |
112 |
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
113 |
+ sed_rest='s,^[^/]*/*,,'; \ |
114 |
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
115 |
+ sed_butlast='s,/*[^/]*$$,,'; \ |
116 |
+ while test -n "$$dir1"; do \ |
117 |
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
118 |
+ if test "$$first" != "."; then \ |
119 |
+ if test "$$first" = ".."; then \ |
120 |
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
121 |
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
122 |
+ else \ |
123 |
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
124 |
+ if test "$$first2" = "$$first"; then \ |
125 |
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
126 |
+ else \ |
127 |
+ dir2="../$$dir2"; \ |
128 |
+ fi; \ |
129 |
+ dir0="$$dir0"/"$$first"; \ |
130 |
+ fi; \ |
131 |
+ fi; \ |
132 |
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
133 |
+ done; \ |
134 |
+ reldir="$$dir2" |
135 |
+DIST_ARCHIVES = $(distdir).tar.gz |
136 |
+GZIP_ENV = --best |
137 |
+distuninstallcheck_listfiles = find . -type f -print |
138 |
+distcleancheck_listfiles = find . -type f -print |
139 |
+ACLOCAL = @ACLOCAL@ |
140 |
+AMTAR = @AMTAR@ |
141 |
+AUTOCONF = @AUTOCONF@ |
142 |
+AUTOHEADER = @AUTOHEADER@ |
143 |
+AUTOMAKE = @AUTOMAKE@ |
144 |
+AWK = @AWK@ |
145 |
+CC = @CC@ |
146 |
+CCDEPMODE = @CCDEPMODE@ |
147 |
+CFLAGS = @CFLAGS@ |
148 |
+CPP = @CPP@ |
149 |
+CPPFLAGS = @CPPFLAGS@ |
150 |
+CYGPATH_W = @CYGPATH_W@ |
151 |
+DEFS = @DEFS@ |
152 |
+DEPDIR = @DEPDIR@ |
153 |
+ECHO_C = @ECHO_C@ |
154 |
+ECHO_N = @ECHO_N@ |
155 |
+ECHO_T = @ECHO_T@ |
156 |
+EGREP = @EGREP@ |
157 |
+EXEEXT = @EXEEXT@ |
158 |
+GREP = @GREP@ |
159 |
+INSTALL = @INSTALL@ |
160 |
+INSTALL_DATA = @INSTALL_DATA@ |
161 |
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
162 |
+INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
163 |
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
164 |
+LDFLAGS = @LDFLAGS@ |
165 |
+LIBOBJS = @LIBOBJS@ |
166 |
+LIBS = @LIBS@ |
167 |
+LTLIBOBJS = @LTLIBOBJS@ |
168 |
+MAKEINFO = @MAKEINFO@ |
169 |
+MKDIR_P = @MKDIR_P@ |
170 |
+OBJEXT = @OBJEXT@ |
171 |
+PACKAGE = @PACKAGE@ |
172 |
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
173 |
+PACKAGE_NAME = @PACKAGE_NAME@ |
174 |
+PACKAGE_STRING = @PACKAGE_STRING@ |
175 |
+PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
176 |
+PACKAGE_URL = @PACKAGE_URL@ |
177 |
+PACKAGE_VERSION = @PACKAGE_VERSION@ |
178 |
+PATH_SEPARATOR = @PATH_SEPARATOR@ |
179 |
+SET_MAKE = @SET_MAKE@ |
180 |
+SHELL = @SHELL@ |
181 |
+STRIP = @STRIP@ |
182 |
+VERSION = @VERSION@ |
183 |
+abs_builddir = @abs_builddir@ |
184 |
+abs_srcdir = @abs_srcdir@ |
185 |
+abs_top_builddir = @abs_top_builddir@ |
186 |
+abs_top_srcdir = @abs_top_srcdir@ |
187 |
+ac_ct_CC = @ac_ct_CC@ |
188 |
+am__include = @am__include@ |
189 |
+am__leading_dot = @am__leading_dot@ |
190 |
+am__quote = @am__quote@ |
191 |
+am__tar = @am__tar@ |
192 |
+am__untar = @am__untar@ |
193 |
+bindir = @bindir@ |
194 |
+build_alias = @build_alias@ |
195 |
+builddir = @builddir@ |
196 |
+datadir = @datadir@ |
197 |
+datarootdir = @datarootdir@ |
198 |
+docdir = @docdir@ |
199 |
+dvidir = @dvidir@ |
200 |
+exec_prefix = @exec_prefix@ |
201 |
+has_yasm = @has_yasm@ |
202 |
+host_alias = @host_alias@ |
203 |
+htmldir = @htmldir@ |
204 |
+includedir = @includedir@ |
205 |
+infodir = @infodir@ |
206 |
+install_sh = @install_sh@ |
207 |
+libdir = @libdir@ |
208 |
+libexecdir = @libexecdir@ |
209 |
+localedir = @localedir@ |
210 |
+localstatedir = @localstatedir@ |
211 |
+mandir = @mandir@ |
212 |
+mkdir_p = @mkdir_p@ |
213 |
+oldincludedir = @oldincludedir@ |
214 |
+pdfdir = @pdfdir@ |
215 |
+prefix = @prefix@ |
216 |
+program_transform_name = @program_transform_name@ |
217 |
+psdir = @psdir@ |
218 |
+sbindir = @sbindir@ |
219 |
+sharedstatedir = @sharedstatedir@ |
220 |
+srcdir = @srcdir@ |
221 |
+sysconfdir = @sysconfdir@ |
222 |
+target_alias = @target_alias@ |
223 |
+top_build_prefix = @top_build_prefix@ |
224 |
+top_builddir = @top_builddir@ |
225 |
+top_srcdir = @top_srcdir@ |
226 |
+@TEST_TRUE@SUBDIRS_TESTS = tests |
227 |
+SUBDIRS = src scripts doc $(SUBDIRS_TESTS) |
228 |
+all: config.h |
229 |
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive |
230 |
+ |
231 |
+.SUFFIXES: |
232 |
+am--refresh: |
233 |
+ @: |
234 |
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
235 |
+ @for dep in $?; do \ |
236 |
+ case '$(am__configure_deps)' in \ |
237 |
+ *$$dep*) \ |
238 |
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ |
239 |
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ |
240 |
+ && exit 0; \ |
241 |
+ exit 1;; \ |
242 |
+ esac; \ |
243 |
+ done; \ |
244 |
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ |
245 |
+ $(am__cd) $(top_srcdir) && \ |
246 |
+ $(AUTOMAKE) --foreign Makefile |
247 |
+.PRECIOUS: Makefile |
248 |
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
249 |
+ @case '$?' in \ |
250 |
+ *config.status*) \ |
251 |
+ echo ' $(SHELL) ./config.status'; \ |
252 |
+ $(SHELL) ./config.status;; \ |
253 |
+ *) \ |
254 |
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
255 |
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
256 |
+ esac; |
257 |
+ |
258 |
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
259 |
+ $(SHELL) ./config.status --recheck |
260 |
+ |
261 |
+$(top_srcdir)/configure: $(am__configure_deps) |
262 |
+ $(am__cd) $(srcdir) && $(AUTOCONF) |
263 |
+$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
264 |
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
265 |
+$(am__aclocal_m4_deps): |
266 |
+ |
267 |
+config.h: stamp-h1 |
268 |
+ @if test ! -f $@; then \ |
269 |
+ rm -f stamp-h1; \ |
270 |
+ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ |
271 |
+ else :; fi |
272 |
+ |
273 |
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
274 |
+ @rm -f stamp-h1 |
275 |
+ cd $(top_builddir) && $(SHELL) ./config.status config.h |
276 |
+$(srcdir)/config.h.in: $(am__configure_deps) |
277 |
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
278 |
+ rm -f stamp-h1 |
279 |
+ touch $@ |
280 |
+ |
281 |
+distclean-hdr: |
282 |
+ -rm -f config.h stamp-h1 |
283 |
+ |
284 |
+# This directory's subdirectories are mostly independent; you can cd |
285 |
+# into them and run `make' without going through this Makefile. |
286 |
+# To change the values of `make' variables: instead of editing Makefiles, |
287 |
+# (1) if the variable is set in `config.status', edit `config.status' |
288 |
+# (which will cause the Makefiles to be regenerated when you run `make'); |
289 |
+# (2) otherwise, pass the desired values on the `make' command line. |
290 |
+$(RECURSIVE_TARGETS): |
291 |
+ @fail= failcom='exit 1'; \ |
292 |
+ for f in x $$MAKEFLAGS; do \ |
293 |
+ case $$f in \ |
294 |
+ *=* | --[!k]*);; \ |
295 |
+ *k*) failcom='fail=yes';; \ |
296 |
+ esac; \ |
297 |
+ done; \ |
298 |
+ dot_seen=no; \ |
299 |
+ target=`echo $@ | sed s/-recursive//`; \ |
300 |
+ list='$(SUBDIRS)'; for subdir in $$list; do \ |
301 |
+ echo "Making $$target in $$subdir"; \ |
302 |
+ if test "$$subdir" = "."; then \ |
303 |
+ dot_seen=yes; \ |
304 |
+ local_target="$$target-am"; \ |
305 |
+ else \ |
306 |
+ local_target="$$target"; \ |
307 |
+ fi; \ |
308 |
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
309 |
+ || eval $$failcom; \ |
310 |
+ done; \ |
311 |
+ if test "$$dot_seen" = "no"; then \ |
312 |
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
313 |
+ fi; test -z "$$fail" |
314 |
+ |
315 |
+$(RECURSIVE_CLEAN_TARGETS): |
316 |
+ @fail= failcom='exit 1'; \ |
317 |
+ for f in x $$MAKEFLAGS; do \ |
318 |
+ case $$f in \ |
319 |
+ *=* | --[!k]*);; \ |
320 |
+ *k*) failcom='fail=yes';; \ |
321 |
+ esac; \ |
322 |
+ done; \ |
323 |
+ dot_seen=no; \ |
324 |
+ case "$@" in \ |
325 |
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
326 |
+ *) list='$(SUBDIRS)' ;; \ |
327 |
+ esac; \ |
328 |
+ rev=''; for subdir in $$list; do \ |
329 |
+ if test "$$subdir" = "."; then :; else \ |
330 |
+ rev="$$subdir $$rev"; \ |
331 |
+ fi; \ |
332 |
+ done; \ |
333 |
+ rev="$$rev ."; \ |
334 |
+ target=`echo $@ | sed s/-recursive//`; \ |
335 |
+ for subdir in $$rev; do \ |
336 |
+ echo "Making $$target in $$subdir"; \ |
337 |
+ if test "$$subdir" = "."; then \ |
338 |
+ local_target="$$target-am"; \ |
339 |
+ else \ |
340 |
+ local_target="$$target"; \ |
341 |
+ fi; \ |
342 |
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
343 |
+ || eval $$failcom; \ |
344 |
+ done && test -z "$$fail" |
345 |
+tags-recursive: |
346 |
+ list='$(SUBDIRS)'; for subdir in $$list; do \ |
347 |
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
348 |
+ done |
349 |
+ctags-recursive: |
350 |
+ list='$(SUBDIRS)'; for subdir in $$list; do \ |
351 |
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
352 |
+ done |
353 |
+ |
354 |
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
355 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
356 |
+ unique=`for i in $$list; do \ |
357 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
358 |
+ done | \ |
359 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
360 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
361 |
+ mkid -fID $$unique |
362 |
+tags: TAGS |
363 |
+ |
364 |
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
365 |
+ $(TAGS_FILES) $(LISP) |
366 |
+ set x; \ |
367 |
+ here=`pwd`; \ |
368 |
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
369 |
+ include_option=--etags-include; \ |
370 |
+ empty_fix=.; \ |
371 |
+ else \ |
372 |
+ include_option=--include; \ |
373 |
+ empty_fix=; \ |
374 |
+ fi; \ |
375 |
+ list='$(SUBDIRS)'; for subdir in $$list; do \ |
376 |
+ if test "$$subdir" = .; then :; else \ |
377 |
+ test ! -f $$subdir/TAGS || \ |
378 |
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
379 |
+ fi; \ |
380 |
+ done; \ |
381 |
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
382 |
+ unique=`for i in $$list; do \ |
383 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
384 |
+ done | \ |
385 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
386 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
387 |
+ shift; \ |
388 |
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
389 |
+ test -n "$$unique" || unique=$$empty_fix; \ |
390 |
+ if test $$# -gt 0; then \ |
391 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
392 |
+ "$$@" $$unique; \ |
393 |
+ else \ |
394 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
395 |
+ $$unique; \ |
396 |
+ fi; \ |
397 |
+ fi |
398 |
+ctags: CTAGS |
399 |
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
400 |
+ $(TAGS_FILES) $(LISP) |
401 |
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
402 |
+ unique=`for i in $$list; do \ |
403 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
404 |
+ done | \ |
405 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
406 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
407 |
+ test -z "$(CTAGS_ARGS)$$unique" \ |
408 |
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
409 |
+ $$unique |
410 |
+ |
411 |
+GTAGS: |
412 |
+ here=`$(am__cd) $(top_builddir) && pwd` \ |
413 |
+ && $(am__cd) $(top_srcdir) \ |
414 |
+ && gtags -i $(GTAGS_ARGS) "$$here" |
415 |
+ |
416 |
+distclean-tags: |
417 |
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
418 |
+ |
419 |
+distdir: $(DISTFILES) |
420 |
+ $(am__remove_distdir) |
421 |
+ test -d "$(distdir)" || mkdir "$(distdir)" |
422 |
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
423 |
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
424 |
+ list='$(DISTFILES)'; \ |
425 |
+ dist_files=`for file in $$list; do echo $$file; done | \ |
426 |
+ sed -e "s|^$$srcdirstrip/||;t" \ |
427 |
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
428 |
+ case $$dist_files in \ |
429 |
+ */*) $(MKDIR_P) `echo "$$dist_files" | \ |
430 |
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
431 |
+ sort -u` ;; \ |
432 |
+ esac; \ |
433 |
+ for file in $$dist_files; do \ |
434 |
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
435 |
+ if test -d $$d/$$file; then \ |
436 |
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
437 |
+ if test -d "$(distdir)/$$file"; then \ |
438 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
439 |
+ fi; \ |
440 |
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
441 |
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
442 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
443 |
+ fi; \ |
444 |
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
445 |
+ else \ |
446 |
+ test -f "$(distdir)/$$file" \ |
447 |
+ || cp -p $$d/$$file "$(distdir)/$$file" \ |
448 |
+ || exit 1; \ |
449 |
+ fi; \ |
450 |
+ done |
451 |
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
452 |
+ if test "$$subdir" = .; then :; else \ |
453 |
+ test -d "$(distdir)/$$subdir" \ |
454 |
+ || $(MKDIR_P) "$(distdir)/$$subdir" \ |
455 |
+ || exit 1; \ |
456 |
+ fi; \ |
457 |
+ done |
458 |
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
459 |
+ if test "$$subdir" = .; then :; else \ |
460 |
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
461 |
+ $(am__relativize); \ |
462 |
+ new_distdir=$$reldir; \ |
463 |
+ dir1=$$subdir; dir2="$(top_distdir)"; \ |
464 |
+ $(am__relativize); \ |
465 |
+ new_top_distdir=$$reldir; \ |
466 |
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
467 |
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
468 |
+ ($(am__cd) $$subdir && \ |
469 |
+ $(MAKE) $(AM_MAKEFLAGS) \ |
470 |
+ top_distdir="$$new_top_distdir" \ |
471 |
+ distdir="$$new_distdir" \ |
472 |
+ am__remove_distdir=: \ |
473 |
+ am__skip_length_check=: \ |
474 |
+ am__skip_mode_fix=: \ |
475 |
+ distdir) \ |
476 |
+ || exit 1; \ |
477 |
+ fi; \ |
478 |
+ done |
479 |
+ -test -n "$(am__skip_mode_fix)" \ |
480 |
+ || find "$(distdir)" -type d ! -perm -755 \ |
481 |
+ -exec chmod u+rwx,go+rx {} \; -o \ |
482 |
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
483 |
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
484 |
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
485 |
+ || chmod -R a+r "$(distdir)" |
486 |
+dist-gzip: distdir |
487 |
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
488 |
+ $(am__remove_distdir) |
489 |
+ |
490 |
+dist-bzip2: distdir |
491 |
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
492 |
+ $(am__remove_distdir) |
493 |
+ |
494 |
+dist-lzma: distdir |
495 |
+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma |
496 |
+ $(am__remove_distdir) |
497 |
+ |
498 |
+dist-xz: distdir |
499 |
+ tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz |
500 |
+ $(am__remove_distdir) |
501 |
+ |
502 |
+dist-tarZ: distdir |
503 |
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
504 |
+ $(am__remove_distdir) |
505 |
+ |
506 |
+dist-shar: distdir |
507 |
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
508 |
+ $(am__remove_distdir) |
509 |
+ |
510 |
+dist-zip: distdir |
511 |
+ -rm -f $(distdir).zip |
512 |
+ zip -rq $(distdir).zip $(distdir) |
513 |
+ $(am__remove_distdir) |
514 |
+ |
515 |
+dist dist-all: distdir |
516 |
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
517 |
+ $(am__remove_distdir) |
518 |
+ |
519 |
+# This target untars the dist file and tries a VPATH configuration. Then |
520 |
+# it guarantees that the distribution is self-contained by making another |
521 |
+# tarfile. |
522 |
+distcheck: dist |
523 |
+ case '$(DIST_ARCHIVES)' in \ |
524 |
+ *.tar.gz*) \ |
525 |
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
526 |
+ *.tar.bz2*) \ |
527 |
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
528 |
+ *.tar.lzma*) \ |
529 |
+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
530 |
+ *.tar.xz*) \ |
531 |
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
532 |
+ *.tar.Z*) \ |
533 |
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
534 |
+ *.shar.gz*) \ |
535 |
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
536 |
+ *.zip*) \ |
537 |
+ unzip $(distdir).zip ;;\ |
538 |
+ esac |
539 |
+ chmod -R a-w $(distdir); chmod a+w $(distdir) |
540 |
+ mkdir $(distdir)/_build |
541 |
+ mkdir $(distdir)/_inst |
542 |
+ chmod a-w $(distdir) |
543 |
+ test -d $(distdir)/_build || exit 0; \ |
544 |
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
545 |
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
546 |
+ && am__cwd=`pwd` \ |
547 |
+ && $(am__cd) $(distdir)/_build \ |
548 |
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
549 |
+ $(DISTCHECK_CONFIGURE_FLAGS) \ |
550 |
+ && $(MAKE) $(AM_MAKEFLAGS) \ |
551 |
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
552 |
+ && $(MAKE) $(AM_MAKEFLAGS) check \ |
553 |
+ && $(MAKE) $(AM_MAKEFLAGS) install \ |
554 |
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
555 |
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
556 |
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
557 |
+ distuninstallcheck \ |
558 |
+ && chmod -R a-w "$$dc_install_base" \ |
559 |
+ && ({ \ |
560 |
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
561 |
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
562 |
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
563 |
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
564 |
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
565 |
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
566 |
+ && rm -rf "$$dc_destdir" \ |
567 |
+ && $(MAKE) $(AM_MAKEFLAGS) dist \ |
568 |
+ && rm -rf $(DIST_ARCHIVES) \ |
569 |
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
570 |
+ && cd "$$am__cwd" \ |
571 |
+ || exit 1 |
572 |
+ $(am__remove_distdir) |
573 |
+ @(echo "$(distdir) archives ready for distribution: "; \ |
574 |
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
575 |
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
576 |
+distuninstallcheck: |
577 |
+ @$(am__cd) '$(distuninstallcheck_dir)' \ |
578 |
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ |
579 |
+ || { echo "ERROR: files left after uninstall:" ; \ |
580 |
+ if test -n "$(DESTDIR)"; then \ |
581 |
+ echo " (check DESTDIR support)"; \ |
582 |
+ fi ; \ |
583 |
+ $(distuninstallcheck_listfiles) ; \ |
584 |
+ exit 1; } >&2 |
585 |
+distcleancheck: distclean |
586 |
+ @if test '$(srcdir)' = . ; then \ |
587 |
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
588 |
+ exit 1 ; \ |
589 |
+ fi |
590 |
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
591 |
+ || { echo "ERROR: files left in build directory after distclean:" ; \ |
592 |
+ $(distcleancheck_listfiles) ; \ |
593 |
+ exit 1; } >&2 |
594 |
+check-am: all-am |
595 |
+check: check-recursive |
596 |
+all-am: Makefile config.h |
597 |
+installdirs: installdirs-recursive |
598 |
+installdirs-am: |
599 |
+install: install-recursive |
600 |
+install-exec: install-exec-recursive |
601 |
+install-data: install-data-recursive |
602 |
+uninstall: uninstall-recursive |
603 |
+ |
604 |
+install-am: all-am |
605 |
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
606 |
+ |
607 |
+installcheck: installcheck-recursive |
608 |
+install-strip: |
609 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
610 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
611 |
+ `test -z '$(STRIP)' || \ |
612 |
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
613 |
+mostlyclean-generic: |
614 |
+ |
615 |
+clean-generic: |
616 |
+ |
617 |
+distclean-generic: |
618 |
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
619 |
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
620 |
+ |
621 |
+maintainer-clean-generic: |
622 |
+ @echo "This command is intended for maintainers to use" |
623 |
+ @echo "it deletes files that may require special tools to rebuild." |
624 |
+clean: clean-recursive |
625 |
+ |
626 |
+clean-am: clean-generic mostlyclean-am |
627 |
+ |
628 |
+distclean: distclean-recursive |
629 |
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
630 |
+ -rm -f Makefile |
631 |
+distclean-am: clean-am distclean-generic distclean-hdr distclean-tags |
632 |
+ |
633 |
+dvi: dvi-recursive |
634 |
+ |
635 |
+dvi-am: |
636 |
+ |
637 |
+html: html-recursive |
638 |
+ |
639 |
+html-am: |
640 |
+ |
641 |
+info: info-recursive |
642 |
+ |
643 |
+info-am: |
644 |
+ |
645 |
+install-data-am: |
646 |
+ |
647 |
+install-dvi: install-dvi-recursive |
648 |
+ |
649 |
+install-dvi-am: |
650 |
+ |
651 |
+install-exec-am: |
652 |
+ |
653 |
+install-html: install-html-recursive |
654 |
+ |
655 |
+install-html-am: |
656 |
+ |
657 |
+install-info: install-info-recursive |
658 |
+ |
659 |
+install-info-am: |
660 |
+ |
661 |
+install-man: |
662 |
+ |
663 |
+install-pdf: install-pdf-recursive |
664 |
+ |
665 |
+install-pdf-am: |
666 |
+ |
667 |
+install-ps: install-ps-recursive |
668 |
+ |
669 |
+install-ps-am: |
670 |
+ |
671 |
+installcheck-am: |
672 |
+ |
673 |
+maintainer-clean: maintainer-clean-recursive |
674 |
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
675 |
+ -rm -rf $(top_srcdir)/autom4te.cache |
676 |
+ -rm -f Makefile |
677 |
+maintainer-clean-am: distclean-am maintainer-clean-generic |
678 |
+ |
679 |
+mostlyclean: mostlyclean-recursive |
680 |
+ |
681 |
+mostlyclean-am: mostlyclean-generic |
682 |
+ |
683 |
+pdf: pdf-recursive |
684 |
+ |
685 |
+pdf-am: |
686 |
+ |
687 |
+ps: ps-recursive |
688 |
+ |
689 |
+ps-am: |
690 |
+ |
691 |
+uninstall-am: |
692 |
+ |
693 |
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
694 |
+ ctags-recursive install-am install-strip tags-recursive |
695 |
+ |
696 |
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
697 |
+ all all-am am--refresh check check-am clean clean-generic \ |
698 |
+ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ |
699 |
+ dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ |
700 |
+ distclean distclean-generic distclean-hdr distclean-tags \ |
701 |
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \ |
702 |
+ html-am info info-am install install-am install-data \ |
703 |
+ install-data-am install-dvi install-dvi-am install-exec \ |
704 |
+ install-exec-am install-html install-html-am install-info \ |
705 |
+ install-info-am install-man install-pdf install-pdf-am \ |
706 |
+ install-ps install-ps-am install-strip installcheck \ |
707 |
+ installcheck-am installdirs installdirs-am maintainer-clean \ |
708 |
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ |
709 |
+ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am |
710 |
+ |
711 |
+ |
712 |
+# Tell versions [3.59,3.63) of GNU make to not export all variables. |
713 |
+# Otherwise a system limit (for SysV at least) may be exceeded. |
714 |
+.NOEXPORT: |
715 |
|
716 |
diff --git a/aclocal.m4 b/aclocal.m4 |
717 |
new file mode 100644 |
718 |
index 0000000..1bc55f4 |
719 |
--- /dev/null |
720 |
+++ b/aclocal.m4 |
721 |
@@ -0,0 +1,951 @@ |
722 |
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
723 |
+ |
724 |
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
725 |
+# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
726 |
+# This file is free software; the Free Software Foundation |
727 |
+# gives unlimited permission to copy and/or distribute it, |
728 |
+# with or without modifications, as long as this notice is preserved. |
729 |
+ |
730 |
+# This program is distributed in the hope that it will be useful, |
731 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
732 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
733 |
+# PARTICULAR PURPOSE. |
734 |
+ |
735 |
+m4_ifndef([AC_AUTOCONF_VERSION], |
736 |
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
737 |
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |
738 |
+[m4_warning([this file was generated for autoconf 2.68. |
739 |
+You have another version of autoconf. It may work, but is not guaranteed to. |
740 |
+If you have problems, you may need to regenerate the build system entirely. |
741 |
+To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
742 |
+ |
743 |
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
744 |
+# |
745 |
+# This file is free software; the Free Software Foundation |
746 |
+# gives unlimited permission to copy and/or distribute it, |
747 |
+# with or without modifications, as long as this notice is preserved. |
748 |
+ |
749 |
+# AM_AUTOMAKE_VERSION(VERSION) |
750 |
+# ---------------------------- |
751 |
+# Automake X.Y traces this macro to ensure aclocal.m4 has been |
752 |
+# generated from the m4 files accompanying Automake X.Y. |
753 |
+# (This private macro should not be called outside this file.) |
754 |
+AC_DEFUN([AM_AUTOMAKE_VERSION], |
755 |
+[am__api_version='1.11' |
756 |
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
757 |
+dnl require some minimum version. Point them to the right macro. |
758 |
+m4_if([$1], [1.11.1], [], |
759 |
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
760 |
+]) |
761 |
+ |
762 |
+# _AM_AUTOCONF_VERSION(VERSION) |
763 |
+# ----------------------------- |
764 |
+# aclocal traces this macro to find the Autoconf version. |
765 |
+# This is a private macro too. Using m4_define simplifies |
766 |
+# the logic in aclocal, which can simply ignore this definition. |
767 |
+m4_define([_AM_AUTOCONF_VERSION], []) |
768 |
+ |
769 |
+# AM_SET_CURRENT_AUTOMAKE_VERSION |
770 |
+# ------------------------------- |
771 |
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
772 |
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
773 |
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
774 |
+[AM_AUTOMAKE_VERSION([1.11.1])dnl |
775 |
+m4_ifndef([AC_AUTOCONF_VERSION], |
776 |
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
777 |
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
778 |
+ |
779 |
+# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
780 |
+ |
781 |
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
782 |
+# |
783 |
+# This file is free software; the Free Software Foundation |
784 |
+# gives unlimited permission to copy and/or distribute it, |
785 |
+# with or without modifications, as long as this notice is preserved. |
786 |
+ |
787 |
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
788 |
+# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
789 |
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'. |
790 |
+# |
791 |
+# Of course, Automake must honor this variable whenever it calls a |
792 |
+# tool from the auxiliary directory. The problem is that $srcdir (and |
793 |
+# therefore $ac_aux_dir as well) can be either absolute or relative, |
794 |
+# depending on how configure is run. This is pretty annoying, since |
795 |
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
796 |
+# source directory, any form will work fine, but in subdirectories a |
797 |
+# relative path needs to be adjusted first. |
798 |
+# |
799 |
+# $ac_aux_dir/missing |
800 |
+# fails when called from a subdirectory if $ac_aux_dir is relative |
801 |
+# $top_srcdir/$ac_aux_dir/missing |
802 |
+# fails if $ac_aux_dir is absolute, |
803 |
+# fails when called from a subdirectory in a VPATH build with |
804 |
+# a relative $ac_aux_dir |
805 |
+# |
806 |
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
807 |
+# are both prefixed by $srcdir. In an in-source build this is usually |
808 |
+# harmless because $srcdir is `.', but things will broke when you |
809 |
+# start a VPATH build or use an absolute $srcdir. |
810 |
+# |
811 |
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
812 |
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
813 |
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
814 |
+# and then we would define $MISSING as |
815 |
+# MISSING="\${SHELL} $am_aux_dir/missing" |
816 |
+# This will work as long as MISSING is not called from configure, because |
817 |
+# unfortunately $(top_srcdir) has no meaning in configure. |
818 |
+# However there are other variables, like CC, which are often used in |
819 |
+# configure, and could therefore not use this "fixed" $ac_aux_dir. |
820 |
+# |
821 |
+# Another solution, used here, is to always expand $ac_aux_dir to an |
822 |
+# absolute PATH. The drawback is that using absolute paths prevent a |
823 |
+# configured tree to be moved without reconfiguration. |
824 |
+ |
825 |
+AC_DEFUN([AM_AUX_DIR_EXPAND], |
826 |
+[dnl Rely on autoconf to set up CDPATH properly. |
827 |
+AC_PREREQ([2.50])dnl |
828 |
+# expand $ac_aux_dir to an absolute path |
829 |
+am_aux_dir=`cd $ac_aux_dir && pwd` |
830 |
+]) |
831 |
+ |
832 |
+# AM_CONDITIONAL -*- Autoconf -*- |
833 |
+ |
834 |
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 |
835 |
+# Free Software Foundation, Inc. |
836 |
+# |
837 |
+# This file is free software; the Free Software Foundation |
838 |
+# gives unlimited permission to copy and/or distribute it, |
839 |
+# with or without modifications, as long as this notice is preserved. |
840 |
+ |
841 |
+# serial 9 |
842 |
+ |
843 |
+# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
844 |
+# ------------------------------------- |
845 |
+# Define a conditional. |
846 |
+AC_DEFUN([AM_CONDITIONAL], |
847 |
+[AC_PREREQ(2.52)dnl |
848 |
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
849 |
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
850 |
+AC_SUBST([$1_TRUE])dnl |
851 |
+AC_SUBST([$1_FALSE])dnl |
852 |
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
853 |
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
854 |
+m4_define([_AM_COND_VALUE_$1], [$2])dnl |
855 |
+if $2; then |
856 |
+ $1_TRUE= |
857 |
+ $1_FALSE='#' |
858 |
+else |
859 |
+ $1_TRUE='#' |
860 |
+ $1_FALSE= |
861 |
+fi |
862 |
+AC_CONFIG_COMMANDS_PRE( |
863 |
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
864 |
+ AC_MSG_ERROR([[conditional "$1" was never defined. |
865 |
+Usually this means the macro was only invoked conditionally.]]) |
866 |
+fi])]) |
867 |
+ |
868 |
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 |
869 |
+# Free Software Foundation, Inc. |
870 |
+# |
871 |
+# This file is free software; the Free Software Foundation |
872 |
+# gives unlimited permission to copy and/or distribute it, |
873 |
+# with or without modifications, as long as this notice is preserved. |
874 |
+ |
875 |
+# serial 10 |
876 |
+ |
877 |
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
878 |
+# written in clear, in which case automake, when reading aclocal.m4, |
879 |
+# will think it sees a *use*, and therefore will trigger all it's |
880 |
+# C support machinery. Also note that it means that autoscan, seeing |
881 |
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
882 |
+ |
883 |
+ |
884 |
+# _AM_DEPENDENCIES(NAME) |
885 |
+# ---------------------- |
886 |
+# See how the compiler implements dependency checking. |
887 |
+# NAME is "CC", "CXX", "GCJ", or "OBJC". |
888 |
+# We try a few techniques and use that to set a single cache variable. |
889 |
+# |
890 |
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
891 |
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
892 |
+# dependency, and given that the user is not expected to run this macro, |
893 |
+# just rely on AC_PROG_CC. |
894 |
+AC_DEFUN([_AM_DEPENDENCIES], |
895 |
+[AC_REQUIRE([AM_SET_DEPDIR])dnl |
896 |
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
897 |
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
898 |
+AC_REQUIRE([AM_DEP_TRACK])dnl |
899 |
+ |
900 |
+ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
901 |
+ [$1], CXX, [depcc="$CXX" am_compiler_list=], |
902 |
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
903 |
+ [$1], UPC, [depcc="$UPC" am_compiler_list=], |
904 |
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
905 |
+ [depcc="$$1" am_compiler_list=]) |
906 |
+ |
907 |
+AC_CACHE_CHECK([dependency style of $depcc], |
908 |
+ [am_cv_$1_dependencies_compiler_type], |
909 |
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
910 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
911 |
+ # making bogus files that we don't know about and never remove. For |
912 |
+ # instance it was reported that on HP-UX the gcc test will end up |
913 |
+ # making a dummy file named `D' -- because `-MD' means `put the output |
914 |
+ # in D'. |
915 |
+ mkdir conftest.dir |
916 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
917 |
+ # using a relative directory. |
918 |
+ cp "$am_depcomp" conftest.dir |
919 |
+ cd conftest.dir |
920 |
+ # We will build objects and dependencies in a subdirectory because |
921 |
+ # it helps to detect inapplicable dependency modes. For instance |
922 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
923 |
+ # side effect of compilation, but ICC will put the dependencies in |
924 |
+ # the current directory while Tru64 will put them in the object |
925 |
+ # directory. |
926 |
+ mkdir sub |
927 |
+ |
928 |
+ am_cv_$1_dependencies_compiler_type=none |
929 |
+ if test "$am_compiler_list" = ""; then |
930 |
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
931 |
+ fi |
932 |
+ am__universal=false |
933 |
+ m4_case([$1], [CC], |
934 |
+ [case " $depcc " in #( |
935 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
936 |
+ esac], |
937 |
+ [CXX], |
938 |
+ [case " $depcc " in #( |
939 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
940 |
+ esac]) |
941 |
+ |
942 |
+ for depmode in $am_compiler_list; do |
943 |
+ # Setup a source with many dependencies, because some compilers |
944 |
+ # like to wrap large dependency lists on column 80 (with \), and |
945 |
+ # we should not choose a depcomp mode which is confused by this. |
946 |
+ # |
947 |
+ # We need to recreate these files for each test, as the compiler may |
948 |
+ # overwrite some of them when testing with obscure command lines. |
949 |
+ # This happens at least with the AIX C compiler. |
950 |
+ : > sub/conftest.c |
951 |
+ for i in 1 2 3 4 5 6; do |
952 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
953 |
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
954 |
+ # Solaris 8's {/usr,}/bin/sh. |
955 |
+ touch sub/conftst$i.h |
956 |
+ done |
957 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
958 |
+ |
959 |
+ # We check with `-c' and `-o' for the sake of the "dashmstdout" |
960 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
961 |
+ # handle `-M -o', and we need to detect this. Also, some Intel |
962 |
+ # versions had trouble with output in subdirs |
963 |
+ am__obj=sub/conftest.${OBJEXT-o} |
964 |
+ am__minus_obj="-o $am__obj" |
965 |
+ case $depmode in |
966 |
+ gcc) |
967 |
+ # This depmode causes a compiler race in universal mode. |
968 |
+ test "$am__universal" = false || continue |
969 |
+ ;; |
970 |
+ nosideeffect) |
971 |
+ # after this tag, mechanisms are not by side-effect, so they'll |
972 |
+ # only be used when explicitly requested |
973 |
+ if test "x$enable_dependency_tracking" = xyes; then |
974 |
+ continue |
975 |
+ else |
976 |
+ break |
977 |
+ fi |
978 |
+ ;; |
979 |
+ msvisualcpp | msvcmsys) |
980 |
+ # This compiler won't grok `-c -o', but also, the minuso test has |
981 |
+ # not run yet. These depmodes are late enough in the game, and |
982 |
+ # so weak that their functioning should not be impacted. |
983 |
+ am__obj=conftest.${OBJEXT-o} |
984 |
+ am__minus_obj= |
985 |
+ ;; |
986 |
+ none) break ;; |
987 |
+ esac |
988 |
+ if depmode=$depmode \ |
989 |
+ source=sub/conftest.c object=$am__obj \ |
990 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
991 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
992 |
+ >/dev/null 2>conftest.err && |
993 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
994 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
995 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
996 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
997 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
998 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
999 |
+ # that says an option was ignored or not supported. |
1000 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
1001 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
1002 |
+ # The diagnosis changed in icc 8.0: |
1003 |
+ # icc: Command line remark: option '-MP' not supported |
1004 |
+ if (grep 'ignoring option' conftest.err || |
1005 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
1006 |
+ am_cv_$1_dependencies_compiler_type=$depmode |
1007 |
+ break |
1008 |
+ fi |
1009 |
+ fi |
1010 |
+ done |
1011 |
+ |
1012 |
+ cd .. |
1013 |
+ rm -rf conftest.dir |
1014 |
+else |
1015 |
+ am_cv_$1_dependencies_compiler_type=none |
1016 |
+fi |
1017 |
+]) |
1018 |
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
1019 |
+AM_CONDITIONAL([am__fastdep$1], [ |
1020 |
+ test "x$enable_dependency_tracking" != xno \ |
1021 |
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
1022 |
+]) |
1023 |
+ |
1024 |
+ |
1025 |
+# AM_SET_DEPDIR |
1026 |
+# ------------- |
1027 |
+# Choose a directory name for dependency files. |
1028 |
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES |
1029 |
+AC_DEFUN([AM_SET_DEPDIR], |
1030 |
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
1031 |
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
1032 |
+]) |
1033 |
+ |
1034 |
+ |
1035 |
+# AM_DEP_TRACK |
1036 |
+# ------------ |
1037 |
+AC_DEFUN([AM_DEP_TRACK], |
1038 |
+[AC_ARG_ENABLE(dependency-tracking, |
1039 |
+[ --disable-dependency-tracking speeds up one-time build |
1040 |
+ --enable-dependency-tracking do not reject slow dependency extractors]) |
1041 |
+if test "x$enable_dependency_tracking" != xno; then |
1042 |
+ am_depcomp="$ac_aux_dir/depcomp" |
1043 |
+ AMDEPBACKSLASH='\' |
1044 |
+fi |
1045 |
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
1046 |
+AC_SUBST([AMDEPBACKSLASH])dnl |
1047 |
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
1048 |
+]) |
1049 |
+ |
1050 |
+# Generate code to set up dependency tracking. -*- Autoconf -*- |
1051 |
+ |
1052 |
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 |
1053 |
+# Free Software Foundation, Inc. |
1054 |
+# |
1055 |
+# This file is free software; the Free Software Foundation |
1056 |
+# gives unlimited permission to copy and/or distribute it, |
1057 |
+# with or without modifications, as long as this notice is preserved. |
1058 |
+ |
1059 |
+#serial 5 |
1060 |
+ |
1061 |
+# _AM_OUTPUT_DEPENDENCY_COMMANDS |
1062 |
+# ------------------------------ |
1063 |
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
1064 |
+[{ |
1065 |
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files |
1066 |
+ # are listed without --file. Let's play safe and only enable the eval |
1067 |
+ # if we detect the quoting. |
1068 |
+ case $CONFIG_FILES in |
1069 |
+ *\'*) eval set x "$CONFIG_FILES" ;; |
1070 |
+ *) set x $CONFIG_FILES ;; |
1071 |
+ esac |
1072 |
+ shift |
1073 |
+ for mf |
1074 |
+ do |
1075 |
+ # Strip MF so we end up with the name of the file. |
1076 |
+ mf=`echo "$mf" | sed -e 's/:.*$//'` |
1077 |
+ # Check whether this is an Automake generated Makefile or not. |
1078 |
+ # We used to match only the files named `Makefile.in', but |
1079 |
+ # some people rename them; so instead we look at the file content. |
1080 |
+ # Grep'ing the first line is not enough: some people post-process |
1081 |
+ # each Makefile.in and add a new line on top of each file to say so. |
1082 |
+ # Grep'ing the whole file is not good either: AIX grep has a line |
1083 |
+ # limit of 2048, but all sed's we know have understand at least 4000. |
1084 |
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
1085 |
+ dirpart=`AS_DIRNAME("$mf")` |
1086 |
+ else |
1087 |
+ continue |
1088 |
+ fi |
1089 |
+ # Extract the definition of DEPDIR, am__include, and am__quote |
1090 |
+ # from the Makefile without running `make'. |
1091 |
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
1092 |
+ test -z "$DEPDIR" && continue |
1093 |
+ am__include=`sed -n 's/^am__include = //p' < "$mf"` |
1094 |
+ test -z "am__include" && continue |
1095 |
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
1096 |
+ # When using ansi2knr, U may be empty or an underscore; expand it |
1097 |
+ U=`sed -n 's/^U = //p' < "$mf"` |
1098 |
+ # Find all dependency output files, they are included files with |
1099 |
+ # $(DEPDIR) in their names. We invoke sed twice because it is the |
1100 |
+ # simplest approach to changing $(DEPDIR) to its actual value in the |
1101 |
+ # expansion. |
1102 |
+ for file in `sed -n " |
1103 |
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
1104 |
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
1105 |
+ # Make sure the directory exists. |
1106 |
+ test -f "$dirpart/$file" && continue |
1107 |
+ fdir=`AS_DIRNAME(["$file"])` |
1108 |
+ AS_MKDIR_P([$dirpart/$fdir]) |
1109 |
+ # echo "creating $dirpart/$file" |
1110 |
+ echo '# dummy' > "$dirpart/$file" |
1111 |
+ done |
1112 |
+ done |
1113 |
+} |
1114 |
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
1115 |
+ |
1116 |
+ |
1117 |
+# AM_OUTPUT_DEPENDENCY_COMMANDS |
1118 |
+# ----------------------------- |
1119 |
+# This macro should only be invoked once -- use via AC_REQUIRE. |
1120 |
+# |
1121 |
+# This code is only required when automatic dependency tracking |
1122 |
+# is enabled. FIXME. This creates each `.P' file that we will |
1123 |
+# need in order to bootstrap the dependency handling code. |
1124 |
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
1125 |
+[AC_CONFIG_COMMANDS([depfiles], |
1126 |
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
1127 |
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
1128 |
+]) |
1129 |
+ |
1130 |
+# Do all the work for Automake. -*- Autoconf -*- |
1131 |
+ |
1132 |
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
1133 |
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. |
1134 |
+# |
1135 |
+# This file is free software; the Free Software Foundation |
1136 |
+# gives unlimited permission to copy and/or distribute it, |
1137 |
+# with or without modifications, as long as this notice is preserved. |
1138 |
+ |
1139 |
+# serial 16 |
1140 |
+ |
1141 |
+# This macro actually does too much. Some checks are only needed if |
1142 |
+# your package does certain things. But this isn't really a big deal. |
1143 |
+ |
1144 |
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
1145 |
+# AM_INIT_AUTOMAKE([OPTIONS]) |
1146 |
+# ----------------------------------------------- |
1147 |
+# The call with PACKAGE and VERSION arguments is the old style |
1148 |
+# call (pre autoconf-2.50), which is being phased out. PACKAGE |
1149 |
+# and VERSION should now be passed to AC_INIT and removed from |
1150 |
+# the call to AM_INIT_AUTOMAKE. |
1151 |
+# We support both call styles for the transition. After |
1152 |
+# the next Automake release, Autoconf can make the AC_INIT |
1153 |
+# arguments mandatory, and then we can depend on a new Autoconf |
1154 |
+# release and drop the old call support. |
1155 |
+AC_DEFUN([AM_INIT_AUTOMAKE], |
1156 |
+[AC_PREREQ([2.62])dnl |
1157 |
+dnl Autoconf wants to disallow AM_ names. We explicitly allow |
1158 |
+dnl the ones we care about. |
1159 |
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
1160 |
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
1161 |
+AC_REQUIRE([AC_PROG_INSTALL])dnl |
1162 |
+if test "`cd $srcdir && pwd`" != "`pwd`"; then |
1163 |
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
1164 |
+ # is not polluted with repeated "-I." |
1165 |
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
1166 |
+ # test to see if srcdir already configured |
1167 |
+ if test -f $srcdir/config.status; then |
1168 |
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
1169 |
+ fi |
1170 |
+fi |
1171 |
+ |
1172 |
+# test whether we have cygpath |
1173 |
+if test -z "$CYGPATH_W"; then |
1174 |
+ if (cygpath --version) >/dev/null 2>/dev/null; then |
1175 |
+ CYGPATH_W='cygpath -w' |
1176 |
+ else |
1177 |
+ CYGPATH_W=echo |
1178 |
+ fi |
1179 |
+fi |
1180 |
+AC_SUBST([CYGPATH_W]) |
1181 |
+ |
1182 |
+# Define the identity of the package. |
1183 |
+dnl Distinguish between old-style and new-style calls. |
1184 |
+m4_ifval([$2], |
1185 |
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
1186 |
+ AC_SUBST([PACKAGE], [$1])dnl |
1187 |
+ AC_SUBST([VERSION], [$2])], |
1188 |
+[_AM_SET_OPTIONS([$1])dnl |
1189 |
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
1190 |
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, |
1191 |
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
1192 |
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
1193 |
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
1194 |
+ |
1195 |
+_AM_IF_OPTION([no-define],, |
1196 |
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
1197 |
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl |
1198 |
+ |
1199 |
+# Some tools Automake needs. |
1200 |
+AC_REQUIRE([AM_SANITY_CHECK])dnl |
1201 |
+AC_REQUIRE([AC_ARG_PROGRAM])dnl |
1202 |
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) |
1203 |
+AM_MISSING_PROG(AUTOCONF, autoconf) |
1204 |
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
1205 |
+AM_MISSING_PROG(AUTOHEADER, autoheader) |
1206 |
+AM_MISSING_PROG(MAKEINFO, makeinfo) |
1207 |
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
1208 |
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
1209 |
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
1210 |
+# We need awk for the "check" target. The system "awk" is bad on |
1211 |
+# some platforms. |
1212 |
+AC_REQUIRE([AC_PROG_AWK])dnl |
1213 |
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
1214 |
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
1215 |
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
1216 |
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
1217 |
+ [_AM_PROG_TAR([v7])])]) |
1218 |
+_AM_IF_OPTION([no-dependencies],, |
1219 |
+[AC_PROVIDE_IFELSE([AC_PROG_CC], |
1220 |
+ [_AM_DEPENDENCIES(CC)], |
1221 |
+ [define([AC_PROG_CC], |
1222 |
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
1223 |
+AC_PROVIDE_IFELSE([AC_PROG_CXX], |
1224 |
+ [_AM_DEPENDENCIES(CXX)], |
1225 |
+ [define([AC_PROG_CXX], |
1226 |
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
1227 |
+AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
1228 |
+ [_AM_DEPENDENCIES(OBJC)], |
1229 |
+ [define([AC_PROG_OBJC], |
1230 |
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
1231 |
+]) |
1232 |
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
1233 |
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the |
1234 |
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro |
1235 |
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
1236 |
+AC_CONFIG_COMMANDS_PRE(dnl |
1237 |
+[m4_provide_if([_AM_COMPILER_EXEEXT], |
1238 |
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
1239 |
+]) |
1240 |
+ |
1241 |
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
1242 |
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
1243 |
+dnl mangled by Autoconf and run in a shell conditional statement. |
1244 |
+m4_define([_AC_COMPILER_EXEEXT], |
1245 |
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
1246 |
+ |
1247 |
+ |
1248 |
+# When config.status generates a header, we must update the stamp-h file. |
1249 |
+# This file resides in the same directory as the config header |
1250 |
+# that is generated. The stamp files are numbered to have different names. |
1251 |
+ |
1252 |
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
1253 |
+# loop where config.status creates the headers, so we can generate |
1254 |
+# our stamp files there. |
1255 |
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
1256 |
+[# Compute $1's index in $config_headers. |
1257 |
+_am_arg=$1 |
1258 |
+_am_stamp_count=1 |
1259 |
+for _am_header in $config_headers :; do |
1260 |
+ case $_am_header in |
1261 |
+ $_am_arg | $_am_arg:* ) |
1262 |
+ break ;; |
1263 |
+ * ) |
1264 |
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
1265 |
+ esac |
1266 |
+done |
1267 |
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
1268 |
+ |
1269 |
+# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. |
1270 |
+# |
1271 |
+# This file is free software; the Free Software Foundation |
1272 |
+# gives unlimited permission to copy and/or distribute it, |
1273 |
+# with or without modifications, as long as this notice is preserved. |
1274 |
+ |
1275 |
+# AM_PROG_INSTALL_SH |
1276 |
+# ------------------ |
1277 |
+# Define $install_sh. |
1278 |
+AC_DEFUN([AM_PROG_INSTALL_SH], |
1279 |
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
1280 |
+if test x"${install_sh}" != xset; then |
1281 |
+ case $am_aux_dir in |
1282 |
+ *\ * | *\ *) |
1283 |
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
1284 |
+ *) |
1285 |
+ install_sh="\${SHELL} $am_aux_dir/install-sh" |
1286 |
+ esac |
1287 |
+fi |
1288 |
+AC_SUBST(install_sh)]) |
1289 |
+ |
1290 |
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
1291 |
+# |
1292 |
+# This file is free software; the Free Software Foundation |
1293 |
+# gives unlimited permission to copy and/or distribute it, |
1294 |
+# with or without modifications, as long as this notice is preserved. |
1295 |
+ |
1296 |
+# serial 2 |
1297 |
+ |
1298 |
+# Check whether the underlying file-system supports filenames |
1299 |
+# with a leading dot. For instance MS-DOS doesn't. |
1300 |
+AC_DEFUN([AM_SET_LEADING_DOT], |
1301 |
+[rm -rf .tst 2>/dev/null |
1302 |
+mkdir .tst 2>/dev/null |
1303 |
+if test -d .tst; then |
1304 |
+ am__leading_dot=. |
1305 |
+else |
1306 |
+ am__leading_dot=_ |
1307 |
+fi |
1308 |
+rmdir .tst 2>/dev/null |
1309 |
+AC_SUBST([am__leading_dot])]) |
1310 |
+ |
1311 |
+# Check to see how 'make' treats includes. -*- Autoconf -*- |
1312 |
+ |
1313 |
+# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. |
1314 |
+# |
1315 |
+# This file is free software; the Free Software Foundation |
1316 |
+# gives unlimited permission to copy and/or distribute it, |
1317 |
+# with or without modifications, as long as this notice is preserved. |
1318 |
+ |
1319 |
+# serial 4 |
1320 |
+ |
1321 |
+# AM_MAKE_INCLUDE() |
1322 |
+# ----------------- |
1323 |
+# Check to see how make treats includes. |
1324 |
+AC_DEFUN([AM_MAKE_INCLUDE], |
1325 |
+[am_make=${MAKE-make} |
1326 |
+cat > confinc << 'END' |
1327 |
+am__doit: |
1328 |
+ @echo this is the am__doit target |
1329 |
+.PHONY: am__doit |
1330 |
+END |
1331 |
+# If we don't find an include directive, just comment out the code. |
1332 |
+AC_MSG_CHECKING([for style of include used by $am_make]) |
1333 |
+am__include="#" |
1334 |
+am__quote= |
1335 |
+_am_result=none |
1336 |
+# First try GNU make style include. |
1337 |
+echo "include confinc" > confmf |
1338 |
+# Ignore all kinds of additional output from `make'. |
1339 |
+case `$am_make -s -f confmf 2> /dev/null` in #( |
1340 |
+*the\ am__doit\ target*) |
1341 |
+ am__include=include |
1342 |
+ am__quote= |
1343 |
+ _am_result=GNU |
1344 |
+ ;; |
1345 |
+esac |
1346 |
+# Now try BSD make style include. |
1347 |
+if test "$am__include" = "#"; then |
1348 |
+ echo '.include "confinc"' > confmf |
1349 |
+ case `$am_make -s -f confmf 2> /dev/null` in #( |
1350 |
+ *the\ am__doit\ target*) |
1351 |
+ am__include=.include |
1352 |
+ am__quote="\"" |
1353 |
+ _am_result=BSD |
1354 |
+ ;; |
1355 |
+ esac |
1356 |
+fi |
1357 |
+AC_SUBST([am__include]) |
1358 |
+AC_SUBST([am__quote]) |
1359 |
+AC_MSG_RESULT([$_am_result]) |
1360 |
+rm -f confinc confmf |
1361 |
+]) |
1362 |
+ |
1363 |
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
1364 |
+ |
1365 |
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 |
1366 |
+# Free Software Foundation, Inc. |
1367 |
+# |
1368 |
+# This file is free software; the Free Software Foundation |
1369 |
+# gives unlimited permission to copy and/or distribute it, |
1370 |
+# with or without modifications, as long as this notice is preserved. |
1371 |
+ |
1372 |
+# serial 6 |
1373 |
+ |
1374 |
+# AM_MISSING_PROG(NAME, PROGRAM) |
1375 |
+# ------------------------------ |
1376 |
+AC_DEFUN([AM_MISSING_PROG], |
1377 |
+[AC_REQUIRE([AM_MISSING_HAS_RUN]) |
1378 |
+$1=${$1-"${am_missing_run}$2"} |
1379 |
+AC_SUBST($1)]) |
1380 |
+ |
1381 |
+ |
1382 |
+# AM_MISSING_HAS_RUN |
1383 |
+# ------------------ |
1384 |
+# Define MISSING if not defined so far and test if it supports --run. |
1385 |
+# If it does, set am_missing_run to use it, otherwise, to nothing. |
1386 |
+AC_DEFUN([AM_MISSING_HAS_RUN], |
1387 |
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
1388 |
+AC_REQUIRE_AUX_FILE([missing])dnl |
1389 |
+if test x"${MISSING+set}" != xset; then |
1390 |
+ case $am_aux_dir in |
1391 |
+ *\ * | *\ *) |
1392 |
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
1393 |
+ *) |
1394 |
+ MISSING="\${SHELL} $am_aux_dir/missing" ;; |
1395 |
+ esac |
1396 |
+fi |
1397 |
+# Use eval to expand $SHELL |
1398 |
+if eval "$MISSING --run true"; then |
1399 |
+ am_missing_run="$MISSING --run " |
1400 |
+else |
1401 |
+ am_missing_run= |
1402 |
+ AC_MSG_WARN([`missing' script is too old or missing]) |
1403 |
+fi |
1404 |
+]) |
1405 |
+ |
1406 |
+# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
1407 |
+# |
1408 |
+# This file is free software; the Free Software Foundation |
1409 |
+# gives unlimited permission to copy and/or distribute it, |
1410 |
+# with or without modifications, as long as this notice is preserved. |
1411 |
+ |
1412 |
+# AM_PROG_MKDIR_P |
1413 |
+# --------------- |
1414 |
+# Check for `mkdir -p'. |
1415 |
+AC_DEFUN([AM_PROG_MKDIR_P], |
1416 |
+[AC_PREREQ([2.60])dnl |
1417 |
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
1418 |
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, |
1419 |
+dnl while keeping a definition of mkdir_p for backward compatibility. |
1420 |
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. |
1421 |
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of |
1422 |
+dnl Makefile.ins that do not define MKDIR_P, so we do our own |
1423 |
+dnl adjustment using top_builddir (which is defined more often than |
1424 |
+dnl MKDIR_P). |
1425 |
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl |
1426 |
+case $mkdir_p in |
1427 |
+ [[\\/$]]* | ?:[[\\/]]*) ;; |
1428 |
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
1429 |
+esac |
1430 |
+]) |
1431 |
+ |
1432 |
+# Helper functions for option handling. -*- Autoconf -*- |
1433 |
+ |
1434 |
+# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. |
1435 |
+# |
1436 |
+# This file is free software; the Free Software Foundation |
1437 |
+# gives unlimited permission to copy and/or distribute it, |
1438 |
+# with or without modifications, as long as this notice is preserved. |
1439 |
+ |
1440 |
+# serial 4 |
1441 |
+ |
1442 |
+# _AM_MANGLE_OPTION(NAME) |
1443 |
+# ----------------------- |
1444 |
+AC_DEFUN([_AM_MANGLE_OPTION], |
1445 |
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
1446 |
+ |
1447 |
+# _AM_SET_OPTION(NAME) |
1448 |
+# ------------------------------ |
1449 |
+# Set option NAME. Presently that only means defining a flag for this option. |
1450 |
+AC_DEFUN([_AM_SET_OPTION], |
1451 |
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |
1452 |
+ |
1453 |
+# _AM_SET_OPTIONS(OPTIONS) |
1454 |
+# ---------------------------------- |
1455 |
+# OPTIONS is a space-separated list of Automake options. |
1456 |
+AC_DEFUN([_AM_SET_OPTIONS], |
1457 |
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
1458 |
+ |
1459 |
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
1460 |
+# ------------------------------------------- |
1461 |
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
1462 |
+AC_DEFUN([_AM_IF_OPTION], |
1463 |
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
1464 |
+ |
1465 |
+# Check to make sure that the build environment is sane. -*- Autoconf -*- |
1466 |
+ |
1467 |
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 |
1468 |
+# Free Software Foundation, Inc. |
1469 |
+# |
1470 |
+# This file is free software; the Free Software Foundation |
1471 |
+# gives unlimited permission to copy and/or distribute it, |
1472 |
+# with or without modifications, as long as this notice is preserved. |
1473 |
+ |
1474 |
+# serial 5 |
1475 |
+ |
1476 |
+# AM_SANITY_CHECK |
1477 |
+# --------------- |
1478 |
+AC_DEFUN([AM_SANITY_CHECK], |
1479 |
+[AC_MSG_CHECKING([whether build environment is sane]) |
1480 |
+# Just in case |
1481 |
+sleep 1 |
1482 |
+echo timestamp > conftest.file |
1483 |
+# Reject unsafe characters in $srcdir or the absolute working directory |
1484 |
+# name. Accept space and tab only in the latter. |
1485 |
+am_lf=' |
1486 |
+' |
1487 |
+case `pwd` in |
1488 |
+ *[[\\\"\#\$\&\'\`$am_lf]]*) |
1489 |
+ AC_MSG_ERROR([unsafe absolute working directory name]);; |
1490 |
+esac |
1491 |
+case $srcdir in |
1492 |
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
1493 |
+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; |
1494 |
+esac |
1495 |
+ |
1496 |
+# Do `set' in a subshell so we don't clobber the current shell's |
1497 |
+# arguments. Must try -L first in case configure is actually a |
1498 |
+# symlink; some systems play weird games with the mod time of symlinks |
1499 |
+# (eg FreeBSD returns the mod time of the symlink's containing |
1500 |
+# directory). |
1501 |
+if ( |
1502 |
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
1503 |
+ if test "$[*]" = "X"; then |
1504 |
+ # -L didn't work. |
1505 |
+ set X `ls -t "$srcdir/configure" conftest.file` |
1506 |
+ fi |
1507 |
+ rm -f conftest.file |
1508 |
+ if test "$[*]" != "X $srcdir/configure conftest.file" \ |
1509 |
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then |
1510 |
+ |
1511 |
+ # If neither matched, then we have a broken ls. This can happen |
1512 |
+ # if, for instance, CONFIG_SHELL is bash and it inherits a |
1513 |
+ # broken ls alias from the environment. This has actually |
1514 |
+ # happened. Such a system could not be considered "sane". |
1515 |
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
1516 |
+alias in your environment]) |
1517 |
+ fi |
1518 |
+ |
1519 |
+ test "$[2]" = conftest.file |
1520 |
+ ) |
1521 |
+then |
1522 |
+ # Ok. |
1523 |
+ : |
1524 |
+else |
1525 |
+ AC_MSG_ERROR([newly created file is older than distributed files! |
1526 |
+Check your system clock]) |
1527 |
+fi |
1528 |
+AC_MSG_RESULT(yes)]) |
1529 |
+ |
1530 |
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
1531 |
+# |
1532 |
+# This file is free software; the Free Software Foundation |
1533 |
+# gives unlimited permission to copy and/or distribute it, |
1534 |
+# with or without modifications, as long as this notice is preserved. |
1535 |
+ |
1536 |
+# AM_PROG_INSTALL_STRIP |
1537 |
+# --------------------- |
1538 |
+# One issue with vendor `install' (even GNU) is that you can't |
1539 |
+# specify the program used to strip binaries. This is especially |
1540 |
+# annoying in cross-compiling environments, where the build's strip |
1541 |
+# is unlikely to handle the host's binaries. |
1542 |
+# Fortunately install-sh will honor a STRIPPROG variable, so we |
1543 |
+# always use install-sh in `make install-strip', and initialize |
1544 |
+# STRIPPROG with the value of the STRIP variable (set by the user). |
1545 |
+AC_DEFUN([AM_PROG_INSTALL_STRIP], |
1546 |
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
1547 |
+# Installed binaries are usually stripped using `strip' when the user |
1548 |
+# run `make install-strip'. However `strip' might not be the right |
1549 |
+# tool to use in cross-compilation environments, therefore Automake |
1550 |
+# will honor the `STRIP' environment variable to overrule this program. |
1551 |
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'. |
1552 |
+if test "$cross_compiling" != no; then |
1553 |
+ AC_CHECK_TOOL([STRIP], [strip], :) |
1554 |
+fi |
1555 |
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
1556 |
+AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
1557 |
+ |
1558 |
+# Copyright (C) 2006, 2008 Free Software Foundation, Inc. |
1559 |
+# |
1560 |
+# This file is free software; the Free Software Foundation |
1561 |
+# gives unlimited permission to copy and/or distribute it, |
1562 |
+# with or without modifications, as long as this notice is preserved. |
1563 |
+ |
1564 |
+# serial 2 |
1565 |
+ |
1566 |
+# _AM_SUBST_NOTMAKE(VARIABLE) |
1567 |
+# --------------------------- |
1568 |
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
1569 |
+# This macro is traced by Automake. |
1570 |
+AC_DEFUN([_AM_SUBST_NOTMAKE]) |
1571 |
+ |
1572 |
+# AM_SUBST_NOTMAKE(VARIABLE) |
1573 |
+# --------------------------- |
1574 |
+# Public sister of _AM_SUBST_NOTMAKE. |
1575 |
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
1576 |
+ |
1577 |
+# Check how to create a tarball. -*- Autoconf -*- |
1578 |
+ |
1579 |
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
1580 |
+# |
1581 |
+# This file is free software; the Free Software Foundation |
1582 |
+# gives unlimited permission to copy and/or distribute it, |
1583 |
+# with or without modifications, as long as this notice is preserved. |
1584 |
+ |
1585 |
+# serial 2 |
1586 |
+ |
1587 |
+# _AM_PROG_TAR(FORMAT) |
1588 |
+# -------------------- |
1589 |
+# Check how to create a tarball in format FORMAT. |
1590 |
+# FORMAT should be one of `v7', `ustar', or `pax'. |
1591 |
+# |
1592 |
+# Substitute a variable $(am__tar) that is a command |
1593 |
+# writing to stdout a FORMAT-tarball containing the directory |
1594 |
+# $tardir. |
1595 |
+# tardir=directory && $(am__tar) > result.tar |
1596 |
+# |
1597 |
+# Substitute a variable $(am__untar) that extract such |
1598 |
+# a tarball read from stdin. |
1599 |
+# $(am__untar) < result.tar |
1600 |
+AC_DEFUN([_AM_PROG_TAR], |
1601 |
+[# Always define AMTAR for backward compatibility. |
1602 |
+AM_MISSING_PROG([AMTAR], [tar]) |
1603 |
+m4_if([$1], [v7], |
1604 |
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], |
1605 |
+ [m4_case([$1], [ustar],, [pax],, |
1606 |
+ [m4_fatal([Unknown tar format])]) |
1607 |
+AC_MSG_CHECKING([how to create a $1 tar archive]) |
1608 |
+# Loop over all known methods to create a tar archive until one works. |
1609 |
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
1610 |
+_am_tools=${am_cv_prog_tar_$1-$_am_tools} |
1611 |
+# Do not fold the above two line into one, because Tru64 sh and |
1612 |
+# Solaris sh will not grok spaces in the rhs of `-'. |
1613 |
+for _am_tool in $_am_tools |
1614 |
+do |
1615 |
+ case $_am_tool in |
1616 |
+ gnutar) |
1617 |
+ for _am_tar in tar gnutar gtar; |
1618 |
+ do |
1619 |
+ AM_RUN_LOG([$_am_tar --version]) && break |
1620 |
+ done |
1621 |
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
1622 |
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
1623 |
+ am__untar="$_am_tar -xf -" |
1624 |
+ ;; |
1625 |
+ plaintar) |
1626 |
+ # Must skip GNU tar: if it does not support --format= it doesn't create |
1627 |
+ # ustar tarball either. |
1628 |
+ (tar --version) >/dev/null 2>&1 && continue |
1629 |
+ am__tar='tar chf - "$$tardir"' |
1630 |
+ am__tar_='tar chf - "$tardir"' |
1631 |
+ am__untar='tar xf -' |
1632 |
+ ;; |
1633 |
+ pax) |
1634 |
+ am__tar='pax -L -x $1 -w "$$tardir"' |
1635 |
+ am__tar_='pax -L -x $1 -w "$tardir"' |
1636 |
+ am__untar='pax -r' |
1637 |
+ ;; |
1638 |
+ cpio) |
1639 |
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
1640 |
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
1641 |
+ am__untar='cpio -i -H $1 -d' |
1642 |
+ ;; |
1643 |
+ none) |
1644 |
+ am__tar=false |
1645 |
+ am__tar_=false |
1646 |
+ am__untar=false |
1647 |
+ ;; |
1648 |
+ esac |
1649 |
+ |
1650 |
+ # If the value was cached, stop now. We just wanted to have am__tar |
1651 |
+ # and am__untar set. |
1652 |
+ test -n "${am_cv_prog_tar_$1}" && break |
1653 |
+ |
1654 |
+ # tar/untar a dummy directory, and stop if the command works |
1655 |
+ rm -rf conftest.dir |
1656 |
+ mkdir conftest.dir |
1657 |
+ echo GrepMe > conftest.dir/file |
1658 |
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
1659 |
+ rm -rf conftest.dir |
1660 |
+ if test -s conftest.tar; then |
1661 |
+ AM_RUN_LOG([$am__untar <conftest.tar]) |
1662 |
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
1663 |
+ fi |
1664 |
+done |
1665 |
+rm -rf conftest.dir |
1666 |
+ |
1667 |
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
1668 |
+AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
1669 |
+AC_SUBST([am__tar]) |
1670 |
+AC_SUBST([am__untar]) |
1671 |
+]) # _AM_PROG_TAR |
1672 |
+ |
1673 |
|
1674 |
diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0 |
1675 |
new file mode 100644 |
1676 |
index 0000000..de91dc4 |
1677 |
--- /dev/null |
1678 |
+++ b/autom4te.cache/output.0 |
1679 |
@@ -0,0 +1,7037 @@ |
1680 |
+@%:@! /bin/sh |
1681 |
+@%:@ Guess values for system-dependent variables and create Makefiles. |
1682 |
+@%:@ Generated by GNU Autoconf 2.68 for elfix 0.4.0. |
1683 |
+@%:@ |
1684 |
+@%:@ Report bugs to <http://bugs.gentoo.org/>. |
1685 |
+@%:@ |
1686 |
+@%:@ |
1687 |
+@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1688 |
+@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
1689 |
+@%:@ Foundation, Inc. |
1690 |
+@%:@ |
1691 |
+@%:@ |
1692 |
+@%:@ This configure script is free software; the Free Software Foundation |
1693 |
+@%:@ gives unlimited permission to copy, distribute and modify it. |
1694 |
+## -------------------- ## |
1695 |
+## M4sh Initialization. ## |
1696 |
+## -------------------- ## |
1697 |
+ |
1698 |
+# Be more Bourne compatible |
1699 |
+DUALCASE=1; export DUALCASE # for MKS sh |
1700 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
1701 |
+ emulate sh |
1702 |
+ NULLCMD=: |
1703 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
1704 |
+ # is contrary to our usage. Disable this feature. |
1705 |
+ alias -g '${1+"$@"}'='"$@"' |
1706 |
+ setopt NO_GLOB_SUBST |
1707 |
+else |
1708 |
+ case `(set -o) 2>/dev/null` in @%:@( |
1709 |
+ *posix*) : |
1710 |
+ set -o posix ;; @%:@( |
1711 |
+ *) : |
1712 |
+ ;; |
1713 |
+esac |
1714 |
+fi |
1715 |
+ |
1716 |
+ |
1717 |
+as_nl=' |
1718 |
+' |
1719 |
+export as_nl |
1720 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
1721 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
1722 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
1723 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
1724 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
1725 |
+# but without wasting forks for bash or zsh. |
1726 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
1727 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
1728 |
+ as_echo='print -r --' |
1729 |
+ as_echo_n='print -rn --' |
1730 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
1731 |
+ as_echo='printf %s\n' |
1732 |
+ as_echo_n='printf %s' |
1733 |
+else |
1734 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
1735 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
1736 |
+ as_echo_n='/usr/ucb/echo -n' |
1737 |
+ else |
1738 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
1739 |
+ as_echo_n_body='eval |
1740 |
+ arg=$1; |
1741 |
+ case $arg in @%:@( |
1742 |
+ *"$as_nl"*) |
1743 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
1744 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
1745 |
+ esac; |
1746 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
1747 |
+ ' |
1748 |
+ export as_echo_n_body |
1749 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
1750 |
+ fi |
1751 |
+ export as_echo_body |
1752 |
+ as_echo='sh -c $as_echo_body as_echo' |
1753 |
+fi |
1754 |
+ |
1755 |
+# The user is always right. |
1756 |
+if test "${PATH_SEPARATOR+set}" != set; then |
1757 |
+ PATH_SEPARATOR=: |
1758 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
1759 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
1760 |
+ PATH_SEPARATOR=';' |
1761 |
+ } |
1762 |
+fi |
1763 |
+ |
1764 |
+ |
1765 |
+# IFS |
1766 |
+# We need space, tab and new line, in precisely that order. Quoting is |
1767 |
+# there to prevent editors from complaining about space-tab. |
1768 |
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
1769 |
+# splitting by setting IFS to empty value.) |
1770 |
+IFS=" "" $as_nl" |
1771 |
+ |
1772 |
+# Find who we are. Look in the path if we contain no directory separator. |
1773 |
+as_myself= |
1774 |
+case $0 in @%:@(( |
1775 |
+ *[\\/]* ) as_myself=$0 ;; |
1776 |
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1777 |
+for as_dir in $PATH |
1778 |
+do |
1779 |
+ IFS=$as_save_IFS |
1780 |
+ test -z "$as_dir" && as_dir=. |
1781 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
1782 |
+ done |
1783 |
+IFS=$as_save_IFS |
1784 |
+ |
1785 |
+ ;; |
1786 |
+esac |
1787 |
+# We did not find ourselves, most probably we were run as `sh COMMAND' |
1788 |
+# in which case we are not to be found in the path. |
1789 |
+if test "x$as_myself" = x; then |
1790 |
+ as_myself=$0 |
1791 |
+fi |
1792 |
+if test ! -f "$as_myself"; then |
1793 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
1794 |
+ exit 1 |
1795 |
+fi |
1796 |
+ |
1797 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
1798 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
1799 |
+# suppresses any "Segmentation fault" message there. '((' could |
1800 |
+# trigger a bug in pdksh 5.2.14. |
1801 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
1802 |
+do eval test x\${$as_var+set} = xset \ |
1803 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
1804 |
+done |
1805 |
+PS1='$ ' |
1806 |
+PS2='> ' |
1807 |
+PS4='+ ' |
1808 |
+ |
1809 |
+# NLS nuisances. |
1810 |
+LC_ALL=C |
1811 |
+export LC_ALL |
1812 |
+LANGUAGE=C |
1813 |
+export LANGUAGE |
1814 |
+ |
1815 |
+# CDPATH. |
1816 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
1817 |
+ |
1818 |
+if test "x$CONFIG_SHELL" = x; then |
1819 |
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
1820 |
+ emulate sh |
1821 |
+ NULLCMD=: |
1822 |
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
1823 |
+ # is contrary to our usage. Disable this feature. |
1824 |
+ alias -g '\${1+\"\$@\"}'='\"\$@\"' |
1825 |
+ setopt NO_GLOB_SUBST |
1826 |
+else |
1827 |
+ case \`(set -o) 2>/dev/null\` in @%:@( |
1828 |
+ *posix*) : |
1829 |
+ set -o posix ;; @%:@( |
1830 |
+ *) : |
1831 |
+ ;; |
1832 |
+esac |
1833 |
+fi |
1834 |
+" |
1835 |
+ as_required="as_fn_return () { (exit \$1); } |
1836 |
+as_fn_success () { as_fn_return 0; } |
1837 |
+as_fn_failure () { as_fn_return 1; } |
1838 |
+as_fn_ret_success () { return 0; } |
1839 |
+as_fn_ret_failure () { return 1; } |
1840 |
+ |
1841 |
+exitcode=0 |
1842 |
+as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
1843 |
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
1844 |
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
1845 |
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
1846 |
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
1847 |
+ |
1848 |
+else |
1849 |
+ exitcode=1; echo positional parameters were not saved. |
1850 |
+fi |
1851 |
+test x\$exitcode = x0 || exit 1" |
1852 |
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
1853 |
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
1854 |
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
1855 |
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
1856 |
+test \$(( 1 + 1 )) = 2 || exit 1" |
1857 |
+ if (eval "$as_required") 2>/dev/null; then : |
1858 |
+ as_have_required=yes |
1859 |
+else |
1860 |
+ as_have_required=no |
1861 |
+fi |
1862 |
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
1863 |
+ |
1864 |
+else |
1865 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1866 |
+as_found=false |
1867 |
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
1868 |
+do |
1869 |
+ IFS=$as_save_IFS |
1870 |
+ test -z "$as_dir" && as_dir=. |
1871 |
+ as_found=: |
1872 |
+ case $as_dir in @%:@( |
1873 |
+ /*) |
1874 |
+ for as_base in sh bash ksh sh5; do |
1875 |
+ # Try only shells that exist, to save several forks. |
1876 |
+ as_shell=$as_dir/$as_base |
1877 |
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
1878 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
1879 |
+ CONFIG_SHELL=$as_shell as_have_required=yes |
1880 |
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
1881 |
+ break 2 |
1882 |
+fi |
1883 |
+fi |
1884 |
+ done;; |
1885 |
+ esac |
1886 |
+ as_found=false |
1887 |
+done |
1888 |
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
1889 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
1890 |
+ CONFIG_SHELL=$SHELL as_have_required=yes |
1891 |
+fi; } |
1892 |
+IFS=$as_save_IFS |
1893 |
+ |
1894 |
+ |
1895 |
+ if test "x$CONFIG_SHELL" != x; then : |
1896 |
+ # We cannot yet assume a decent shell, so we have to provide a |
1897 |
+ # neutralization value for shells without unset; and this also |
1898 |
+ # works around shells that cannot unset nonexistent variables. |
1899 |
+ # Preserve -v and -x to the replacement shell. |
1900 |
+ BASH_ENV=/dev/null |
1901 |
+ ENV=/dev/null |
1902 |
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
1903 |
+ export CONFIG_SHELL |
1904 |
+ case $- in @%:@ (((( |
1905 |
+ *v*x* | *x*v* ) as_opts=-vx ;; |
1906 |
+ *v* ) as_opts=-v ;; |
1907 |
+ *x* ) as_opts=-x ;; |
1908 |
+ * ) as_opts= ;; |
1909 |
+ esac |
1910 |
+ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
1911 |
+fi |
1912 |
+ |
1913 |
+ if test x$as_have_required = xno; then : |
1914 |
+ $as_echo "$0: This script requires a shell more modern than all" |
1915 |
+ $as_echo "$0: the shells that I found on your system." |
1916 |
+ if test x${ZSH_VERSION+set} = xset ; then |
1917 |
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
1918 |
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
1919 |
+ else |
1920 |
+ $as_echo "$0: Please tell bug-autoconf@×××.org and |
1921 |
+$0: http://bugs.gentoo.org/ about your system, including |
1922 |
+$0: any error possibly output before this message. Then |
1923 |
+$0: install a modern shell, or manually run the script |
1924 |
+$0: under such a shell if you do have one." |
1925 |
+ fi |
1926 |
+ exit 1 |
1927 |
+fi |
1928 |
+fi |
1929 |
+fi |
1930 |
+SHELL=${CONFIG_SHELL-/bin/sh} |
1931 |
+export SHELL |
1932 |
+# Unset more variables known to interfere with behavior of common tools. |
1933 |
+CLICOLOR_FORCE= GREP_OPTIONS= |
1934 |
+unset CLICOLOR_FORCE GREP_OPTIONS |
1935 |
+ |
1936 |
+## --------------------- ## |
1937 |
+## M4sh Shell Functions. ## |
1938 |
+## --------------------- ## |
1939 |
+@%:@ as_fn_unset VAR |
1940 |
+@%:@ --------------- |
1941 |
+@%:@ Portably unset VAR. |
1942 |
+as_fn_unset () |
1943 |
+{ |
1944 |
+ { eval $1=; unset $1;} |
1945 |
+} |
1946 |
+as_unset=as_fn_unset |
1947 |
+ |
1948 |
+@%:@ as_fn_set_status STATUS |
1949 |
+@%:@ ----------------------- |
1950 |
+@%:@ Set @S|@? to STATUS, without forking. |
1951 |
+as_fn_set_status () |
1952 |
+{ |
1953 |
+ return $1 |
1954 |
+} @%:@ as_fn_set_status |
1955 |
+ |
1956 |
+@%:@ as_fn_exit STATUS |
1957 |
+@%:@ ----------------- |
1958 |
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
1959 |
+as_fn_exit () |
1960 |
+{ |
1961 |
+ set +e |
1962 |
+ as_fn_set_status $1 |
1963 |
+ exit $1 |
1964 |
+} @%:@ as_fn_exit |
1965 |
+ |
1966 |
+@%:@ as_fn_mkdir_p |
1967 |
+@%:@ ------------- |
1968 |
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. |
1969 |
+as_fn_mkdir_p () |
1970 |
+{ |
1971 |
+ |
1972 |
+ case $as_dir in #( |
1973 |
+ -*) as_dir=./$as_dir;; |
1974 |
+ esac |
1975 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
1976 |
+ as_dirs= |
1977 |
+ while :; do |
1978 |
+ case $as_dir in #( |
1979 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
1980 |
+ *) as_qdir=$as_dir;; |
1981 |
+ esac |
1982 |
+ as_dirs="'$as_qdir' $as_dirs" |
1983 |
+ as_dir=`$as_dirname -- "$as_dir" || |
1984 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1985 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
1986 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
1987 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
1988 |
+$as_echo X"$as_dir" | |
1989 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1990 |
+ s//\1/ |
1991 |
+ q |
1992 |
+ } |
1993 |
+ /^X\(\/\/\)[^/].*/{ |
1994 |
+ s//\1/ |
1995 |
+ q |
1996 |
+ } |
1997 |
+ /^X\(\/\/\)$/{ |
1998 |
+ s//\1/ |
1999 |
+ q |
2000 |
+ } |
2001 |
+ /^X\(\/\).*/{ |
2002 |
+ s//\1/ |
2003 |
+ q |
2004 |
+ } |
2005 |
+ s/.*/./; q'` |
2006 |
+ test -d "$as_dir" && break |
2007 |
+ done |
2008 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
2009 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
2010 |
+ |
2011 |
+ |
2012 |
+} @%:@ as_fn_mkdir_p |
2013 |
+@%:@ as_fn_append VAR VALUE |
2014 |
+@%:@ ---------------------- |
2015 |
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
2016 |
+@%:@ advantage of any shell optimizations that allow amortized linear growth over |
2017 |
+@%:@ repeated appends, instead of the typical quadratic growth present in naive |
2018 |
+@%:@ implementations. |
2019 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
2020 |
+ eval 'as_fn_append () |
2021 |
+ { |
2022 |
+ eval $1+=\$2 |
2023 |
+ }' |
2024 |
+else |
2025 |
+ as_fn_append () |
2026 |
+ { |
2027 |
+ eval $1=\$$1\$2 |
2028 |
+ } |
2029 |
+fi # as_fn_append |
2030 |
+ |
2031 |
+@%:@ as_fn_arith ARG... |
2032 |
+@%:@ ------------------ |
2033 |
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
2034 |
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
2035 |
+@%:@ must be portable across @S|@(()) and expr. |
2036 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
2037 |
+ eval 'as_fn_arith () |
2038 |
+ { |
2039 |
+ as_val=$(( $* )) |
2040 |
+ }' |
2041 |
+else |
2042 |
+ as_fn_arith () |
2043 |
+ { |
2044 |
+ as_val=`expr "$@" || test $? -eq 1` |
2045 |
+ } |
2046 |
+fi # as_fn_arith |
2047 |
+ |
2048 |
+ |
2049 |
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] |
2050 |
+@%:@ ---------------------------------------- |
2051 |
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
2052 |
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
2053 |
+@%:@ script with STATUS, using 1 if that was 0. |
2054 |
+as_fn_error () |
2055 |
+{ |
2056 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
2057 |
+ if test "$4"; then |
2058 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2059 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
2060 |
+ fi |
2061 |
+ $as_echo "$as_me: error: $2" >&2 |
2062 |
+ as_fn_exit $as_status |
2063 |
+} @%:@ as_fn_error |
2064 |
+ |
2065 |
+if expr a : '\(a\)' >/dev/null 2>&1 && |
2066 |
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
2067 |
+ as_expr=expr |
2068 |
+else |
2069 |
+ as_expr=false |
2070 |
+fi |
2071 |
+ |
2072 |
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
2073 |
+ as_basename=basename |
2074 |
+else |
2075 |
+ as_basename=false |
2076 |
+fi |
2077 |
+ |
2078 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
2079 |
+ as_dirname=dirname |
2080 |
+else |
2081 |
+ as_dirname=false |
2082 |
+fi |
2083 |
+ |
2084 |
+as_me=`$as_basename -- "$0" || |
2085 |
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
2086 |
+ X"$0" : 'X\(//\)$' \| \ |
2087 |
+ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
2088 |
+$as_echo X/"$0" | |
2089 |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
2090 |
+ s//\1/ |
2091 |
+ q |
2092 |
+ } |
2093 |
+ /^X\/\(\/\/\)$/{ |
2094 |
+ s//\1/ |
2095 |
+ q |
2096 |
+ } |
2097 |
+ /^X\/\(\/\).*/{ |
2098 |
+ s//\1/ |
2099 |
+ q |
2100 |
+ } |
2101 |
+ s/.*/./; q'` |
2102 |
+ |
2103 |
+# Avoid depending upon Character Ranges. |
2104 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
2105 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
2106 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
2107 |
+as_cr_digits='0123456789' |
2108 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
2109 |
+ |
2110 |
+ |
2111 |
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO |
2112 |
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO |
2113 |
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
2114 |
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
2115 |
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
2116 |
+ sed -n ' |
2117 |
+ p |
2118 |
+ /[$]LINENO/= |
2119 |
+ ' <$as_myself | |
2120 |
+ sed ' |
2121 |
+ s/[$]LINENO.*/&-/ |
2122 |
+ t lineno |
2123 |
+ b |
2124 |
+ :lineno |
2125 |
+ N |
2126 |
+ :loop |
2127 |
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
2128 |
+ t loop |
2129 |
+ s/-\n.*// |
2130 |
+ ' >$as_me.lineno && |
2131 |
+ chmod +x "$as_me.lineno" || |
2132 |
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
2133 |
+ |
2134 |
+ # Don't try to exec as it changes $[0], causing all sort of problems |
2135 |
+ # (the dirname of $[0] is not the place where we might find the |
2136 |
+ # original and so on. Autoconf is especially sensitive to this). |
2137 |
+ . "./$as_me.lineno" |
2138 |
+ # Exit status is that of the last command. |
2139 |
+ exit |
2140 |
+} |
2141 |
+ |
2142 |
+ECHO_C= ECHO_N= ECHO_T= |
2143 |
+case `echo -n x` in @%:@((((( |
2144 |
+-n*) |
2145 |
+ case `echo 'xy\c'` in |
2146 |
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
2147 |
+ xy) ECHO_C='\c';; |
2148 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
2149 |
+ ECHO_T=' ';; |
2150 |
+ esac;; |
2151 |
+*) |
2152 |
+ ECHO_N='-n';; |
2153 |
+esac |
2154 |
+ |
2155 |
+rm -f conf$$ conf$$.exe conf$$.file |
2156 |
+if test -d conf$$.dir; then |
2157 |
+ rm -f conf$$.dir/conf$$.file |
2158 |
+else |
2159 |
+ rm -f conf$$.dir |
2160 |
+ mkdir conf$$.dir 2>/dev/null |
2161 |
+fi |
2162 |
+if (echo >conf$$.file) 2>/dev/null; then |
2163 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
2164 |
+ as_ln_s='ln -s' |
2165 |
+ # ... but there are two gotchas: |
2166 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
2167 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
2168 |
+ # In both cases, we have to default to `cp -p'. |
2169 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
2170 |
+ as_ln_s='cp -p' |
2171 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
2172 |
+ as_ln_s=ln |
2173 |
+ else |
2174 |
+ as_ln_s='cp -p' |
2175 |
+ fi |
2176 |
+else |
2177 |
+ as_ln_s='cp -p' |
2178 |
+fi |
2179 |
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
2180 |
+rmdir conf$$.dir 2>/dev/null |
2181 |
+ |
2182 |
+if mkdir -p . 2>/dev/null; then |
2183 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
2184 |
+else |
2185 |
+ test -d ./-p && rmdir ./-p |
2186 |
+ as_mkdir_p=false |
2187 |
+fi |
2188 |
+ |
2189 |
+if test -x / >/dev/null 2>&1; then |
2190 |
+ as_test_x='test -x' |
2191 |
+else |
2192 |
+ if ls -dL / >/dev/null 2>&1; then |
2193 |
+ as_ls_L_option=L |
2194 |
+ else |
2195 |
+ as_ls_L_option= |
2196 |
+ fi |
2197 |
+ as_test_x=' |
2198 |
+ eval sh -c '\'' |
2199 |
+ if test -d "$1"; then |
2200 |
+ test -d "$1/."; |
2201 |
+ else |
2202 |
+ case $1 in @%:@( |
2203 |
+ -*)set "./$1";; |
2204 |
+ esac; |
2205 |
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( |
2206 |
+ ???[sx]*):;;*)false;;esac;fi |
2207 |
+ '\'' sh |
2208 |
+ ' |
2209 |
+fi |
2210 |
+as_executable_p=$as_test_x |
2211 |
+ |
2212 |
+# Sed expression to map a string onto a valid CPP name. |
2213 |
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
2214 |
+ |
2215 |
+# Sed expression to map a string onto a valid variable name. |
2216 |
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
2217 |
+ |
2218 |
+ |
2219 |
+test -n "$DJDIR" || exec 7<&0 </dev/null |
2220 |
+exec 6>&1 |
2221 |
+ |
2222 |
+# Name of the host. |
2223 |
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
2224 |
+# so uname gets run too. |
2225 |
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
2226 |
+ |
2227 |
+# |
2228 |
+# Initializations. |
2229 |
+# |
2230 |
+ac_default_prefix=/usr/local |
2231 |
+ac_clean_files= |
2232 |
+ac_config_libobj_dir=. |
2233 |
+LIB@&t@OBJS= |
2234 |
+cross_compiling=no |
2235 |
+subdirs= |
2236 |
+MFLAGS= |
2237 |
+MAKEFLAGS= |
2238 |
+ |
2239 |
+# Identity of this package. |
2240 |
+PACKAGE_NAME='elfix' |
2241 |
+PACKAGE_TARNAME='elfix' |
2242 |
+PACKAGE_VERSION='0.4.0' |
2243 |
+PACKAGE_STRING='elfix 0.4.0' |
2244 |
+PACKAGE_BUGREPORT='http://bugs.gentoo.org/' |
2245 |
+PACKAGE_URL='' |
2246 |
+ |
2247 |
+ac_unique_file="src/fix-gnustack.c" |
2248 |
+# Factoring default headers for most tests. |
2249 |
+ac_includes_default="\ |
2250 |
+#include <stdio.h> |
2251 |
+#ifdef HAVE_SYS_TYPES_H |
2252 |
+# include <sys/types.h> |
2253 |
+#endif |
2254 |
+#ifdef HAVE_SYS_STAT_H |
2255 |
+# include <sys/stat.h> |
2256 |
+#endif |
2257 |
+#ifdef STDC_HEADERS |
2258 |
+# include <stdlib.h> |
2259 |
+# include <stddef.h> |
2260 |
+#else |
2261 |
+# ifdef HAVE_STDLIB_H |
2262 |
+# include <stdlib.h> |
2263 |
+# endif |
2264 |
+#endif |
2265 |
+#ifdef HAVE_STRING_H |
2266 |
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
2267 |
+# include <memory.h> |
2268 |
+# endif |
2269 |
+# include <string.h> |
2270 |
+#endif |
2271 |
+#ifdef HAVE_STRINGS_H |
2272 |
+# include <strings.h> |
2273 |
+#endif |
2274 |
+#ifdef HAVE_INTTYPES_H |
2275 |
+# include <inttypes.h> |
2276 |
+#endif |
2277 |
+#ifdef HAVE_STDINT_H |
2278 |
+# include <stdint.h> |
2279 |
+#endif |
2280 |
+#ifdef HAVE_UNISTD_H |
2281 |
+# include <unistd.h> |
2282 |
+#endif" |
2283 |
+ |
2284 |
+ac_header_list= |
2285 |
+ac_subst_vars='am__EXEEXT_FALSE |
2286 |
+am__EXEEXT_TRUE |
2287 |
+LTLIBOBJS |
2288 |
+LIB@&t@OBJS |
2289 |
+EGREP |
2290 |
+GREP |
2291 |
+CPP |
2292 |
+am__fastdepCC_FALSE |
2293 |
+am__fastdepCC_TRUE |
2294 |
+CCDEPMODE |
2295 |
+AMDEPBACKSLASH |
2296 |
+AMDEP_FALSE |
2297 |
+AMDEP_TRUE |
2298 |
+am__quote |
2299 |
+am__include |
2300 |
+DEPDIR |
2301 |
+OBJEXT |
2302 |
+EXEEXT |
2303 |
+ac_ct_CC |
2304 |
+CPPFLAGS |
2305 |
+LDFLAGS |
2306 |
+CFLAGS |
2307 |
+CC |
2308 |
+TEST_FALSE |
2309 |
+TEST_TRUE |
2310 |
+has_yasm |
2311 |
+am__untar |
2312 |
+am__tar |
2313 |
+AMTAR |
2314 |
+am__leading_dot |
2315 |
+SET_MAKE |
2316 |
+AWK |
2317 |
+mkdir_p |
2318 |
+MKDIR_P |
2319 |
+INSTALL_STRIP_PROGRAM |
2320 |
+STRIP |
2321 |
+install_sh |
2322 |
+MAKEINFO |
2323 |
+AUTOHEADER |
2324 |
+AUTOMAKE |
2325 |
+AUTOCONF |
2326 |
+ACLOCAL |
2327 |
+VERSION |
2328 |
+PACKAGE |
2329 |
+CYGPATH_W |
2330 |
+am__isrc |
2331 |
+INSTALL_DATA |
2332 |
+INSTALL_SCRIPT |
2333 |
+INSTALL_PROGRAM |
2334 |
+target_alias |
2335 |
+host_alias |
2336 |
+build_alias |
2337 |
+LIBS |
2338 |
+ECHO_T |
2339 |
+ECHO_N |
2340 |
+ECHO_C |
2341 |
+DEFS |
2342 |
+mandir |
2343 |
+localedir |
2344 |
+libdir |
2345 |
+psdir |
2346 |
+pdfdir |
2347 |
+dvidir |
2348 |
+htmldir |
2349 |
+infodir |
2350 |
+docdir |
2351 |
+oldincludedir |
2352 |
+includedir |
2353 |
+localstatedir |
2354 |
+sharedstatedir |
2355 |
+sysconfdir |
2356 |
+datadir |
2357 |
+datarootdir |
2358 |
+libexecdir |
2359 |
+sbindir |
2360 |
+bindir |
2361 |
+program_transform_name |
2362 |
+prefix |
2363 |
+exec_prefix |
2364 |
+PACKAGE_URL |
2365 |
+PACKAGE_BUGREPORT |
2366 |
+PACKAGE_STRING |
2367 |
+PACKAGE_VERSION |
2368 |
+PACKAGE_TARNAME |
2369 |
+PACKAGE_NAME |
2370 |
+PATH_SEPARATOR |
2371 |
+SHELL' |
2372 |
+ac_subst_files='' |
2373 |
+ac_user_opts=' |
2374 |
+enable_option_checking |
2375 |
+enable_tests |
2376 |
+enable_xattr |
2377 |
+enable_dependency_tracking |
2378 |
+' |
2379 |
+ ac_precious_vars='build_alias |
2380 |
+host_alias |
2381 |
+target_alias |
2382 |
+CC |
2383 |
+CFLAGS |
2384 |
+LDFLAGS |
2385 |
+LIBS |
2386 |
+CPPFLAGS |
2387 |
+CPP' |
2388 |
+ |
2389 |
+ |
2390 |
+# Initialize some variables set by options. |
2391 |
+ac_init_help= |
2392 |
+ac_init_version=false |
2393 |
+ac_unrecognized_opts= |
2394 |
+ac_unrecognized_sep= |
2395 |
+# The variables have the same names as the options, with |
2396 |
+# dashes changed to underlines. |
2397 |
+cache_file=/dev/null |
2398 |
+exec_prefix=NONE |
2399 |
+no_create= |
2400 |
+no_recursion= |
2401 |
+prefix=NONE |
2402 |
+program_prefix=NONE |
2403 |
+program_suffix=NONE |
2404 |
+program_transform_name=s,x,x, |
2405 |
+silent= |
2406 |
+site= |
2407 |
+srcdir= |
2408 |
+verbose= |
2409 |
+x_includes=NONE |
2410 |
+x_libraries=NONE |
2411 |
+ |
2412 |
+# Installation directory options. |
2413 |
+# These are left unexpanded so users can "make install exec_prefix=/foo" |
2414 |
+# and all the variables that are supposed to be based on exec_prefix |
2415 |
+# by default will actually change. |
2416 |
+# Use braces instead of parens because sh, perl, etc. also accept them. |
2417 |
+# (The list follows the same order as the GNU Coding Standards.) |
2418 |
+bindir='${exec_prefix}/bin' |
2419 |
+sbindir='${exec_prefix}/sbin' |
2420 |
+libexecdir='${exec_prefix}/libexec' |
2421 |
+datarootdir='${prefix}/share' |
2422 |
+datadir='${datarootdir}' |
2423 |
+sysconfdir='${prefix}/etc' |
2424 |
+sharedstatedir='${prefix}/com' |
2425 |
+localstatedir='${prefix}/var' |
2426 |
+includedir='${prefix}/include' |
2427 |
+oldincludedir='/usr/include' |
2428 |
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
2429 |
+infodir='${datarootdir}/info' |
2430 |
+htmldir='${docdir}' |
2431 |
+dvidir='${docdir}' |
2432 |
+pdfdir='${docdir}' |
2433 |
+psdir='${docdir}' |
2434 |
+libdir='${exec_prefix}/lib' |
2435 |
+localedir='${datarootdir}/locale' |
2436 |
+mandir='${datarootdir}/man' |
2437 |
+ |
2438 |
+ac_prev= |
2439 |
+ac_dashdash= |
2440 |
+for ac_option |
2441 |
+do |
2442 |
+ # If the previous option needs an argument, assign it. |
2443 |
+ if test -n "$ac_prev"; then |
2444 |
+ eval $ac_prev=\$ac_option |
2445 |
+ ac_prev= |
2446 |
+ continue |
2447 |
+ fi |
2448 |
+ |
2449 |
+ case $ac_option in |
2450 |
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
2451 |
+ *=) ac_optarg= ;; |
2452 |
+ *) ac_optarg=yes ;; |
2453 |
+ esac |
2454 |
+ |
2455 |
+ # Accept the important Cygnus configure options, so we can diagnose typos. |
2456 |
+ |
2457 |
+ case $ac_dashdash$ac_option in |
2458 |
+ --) |
2459 |
+ ac_dashdash=yes ;; |
2460 |
+ |
2461 |
+ -bindir | --bindir | --bindi | --bind | --bin | --bi) |
2462 |
+ ac_prev=bindir ;; |
2463 |
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
2464 |
+ bindir=$ac_optarg ;; |
2465 |
+ |
2466 |
+ -build | --build | --buil | --bui | --bu) |
2467 |
+ ac_prev=build_alias ;; |
2468 |
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
2469 |
+ build_alias=$ac_optarg ;; |
2470 |
+ |
2471 |
+ -cache-file | --cache-file | --cache-fil | --cache-fi \ |
2472 |
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
2473 |
+ ac_prev=cache_file ;; |
2474 |
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
2475 |
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
2476 |
+ cache_file=$ac_optarg ;; |
2477 |
+ |
2478 |
+ --config-cache | -C) |
2479 |
+ cache_file=config.cache ;; |
2480 |
+ |
2481 |
+ -datadir | --datadir | --datadi | --datad) |
2482 |
+ ac_prev=datadir ;; |
2483 |
+ -datadir=* | --datadir=* | --datadi=* | --datad=*) |
2484 |
+ datadir=$ac_optarg ;; |
2485 |
+ |
2486 |
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
2487 |
+ | --dataroo | --dataro | --datar) |
2488 |
+ ac_prev=datarootdir ;; |
2489 |
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
2490 |
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
2491 |
+ datarootdir=$ac_optarg ;; |
2492 |
+ |
2493 |
+ -disable-* | --disable-*) |
2494 |
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
2495 |
+ # Reject names that are not valid shell variable names. |
2496 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
2497 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
2498 |
+ ac_useropt_orig=$ac_useropt |
2499 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
2500 |
+ case $ac_user_opts in |
2501 |
+ *" |
2502 |
+"enable_$ac_useropt" |
2503 |
+"*) ;; |
2504 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
2505 |
+ ac_unrecognized_sep=', ';; |
2506 |
+ esac |
2507 |
+ eval enable_$ac_useropt=no ;; |
2508 |
+ |
2509 |
+ -docdir | --docdir | --docdi | --doc | --do) |
2510 |
+ ac_prev=docdir ;; |
2511 |
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
2512 |
+ docdir=$ac_optarg ;; |
2513 |
+ |
2514 |
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
2515 |
+ ac_prev=dvidir ;; |
2516 |
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
2517 |
+ dvidir=$ac_optarg ;; |
2518 |
+ |
2519 |
+ -enable-* | --enable-*) |
2520 |
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
2521 |
+ # Reject names that are not valid shell variable names. |
2522 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
2523 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
2524 |
+ ac_useropt_orig=$ac_useropt |
2525 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
2526 |
+ case $ac_user_opts in |
2527 |
+ *" |
2528 |
+"enable_$ac_useropt" |
2529 |
+"*) ;; |
2530 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
2531 |
+ ac_unrecognized_sep=', ';; |
2532 |
+ esac |
2533 |
+ eval enable_$ac_useropt=\$ac_optarg ;; |
2534 |
+ |
2535 |
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
2536 |
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
2537 |
+ | --exec | --exe | --ex) |
2538 |
+ ac_prev=exec_prefix ;; |
2539 |
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
2540 |
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
2541 |
+ | --exec=* | --exe=* | --ex=*) |
2542 |
+ exec_prefix=$ac_optarg ;; |
2543 |
+ |
2544 |
+ -gas | --gas | --ga | --g) |
2545 |
+ # Obsolete; use --with-gas. |
2546 |
+ with_gas=yes ;; |
2547 |
+ |
2548 |
+ -help | --help | --hel | --he | -h) |
2549 |
+ ac_init_help=long ;; |
2550 |
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
2551 |
+ ac_init_help=recursive ;; |
2552 |
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
2553 |
+ ac_init_help=short ;; |
2554 |
+ |
2555 |
+ -host | --host | --hos | --ho) |
2556 |
+ ac_prev=host_alias ;; |
2557 |
+ -host=* | --host=* | --hos=* | --ho=*) |
2558 |
+ host_alias=$ac_optarg ;; |
2559 |
+ |
2560 |
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
2561 |
+ ac_prev=htmldir ;; |
2562 |
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
2563 |
+ | --ht=*) |
2564 |
+ htmldir=$ac_optarg ;; |
2565 |
+ |
2566 |
+ -includedir | --includedir | --includedi | --included | --include \ |
2567 |
+ | --includ | --inclu | --incl | --inc) |
2568 |
+ ac_prev=includedir ;; |
2569 |
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
2570 |
+ | --includ=* | --inclu=* | --incl=* | --inc=*) |
2571 |
+ includedir=$ac_optarg ;; |
2572 |
+ |
2573 |
+ -infodir | --infodir | --infodi | --infod | --info | --inf) |
2574 |
+ ac_prev=infodir ;; |
2575 |
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
2576 |
+ infodir=$ac_optarg ;; |
2577 |
+ |
2578 |
+ -libdir | --libdir | --libdi | --libd) |
2579 |
+ ac_prev=libdir ;; |
2580 |
+ -libdir=* | --libdir=* | --libdi=* | --libd=*) |
2581 |
+ libdir=$ac_optarg ;; |
2582 |
+ |
2583 |
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
2584 |
+ | --libexe | --libex | --libe) |
2585 |
+ ac_prev=libexecdir ;; |
2586 |
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
2587 |
+ | --libexe=* | --libex=* | --libe=*) |
2588 |
+ libexecdir=$ac_optarg ;; |
2589 |
+ |
2590 |
+ -localedir | --localedir | --localedi | --localed | --locale) |
2591 |
+ ac_prev=localedir ;; |
2592 |
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
2593 |
+ localedir=$ac_optarg ;; |
2594 |
+ |
2595 |
+ -localstatedir | --localstatedir | --localstatedi | --localstated \ |
2596 |
+ | --localstate | --localstat | --localsta | --localst | --locals) |
2597 |
+ ac_prev=localstatedir ;; |
2598 |
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
2599 |
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
2600 |
+ localstatedir=$ac_optarg ;; |
2601 |
+ |
2602 |
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
2603 |
+ ac_prev=mandir ;; |
2604 |
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
2605 |
+ mandir=$ac_optarg ;; |
2606 |
+ |
2607 |
+ -nfp | --nfp | --nf) |
2608 |
+ # Obsolete; use --without-fp. |
2609 |
+ with_fp=no ;; |
2610 |
+ |
2611 |
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
2612 |
+ | --no-cr | --no-c | -n) |
2613 |
+ no_create=yes ;; |
2614 |
+ |
2615 |
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
2616 |
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
2617 |
+ no_recursion=yes ;; |
2618 |
+ |
2619 |
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
2620 |
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
2621 |
+ | --oldin | --oldi | --old | --ol | --o) |
2622 |
+ ac_prev=oldincludedir ;; |
2623 |
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
2624 |
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
2625 |
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
2626 |
+ oldincludedir=$ac_optarg ;; |
2627 |
+ |
2628 |
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
2629 |
+ ac_prev=prefix ;; |
2630 |
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
2631 |
+ prefix=$ac_optarg ;; |
2632 |
+ |
2633 |
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
2634 |
+ | --program-pre | --program-pr | --program-p) |
2635 |
+ ac_prev=program_prefix ;; |
2636 |
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
2637 |
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
2638 |
+ program_prefix=$ac_optarg ;; |
2639 |
+ |
2640 |
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
2641 |
+ | --program-suf | --program-su | --program-s) |
2642 |
+ ac_prev=program_suffix ;; |
2643 |
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
2644 |
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
2645 |
+ program_suffix=$ac_optarg ;; |
2646 |
+ |
2647 |
+ -program-transform-name | --program-transform-name \ |
2648 |
+ | --program-transform-nam | --program-transform-na \ |
2649 |
+ | --program-transform-n | --program-transform- \ |
2650 |
+ | --program-transform | --program-transfor \ |
2651 |
+ | --program-transfo | --program-transf \ |
2652 |
+ | --program-trans | --program-tran \ |
2653 |
+ | --progr-tra | --program-tr | --program-t) |
2654 |
+ ac_prev=program_transform_name ;; |
2655 |
+ -program-transform-name=* | --program-transform-name=* \ |
2656 |
+ | --program-transform-nam=* | --program-transform-na=* \ |
2657 |
+ | --program-transform-n=* | --program-transform-=* \ |
2658 |
+ | --program-transform=* | --program-transfor=* \ |
2659 |
+ | --program-transfo=* | --program-transf=* \ |
2660 |
+ | --program-trans=* | --program-tran=* \ |
2661 |
+ | --progr-tra=* | --program-tr=* | --program-t=*) |
2662 |
+ program_transform_name=$ac_optarg ;; |
2663 |
+ |
2664 |
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
2665 |
+ ac_prev=pdfdir ;; |
2666 |
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
2667 |
+ pdfdir=$ac_optarg ;; |
2668 |
+ |
2669 |
+ -psdir | --psdir | --psdi | --psd | --ps) |
2670 |
+ ac_prev=psdir ;; |
2671 |
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
2672 |
+ psdir=$ac_optarg ;; |
2673 |
+ |
2674 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2675 |
+ | -silent | --silent | --silen | --sile | --sil) |
2676 |
+ silent=yes ;; |
2677 |
+ |
2678 |
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
2679 |
+ ac_prev=sbindir ;; |
2680 |
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
2681 |
+ | --sbi=* | --sb=*) |
2682 |
+ sbindir=$ac_optarg ;; |
2683 |
+ |
2684 |
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
2685 |
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
2686 |
+ | --sharedst | --shareds | --shared | --share | --shar \ |
2687 |
+ | --sha | --sh) |
2688 |
+ ac_prev=sharedstatedir ;; |
2689 |
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
2690 |
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
2691 |
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
2692 |
+ | --sha=* | --sh=*) |
2693 |
+ sharedstatedir=$ac_optarg ;; |
2694 |
+ |
2695 |
+ -site | --site | --sit) |
2696 |
+ ac_prev=site ;; |
2697 |
+ -site=* | --site=* | --sit=*) |
2698 |
+ site=$ac_optarg ;; |
2699 |
+ |
2700 |
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
2701 |
+ ac_prev=srcdir ;; |
2702 |
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
2703 |
+ srcdir=$ac_optarg ;; |
2704 |
+ |
2705 |
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
2706 |
+ | --syscon | --sysco | --sysc | --sys | --sy) |
2707 |
+ ac_prev=sysconfdir ;; |
2708 |
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
2709 |
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
2710 |
+ sysconfdir=$ac_optarg ;; |
2711 |
+ |
2712 |
+ -target | --target | --targe | --targ | --tar | --ta | --t) |
2713 |
+ ac_prev=target_alias ;; |
2714 |
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
2715 |
+ target_alias=$ac_optarg ;; |
2716 |
+ |
2717 |
+ -v | -verbose | --verbose | --verbos | --verbo | --verb) |
2718 |
+ verbose=yes ;; |
2719 |
+ |
2720 |
+ -version | --version | --versio | --versi | --vers | -V) |
2721 |
+ ac_init_version=: ;; |
2722 |
+ |
2723 |
+ -with-* | --with-*) |
2724 |
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
2725 |
+ # Reject names that are not valid shell variable names. |
2726 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
2727 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
2728 |
+ ac_useropt_orig=$ac_useropt |
2729 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
2730 |
+ case $ac_user_opts in |
2731 |
+ *" |
2732 |
+"with_$ac_useropt" |
2733 |
+"*) ;; |
2734 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
2735 |
+ ac_unrecognized_sep=', ';; |
2736 |
+ esac |
2737 |
+ eval with_$ac_useropt=\$ac_optarg ;; |
2738 |
+ |
2739 |
+ -without-* | --without-*) |
2740 |
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
2741 |
+ # Reject names that are not valid shell variable names. |
2742 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
2743 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
2744 |
+ ac_useropt_orig=$ac_useropt |
2745 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
2746 |
+ case $ac_user_opts in |
2747 |
+ *" |
2748 |
+"with_$ac_useropt" |
2749 |
+"*) ;; |
2750 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
2751 |
+ ac_unrecognized_sep=', ';; |
2752 |
+ esac |
2753 |
+ eval with_$ac_useropt=no ;; |
2754 |
+ |
2755 |
+ --x) |
2756 |
+ # Obsolete; use --with-x. |
2757 |
+ with_x=yes ;; |
2758 |
+ |
2759 |
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
2760 |
+ | --x-incl | --x-inc | --x-in | --x-i) |
2761 |
+ ac_prev=x_includes ;; |
2762 |
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
2763 |
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
2764 |
+ x_includes=$ac_optarg ;; |
2765 |
+ |
2766 |
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
2767 |
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
2768 |
+ ac_prev=x_libraries ;; |
2769 |
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
2770 |
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
2771 |
+ x_libraries=$ac_optarg ;; |
2772 |
+ |
2773 |
+ -*) as_fn_error $? "unrecognized option: \`$ac_option' |
2774 |
+Try \`$0 --help' for more information" |
2775 |
+ ;; |
2776 |
+ |
2777 |
+ *=*) |
2778 |
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
2779 |
+ # Reject names that are not valid shell variable names. |
2780 |
+ case $ac_envvar in #( |
2781 |
+ '' | [0-9]* | *[!_$as_cr_alnum]* ) |
2782 |
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
2783 |
+ esac |
2784 |
+ eval $ac_envvar=\$ac_optarg |
2785 |
+ export $ac_envvar ;; |
2786 |
+ |
2787 |
+ *) |
2788 |
+ # FIXME: should be removed in autoconf 3.0. |
2789 |
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
2790 |
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
2791 |
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
2792 |
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
2793 |
+ ;; |
2794 |
+ |
2795 |
+ esac |
2796 |
+done |
2797 |
+ |
2798 |
+if test -n "$ac_prev"; then |
2799 |
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
2800 |
+ as_fn_error $? "missing argument to $ac_option" |
2801 |
+fi |
2802 |
+ |
2803 |
+if test -n "$ac_unrecognized_opts"; then |
2804 |
+ case $enable_option_checking in |
2805 |
+ no) ;; |
2806 |
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
2807 |
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
2808 |
+ esac |
2809 |
+fi |
2810 |
+ |
2811 |
+# Check all directory arguments for consistency. |
2812 |
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
2813 |
+ datadir sysconfdir sharedstatedir localstatedir includedir \ |
2814 |
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
2815 |
+ libdir localedir mandir |
2816 |
+do |
2817 |
+ eval ac_val=\$$ac_var |
2818 |
+ # Remove trailing slashes. |
2819 |
+ case $ac_val in |
2820 |
+ */ ) |
2821 |
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
2822 |
+ eval $ac_var=\$ac_val;; |
2823 |
+ esac |
2824 |
+ # Be sure to have absolute directory names. |
2825 |
+ case $ac_val in |
2826 |
+ [\\/$]* | ?:[\\/]* ) continue;; |
2827 |
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
2828 |
+ esac |
2829 |
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
2830 |
+done |
2831 |
+ |
2832 |
+# There might be people who depend on the old broken behavior: `$host' |
2833 |
+# used to hold the argument of --host etc. |
2834 |
+# FIXME: To remove some day. |
2835 |
+build=$build_alias |
2836 |
+host=$host_alias |
2837 |
+target=$target_alias |
2838 |
+ |
2839 |
+# FIXME: To remove some day. |
2840 |
+if test "x$host_alias" != x; then |
2841 |
+ if test "x$build_alias" = x; then |
2842 |
+ cross_compiling=maybe |
2843 |
+ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
2844 |
+ If a cross compiler is detected then cross compile mode will be used" >&2 |
2845 |
+ elif test "x$build_alias" != "x$host_alias"; then |
2846 |
+ cross_compiling=yes |
2847 |
+ fi |
2848 |
+fi |
2849 |
+ |
2850 |
+ac_tool_prefix= |
2851 |
+test -n "$host_alias" && ac_tool_prefix=$host_alias- |
2852 |
+ |
2853 |
+test "$silent" = yes && exec 6>/dev/null |
2854 |
+ |
2855 |
+ |
2856 |
+ac_pwd=`pwd` && test -n "$ac_pwd" && |
2857 |
+ac_ls_di=`ls -di .` && |
2858 |
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
2859 |
+ as_fn_error $? "working directory cannot be determined" |
2860 |
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
2861 |
+ as_fn_error $? "pwd does not report name of working directory" |
2862 |
+ |
2863 |
+ |
2864 |
+# Find the source files, if location was not specified. |
2865 |
+if test -z "$srcdir"; then |
2866 |
+ ac_srcdir_defaulted=yes |
2867 |
+ # Try the directory containing this script, then the parent directory. |
2868 |
+ ac_confdir=`$as_dirname -- "$as_myself" || |
2869 |
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
2870 |
+ X"$as_myself" : 'X\(//\)[^/]' \| \ |
2871 |
+ X"$as_myself" : 'X\(//\)$' \| \ |
2872 |
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
2873 |
+$as_echo X"$as_myself" | |
2874 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
2875 |
+ s//\1/ |
2876 |
+ q |
2877 |
+ } |
2878 |
+ /^X\(\/\/\)[^/].*/{ |
2879 |
+ s//\1/ |
2880 |
+ q |
2881 |
+ } |
2882 |
+ /^X\(\/\/\)$/{ |
2883 |
+ s//\1/ |
2884 |
+ q |
2885 |
+ } |
2886 |
+ /^X\(\/\).*/{ |
2887 |
+ s//\1/ |
2888 |
+ q |
2889 |
+ } |
2890 |
+ s/.*/./; q'` |
2891 |
+ srcdir=$ac_confdir |
2892 |
+ if test ! -r "$srcdir/$ac_unique_file"; then |
2893 |
+ srcdir=.. |
2894 |
+ fi |
2895 |
+else |
2896 |
+ ac_srcdir_defaulted=no |
2897 |
+fi |
2898 |
+if test ! -r "$srcdir/$ac_unique_file"; then |
2899 |
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
2900 |
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
2901 |
+fi |
2902 |
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
2903 |
+ac_abs_confdir=`( |
2904 |
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
2905 |
+ pwd)` |
2906 |
+# When building in place, set srcdir=. |
2907 |
+if test "$ac_abs_confdir" = "$ac_pwd"; then |
2908 |
+ srcdir=. |
2909 |
+fi |
2910 |
+# Remove unnecessary trailing slashes from srcdir. |
2911 |
+# Double slashes in file names in object file debugging info |
2912 |
+# mess up M-x gdb in Emacs. |
2913 |
+case $srcdir in |
2914 |
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
2915 |
+esac |
2916 |
+for ac_var in $ac_precious_vars; do |
2917 |
+ eval ac_env_${ac_var}_set=\${${ac_var}+set} |
2918 |
+ eval ac_env_${ac_var}_value=\$${ac_var} |
2919 |
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
2920 |
+ eval ac_cv_env_${ac_var}_value=\$${ac_var} |
2921 |
+done |
2922 |
+ |
2923 |
+# |
2924 |
+# Report the --help message. |
2925 |
+# |
2926 |
+if test "$ac_init_help" = "long"; then |
2927 |
+ # Omit some internal or obsolete options to make the list less imposing. |
2928 |
+ # This message is too long to be a string in the A/UX 3.1 sh. |
2929 |
+ cat <<_ACEOF |
2930 |
+\`configure' configures elfix 0.4.0 to adapt to many kinds of systems. |
2931 |
+ |
2932 |
+Usage: $0 [OPTION]... [VAR=VALUE]... |
2933 |
+ |
2934 |
+To assign environment variables (e.g., CC, CFLAGS...), specify them as |
2935 |
+VAR=VALUE. See below for descriptions of some of the useful variables. |
2936 |
+ |
2937 |
+Defaults for the options are specified in brackets. |
2938 |
+ |
2939 |
+Configuration: |
2940 |
+ -h, --help display this help and exit |
2941 |
+ --help=short display options specific to this package |
2942 |
+ --help=recursive display the short help of all the included packages |
2943 |
+ -V, --version display version information and exit |
2944 |
+ -q, --quiet, --silent do not print \`checking ...' messages |
2945 |
+ --cache-file=FILE cache test results in FILE [disabled] |
2946 |
+ -C, --config-cache alias for \`--cache-file=config.cache' |
2947 |
+ -n, --no-create do not create output files |
2948 |
+ --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
2949 |
+ |
2950 |
+Installation directories: |
2951 |
+ --prefix=PREFIX install architecture-independent files in PREFIX |
2952 |
+ @<:@@S|@ac_default_prefix@:>@ |
2953 |
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
2954 |
+ @<:@PREFIX@:>@ |
2955 |
+ |
2956 |
+By default, \`make install' will install all the files in |
2957 |
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
2958 |
+an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
2959 |
+for instance \`--prefix=\$HOME'. |
2960 |
+ |
2961 |
+For better control, use the options below. |
2962 |
+ |
2963 |
+Fine tuning of the installation directories: |
2964 |
+ --bindir=DIR user executables [EPREFIX/bin] |
2965 |
+ --sbindir=DIR system admin executables [EPREFIX/sbin] |
2966 |
+ --libexecdir=DIR program executables [EPREFIX/libexec] |
2967 |
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
2968 |
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
2969 |
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
2970 |
+ --libdir=DIR object code libraries [EPREFIX/lib] |
2971 |
+ --includedir=DIR C header files [PREFIX/include] |
2972 |
+ --oldincludedir=DIR C header files for non-gcc [/usr/include] |
2973 |
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
2974 |
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
2975 |
+ --infodir=DIR info documentation [DATAROOTDIR/info] |
2976 |
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
2977 |
+ --mandir=DIR man documentation [DATAROOTDIR/man] |
2978 |
+ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/elfix@:>@ |
2979 |
+ --htmldir=DIR html documentation [DOCDIR] |
2980 |
+ --dvidir=DIR dvi documentation [DOCDIR] |
2981 |
+ --pdfdir=DIR pdf documentation [DOCDIR] |
2982 |
+ --psdir=DIR ps documentation [DOCDIR] |
2983 |
+_ACEOF |
2984 |
+ |
2985 |
+ cat <<\_ACEOF |
2986 |
+ |
2987 |
+Program names: |
2988 |
+ --program-prefix=PREFIX prepend PREFIX to installed program names |
2989 |
+ --program-suffix=SUFFIX append SUFFIX to installed program names |
2990 |
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
2991 |
+_ACEOF |
2992 |
+fi |
2993 |
+ |
2994 |
+if test -n "$ac_init_help"; then |
2995 |
+ case $ac_init_help in |
2996 |
+ short | recursive ) echo "Configuration of elfix 0.4.0:";; |
2997 |
+ esac |
2998 |
+ cat <<\_ACEOF |
2999 |
+ |
3000 |
+Optional Features: |
3001 |
+ --disable-option-checking ignore unrecognized --enable/--with options |
3002 |
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
3003 |
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
3004 |
+ --enable-tests perform tests |
3005 |
+ --enable-xattr enable support for pax markings in xattrs |
3006 |
+ --disable-dependency-tracking speeds up one-time build |
3007 |
+ --enable-dependency-tracking do not reject slow dependency extractors |
3008 |
+ |
3009 |
+Some influential environment variables: |
3010 |
+ CC C compiler command |
3011 |
+ CFLAGS C compiler flags |
3012 |
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
3013 |
+ nonstandard directory <lib dir> |
3014 |
+ LIBS libraries to pass to the linker, e.g. -l<library> |
3015 |
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
3016 |
+ you have headers in a nonstandard directory <include dir> |
3017 |
+ CPP C preprocessor |
3018 |
+ |
3019 |
+Use these variables to override the choices made by `configure' or to help |
3020 |
+it to find libraries and programs with nonstandard names/locations. |
3021 |
+ |
3022 |
+Report bugs to <http://bugs.gentoo.org/>. |
3023 |
+_ACEOF |
3024 |
+ac_status=$? |
3025 |
+fi |
3026 |
+ |
3027 |
+if test "$ac_init_help" = "recursive"; then |
3028 |
+ # If there are subdirs, report their specific --help. |
3029 |
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
3030 |
+ test -d "$ac_dir" || |
3031 |
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
3032 |
+ continue |
3033 |
+ ac_builddir=. |
3034 |
+ |
3035 |
+case "$ac_dir" in |
3036 |
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3037 |
+*) |
3038 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
3039 |
+ # A ".." for each directory in $ac_dir_suffix. |
3040 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
3041 |
+ case $ac_top_builddir_sub in |
3042 |
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3043 |
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
3044 |
+ esac ;; |
3045 |
+esac |
3046 |
+ac_abs_top_builddir=$ac_pwd |
3047 |
+ac_abs_builddir=$ac_pwd$ac_dir_suffix |
3048 |
+# for backward compatibility: |
3049 |
+ac_top_builddir=$ac_top_build_prefix |
3050 |
+ |
3051 |
+case $srcdir in |
3052 |
+ .) # We are building in place. |
3053 |
+ ac_srcdir=. |
3054 |
+ ac_top_srcdir=$ac_top_builddir_sub |
3055 |
+ ac_abs_top_srcdir=$ac_pwd ;; |
3056 |
+ [\\/]* | ?:[\\/]* ) # Absolute name. |
3057 |
+ ac_srcdir=$srcdir$ac_dir_suffix; |
3058 |
+ ac_top_srcdir=$srcdir |
3059 |
+ ac_abs_top_srcdir=$srcdir ;; |
3060 |
+ *) # Relative name. |
3061 |
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
3062 |
+ ac_top_srcdir=$ac_top_build_prefix$srcdir |
3063 |
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
3064 |
+esac |
3065 |
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
3066 |
+ |
3067 |
+ cd "$ac_dir" || { ac_status=$?; continue; } |
3068 |
+ # Check for guested configure. |
3069 |
+ if test -f "$ac_srcdir/configure.gnu"; then |
3070 |
+ echo && |
3071 |
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
3072 |
+ elif test -f "$ac_srcdir/configure"; then |
3073 |
+ echo && |
3074 |
+ $SHELL "$ac_srcdir/configure" --help=recursive |
3075 |
+ else |
3076 |
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
3077 |
+ fi || ac_status=$? |
3078 |
+ cd "$ac_pwd" || { ac_status=$?; break; } |
3079 |
+ done |
3080 |
+fi |
3081 |
+ |
3082 |
+test -n "$ac_init_help" && exit $ac_status |
3083 |
+if $ac_init_version; then |
3084 |
+ cat <<\_ACEOF |
3085 |
+elfix configure 0.4.0 |
3086 |
+generated by GNU Autoconf 2.68 |
3087 |
+ |
3088 |
+Copyright (C) 2010 Free Software Foundation, Inc. |
3089 |
+This configure script is free software; the Free Software Foundation |
3090 |
+gives unlimited permission to copy, distribute and modify it. |
3091 |
+_ACEOF |
3092 |
+ exit |
3093 |
+fi |
3094 |
+ |
3095 |
+## ------------------------ ## |
3096 |
+## Autoconf initialization. ## |
3097 |
+## ------------------------ ## |
3098 |
+ |
3099 |
+@%:@ ac_fn_c_try_compile LINENO |
3100 |
+@%:@ -------------------------- |
3101 |
+@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. |
3102 |
+ac_fn_c_try_compile () |
3103 |
+{ |
3104 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3105 |
+ rm -f conftest.$ac_objext |
3106 |
+ if { { ac_try="$ac_compile" |
3107 |
+case "(($ac_try" in |
3108 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3109 |
+ *) ac_try_echo=$ac_try;; |
3110 |
+esac |
3111 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3112 |
+$as_echo "$ac_try_echo"; } >&5 |
3113 |
+ (eval "$ac_compile") 2>conftest.err |
3114 |
+ ac_status=$? |
3115 |
+ if test -s conftest.err; then |
3116 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
3117 |
+ cat conftest.er1 >&5 |
3118 |
+ mv -f conftest.er1 conftest.err |
3119 |
+ fi |
3120 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3121 |
+ test $ac_status = 0; } && { |
3122 |
+ test -z "$ac_c_werror_flag" || |
3123 |
+ test ! -s conftest.err |
3124 |
+ } && test -s conftest.$ac_objext; then : |
3125 |
+ ac_retval=0 |
3126 |
+else |
3127 |
+ $as_echo "$as_me: failed program was:" >&5 |
3128 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
3129 |
+ |
3130 |
+ ac_retval=1 |
3131 |
+fi |
3132 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
3133 |
+ as_fn_set_status $ac_retval |
3134 |
+ |
3135 |
+} @%:@ ac_fn_c_try_compile |
3136 |
+ |
3137 |
+@%:@ ac_fn_c_try_cpp LINENO |
3138 |
+@%:@ ---------------------- |
3139 |
+@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. |
3140 |
+ac_fn_c_try_cpp () |
3141 |
+{ |
3142 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3143 |
+ if { { ac_try="$ac_cpp conftest.$ac_ext" |
3144 |
+case "(($ac_try" in |
3145 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3146 |
+ *) ac_try_echo=$ac_try;; |
3147 |
+esac |
3148 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3149 |
+$as_echo "$ac_try_echo"; } >&5 |
3150 |
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
3151 |
+ ac_status=$? |
3152 |
+ if test -s conftest.err; then |
3153 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
3154 |
+ cat conftest.er1 >&5 |
3155 |
+ mv -f conftest.er1 conftest.err |
3156 |
+ fi |
3157 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3158 |
+ test $ac_status = 0; } > conftest.i && { |
3159 |
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3160 |
+ test ! -s conftest.err |
3161 |
+ }; then : |
3162 |
+ ac_retval=0 |
3163 |
+else |
3164 |
+ $as_echo "$as_me: failed program was:" >&5 |
3165 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
3166 |
+ |
3167 |
+ ac_retval=1 |
3168 |
+fi |
3169 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
3170 |
+ as_fn_set_status $ac_retval |
3171 |
+ |
3172 |
+} @%:@ ac_fn_c_try_cpp |
3173 |
+ |
3174 |
+@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
3175 |
+@%:@ ------------------------------------------------------- |
3176 |
+@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using |
3177 |
+@%:@ the include files in INCLUDES and setting the cache variable VAR |
3178 |
+@%:@ accordingly. |
3179 |
+ac_fn_c_check_header_mongrel () |
3180 |
+{ |
3181 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3182 |
+ if eval \${$3+:} false; then : |
3183 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
3184 |
+$as_echo_n "checking for $2... " >&6; } |
3185 |
+if eval \${$3+:} false; then : |
3186 |
+ $as_echo_n "(cached) " >&6 |
3187 |
+fi |
3188 |
+eval ac_res=\$$3 |
3189 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3190 |
+$as_echo "$ac_res" >&6; } |
3191 |
+else |
3192 |
+ # Is the header compilable? |
3193 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
3194 |
+$as_echo_n "checking $2 usability... " >&6; } |
3195 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3196 |
+/* end confdefs.h. */ |
3197 |
+$4 |
3198 |
+@%:@include <$2> |
3199 |
+_ACEOF |
3200 |
+if ac_fn_c_try_compile "$LINENO"; then : |
3201 |
+ ac_header_compiler=yes |
3202 |
+else |
3203 |
+ ac_header_compiler=no |
3204 |
+fi |
3205 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3206 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
3207 |
+$as_echo "$ac_header_compiler" >&6; } |
3208 |
+ |
3209 |
+# Is the header present? |
3210 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
3211 |
+$as_echo_n "checking $2 presence... " >&6; } |
3212 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3213 |
+/* end confdefs.h. */ |
3214 |
+@%:@include <$2> |
3215 |
+_ACEOF |
3216 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
3217 |
+ ac_header_preproc=yes |
3218 |
+else |
3219 |
+ ac_header_preproc=no |
3220 |
+fi |
3221 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
3222 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
3223 |
+$as_echo "$ac_header_preproc" >&6; } |
3224 |
+ |
3225 |
+# So? What about this header? |
3226 |
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
3227 |
+ yes:no: ) |
3228 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
3229 |
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
3230 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
3231 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
3232 |
+ ;; |
3233 |
+ no:yes:* ) |
3234 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
3235 |
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
3236 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
3237 |
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
3238 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
3239 |
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
3240 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
3241 |
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
3242 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
3243 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
3244 |
+( $as_echo "## -------------------------------------- ## |
3245 |
+## Report this to http://bugs.gentoo.org/ ## |
3246 |
+## -------------------------------------- ##" |
3247 |
+ ) | sed "s/^/$as_me: WARNING: /" >&2 |
3248 |
+ ;; |
3249 |
+esac |
3250 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
3251 |
+$as_echo_n "checking for $2... " >&6; } |
3252 |
+if eval \${$3+:} false; then : |
3253 |
+ $as_echo_n "(cached) " >&6 |
3254 |
+else |
3255 |
+ eval "$3=\$ac_header_compiler" |
3256 |
+fi |
3257 |
+eval ac_res=\$$3 |
3258 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3259 |
+$as_echo "$ac_res" >&6; } |
3260 |
+fi |
3261 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
3262 |
+ |
3263 |
+} @%:@ ac_fn_c_check_header_mongrel |
3264 |
+ |
3265 |
+@%:@ ac_fn_c_try_run LINENO |
3266 |
+@%:@ ---------------------- |
3267 |
+@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes |
3268 |
+@%:@ that executables *can* be run. |
3269 |
+ac_fn_c_try_run () |
3270 |
+{ |
3271 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3272 |
+ if { { ac_try="$ac_link" |
3273 |
+case "(($ac_try" in |
3274 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3275 |
+ *) ac_try_echo=$ac_try;; |
3276 |
+esac |
3277 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3278 |
+$as_echo "$ac_try_echo"; } >&5 |
3279 |
+ (eval "$ac_link") 2>&5 |
3280 |
+ ac_status=$? |
3281 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3282 |
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
3283 |
+ { { case "(($ac_try" in |
3284 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3285 |
+ *) ac_try_echo=$ac_try;; |
3286 |
+esac |
3287 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3288 |
+$as_echo "$ac_try_echo"; } >&5 |
3289 |
+ (eval "$ac_try") 2>&5 |
3290 |
+ ac_status=$? |
3291 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3292 |
+ test $ac_status = 0; }; }; then : |
3293 |
+ ac_retval=0 |
3294 |
+else |
3295 |
+ $as_echo "$as_me: program exited with status $ac_status" >&5 |
3296 |
+ $as_echo "$as_me: failed program was:" >&5 |
3297 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
3298 |
+ |
3299 |
+ ac_retval=$ac_status |
3300 |
+fi |
3301 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
3302 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
3303 |
+ as_fn_set_status $ac_retval |
3304 |
+ |
3305 |
+} @%:@ ac_fn_c_try_run |
3306 |
+ |
3307 |
+@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
3308 |
+@%:@ ------------------------------------------------------- |
3309 |
+@%:@ Tests whether HEADER exists and can be compiled using the include files in |
3310 |
+@%:@ INCLUDES, setting the cache variable VAR accordingly. |
3311 |
+ac_fn_c_check_header_compile () |
3312 |
+{ |
3313 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3314 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
3315 |
+$as_echo_n "checking for $2... " >&6; } |
3316 |
+if eval \${$3+:} false; then : |
3317 |
+ $as_echo_n "(cached) " >&6 |
3318 |
+else |
3319 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3320 |
+/* end confdefs.h. */ |
3321 |
+$4 |
3322 |
+@%:@include <$2> |
3323 |
+_ACEOF |
3324 |
+if ac_fn_c_try_compile "$LINENO"; then : |
3325 |
+ eval "$3=yes" |
3326 |
+else |
3327 |
+ eval "$3=no" |
3328 |
+fi |
3329 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3330 |
+fi |
3331 |
+eval ac_res=\$$3 |
3332 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3333 |
+$as_echo "$ac_res" >&6; } |
3334 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
3335 |
+ |
3336 |
+} @%:@ ac_fn_c_check_header_compile |
3337 |
+ |
3338 |
+@%:@ ac_fn_c_try_link LINENO |
3339 |
+@%:@ ----------------------- |
3340 |
+@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. |
3341 |
+ac_fn_c_try_link () |
3342 |
+{ |
3343 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3344 |
+ rm -f conftest.$ac_objext conftest$ac_exeext |
3345 |
+ if { { ac_try="$ac_link" |
3346 |
+case "(($ac_try" in |
3347 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3348 |
+ *) ac_try_echo=$ac_try;; |
3349 |
+esac |
3350 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3351 |
+$as_echo "$ac_try_echo"; } >&5 |
3352 |
+ (eval "$ac_link") 2>conftest.err |
3353 |
+ ac_status=$? |
3354 |
+ if test -s conftest.err; then |
3355 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
3356 |
+ cat conftest.er1 >&5 |
3357 |
+ mv -f conftest.er1 conftest.err |
3358 |
+ fi |
3359 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3360 |
+ test $ac_status = 0; } && { |
3361 |
+ test -z "$ac_c_werror_flag" || |
3362 |
+ test ! -s conftest.err |
3363 |
+ } && test -s conftest$ac_exeext && { |
3364 |
+ test "$cross_compiling" = yes || |
3365 |
+ $as_test_x conftest$ac_exeext |
3366 |
+ }; then : |
3367 |
+ ac_retval=0 |
3368 |
+else |
3369 |
+ $as_echo "$as_me: failed program was:" >&5 |
3370 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
3371 |
+ |
3372 |
+ ac_retval=1 |
3373 |
+fi |
3374 |
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
3375 |
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
3376 |
+ # interfere with the next link command; also delete a directory that is |
3377 |
+ # left behind by Apple's compiler. We do this before executing the actions. |
3378 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
3379 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
3380 |
+ as_fn_set_status $ac_retval |
3381 |
+ |
3382 |
+} @%:@ ac_fn_c_try_link |
3383 |
+ |
3384 |
+@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
3385 |
+@%:@ ------------------------------------------- |
3386 |
+@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache |
3387 |
+@%:@ variable VAR accordingly. |
3388 |
+ac_fn_c_check_type () |
3389 |
+{ |
3390 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3391 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
3392 |
+$as_echo_n "checking for $2... " >&6; } |
3393 |
+if eval \${$3+:} false; then : |
3394 |
+ $as_echo_n "(cached) " >&6 |
3395 |
+else |
3396 |
+ eval "$3=no" |
3397 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3398 |
+/* end confdefs.h. */ |
3399 |
+$4 |
3400 |
+int |
3401 |
+main () |
3402 |
+{ |
3403 |
+if (sizeof ($2)) |
3404 |
+ return 0; |
3405 |
+ ; |
3406 |
+ return 0; |
3407 |
+} |
3408 |
+_ACEOF |
3409 |
+if ac_fn_c_try_compile "$LINENO"; then : |
3410 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3411 |
+/* end confdefs.h. */ |
3412 |
+$4 |
3413 |
+int |
3414 |
+main () |
3415 |
+{ |
3416 |
+if (sizeof (($2))) |
3417 |
+ return 0; |
3418 |
+ ; |
3419 |
+ return 0; |
3420 |
+} |
3421 |
+_ACEOF |
3422 |
+if ac_fn_c_try_compile "$LINENO"; then : |
3423 |
+ |
3424 |
+else |
3425 |
+ eval "$3=yes" |
3426 |
+fi |
3427 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3428 |
+fi |
3429 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3430 |
+fi |
3431 |
+eval ac_res=\$$3 |
3432 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3433 |
+$as_echo "$ac_res" >&6; } |
3434 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
3435 |
+ |
3436 |
+} @%:@ ac_fn_c_check_type |
3437 |
+ |
3438 |
+@%:@ ac_fn_c_find_uintX_t LINENO BITS VAR |
3439 |
+@%:@ ------------------------------------ |
3440 |
+@%:@ Finds an unsigned integer type with width BITS, setting cache variable VAR |
3441 |
+@%:@ accordingly. |
3442 |
+ac_fn_c_find_uintX_t () |
3443 |
+{ |
3444 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3445 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
3446 |
+$as_echo_n "checking for uint$2_t... " >&6; } |
3447 |
+if eval \${$3+:} false; then : |
3448 |
+ $as_echo_n "(cached) " >&6 |
3449 |
+else |
3450 |
+ eval "$3=no" |
3451 |
+ # Order is important - never check a type that is potentially smaller |
3452 |
+ # than half of the expected target width. |
3453 |
+ for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ |
3454 |
+ 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
3455 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3456 |
+/* end confdefs.h. */ |
3457 |
+$ac_includes_default |
3458 |
+int |
3459 |
+main () |
3460 |
+{ |
3461 |
+static int test_array @<:@1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)@:>@; |
3462 |
+test_array @<:@0@:>@ = 0 |
3463 |
+ |
3464 |
+ ; |
3465 |
+ return 0; |
3466 |
+} |
3467 |
+_ACEOF |
3468 |
+if ac_fn_c_try_compile "$LINENO"; then : |
3469 |
+ case $ac_type in @%:@( |
3470 |
+ uint$2_t) : |
3471 |
+ eval "$3=yes" ;; @%:@( |
3472 |
+ *) : |
3473 |
+ eval "$3=\$ac_type" ;; |
3474 |
+esac |
3475 |
+fi |
3476 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3477 |
+ if eval test \"x\$"$3"\" = x"no"; then : |
3478 |
+ |
3479 |
+else |
3480 |
+ break |
3481 |
+fi |
3482 |
+ done |
3483 |
+fi |
3484 |
+eval ac_res=\$$3 |
3485 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3486 |
+$as_echo "$ac_res" >&6; } |
3487 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
3488 |
+ |
3489 |
+} @%:@ ac_fn_c_find_uintX_t |
3490 |
+ |
3491 |
+@%:@ ac_fn_c_check_func LINENO FUNC VAR |
3492 |
+@%:@ ---------------------------------- |
3493 |
+@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly |
3494 |
+ac_fn_c_check_func () |
3495 |
+{ |
3496 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3497 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
3498 |
+$as_echo_n "checking for $2... " >&6; } |
3499 |
+if eval \${$3+:} false; then : |
3500 |
+ $as_echo_n "(cached) " >&6 |
3501 |
+else |
3502 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3503 |
+/* end confdefs.h. */ |
3504 |
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
3505 |
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
3506 |
+#define $2 innocuous_$2 |
3507 |
+ |
3508 |
+/* System header to define __stub macros and hopefully few prototypes, |
3509 |
+ which can conflict with char $2 (); below. |
3510 |
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3511 |
+ <limits.h> exists even on freestanding compilers. */ |
3512 |
+ |
3513 |
+#ifdef __STDC__ |
3514 |
+# include <limits.h> |
3515 |
+#else |
3516 |
+# include <assert.h> |
3517 |
+#endif |
3518 |
+ |
3519 |
+#undef $2 |
3520 |
+ |
3521 |
+/* Override any GCC internal prototype to avoid an error. |
3522 |
+ Use char because int might match the return type of a GCC |
3523 |
+ builtin and then its argument prototype would still apply. */ |
3524 |
+#ifdef __cplusplus |
3525 |
+extern "C" |
3526 |
+#endif |
3527 |
+char $2 (); |
3528 |
+/* The GNU C library defines this for functions which it implements |
3529 |
+ to always fail with ENOSYS. Some functions are actually named |
3530 |
+ something starting with __ and the normal name is an alias. */ |
3531 |
+#if defined __stub_$2 || defined __stub___$2 |
3532 |
+choke me |
3533 |
+#endif |
3534 |
+ |
3535 |
+int |
3536 |
+main () |
3537 |
+{ |
3538 |
+return $2 (); |
3539 |
+ ; |
3540 |
+ return 0; |
3541 |
+} |
3542 |
+_ACEOF |
3543 |
+if ac_fn_c_try_link "$LINENO"; then : |
3544 |
+ eval "$3=yes" |
3545 |
+else |
3546 |
+ eval "$3=no" |
3547 |
+fi |
3548 |
+rm -f core conftest.err conftest.$ac_objext \ |
3549 |
+ conftest$ac_exeext conftest.$ac_ext |
3550 |
+fi |
3551 |
+eval ac_res=\$$3 |
3552 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3553 |
+$as_echo "$ac_res" >&6; } |
3554 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
3555 |
+ |
3556 |
+} @%:@ ac_fn_c_check_func |
3557 |
+cat >config.log <<_ACEOF |
3558 |
+This file contains any messages produced by compilers while |
3559 |
+running configure, to aid debugging if configure makes a mistake. |
3560 |
+ |
3561 |
+It was created by elfix $as_me 0.4.0, which was |
3562 |
+generated by GNU Autoconf 2.68. Invocation command line was |
3563 |
+ |
3564 |
+ $ $0 $@ |
3565 |
+ |
3566 |
+_ACEOF |
3567 |
+exec 5>>config.log |
3568 |
+{ |
3569 |
+cat <<_ASUNAME |
3570 |
+## --------- ## |
3571 |
+## Platform. ## |
3572 |
+## --------- ## |
3573 |
+ |
3574 |
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
3575 |
+uname -m = `(uname -m) 2>/dev/null || echo unknown` |
3576 |
+uname -r = `(uname -r) 2>/dev/null || echo unknown` |
3577 |
+uname -s = `(uname -s) 2>/dev/null || echo unknown` |
3578 |
+uname -v = `(uname -v) 2>/dev/null || echo unknown` |
3579 |
+ |
3580 |
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
3581 |
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
3582 |
+ |
3583 |
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
3584 |
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
3585 |
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
3586 |
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
3587 |
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
3588 |
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
3589 |
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
3590 |
+ |
3591 |
+_ASUNAME |
3592 |
+ |
3593 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3594 |
+for as_dir in $PATH |
3595 |
+do |
3596 |
+ IFS=$as_save_IFS |
3597 |
+ test -z "$as_dir" && as_dir=. |
3598 |
+ $as_echo "PATH: $as_dir" |
3599 |
+ done |
3600 |
+IFS=$as_save_IFS |
3601 |
+ |
3602 |
+} >&5 |
3603 |
+ |
3604 |
+cat >&5 <<_ACEOF |
3605 |
+ |
3606 |
+ |
3607 |
+## ----------- ## |
3608 |
+## Core tests. ## |
3609 |
+## ----------- ## |
3610 |
+ |
3611 |
+_ACEOF |
3612 |
+ |
3613 |
+ |
3614 |
+# Keep a trace of the command line. |
3615 |
+# Strip out --no-create and --no-recursion so they do not pile up. |
3616 |
+# Strip out --silent because we don't want to record it for future runs. |
3617 |
+# Also quote any args containing shell meta-characters. |
3618 |
+# Make two passes to allow for proper duplicate-argument suppression. |
3619 |
+ac_configure_args= |
3620 |
+ac_configure_args0= |
3621 |
+ac_configure_args1= |
3622 |
+ac_must_keep_next=false |
3623 |
+for ac_pass in 1 2 |
3624 |
+do |
3625 |
+ for ac_arg |
3626 |
+ do |
3627 |
+ case $ac_arg in |
3628 |
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
3629 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
3630 |
+ | -silent | --silent | --silen | --sile | --sil) |
3631 |
+ continue ;; |
3632 |
+ *\'*) |
3633 |
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
3634 |
+ esac |
3635 |
+ case $ac_pass in |
3636 |
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
3637 |
+ 2) |
3638 |
+ as_fn_append ac_configure_args1 " '$ac_arg'" |
3639 |
+ if test $ac_must_keep_next = true; then |
3640 |
+ ac_must_keep_next=false # Got value, back to normal. |
3641 |
+ else |
3642 |
+ case $ac_arg in |
3643 |
+ *=* | --config-cache | -C | -disable-* | --disable-* \ |
3644 |
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
3645 |
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
3646 |
+ | -with-* | --with-* | -without-* | --without-* | --x) |
3647 |
+ case "$ac_configure_args0 " in |
3648 |
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
3649 |
+ esac |
3650 |
+ ;; |
3651 |
+ -* ) ac_must_keep_next=true ;; |
3652 |
+ esac |
3653 |
+ fi |
3654 |
+ as_fn_append ac_configure_args " '$ac_arg'" |
3655 |
+ ;; |
3656 |
+ esac |
3657 |
+ done |
3658 |
+done |
3659 |
+{ ac_configure_args0=; unset ac_configure_args0;} |
3660 |
+{ ac_configure_args1=; unset ac_configure_args1;} |
3661 |
+ |
3662 |
+# When interrupted or exit'd, cleanup temporary files, and complete |
3663 |
+# config.log. We remove comments because anyway the quotes in there |
3664 |
+# would cause problems or look ugly. |
3665 |
+# WARNING: Use '\'' to represent an apostrophe within the trap. |
3666 |
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
3667 |
+trap 'exit_status=$? |
3668 |
+ # Save into config.log some information that might help in debugging. |
3669 |
+ { |
3670 |
+ echo |
3671 |
+ |
3672 |
+ $as_echo "## ---------------- ## |
3673 |
+## Cache variables. ## |
3674 |
+## ---------------- ##" |
3675 |
+ echo |
3676 |
+ # The following way of writing the cache mishandles newlines in values, |
3677 |
+( |
3678 |
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
3679 |
+ eval ac_val=\$$ac_var |
3680 |
+ case $ac_val in #( |
3681 |
+ *${as_nl}*) |
3682 |
+ case $ac_var in #( |
3683 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
3684 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
3685 |
+ esac |
3686 |
+ case $ac_var in #( |
3687 |
+ _ | IFS | as_nl) ;; #( |
3688 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
3689 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
3690 |
+ esac ;; |
3691 |
+ esac |
3692 |
+ done |
3693 |
+ (set) 2>&1 | |
3694 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
3695 |
+ *${as_nl}ac_space=\ *) |
3696 |
+ sed -n \ |
3697 |
+ "s/'\''/'\''\\\\'\'''\''/g; |
3698 |
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
3699 |
+ ;; #( |
3700 |
+ *) |
3701 |
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
3702 |
+ ;; |
3703 |
+ esac | |
3704 |
+ sort |
3705 |
+) |
3706 |
+ echo |
3707 |
+ |
3708 |
+ $as_echo "## ----------------- ## |
3709 |
+## Output variables. ## |
3710 |
+## ----------------- ##" |
3711 |
+ echo |
3712 |
+ for ac_var in $ac_subst_vars |
3713 |
+ do |
3714 |
+ eval ac_val=\$$ac_var |
3715 |
+ case $ac_val in |
3716 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
3717 |
+ esac |
3718 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
3719 |
+ done | sort |
3720 |
+ echo |
3721 |
+ |
3722 |
+ if test -n "$ac_subst_files"; then |
3723 |
+ $as_echo "## ------------------- ## |
3724 |
+## File substitutions. ## |
3725 |
+## ------------------- ##" |
3726 |
+ echo |
3727 |
+ for ac_var in $ac_subst_files |
3728 |
+ do |
3729 |
+ eval ac_val=\$$ac_var |
3730 |
+ case $ac_val in |
3731 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
3732 |
+ esac |
3733 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
3734 |
+ done | sort |
3735 |
+ echo |
3736 |
+ fi |
3737 |
+ |
3738 |
+ if test -s confdefs.h; then |
3739 |
+ $as_echo "## ----------- ## |
3740 |
+## confdefs.h. ## |
3741 |
+## ----------- ##" |
3742 |
+ echo |
3743 |
+ cat confdefs.h |
3744 |
+ echo |
3745 |
+ fi |
3746 |
+ test "$ac_signal" != 0 && |
3747 |
+ $as_echo "$as_me: caught signal $ac_signal" |
3748 |
+ $as_echo "$as_me: exit $exit_status" |
3749 |
+ } >&5 |
3750 |
+ rm -f core *.core core.conftest.* && |
3751 |
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
3752 |
+ exit $exit_status |
3753 |
+' 0 |
3754 |
+for ac_signal in 1 2 13 15; do |
3755 |
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
3756 |
+done |
3757 |
+ac_signal=0 |
3758 |
+ |
3759 |
+# confdefs.h avoids OS command line length limits that DEFS can exceed. |
3760 |
+rm -f -r conftest* confdefs.h |
3761 |
+ |
3762 |
+$as_echo "/* confdefs.h */" > confdefs.h |
3763 |
+ |
3764 |
+# Predefined preprocessor variables. |
3765 |
+ |
3766 |
+cat >>confdefs.h <<_ACEOF |
3767 |
+@%:@define PACKAGE_NAME "$PACKAGE_NAME" |
3768 |
+_ACEOF |
3769 |
+ |
3770 |
+cat >>confdefs.h <<_ACEOF |
3771 |
+@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
3772 |
+_ACEOF |
3773 |
+ |
3774 |
+cat >>confdefs.h <<_ACEOF |
3775 |
+@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" |
3776 |
+_ACEOF |
3777 |
+ |
3778 |
+cat >>confdefs.h <<_ACEOF |
3779 |
+@%:@define PACKAGE_STRING "$PACKAGE_STRING" |
3780 |
+_ACEOF |
3781 |
+ |
3782 |
+cat >>confdefs.h <<_ACEOF |
3783 |
+@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
3784 |
+_ACEOF |
3785 |
+ |
3786 |
+cat >>confdefs.h <<_ACEOF |
3787 |
+@%:@define PACKAGE_URL "$PACKAGE_URL" |
3788 |
+_ACEOF |
3789 |
+ |
3790 |
+ |
3791 |
+# Let the site file select an alternate cache file if it wants to. |
3792 |
+# Prefer an explicitly selected file to automatically selected ones. |
3793 |
+ac_site_file1=NONE |
3794 |
+ac_site_file2=NONE |
3795 |
+if test -n "$CONFIG_SITE"; then |
3796 |
+ # We do not want a PATH search for config.site. |
3797 |
+ case $CONFIG_SITE in @%:@(( |
3798 |
+ -*) ac_site_file1=./$CONFIG_SITE;; |
3799 |
+ */*) ac_site_file1=$CONFIG_SITE;; |
3800 |
+ *) ac_site_file1=./$CONFIG_SITE;; |
3801 |
+ esac |
3802 |
+elif test "x$prefix" != xNONE; then |
3803 |
+ ac_site_file1=$prefix/share/config.site |
3804 |
+ ac_site_file2=$prefix/etc/config.site |
3805 |
+else |
3806 |
+ ac_site_file1=$ac_default_prefix/share/config.site |
3807 |
+ ac_site_file2=$ac_default_prefix/etc/config.site |
3808 |
+fi |
3809 |
+for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
3810 |
+do |
3811 |
+ test "x$ac_site_file" = xNONE && continue |
3812 |
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
3813 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
3814 |
+$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
3815 |
+ sed 's/^/| /' "$ac_site_file" >&5 |
3816 |
+ . "$ac_site_file" \ |
3817 |
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3818 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3819 |
+as_fn_error $? "failed to load site script $ac_site_file |
3820 |
+See \`config.log' for more details" "$LINENO" 5; } |
3821 |
+ fi |
3822 |
+done |
3823 |
+ |
3824 |
+if test -r "$cache_file"; then |
3825 |
+ # Some versions of bash will fail to source /dev/null (special files |
3826 |
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
3827 |
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
3828 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
3829 |
+$as_echo "$as_me: loading cache $cache_file" >&6;} |
3830 |
+ case $cache_file in |
3831 |
+ [\\/]* | ?:[\\/]* ) . "$cache_file";; |
3832 |
+ *) . "./$cache_file";; |
3833 |
+ esac |
3834 |
+ fi |
3835 |
+else |
3836 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
3837 |
+$as_echo "$as_me: creating cache $cache_file" >&6;} |
3838 |
+ >$cache_file |
3839 |
+fi |
3840 |
+ |
3841 |
+as_fn_append ac_header_list " stdlib.h" |
3842 |
+as_fn_append ac_header_list " unistd.h" |
3843 |
+as_fn_append ac_header_list " sys/param.h" |
3844 |
+# Check that the precious variables saved in the cache have kept the same |
3845 |
+# value. |
3846 |
+ac_cache_corrupted=false |
3847 |
+for ac_var in $ac_precious_vars; do |
3848 |
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set |
3849 |
+ eval ac_new_set=\$ac_env_${ac_var}_set |
3850 |
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value |
3851 |
+ eval ac_new_val=\$ac_env_${ac_var}_value |
3852 |
+ case $ac_old_set,$ac_new_set in |
3853 |
+ set,) |
3854 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
3855 |
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
3856 |
+ ac_cache_corrupted=: ;; |
3857 |
+ ,set) |
3858 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
3859 |
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
3860 |
+ ac_cache_corrupted=: ;; |
3861 |
+ ,);; |
3862 |
+ *) |
3863 |
+ if test "x$ac_old_val" != "x$ac_new_val"; then |
3864 |
+ # differences in whitespace do not lead to failure. |
3865 |
+ ac_old_val_w=`echo x $ac_old_val` |
3866 |
+ ac_new_val_w=`echo x $ac_new_val` |
3867 |
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then |
3868 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
3869 |
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
3870 |
+ ac_cache_corrupted=: |
3871 |
+ else |
3872 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
3873 |
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
3874 |
+ eval $ac_var=\$ac_old_val |
3875 |
+ fi |
3876 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
3877 |
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
3878 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
3879 |
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
3880 |
+ fi;; |
3881 |
+ esac |
3882 |
+ # Pass precious variables to config.status. |
3883 |
+ if test "$ac_new_set" = set; then |
3884 |
+ case $ac_new_val in |
3885 |
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
3886 |
+ *) ac_arg=$ac_var=$ac_new_val ;; |
3887 |
+ esac |
3888 |
+ case " $ac_configure_args " in |
3889 |
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
3890 |
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
3891 |
+ esac |
3892 |
+ fi |
3893 |
+done |
3894 |
+if $ac_cache_corrupted; then |
3895 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3896 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3897 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
3898 |
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
3899 |
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
3900 |
+fi |
3901 |
+## -------------------- ## |
3902 |
+## Main body of script. ## |
3903 |
+## -------------------- ## |
3904 |
+ |
3905 |
+ac_ext=c |
3906 |
+ac_cpp='$CPP $CPPFLAGS' |
3907 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3908 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3909 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3910 |
+ |
3911 |
+ |
3912 |
+ |
3913 |
+ac_config_headers="$ac_config_headers config.h" |
3914 |
+ |
3915 |
+am__api_version='1.11' |
3916 |
+ |
3917 |
+ac_aux_dir= |
3918 |
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3919 |
+ if test -f "$ac_dir/install-sh"; then |
3920 |
+ ac_aux_dir=$ac_dir |
3921 |
+ ac_install_sh="$ac_aux_dir/install-sh -c" |
3922 |
+ break |
3923 |
+ elif test -f "$ac_dir/install.sh"; then |
3924 |
+ ac_aux_dir=$ac_dir |
3925 |
+ ac_install_sh="$ac_aux_dir/install.sh -c" |
3926 |
+ break |
3927 |
+ elif test -f "$ac_dir/shtool"; then |
3928 |
+ ac_aux_dir=$ac_dir |
3929 |
+ ac_install_sh="$ac_aux_dir/shtool install -c" |
3930 |
+ break |
3931 |
+ fi |
3932 |
+done |
3933 |
+if test -z "$ac_aux_dir"; then |
3934 |
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3935 |
+fi |
3936 |
+ |
3937 |
+# These three variables are undocumented and unsupported, |
3938 |
+# and are intended to be withdrawn in a future Autoconf release. |
3939 |
+# They can cause serious problems if a builder's source tree is in a directory |
3940 |
+# whose full name contains unusual characters. |
3941 |
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
3942 |
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
3943 |
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3944 |
+ |
3945 |
+ |
3946 |
+# Find a good install program. We prefer a C program (faster), |
3947 |
+# so one script is as good as another. But avoid the broken or |
3948 |
+# incompatible versions: |
3949 |
+# SysV /etc/install, /usr/sbin/install |
3950 |
+# SunOS /usr/etc/install |
3951 |
+# IRIX /sbin/install |
3952 |
+# AIX /bin/install |
3953 |
+# AmigaOS /C/install, which installs bootblocks on floppy discs |
3954 |
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3955 |
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3956 |
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3957 |
+# OS/2's system install, which has a completely different semantic |
3958 |
+# ./install, which can be erroneously created by make from ./install.sh. |
3959 |
+# Reject install programs that cannot install multiple files. |
3960 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3961 |
+$as_echo_n "checking for a BSD-compatible install... " >&6; } |
3962 |
+if test -z "$INSTALL"; then |
3963 |
+if ${ac_cv_path_install+:} false; then : |
3964 |
+ $as_echo_n "(cached) " >&6 |
3965 |
+else |
3966 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3967 |
+for as_dir in $PATH |
3968 |
+do |
3969 |
+ IFS=$as_save_IFS |
3970 |
+ test -z "$as_dir" && as_dir=. |
3971 |
+ # Account for people who put trailing slashes in PATH elements. |
3972 |
+case $as_dir/ in @%:@(( |
3973 |
+ ./ | .// | /[cC]/* | \ |
3974 |
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3975 |
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
3976 |
+ /usr/ucb/* ) ;; |
3977 |
+ *) |
3978 |
+ # OSF1 and SCO ODT 3.0 have their own names for install. |
3979 |
+ # Don't use installbsd from OSF since it installs stuff as root |
3980 |
+ # by default. |
3981 |
+ for ac_prog in ginstall scoinst install; do |
3982 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
3983 |
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
3984 |
+ if test $ac_prog = install && |
3985 |
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3986 |
+ # AIX install. It has an incompatible calling convention. |
3987 |
+ : |
3988 |
+ elif test $ac_prog = install && |
3989 |
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3990 |
+ # program-specific install script used by HP pwplus--don't use. |
3991 |
+ : |
3992 |
+ else |
3993 |
+ rm -rf conftest.one conftest.two conftest.dir |
3994 |
+ echo one > conftest.one |
3995 |
+ echo two > conftest.two |
3996 |
+ mkdir conftest.dir |
3997 |
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
3998 |
+ test -s conftest.one && test -s conftest.two && |
3999 |
+ test -s conftest.dir/conftest.one && |
4000 |
+ test -s conftest.dir/conftest.two |
4001 |
+ then |
4002 |
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
4003 |
+ break 3 |
4004 |
+ fi |
4005 |
+ fi |
4006 |
+ fi |
4007 |
+ done |
4008 |
+ done |
4009 |
+ ;; |
4010 |
+esac |
4011 |
+ |
4012 |
+ done |
4013 |
+IFS=$as_save_IFS |
4014 |
+ |
4015 |
+rm -rf conftest.one conftest.two conftest.dir |
4016 |
+ |
4017 |
+fi |
4018 |
+ if test "${ac_cv_path_install+set}" = set; then |
4019 |
+ INSTALL=$ac_cv_path_install |
4020 |
+ else |
4021 |
+ # As a last resort, use the slow shell script. Don't cache a |
4022 |
+ # value for INSTALL within a source directory, because that will |
4023 |
+ # break other packages using the cache if that directory is |
4024 |
+ # removed, or if the value is a relative name. |
4025 |
+ INSTALL=$ac_install_sh |
4026 |
+ fi |
4027 |
+fi |
4028 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
4029 |
+$as_echo "$INSTALL" >&6; } |
4030 |
+ |
4031 |
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
4032 |
+# It thinks the first close brace ends the variable substitution. |
4033 |
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
4034 |
+ |
4035 |
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
4036 |
+ |
4037 |
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4038 |
+ |
4039 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
4040 |
+$as_echo_n "checking whether build environment is sane... " >&6; } |
4041 |
+# Just in case |
4042 |
+sleep 1 |
4043 |
+echo timestamp > conftest.file |
4044 |
+# Reject unsafe characters in $srcdir or the absolute working directory |
4045 |
+# name. Accept space and tab only in the latter. |
4046 |
+am_lf=' |
4047 |
+' |
4048 |
+case `pwd` in |
4049 |
+ *[\\\"\#\$\&\'\`$am_lf]*) |
4050 |
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
4051 |
+esac |
4052 |
+case $srcdir in |
4053 |
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
4054 |
+ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
4055 |
+esac |
4056 |
+ |
4057 |
+# Do `set' in a subshell so we don't clobber the current shell's |
4058 |
+# arguments. Must try -L first in case configure is actually a |
4059 |
+# symlink; some systems play weird games with the mod time of symlinks |
4060 |
+# (eg FreeBSD returns the mod time of the symlink's containing |
4061 |
+# directory). |
4062 |
+if ( |
4063 |
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
4064 |
+ if test "$*" = "X"; then |
4065 |
+ # -L didn't work. |
4066 |
+ set X `ls -t "$srcdir/configure" conftest.file` |
4067 |
+ fi |
4068 |
+ rm -f conftest.file |
4069 |
+ if test "$*" != "X $srcdir/configure conftest.file" \ |
4070 |
+ && test "$*" != "X conftest.file $srcdir/configure"; then |
4071 |
+ |
4072 |
+ # If neither matched, then we have a broken ls. This can happen |
4073 |
+ # if, for instance, CONFIG_SHELL is bash and it inherits a |
4074 |
+ # broken ls alias from the environment. This has actually |
4075 |
+ # happened. Such a system could not be considered "sane". |
4076 |
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
4077 |
+alias in your environment" "$LINENO" 5 |
4078 |
+ fi |
4079 |
+ |
4080 |
+ test "$2" = conftest.file |
4081 |
+ ) |
4082 |
+then |
4083 |
+ # Ok. |
4084 |
+ : |
4085 |
+else |
4086 |
+ as_fn_error $? "newly created file is older than distributed files! |
4087 |
+Check your system clock" "$LINENO" 5 |
4088 |
+fi |
4089 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4090 |
+$as_echo "yes" >&6; } |
4091 |
+test "$program_prefix" != NONE && |
4092 |
+ program_transform_name="s&^&$program_prefix&;$program_transform_name" |
4093 |
+# Use a double $ so make ignores it. |
4094 |
+test "$program_suffix" != NONE && |
4095 |
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
4096 |
+# Double any \ or $. |
4097 |
+# By default was `s,x,x', remove it if useless. |
4098 |
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
4099 |
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
4100 |
+ |
4101 |
+# expand $ac_aux_dir to an absolute path |
4102 |
+am_aux_dir=`cd $ac_aux_dir && pwd` |
4103 |
+ |
4104 |
+if test x"${MISSING+set}" != xset; then |
4105 |
+ case $am_aux_dir in |
4106 |
+ *\ * | *\ *) |
4107 |
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
4108 |
+ *) |
4109 |
+ MISSING="\${SHELL} $am_aux_dir/missing" ;; |
4110 |
+ esac |
4111 |
+fi |
4112 |
+# Use eval to expand $SHELL |
4113 |
+if eval "$MISSING --run true"; then |
4114 |
+ am_missing_run="$MISSING --run " |
4115 |
+else |
4116 |
+ am_missing_run= |
4117 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
4118 |
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
4119 |
+fi |
4120 |
+ |
4121 |
+if test x"${install_sh}" != xset; then |
4122 |
+ case $am_aux_dir in |
4123 |
+ *\ * | *\ *) |
4124 |
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
4125 |
+ *) |
4126 |
+ install_sh="\${SHELL} $am_aux_dir/install-sh" |
4127 |
+ esac |
4128 |
+fi |
4129 |
+ |
4130 |
+# Installed binaries are usually stripped using `strip' when the user |
4131 |
+# run `make install-strip'. However `strip' might not be the right |
4132 |
+# tool to use in cross-compilation environments, therefore Automake |
4133 |
+# will honor the `STRIP' environment variable to overrule this program. |
4134 |
+if test "$cross_compiling" != no; then |
4135 |
+ if test -n "$ac_tool_prefix"; then |
4136 |
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
4137 |
+set dummy ${ac_tool_prefix}strip; ac_word=$2 |
4138 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4139 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4140 |
+if ${ac_cv_prog_STRIP+:} false; then : |
4141 |
+ $as_echo_n "(cached) " >&6 |
4142 |
+else |
4143 |
+ if test -n "$STRIP"; then |
4144 |
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
4145 |
+else |
4146 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4147 |
+for as_dir in $PATH |
4148 |
+do |
4149 |
+ IFS=$as_save_IFS |
4150 |
+ test -z "$as_dir" && as_dir=. |
4151 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4152 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4153 |
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
4154 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4155 |
+ break 2 |
4156 |
+ fi |
4157 |
+done |
4158 |
+ done |
4159 |
+IFS=$as_save_IFS |
4160 |
+ |
4161 |
+fi |
4162 |
+fi |
4163 |
+STRIP=$ac_cv_prog_STRIP |
4164 |
+if test -n "$STRIP"; then |
4165 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
4166 |
+$as_echo "$STRIP" >&6; } |
4167 |
+else |
4168 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4169 |
+$as_echo "no" >&6; } |
4170 |
+fi |
4171 |
+ |
4172 |
+ |
4173 |
+fi |
4174 |
+if test -z "$ac_cv_prog_STRIP"; then |
4175 |
+ ac_ct_STRIP=$STRIP |
4176 |
+ # Extract the first word of "strip", so it can be a program name with args. |
4177 |
+set dummy strip; ac_word=$2 |
4178 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4179 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4180 |
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
4181 |
+ $as_echo_n "(cached) " >&6 |
4182 |
+else |
4183 |
+ if test -n "$ac_ct_STRIP"; then |
4184 |
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
4185 |
+else |
4186 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4187 |
+for as_dir in $PATH |
4188 |
+do |
4189 |
+ IFS=$as_save_IFS |
4190 |
+ test -z "$as_dir" && as_dir=. |
4191 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4192 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4193 |
+ ac_cv_prog_ac_ct_STRIP="strip" |
4194 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4195 |
+ break 2 |
4196 |
+ fi |
4197 |
+done |
4198 |
+ done |
4199 |
+IFS=$as_save_IFS |
4200 |
+ |
4201 |
+fi |
4202 |
+fi |
4203 |
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
4204 |
+if test -n "$ac_ct_STRIP"; then |
4205 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
4206 |
+$as_echo "$ac_ct_STRIP" >&6; } |
4207 |
+else |
4208 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4209 |
+$as_echo "no" >&6; } |
4210 |
+fi |
4211 |
+ |
4212 |
+ if test "x$ac_ct_STRIP" = x; then |
4213 |
+ STRIP=":" |
4214 |
+ else |
4215 |
+ case $cross_compiling:$ac_tool_warned in |
4216 |
+yes:) |
4217 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4218 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4219 |
+ac_tool_warned=yes ;; |
4220 |
+esac |
4221 |
+ STRIP=$ac_ct_STRIP |
4222 |
+ fi |
4223 |
+else |
4224 |
+ STRIP="$ac_cv_prog_STRIP" |
4225 |
+fi |
4226 |
+ |
4227 |
+fi |
4228 |
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
4229 |
+ |
4230 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
4231 |
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
4232 |
+if test -z "$MKDIR_P"; then |
4233 |
+ if ${ac_cv_path_mkdir+:} false; then : |
4234 |
+ $as_echo_n "(cached) " >&6 |
4235 |
+else |
4236 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4237 |
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
4238 |
+do |
4239 |
+ IFS=$as_save_IFS |
4240 |
+ test -z "$as_dir" && as_dir=. |
4241 |
+ for ac_prog in mkdir gmkdir; do |
4242 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4243 |
+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
4244 |
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
4245 |
+ 'mkdir (GNU coreutils) '* | \ |
4246 |
+ 'mkdir (coreutils) '* | \ |
4247 |
+ 'mkdir (fileutils) '4.1*) |
4248 |
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
4249 |
+ break 3;; |
4250 |
+ esac |
4251 |
+ done |
4252 |
+ done |
4253 |
+ done |
4254 |
+IFS=$as_save_IFS |
4255 |
+ |
4256 |
+fi |
4257 |
+ |
4258 |
+ test -d ./--version && rmdir ./--version |
4259 |
+ if test "${ac_cv_path_mkdir+set}" = set; then |
4260 |
+ MKDIR_P="$ac_cv_path_mkdir -p" |
4261 |
+ else |
4262 |
+ # As a last resort, use the slow shell script. Don't cache a |
4263 |
+ # value for MKDIR_P within a source directory, because that will |
4264 |
+ # break other packages using the cache if that directory is |
4265 |
+ # removed, or if the value is a relative name. |
4266 |
+ MKDIR_P="$ac_install_sh -d" |
4267 |
+ fi |
4268 |
+fi |
4269 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
4270 |
+$as_echo "$MKDIR_P" >&6; } |
4271 |
+ |
4272 |
+mkdir_p="$MKDIR_P" |
4273 |
+case $mkdir_p in |
4274 |
+ [\\/$]* | ?:[\\/]*) ;; |
4275 |
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
4276 |
+esac |
4277 |
+ |
4278 |
+for ac_prog in gawk mawk nawk awk |
4279 |
+do |
4280 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
4281 |
+set dummy $ac_prog; ac_word=$2 |
4282 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4283 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4284 |
+if ${ac_cv_prog_AWK+:} false; then : |
4285 |
+ $as_echo_n "(cached) " >&6 |
4286 |
+else |
4287 |
+ if test -n "$AWK"; then |
4288 |
+ ac_cv_prog_AWK="$AWK" # Let the user override the test. |
4289 |
+else |
4290 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4291 |
+for as_dir in $PATH |
4292 |
+do |
4293 |
+ IFS=$as_save_IFS |
4294 |
+ test -z "$as_dir" && as_dir=. |
4295 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4296 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4297 |
+ ac_cv_prog_AWK="$ac_prog" |
4298 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4299 |
+ break 2 |
4300 |
+ fi |
4301 |
+done |
4302 |
+ done |
4303 |
+IFS=$as_save_IFS |
4304 |
+ |
4305 |
+fi |
4306 |
+fi |
4307 |
+AWK=$ac_cv_prog_AWK |
4308 |
+if test -n "$AWK"; then |
4309 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
4310 |
+$as_echo "$AWK" >&6; } |
4311 |
+else |
4312 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4313 |
+$as_echo "no" >&6; } |
4314 |
+fi |
4315 |
+ |
4316 |
+ |
4317 |
+ test -n "$AWK" && break |
4318 |
+done |
4319 |
+ |
4320 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
4321 |
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
4322 |
+set x ${MAKE-make} |
4323 |
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
4324 |
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
4325 |
+ $as_echo_n "(cached) " >&6 |
4326 |
+else |
4327 |
+ cat >conftest.make <<\_ACEOF |
4328 |
+SHELL = /bin/sh |
4329 |
+all: |
4330 |
+ @echo '@@@%%%=$(MAKE)=@@@%%%' |
4331 |
+_ACEOF |
4332 |
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
4333 |
+case `${MAKE-make} -f conftest.make 2>/dev/null` in |
4334 |
+ *@@@%%%=?*=@@@%%%*) |
4335 |
+ eval ac_cv_prog_make_${ac_make}_set=yes;; |
4336 |
+ *) |
4337 |
+ eval ac_cv_prog_make_${ac_make}_set=no;; |
4338 |
+esac |
4339 |
+rm -f conftest.make |
4340 |
+fi |
4341 |
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
4342 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4343 |
+$as_echo "yes" >&6; } |
4344 |
+ SET_MAKE= |
4345 |
+else |
4346 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4347 |
+$as_echo "no" >&6; } |
4348 |
+ SET_MAKE="MAKE=${MAKE-make}" |
4349 |
+fi |
4350 |
+ |
4351 |
+rm -rf .tst 2>/dev/null |
4352 |
+mkdir .tst 2>/dev/null |
4353 |
+if test -d .tst; then |
4354 |
+ am__leading_dot=. |
4355 |
+else |
4356 |
+ am__leading_dot=_ |
4357 |
+fi |
4358 |
+rmdir .tst 2>/dev/null |
4359 |
+ |
4360 |
+if test "`cd $srcdir && pwd`" != "`pwd`"; then |
4361 |
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
4362 |
+ # is not polluted with repeated "-I." |
4363 |
+ am__isrc=' -I$(srcdir)' |
4364 |
+ # test to see if srcdir already configured |
4365 |
+ if test -f $srcdir/config.status; then |
4366 |
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
4367 |
+ fi |
4368 |
+fi |
4369 |
+ |
4370 |
+# test whether we have cygpath |
4371 |
+if test -z "$CYGPATH_W"; then |
4372 |
+ if (cygpath --version) >/dev/null 2>/dev/null; then |
4373 |
+ CYGPATH_W='cygpath -w' |
4374 |
+ else |
4375 |
+ CYGPATH_W=echo |
4376 |
+ fi |
4377 |
+fi |
4378 |
+ |
4379 |
+ |
4380 |
+# Define the identity of the package. |
4381 |
+ PACKAGE='elfix' |
4382 |
+ VERSION='0.4.0' |
4383 |
+ |
4384 |
+ |
4385 |
+cat >>confdefs.h <<_ACEOF |
4386 |
+@%:@define PACKAGE "$PACKAGE" |
4387 |
+_ACEOF |
4388 |
+ |
4389 |
+ |
4390 |
+cat >>confdefs.h <<_ACEOF |
4391 |
+@%:@define VERSION "$VERSION" |
4392 |
+_ACEOF |
4393 |
+ |
4394 |
+# Some tools Automake needs. |
4395 |
+ |
4396 |
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
4397 |
+ |
4398 |
+ |
4399 |
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
4400 |
+ |
4401 |
+ |
4402 |
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
4403 |
+ |
4404 |
+ |
4405 |
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
4406 |
+ |
4407 |
+ |
4408 |
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
4409 |
+ |
4410 |
+# We need awk for the "check" target. The system "awk" is bad on |
4411 |
+# some platforms. |
4412 |
+# Always define AMTAR for backward compatibility. |
4413 |
+ |
4414 |
+AMTAR=${AMTAR-"${am_missing_run}tar"} |
4415 |
+ |
4416 |
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
4417 |
+ |
4418 |
+ |
4419 |
+ |
4420 |
+ |
4421 |
+ |
4422 |
+ |
4423 |
+@%:@ Check whether --enable-tests was given. |
4424 |
+if test "${enable_tests+set}" = set; then : |
4425 |
+ enableval=$enable_tests; |
4426 |
+ if test "x$enable_tests" = "xyes"; then : |
4427 |
+ |
4428 |
+ # Extract the first word of "yasm", so it can be a program name with args. |
4429 |
+set dummy yasm; ac_word=$2 |
4430 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4431 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4432 |
+if ${ac_cv_prog_has_yasm+:} false; then : |
4433 |
+ $as_echo_n "(cached) " >&6 |
4434 |
+else |
4435 |
+ if test -n "$has_yasm"; then |
4436 |
+ ac_cv_prog_has_yasm="$has_yasm" # Let the user override the test. |
4437 |
+else |
4438 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4439 |
+for as_dir in $PATH |
4440 |
+do |
4441 |
+ IFS=$as_save_IFS |
4442 |
+ test -z "$as_dir" && as_dir=. |
4443 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4444 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4445 |
+ ac_cv_prog_has_yasm=""yes"" |
4446 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4447 |
+ break 2 |
4448 |
+ fi |
4449 |
+done |
4450 |
+ done |
4451 |
+IFS=$as_save_IFS |
4452 |
+ |
4453 |
+ test -z "$ac_cv_prog_has_yasm" && ac_cv_prog_has_yasm=""no"" |
4454 |
+fi |
4455 |
+fi |
4456 |
+has_yasm=$ac_cv_prog_has_yasm |
4457 |
+if test -n "$has_yasm"; then |
4458 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_yasm" >&5 |
4459 |
+$as_echo "$has_yasm" >&6; } |
4460 |
+else |
4461 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4462 |
+$as_echo "no" >&6; } |
4463 |
+fi |
4464 |
+ |
4465 |
+ |
4466 |
+ if test "x$has_yasm" = "xno"; then : |
4467 |
+ as_fn_error $? "\"Missing yasm assembler\"" "$LINENO" 5 |
4468 |
+fi |
4469 |
+ |
4470 |
+ |
4471 |
+fi |
4472 |
+ |
4473 |
+ |
4474 |
+fi |
4475 |
+ |
4476 |
+ if test "x$has_yasm" = "xyes"; then |
4477 |
+ TEST_TRUE= |
4478 |
+ TEST_FALSE='#' |
4479 |
+else |
4480 |
+ TEST_TRUE='#' |
4481 |
+ TEST_FALSE= |
4482 |
+fi |
4483 |
+ |
4484 |
+ |
4485 |
+DEPDIR="${am__leading_dot}deps" |
4486 |
+ |
4487 |
+ac_config_commands="$ac_config_commands depfiles" |
4488 |
+ |
4489 |
+ |
4490 |
+am_make=${MAKE-make} |
4491 |
+cat > confinc << 'END' |
4492 |
+am__doit: |
4493 |
+ @echo this is the am__doit target |
4494 |
+.PHONY: am__doit |
4495 |
+END |
4496 |
+# If we don't find an include directive, just comment out the code. |
4497 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
4498 |
+$as_echo_n "checking for style of include used by $am_make... " >&6; } |
4499 |
+am__include="#" |
4500 |
+am__quote= |
4501 |
+_am_result=none |
4502 |
+# First try GNU make style include. |
4503 |
+echo "include confinc" > confmf |
4504 |
+# Ignore all kinds of additional output from `make'. |
4505 |
+case `$am_make -s -f confmf 2> /dev/null` in #( |
4506 |
+*the\ am__doit\ target*) |
4507 |
+ am__include=include |
4508 |
+ am__quote= |
4509 |
+ _am_result=GNU |
4510 |
+ ;; |
4511 |
+esac |
4512 |
+# Now try BSD make style include. |
4513 |
+if test "$am__include" = "#"; then |
4514 |
+ echo '.include "confinc"' > confmf |
4515 |
+ case `$am_make -s -f confmf 2> /dev/null` in #( |
4516 |
+ *the\ am__doit\ target*) |
4517 |
+ am__include=.include |
4518 |
+ am__quote="\"" |
4519 |
+ _am_result=BSD |
4520 |
+ ;; |
4521 |
+ esac |
4522 |
+fi |
4523 |
+ |
4524 |
+ |
4525 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
4526 |
+$as_echo "$_am_result" >&6; } |
4527 |
+rm -f confinc confmf |
4528 |
+ |
4529 |
+@%:@ Check whether --enable-dependency-tracking was given. |
4530 |
+if test "${enable_dependency_tracking+set}" = set; then : |
4531 |
+ enableval=$enable_dependency_tracking; |
4532 |
+fi |
4533 |
+ |
4534 |
+if test "x$enable_dependency_tracking" != xno; then |
4535 |
+ am_depcomp="$ac_aux_dir/depcomp" |
4536 |
+ AMDEPBACKSLASH='\' |
4537 |
+fi |
4538 |
+ if test "x$enable_dependency_tracking" != xno; then |
4539 |
+ AMDEP_TRUE= |
4540 |
+ AMDEP_FALSE='#' |
4541 |
+else |
4542 |
+ AMDEP_TRUE='#' |
4543 |
+ AMDEP_FALSE= |
4544 |
+fi |
4545 |
+ |
4546 |
+ |
4547 |
+ac_ext=c |
4548 |
+ac_cpp='$CPP $CPPFLAGS' |
4549 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4550 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4551 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4552 |
+if test -n "$ac_tool_prefix"; then |
4553 |
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
4554 |
+set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
4555 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4556 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4557 |
+if ${ac_cv_prog_CC+:} false; then : |
4558 |
+ $as_echo_n "(cached) " >&6 |
4559 |
+else |
4560 |
+ if test -n "$CC"; then |
4561 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
4562 |
+else |
4563 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4564 |
+for as_dir in $PATH |
4565 |
+do |
4566 |
+ IFS=$as_save_IFS |
4567 |
+ test -z "$as_dir" && as_dir=. |
4568 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4569 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4570 |
+ ac_cv_prog_CC="${ac_tool_prefix}gcc" |
4571 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4572 |
+ break 2 |
4573 |
+ fi |
4574 |
+done |
4575 |
+ done |
4576 |
+IFS=$as_save_IFS |
4577 |
+ |
4578 |
+fi |
4579 |
+fi |
4580 |
+CC=$ac_cv_prog_CC |
4581 |
+if test -n "$CC"; then |
4582 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4583 |
+$as_echo "$CC" >&6; } |
4584 |
+else |
4585 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4586 |
+$as_echo "no" >&6; } |
4587 |
+fi |
4588 |
+ |
4589 |
+ |
4590 |
+fi |
4591 |
+if test -z "$ac_cv_prog_CC"; then |
4592 |
+ ac_ct_CC=$CC |
4593 |
+ # Extract the first word of "gcc", so it can be a program name with args. |
4594 |
+set dummy gcc; ac_word=$2 |
4595 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4596 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4597 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
4598 |
+ $as_echo_n "(cached) " >&6 |
4599 |
+else |
4600 |
+ if test -n "$ac_ct_CC"; then |
4601 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4602 |
+else |
4603 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4604 |
+for as_dir in $PATH |
4605 |
+do |
4606 |
+ IFS=$as_save_IFS |
4607 |
+ test -z "$as_dir" && as_dir=. |
4608 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4609 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4610 |
+ ac_cv_prog_ac_ct_CC="gcc" |
4611 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4612 |
+ break 2 |
4613 |
+ fi |
4614 |
+done |
4615 |
+ done |
4616 |
+IFS=$as_save_IFS |
4617 |
+ |
4618 |
+fi |
4619 |
+fi |
4620 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4621 |
+if test -n "$ac_ct_CC"; then |
4622 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
4623 |
+$as_echo "$ac_ct_CC" >&6; } |
4624 |
+else |
4625 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4626 |
+$as_echo "no" >&6; } |
4627 |
+fi |
4628 |
+ |
4629 |
+ if test "x$ac_ct_CC" = x; then |
4630 |
+ CC="" |
4631 |
+ else |
4632 |
+ case $cross_compiling:$ac_tool_warned in |
4633 |
+yes:) |
4634 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4635 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4636 |
+ac_tool_warned=yes ;; |
4637 |
+esac |
4638 |
+ CC=$ac_ct_CC |
4639 |
+ fi |
4640 |
+else |
4641 |
+ CC="$ac_cv_prog_CC" |
4642 |
+fi |
4643 |
+ |
4644 |
+if test -z "$CC"; then |
4645 |
+ if test -n "$ac_tool_prefix"; then |
4646 |
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
4647 |
+set dummy ${ac_tool_prefix}cc; ac_word=$2 |
4648 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4649 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4650 |
+if ${ac_cv_prog_CC+:} false; then : |
4651 |
+ $as_echo_n "(cached) " >&6 |
4652 |
+else |
4653 |
+ if test -n "$CC"; then |
4654 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
4655 |
+else |
4656 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4657 |
+for as_dir in $PATH |
4658 |
+do |
4659 |
+ IFS=$as_save_IFS |
4660 |
+ test -z "$as_dir" && as_dir=. |
4661 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4662 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4663 |
+ ac_cv_prog_CC="${ac_tool_prefix}cc" |
4664 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4665 |
+ break 2 |
4666 |
+ fi |
4667 |
+done |
4668 |
+ done |
4669 |
+IFS=$as_save_IFS |
4670 |
+ |
4671 |
+fi |
4672 |
+fi |
4673 |
+CC=$ac_cv_prog_CC |
4674 |
+if test -n "$CC"; then |
4675 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4676 |
+$as_echo "$CC" >&6; } |
4677 |
+else |
4678 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4679 |
+$as_echo "no" >&6; } |
4680 |
+fi |
4681 |
+ |
4682 |
+ |
4683 |
+ fi |
4684 |
+fi |
4685 |
+if test -z "$CC"; then |
4686 |
+ # Extract the first word of "cc", so it can be a program name with args. |
4687 |
+set dummy cc; ac_word=$2 |
4688 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4689 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4690 |
+if ${ac_cv_prog_CC+:} false; then : |
4691 |
+ $as_echo_n "(cached) " >&6 |
4692 |
+else |
4693 |
+ if test -n "$CC"; then |
4694 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
4695 |
+else |
4696 |
+ ac_prog_rejected=no |
4697 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4698 |
+for as_dir in $PATH |
4699 |
+do |
4700 |
+ IFS=$as_save_IFS |
4701 |
+ test -z "$as_dir" && as_dir=. |
4702 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4703 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4704 |
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
4705 |
+ ac_prog_rejected=yes |
4706 |
+ continue |
4707 |
+ fi |
4708 |
+ ac_cv_prog_CC="cc" |
4709 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4710 |
+ break 2 |
4711 |
+ fi |
4712 |
+done |
4713 |
+ done |
4714 |
+IFS=$as_save_IFS |
4715 |
+ |
4716 |
+if test $ac_prog_rejected = yes; then |
4717 |
+ # We found a bogon in the path, so make sure we never use it. |
4718 |
+ set dummy $ac_cv_prog_CC |
4719 |
+ shift |
4720 |
+ if test $@%:@ != 0; then |
4721 |
+ # We chose a different compiler from the bogus one. |
4722 |
+ # However, it has the same basename, so the bogon will be chosen |
4723 |
+ # first if we set CC to just the basename; use the full file name. |
4724 |
+ shift |
4725 |
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
4726 |
+ fi |
4727 |
+fi |
4728 |
+fi |
4729 |
+fi |
4730 |
+CC=$ac_cv_prog_CC |
4731 |
+if test -n "$CC"; then |
4732 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4733 |
+$as_echo "$CC" >&6; } |
4734 |
+else |
4735 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4736 |
+$as_echo "no" >&6; } |
4737 |
+fi |
4738 |
+ |
4739 |
+ |
4740 |
+fi |
4741 |
+if test -z "$CC"; then |
4742 |
+ if test -n "$ac_tool_prefix"; then |
4743 |
+ for ac_prog in cl.exe |
4744 |
+ do |
4745 |
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4746 |
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4747 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4748 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4749 |
+if ${ac_cv_prog_CC+:} false; then : |
4750 |
+ $as_echo_n "(cached) " >&6 |
4751 |
+else |
4752 |
+ if test -n "$CC"; then |
4753 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
4754 |
+else |
4755 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4756 |
+for as_dir in $PATH |
4757 |
+do |
4758 |
+ IFS=$as_save_IFS |
4759 |
+ test -z "$as_dir" && as_dir=. |
4760 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4761 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4762 |
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
4763 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4764 |
+ break 2 |
4765 |
+ fi |
4766 |
+done |
4767 |
+ done |
4768 |
+IFS=$as_save_IFS |
4769 |
+ |
4770 |
+fi |
4771 |
+fi |
4772 |
+CC=$ac_cv_prog_CC |
4773 |
+if test -n "$CC"; then |
4774 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4775 |
+$as_echo "$CC" >&6; } |
4776 |
+else |
4777 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4778 |
+$as_echo "no" >&6; } |
4779 |
+fi |
4780 |
+ |
4781 |
+ |
4782 |
+ test -n "$CC" && break |
4783 |
+ done |
4784 |
+fi |
4785 |
+if test -z "$CC"; then |
4786 |
+ ac_ct_CC=$CC |
4787 |
+ for ac_prog in cl.exe |
4788 |
+do |
4789 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
4790 |
+set dummy $ac_prog; ac_word=$2 |
4791 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4792 |
+$as_echo_n "checking for $ac_word... " >&6; } |
4793 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
4794 |
+ $as_echo_n "(cached) " >&6 |
4795 |
+else |
4796 |
+ if test -n "$ac_ct_CC"; then |
4797 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4798 |
+else |
4799 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4800 |
+for as_dir in $PATH |
4801 |
+do |
4802 |
+ IFS=$as_save_IFS |
4803 |
+ test -z "$as_dir" && as_dir=. |
4804 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
4805 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4806 |
+ ac_cv_prog_ac_ct_CC="$ac_prog" |
4807 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4808 |
+ break 2 |
4809 |
+ fi |
4810 |
+done |
4811 |
+ done |
4812 |
+IFS=$as_save_IFS |
4813 |
+ |
4814 |
+fi |
4815 |
+fi |
4816 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4817 |
+if test -n "$ac_ct_CC"; then |
4818 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
4819 |
+$as_echo "$ac_ct_CC" >&6; } |
4820 |
+else |
4821 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4822 |
+$as_echo "no" >&6; } |
4823 |
+fi |
4824 |
+ |
4825 |
+ |
4826 |
+ test -n "$ac_ct_CC" && break |
4827 |
+done |
4828 |
+ |
4829 |
+ if test "x$ac_ct_CC" = x; then |
4830 |
+ CC="" |
4831 |
+ else |
4832 |
+ case $cross_compiling:$ac_tool_warned in |
4833 |
+yes:) |
4834 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4835 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4836 |
+ac_tool_warned=yes ;; |
4837 |
+esac |
4838 |
+ CC=$ac_ct_CC |
4839 |
+ fi |
4840 |
+fi |
4841 |
+ |
4842 |
+fi |
4843 |
+ |
4844 |
+ |
4845 |
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4846 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4847 |
+as_fn_error $? "no acceptable C compiler found in \$PATH |
4848 |
+See \`config.log' for more details" "$LINENO" 5; } |
4849 |
+ |
4850 |
+# Provide some information about the compiler. |
4851 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
4852 |
+set X $ac_compile |
4853 |
+ac_compiler=$2 |
4854 |
+for ac_option in --version -v -V -qversion; do |
4855 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
4856 |
+case "(($ac_try" in |
4857 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4858 |
+ *) ac_try_echo=$ac_try;; |
4859 |
+esac |
4860 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4861 |
+$as_echo "$ac_try_echo"; } >&5 |
4862 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
4863 |
+ ac_status=$? |
4864 |
+ if test -s conftest.err; then |
4865 |
+ sed '10a\ |
4866 |
+... rest of stderr output deleted ... |
4867 |
+ 10q' conftest.err >conftest.er1 |
4868 |
+ cat conftest.er1 >&5 |
4869 |
+ fi |
4870 |
+ rm -f conftest.er1 conftest.err |
4871 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4872 |
+ test $ac_status = 0; } |
4873 |
+done |
4874 |
+ |
4875 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4876 |
+/* end confdefs.h. */ |
4877 |
+ |
4878 |
+int |
4879 |
+main () |
4880 |
+{ |
4881 |
+ |
4882 |
+ ; |
4883 |
+ return 0; |
4884 |
+} |
4885 |
+_ACEOF |
4886 |
+ac_clean_files_save=$ac_clean_files |
4887 |
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
4888 |
+# Try to create an executable without -o first, disregard a.out. |
4889 |
+# It will help us diagnose broken compilers, and finding out an intuition |
4890 |
+# of exeext. |
4891 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
4892 |
+$as_echo_n "checking whether the C compiler works... " >&6; } |
4893 |
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
4894 |
+ |
4895 |
+# The possible output files: |
4896 |
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
4897 |
+ |
4898 |
+ac_rmfiles= |
4899 |
+for ac_file in $ac_files |
4900 |
+do |
4901 |
+ case $ac_file in |
4902 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
4903 |
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
4904 |
+ esac |
4905 |
+done |
4906 |
+rm -f $ac_rmfiles |
4907 |
+ |
4908 |
+if { { ac_try="$ac_link_default" |
4909 |
+case "(($ac_try" in |
4910 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4911 |
+ *) ac_try_echo=$ac_try;; |
4912 |
+esac |
4913 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4914 |
+$as_echo "$ac_try_echo"; } >&5 |
4915 |
+ (eval "$ac_link_default") 2>&5 |
4916 |
+ ac_status=$? |
4917 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4918 |
+ test $ac_status = 0; }; then : |
4919 |
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
4920 |
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
4921 |
+# in a Makefile. We should not override ac_cv_exeext if it was cached, |
4922 |
+# so that the user can short-circuit this test for compilers unknown to |
4923 |
+# Autoconf. |
4924 |
+for ac_file in $ac_files '' |
4925 |
+do |
4926 |
+ test -f "$ac_file" || continue |
4927 |
+ case $ac_file in |
4928 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
4929 |
+ ;; |
4930 |
+ [ab].out ) |
4931 |
+ # We found the default executable, but exeext='' is most |
4932 |
+ # certainly right. |
4933 |
+ break;; |
4934 |
+ *.* ) |
4935 |
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
4936 |
+ then :; else |
4937 |
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
4938 |
+ fi |
4939 |
+ # We set ac_cv_exeext here because the later test for it is not |
4940 |
+ # safe: cross compilers may not add the suffix if given an `-o' |
4941 |
+ # argument, so we may need to know it at that point already. |
4942 |
+ # Even if this section looks crufty: it has the advantage of |
4943 |
+ # actually working. |
4944 |
+ break;; |
4945 |
+ * ) |
4946 |
+ break;; |
4947 |
+ esac |
4948 |
+done |
4949 |
+test "$ac_cv_exeext" = no && ac_cv_exeext= |
4950 |
+ |
4951 |
+else |
4952 |
+ ac_file='' |
4953 |
+fi |
4954 |
+if test -z "$ac_file"; then : |
4955 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4956 |
+$as_echo "no" >&6; } |
4957 |
+$as_echo "$as_me: failed program was:" >&5 |
4958 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
4959 |
+ |
4960 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4961 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4962 |
+as_fn_error 77 "C compiler cannot create executables |
4963 |
+See \`config.log' for more details" "$LINENO" 5; } |
4964 |
+else |
4965 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4966 |
+$as_echo "yes" >&6; } |
4967 |
+fi |
4968 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
4969 |
+$as_echo_n "checking for C compiler default output file name... " >&6; } |
4970 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
4971 |
+$as_echo "$ac_file" >&6; } |
4972 |
+ac_exeext=$ac_cv_exeext |
4973 |
+ |
4974 |
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
4975 |
+ac_clean_files=$ac_clean_files_save |
4976 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
4977 |
+$as_echo_n "checking for suffix of executables... " >&6; } |
4978 |
+if { { ac_try="$ac_link" |
4979 |
+case "(($ac_try" in |
4980 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4981 |
+ *) ac_try_echo=$ac_try;; |
4982 |
+esac |
4983 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4984 |
+$as_echo "$ac_try_echo"; } >&5 |
4985 |
+ (eval "$ac_link") 2>&5 |
4986 |
+ ac_status=$? |
4987 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4988 |
+ test $ac_status = 0; }; then : |
4989 |
+ # If both `conftest.exe' and `conftest' are `present' (well, observable) |
4990 |
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
4991 |
+# work properly (i.e., refer to `conftest.exe'), while it won't with |
4992 |
+# `rm'. |
4993 |
+for ac_file in conftest.exe conftest conftest.*; do |
4994 |
+ test -f "$ac_file" || continue |
4995 |
+ case $ac_file in |
4996 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
4997 |
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
4998 |
+ break;; |
4999 |
+ * ) break;; |
5000 |
+ esac |
5001 |
+done |
5002 |
+else |
5003 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5004 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5005 |
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
5006 |
+See \`config.log' for more details" "$LINENO" 5; } |
5007 |
+fi |
5008 |
+rm -f conftest conftest$ac_cv_exeext |
5009 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
5010 |
+$as_echo "$ac_cv_exeext" >&6; } |
5011 |
+ |
5012 |
+rm -f conftest.$ac_ext |
5013 |
+EXEEXT=$ac_cv_exeext |
5014 |
+ac_exeext=$EXEEXT |
5015 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5016 |
+/* end confdefs.h. */ |
5017 |
+@%:@include <stdio.h> |
5018 |
+int |
5019 |
+main () |
5020 |
+{ |
5021 |
+FILE *f = fopen ("conftest.out", "w"); |
5022 |
+ return ferror (f) || fclose (f) != 0; |
5023 |
+ |
5024 |
+ ; |
5025 |
+ return 0; |
5026 |
+} |
5027 |
+_ACEOF |
5028 |
+ac_clean_files="$ac_clean_files conftest.out" |
5029 |
+# Check that the compiler produces executables we can run. If not, either |
5030 |
+# the compiler is broken, or we cross compile. |
5031 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
5032 |
+$as_echo_n "checking whether we are cross compiling... " >&6; } |
5033 |
+if test "$cross_compiling" != yes; then |
5034 |
+ { { ac_try="$ac_link" |
5035 |
+case "(($ac_try" in |
5036 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5037 |
+ *) ac_try_echo=$ac_try;; |
5038 |
+esac |
5039 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
5040 |
+$as_echo "$ac_try_echo"; } >&5 |
5041 |
+ (eval "$ac_link") 2>&5 |
5042 |
+ ac_status=$? |
5043 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5044 |
+ test $ac_status = 0; } |
5045 |
+ if { ac_try='./conftest$ac_cv_exeext' |
5046 |
+ { { case "(($ac_try" in |
5047 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5048 |
+ *) ac_try_echo=$ac_try;; |
5049 |
+esac |
5050 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
5051 |
+$as_echo "$ac_try_echo"; } >&5 |
5052 |
+ (eval "$ac_try") 2>&5 |
5053 |
+ ac_status=$? |
5054 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5055 |
+ test $ac_status = 0; }; }; then |
5056 |
+ cross_compiling=no |
5057 |
+ else |
5058 |
+ if test "$cross_compiling" = maybe; then |
5059 |
+ cross_compiling=yes |
5060 |
+ else |
5061 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5062 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5063 |
+as_fn_error $? "cannot run C compiled programs. |
5064 |
+If you meant to cross compile, use \`--host'. |
5065 |
+See \`config.log' for more details" "$LINENO" 5; } |
5066 |
+ fi |
5067 |
+ fi |
5068 |
+fi |
5069 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
5070 |
+$as_echo "$cross_compiling" >&6; } |
5071 |
+ |
5072 |
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
5073 |
+ac_clean_files=$ac_clean_files_save |
5074 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
5075 |
+$as_echo_n "checking for suffix of object files... " >&6; } |
5076 |
+if ${ac_cv_objext+:} false; then : |
5077 |
+ $as_echo_n "(cached) " >&6 |
5078 |
+else |
5079 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5080 |
+/* end confdefs.h. */ |
5081 |
+ |
5082 |
+int |
5083 |
+main () |
5084 |
+{ |
5085 |
+ |
5086 |
+ ; |
5087 |
+ return 0; |
5088 |
+} |
5089 |
+_ACEOF |
5090 |
+rm -f conftest.o conftest.obj |
5091 |
+if { { ac_try="$ac_compile" |
5092 |
+case "(($ac_try" in |
5093 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5094 |
+ *) ac_try_echo=$ac_try;; |
5095 |
+esac |
5096 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
5097 |
+$as_echo "$ac_try_echo"; } >&5 |
5098 |
+ (eval "$ac_compile") 2>&5 |
5099 |
+ ac_status=$? |
5100 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5101 |
+ test $ac_status = 0; }; then : |
5102 |
+ for ac_file in conftest.o conftest.obj conftest.*; do |
5103 |
+ test -f "$ac_file" || continue; |
5104 |
+ case $ac_file in |
5105 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
5106 |
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
5107 |
+ break;; |
5108 |
+ esac |
5109 |
+done |
5110 |
+else |
5111 |
+ $as_echo "$as_me: failed program was:" >&5 |
5112 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
5113 |
+ |
5114 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5115 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5116 |
+as_fn_error $? "cannot compute suffix of object files: cannot compile |
5117 |
+See \`config.log' for more details" "$LINENO" 5; } |
5118 |
+fi |
5119 |
+rm -f conftest.$ac_cv_objext conftest.$ac_ext |
5120 |
+fi |
5121 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
5122 |
+$as_echo "$ac_cv_objext" >&6; } |
5123 |
+OBJEXT=$ac_cv_objext |
5124 |
+ac_objext=$OBJEXT |
5125 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
5126 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
5127 |
+if ${ac_cv_c_compiler_gnu+:} false; then : |
5128 |
+ $as_echo_n "(cached) " >&6 |
5129 |
+else |
5130 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5131 |
+/* end confdefs.h. */ |
5132 |
+ |
5133 |
+int |
5134 |
+main () |
5135 |
+{ |
5136 |
+#ifndef __GNUC__ |
5137 |
+ choke me |
5138 |
+#endif |
5139 |
+ |
5140 |
+ ; |
5141 |
+ return 0; |
5142 |
+} |
5143 |
+_ACEOF |
5144 |
+if ac_fn_c_try_compile "$LINENO"; then : |
5145 |
+ ac_compiler_gnu=yes |
5146 |
+else |
5147 |
+ ac_compiler_gnu=no |
5148 |
+fi |
5149 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5150 |
+ac_cv_c_compiler_gnu=$ac_compiler_gnu |
5151 |
+ |
5152 |
+fi |
5153 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
5154 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
5155 |
+if test $ac_compiler_gnu = yes; then |
5156 |
+ GCC=yes |
5157 |
+else |
5158 |
+ GCC= |
5159 |
+fi |
5160 |
+ac_test_CFLAGS=${CFLAGS+set} |
5161 |
+ac_save_CFLAGS=$CFLAGS |
5162 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
5163 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
5164 |
+if ${ac_cv_prog_cc_g+:} false; then : |
5165 |
+ $as_echo_n "(cached) " >&6 |
5166 |
+else |
5167 |
+ ac_save_c_werror_flag=$ac_c_werror_flag |
5168 |
+ ac_c_werror_flag=yes |
5169 |
+ ac_cv_prog_cc_g=no |
5170 |
+ CFLAGS="-g" |
5171 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5172 |
+/* end confdefs.h. */ |
5173 |
+ |
5174 |
+int |
5175 |
+main () |
5176 |
+{ |
5177 |
+ |
5178 |
+ ; |
5179 |
+ return 0; |
5180 |
+} |
5181 |
+_ACEOF |
5182 |
+if ac_fn_c_try_compile "$LINENO"; then : |
5183 |
+ ac_cv_prog_cc_g=yes |
5184 |
+else |
5185 |
+ CFLAGS="" |
5186 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5187 |
+/* end confdefs.h. */ |
5188 |
+ |
5189 |
+int |
5190 |
+main () |
5191 |
+{ |
5192 |
+ |
5193 |
+ ; |
5194 |
+ return 0; |
5195 |
+} |
5196 |
+_ACEOF |
5197 |
+if ac_fn_c_try_compile "$LINENO"; then : |
5198 |
+ |
5199 |
+else |
5200 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
5201 |
+ CFLAGS="-g" |
5202 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5203 |
+/* end confdefs.h. */ |
5204 |
+ |
5205 |
+int |
5206 |
+main () |
5207 |
+{ |
5208 |
+ |
5209 |
+ ; |
5210 |
+ return 0; |
5211 |
+} |
5212 |
+_ACEOF |
5213 |
+if ac_fn_c_try_compile "$LINENO"; then : |
5214 |
+ ac_cv_prog_cc_g=yes |
5215 |
+fi |
5216 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5217 |
+fi |
5218 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5219 |
+fi |
5220 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5221 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
5222 |
+fi |
5223 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
5224 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
5225 |
+if test "$ac_test_CFLAGS" = set; then |
5226 |
+ CFLAGS=$ac_save_CFLAGS |
5227 |
+elif test $ac_cv_prog_cc_g = yes; then |
5228 |
+ if test "$GCC" = yes; then |
5229 |
+ CFLAGS="-g -O2" |
5230 |
+ else |
5231 |
+ CFLAGS="-g" |
5232 |
+ fi |
5233 |
+else |
5234 |
+ if test "$GCC" = yes; then |
5235 |
+ CFLAGS="-O2" |
5236 |
+ else |
5237 |
+ CFLAGS= |
5238 |
+ fi |
5239 |
+fi |
5240 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
5241 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
5242 |
+if ${ac_cv_prog_cc_c89+:} false; then : |
5243 |
+ $as_echo_n "(cached) " >&6 |
5244 |
+else |
5245 |
+ ac_cv_prog_cc_c89=no |
5246 |
+ac_save_CC=$CC |
5247 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5248 |
+/* end confdefs.h. */ |
5249 |
+#include <stdarg.h> |
5250 |
+#include <stdio.h> |
5251 |
+#include <sys/types.h> |
5252 |
+#include <sys/stat.h> |
5253 |
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
5254 |
+struct buf { int x; }; |
5255 |
+FILE * (*rcsopen) (struct buf *, struct stat *, int); |
5256 |
+static char *e (p, i) |
5257 |
+ char **p; |
5258 |
+ int i; |
5259 |
+{ |
5260 |
+ return p[i]; |
5261 |
+} |
5262 |
+static char *f (char * (*g) (char **, int), char **p, ...) |
5263 |
+{ |
5264 |
+ char *s; |
5265 |
+ va_list v; |
5266 |
+ va_start (v,p); |
5267 |
+ s = g (p, va_arg (v,int)); |
5268 |
+ va_end (v); |
5269 |
+ return s; |
5270 |
+} |
5271 |
+ |
5272 |
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
5273 |
+ function prototypes and stuff, but not '\xHH' hex character constants. |
5274 |
+ These don't provoke an error unfortunately, instead are silently treated |
5275 |
+ as 'x'. The following induces an error, until -std is added to get |
5276 |
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
5277 |
+ array size at least. It's necessary to write '\x00'==0 to get something |
5278 |
+ that's true only with -std. */ |
5279 |
+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
5280 |
+ |
5281 |
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
5282 |
+ inside strings and character constants. */ |
5283 |
+#define FOO(x) 'x' |
5284 |
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
5285 |
+ |
5286 |
+int test (int i, double x); |
5287 |
+struct s1 {int (*f) (int a);}; |
5288 |
+struct s2 {int (*f) (double a);}; |
5289 |
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
5290 |
+int argc; |
5291 |
+char **argv; |
5292 |
+int |
5293 |
+main () |
5294 |
+{ |
5295 |
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
5296 |
+ ; |
5297 |
+ return 0; |
5298 |
+} |
5299 |
+_ACEOF |
5300 |
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
5301 |
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
5302 |
+do |
5303 |
+ CC="$ac_save_CC $ac_arg" |
5304 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
5305 |
+ ac_cv_prog_cc_c89=$ac_arg |
5306 |
+fi |
5307 |
+rm -f core conftest.err conftest.$ac_objext |
5308 |
+ test "x$ac_cv_prog_cc_c89" != "xno" && break |
5309 |
+done |
5310 |
+rm -f conftest.$ac_ext |
5311 |
+CC=$ac_save_CC |
5312 |
+ |
5313 |
+fi |
5314 |
+# AC_CACHE_VAL |
5315 |
+case "x$ac_cv_prog_cc_c89" in |
5316 |
+ x) |
5317 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
5318 |
+$as_echo "none needed" >&6; } ;; |
5319 |
+ xno) |
5320 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
5321 |
+$as_echo "unsupported" >&6; } ;; |
5322 |
+ *) |
5323 |
+ CC="$CC $ac_cv_prog_cc_c89" |
5324 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
5325 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
5326 |
+esac |
5327 |
+if test "x$ac_cv_prog_cc_c89" != xno; then : |
5328 |
+ |
5329 |
+fi |
5330 |
+ |
5331 |
+ac_ext=c |
5332 |
+ac_cpp='$CPP $CPPFLAGS' |
5333 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5334 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5335 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5336 |
+ |
5337 |
+depcc="$CC" am_compiler_list= |
5338 |
+ |
5339 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
5340 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
5341 |
+if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
5342 |
+ $as_echo_n "(cached) " >&6 |
5343 |
+else |
5344 |
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5345 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
5346 |
+ # making bogus files that we don't know about and never remove. For |
5347 |
+ # instance it was reported that on HP-UX the gcc test will end up |
5348 |
+ # making a dummy file named `D' -- because `-MD' means `put the output |
5349 |
+ # in D'. |
5350 |
+ mkdir conftest.dir |
5351 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
5352 |
+ # using a relative directory. |
5353 |
+ cp "$am_depcomp" conftest.dir |
5354 |
+ cd conftest.dir |
5355 |
+ # We will build objects and dependencies in a subdirectory because |
5356 |
+ # it helps to detect inapplicable dependency modes. For instance |
5357 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
5358 |
+ # side effect of compilation, but ICC will put the dependencies in |
5359 |
+ # the current directory while Tru64 will put them in the object |
5360 |
+ # directory. |
5361 |
+ mkdir sub |
5362 |
+ |
5363 |
+ am_cv_CC_dependencies_compiler_type=none |
5364 |
+ if test "$am_compiler_list" = ""; then |
5365 |
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
5366 |
+ fi |
5367 |
+ am__universal=false |
5368 |
+ case " $depcc " in #( |
5369 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
5370 |
+ esac |
5371 |
+ |
5372 |
+ for depmode in $am_compiler_list; do |
5373 |
+ # Setup a source with many dependencies, because some compilers |
5374 |
+ # like to wrap large dependency lists on column 80 (with \), and |
5375 |
+ # we should not choose a depcomp mode which is confused by this. |
5376 |
+ # |
5377 |
+ # We need to recreate these files for each test, as the compiler may |
5378 |
+ # overwrite some of them when testing with obscure command lines. |
5379 |
+ # This happens at least with the AIX C compiler. |
5380 |
+ : > sub/conftest.c |
5381 |
+ for i in 1 2 3 4 5 6; do |
5382 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
5383 |
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
5384 |
+ # Solaris 8's {/usr,}/bin/sh. |
5385 |
+ touch sub/conftst$i.h |
5386 |
+ done |
5387 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
5388 |
+ |
5389 |
+ # We check with `-c' and `-o' for the sake of the "dashmstdout" |
5390 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
5391 |
+ # handle `-M -o', and we need to detect this. Also, some Intel |
5392 |
+ # versions had trouble with output in subdirs |
5393 |
+ am__obj=sub/conftest.${OBJEXT-o} |
5394 |
+ am__minus_obj="-o $am__obj" |
5395 |
+ case $depmode in |
5396 |
+ gcc) |
5397 |
+ # This depmode causes a compiler race in universal mode. |
5398 |
+ test "$am__universal" = false || continue |
5399 |
+ ;; |
5400 |
+ nosideeffect) |
5401 |
+ # after this tag, mechanisms are not by side-effect, so they'll |
5402 |
+ # only be used when explicitly requested |
5403 |
+ if test "x$enable_dependency_tracking" = xyes; then |
5404 |
+ continue |
5405 |
+ else |
5406 |
+ break |
5407 |
+ fi |
5408 |
+ ;; |
5409 |
+ msvisualcpp | msvcmsys) |
5410 |
+ # This compiler won't grok `-c -o', but also, the minuso test has |
5411 |
+ # not run yet. These depmodes are late enough in the game, and |
5412 |
+ # so weak that their functioning should not be impacted. |
5413 |
+ am__obj=conftest.${OBJEXT-o} |
5414 |
+ am__minus_obj= |
5415 |
+ ;; |
5416 |
+ none) break ;; |
5417 |
+ esac |
5418 |
+ if depmode=$depmode \ |
5419 |
+ source=sub/conftest.c object=$am__obj \ |
5420 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
5421 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
5422 |
+ >/dev/null 2>conftest.err && |
5423 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
5424 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
5425 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
5426 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
5427 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
5428 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
5429 |
+ # that says an option was ignored or not supported. |
5430 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
5431 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
5432 |
+ # The diagnosis changed in icc 8.0: |
5433 |
+ # icc: Command line remark: option '-MP' not supported |
5434 |
+ if (grep 'ignoring option' conftest.err || |
5435 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
5436 |
+ am_cv_CC_dependencies_compiler_type=$depmode |
5437 |
+ break |
5438 |
+ fi |
5439 |
+ fi |
5440 |
+ done |
5441 |
+ |
5442 |
+ cd .. |
5443 |
+ rm -rf conftest.dir |
5444 |
+else |
5445 |
+ am_cv_CC_dependencies_compiler_type=none |
5446 |
+fi |
5447 |
+ |
5448 |
+fi |
5449 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
5450 |
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
5451 |
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
5452 |
+ |
5453 |
+ if |
5454 |
+ test "x$enable_dependency_tracking" != xno \ |
5455 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
5456 |
+ am__fastdepCC_TRUE= |
5457 |
+ am__fastdepCC_FALSE='#' |
5458 |
+else |
5459 |
+ am__fastdepCC_TRUE='#' |
5460 |
+ am__fastdepCC_FALSE= |
5461 |
+fi |
5462 |
+ |
5463 |
+ |
5464 |
+ |
5465 |
+ac_ext=c |
5466 |
+ac_cpp='$CPP $CPPFLAGS' |
5467 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5468 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5469 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5470 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
5471 |
+$as_echo_n "checking how to run the C preprocessor... " >&6; } |
5472 |
+# On Suns, sometimes $CPP names a directory. |
5473 |
+if test -n "$CPP" && test -d "$CPP"; then |
5474 |
+ CPP= |
5475 |
+fi |
5476 |
+if test -z "$CPP"; then |
5477 |
+ if ${ac_cv_prog_CPP+:} false; then : |
5478 |
+ $as_echo_n "(cached) " >&6 |
5479 |
+else |
5480 |
+ # Double quotes because CPP needs to be expanded |
5481 |
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5482 |
+ do |
5483 |
+ ac_preproc_ok=false |
5484 |
+for ac_c_preproc_warn_flag in '' yes |
5485 |
+do |
5486 |
+ # Use a header file that comes with gcc, so configuring glibc |
5487 |
+ # with a fresh cross-compiler works. |
5488 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5489 |
+ # <limits.h> exists even on freestanding compilers. |
5490 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
5491 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
5492 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5493 |
+/* end confdefs.h. */ |
5494 |
+@%:@ifdef __STDC__ |
5495 |
+@%:@ include <limits.h> |
5496 |
+@%:@else |
5497 |
+@%:@ include <assert.h> |
5498 |
+@%:@endif |
5499 |
+ Syntax error |
5500 |
+_ACEOF |
5501 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
5502 |
+ |
5503 |
+else |
5504 |
+ # Broken: fails on valid input. |
5505 |
+continue |
5506 |
+fi |
5507 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
5508 |
+ |
5509 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
5510 |
+ # can be detected and how. |
5511 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5512 |
+/* end confdefs.h. */ |
5513 |
+@%:@include <ac_nonexistent.h> |
5514 |
+_ACEOF |
5515 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
5516 |
+ # Broken: success on invalid input. |
5517 |
+continue |
5518 |
+else |
5519 |
+ # Passes both tests. |
5520 |
+ac_preproc_ok=: |
5521 |
+break |
5522 |
+fi |
5523 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
5524 |
+ |
5525 |
+done |
5526 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5527 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
5528 |
+if $ac_preproc_ok; then : |
5529 |
+ break |
5530 |
+fi |
5531 |
+ |
5532 |
+ done |
5533 |
+ ac_cv_prog_CPP=$CPP |
5534 |
+ |
5535 |
+fi |
5536 |
+ CPP=$ac_cv_prog_CPP |
5537 |
+else |
5538 |
+ ac_cv_prog_CPP=$CPP |
5539 |
+fi |
5540 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
5541 |
+$as_echo "$CPP" >&6; } |
5542 |
+ac_preproc_ok=false |
5543 |
+for ac_c_preproc_warn_flag in '' yes |
5544 |
+do |
5545 |
+ # Use a header file that comes with gcc, so configuring glibc |
5546 |
+ # with a fresh cross-compiler works. |
5547 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5548 |
+ # <limits.h> exists even on freestanding compilers. |
5549 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
5550 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
5551 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5552 |
+/* end confdefs.h. */ |
5553 |
+@%:@ifdef __STDC__ |
5554 |
+@%:@ include <limits.h> |
5555 |
+@%:@else |
5556 |
+@%:@ include <assert.h> |
5557 |
+@%:@endif |
5558 |
+ Syntax error |
5559 |
+_ACEOF |
5560 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
5561 |
+ |
5562 |
+else |
5563 |
+ # Broken: fails on valid input. |
5564 |
+continue |
5565 |
+fi |
5566 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
5567 |
+ |
5568 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
5569 |
+ # can be detected and how. |
5570 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5571 |
+/* end confdefs.h. */ |
5572 |
+@%:@include <ac_nonexistent.h> |
5573 |
+_ACEOF |
5574 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
5575 |
+ # Broken: success on invalid input. |
5576 |
+continue |
5577 |
+else |
5578 |
+ # Passes both tests. |
5579 |
+ac_preproc_ok=: |
5580 |
+break |
5581 |
+fi |
5582 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
5583 |
+ |
5584 |
+done |
5585 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5586 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
5587 |
+if $ac_preproc_ok; then : |
5588 |
+ |
5589 |
+else |
5590 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5591 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5592 |
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5593 |
+See \`config.log' for more details" "$LINENO" 5; } |
5594 |
+fi |
5595 |
+ |
5596 |
+ac_ext=c |
5597 |
+ac_cpp='$CPP $CPPFLAGS' |
5598 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5599 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5600 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5601 |
+ |
5602 |
+ |
5603 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
5604 |
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
5605 |
+if ${ac_cv_path_GREP+:} false; then : |
5606 |
+ $as_echo_n "(cached) " >&6 |
5607 |
+else |
5608 |
+ if test -z "$GREP"; then |
5609 |
+ ac_path_GREP_found=false |
5610 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
5611 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5612 |
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
5613 |
+do |
5614 |
+ IFS=$as_save_IFS |
5615 |
+ test -z "$as_dir" && as_dir=. |
5616 |
+ for ac_prog in grep ggrep; do |
5617 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5618 |
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
5619 |
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
5620 |
+# Check for GNU ac_path_GREP and select it if it is found. |
5621 |
+ # Check for GNU $ac_path_GREP |
5622 |
+case `"$ac_path_GREP" --version 2>&1` in |
5623 |
+*GNU*) |
5624 |
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
5625 |
+*) |
5626 |
+ ac_count=0 |
5627 |
+ $as_echo_n 0123456789 >"conftest.in" |
5628 |
+ while : |
5629 |
+ do |
5630 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
5631 |
+ mv "conftest.tmp" "conftest.in" |
5632 |
+ cp "conftest.in" "conftest.nl" |
5633 |
+ $as_echo 'GREP' >> "conftest.nl" |
5634 |
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
5635 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
5636 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
5637 |
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then |
5638 |
+ # Best one so far, save it but keep looking for a better one |
5639 |
+ ac_cv_path_GREP="$ac_path_GREP" |
5640 |
+ ac_path_GREP_max=$ac_count |
5641 |
+ fi |
5642 |
+ # 10*(2^10) chars as input seems more than enough |
5643 |
+ test $ac_count -gt 10 && break |
5644 |
+ done |
5645 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
5646 |
+esac |
5647 |
+ |
5648 |
+ $ac_path_GREP_found && break 3 |
5649 |
+ done |
5650 |
+ done |
5651 |
+ done |
5652 |
+IFS=$as_save_IFS |
5653 |
+ if test -z "$ac_cv_path_GREP"; then |
5654 |
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
5655 |
+ fi |
5656 |
+else |
5657 |
+ ac_cv_path_GREP=$GREP |
5658 |
+fi |
5659 |
+ |
5660 |
+fi |
5661 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
5662 |
+$as_echo "$ac_cv_path_GREP" >&6; } |
5663 |
+ GREP="$ac_cv_path_GREP" |
5664 |
+ |
5665 |
+ |
5666 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
5667 |
+$as_echo_n "checking for egrep... " >&6; } |
5668 |
+if ${ac_cv_path_EGREP+:} false; then : |
5669 |
+ $as_echo_n "(cached) " >&6 |
5670 |
+else |
5671 |
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
5672 |
+ then ac_cv_path_EGREP="$GREP -E" |
5673 |
+ else |
5674 |
+ if test -z "$EGREP"; then |
5675 |
+ ac_path_EGREP_found=false |
5676 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
5677 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5678 |
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
5679 |
+do |
5680 |
+ IFS=$as_save_IFS |
5681 |
+ test -z "$as_dir" && as_dir=. |
5682 |
+ for ac_prog in egrep; do |
5683 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5684 |
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
5685 |
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
5686 |
+# Check for GNU ac_path_EGREP and select it if it is found. |
5687 |
+ # Check for GNU $ac_path_EGREP |
5688 |
+case `"$ac_path_EGREP" --version 2>&1` in |
5689 |
+*GNU*) |
5690 |
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
5691 |
+*) |
5692 |
+ ac_count=0 |
5693 |
+ $as_echo_n 0123456789 >"conftest.in" |
5694 |
+ while : |
5695 |
+ do |
5696 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
5697 |
+ mv "conftest.tmp" "conftest.in" |
5698 |
+ cp "conftest.in" "conftest.nl" |
5699 |
+ $as_echo 'EGREP' >> "conftest.nl" |
5700 |
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
5701 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
5702 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
5703 |
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
5704 |
+ # Best one so far, save it but keep looking for a better one |
5705 |
+ ac_cv_path_EGREP="$ac_path_EGREP" |
5706 |
+ ac_path_EGREP_max=$ac_count |
5707 |
+ fi |
5708 |
+ # 10*(2^10) chars as input seems more than enough |
5709 |
+ test $ac_count -gt 10 && break |
5710 |
+ done |
5711 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
5712 |
+esac |
5713 |
+ |
5714 |
+ $ac_path_EGREP_found && break 3 |
5715 |
+ done |
5716 |
+ done |
5717 |
+ done |
5718 |
+IFS=$as_save_IFS |
5719 |
+ if test -z "$ac_cv_path_EGREP"; then |
5720 |
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
5721 |
+ fi |
5722 |
+else |
5723 |
+ ac_cv_path_EGREP=$EGREP |
5724 |
+fi |
5725 |
+ |
5726 |
+ fi |
5727 |
+fi |
5728 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
5729 |
+$as_echo "$ac_cv_path_EGREP" >&6; } |
5730 |
+ EGREP="$ac_cv_path_EGREP" |
5731 |
+ |
5732 |
+ |
5733 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
5734 |
+$as_echo_n "checking for ANSI C header files... " >&6; } |
5735 |
+if ${ac_cv_header_stdc+:} false; then : |
5736 |
+ $as_echo_n "(cached) " >&6 |
5737 |
+else |
5738 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5739 |
+/* end confdefs.h. */ |
5740 |
+#include <stdlib.h> |
5741 |
+#include <stdarg.h> |
5742 |
+#include <string.h> |
5743 |
+#include <float.h> |
5744 |
+ |
5745 |
+int |
5746 |
+main () |
5747 |
+{ |
5748 |
+ |
5749 |
+ ; |
5750 |
+ return 0; |
5751 |
+} |
5752 |
+_ACEOF |
5753 |
+if ac_fn_c_try_compile "$LINENO"; then : |
5754 |
+ ac_cv_header_stdc=yes |
5755 |
+else |
5756 |
+ ac_cv_header_stdc=no |
5757 |
+fi |
5758 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5759 |
+ |
5760 |
+if test $ac_cv_header_stdc = yes; then |
5761 |
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
5762 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5763 |
+/* end confdefs.h. */ |
5764 |
+#include <string.h> |
5765 |
+ |
5766 |
+_ACEOF |
5767 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5768 |
+ $EGREP "memchr" >/dev/null 2>&1; then : |
5769 |
+ |
5770 |
+else |
5771 |
+ ac_cv_header_stdc=no |
5772 |
+fi |
5773 |
+rm -f conftest* |
5774 |
+ |
5775 |
+fi |
5776 |
+ |
5777 |
+if test $ac_cv_header_stdc = yes; then |
5778 |
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
5779 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5780 |
+/* end confdefs.h. */ |
5781 |
+#include <stdlib.h> |
5782 |
+ |
5783 |
+_ACEOF |
5784 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5785 |
+ $EGREP "free" >/dev/null 2>&1; then : |
5786 |
+ |
5787 |
+else |
5788 |
+ ac_cv_header_stdc=no |
5789 |
+fi |
5790 |
+rm -f conftest* |
5791 |
+ |
5792 |
+fi |
5793 |
+ |
5794 |
+if test $ac_cv_header_stdc = yes; then |
5795 |
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
5796 |
+ if test "$cross_compiling" = yes; then : |
5797 |
+ : |
5798 |
+else |
5799 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5800 |
+/* end confdefs.h. */ |
5801 |
+#include <ctype.h> |
5802 |
+#include <stdlib.h> |
5803 |
+#if ((' ' & 0x0FF) == 0x020) |
5804 |
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
5805 |
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
5806 |
+#else |
5807 |
+# define ISLOWER(c) \ |
5808 |
+ (('a' <= (c) && (c) <= 'i') \ |
5809 |
+ || ('j' <= (c) && (c) <= 'r') \ |
5810 |
+ || ('s' <= (c) && (c) <= 'z')) |
5811 |
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
5812 |
+#endif |
5813 |
+ |
5814 |
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
5815 |
+int |
5816 |
+main () |
5817 |
+{ |
5818 |
+ int i; |
5819 |
+ for (i = 0; i < 256; i++) |
5820 |
+ if (XOR (islower (i), ISLOWER (i)) |
5821 |
+ || toupper (i) != TOUPPER (i)) |
5822 |
+ return 2; |
5823 |
+ return 0; |
5824 |
+} |
5825 |
+_ACEOF |
5826 |
+if ac_fn_c_try_run "$LINENO"; then : |
5827 |
+ |
5828 |
+else |
5829 |
+ ac_cv_header_stdc=no |
5830 |
+fi |
5831 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
5832 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
5833 |
+fi |
5834 |
+ |
5835 |
+fi |
5836 |
+fi |
5837 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
5838 |
+$as_echo "$ac_cv_header_stdc" >&6; } |
5839 |
+if test $ac_cv_header_stdc = yes; then |
5840 |
+ |
5841 |
+$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h |
5842 |
+ |
5843 |
+fi |
5844 |
+ |
5845 |
+# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
5846 |
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
5847 |
+ inttypes.h stdint.h unistd.h |
5848 |
+do : |
5849 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5850 |
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
5851 |
+" |
5852 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5853 |
+ cat >>confdefs.h <<_ACEOF |
5854 |
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5855 |
+_ACEOF |
5856 |
+ |
5857 |
+fi |
5858 |
+ |
5859 |
+done |
5860 |
+ |
5861 |
+ |
5862 |
+@%:@ Check whether --enable-xattr was given. |
5863 |
+if test "${enable_xattr+set}" = set; then : |
5864 |
+ enableval=$enable_xattr; |
5865 |
+ if test "x$enable_xattr" = "xyes"; then : |
5866 |
+ |
5867 |
+ for ac_header in attr/xattr.h |
5868 |
+do : |
5869 |
+ ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default" |
5870 |
+if test "x$ac_cv_header_attr_xattr_h" = xyes; then : |
5871 |
+ cat >>confdefs.h <<_ACEOF |
5872 |
+@%:@define HAVE_ATTR_XATTR_H 1 |
5873 |
+_ACEOF |
5874 |
+ |
5875 |
+else |
5876 |
+ as_fn_error $? "\"Missing necessary attr/xattr.h\"" "$LINENO" 5 |
5877 |
+ |
5878 |
+fi |
5879 |
+ |
5880 |
+done |
5881 |
+ |
5882 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetxattr in -lattr" >&5 |
5883 |
+$as_echo_n "checking for fgetxattr in -lattr... " >&6; } |
5884 |
+if ${ac_cv_lib_attr_fgetxattr+:} false; then : |
5885 |
+ $as_echo_n "(cached) " >&6 |
5886 |
+else |
5887 |
+ ac_check_lib_save_LIBS=$LIBS |
5888 |
+LIBS="-lattr $LIBS" |
5889 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5890 |
+/* end confdefs.h. */ |
5891 |
+ |
5892 |
+/* Override any GCC internal prototype to avoid an error. |
5893 |
+ Use char because int might match the return type of a GCC |
5894 |
+ builtin and then its argument prototype would still apply. */ |
5895 |
+#ifdef __cplusplus |
5896 |
+extern "C" |
5897 |
+#endif |
5898 |
+char fgetxattr (); |
5899 |
+int |
5900 |
+main () |
5901 |
+{ |
5902 |
+return fgetxattr (); |
5903 |
+ ; |
5904 |
+ return 0; |
5905 |
+} |
5906 |
+_ACEOF |
5907 |
+if ac_fn_c_try_link "$LINENO"; then : |
5908 |
+ ac_cv_lib_attr_fgetxattr=yes |
5909 |
+else |
5910 |
+ ac_cv_lib_attr_fgetxattr=no |
5911 |
+fi |
5912 |
+rm -f core conftest.err conftest.$ac_objext \ |
5913 |
+ conftest$ac_exeext conftest.$ac_ext |
5914 |
+LIBS=$ac_check_lib_save_LIBS |
5915 |
+fi |
5916 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_fgetxattr" >&5 |
5917 |
+$as_echo "$ac_cv_lib_attr_fgetxattr" >&6; } |
5918 |
+if test "x$ac_cv_lib_attr_fgetxattr" = xyes; then : |
5919 |
+ cat >>confdefs.h <<_ACEOF |
5920 |
+@%:@define HAVE_LIBATTR 1 |
5921 |
+_ACEOF |
5922 |
+ |
5923 |
+ LIBS="-lattr $LIBS" |
5924 |
+ |
5925 |
+else |
5926 |
+ as_fn_error $? "\"Missing necessary function fgetxattr in libattr\"" "$LINENO" 5 |
5927 |
+ |
5928 |
+fi |
5929 |
+ |
5930 |
+ CFLAGS+=" -DXATTR" |
5931 |
+ |
5932 |
+else |
5933 |
+ |
5934 |
+ CFLAGS+=" -UXATTR" |
5935 |
+ |
5936 |
+ |
5937 |
+fi |
5938 |
+ |
5939 |
+else |
5940 |
+ |
5941 |
+ CFLAGS+=" -DXATTR" |
5942 |
+ |
5943 |
+ |
5944 |
+fi |
5945 |
+ |
5946 |
+ |
5947 |
+# Checks for programs. |
5948 |
+for ac_prog in gawk mawk nawk awk |
5949 |
+do |
5950 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
5951 |
+set dummy $ac_prog; ac_word=$2 |
5952 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5953 |
+$as_echo_n "checking for $ac_word... " >&6; } |
5954 |
+if ${ac_cv_prog_AWK+:} false; then : |
5955 |
+ $as_echo_n "(cached) " >&6 |
5956 |
+else |
5957 |
+ if test -n "$AWK"; then |
5958 |
+ ac_cv_prog_AWK="$AWK" # Let the user override the test. |
5959 |
+else |
5960 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5961 |
+for as_dir in $PATH |
5962 |
+do |
5963 |
+ IFS=$as_save_IFS |
5964 |
+ test -z "$as_dir" && as_dir=. |
5965 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
5966 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5967 |
+ ac_cv_prog_AWK="$ac_prog" |
5968 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5969 |
+ break 2 |
5970 |
+ fi |
5971 |
+done |
5972 |
+ done |
5973 |
+IFS=$as_save_IFS |
5974 |
+ |
5975 |
+fi |
5976 |
+fi |
5977 |
+AWK=$ac_cv_prog_AWK |
5978 |
+if test -n "$AWK"; then |
5979 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
5980 |
+$as_echo "$AWK" >&6; } |
5981 |
+else |
5982 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5983 |
+$as_echo "no" >&6; } |
5984 |
+fi |
5985 |
+ |
5986 |
+ |
5987 |
+ test -n "$AWK" && break |
5988 |
+done |
5989 |
+ |
5990 |
+ac_ext=c |
5991 |
+ac_cpp='$CPP $CPPFLAGS' |
5992 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5993 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5994 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5995 |
+if test -n "$ac_tool_prefix"; then |
5996 |
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
5997 |
+set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
5998 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5999 |
+$as_echo_n "checking for $ac_word... " >&6; } |
6000 |
+if ${ac_cv_prog_CC+:} false; then : |
6001 |
+ $as_echo_n "(cached) " >&6 |
6002 |
+else |
6003 |
+ if test -n "$CC"; then |
6004 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
6005 |
+else |
6006 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6007 |
+for as_dir in $PATH |
6008 |
+do |
6009 |
+ IFS=$as_save_IFS |
6010 |
+ test -z "$as_dir" && as_dir=. |
6011 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
6012 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6013 |
+ ac_cv_prog_CC="${ac_tool_prefix}gcc" |
6014 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6015 |
+ break 2 |
6016 |
+ fi |
6017 |
+done |
6018 |
+ done |
6019 |
+IFS=$as_save_IFS |
6020 |
+ |
6021 |
+fi |
6022 |
+fi |
6023 |
+CC=$ac_cv_prog_CC |
6024 |
+if test -n "$CC"; then |
6025 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
6026 |
+$as_echo "$CC" >&6; } |
6027 |
+else |
6028 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6029 |
+$as_echo "no" >&6; } |
6030 |
+fi |
6031 |
+ |
6032 |
+ |
6033 |
+fi |
6034 |
+if test -z "$ac_cv_prog_CC"; then |
6035 |
+ ac_ct_CC=$CC |
6036 |
+ # Extract the first word of "gcc", so it can be a program name with args. |
6037 |
+set dummy gcc; ac_word=$2 |
6038 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6039 |
+$as_echo_n "checking for $ac_word... " >&6; } |
6040 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
6041 |
+ $as_echo_n "(cached) " >&6 |
6042 |
+else |
6043 |
+ if test -n "$ac_ct_CC"; then |
6044 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
6045 |
+else |
6046 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6047 |
+for as_dir in $PATH |
6048 |
+do |
6049 |
+ IFS=$as_save_IFS |
6050 |
+ test -z "$as_dir" && as_dir=. |
6051 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
6052 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6053 |
+ ac_cv_prog_ac_ct_CC="gcc" |
6054 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6055 |
+ break 2 |
6056 |
+ fi |
6057 |
+done |
6058 |
+ done |
6059 |
+IFS=$as_save_IFS |
6060 |
+ |
6061 |
+fi |
6062 |
+fi |
6063 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
6064 |
+if test -n "$ac_ct_CC"; then |
6065 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
6066 |
+$as_echo "$ac_ct_CC" >&6; } |
6067 |
+else |
6068 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6069 |
+$as_echo "no" >&6; } |
6070 |
+fi |
6071 |
+ |
6072 |
+ if test "x$ac_ct_CC" = x; then |
6073 |
+ CC="" |
6074 |
+ else |
6075 |
+ case $cross_compiling:$ac_tool_warned in |
6076 |
+yes:) |
6077 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6078 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6079 |
+ac_tool_warned=yes ;; |
6080 |
+esac |
6081 |
+ CC=$ac_ct_CC |
6082 |
+ fi |
6083 |
+else |
6084 |
+ CC="$ac_cv_prog_CC" |
6085 |
+fi |
6086 |
+ |
6087 |
+if test -z "$CC"; then |
6088 |
+ if test -n "$ac_tool_prefix"; then |
6089 |
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
6090 |
+set dummy ${ac_tool_prefix}cc; ac_word=$2 |
6091 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6092 |
+$as_echo_n "checking for $ac_word... " >&6; } |
6093 |
+if ${ac_cv_prog_CC+:} false; then : |
6094 |
+ $as_echo_n "(cached) " >&6 |
6095 |
+else |
6096 |
+ if test -n "$CC"; then |
6097 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
6098 |
+else |
6099 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6100 |
+for as_dir in $PATH |
6101 |
+do |
6102 |
+ IFS=$as_save_IFS |
6103 |
+ test -z "$as_dir" && as_dir=. |
6104 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
6105 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6106 |
+ ac_cv_prog_CC="${ac_tool_prefix}cc" |
6107 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6108 |
+ break 2 |
6109 |
+ fi |
6110 |
+done |
6111 |
+ done |
6112 |
+IFS=$as_save_IFS |
6113 |
+ |
6114 |
+fi |
6115 |
+fi |
6116 |
+CC=$ac_cv_prog_CC |
6117 |
+if test -n "$CC"; then |
6118 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
6119 |
+$as_echo "$CC" >&6; } |
6120 |
+else |
6121 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6122 |
+$as_echo "no" >&6; } |
6123 |
+fi |
6124 |
+ |
6125 |
+ |
6126 |
+ fi |
6127 |
+fi |
6128 |
+if test -z "$CC"; then |
6129 |
+ # Extract the first word of "cc", so it can be a program name with args. |
6130 |
+set dummy cc; ac_word=$2 |
6131 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6132 |
+$as_echo_n "checking for $ac_word... " >&6; } |
6133 |
+if ${ac_cv_prog_CC+:} false; then : |
6134 |
+ $as_echo_n "(cached) " >&6 |
6135 |
+else |
6136 |
+ if test -n "$CC"; then |
6137 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
6138 |
+else |
6139 |
+ ac_prog_rejected=no |
6140 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6141 |
+for as_dir in $PATH |
6142 |
+do |
6143 |
+ IFS=$as_save_IFS |
6144 |
+ test -z "$as_dir" && as_dir=. |
6145 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
6146 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6147 |
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
6148 |
+ ac_prog_rejected=yes |
6149 |
+ continue |
6150 |
+ fi |
6151 |
+ ac_cv_prog_CC="cc" |
6152 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6153 |
+ break 2 |
6154 |
+ fi |
6155 |
+done |
6156 |
+ done |
6157 |
+IFS=$as_save_IFS |
6158 |
+ |
6159 |
+if test $ac_prog_rejected = yes; then |
6160 |
+ # We found a bogon in the path, so make sure we never use it. |
6161 |
+ set dummy $ac_cv_prog_CC |
6162 |
+ shift |
6163 |
+ if test $@%:@ != 0; then |
6164 |
+ # We chose a different compiler from the bogus one. |
6165 |
+ # However, it has the same basename, so the bogon will be chosen |
6166 |
+ # first if we set CC to just the basename; use the full file name. |
6167 |
+ shift |
6168 |
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
6169 |
+ fi |
6170 |
+fi |
6171 |
+fi |
6172 |
+fi |
6173 |
+CC=$ac_cv_prog_CC |
6174 |
+if test -n "$CC"; then |
6175 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
6176 |
+$as_echo "$CC" >&6; } |
6177 |
+else |
6178 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6179 |
+$as_echo "no" >&6; } |
6180 |
+fi |
6181 |
+ |
6182 |
+ |
6183 |
+fi |
6184 |
+if test -z "$CC"; then |
6185 |
+ if test -n "$ac_tool_prefix"; then |
6186 |
+ for ac_prog in cl.exe |
6187 |
+ do |
6188 |
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
6189 |
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
6190 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6191 |
+$as_echo_n "checking for $ac_word... " >&6; } |
6192 |
+if ${ac_cv_prog_CC+:} false; then : |
6193 |
+ $as_echo_n "(cached) " >&6 |
6194 |
+else |
6195 |
+ if test -n "$CC"; then |
6196 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
6197 |
+else |
6198 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6199 |
+for as_dir in $PATH |
6200 |
+do |
6201 |
+ IFS=$as_save_IFS |
6202 |
+ test -z "$as_dir" && as_dir=. |
6203 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
6204 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6205 |
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
6206 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6207 |
+ break 2 |
6208 |
+ fi |
6209 |
+done |
6210 |
+ done |
6211 |
+IFS=$as_save_IFS |
6212 |
+ |
6213 |
+fi |
6214 |
+fi |
6215 |
+CC=$ac_cv_prog_CC |
6216 |
+if test -n "$CC"; then |
6217 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
6218 |
+$as_echo "$CC" >&6; } |
6219 |
+else |
6220 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6221 |
+$as_echo "no" >&6; } |
6222 |
+fi |
6223 |
+ |
6224 |
+ |
6225 |
+ test -n "$CC" && break |
6226 |
+ done |
6227 |
+fi |
6228 |
+if test -z "$CC"; then |
6229 |
+ ac_ct_CC=$CC |
6230 |
+ for ac_prog in cl.exe |
6231 |
+do |
6232 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
6233 |
+set dummy $ac_prog; ac_word=$2 |
6234 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6235 |
+$as_echo_n "checking for $ac_word... " >&6; } |
6236 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
6237 |
+ $as_echo_n "(cached) " >&6 |
6238 |
+else |
6239 |
+ if test -n "$ac_ct_CC"; then |
6240 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
6241 |
+else |
6242 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6243 |
+for as_dir in $PATH |
6244 |
+do |
6245 |
+ IFS=$as_save_IFS |
6246 |
+ test -z "$as_dir" && as_dir=. |
6247 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
6248 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6249 |
+ ac_cv_prog_ac_ct_CC="$ac_prog" |
6250 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6251 |
+ break 2 |
6252 |
+ fi |
6253 |
+done |
6254 |
+ done |
6255 |
+IFS=$as_save_IFS |
6256 |
+ |
6257 |
+fi |
6258 |
+fi |
6259 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
6260 |
+if test -n "$ac_ct_CC"; then |
6261 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
6262 |
+$as_echo "$ac_ct_CC" >&6; } |
6263 |
+else |
6264 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6265 |
+$as_echo "no" >&6; } |
6266 |
+fi |
6267 |
+ |
6268 |
+ |
6269 |
+ test -n "$ac_ct_CC" && break |
6270 |
+done |
6271 |
+ |
6272 |
+ if test "x$ac_ct_CC" = x; then |
6273 |
+ CC="" |
6274 |
+ else |
6275 |
+ case $cross_compiling:$ac_tool_warned in |
6276 |
+yes:) |
6277 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6278 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6279 |
+ac_tool_warned=yes ;; |
6280 |
+esac |
6281 |
+ CC=$ac_ct_CC |
6282 |
+ fi |
6283 |
+fi |
6284 |
+ |
6285 |
+fi |
6286 |
+ |
6287 |
+ |
6288 |
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6289 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6290 |
+as_fn_error $? "no acceptable C compiler found in \$PATH |
6291 |
+See \`config.log' for more details" "$LINENO" 5; } |
6292 |
+ |
6293 |
+# Provide some information about the compiler. |
6294 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
6295 |
+set X $ac_compile |
6296 |
+ac_compiler=$2 |
6297 |
+for ac_option in --version -v -V -qversion; do |
6298 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
6299 |
+case "(($ac_try" in |
6300 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6301 |
+ *) ac_try_echo=$ac_try;; |
6302 |
+esac |
6303 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
6304 |
+$as_echo "$ac_try_echo"; } >&5 |
6305 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
6306 |
+ ac_status=$? |
6307 |
+ if test -s conftest.err; then |
6308 |
+ sed '10a\ |
6309 |
+... rest of stderr output deleted ... |
6310 |
+ 10q' conftest.err >conftest.er1 |
6311 |
+ cat conftest.er1 >&5 |
6312 |
+ fi |
6313 |
+ rm -f conftest.er1 conftest.err |
6314 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6315 |
+ test $ac_status = 0; } |
6316 |
+done |
6317 |
+ |
6318 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
6319 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
6320 |
+if ${ac_cv_c_compiler_gnu+:} false; then : |
6321 |
+ $as_echo_n "(cached) " >&6 |
6322 |
+else |
6323 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6324 |
+/* end confdefs.h. */ |
6325 |
+ |
6326 |
+int |
6327 |
+main () |
6328 |
+{ |
6329 |
+#ifndef __GNUC__ |
6330 |
+ choke me |
6331 |
+#endif |
6332 |
+ |
6333 |
+ ; |
6334 |
+ return 0; |
6335 |
+} |
6336 |
+_ACEOF |
6337 |
+if ac_fn_c_try_compile "$LINENO"; then : |
6338 |
+ ac_compiler_gnu=yes |
6339 |
+else |
6340 |
+ ac_compiler_gnu=no |
6341 |
+fi |
6342 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6343 |
+ac_cv_c_compiler_gnu=$ac_compiler_gnu |
6344 |
+ |
6345 |
+fi |
6346 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
6347 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
6348 |
+if test $ac_compiler_gnu = yes; then |
6349 |
+ GCC=yes |
6350 |
+else |
6351 |
+ GCC= |
6352 |
+fi |
6353 |
+ac_test_CFLAGS=${CFLAGS+set} |
6354 |
+ac_save_CFLAGS=$CFLAGS |
6355 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
6356 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
6357 |
+if ${ac_cv_prog_cc_g+:} false; then : |
6358 |
+ $as_echo_n "(cached) " >&6 |
6359 |
+else |
6360 |
+ ac_save_c_werror_flag=$ac_c_werror_flag |
6361 |
+ ac_c_werror_flag=yes |
6362 |
+ ac_cv_prog_cc_g=no |
6363 |
+ CFLAGS="-g" |
6364 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6365 |
+/* end confdefs.h. */ |
6366 |
+ |
6367 |
+int |
6368 |
+main () |
6369 |
+{ |
6370 |
+ |
6371 |
+ ; |
6372 |
+ return 0; |
6373 |
+} |
6374 |
+_ACEOF |
6375 |
+if ac_fn_c_try_compile "$LINENO"; then : |
6376 |
+ ac_cv_prog_cc_g=yes |
6377 |
+else |
6378 |
+ CFLAGS="" |
6379 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6380 |
+/* end confdefs.h. */ |
6381 |
+ |
6382 |
+int |
6383 |
+main () |
6384 |
+{ |
6385 |
+ |
6386 |
+ ; |
6387 |
+ return 0; |
6388 |
+} |
6389 |
+_ACEOF |
6390 |
+if ac_fn_c_try_compile "$LINENO"; then : |
6391 |
+ |
6392 |
+else |
6393 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
6394 |
+ CFLAGS="-g" |
6395 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6396 |
+/* end confdefs.h. */ |
6397 |
+ |
6398 |
+int |
6399 |
+main () |
6400 |
+{ |
6401 |
+ |
6402 |
+ ; |
6403 |
+ return 0; |
6404 |
+} |
6405 |
+_ACEOF |
6406 |
+if ac_fn_c_try_compile "$LINENO"; then : |
6407 |
+ ac_cv_prog_cc_g=yes |
6408 |
+fi |
6409 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6410 |
+fi |
6411 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6412 |
+fi |
6413 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6414 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
6415 |
+fi |
6416 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
6417 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
6418 |
+if test "$ac_test_CFLAGS" = set; then |
6419 |
+ CFLAGS=$ac_save_CFLAGS |
6420 |
+elif test $ac_cv_prog_cc_g = yes; then |
6421 |
+ if test "$GCC" = yes; then |
6422 |
+ CFLAGS="-g -O2" |
6423 |
+ else |
6424 |
+ CFLAGS="-g" |
6425 |
+ fi |
6426 |
+else |
6427 |
+ if test "$GCC" = yes; then |
6428 |
+ CFLAGS="-O2" |
6429 |
+ else |
6430 |
+ CFLAGS= |
6431 |
+ fi |
6432 |
+fi |
6433 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
6434 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
6435 |
+if ${ac_cv_prog_cc_c89+:} false; then : |
6436 |
+ $as_echo_n "(cached) " >&6 |
6437 |
+else |
6438 |
+ ac_cv_prog_cc_c89=no |
6439 |
+ac_save_CC=$CC |
6440 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6441 |
+/* end confdefs.h. */ |
6442 |
+#include <stdarg.h> |
6443 |
+#include <stdio.h> |
6444 |
+#include <sys/types.h> |
6445 |
+#include <sys/stat.h> |
6446 |
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
6447 |
+struct buf { int x; }; |
6448 |
+FILE * (*rcsopen) (struct buf *, struct stat *, int); |
6449 |
+static char *e (p, i) |
6450 |
+ char **p; |
6451 |
+ int i; |
6452 |
+{ |
6453 |
+ return p[i]; |
6454 |
+} |
6455 |
+static char *f (char * (*g) (char **, int), char **p, ...) |
6456 |
+{ |
6457 |
+ char *s; |
6458 |
+ va_list v; |
6459 |
+ va_start (v,p); |
6460 |
+ s = g (p, va_arg (v,int)); |
6461 |
+ va_end (v); |
6462 |
+ return s; |
6463 |
+} |
6464 |
+ |
6465 |
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
6466 |
+ function prototypes and stuff, but not '\xHH' hex character constants. |
6467 |
+ These don't provoke an error unfortunately, instead are silently treated |
6468 |
+ as 'x'. The following induces an error, until -std is added to get |
6469 |
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
6470 |
+ array size at least. It's necessary to write '\x00'==0 to get something |
6471 |
+ that's true only with -std. */ |
6472 |
+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
6473 |
+ |
6474 |
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
6475 |
+ inside strings and character constants. */ |
6476 |
+#define FOO(x) 'x' |
6477 |
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
6478 |
+ |
6479 |
+int test (int i, double x); |
6480 |
+struct s1 {int (*f) (int a);}; |
6481 |
+struct s2 {int (*f) (double a);}; |
6482 |
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
6483 |
+int argc; |
6484 |
+char **argv; |
6485 |
+int |
6486 |
+main () |
6487 |
+{ |
6488 |
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
6489 |
+ ; |
6490 |
+ return 0; |
6491 |
+} |
6492 |
+_ACEOF |
6493 |
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
6494 |
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
6495 |
+do |
6496 |
+ CC="$ac_save_CC $ac_arg" |
6497 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
6498 |
+ ac_cv_prog_cc_c89=$ac_arg |
6499 |
+fi |
6500 |
+rm -f core conftest.err conftest.$ac_objext |
6501 |
+ test "x$ac_cv_prog_cc_c89" != "xno" && break |
6502 |
+done |
6503 |
+rm -f conftest.$ac_ext |
6504 |
+CC=$ac_save_CC |
6505 |
+ |
6506 |
+fi |
6507 |
+# AC_CACHE_VAL |
6508 |
+case "x$ac_cv_prog_cc_c89" in |
6509 |
+ x) |
6510 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
6511 |
+$as_echo "none needed" >&6; } ;; |
6512 |
+ xno) |
6513 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
6514 |
+$as_echo "unsupported" >&6; } ;; |
6515 |
+ *) |
6516 |
+ CC="$CC $ac_cv_prog_cc_c89" |
6517 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
6518 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
6519 |
+esac |
6520 |
+if test "x$ac_cv_prog_cc_c89" != xno; then : |
6521 |
+ |
6522 |
+fi |
6523 |
+ |
6524 |
+ac_ext=c |
6525 |
+ac_cpp='$CPP $CPPFLAGS' |
6526 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6527 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6528 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6529 |
+ |
6530 |
+depcc="$CC" am_compiler_list= |
6531 |
+ |
6532 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
6533 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
6534 |
+if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
6535 |
+ $as_echo_n "(cached) " >&6 |
6536 |
+else |
6537 |
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
6538 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
6539 |
+ # making bogus files that we don't know about and never remove. For |
6540 |
+ # instance it was reported that on HP-UX the gcc test will end up |
6541 |
+ # making a dummy file named `D' -- because `-MD' means `put the output |
6542 |
+ # in D'. |
6543 |
+ mkdir conftest.dir |
6544 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
6545 |
+ # using a relative directory. |
6546 |
+ cp "$am_depcomp" conftest.dir |
6547 |
+ cd conftest.dir |
6548 |
+ # We will build objects and dependencies in a subdirectory because |
6549 |
+ # it helps to detect inapplicable dependency modes. For instance |
6550 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
6551 |
+ # side effect of compilation, but ICC will put the dependencies in |
6552 |
+ # the current directory while Tru64 will put them in the object |
6553 |
+ # directory. |
6554 |
+ mkdir sub |
6555 |
+ |
6556 |
+ am_cv_CC_dependencies_compiler_type=none |
6557 |
+ if test "$am_compiler_list" = ""; then |
6558 |
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
6559 |
+ fi |
6560 |
+ am__universal=false |
6561 |
+ case " $depcc " in #( |
6562 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
6563 |
+ esac |
6564 |
+ |
6565 |
+ for depmode in $am_compiler_list; do |
6566 |
+ # Setup a source with many dependencies, because some compilers |
6567 |
+ # like to wrap large dependency lists on column 80 (with \), and |
6568 |
+ # we should not choose a depcomp mode which is confused by this. |
6569 |
+ # |
6570 |
+ # We need to recreate these files for each test, as the compiler may |
6571 |
+ # overwrite some of them when testing with obscure command lines. |
6572 |
+ # This happens at least with the AIX C compiler. |
6573 |
+ : > sub/conftest.c |
6574 |
+ for i in 1 2 3 4 5 6; do |
6575 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
6576 |
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
6577 |
+ # Solaris 8's {/usr,}/bin/sh. |
6578 |
+ touch sub/conftst$i.h |
6579 |
+ done |
6580 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
6581 |
+ |
6582 |
+ # We check with `-c' and `-o' for the sake of the "dashmstdout" |
6583 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
6584 |
+ # handle `-M -o', and we need to detect this. Also, some Intel |
6585 |
+ # versions had trouble with output in subdirs |
6586 |
+ am__obj=sub/conftest.${OBJEXT-o} |
6587 |
+ am__minus_obj="-o $am__obj" |
6588 |
+ case $depmode in |
6589 |
+ gcc) |
6590 |
+ # This depmode causes a compiler race in universal mode. |
6591 |
+ test "$am__universal" = false || continue |
6592 |
+ ;; |
6593 |
+ nosideeffect) |
6594 |
+ # after this tag, mechanisms are not by side-effect, so they'll |
6595 |
+ # only be used when explicitly requested |
6596 |
+ if test "x$enable_dependency_tracking" = xyes; then |
6597 |
+ continue |
6598 |
+ else |
6599 |
+ break |
6600 |
+ fi |
6601 |
+ ;; |
6602 |
+ msvisualcpp | msvcmsys) |
6603 |
+ # This compiler won't grok `-c -o', but also, the minuso test has |
6604 |
+ # not run yet. These depmodes are late enough in the game, and |
6605 |
+ # so weak that their functioning should not be impacted. |
6606 |
+ am__obj=conftest.${OBJEXT-o} |
6607 |
+ am__minus_obj= |
6608 |
+ ;; |
6609 |
+ none) break ;; |
6610 |
+ esac |
6611 |
+ if depmode=$depmode \ |
6612 |
+ source=sub/conftest.c object=$am__obj \ |
6613 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
6614 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
6615 |
+ >/dev/null 2>conftest.err && |
6616 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
6617 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
6618 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
6619 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
6620 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
6621 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
6622 |
+ # that says an option was ignored or not supported. |
6623 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
6624 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
6625 |
+ # The diagnosis changed in icc 8.0: |
6626 |
+ # icc: Command line remark: option '-MP' not supported |
6627 |
+ if (grep 'ignoring option' conftest.err || |
6628 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
6629 |
+ am_cv_CC_dependencies_compiler_type=$depmode |
6630 |
+ break |
6631 |
+ fi |
6632 |
+ fi |
6633 |
+ done |
6634 |
+ |
6635 |
+ cd .. |
6636 |
+ rm -rf conftest.dir |
6637 |
+else |
6638 |
+ am_cv_CC_dependencies_compiler_type=none |
6639 |
+fi |
6640 |
+ |
6641 |
+fi |
6642 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
6643 |
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
6644 |
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
6645 |
+ |
6646 |
+ if |
6647 |
+ test "x$enable_dependency_tracking" != xno \ |
6648 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
6649 |
+ am__fastdepCC_TRUE= |
6650 |
+ am__fastdepCC_FALSE='#' |
6651 |
+else |
6652 |
+ am__fastdepCC_TRUE='#' |
6653 |
+ am__fastdepCC_FALSE= |
6654 |
+fi |
6655 |
+ |
6656 |
+ |
6657 |
+ |
6658 |
+# Checks for libraries. |
6659 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 |
6660 |
+$as_echo_n "checking for elf_begin in -lelf... " >&6; } |
6661 |
+if ${ac_cv_lib_elf_elf_begin+:} false; then : |
6662 |
+ $as_echo_n "(cached) " >&6 |
6663 |
+else |
6664 |
+ ac_check_lib_save_LIBS=$LIBS |
6665 |
+LIBS="-lelf $LIBS" |
6666 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6667 |
+/* end confdefs.h. */ |
6668 |
+ |
6669 |
+/* Override any GCC internal prototype to avoid an error. |
6670 |
+ Use char because int might match the return type of a GCC |
6671 |
+ builtin and then its argument prototype would still apply. */ |
6672 |
+#ifdef __cplusplus |
6673 |
+extern "C" |
6674 |
+#endif |
6675 |
+char elf_begin (); |
6676 |
+int |
6677 |
+main () |
6678 |
+{ |
6679 |
+return elf_begin (); |
6680 |
+ ; |
6681 |
+ return 0; |
6682 |
+} |
6683 |
+_ACEOF |
6684 |
+if ac_fn_c_try_link "$LINENO"; then : |
6685 |
+ ac_cv_lib_elf_elf_begin=yes |
6686 |
+else |
6687 |
+ ac_cv_lib_elf_elf_begin=no |
6688 |
+fi |
6689 |
+rm -f core conftest.err conftest.$ac_objext \ |
6690 |
+ conftest$ac_exeext conftest.$ac_ext |
6691 |
+LIBS=$ac_check_lib_save_LIBS |
6692 |
+fi |
6693 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 |
6694 |
+$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
6695 |
+if test "x$ac_cv_lib_elf_elf_begin" = xyes; then : |
6696 |
+ cat >>confdefs.h <<_ACEOF |
6697 |
+@%:@define HAVE_LIBELF 1 |
6698 |
+_ACEOF |
6699 |
+ |
6700 |
+ LIBS="-lelf $LIBS" |
6701 |
+ |
6702 |
+else |
6703 |
+ as_fn_error $? "\"Missing necessary function elf_begin in libelf\"" "$LINENO" 5 |
6704 |
+fi |
6705 |
+ |
6706 |
+ |
6707 |
+# Checks for header files. |
6708 |
+ |
6709 |
+for ac_header in errno.h error.h fcntl.h gelf.h libgen.h stdio.h stdlib.h string.h \ |
6710 |
+ sys/mman.h sys/stat.h sys/types.h unistd.h |
6711 |
+do : |
6712 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6713 |
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6714 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
6715 |
+ cat >>confdefs.h <<_ACEOF |
6716 |
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6717 |
+_ACEOF |
6718 |
+ |
6719 |
+else |
6720 |
+ as_fn_error $? "\"Missing necessary header\"" "$LINENO" 5 |
6721 |
+ |
6722 |
+fi |
6723 |
+ |
6724 |
+done |
6725 |
+ |
6726 |
+ |
6727 |
+# Checks for typedefs, structures, and compiler characteristics. |
6728 |
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
6729 |
+if test "x$ac_cv_type_pid_t" = xyes; then : |
6730 |
+ |
6731 |
+else |
6732 |
+ |
6733 |
+cat >>confdefs.h <<_ACEOF |
6734 |
+@%:@define pid_t int |
6735 |
+_ACEOF |
6736 |
+ |
6737 |
+fi |
6738 |
+ |
6739 |
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
6740 |
+if test "x$ac_cv_type_size_t" = xyes; then : |
6741 |
+ |
6742 |
+else |
6743 |
+ |
6744 |
+cat >>confdefs.h <<_ACEOF |
6745 |
+@%:@define size_t unsigned int |
6746 |
+_ACEOF |
6747 |
+ |
6748 |
+fi |
6749 |
+ |
6750 |
+ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" |
6751 |
+case $ac_cv_c_uint8_t in #( |
6752 |
+ no|yes) ;; #( |
6753 |
+ *) |
6754 |
+ |
6755 |
+$as_echo "@%:@define _UINT8_T 1" >>confdefs.h |
6756 |
+ |
6757 |
+ |
6758 |
+cat >>confdefs.h <<_ACEOF |
6759 |
+@%:@define uint8_t $ac_cv_c_uint8_t |
6760 |
+_ACEOF |
6761 |
+;; |
6762 |
+ esac |
6763 |
+ |
6764 |
+ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
6765 |
+case $ac_cv_c_uint16_t in #( |
6766 |
+ no|yes) ;; #( |
6767 |
+ *) |
6768 |
+ |
6769 |
+ |
6770 |
+cat >>confdefs.h <<_ACEOF |
6771 |
+@%:@define uint16_t $ac_cv_c_uint16_t |
6772 |
+_ACEOF |
6773 |
+;; |
6774 |
+ esac |
6775 |
+ |
6776 |
+ |
6777 |
+# Checks for library functions. |
6778 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 |
6779 |
+$as_echo_n "checking for error_at_line... " >&6; } |
6780 |
+if ${ac_cv_lib_error_at_line+:} false; then : |
6781 |
+ $as_echo_n "(cached) " >&6 |
6782 |
+else |
6783 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6784 |
+/* end confdefs.h. */ |
6785 |
+#include <error.h> |
6786 |
+int |
6787 |
+main () |
6788 |
+{ |
6789 |
+error_at_line (0, 0, "", 0, "an error occurred"); |
6790 |
+ ; |
6791 |
+ return 0; |
6792 |
+} |
6793 |
+_ACEOF |
6794 |
+if ac_fn_c_try_link "$LINENO"; then : |
6795 |
+ ac_cv_lib_error_at_line=yes |
6796 |
+else |
6797 |
+ ac_cv_lib_error_at_line=no |
6798 |
+fi |
6799 |
+rm -f core conftest.err conftest.$ac_objext \ |
6800 |
+ conftest$ac_exeext conftest.$ac_ext |
6801 |
+fi |
6802 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 |
6803 |
+$as_echo "$ac_cv_lib_error_at_line" >&6; } |
6804 |
+if test $ac_cv_lib_error_at_line = no; then |
6805 |
+ case " $LIB@&t@OBJS " in |
6806 |
+ *" error.$ac_objext "* ) ;; |
6807 |
+ *) LIB@&t@OBJS="$LIB@&t@OBJS error.$ac_objext" |
6808 |
+ ;; |
6809 |
+esac |
6810 |
+ |
6811 |
+fi |
6812 |
+ |
6813 |
+for ac_header in vfork.h |
6814 |
+do : |
6815 |
+ ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" |
6816 |
+if test "x$ac_cv_header_vfork_h" = xyes; then : |
6817 |
+ cat >>confdefs.h <<_ACEOF |
6818 |
+@%:@define HAVE_VFORK_H 1 |
6819 |
+_ACEOF |
6820 |
+ |
6821 |
+fi |
6822 |
+ |
6823 |
+done |
6824 |
+ |
6825 |
+for ac_func in fork vfork |
6826 |
+do : |
6827 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6828 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
6829 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
6830 |
+ cat >>confdefs.h <<_ACEOF |
6831 |
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6832 |
+_ACEOF |
6833 |
+ |
6834 |
+fi |
6835 |
+done |
6836 |
+ |
6837 |
+if test "x$ac_cv_func_fork" = xyes; then |
6838 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 |
6839 |
+$as_echo_n "checking for working fork... " >&6; } |
6840 |
+if ${ac_cv_func_fork_works+:} false; then : |
6841 |
+ $as_echo_n "(cached) " >&6 |
6842 |
+else |
6843 |
+ if test "$cross_compiling" = yes; then : |
6844 |
+ ac_cv_func_fork_works=cross |
6845 |
+else |
6846 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6847 |
+/* end confdefs.h. */ |
6848 |
+$ac_includes_default |
6849 |
+int |
6850 |
+main () |
6851 |
+{ |
6852 |
+ |
6853 |
+ /* By Ruediger Kuhlmann. */ |
6854 |
+ return fork () < 0; |
6855 |
+ |
6856 |
+ ; |
6857 |
+ return 0; |
6858 |
+} |
6859 |
+_ACEOF |
6860 |
+if ac_fn_c_try_run "$LINENO"; then : |
6861 |
+ ac_cv_func_fork_works=yes |
6862 |
+else |
6863 |
+ ac_cv_func_fork_works=no |
6864 |
+fi |
6865 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
6866 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
6867 |
+fi |
6868 |
+ |
6869 |
+fi |
6870 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 |
6871 |
+$as_echo "$ac_cv_func_fork_works" >&6; } |
6872 |
+ |
6873 |
+else |
6874 |
+ ac_cv_func_fork_works=$ac_cv_func_fork |
6875 |
+fi |
6876 |
+if test "x$ac_cv_func_fork_works" = xcross; then |
6877 |
+ case $host in |
6878 |
+ *-*-amigaos* | *-*-msdosdjgpp*) |
6879 |
+ # Override, as these systems have only a dummy fork() stub |
6880 |
+ ac_cv_func_fork_works=no |
6881 |
+ ;; |
6882 |
+ *) |
6883 |
+ ac_cv_func_fork_works=yes |
6884 |
+ ;; |
6885 |
+ esac |
6886 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
6887 |
+$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
6888 |
+fi |
6889 |
+ac_cv_func_vfork_works=$ac_cv_func_vfork |
6890 |
+if test "x$ac_cv_func_vfork" = xyes; then |
6891 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 |
6892 |
+$as_echo_n "checking for working vfork... " >&6; } |
6893 |
+if ${ac_cv_func_vfork_works+:} false; then : |
6894 |
+ $as_echo_n "(cached) " >&6 |
6895 |
+else |
6896 |
+ if test "$cross_compiling" = yes; then : |
6897 |
+ ac_cv_func_vfork_works=cross |
6898 |
+else |
6899 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6900 |
+/* end confdefs.h. */ |
6901 |
+/* Thanks to Paul Eggert for this test. */ |
6902 |
+$ac_includes_default |
6903 |
+#include <sys/wait.h> |
6904 |
+#ifdef HAVE_VFORK_H |
6905 |
+# include <vfork.h> |
6906 |
+#endif |
6907 |
+/* On some sparc systems, changes by the child to local and incoming |
6908 |
+ argument registers are propagated back to the parent. The compiler |
6909 |
+ is told about this with #include <vfork.h>, but some compilers |
6910 |
+ (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a |
6911 |
+ static variable whose address is put into a register that is |
6912 |
+ clobbered by the vfork. */ |
6913 |
+static void |
6914 |
+#ifdef __cplusplus |
6915 |
+sparc_address_test (int arg) |
6916 |
+# else |
6917 |
+sparc_address_test (arg) int arg; |
6918 |
+#endif |
6919 |
+{ |
6920 |
+ static pid_t child; |
6921 |
+ if (!child) { |
6922 |
+ child = vfork (); |
6923 |
+ if (child < 0) { |
6924 |
+ perror ("vfork"); |
6925 |
+ _exit(2); |
6926 |
+ } |
6927 |
+ if (!child) { |
6928 |
+ arg = getpid(); |
6929 |
+ write(-1, "", 0); |
6930 |
+ _exit (arg); |
6931 |
+ } |
6932 |
+ } |
6933 |
+} |
6934 |
+ |
6935 |
+int |
6936 |
+main () |
6937 |
+{ |
6938 |
+ pid_t parent = getpid (); |
6939 |
+ pid_t child; |
6940 |
+ |
6941 |
+ sparc_address_test (0); |
6942 |
+ |
6943 |
+ child = vfork (); |
6944 |
+ |
6945 |
+ if (child == 0) { |
6946 |
+ /* Here is another test for sparc vfork register problems. This |
6947 |
+ test uses lots of local variables, at least as many local |
6948 |
+ variables as main has allocated so far including compiler |
6949 |
+ temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris |
6950 |
+ 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should |
6951 |
+ reuse the register of parent for one of the local variables, |
6952 |
+ since it will think that parent can't possibly be used any more |
6953 |
+ in this routine. Assigning to the local variable will thus |
6954 |
+ munge parent in the parent process. */ |
6955 |
+ pid_t |
6956 |
+ p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), |
6957 |
+ p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); |
6958 |
+ /* Convince the compiler that p..p7 are live; otherwise, it might |
6959 |
+ use the same hardware register for all 8 local variables. */ |
6960 |
+ if (p != p1 || p != p2 || p != p3 || p != p4 |
6961 |
+ || p != p5 || p != p6 || p != p7) |
6962 |
+ _exit(1); |
6963 |
+ |
6964 |
+ /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent |
6965 |
+ from child file descriptors. If the child closes a descriptor |
6966 |
+ before it execs or exits, this munges the parent's descriptor |
6967 |
+ as well. Test for this by closing stdout in the child. */ |
6968 |
+ _exit(close(fileno(stdout)) != 0); |
6969 |
+ } else { |
6970 |
+ int status; |
6971 |
+ struct stat st; |
6972 |
+ |
6973 |
+ while (wait(&status) != child) |
6974 |
+ ; |
6975 |
+ return ( |
6976 |
+ /* Was there some problem with vforking? */ |
6977 |
+ child < 0 |
6978 |
+ |
6979 |
+ /* Did the child fail? (This shouldn't happen.) */ |
6980 |
+ || status |
6981 |
+ |
6982 |
+ /* Did the vfork/compiler bug occur? */ |
6983 |
+ || parent != getpid() |
6984 |
+ |
6985 |
+ /* Did the file descriptor bug occur? */ |
6986 |
+ || fstat(fileno(stdout), &st) != 0 |
6987 |
+ ); |
6988 |
+ } |
6989 |
+} |
6990 |
+_ACEOF |
6991 |
+if ac_fn_c_try_run "$LINENO"; then : |
6992 |
+ ac_cv_func_vfork_works=yes |
6993 |
+else |
6994 |
+ ac_cv_func_vfork_works=no |
6995 |
+fi |
6996 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
6997 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
6998 |
+fi |
6999 |
+ |
7000 |
+fi |
7001 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 |
7002 |
+$as_echo "$ac_cv_func_vfork_works" >&6; } |
7003 |
+ |
7004 |
+fi; |
7005 |
+if test "x$ac_cv_func_fork_works" = xcross; then |
7006 |
+ ac_cv_func_vfork_works=$ac_cv_func_vfork |
7007 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
7008 |
+$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
7009 |
+fi |
7010 |
+ |
7011 |
+if test "x$ac_cv_func_vfork_works" = xyes; then |
7012 |
+ |
7013 |
+$as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h |
7014 |
+ |
7015 |
+else |
7016 |
+ |
7017 |
+$as_echo "@%:@define vfork fork" >>confdefs.h |
7018 |
+ |
7019 |
+fi |
7020 |
+if test "x$ac_cv_func_fork_works" = xyes; then |
7021 |
+ |
7022 |
+$as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h |
7023 |
+ |
7024 |
+fi |
7025 |
+ |
7026 |
+ |
7027 |
+ |
7028 |
+ |
7029 |
+ for ac_header in $ac_header_list |
7030 |
+do : |
7031 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7032 |
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7033 |
+" |
7034 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7035 |
+ cat >>confdefs.h <<_ACEOF |
7036 |
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7037 |
+_ACEOF |
7038 |
+ |
7039 |
+fi |
7040 |
+ |
7041 |
+done |
7042 |
+ |
7043 |
+ |
7044 |
+ |
7045 |
+ |
7046 |
+ |
7047 |
+ |
7048 |
+ |
7049 |
+ |
7050 |
+for ac_func in getpagesize |
7051 |
+do : |
7052 |
+ ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" |
7053 |
+if test "x$ac_cv_func_getpagesize" = xyes; then : |
7054 |
+ cat >>confdefs.h <<_ACEOF |
7055 |
+@%:@define HAVE_GETPAGESIZE 1 |
7056 |
+_ACEOF |
7057 |
+ |
7058 |
+fi |
7059 |
+done |
7060 |
+ |
7061 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 |
7062 |
+$as_echo_n "checking for working mmap... " >&6; } |
7063 |
+if ${ac_cv_func_mmap_fixed_mapped+:} false; then : |
7064 |
+ $as_echo_n "(cached) " >&6 |
7065 |
+else |
7066 |
+ if test "$cross_compiling" = yes; then : |
7067 |
+ ac_cv_func_mmap_fixed_mapped=no |
7068 |
+else |
7069 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7070 |
+/* end confdefs.h. */ |
7071 |
+$ac_includes_default |
7072 |
+/* malloc might have been renamed as rpl_malloc. */ |
7073 |
+#undef malloc |
7074 |
+ |
7075 |
+/* Thanks to Mike Haertel and Jim Avera for this test. |
7076 |
+ Here is a matrix of mmap possibilities: |
7077 |
+ mmap private not fixed |
7078 |
+ mmap private fixed at somewhere currently unmapped |
7079 |
+ mmap private fixed at somewhere already mapped |
7080 |
+ mmap shared not fixed |
7081 |
+ mmap shared fixed at somewhere currently unmapped |
7082 |
+ mmap shared fixed at somewhere already mapped |
7083 |
+ For private mappings, we should verify that changes cannot be read() |
7084 |
+ back from the file, nor mmap's back from the file at a different |
7085 |
+ address. (There have been systems where private was not correctly |
7086 |
+ implemented like the infamous i386 svr4.0, and systems where the |
7087 |
+ VM page cache was not coherent with the file system buffer cache |
7088 |
+ like early versions of FreeBSD and possibly contemporary NetBSD.) |
7089 |
+ For shared mappings, we should conversely verify that changes get |
7090 |
+ propagated back to all the places they're supposed to be. |
7091 |
+ |
7092 |
+ Grep wants private fixed already mapped. |
7093 |
+ The main things grep needs to know about mmap are: |
7094 |
+ * does it exist and is it safe to write into the mmap'd area |
7095 |
+ * how to use it (BSD variants) */ |
7096 |
+ |
7097 |
+#include <fcntl.h> |
7098 |
+#include <sys/mman.h> |
7099 |
+ |
7100 |
+#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H |
7101 |
+char *malloc (); |
7102 |
+#endif |
7103 |
+ |
7104 |
+/* This mess was copied from the GNU getpagesize.h. */ |
7105 |
+#ifndef HAVE_GETPAGESIZE |
7106 |
+# ifdef _SC_PAGESIZE |
7107 |
+# define getpagesize() sysconf(_SC_PAGESIZE) |
7108 |
+# else /* no _SC_PAGESIZE */ |
7109 |
+# ifdef HAVE_SYS_PARAM_H |
7110 |
+# include <sys/param.h> |
7111 |
+# ifdef EXEC_PAGESIZE |
7112 |
+# define getpagesize() EXEC_PAGESIZE |
7113 |
+# else /* no EXEC_PAGESIZE */ |
7114 |
+# ifdef NBPG |
7115 |
+# define getpagesize() NBPG * CLSIZE |
7116 |
+# ifndef CLSIZE |
7117 |
+# define CLSIZE 1 |
7118 |
+# endif /* no CLSIZE */ |
7119 |
+# else /* no NBPG */ |
7120 |
+# ifdef NBPC |
7121 |
+# define getpagesize() NBPC |
7122 |
+# else /* no NBPC */ |
7123 |
+# ifdef PAGESIZE |
7124 |
+# define getpagesize() PAGESIZE |
7125 |
+# endif /* PAGESIZE */ |
7126 |
+# endif /* no NBPC */ |
7127 |
+# endif /* no NBPG */ |
7128 |
+# endif /* no EXEC_PAGESIZE */ |
7129 |
+# else /* no HAVE_SYS_PARAM_H */ |
7130 |
+# define getpagesize() 8192 /* punt totally */ |
7131 |
+# endif /* no HAVE_SYS_PARAM_H */ |
7132 |
+# endif /* no _SC_PAGESIZE */ |
7133 |
+ |
7134 |
+#endif /* no HAVE_GETPAGESIZE */ |
7135 |
+ |
7136 |
+int |
7137 |
+main () |
7138 |
+{ |
7139 |
+ char *data, *data2, *data3; |
7140 |
+ const char *cdata2; |
7141 |
+ int i, pagesize; |
7142 |
+ int fd, fd2; |
7143 |
+ |
7144 |
+ pagesize = getpagesize (); |
7145 |
+ |
7146 |
+ /* First, make a file with some known garbage in it. */ |
7147 |
+ data = (char *) malloc (pagesize); |
7148 |
+ if (!data) |
7149 |
+ return 1; |
7150 |
+ for (i = 0; i < pagesize; ++i) |
7151 |
+ *(data + i) = rand (); |
7152 |
+ umask (0); |
7153 |
+ fd = creat ("conftest.mmap", 0600); |
7154 |
+ if (fd < 0) |
7155 |
+ return 2; |
7156 |
+ if (write (fd, data, pagesize) != pagesize) |
7157 |
+ return 3; |
7158 |
+ close (fd); |
7159 |
+ |
7160 |
+ /* Next, check that the tail of a page is zero-filled. File must have |
7161 |
+ non-zero length, otherwise we risk SIGBUS for entire page. */ |
7162 |
+ fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); |
7163 |
+ if (fd2 < 0) |
7164 |
+ return 4; |
7165 |
+ cdata2 = ""; |
7166 |
+ if (write (fd2, cdata2, 1) != 1) |
7167 |
+ return 5; |
7168 |
+ data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); |
7169 |
+ if (data2 == MAP_FAILED) |
7170 |
+ return 6; |
7171 |
+ for (i = 0; i < pagesize; ++i) |
7172 |
+ if (*(data2 + i)) |
7173 |
+ return 7; |
7174 |
+ close (fd2); |
7175 |
+ if (munmap (data2, pagesize)) |
7176 |
+ return 8; |
7177 |
+ |
7178 |
+ /* Next, try to mmap the file at a fixed address which already has |
7179 |
+ something else allocated at it. If we can, also make sure that |
7180 |
+ we see the same garbage. */ |
7181 |
+ fd = open ("conftest.mmap", O_RDWR); |
7182 |
+ if (fd < 0) |
7183 |
+ return 9; |
7184 |
+ if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
7185 |
+ MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
7186 |
+ return 10; |
7187 |
+ for (i = 0; i < pagesize; ++i) |
7188 |
+ if (*(data + i) != *(data2 + i)) |
7189 |
+ return 11; |
7190 |
+ |
7191 |
+ /* Finally, make sure that changes to the mapped area do not |
7192 |
+ percolate back to the file as seen by read(). (This is a bug on |
7193 |
+ some variants of i386 svr4.0.) */ |
7194 |
+ for (i = 0; i < pagesize; ++i) |
7195 |
+ *(data2 + i) = *(data2 + i) + 1; |
7196 |
+ data3 = (char *) malloc (pagesize); |
7197 |
+ if (!data3) |
7198 |
+ return 12; |
7199 |
+ if (read (fd, data3, pagesize) != pagesize) |
7200 |
+ return 13; |
7201 |
+ for (i = 0; i < pagesize; ++i) |
7202 |
+ if (*(data + i) != *(data3 + i)) |
7203 |
+ return 14; |
7204 |
+ close (fd); |
7205 |
+ return 0; |
7206 |
+} |
7207 |
+_ACEOF |
7208 |
+if ac_fn_c_try_run "$LINENO"; then : |
7209 |
+ ac_cv_func_mmap_fixed_mapped=yes |
7210 |
+else |
7211 |
+ ac_cv_func_mmap_fixed_mapped=no |
7212 |
+fi |
7213 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
7214 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
7215 |
+fi |
7216 |
+ |
7217 |
+fi |
7218 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
7219 |
+$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
7220 |
+if test $ac_cv_func_mmap_fixed_mapped = yes; then |
7221 |
+ |
7222 |
+$as_echo "@%:@define HAVE_MMAP 1" >>confdefs.h |
7223 |
+ |
7224 |
+fi |
7225 |
+rm -f conftest.mmap conftest.txt |
7226 |
+ |
7227 |
+for ac_func in memset strerror |
7228 |
+do : |
7229 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7230 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
7231 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
7232 |
+ cat >>confdefs.h <<_ACEOF |
7233 |
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7234 |
+_ACEOF |
7235 |
+ |
7236 |
+fi |
7237 |
+done |
7238 |
+ |
7239 |
+ |
7240 |
+ac_config_files="$ac_config_files Makefile src/Makefile scripts/Makefile doc/Makefile tests/Makefile tests/gnustack/Makefile tests/pxtpax/Makefile" |
7241 |
+ |
7242 |
+ |
7243 |
+cat >confcache <<\_ACEOF |
7244 |
+# This file is a shell script that caches the results of configure |
7245 |
+# tests run on this system so they can be shared between configure |
7246 |
+# scripts and configure runs, see configure's option --config-cache. |
7247 |
+# It is not useful on other systems. If it contains results you don't |
7248 |
+# want to keep, you may remove or edit it. |
7249 |
+# |
7250 |
+# config.status only pays attention to the cache file if you give it |
7251 |
+# the --recheck option to rerun configure. |
7252 |
+# |
7253 |
+# `ac_cv_env_foo' variables (set or unset) will be overridden when |
7254 |
+# loading this file, other *unset* `ac_cv_foo' will be assigned the |
7255 |
+# following values. |
7256 |
+ |
7257 |
+_ACEOF |
7258 |
+ |
7259 |
+# The following way of writing the cache mishandles newlines in values, |
7260 |
+# but we know of no workaround that is simple, portable, and efficient. |
7261 |
+# So, we kill variables containing newlines. |
7262 |
+# Ultrix sh set writes to stderr and can't be redirected directly, |
7263 |
+# and sets the high bit in the cache file unless we assign to the vars. |
7264 |
+( |
7265 |
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
7266 |
+ eval ac_val=\$$ac_var |
7267 |
+ case $ac_val in #( |
7268 |
+ *${as_nl}*) |
7269 |
+ case $ac_var in #( |
7270 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
7271 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
7272 |
+ esac |
7273 |
+ case $ac_var in #( |
7274 |
+ _ | IFS | as_nl) ;; #( |
7275 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
7276 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
7277 |
+ esac ;; |
7278 |
+ esac |
7279 |
+ done |
7280 |
+ |
7281 |
+ (set) 2>&1 | |
7282 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #( |
7283 |
+ *${as_nl}ac_space=\ *) |
7284 |
+ # `set' does not quote correctly, so add quotes: double-quote |
7285 |
+ # substitution turns \\\\ into \\, and sed turns \\ into \. |
7286 |
+ sed -n \ |
7287 |
+ "s/'/'\\\\''/g; |
7288 |
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7289 |
+ ;; #( |
7290 |
+ *) |
7291 |
+ # `set' quotes correctly as required by POSIX, so do not add quotes. |
7292 |
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
7293 |
+ ;; |
7294 |
+ esac | |
7295 |
+ sort |
7296 |
+) | |
7297 |
+ sed ' |
7298 |
+ /^ac_cv_env_/b end |
7299 |
+ t clear |
7300 |
+ :clear |
7301 |
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
7302 |
+ t end |
7303 |
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7304 |
+ :end' >>confcache |
7305 |
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7306 |
+ if test -w "$cache_file"; then |
7307 |
+ if test "x$cache_file" != "x/dev/null"; then |
7308 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
7309 |
+$as_echo "$as_me: updating cache $cache_file" >&6;} |
7310 |
+ if test ! -f "$cache_file" || test -h "$cache_file"; then |
7311 |
+ cat confcache >"$cache_file" |
7312 |
+ else |
7313 |
+ case $cache_file in #( |
7314 |
+ */* | ?:*) |
7315 |
+ mv -f confcache "$cache_file"$$ && |
7316 |
+ mv -f "$cache_file"$$ "$cache_file" ;; #( |
7317 |
+ *) |
7318 |
+ mv -f confcache "$cache_file" ;; |
7319 |
+ esac |
7320 |
+ fi |
7321 |
+ fi |
7322 |
+ else |
7323 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
7324 |
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
7325 |
+ fi |
7326 |
+fi |
7327 |
+rm -f confcache |
7328 |
+ |
7329 |
+test "x$prefix" = xNONE && prefix=$ac_default_prefix |
7330 |
+# Let make expand exec_prefix. |
7331 |
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
7332 |
+ |
7333 |
+DEFS=-DHAVE_CONFIG_H |
7334 |
+ |
7335 |
+ac_libobjs= |
7336 |
+ac_ltlibobjs= |
7337 |
+U= |
7338 |
+for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue |
7339 |
+ # 1. Remove the extension, and $U if already installed. |
7340 |
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
7341 |
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
7342 |
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
7343 |
+ # will be set to the directory where LIBOBJS objects are built. |
7344 |
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
7345 |
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
7346 |
+done |
7347 |
+LIB@&t@OBJS=$ac_libobjs |
7348 |
+ |
7349 |
+LTLIBOBJS=$ac_ltlibobjs |
7350 |
+ |
7351 |
+ |
7352 |
+ if test -n "$EXEEXT"; then |
7353 |
+ am__EXEEXT_TRUE= |
7354 |
+ am__EXEEXT_FALSE='#' |
7355 |
+else |
7356 |
+ am__EXEEXT_TRUE='#' |
7357 |
+ am__EXEEXT_FALSE= |
7358 |
+fi |
7359 |
+ |
7360 |
+if test -z "${TEST_TRUE}" && test -z "${TEST_FALSE}"; then |
7361 |
+ as_fn_error $? "conditional \"TEST\" was never defined. |
7362 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
7363 |
+fi |
7364 |
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
7365 |
+ as_fn_error $? "conditional \"AMDEP\" was never defined. |
7366 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
7367 |
+fi |
7368 |
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
7369 |
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
7370 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
7371 |
+fi |
7372 |
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
7373 |
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
7374 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
7375 |
+fi |
7376 |
+ |
7377 |
+: "${CONFIG_STATUS=./config.status}" |
7378 |
+ac_write_fail=0 |
7379 |
+ac_clean_files_save=$ac_clean_files |
7380 |
+ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
7381 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
7382 |
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
7383 |
+as_write_fail=0 |
7384 |
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
7385 |
+#! $SHELL |
7386 |
+# Generated by $as_me. |
7387 |
+# Run this file to recreate the current configuration. |
7388 |
+# Compiler output produced by configure, useful for debugging |
7389 |
+# configure, is in config.log if it exists. |
7390 |
+ |
7391 |
+debug=false |
7392 |
+ac_cs_recheck=false |
7393 |
+ac_cs_silent=false |
7394 |
+ |
7395 |
+SHELL=\${CONFIG_SHELL-$SHELL} |
7396 |
+export SHELL |
7397 |
+_ASEOF |
7398 |
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
7399 |
+## -------------------- ## |
7400 |
+## M4sh Initialization. ## |
7401 |
+## -------------------- ## |
7402 |
+ |
7403 |
+# Be more Bourne compatible |
7404 |
+DUALCASE=1; export DUALCASE # for MKS sh |
7405 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
7406 |
+ emulate sh |
7407 |
+ NULLCMD=: |
7408 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
7409 |
+ # is contrary to our usage. Disable this feature. |
7410 |
+ alias -g '${1+"$@"}'='"$@"' |
7411 |
+ setopt NO_GLOB_SUBST |
7412 |
+else |
7413 |
+ case `(set -o) 2>/dev/null` in @%:@( |
7414 |
+ *posix*) : |
7415 |
+ set -o posix ;; @%:@( |
7416 |
+ *) : |
7417 |
+ ;; |
7418 |
+esac |
7419 |
+fi |
7420 |
+ |
7421 |
+ |
7422 |
+as_nl=' |
7423 |
+' |
7424 |
+export as_nl |
7425 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
7426 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
7427 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
7428 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
7429 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
7430 |
+# but without wasting forks for bash or zsh. |
7431 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
7432 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
7433 |
+ as_echo='print -r --' |
7434 |
+ as_echo_n='print -rn --' |
7435 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
7436 |
+ as_echo='printf %s\n' |
7437 |
+ as_echo_n='printf %s' |
7438 |
+else |
7439 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
7440 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
7441 |
+ as_echo_n='/usr/ucb/echo -n' |
7442 |
+ else |
7443 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
7444 |
+ as_echo_n_body='eval |
7445 |
+ arg=$1; |
7446 |
+ case $arg in @%:@( |
7447 |
+ *"$as_nl"*) |
7448 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
7449 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
7450 |
+ esac; |
7451 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
7452 |
+ ' |
7453 |
+ export as_echo_n_body |
7454 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
7455 |
+ fi |
7456 |
+ export as_echo_body |
7457 |
+ as_echo='sh -c $as_echo_body as_echo' |
7458 |
+fi |
7459 |
+ |
7460 |
+# The user is always right. |
7461 |
+if test "${PATH_SEPARATOR+set}" != set; then |
7462 |
+ PATH_SEPARATOR=: |
7463 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
7464 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
7465 |
+ PATH_SEPARATOR=';' |
7466 |
+ } |
7467 |
+fi |
7468 |
+ |
7469 |
+ |
7470 |
+# IFS |
7471 |
+# We need space, tab and new line, in precisely that order. Quoting is |
7472 |
+# there to prevent editors from complaining about space-tab. |
7473 |
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
7474 |
+# splitting by setting IFS to empty value.) |
7475 |
+IFS=" "" $as_nl" |
7476 |
+ |
7477 |
+# Find who we are. Look in the path if we contain no directory separator. |
7478 |
+as_myself= |
7479 |
+case $0 in @%:@(( |
7480 |
+ *[\\/]* ) as_myself=$0 ;; |
7481 |
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7482 |
+for as_dir in $PATH |
7483 |
+do |
7484 |
+ IFS=$as_save_IFS |
7485 |
+ test -z "$as_dir" && as_dir=. |
7486 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
7487 |
+ done |
7488 |
+IFS=$as_save_IFS |
7489 |
+ |
7490 |
+ ;; |
7491 |
+esac |
7492 |
+# We did not find ourselves, most probably we were run as `sh COMMAND' |
7493 |
+# in which case we are not to be found in the path. |
7494 |
+if test "x$as_myself" = x; then |
7495 |
+ as_myself=$0 |
7496 |
+fi |
7497 |
+if test ! -f "$as_myself"; then |
7498 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
7499 |
+ exit 1 |
7500 |
+fi |
7501 |
+ |
7502 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
7503 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
7504 |
+# suppresses any "Segmentation fault" message there. '((' could |
7505 |
+# trigger a bug in pdksh 5.2.14. |
7506 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
7507 |
+do eval test x\${$as_var+set} = xset \ |
7508 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
7509 |
+done |
7510 |
+PS1='$ ' |
7511 |
+PS2='> ' |
7512 |
+PS4='+ ' |
7513 |
+ |
7514 |
+# NLS nuisances. |
7515 |
+LC_ALL=C |
7516 |
+export LC_ALL |
7517 |
+LANGUAGE=C |
7518 |
+export LANGUAGE |
7519 |
+ |
7520 |
+# CDPATH. |
7521 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
7522 |
+ |
7523 |
+ |
7524 |
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] |
7525 |
+@%:@ ---------------------------------------- |
7526 |
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
7527 |
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
7528 |
+@%:@ script with STATUS, using 1 if that was 0. |
7529 |
+as_fn_error () |
7530 |
+{ |
7531 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
7532 |
+ if test "$4"; then |
7533 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
7534 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
7535 |
+ fi |
7536 |
+ $as_echo "$as_me: error: $2" >&2 |
7537 |
+ as_fn_exit $as_status |
7538 |
+} @%:@ as_fn_error |
7539 |
+ |
7540 |
+ |
7541 |
+@%:@ as_fn_set_status STATUS |
7542 |
+@%:@ ----------------------- |
7543 |
+@%:@ Set @S|@? to STATUS, without forking. |
7544 |
+as_fn_set_status () |
7545 |
+{ |
7546 |
+ return $1 |
7547 |
+} @%:@ as_fn_set_status |
7548 |
+ |
7549 |
+@%:@ as_fn_exit STATUS |
7550 |
+@%:@ ----------------- |
7551 |
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
7552 |
+as_fn_exit () |
7553 |
+{ |
7554 |
+ set +e |
7555 |
+ as_fn_set_status $1 |
7556 |
+ exit $1 |
7557 |
+} @%:@ as_fn_exit |
7558 |
+ |
7559 |
+@%:@ as_fn_unset VAR |
7560 |
+@%:@ --------------- |
7561 |
+@%:@ Portably unset VAR. |
7562 |
+as_fn_unset () |
7563 |
+{ |
7564 |
+ { eval $1=; unset $1;} |
7565 |
+} |
7566 |
+as_unset=as_fn_unset |
7567 |
+@%:@ as_fn_append VAR VALUE |
7568 |
+@%:@ ---------------------- |
7569 |
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
7570 |
+@%:@ advantage of any shell optimizations that allow amortized linear growth over |
7571 |
+@%:@ repeated appends, instead of the typical quadratic growth present in naive |
7572 |
+@%:@ implementations. |
7573 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
7574 |
+ eval 'as_fn_append () |
7575 |
+ { |
7576 |
+ eval $1+=\$2 |
7577 |
+ }' |
7578 |
+else |
7579 |
+ as_fn_append () |
7580 |
+ { |
7581 |
+ eval $1=\$$1\$2 |
7582 |
+ } |
7583 |
+fi # as_fn_append |
7584 |
+ |
7585 |
+@%:@ as_fn_arith ARG... |
7586 |
+@%:@ ------------------ |
7587 |
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
7588 |
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
7589 |
+@%:@ must be portable across @S|@(()) and expr. |
7590 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
7591 |
+ eval 'as_fn_arith () |
7592 |
+ { |
7593 |
+ as_val=$(( $* )) |
7594 |
+ }' |
7595 |
+else |
7596 |
+ as_fn_arith () |
7597 |
+ { |
7598 |
+ as_val=`expr "$@" || test $? -eq 1` |
7599 |
+ } |
7600 |
+fi # as_fn_arith |
7601 |
+ |
7602 |
+ |
7603 |
+if expr a : '\(a\)' >/dev/null 2>&1 && |
7604 |
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
7605 |
+ as_expr=expr |
7606 |
+else |
7607 |
+ as_expr=false |
7608 |
+fi |
7609 |
+ |
7610 |
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
7611 |
+ as_basename=basename |
7612 |
+else |
7613 |
+ as_basename=false |
7614 |
+fi |
7615 |
+ |
7616 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
7617 |
+ as_dirname=dirname |
7618 |
+else |
7619 |
+ as_dirname=false |
7620 |
+fi |
7621 |
+ |
7622 |
+as_me=`$as_basename -- "$0" || |
7623 |
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
7624 |
+ X"$0" : 'X\(//\)$' \| \ |
7625 |
+ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
7626 |
+$as_echo X/"$0" | |
7627 |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
7628 |
+ s//\1/ |
7629 |
+ q |
7630 |
+ } |
7631 |
+ /^X\/\(\/\/\)$/{ |
7632 |
+ s//\1/ |
7633 |
+ q |
7634 |
+ } |
7635 |
+ /^X\/\(\/\).*/{ |
7636 |
+ s//\1/ |
7637 |
+ q |
7638 |
+ } |
7639 |
+ s/.*/./; q'` |
7640 |
+ |
7641 |
+# Avoid depending upon Character Ranges. |
7642 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
7643 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
7644 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
7645 |
+as_cr_digits='0123456789' |
7646 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
7647 |
+ |
7648 |
+ECHO_C= ECHO_N= ECHO_T= |
7649 |
+case `echo -n x` in @%:@((((( |
7650 |
+-n*) |
7651 |
+ case `echo 'xy\c'` in |
7652 |
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
7653 |
+ xy) ECHO_C='\c';; |
7654 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
7655 |
+ ECHO_T=' ';; |
7656 |
+ esac;; |
7657 |
+*) |
7658 |
+ ECHO_N='-n';; |
7659 |
+esac |
7660 |
+ |
7661 |
+rm -f conf$$ conf$$.exe conf$$.file |
7662 |
+if test -d conf$$.dir; then |
7663 |
+ rm -f conf$$.dir/conf$$.file |
7664 |
+else |
7665 |
+ rm -f conf$$.dir |
7666 |
+ mkdir conf$$.dir 2>/dev/null |
7667 |
+fi |
7668 |
+if (echo >conf$$.file) 2>/dev/null; then |
7669 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
7670 |
+ as_ln_s='ln -s' |
7671 |
+ # ... but there are two gotchas: |
7672 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
7673 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
7674 |
+ # In both cases, we have to default to `cp -p'. |
7675 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
7676 |
+ as_ln_s='cp -p' |
7677 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
7678 |
+ as_ln_s=ln |
7679 |
+ else |
7680 |
+ as_ln_s='cp -p' |
7681 |
+ fi |
7682 |
+else |
7683 |
+ as_ln_s='cp -p' |
7684 |
+fi |
7685 |
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
7686 |
+rmdir conf$$.dir 2>/dev/null |
7687 |
+ |
7688 |
+ |
7689 |
+@%:@ as_fn_mkdir_p |
7690 |
+@%:@ ------------- |
7691 |
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. |
7692 |
+as_fn_mkdir_p () |
7693 |
+{ |
7694 |
+ |
7695 |
+ case $as_dir in #( |
7696 |
+ -*) as_dir=./$as_dir;; |
7697 |
+ esac |
7698 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
7699 |
+ as_dirs= |
7700 |
+ while :; do |
7701 |
+ case $as_dir in #( |
7702 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
7703 |
+ *) as_qdir=$as_dir;; |
7704 |
+ esac |
7705 |
+ as_dirs="'$as_qdir' $as_dirs" |
7706 |
+ as_dir=`$as_dirname -- "$as_dir" || |
7707 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7708 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
7709 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
7710 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
7711 |
+$as_echo X"$as_dir" | |
7712 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7713 |
+ s//\1/ |
7714 |
+ q |
7715 |
+ } |
7716 |
+ /^X\(\/\/\)[^/].*/{ |
7717 |
+ s//\1/ |
7718 |
+ q |
7719 |
+ } |
7720 |
+ /^X\(\/\/\)$/{ |
7721 |
+ s//\1/ |
7722 |
+ q |
7723 |
+ } |
7724 |
+ /^X\(\/\).*/{ |
7725 |
+ s//\1/ |
7726 |
+ q |
7727 |
+ } |
7728 |
+ s/.*/./; q'` |
7729 |
+ test -d "$as_dir" && break |
7730 |
+ done |
7731 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
7732 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
7733 |
+ |
7734 |
+ |
7735 |
+} @%:@ as_fn_mkdir_p |
7736 |
+if mkdir -p . 2>/dev/null; then |
7737 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
7738 |
+else |
7739 |
+ test -d ./-p && rmdir ./-p |
7740 |
+ as_mkdir_p=false |
7741 |
+fi |
7742 |
+ |
7743 |
+if test -x / >/dev/null 2>&1; then |
7744 |
+ as_test_x='test -x' |
7745 |
+else |
7746 |
+ if ls -dL / >/dev/null 2>&1; then |
7747 |
+ as_ls_L_option=L |
7748 |
+ else |
7749 |
+ as_ls_L_option= |
7750 |
+ fi |
7751 |
+ as_test_x=' |
7752 |
+ eval sh -c '\'' |
7753 |
+ if test -d "$1"; then |
7754 |
+ test -d "$1/."; |
7755 |
+ else |
7756 |
+ case $1 in @%:@( |
7757 |
+ -*)set "./$1";; |
7758 |
+ esac; |
7759 |
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( |
7760 |
+ ???[sx]*):;;*)false;;esac;fi |
7761 |
+ '\'' sh |
7762 |
+ ' |
7763 |
+fi |
7764 |
+as_executable_p=$as_test_x |
7765 |
+ |
7766 |
+# Sed expression to map a string onto a valid CPP name. |
7767 |
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
7768 |
+ |
7769 |
+# Sed expression to map a string onto a valid variable name. |
7770 |
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
7771 |
+ |
7772 |
+ |
7773 |
+exec 6>&1 |
7774 |
+## ----------------------------------- ## |
7775 |
+## Main body of $CONFIG_STATUS script. ## |
7776 |
+## ----------------------------------- ## |
7777 |
+_ASEOF |
7778 |
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
7779 |
+ |
7780 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7781 |
+# Save the log message, to keep $0 and so on meaningful, and to |
7782 |
+# report actual input values of CONFIG_FILES etc. instead of their |
7783 |
+# values after options handling. |
7784 |
+ac_log=" |
7785 |
+This file was extended by elfix $as_me 0.4.0, which was |
7786 |
+generated by GNU Autoconf 2.68. Invocation command line was |
7787 |
+ |
7788 |
+ CONFIG_FILES = $CONFIG_FILES |
7789 |
+ CONFIG_HEADERS = $CONFIG_HEADERS |
7790 |
+ CONFIG_LINKS = $CONFIG_LINKS |
7791 |
+ CONFIG_COMMANDS = $CONFIG_COMMANDS |
7792 |
+ $ $0 $@ |
7793 |
+ |
7794 |
+on `(hostname || uname -n) 2>/dev/null | sed 1q` |
7795 |
+" |
7796 |
+ |
7797 |
+_ACEOF |
7798 |
+ |
7799 |
+case $ac_config_files in *" |
7800 |
+"*) set x $ac_config_files; shift; ac_config_files=$*;; |
7801 |
+esac |
7802 |
+ |
7803 |
+case $ac_config_headers in *" |
7804 |
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
7805 |
+esac |
7806 |
+ |
7807 |
+ |
7808 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7809 |
+# Files that config.status was made for. |
7810 |
+config_files="$ac_config_files" |
7811 |
+config_headers="$ac_config_headers" |
7812 |
+config_commands="$ac_config_commands" |
7813 |
+ |
7814 |
+_ACEOF |
7815 |
+ |
7816 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7817 |
+ac_cs_usage="\ |
7818 |
+\`$as_me' instantiates files and other configuration actions |
7819 |
+from templates according to the current configuration. Unless the files |
7820 |
+and actions are specified as TAGs, all are instantiated by default. |
7821 |
+ |
7822 |
+Usage: $0 [OPTION]... [TAG]... |
7823 |
+ |
7824 |
+ -h, --help print this help, then exit |
7825 |
+ -V, --version print version number and configuration settings, then exit |
7826 |
+ --config print configuration, then exit |
7827 |
+ -q, --quiet, --silent |
7828 |
+ do not print progress messages |
7829 |
+ -d, --debug don't remove temporary files |
7830 |
+ --recheck update $as_me by reconfiguring in the same conditions |
7831 |
+ --file=FILE[:TEMPLATE] |
7832 |
+ instantiate the configuration file FILE |
7833 |
+ --header=FILE[:TEMPLATE] |
7834 |
+ instantiate the configuration header FILE |
7835 |
+ |
7836 |
+Configuration files: |
7837 |
+$config_files |
7838 |
+ |
7839 |
+Configuration headers: |
7840 |
+$config_headers |
7841 |
+ |
7842 |
+Configuration commands: |
7843 |
+$config_commands |
7844 |
+ |
7845 |
+Report bugs to <http://bugs.gentoo.org/>." |
7846 |
+ |
7847 |
+_ACEOF |
7848 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7849 |
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
7850 |
+ac_cs_version="\\ |
7851 |
+elfix config.status 0.4.0 |
7852 |
+configured by $0, generated by GNU Autoconf 2.68, |
7853 |
+ with options \\"\$ac_cs_config\\" |
7854 |
+ |
7855 |
+Copyright (C) 2010 Free Software Foundation, Inc. |
7856 |
+This config.status script is free software; the Free Software Foundation |
7857 |
+gives unlimited permission to copy, distribute and modify it." |
7858 |
+ |
7859 |
+ac_pwd='$ac_pwd' |
7860 |
+srcdir='$srcdir' |
7861 |
+INSTALL='$INSTALL' |
7862 |
+MKDIR_P='$MKDIR_P' |
7863 |
+AWK='$AWK' |
7864 |
+test -n "\$AWK" || AWK=awk |
7865 |
+_ACEOF |
7866 |
+ |
7867 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7868 |
+# The default lists apply if the user does not specify any file. |
7869 |
+ac_need_defaults=: |
7870 |
+while test $# != 0 |
7871 |
+do |
7872 |
+ case $1 in |
7873 |
+ --*=?*) |
7874 |
+ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
7875 |
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
7876 |
+ ac_shift=: |
7877 |
+ ;; |
7878 |
+ --*=) |
7879 |
+ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
7880 |
+ ac_optarg= |
7881 |
+ ac_shift=: |
7882 |
+ ;; |
7883 |
+ *) |
7884 |
+ ac_option=$1 |
7885 |
+ ac_optarg=$2 |
7886 |
+ ac_shift=shift |
7887 |
+ ;; |
7888 |
+ esac |
7889 |
+ |
7890 |
+ case $ac_option in |
7891 |
+ # Handling of the options. |
7892 |
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
7893 |
+ ac_cs_recheck=: ;; |
7894 |
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
7895 |
+ $as_echo "$ac_cs_version"; exit ;; |
7896 |
+ --config | --confi | --conf | --con | --co | --c ) |
7897 |
+ $as_echo "$ac_cs_config"; exit ;; |
7898 |
+ --debug | --debu | --deb | --de | --d | -d ) |
7899 |
+ debug=: ;; |
7900 |
+ --file | --fil | --fi | --f ) |
7901 |
+ $ac_shift |
7902 |
+ case $ac_optarg in |
7903 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
7904 |
+ '') as_fn_error $? "missing file argument" ;; |
7905 |
+ esac |
7906 |
+ as_fn_append CONFIG_FILES " '$ac_optarg'" |
7907 |
+ ac_need_defaults=false;; |
7908 |
+ --header | --heade | --head | --hea ) |
7909 |
+ $ac_shift |
7910 |
+ case $ac_optarg in |
7911 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
7912 |
+ esac |
7913 |
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
7914 |
+ ac_need_defaults=false;; |
7915 |
+ --he | --h) |
7916 |
+ # Conflict between --help and --header |
7917 |
+ as_fn_error $? "ambiguous option: \`$1' |
7918 |
+Try \`$0 --help' for more information.";; |
7919 |
+ --help | --hel | -h ) |
7920 |
+ $as_echo "$ac_cs_usage"; exit ;; |
7921 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
7922 |
+ | -silent | --silent | --silen | --sile | --sil | --si | --s) |
7923 |
+ ac_cs_silent=: ;; |
7924 |
+ |
7925 |
+ # This is an error. |
7926 |
+ -*) as_fn_error $? "unrecognized option: \`$1' |
7927 |
+Try \`$0 --help' for more information." ;; |
7928 |
+ |
7929 |
+ *) as_fn_append ac_config_targets " $1" |
7930 |
+ ac_need_defaults=false ;; |
7931 |
+ |
7932 |
+ esac |
7933 |
+ shift |
7934 |
+done |
7935 |
+ |
7936 |
+ac_configure_extra_args= |
7937 |
+ |
7938 |
+if $ac_cs_silent; then |
7939 |
+ exec 6>/dev/null |
7940 |
+ ac_configure_extra_args="$ac_configure_extra_args --silent" |
7941 |
+fi |
7942 |
+ |
7943 |
+_ACEOF |
7944 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7945 |
+if \$ac_cs_recheck; then |
7946 |
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
7947 |
+ shift |
7948 |
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
7949 |
+ CONFIG_SHELL='$SHELL' |
7950 |
+ export CONFIG_SHELL |
7951 |
+ exec "\$@" |
7952 |
+fi |
7953 |
+ |
7954 |
+_ACEOF |
7955 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7956 |
+exec 5>>config.log |
7957 |
+{ |
7958 |
+ echo |
7959 |
+ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX |
7960 |
+@%:@@%:@ Running $as_me. @%:@@%:@ |
7961 |
+_ASBOX |
7962 |
+ $as_echo "$ac_log" |
7963 |
+} >&5 |
7964 |
+ |
7965 |
+_ACEOF |
7966 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7967 |
+# |
7968 |
+# INIT-COMMANDS |
7969 |
+# |
7970 |
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
7971 |
+ |
7972 |
+_ACEOF |
7973 |
+ |
7974 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7975 |
+ |
7976 |
+# Handling of arguments. |
7977 |
+for ac_config_target in $ac_config_targets |
7978 |
+do |
7979 |
+ case $ac_config_target in |
7980 |
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
7981 |
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
7982 |
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
7983 |
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
7984 |
+ "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; |
7985 |
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
7986 |
+ "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
7987 |
+ "tests/gnustack/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gnustack/Makefile" ;; |
7988 |
+ "tests/pxtpax/Makefile") CONFIG_FILES="$CONFIG_FILES tests/pxtpax/Makefile" ;; |
7989 |
+ |
7990 |
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
7991 |
+ esac |
7992 |
+done |
7993 |
+ |
7994 |
+ |
7995 |
+# If the user did not use the arguments to specify the items to instantiate, |
7996 |
+# then the envvar interface is used. Set only those that are not. |
7997 |
+# We use the long form for the default assignment because of an extremely |
7998 |
+# bizarre bug on SunOS 4.1.3. |
7999 |
+if $ac_need_defaults; then |
8000 |
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
8001 |
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
8002 |
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
8003 |
+fi |
8004 |
+ |
8005 |
+# Have a temporary directory for convenience. Make it in the build tree |
8006 |
+# simply because there is no reason against having it here, and in addition, |
8007 |
+# creating and moving files from /tmp can sometimes cause problems. |
8008 |
+# Hook for its removal unless debugging. |
8009 |
+# Note that there is a small window in which the directory will not be cleaned: |
8010 |
+# after its creation but before its name has been assigned to `$tmp'. |
8011 |
+$debug || |
8012 |
+{ |
8013 |
+ tmp= ac_tmp= |
8014 |
+ trap 'exit_status=$? |
8015 |
+ : "${ac_tmp:=$tmp}" |
8016 |
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
8017 |
+' 0 |
8018 |
+ trap 'as_fn_exit 1' 1 2 13 15 |
8019 |
+} |
8020 |
+# Create a (secure) tmp directory for tmp files. |
8021 |
+ |
8022 |
+{ |
8023 |
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
8024 |
+ test -d "$tmp" |
8025 |
+} || |
8026 |
+{ |
8027 |
+ tmp=./conf$$-$RANDOM |
8028 |
+ (umask 077 && mkdir "$tmp") |
8029 |
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
8030 |
+ac_tmp=$tmp |
8031 |
+ |
8032 |
+# Set up the scripts for CONFIG_FILES section. |
8033 |
+# No need to generate them if there are no CONFIG_FILES. |
8034 |
+# This happens for instance with `./config.status config.h'. |
8035 |
+if test -n "$CONFIG_FILES"; then |
8036 |
+ |
8037 |
+ |
8038 |
+ac_cr=`echo X | tr X '\015'` |
8039 |
+# On cygwin, bash can eat \r inside `` if the user requested igncr. |
8040 |
+# But we know of no other shell where ac_cr would be empty at this |
8041 |
+# point, so we can use a bashism as a fallback. |
8042 |
+if test "x$ac_cr" = x; then |
8043 |
+ eval ac_cr=\$\'\\r\' |
8044 |
+fi |
8045 |
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
8046 |
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
8047 |
+ ac_cs_awk_cr='\\r' |
8048 |
+else |
8049 |
+ ac_cs_awk_cr=$ac_cr |
8050 |
+fi |
8051 |
+ |
8052 |
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
8053 |
+_ACEOF |
8054 |
+ |
8055 |
+ |
8056 |
+{ |
8057 |
+ echo "cat >conf$$subs.awk <<_ACEOF" && |
8058 |
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
8059 |
+ echo "_ACEOF" |
8060 |
+} >conf$$subs.sh || |
8061 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
8062 |
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
8063 |
+ac_delim='%!_!# ' |
8064 |
+for ac_last_try in false false false false false :; do |
8065 |
+ . ./conf$$subs.sh || |
8066 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
8067 |
+ |
8068 |
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
8069 |
+ if test $ac_delim_n = $ac_delim_num; then |
8070 |
+ break |
8071 |
+ elif $ac_last_try; then |
8072 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
8073 |
+ else |
8074 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
8075 |
+ fi |
8076 |
+done |
8077 |
+rm -f conf$$subs.sh |
8078 |
+ |
8079 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8080 |
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
8081 |
+_ACEOF |
8082 |
+sed -n ' |
8083 |
+h |
8084 |
+s/^/S["/; s/!.*/"]=/ |
8085 |
+p |
8086 |
+g |
8087 |
+s/^[^!]*!// |
8088 |
+:repl |
8089 |
+t repl |
8090 |
+s/'"$ac_delim"'$// |
8091 |
+t delim |
8092 |
+:nl |
8093 |
+h |
8094 |
+s/\(.\{148\}\)..*/\1/ |
8095 |
+t more1 |
8096 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
8097 |
+p |
8098 |
+n |
8099 |
+b repl |
8100 |
+:more1 |
8101 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
8102 |
+p |
8103 |
+g |
8104 |
+s/.\{148\}// |
8105 |
+t nl |
8106 |
+:delim |
8107 |
+h |
8108 |
+s/\(.\{148\}\)..*/\1/ |
8109 |
+t more2 |
8110 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/ |
8111 |
+p |
8112 |
+b |
8113 |
+:more2 |
8114 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
8115 |
+p |
8116 |
+g |
8117 |
+s/.\{148\}// |
8118 |
+t delim |
8119 |
+' <conf$$subs.awk | sed ' |
8120 |
+/^[^""]/{ |
8121 |
+ N |
8122 |
+ s/\n// |
8123 |
+} |
8124 |
+' >>$CONFIG_STATUS || ac_write_fail=1 |
8125 |
+rm -f conf$$subs.awk |
8126 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8127 |
+_ACAWK |
8128 |
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
8129 |
+ for (key in S) S_is_set[key] = 1 |
8130 |
+ FS = "" |
8131 |
+ |
8132 |
+} |
8133 |
+{ |
8134 |
+ line = $ 0 |
8135 |
+ nfields = split(line, field, "@") |
8136 |
+ substed = 0 |
8137 |
+ len = length(field[1]) |
8138 |
+ for (i = 2; i < nfields; i++) { |
8139 |
+ key = field[i] |
8140 |
+ keylen = length(key) |
8141 |
+ if (S_is_set[key]) { |
8142 |
+ value = S[key] |
8143 |
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
8144 |
+ len += length(value) + length(field[++i]) |
8145 |
+ substed = 1 |
8146 |
+ } else |
8147 |
+ len += 1 + keylen |
8148 |
+ } |
8149 |
+ |
8150 |
+ print line |
8151 |
+} |
8152 |
+ |
8153 |
+_ACAWK |
8154 |
+_ACEOF |
8155 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8156 |
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
8157 |
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
8158 |
+else |
8159 |
+ cat |
8160 |
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
8161 |
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
8162 |
+_ACEOF |
8163 |
+ |
8164 |
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
8165 |
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
8166 |
+# trailing colons and then remove the whole line if VPATH becomes empty |
8167 |
+# (actually we leave an empty line to preserve line numbers). |
8168 |
+if test "x$srcdir" = x.; then |
8169 |
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
8170 |
+h |
8171 |
+s/// |
8172 |
+s/^/:/ |
8173 |
+s/[ ]*$/:/ |
8174 |
+s/:\$(srcdir):/:/g |
8175 |
+s/:\${srcdir}:/:/g |
8176 |
+s/:@srcdir@:/:/g |
8177 |
+s/^:*// |
8178 |
+s/:*$// |
8179 |
+x |
8180 |
+s/\(=[ ]*\).*/\1/ |
8181 |
+G |
8182 |
+s/\n// |
8183 |
+s/^[^=]*=[ ]*$// |
8184 |
+}' |
8185 |
+fi |
8186 |
+ |
8187 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8188 |
+fi # test -n "$CONFIG_FILES" |
8189 |
+ |
8190 |
+# Set up the scripts for CONFIG_HEADERS section. |
8191 |
+# No need to generate them if there are no CONFIG_HEADERS. |
8192 |
+# This happens for instance with `./config.status Makefile'. |
8193 |
+if test -n "$CONFIG_HEADERS"; then |
8194 |
+cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
8195 |
+BEGIN { |
8196 |
+_ACEOF |
8197 |
+ |
8198 |
+# Transform confdefs.h into an awk script `defines.awk', embedded as |
8199 |
+# here-document in config.status, that substitutes the proper values into |
8200 |
+# config.h.in to produce config.h. |
8201 |
+ |
8202 |
+# Create a delimiter string that does not exist in confdefs.h, to ease |
8203 |
+# handling of long lines. |
8204 |
+ac_delim='%!_!# ' |
8205 |
+for ac_last_try in false false :; do |
8206 |
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
8207 |
+ if test -z "$ac_tt"; then |
8208 |
+ break |
8209 |
+ elif $ac_last_try; then |
8210 |
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
8211 |
+ else |
8212 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
8213 |
+ fi |
8214 |
+done |
8215 |
+ |
8216 |
+# For the awk script, D is an array of macro values keyed by name, |
8217 |
+# likewise P contains macro parameters if any. Preserve backslash |
8218 |
+# newline sequences. |
8219 |
+ |
8220 |
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
8221 |
+sed -n ' |
8222 |
+s/.\{148\}/&'"$ac_delim"'/g |
8223 |
+t rset |
8224 |
+:rset |
8225 |
+s/^[ ]*#[ ]*define[ ][ ]*/ / |
8226 |
+t def |
8227 |
+d |
8228 |
+:def |
8229 |
+s/\\$// |
8230 |
+t bsnl |
8231 |
+s/["\\]/\\&/g |
8232 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
8233 |
+D["\1"]=" \3"/p |
8234 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
8235 |
+d |
8236 |
+:bsnl |
8237 |
+s/["\\]/\\&/g |
8238 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
8239 |
+D["\1"]=" \3\\\\\\n"\\/p |
8240 |
+t cont |
8241 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
8242 |
+t cont |
8243 |
+d |
8244 |
+:cont |
8245 |
+n |
8246 |
+s/.\{148\}/&'"$ac_delim"'/g |
8247 |
+t clear |
8248 |
+:clear |
8249 |
+s/\\$// |
8250 |
+t bsnlc |
8251 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/p |
8252 |
+d |
8253 |
+:bsnlc |
8254 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
8255 |
+b cont |
8256 |
+' <confdefs.h | sed ' |
8257 |
+s/'"$ac_delim"'/"\\\ |
8258 |
+"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
8259 |
+ |
8260 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8261 |
+ for (key in D) D_is_set[key] = 1 |
8262 |
+ FS = "" |
8263 |
+} |
8264 |
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
8265 |
+ line = \$ 0 |
8266 |
+ split(line, arg, " ") |
8267 |
+ if (arg[1] == "#") { |
8268 |
+ defundef = arg[2] |
8269 |
+ mac1 = arg[3] |
8270 |
+ } else { |
8271 |
+ defundef = substr(arg[1], 2) |
8272 |
+ mac1 = arg[2] |
8273 |
+ } |
8274 |
+ split(mac1, mac2, "(") #) |
8275 |
+ macro = mac2[1] |
8276 |
+ prefix = substr(line, 1, index(line, defundef) - 1) |
8277 |
+ if (D_is_set[macro]) { |
8278 |
+ # Preserve the white space surrounding the "#". |
8279 |
+ print prefix "define", macro P[macro] D[macro] |
8280 |
+ next |
8281 |
+ } else { |
8282 |
+ # Replace #undef with comments. This is necessary, for example, |
8283 |
+ # in the case of _POSIX_SOURCE, which is predefined and required |
8284 |
+ # on some systems where configure will not decide to define it. |
8285 |
+ if (defundef == "undef") { |
8286 |
+ print "/*", prefix defundef, macro, "*/" |
8287 |
+ next |
8288 |
+ } |
8289 |
+ } |
8290 |
+} |
8291 |
+{ print } |
8292 |
+_ACAWK |
8293 |
+_ACEOF |
8294 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8295 |
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
8296 |
+fi # test -n "$CONFIG_HEADERS" |
8297 |
+ |
8298 |
+ |
8299 |
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
8300 |
+shift |
8301 |
+for ac_tag |
8302 |
+do |
8303 |
+ case $ac_tag in |
8304 |
+ :[FHLC]) ac_mode=$ac_tag; continue;; |
8305 |
+ esac |
8306 |
+ case $ac_mode$ac_tag in |
8307 |
+ :[FHL]*:*);; |
8308 |
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
8309 |
+ :[FH]-) ac_tag=-:-;; |
8310 |
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
8311 |
+ esac |
8312 |
+ ac_save_IFS=$IFS |
8313 |
+ IFS=: |
8314 |
+ set x $ac_tag |
8315 |
+ IFS=$ac_save_IFS |
8316 |
+ shift |
8317 |
+ ac_file=$1 |
8318 |
+ shift |
8319 |
+ |
8320 |
+ case $ac_mode in |
8321 |
+ :L) ac_source=$1;; |
8322 |
+ :[FH]) |
8323 |
+ ac_file_inputs= |
8324 |
+ for ac_f |
8325 |
+ do |
8326 |
+ case $ac_f in |
8327 |
+ -) ac_f="$ac_tmp/stdin";; |
8328 |
+ *) # Look for the file first in the build tree, then in the source tree |
8329 |
+ # (if the path is not absolute). The absolute path cannot be DOS-style, |
8330 |
+ # because $ac_f cannot contain `:'. |
8331 |
+ test -f "$ac_f" || |
8332 |
+ case $ac_f in |
8333 |
+ [\\/$]*) false;; |
8334 |
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
8335 |
+ esac || |
8336 |
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
8337 |
+ esac |
8338 |
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
8339 |
+ as_fn_append ac_file_inputs " '$ac_f'" |
8340 |
+ done |
8341 |
+ |
8342 |
+ # Let's still pretend it is `configure' which instantiates (i.e., don't |
8343 |
+ # use $as_me), people would be surprised to read: |
8344 |
+ # /* config.h. Generated by config.status. */ |
8345 |
+ configure_input='Generated from '` |
8346 |
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
8347 |
+ `' by configure.' |
8348 |
+ if test x"$ac_file" != x-; then |
8349 |
+ configure_input="$ac_file. $configure_input" |
8350 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
8351 |
+$as_echo "$as_me: creating $ac_file" >&6;} |
8352 |
+ fi |
8353 |
+ # Neutralize special characters interpreted by sed in replacement strings. |
8354 |
+ case $configure_input in #( |
8355 |
+ *\&* | *\|* | *\\* ) |
8356 |
+ ac_sed_conf_input=`$as_echo "$configure_input" | |
8357 |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #( |
8358 |
+ *) ac_sed_conf_input=$configure_input;; |
8359 |
+ esac |
8360 |
+ |
8361 |
+ case $ac_tag in |
8362 |
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
8363 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
8364 |
+ esac |
8365 |
+ ;; |
8366 |
+ esac |
8367 |
+ |
8368 |
+ ac_dir=`$as_dirname -- "$ac_file" || |
8369 |
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8370 |
+ X"$ac_file" : 'X\(//\)[^/]' \| \ |
8371 |
+ X"$ac_file" : 'X\(//\)$' \| \ |
8372 |
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
8373 |
+$as_echo X"$ac_file" | |
8374 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
8375 |
+ s//\1/ |
8376 |
+ q |
8377 |
+ } |
8378 |
+ /^X\(\/\/\)[^/].*/{ |
8379 |
+ s//\1/ |
8380 |
+ q |
8381 |
+ } |
8382 |
+ /^X\(\/\/\)$/{ |
8383 |
+ s//\1/ |
8384 |
+ q |
8385 |
+ } |
8386 |
+ /^X\(\/\).*/{ |
8387 |
+ s//\1/ |
8388 |
+ q |
8389 |
+ } |
8390 |
+ s/.*/./; q'` |
8391 |
+ as_dir="$ac_dir"; as_fn_mkdir_p |
8392 |
+ ac_builddir=. |
8393 |
+ |
8394 |
+case "$ac_dir" in |
8395 |
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
8396 |
+*) |
8397 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
8398 |
+ # A ".." for each directory in $ac_dir_suffix. |
8399 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
8400 |
+ case $ac_top_builddir_sub in |
8401 |
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
8402 |
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
8403 |
+ esac ;; |
8404 |
+esac |
8405 |
+ac_abs_top_builddir=$ac_pwd |
8406 |
+ac_abs_builddir=$ac_pwd$ac_dir_suffix |
8407 |
+# for backward compatibility: |
8408 |
+ac_top_builddir=$ac_top_build_prefix |
8409 |
+ |
8410 |
+case $srcdir in |
8411 |
+ .) # We are building in place. |
8412 |
+ ac_srcdir=. |
8413 |
+ ac_top_srcdir=$ac_top_builddir_sub |
8414 |
+ ac_abs_top_srcdir=$ac_pwd ;; |
8415 |
+ [\\/]* | ?:[\\/]* ) # Absolute name. |
8416 |
+ ac_srcdir=$srcdir$ac_dir_suffix; |
8417 |
+ ac_top_srcdir=$srcdir |
8418 |
+ ac_abs_top_srcdir=$srcdir ;; |
8419 |
+ *) # Relative name. |
8420 |
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
8421 |
+ ac_top_srcdir=$ac_top_build_prefix$srcdir |
8422 |
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
8423 |
+esac |
8424 |
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
8425 |
+ |
8426 |
+ |
8427 |
+ case $ac_mode in |
8428 |
+ :F) |
8429 |
+ # |
8430 |
+ # CONFIG_FILE |
8431 |
+ # |
8432 |
+ |
8433 |
+ case $INSTALL in |
8434 |
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
8435 |
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
8436 |
+ esac |
8437 |
+ ac_MKDIR_P=$MKDIR_P |
8438 |
+ case $MKDIR_P in |
8439 |
+ [\\/$]* | ?:[\\/]* ) ;; |
8440 |
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
8441 |
+ esac |
8442 |
+_ACEOF |
8443 |
+ |
8444 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8445 |
+# If the template does not know about datarootdir, expand it. |
8446 |
+# FIXME: This hack should be removed a few years after 2.60. |
8447 |
+ac_datarootdir_hack=; ac_datarootdir_seen= |
8448 |
+ac_sed_dataroot=' |
8449 |
+/datarootdir/ { |
8450 |
+ p |
8451 |
+ q |
8452 |
+} |
8453 |
+/@datadir@/p |
8454 |
+/@docdir@/p |
8455 |
+/@infodir@/p |
8456 |
+/@localedir@/p |
8457 |
+/@mandir@/p' |
8458 |
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
8459 |
+*datarootdir*) ac_datarootdir_seen=yes;; |
8460 |
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
8461 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
8462 |
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
8463 |
+_ACEOF |
8464 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8465 |
+ ac_datarootdir_hack=' |
8466 |
+ s&@datadir@&$datadir&g |
8467 |
+ s&@docdir@&$docdir&g |
8468 |
+ s&@infodir@&$infodir&g |
8469 |
+ s&@localedir@&$localedir&g |
8470 |
+ s&@mandir@&$mandir&g |
8471 |
+ s&\\\${datarootdir}&$datarootdir&g' ;; |
8472 |
+esac |
8473 |
+_ACEOF |
8474 |
+ |
8475 |
+# Neutralize VPATH when `$srcdir' = `.'. |
8476 |
+# Shell code in configure.ac might set extrasub. |
8477 |
+# FIXME: do we really want to maintain this feature? |
8478 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8479 |
+ac_sed_extra="$ac_vpsub |
8480 |
+$extrasub |
8481 |
+_ACEOF |
8482 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8483 |
+:t |
8484 |
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
8485 |
+s|@configure_input@|$ac_sed_conf_input|;t t |
8486 |
+s&@top_builddir@&$ac_top_builddir_sub&;t t |
8487 |
+s&@top_build_prefix@&$ac_top_build_prefix&;t t |
8488 |
+s&@srcdir@&$ac_srcdir&;t t |
8489 |
+s&@abs_srcdir@&$ac_abs_srcdir&;t t |
8490 |
+s&@top_srcdir@&$ac_top_srcdir&;t t |
8491 |
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
8492 |
+s&@builddir@&$ac_builddir&;t t |
8493 |
+s&@abs_builddir@&$ac_abs_builddir&;t t |
8494 |
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
8495 |
+s&@INSTALL@&$ac_INSTALL&;t t |
8496 |
+s&@MKDIR_P@&$ac_MKDIR_P&;t t |
8497 |
+$ac_datarootdir_hack |
8498 |
+" |
8499 |
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
8500 |
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
8501 |
+ |
8502 |
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
8503 |
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
8504 |
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
8505 |
+ "$ac_tmp/out"`; test -z "$ac_out"; } && |
8506 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
8507 |
+which seems to be undefined. Please make sure it is defined" >&5 |
8508 |
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
8509 |
+which seems to be undefined. Please make sure it is defined" >&2;} |
8510 |
+ |
8511 |
+ rm -f "$ac_tmp/stdin" |
8512 |
+ case $ac_file in |
8513 |
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
8514 |
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
8515 |
+ esac \ |
8516 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
8517 |
+ ;; |
8518 |
+ :H) |
8519 |
+ # |
8520 |
+ # CONFIG_HEADER |
8521 |
+ # |
8522 |
+ if test x"$ac_file" != x-; then |
8523 |
+ { |
8524 |
+ $as_echo "/* $configure_input */" \ |
8525 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
8526 |
+ } >"$ac_tmp/config.h" \ |
8527 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
8528 |
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
8529 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
8530 |
+$as_echo "$as_me: $ac_file is unchanged" >&6;} |
8531 |
+ else |
8532 |
+ rm -f "$ac_file" |
8533 |
+ mv "$ac_tmp/config.h" "$ac_file" \ |
8534 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
8535 |
+ fi |
8536 |
+ else |
8537 |
+ $as_echo "/* $configure_input */" \ |
8538 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
8539 |
+ || as_fn_error $? "could not create -" "$LINENO" 5 |
8540 |
+ fi |
8541 |
+# Compute "$ac_file"'s index in $config_headers. |
8542 |
+_am_arg="$ac_file" |
8543 |
+_am_stamp_count=1 |
8544 |
+for _am_header in $config_headers :; do |
8545 |
+ case $_am_header in |
8546 |
+ $_am_arg | $_am_arg:* ) |
8547 |
+ break ;; |
8548 |
+ * ) |
8549 |
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
8550 |
+ esac |
8551 |
+done |
8552 |
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
8553 |
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8554 |
+ X"$_am_arg" : 'X\(//\)[^/]' \| \ |
8555 |
+ X"$_am_arg" : 'X\(//\)$' \| \ |
8556 |
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
8557 |
+$as_echo X"$_am_arg" | |
8558 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
8559 |
+ s//\1/ |
8560 |
+ q |
8561 |
+ } |
8562 |
+ /^X\(\/\/\)[^/].*/{ |
8563 |
+ s//\1/ |
8564 |
+ q |
8565 |
+ } |
8566 |
+ /^X\(\/\/\)$/{ |
8567 |
+ s//\1/ |
8568 |
+ q |
8569 |
+ } |
8570 |
+ /^X\(\/\).*/{ |
8571 |
+ s//\1/ |
8572 |
+ q |
8573 |
+ } |
8574 |
+ s/.*/./; q'`/stamp-h$_am_stamp_count |
8575 |
+ ;; |
8576 |
+ |
8577 |
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
8578 |
+$as_echo "$as_me: executing $ac_file commands" >&6;} |
8579 |
+ ;; |
8580 |
+ esac |
8581 |
+ |
8582 |
+ |
8583 |
+ case $ac_file$ac_mode in |
8584 |
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
8585 |
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files |
8586 |
+ # are listed without --file. Let's play safe and only enable the eval |
8587 |
+ # if we detect the quoting. |
8588 |
+ case $CONFIG_FILES in |
8589 |
+ *\'*) eval set x "$CONFIG_FILES" ;; |
8590 |
+ *) set x $CONFIG_FILES ;; |
8591 |
+ esac |
8592 |
+ shift |
8593 |
+ for mf |
8594 |
+ do |
8595 |
+ # Strip MF so we end up with the name of the file. |
8596 |
+ mf=`echo "$mf" | sed -e 's/:.*$//'` |
8597 |
+ # Check whether this is an Automake generated Makefile or not. |
8598 |
+ # We used to match only the files named `Makefile.in', but |
8599 |
+ # some people rename them; so instead we look at the file content. |
8600 |
+ # Grep'ing the first line is not enough: some people post-process |
8601 |
+ # each Makefile.in and add a new line on top of each file to say so. |
8602 |
+ # Grep'ing the whole file is not good either: AIX grep has a line |
8603 |
+ # limit of 2048, but all sed's we know have understand at least 4000. |
8604 |
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
8605 |
+ dirpart=`$as_dirname -- "$mf" || |
8606 |
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8607 |
+ X"$mf" : 'X\(//\)[^/]' \| \ |
8608 |
+ X"$mf" : 'X\(//\)$' \| \ |
8609 |
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
8610 |
+$as_echo X"$mf" | |
8611 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
8612 |
+ s//\1/ |
8613 |
+ q |
8614 |
+ } |
8615 |
+ /^X\(\/\/\)[^/].*/{ |
8616 |
+ s//\1/ |
8617 |
+ q |
8618 |
+ } |
8619 |
+ /^X\(\/\/\)$/{ |
8620 |
+ s//\1/ |
8621 |
+ q |
8622 |
+ } |
8623 |
+ /^X\(\/\).*/{ |
8624 |
+ s//\1/ |
8625 |
+ q |
8626 |
+ } |
8627 |
+ s/.*/./; q'` |
8628 |
+ else |
8629 |
+ continue |
8630 |
+ fi |
8631 |
+ # Extract the definition of DEPDIR, am__include, and am__quote |
8632 |
+ # from the Makefile without running `make'. |
8633 |
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
8634 |
+ test -z "$DEPDIR" && continue |
8635 |
+ am__include=`sed -n 's/^am__include = //p' < "$mf"` |
8636 |
+ test -z "am__include" && continue |
8637 |
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
8638 |
+ # When using ansi2knr, U may be empty or an underscore; expand it |
8639 |
+ U=`sed -n 's/^U = //p' < "$mf"` |
8640 |
+ # Find all dependency output files, they are included files with |
8641 |
+ # $(DEPDIR) in their names. We invoke sed twice because it is the |
8642 |
+ # simplest approach to changing $(DEPDIR) to its actual value in the |
8643 |
+ # expansion. |
8644 |
+ for file in `sed -n " |
8645 |
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
8646 |
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
8647 |
+ # Make sure the directory exists. |
8648 |
+ test -f "$dirpart/$file" && continue |
8649 |
+ fdir=`$as_dirname -- "$file" || |
8650 |
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8651 |
+ X"$file" : 'X\(//\)[^/]' \| \ |
8652 |
+ X"$file" : 'X\(//\)$' \| \ |
8653 |
+ X"$file" : 'X\(/\)' \| . 2>/dev/null || |
8654 |
+$as_echo X"$file" | |
8655 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
8656 |
+ s//\1/ |
8657 |
+ q |
8658 |
+ } |
8659 |
+ /^X\(\/\/\)[^/].*/{ |
8660 |
+ s//\1/ |
8661 |
+ q |
8662 |
+ } |
8663 |
+ /^X\(\/\/\)$/{ |
8664 |
+ s//\1/ |
8665 |
+ q |
8666 |
+ } |
8667 |
+ /^X\(\/\).*/{ |
8668 |
+ s//\1/ |
8669 |
+ q |
8670 |
+ } |
8671 |
+ s/.*/./; q'` |
8672 |
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p |
8673 |
+ # echo "creating $dirpart/$file" |
8674 |
+ echo '# dummy' > "$dirpart/$file" |
8675 |
+ done |
8676 |
+ done |
8677 |
+} |
8678 |
+ ;; |
8679 |
+ |
8680 |
+ esac |
8681 |
+done # for ac_tag |
8682 |
+ |
8683 |
+ |
8684 |
+as_fn_exit 0 |
8685 |
+_ACEOF |
8686 |
+ac_clean_files=$ac_clean_files_save |
8687 |
+ |
8688 |
+test $ac_write_fail = 0 || |
8689 |
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
8690 |
+ |
8691 |
+ |
8692 |
+# configure is writing to config.log, and then calls config.status. |
8693 |
+# config.status does its own redirection, appending to config.log. |
8694 |
+# Unfortunately, on DOS this fails, as config.log is still kept open |
8695 |
+# by configure, so config.status won't be able to write to it; its |
8696 |
+# output is simply discarded. So we exec the FD to /dev/null, |
8697 |
+# effectively closing config.log, so it can be properly (re)opened and |
8698 |
+# appended to by config.status. When coming back to configure, we |
8699 |
+# need to make the FD available again. |
8700 |
+if test "$no_create" != yes; then |
8701 |
+ ac_cs_success=: |
8702 |
+ ac_config_status_args= |
8703 |
+ test "$silent" = yes && |
8704 |
+ ac_config_status_args="$ac_config_status_args --quiet" |
8705 |
+ exec 5>/dev/null |
8706 |
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
8707 |
+ exec 5>>config.log |
8708 |
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
8709 |
+ # would make configure fail if this is the last instruction. |
8710 |
+ $ac_cs_success || as_fn_exit 1 |
8711 |
+fi |
8712 |
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
8713 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
8714 |
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
8715 |
+fi |
8716 |
+ |
8717 |
|
8718 |
diff --git a/autom4te.cache/output.1 b/autom4te.cache/output.1 |
8719 |
new file mode 100644 |
8720 |
index 0000000..de91dc4 |
8721 |
--- /dev/null |
8722 |
+++ b/autom4te.cache/output.1 |
8723 |
@@ -0,0 +1,7037 @@ |
8724 |
+@%:@! /bin/sh |
8725 |
+@%:@ Guess values for system-dependent variables and create Makefiles. |
8726 |
+@%:@ Generated by GNU Autoconf 2.68 for elfix 0.4.0. |
8727 |
+@%:@ |
8728 |
+@%:@ Report bugs to <http://bugs.gentoo.org/>. |
8729 |
+@%:@ |
8730 |
+@%:@ |
8731 |
+@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8732 |
+@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
8733 |
+@%:@ Foundation, Inc. |
8734 |
+@%:@ |
8735 |
+@%:@ |
8736 |
+@%:@ This configure script is free software; the Free Software Foundation |
8737 |
+@%:@ gives unlimited permission to copy, distribute and modify it. |
8738 |
+## -------------------- ## |
8739 |
+## M4sh Initialization. ## |
8740 |
+## -------------------- ## |
8741 |
+ |
8742 |
+# Be more Bourne compatible |
8743 |
+DUALCASE=1; export DUALCASE # for MKS sh |
8744 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
8745 |
+ emulate sh |
8746 |
+ NULLCMD=: |
8747 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
8748 |
+ # is contrary to our usage. Disable this feature. |
8749 |
+ alias -g '${1+"$@"}'='"$@"' |
8750 |
+ setopt NO_GLOB_SUBST |
8751 |
+else |
8752 |
+ case `(set -o) 2>/dev/null` in @%:@( |
8753 |
+ *posix*) : |
8754 |
+ set -o posix ;; @%:@( |
8755 |
+ *) : |
8756 |
+ ;; |
8757 |
+esac |
8758 |
+fi |
8759 |
+ |
8760 |
+ |
8761 |
+as_nl=' |
8762 |
+' |
8763 |
+export as_nl |
8764 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
8765 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
8766 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
8767 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
8768 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
8769 |
+# but without wasting forks for bash or zsh. |
8770 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
8771 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
8772 |
+ as_echo='print -r --' |
8773 |
+ as_echo_n='print -rn --' |
8774 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
8775 |
+ as_echo='printf %s\n' |
8776 |
+ as_echo_n='printf %s' |
8777 |
+else |
8778 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
8779 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
8780 |
+ as_echo_n='/usr/ucb/echo -n' |
8781 |
+ else |
8782 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
8783 |
+ as_echo_n_body='eval |
8784 |
+ arg=$1; |
8785 |
+ case $arg in @%:@( |
8786 |
+ *"$as_nl"*) |
8787 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
8788 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
8789 |
+ esac; |
8790 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
8791 |
+ ' |
8792 |
+ export as_echo_n_body |
8793 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
8794 |
+ fi |
8795 |
+ export as_echo_body |
8796 |
+ as_echo='sh -c $as_echo_body as_echo' |
8797 |
+fi |
8798 |
+ |
8799 |
+# The user is always right. |
8800 |
+if test "${PATH_SEPARATOR+set}" != set; then |
8801 |
+ PATH_SEPARATOR=: |
8802 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
8803 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
8804 |
+ PATH_SEPARATOR=';' |
8805 |
+ } |
8806 |
+fi |
8807 |
+ |
8808 |
+ |
8809 |
+# IFS |
8810 |
+# We need space, tab and new line, in precisely that order. Quoting is |
8811 |
+# there to prevent editors from complaining about space-tab. |
8812 |
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
8813 |
+# splitting by setting IFS to empty value.) |
8814 |
+IFS=" "" $as_nl" |
8815 |
+ |
8816 |
+# Find who we are. Look in the path if we contain no directory separator. |
8817 |
+as_myself= |
8818 |
+case $0 in @%:@(( |
8819 |
+ *[\\/]* ) as_myself=$0 ;; |
8820 |
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8821 |
+for as_dir in $PATH |
8822 |
+do |
8823 |
+ IFS=$as_save_IFS |
8824 |
+ test -z "$as_dir" && as_dir=. |
8825 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
8826 |
+ done |
8827 |
+IFS=$as_save_IFS |
8828 |
+ |
8829 |
+ ;; |
8830 |
+esac |
8831 |
+# We did not find ourselves, most probably we were run as `sh COMMAND' |
8832 |
+# in which case we are not to be found in the path. |
8833 |
+if test "x$as_myself" = x; then |
8834 |
+ as_myself=$0 |
8835 |
+fi |
8836 |
+if test ! -f "$as_myself"; then |
8837 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
8838 |
+ exit 1 |
8839 |
+fi |
8840 |
+ |
8841 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
8842 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
8843 |
+# suppresses any "Segmentation fault" message there. '((' could |
8844 |
+# trigger a bug in pdksh 5.2.14. |
8845 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
8846 |
+do eval test x\${$as_var+set} = xset \ |
8847 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
8848 |
+done |
8849 |
+PS1='$ ' |
8850 |
+PS2='> ' |
8851 |
+PS4='+ ' |
8852 |
+ |
8853 |
+# NLS nuisances. |
8854 |
+LC_ALL=C |
8855 |
+export LC_ALL |
8856 |
+LANGUAGE=C |
8857 |
+export LANGUAGE |
8858 |
+ |
8859 |
+# CDPATH. |
8860 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
8861 |
+ |
8862 |
+if test "x$CONFIG_SHELL" = x; then |
8863 |
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
8864 |
+ emulate sh |
8865 |
+ NULLCMD=: |
8866 |
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
8867 |
+ # is contrary to our usage. Disable this feature. |
8868 |
+ alias -g '\${1+\"\$@\"}'='\"\$@\"' |
8869 |
+ setopt NO_GLOB_SUBST |
8870 |
+else |
8871 |
+ case \`(set -o) 2>/dev/null\` in @%:@( |
8872 |
+ *posix*) : |
8873 |
+ set -o posix ;; @%:@( |
8874 |
+ *) : |
8875 |
+ ;; |
8876 |
+esac |
8877 |
+fi |
8878 |
+" |
8879 |
+ as_required="as_fn_return () { (exit \$1); } |
8880 |
+as_fn_success () { as_fn_return 0; } |
8881 |
+as_fn_failure () { as_fn_return 1; } |
8882 |
+as_fn_ret_success () { return 0; } |
8883 |
+as_fn_ret_failure () { return 1; } |
8884 |
+ |
8885 |
+exitcode=0 |
8886 |
+as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
8887 |
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
8888 |
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
8889 |
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
8890 |
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
8891 |
+ |
8892 |
+else |
8893 |
+ exitcode=1; echo positional parameters were not saved. |
8894 |
+fi |
8895 |
+test x\$exitcode = x0 || exit 1" |
8896 |
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
8897 |
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
8898 |
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
8899 |
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
8900 |
+test \$(( 1 + 1 )) = 2 || exit 1" |
8901 |
+ if (eval "$as_required") 2>/dev/null; then : |
8902 |
+ as_have_required=yes |
8903 |
+else |
8904 |
+ as_have_required=no |
8905 |
+fi |
8906 |
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
8907 |
+ |
8908 |
+else |
8909 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8910 |
+as_found=false |
8911 |
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
8912 |
+do |
8913 |
+ IFS=$as_save_IFS |
8914 |
+ test -z "$as_dir" && as_dir=. |
8915 |
+ as_found=: |
8916 |
+ case $as_dir in @%:@( |
8917 |
+ /*) |
8918 |
+ for as_base in sh bash ksh sh5; do |
8919 |
+ # Try only shells that exist, to save several forks. |
8920 |
+ as_shell=$as_dir/$as_base |
8921 |
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
8922 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
8923 |
+ CONFIG_SHELL=$as_shell as_have_required=yes |
8924 |
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
8925 |
+ break 2 |
8926 |
+fi |
8927 |
+fi |
8928 |
+ done;; |
8929 |
+ esac |
8930 |
+ as_found=false |
8931 |
+done |
8932 |
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
8933 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
8934 |
+ CONFIG_SHELL=$SHELL as_have_required=yes |
8935 |
+fi; } |
8936 |
+IFS=$as_save_IFS |
8937 |
+ |
8938 |
+ |
8939 |
+ if test "x$CONFIG_SHELL" != x; then : |
8940 |
+ # We cannot yet assume a decent shell, so we have to provide a |
8941 |
+ # neutralization value for shells without unset; and this also |
8942 |
+ # works around shells that cannot unset nonexistent variables. |
8943 |
+ # Preserve -v and -x to the replacement shell. |
8944 |
+ BASH_ENV=/dev/null |
8945 |
+ ENV=/dev/null |
8946 |
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
8947 |
+ export CONFIG_SHELL |
8948 |
+ case $- in @%:@ (((( |
8949 |
+ *v*x* | *x*v* ) as_opts=-vx ;; |
8950 |
+ *v* ) as_opts=-v ;; |
8951 |
+ *x* ) as_opts=-x ;; |
8952 |
+ * ) as_opts= ;; |
8953 |
+ esac |
8954 |
+ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
8955 |
+fi |
8956 |
+ |
8957 |
+ if test x$as_have_required = xno; then : |
8958 |
+ $as_echo "$0: This script requires a shell more modern than all" |
8959 |
+ $as_echo "$0: the shells that I found on your system." |
8960 |
+ if test x${ZSH_VERSION+set} = xset ; then |
8961 |
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
8962 |
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
8963 |
+ else |
8964 |
+ $as_echo "$0: Please tell bug-autoconf@×××.org and |
8965 |
+$0: http://bugs.gentoo.org/ about your system, including |
8966 |
+$0: any error possibly output before this message. Then |
8967 |
+$0: install a modern shell, or manually run the script |
8968 |
+$0: under such a shell if you do have one." |
8969 |
+ fi |
8970 |
+ exit 1 |
8971 |
+fi |
8972 |
+fi |
8973 |
+fi |
8974 |
+SHELL=${CONFIG_SHELL-/bin/sh} |
8975 |
+export SHELL |
8976 |
+# Unset more variables known to interfere with behavior of common tools. |
8977 |
+CLICOLOR_FORCE= GREP_OPTIONS= |
8978 |
+unset CLICOLOR_FORCE GREP_OPTIONS |
8979 |
+ |
8980 |
+## --------------------- ## |
8981 |
+## M4sh Shell Functions. ## |
8982 |
+## --------------------- ## |
8983 |
+@%:@ as_fn_unset VAR |
8984 |
+@%:@ --------------- |
8985 |
+@%:@ Portably unset VAR. |
8986 |
+as_fn_unset () |
8987 |
+{ |
8988 |
+ { eval $1=; unset $1;} |
8989 |
+} |
8990 |
+as_unset=as_fn_unset |
8991 |
+ |
8992 |
+@%:@ as_fn_set_status STATUS |
8993 |
+@%:@ ----------------------- |
8994 |
+@%:@ Set @S|@? to STATUS, without forking. |
8995 |
+as_fn_set_status () |
8996 |
+{ |
8997 |
+ return $1 |
8998 |
+} @%:@ as_fn_set_status |
8999 |
+ |
9000 |
+@%:@ as_fn_exit STATUS |
9001 |
+@%:@ ----------------- |
9002 |
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
9003 |
+as_fn_exit () |
9004 |
+{ |
9005 |
+ set +e |
9006 |
+ as_fn_set_status $1 |
9007 |
+ exit $1 |
9008 |
+} @%:@ as_fn_exit |
9009 |
+ |
9010 |
+@%:@ as_fn_mkdir_p |
9011 |
+@%:@ ------------- |
9012 |
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. |
9013 |
+as_fn_mkdir_p () |
9014 |
+{ |
9015 |
+ |
9016 |
+ case $as_dir in #( |
9017 |
+ -*) as_dir=./$as_dir;; |
9018 |
+ esac |
9019 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
9020 |
+ as_dirs= |
9021 |
+ while :; do |
9022 |
+ case $as_dir in #( |
9023 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
9024 |
+ *) as_qdir=$as_dir;; |
9025 |
+ esac |
9026 |
+ as_dirs="'$as_qdir' $as_dirs" |
9027 |
+ as_dir=`$as_dirname -- "$as_dir" || |
9028 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9029 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
9030 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
9031 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
9032 |
+$as_echo X"$as_dir" | |
9033 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
9034 |
+ s//\1/ |
9035 |
+ q |
9036 |
+ } |
9037 |
+ /^X\(\/\/\)[^/].*/{ |
9038 |
+ s//\1/ |
9039 |
+ q |
9040 |
+ } |
9041 |
+ /^X\(\/\/\)$/{ |
9042 |
+ s//\1/ |
9043 |
+ q |
9044 |
+ } |
9045 |
+ /^X\(\/\).*/{ |
9046 |
+ s//\1/ |
9047 |
+ q |
9048 |
+ } |
9049 |
+ s/.*/./; q'` |
9050 |
+ test -d "$as_dir" && break |
9051 |
+ done |
9052 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
9053 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
9054 |
+ |
9055 |
+ |
9056 |
+} @%:@ as_fn_mkdir_p |
9057 |
+@%:@ as_fn_append VAR VALUE |
9058 |
+@%:@ ---------------------- |
9059 |
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
9060 |
+@%:@ advantage of any shell optimizations that allow amortized linear growth over |
9061 |
+@%:@ repeated appends, instead of the typical quadratic growth present in naive |
9062 |
+@%:@ implementations. |
9063 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
9064 |
+ eval 'as_fn_append () |
9065 |
+ { |
9066 |
+ eval $1+=\$2 |
9067 |
+ }' |
9068 |
+else |
9069 |
+ as_fn_append () |
9070 |
+ { |
9071 |
+ eval $1=\$$1\$2 |
9072 |
+ } |
9073 |
+fi # as_fn_append |
9074 |
+ |
9075 |
+@%:@ as_fn_arith ARG... |
9076 |
+@%:@ ------------------ |
9077 |
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
9078 |
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
9079 |
+@%:@ must be portable across @S|@(()) and expr. |
9080 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
9081 |
+ eval 'as_fn_arith () |
9082 |
+ { |
9083 |
+ as_val=$(( $* )) |
9084 |
+ }' |
9085 |
+else |
9086 |
+ as_fn_arith () |
9087 |
+ { |
9088 |
+ as_val=`expr "$@" || test $? -eq 1` |
9089 |
+ } |
9090 |
+fi # as_fn_arith |
9091 |
+ |
9092 |
+ |
9093 |
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] |
9094 |
+@%:@ ---------------------------------------- |
9095 |
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
9096 |
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
9097 |
+@%:@ script with STATUS, using 1 if that was 0. |
9098 |
+as_fn_error () |
9099 |
+{ |
9100 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
9101 |
+ if test "$4"; then |
9102 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
9103 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
9104 |
+ fi |
9105 |
+ $as_echo "$as_me: error: $2" >&2 |
9106 |
+ as_fn_exit $as_status |
9107 |
+} @%:@ as_fn_error |
9108 |
+ |
9109 |
+if expr a : '\(a\)' >/dev/null 2>&1 && |
9110 |
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
9111 |
+ as_expr=expr |
9112 |
+else |
9113 |
+ as_expr=false |
9114 |
+fi |
9115 |
+ |
9116 |
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
9117 |
+ as_basename=basename |
9118 |
+else |
9119 |
+ as_basename=false |
9120 |
+fi |
9121 |
+ |
9122 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
9123 |
+ as_dirname=dirname |
9124 |
+else |
9125 |
+ as_dirname=false |
9126 |
+fi |
9127 |
+ |
9128 |
+as_me=`$as_basename -- "$0" || |
9129 |
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
9130 |
+ X"$0" : 'X\(//\)$' \| \ |
9131 |
+ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
9132 |
+$as_echo X/"$0" | |
9133 |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
9134 |
+ s//\1/ |
9135 |
+ q |
9136 |
+ } |
9137 |
+ /^X\/\(\/\/\)$/{ |
9138 |
+ s//\1/ |
9139 |
+ q |
9140 |
+ } |
9141 |
+ /^X\/\(\/\).*/{ |
9142 |
+ s//\1/ |
9143 |
+ q |
9144 |
+ } |
9145 |
+ s/.*/./; q'` |
9146 |
+ |
9147 |
+# Avoid depending upon Character Ranges. |
9148 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
9149 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
9150 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
9151 |
+as_cr_digits='0123456789' |
9152 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
9153 |
+ |
9154 |
+ |
9155 |
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO |
9156 |
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO |
9157 |
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
9158 |
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
9159 |
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
9160 |
+ sed -n ' |
9161 |
+ p |
9162 |
+ /[$]LINENO/= |
9163 |
+ ' <$as_myself | |
9164 |
+ sed ' |
9165 |
+ s/[$]LINENO.*/&-/ |
9166 |
+ t lineno |
9167 |
+ b |
9168 |
+ :lineno |
9169 |
+ N |
9170 |
+ :loop |
9171 |
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
9172 |
+ t loop |
9173 |
+ s/-\n.*// |
9174 |
+ ' >$as_me.lineno && |
9175 |
+ chmod +x "$as_me.lineno" || |
9176 |
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
9177 |
+ |
9178 |
+ # Don't try to exec as it changes $[0], causing all sort of problems |
9179 |
+ # (the dirname of $[0] is not the place where we might find the |
9180 |
+ # original and so on. Autoconf is especially sensitive to this). |
9181 |
+ . "./$as_me.lineno" |
9182 |
+ # Exit status is that of the last command. |
9183 |
+ exit |
9184 |
+} |
9185 |
+ |
9186 |
+ECHO_C= ECHO_N= ECHO_T= |
9187 |
+case `echo -n x` in @%:@((((( |
9188 |
+-n*) |
9189 |
+ case `echo 'xy\c'` in |
9190 |
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
9191 |
+ xy) ECHO_C='\c';; |
9192 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
9193 |
+ ECHO_T=' ';; |
9194 |
+ esac;; |
9195 |
+*) |
9196 |
+ ECHO_N='-n';; |
9197 |
+esac |
9198 |
+ |
9199 |
+rm -f conf$$ conf$$.exe conf$$.file |
9200 |
+if test -d conf$$.dir; then |
9201 |
+ rm -f conf$$.dir/conf$$.file |
9202 |
+else |
9203 |
+ rm -f conf$$.dir |
9204 |
+ mkdir conf$$.dir 2>/dev/null |
9205 |
+fi |
9206 |
+if (echo >conf$$.file) 2>/dev/null; then |
9207 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
9208 |
+ as_ln_s='ln -s' |
9209 |
+ # ... but there are two gotchas: |
9210 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
9211 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
9212 |
+ # In both cases, we have to default to `cp -p'. |
9213 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
9214 |
+ as_ln_s='cp -p' |
9215 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
9216 |
+ as_ln_s=ln |
9217 |
+ else |
9218 |
+ as_ln_s='cp -p' |
9219 |
+ fi |
9220 |
+else |
9221 |
+ as_ln_s='cp -p' |
9222 |
+fi |
9223 |
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
9224 |
+rmdir conf$$.dir 2>/dev/null |
9225 |
+ |
9226 |
+if mkdir -p . 2>/dev/null; then |
9227 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
9228 |
+else |
9229 |
+ test -d ./-p && rmdir ./-p |
9230 |
+ as_mkdir_p=false |
9231 |
+fi |
9232 |
+ |
9233 |
+if test -x / >/dev/null 2>&1; then |
9234 |
+ as_test_x='test -x' |
9235 |
+else |
9236 |
+ if ls -dL / >/dev/null 2>&1; then |
9237 |
+ as_ls_L_option=L |
9238 |
+ else |
9239 |
+ as_ls_L_option= |
9240 |
+ fi |
9241 |
+ as_test_x=' |
9242 |
+ eval sh -c '\'' |
9243 |
+ if test -d "$1"; then |
9244 |
+ test -d "$1/."; |
9245 |
+ else |
9246 |
+ case $1 in @%:@( |
9247 |
+ -*)set "./$1";; |
9248 |
+ esac; |
9249 |
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( |
9250 |
+ ???[sx]*):;;*)false;;esac;fi |
9251 |
+ '\'' sh |
9252 |
+ ' |
9253 |
+fi |
9254 |
+as_executable_p=$as_test_x |
9255 |
+ |
9256 |
+# Sed expression to map a string onto a valid CPP name. |
9257 |
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
9258 |
+ |
9259 |
+# Sed expression to map a string onto a valid variable name. |
9260 |
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
9261 |
+ |
9262 |
+ |
9263 |
+test -n "$DJDIR" || exec 7<&0 </dev/null |
9264 |
+exec 6>&1 |
9265 |
+ |
9266 |
+# Name of the host. |
9267 |
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
9268 |
+# so uname gets run too. |
9269 |
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
9270 |
+ |
9271 |
+# |
9272 |
+# Initializations. |
9273 |
+# |
9274 |
+ac_default_prefix=/usr/local |
9275 |
+ac_clean_files= |
9276 |
+ac_config_libobj_dir=. |
9277 |
+LIB@&t@OBJS= |
9278 |
+cross_compiling=no |
9279 |
+subdirs= |
9280 |
+MFLAGS= |
9281 |
+MAKEFLAGS= |
9282 |
+ |
9283 |
+# Identity of this package. |
9284 |
+PACKAGE_NAME='elfix' |
9285 |
+PACKAGE_TARNAME='elfix' |
9286 |
+PACKAGE_VERSION='0.4.0' |
9287 |
+PACKAGE_STRING='elfix 0.4.0' |
9288 |
+PACKAGE_BUGREPORT='http://bugs.gentoo.org/' |
9289 |
+PACKAGE_URL='' |
9290 |
+ |
9291 |
+ac_unique_file="src/fix-gnustack.c" |
9292 |
+# Factoring default headers for most tests. |
9293 |
+ac_includes_default="\ |
9294 |
+#include <stdio.h> |
9295 |
+#ifdef HAVE_SYS_TYPES_H |
9296 |
+# include <sys/types.h> |
9297 |
+#endif |
9298 |
+#ifdef HAVE_SYS_STAT_H |
9299 |
+# include <sys/stat.h> |
9300 |
+#endif |
9301 |
+#ifdef STDC_HEADERS |
9302 |
+# include <stdlib.h> |
9303 |
+# include <stddef.h> |
9304 |
+#else |
9305 |
+# ifdef HAVE_STDLIB_H |
9306 |
+# include <stdlib.h> |
9307 |
+# endif |
9308 |
+#endif |
9309 |
+#ifdef HAVE_STRING_H |
9310 |
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
9311 |
+# include <memory.h> |
9312 |
+# endif |
9313 |
+# include <string.h> |
9314 |
+#endif |
9315 |
+#ifdef HAVE_STRINGS_H |
9316 |
+# include <strings.h> |
9317 |
+#endif |
9318 |
+#ifdef HAVE_INTTYPES_H |
9319 |
+# include <inttypes.h> |
9320 |
+#endif |
9321 |
+#ifdef HAVE_STDINT_H |
9322 |
+# include <stdint.h> |
9323 |
+#endif |
9324 |
+#ifdef HAVE_UNISTD_H |
9325 |
+# include <unistd.h> |
9326 |
+#endif" |
9327 |
+ |
9328 |
+ac_header_list= |
9329 |
+ac_subst_vars='am__EXEEXT_FALSE |
9330 |
+am__EXEEXT_TRUE |
9331 |
+LTLIBOBJS |
9332 |
+LIB@&t@OBJS |
9333 |
+EGREP |
9334 |
+GREP |
9335 |
+CPP |
9336 |
+am__fastdepCC_FALSE |
9337 |
+am__fastdepCC_TRUE |
9338 |
+CCDEPMODE |
9339 |
+AMDEPBACKSLASH |
9340 |
+AMDEP_FALSE |
9341 |
+AMDEP_TRUE |
9342 |
+am__quote |
9343 |
+am__include |
9344 |
+DEPDIR |
9345 |
+OBJEXT |
9346 |
+EXEEXT |
9347 |
+ac_ct_CC |
9348 |
+CPPFLAGS |
9349 |
+LDFLAGS |
9350 |
+CFLAGS |
9351 |
+CC |
9352 |
+TEST_FALSE |
9353 |
+TEST_TRUE |
9354 |
+has_yasm |
9355 |
+am__untar |
9356 |
+am__tar |
9357 |
+AMTAR |
9358 |
+am__leading_dot |
9359 |
+SET_MAKE |
9360 |
+AWK |
9361 |
+mkdir_p |
9362 |
+MKDIR_P |
9363 |
+INSTALL_STRIP_PROGRAM |
9364 |
+STRIP |
9365 |
+install_sh |
9366 |
+MAKEINFO |
9367 |
+AUTOHEADER |
9368 |
+AUTOMAKE |
9369 |
+AUTOCONF |
9370 |
+ACLOCAL |
9371 |
+VERSION |
9372 |
+PACKAGE |
9373 |
+CYGPATH_W |
9374 |
+am__isrc |
9375 |
+INSTALL_DATA |
9376 |
+INSTALL_SCRIPT |
9377 |
+INSTALL_PROGRAM |
9378 |
+target_alias |
9379 |
+host_alias |
9380 |
+build_alias |
9381 |
+LIBS |
9382 |
+ECHO_T |
9383 |
+ECHO_N |
9384 |
+ECHO_C |
9385 |
+DEFS |
9386 |
+mandir |
9387 |
+localedir |
9388 |
+libdir |
9389 |
+psdir |
9390 |
+pdfdir |
9391 |
+dvidir |
9392 |
+htmldir |
9393 |
+infodir |
9394 |
+docdir |
9395 |
+oldincludedir |
9396 |
+includedir |
9397 |
+localstatedir |
9398 |
+sharedstatedir |
9399 |
+sysconfdir |
9400 |
+datadir |
9401 |
+datarootdir |
9402 |
+libexecdir |
9403 |
+sbindir |
9404 |
+bindir |
9405 |
+program_transform_name |
9406 |
+prefix |
9407 |
+exec_prefix |
9408 |
+PACKAGE_URL |
9409 |
+PACKAGE_BUGREPORT |
9410 |
+PACKAGE_STRING |
9411 |
+PACKAGE_VERSION |
9412 |
+PACKAGE_TARNAME |
9413 |
+PACKAGE_NAME |
9414 |
+PATH_SEPARATOR |
9415 |
+SHELL' |
9416 |
+ac_subst_files='' |
9417 |
+ac_user_opts=' |
9418 |
+enable_option_checking |
9419 |
+enable_tests |
9420 |
+enable_xattr |
9421 |
+enable_dependency_tracking |
9422 |
+' |
9423 |
+ ac_precious_vars='build_alias |
9424 |
+host_alias |
9425 |
+target_alias |
9426 |
+CC |
9427 |
+CFLAGS |
9428 |
+LDFLAGS |
9429 |
+LIBS |
9430 |
+CPPFLAGS |
9431 |
+CPP' |
9432 |
+ |
9433 |
+ |
9434 |
+# Initialize some variables set by options. |
9435 |
+ac_init_help= |
9436 |
+ac_init_version=false |
9437 |
+ac_unrecognized_opts= |
9438 |
+ac_unrecognized_sep= |
9439 |
+# The variables have the same names as the options, with |
9440 |
+# dashes changed to underlines. |
9441 |
+cache_file=/dev/null |
9442 |
+exec_prefix=NONE |
9443 |
+no_create= |
9444 |
+no_recursion= |
9445 |
+prefix=NONE |
9446 |
+program_prefix=NONE |
9447 |
+program_suffix=NONE |
9448 |
+program_transform_name=s,x,x, |
9449 |
+silent= |
9450 |
+site= |
9451 |
+srcdir= |
9452 |
+verbose= |
9453 |
+x_includes=NONE |
9454 |
+x_libraries=NONE |
9455 |
+ |
9456 |
+# Installation directory options. |
9457 |
+# These are left unexpanded so users can "make install exec_prefix=/foo" |
9458 |
+# and all the variables that are supposed to be based on exec_prefix |
9459 |
+# by default will actually change. |
9460 |
+# Use braces instead of parens because sh, perl, etc. also accept them. |
9461 |
+# (The list follows the same order as the GNU Coding Standards.) |
9462 |
+bindir='${exec_prefix}/bin' |
9463 |
+sbindir='${exec_prefix}/sbin' |
9464 |
+libexecdir='${exec_prefix}/libexec' |
9465 |
+datarootdir='${prefix}/share' |
9466 |
+datadir='${datarootdir}' |
9467 |
+sysconfdir='${prefix}/etc' |
9468 |
+sharedstatedir='${prefix}/com' |
9469 |
+localstatedir='${prefix}/var' |
9470 |
+includedir='${prefix}/include' |
9471 |
+oldincludedir='/usr/include' |
9472 |
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
9473 |
+infodir='${datarootdir}/info' |
9474 |
+htmldir='${docdir}' |
9475 |
+dvidir='${docdir}' |
9476 |
+pdfdir='${docdir}' |
9477 |
+psdir='${docdir}' |
9478 |
+libdir='${exec_prefix}/lib' |
9479 |
+localedir='${datarootdir}/locale' |
9480 |
+mandir='${datarootdir}/man' |
9481 |
+ |
9482 |
+ac_prev= |
9483 |
+ac_dashdash= |
9484 |
+for ac_option |
9485 |
+do |
9486 |
+ # If the previous option needs an argument, assign it. |
9487 |
+ if test -n "$ac_prev"; then |
9488 |
+ eval $ac_prev=\$ac_option |
9489 |
+ ac_prev= |
9490 |
+ continue |
9491 |
+ fi |
9492 |
+ |
9493 |
+ case $ac_option in |
9494 |
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
9495 |
+ *=) ac_optarg= ;; |
9496 |
+ *) ac_optarg=yes ;; |
9497 |
+ esac |
9498 |
+ |
9499 |
+ # Accept the important Cygnus configure options, so we can diagnose typos. |
9500 |
+ |
9501 |
+ case $ac_dashdash$ac_option in |
9502 |
+ --) |
9503 |
+ ac_dashdash=yes ;; |
9504 |
+ |
9505 |
+ -bindir | --bindir | --bindi | --bind | --bin | --bi) |
9506 |
+ ac_prev=bindir ;; |
9507 |
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
9508 |
+ bindir=$ac_optarg ;; |
9509 |
+ |
9510 |
+ -build | --build | --buil | --bui | --bu) |
9511 |
+ ac_prev=build_alias ;; |
9512 |
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
9513 |
+ build_alias=$ac_optarg ;; |
9514 |
+ |
9515 |
+ -cache-file | --cache-file | --cache-fil | --cache-fi \ |
9516 |
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
9517 |
+ ac_prev=cache_file ;; |
9518 |
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
9519 |
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
9520 |
+ cache_file=$ac_optarg ;; |
9521 |
+ |
9522 |
+ --config-cache | -C) |
9523 |
+ cache_file=config.cache ;; |
9524 |
+ |
9525 |
+ -datadir | --datadir | --datadi | --datad) |
9526 |
+ ac_prev=datadir ;; |
9527 |
+ -datadir=* | --datadir=* | --datadi=* | --datad=*) |
9528 |
+ datadir=$ac_optarg ;; |
9529 |
+ |
9530 |
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
9531 |
+ | --dataroo | --dataro | --datar) |
9532 |
+ ac_prev=datarootdir ;; |
9533 |
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
9534 |
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
9535 |
+ datarootdir=$ac_optarg ;; |
9536 |
+ |
9537 |
+ -disable-* | --disable-*) |
9538 |
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
9539 |
+ # Reject names that are not valid shell variable names. |
9540 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
9541 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
9542 |
+ ac_useropt_orig=$ac_useropt |
9543 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
9544 |
+ case $ac_user_opts in |
9545 |
+ *" |
9546 |
+"enable_$ac_useropt" |
9547 |
+"*) ;; |
9548 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
9549 |
+ ac_unrecognized_sep=', ';; |
9550 |
+ esac |
9551 |
+ eval enable_$ac_useropt=no ;; |
9552 |
+ |
9553 |
+ -docdir | --docdir | --docdi | --doc | --do) |
9554 |
+ ac_prev=docdir ;; |
9555 |
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
9556 |
+ docdir=$ac_optarg ;; |
9557 |
+ |
9558 |
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
9559 |
+ ac_prev=dvidir ;; |
9560 |
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
9561 |
+ dvidir=$ac_optarg ;; |
9562 |
+ |
9563 |
+ -enable-* | --enable-*) |
9564 |
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
9565 |
+ # Reject names that are not valid shell variable names. |
9566 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
9567 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
9568 |
+ ac_useropt_orig=$ac_useropt |
9569 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
9570 |
+ case $ac_user_opts in |
9571 |
+ *" |
9572 |
+"enable_$ac_useropt" |
9573 |
+"*) ;; |
9574 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
9575 |
+ ac_unrecognized_sep=', ';; |
9576 |
+ esac |
9577 |
+ eval enable_$ac_useropt=\$ac_optarg ;; |
9578 |
+ |
9579 |
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
9580 |
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
9581 |
+ | --exec | --exe | --ex) |
9582 |
+ ac_prev=exec_prefix ;; |
9583 |
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
9584 |
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
9585 |
+ | --exec=* | --exe=* | --ex=*) |
9586 |
+ exec_prefix=$ac_optarg ;; |
9587 |
+ |
9588 |
+ -gas | --gas | --ga | --g) |
9589 |
+ # Obsolete; use --with-gas. |
9590 |
+ with_gas=yes ;; |
9591 |
+ |
9592 |
+ -help | --help | --hel | --he | -h) |
9593 |
+ ac_init_help=long ;; |
9594 |
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
9595 |
+ ac_init_help=recursive ;; |
9596 |
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
9597 |
+ ac_init_help=short ;; |
9598 |
+ |
9599 |
+ -host | --host | --hos | --ho) |
9600 |
+ ac_prev=host_alias ;; |
9601 |
+ -host=* | --host=* | --hos=* | --ho=*) |
9602 |
+ host_alias=$ac_optarg ;; |
9603 |
+ |
9604 |
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
9605 |
+ ac_prev=htmldir ;; |
9606 |
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
9607 |
+ | --ht=*) |
9608 |
+ htmldir=$ac_optarg ;; |
9609 |
+ |
9610 |
+ -includedir | --includedir | --includedi | --included | --include \ |
9611 |
+ | --includ | --inclu | --incl | --inc) |
9612 |
+ ac_prev=includedir ;; |
9613 |
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
9614 |
+ | --includ=* | --inclu=* | --incl=* | --inc=*) |
9615 |
+ includedir=$ac_optarg ;; |
9616 |
+ |
9617 |
+ -infodir | --infodir | --infodi | --infod | --info | --inf) |
9618 |
+ ac_prev=infodir ;; |
9619 |
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
9620 |
+ infodir=$ac_optarg ;; |
9621 |
+ |
9622 |
+ -libdir | --libdir | --libdi | --libd) |
9623 |
+ ac_prev=libdir ;; |
9624 |
+ -libdir=* | --libdir=* | --libdi=* | --libd=*) |
9625 |
+ libdir=$ac_optarg ;; |
9626 |
+ |
9627 |
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
9628 |
+ | --libexe | --libex | --libe) |
9629 |
+ ac_prev=libexecdir ;; |
9630 |
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
9631 |
+ | --libexe=* | --libex=* | --libe=*) |
9632 |
+ libexecdir=$ac_optarg ;; |
9633 |
+ |
9634 |
+ -localedir | --localedir | --localedi | --localed | --locale) |
9635 |
+ ac_prev=localedir ;; |
9636 |
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
9637 |
+ localedir=$ac_optarg ;; |
9638 |
+ |
9639 |
+ -localstatedir | --localstatedir | --localstatedi | --localstated \ |
9640 |
+ | --localstate | --localstat | --localsta | --localst | --locals) |
9641 |
+ ac_prev=localstatedir ;; |
9642 |
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
9643 |
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
9644 |
+ localstatedir=$ac_optarg ;; |
9645 |
+ |
9646 |
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
9647 |
+ ac_prev=mandir ;; |
9648 |
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
9649 |
+ mandir=$ac_optarg ;; |
9650 |
+ |
9651 |
+ -nfp | --nfp | --nf) |
9652 |
+ # Obsolete; use --without-fp. |
9653 |
+ with_fp=no ;; |
9654 |
+ |
9655 |
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
9656 |
+ | --no-cr | --no-c | -n) |
9657 |
+ no_create=yes ;; |
9658 |
+ |
9659 |
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
9660 |
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
9661 |
+ no_recursion=yes ;; |
9662 |
+ |
9663 |
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
9664 |
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
9665 |
+ | --oldin | --oldi | --old | --ol | --o) |
9666 |
+ ac_prev=oldincludedir ;; |
9667 |
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
9668 |
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
9669 |
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
9670 |
+ oldincludedir=$ac_optarg ;; |
9671 |
+ |
9672 |
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
9673 |
+ ac_prev=prefix ;; |
9674 |
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
9675 |
+ prefix=$ac_optarg ;; |
9676 |
+ |
9677 |
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
9678 |
+ | --program-pre | --program-pr | --program-p) |
9679 |
+ ac_prev=program_prefix ;; |
9680 |
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
9681 |
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
9682 |
+ program_prefix=$ac_optarg ;; |
9683 |
+ |
9684 |
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
9685 |
+ | --program-suf | --program-su | --program-s) |
9686 |
+ ac_prev=program_suffix ;; |
9687 |
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
9688 |
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
9689 |
+ program_suffix=$ac_optarg ;; |
9690 |
+ |
9691 |
+ -program-transform-name | --program-transform-name \ |
9692 |
+ | --program-transform-nam | --program-transform-na \ |
9693 |
+ | --program-transform-n | --program-transform- \ |
9694 |
+ | --program-transform | --program-transfor \ |
9695 |
+ | --program-transfo | --program-transf \ |
9696 |
+ | --program-trans | --program-tran \ |
9697 |
+ | --progr-tra | --program-tr | --program-t) |
9698 |
+ ac_prev=program_transform_name ;; |
9699 |
+ -program-transform-name=* | --program-transform-name=* \ |
9700 |
+ | --program-transform-nam=* | --program-transform-na=* \ |
9701 |
+ | --program-transform-n=* | --program-transform-=* \ |
9702 |
+ | --program-transform=* | --program-transfor=* \ |
9703 |
+ | --program-transfo=* | --program-transf=* \ |
9704 |
+ | --program-trans=* | --program-tran=* \ |
9705 |
+ | --progr-tra=* | --program-tr=* | --program-t=*) |
9706 |
+ program_transform_name=$ac_optarg ;; |
9707 |
+ |
9708 |
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
9709 |
+ ac_prev=pdfdir ;; |
9710 |
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
9711 |
+ pdfdir=$ac_optarg ;; |
9712 |
+ |
9713 |
+ -psdir | --psdir | --psdi | --psd | --ps) |
9714 |
+ ac_prev=psdir ;; |
9715 |
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
9716 |
+ psdir=$ac_optarg ;; |
9717 |
+ |
9718 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
9719 |
+ | -silent | --silent | --silen | --sile | --sil) |
9720 |
+ silent=yes ;; |
9721 |
+ |
9722 |
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
9723 |
+ ac_prev=sbindir ;; |
9724 |
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
9725 |
+ | --sbi=* | --sb=*) |
9726 |
+ sbindir=$ac_optarg ;; |
9727 |
+ |
9728 |
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
9729 |
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
9730 |
+ | --sharedst | --shareds | --shared | --share | --shar \ |
9731 |
+ | --sha | --sh) |
9732 |
+ ac_prev=sharedstatedir ;; |
9733 |
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
9734 |
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
9735 |
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
9736 |
+ | --sha=* | --sh=*) |
9737 |
+ sharedstatedir=$ac_optarg ;; |
9738 |
+ |
9739 |
+ -site | --site | --sit) |
9740 |
+ ac_prev=site ;; |
9741 |
+ -site=* | --site=* | --sit=*) |
9742 |
+ site=$ac_optarg ;; |
9743 |
+ |
9744 |
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
9745 |
+ ac_prev=srcdir ;; |
9746 |
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
9747 |
+ srcdir=$ac_optarg ;; |
9748 |
+ |
9749 |
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
9750 |
+ | --syscon | --sysco | --sysc | --sys | --sy) |
9751 |
+ ac_prev=sysconfdir ;; |
9752 |
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
9753 |
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
9754 |
+ sysconfdir=$ac_optarg ;; |
9755 |
+ |
9756 |
+ -target | --target | --targe | --targ | --tar | --ta | --t) |
9757 |
+ ac_prev=target_alias ;; |
9758 |
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
9759 |
+ target_alias=$ac_optarg ;; |
9760 |
+ |
9761 |
+ -v | -verbose | --verbose | --verbos | --verbo | --verb) |
9762 |
+ verbose=yes ;; |
9763 |
+ |
9764 |
+ -version | --version | --versio | --versi | --vers | -V) |
9765 |
+ ac_init_version=: ;; |
9766 |
+ |
9767 |
+ -with-* | --with-*) |
9768 |
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
9769 |
+ # Reject names that are not valid shell variable names. |
9770 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
9771 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
9772 |
+ ac_useropt_orig=$ac_useropt |
9773 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
9774 |
+ case $ac_user_opts in |
9775 |
+ *" |
9776 |
+"with_$ac_useropt" |
9777 |
+"*) ;; |
9778 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
9779 |
+ ac_unrecognized_sep=', ';; |
9780 |
+ esac |
9781 |
+ eval with_$ac_useropt=\$ac_optarg ;; |
9782 |
+ |
9783 |
+ -without-* | --without-*) |
9784 |
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
9785 |
+ # Reject names that are not valid shell variable names. |
9786 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
9787 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
9788 |
+ ac_useropt_orig=$ac_useropt |
9789 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
9790 |
+ case $ac_user_opts in |
9791 |
+ *" |
9792 |
+"with_$ac_useropt" |
9793 |
+"*) ;; |
9794 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
9795 |
+ ac_unrecognized_sep=', ';; |
9796 |
+ esac |
9797 |
+ eval with_$ac_useropt=no ;; |
9798 |
+ |
9799 |
+ --x) |
9800 |
+ # Obsolete; use --with-x. |
9801 |
+ with_x=yes ;; |
9802 |
+ |
9803 |
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
9804 |
+ | --x-incl | --x-inc | --x-in | --x-i) |
9805 |
+ ac_prev=x_includes ;; |
9806 |
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
9807 |
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
9808 |
+ x_includes=$ac_optarg ;; |
9809 |
+ |
9810 |
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
9811 |
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
9812 |
+ ac_prev=x_libraries ;; |
9813 |
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
9814 |
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
9815 |
+ x_libraries=$ac_optarg ;; |
9816 |
+ |
9817 |
+ -*) as_fn_error $? "unrecognized option: \`$ac_option' |
9818 |
+Try \`$0 --help' for more information" |
9819 |
+ ;; |
9820 |
+ |
9821 |
+ *=*) |
9822 |
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
9823 |
+ # Reject names that are not valid shell variable names. |
9824 |
+ case $ac_envvar in #( |
9825 |
+ '' | [0-9]* | *[!_$as_cr_alnum]* ) |
9826 |
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
9827 |
+ esac |
9828 |
+ eval $ac_envvar=\$ac_optarg |
9829 |
+ export $ac_envvar ;; |
9830 |
+ |
9831 |
+ *) |
9832 |
+ # FIXME: should be removed in autoconf 3.0. |
9833 |
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
9834 |
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
9835 |
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
9836 |
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
9837 |
+ ;; |
9838 |
+ |
9839 |
+ esac |
9840 |
+done |
9841 |
+ |
9842 |
+if test -n "$ac_prev"; then |
9843 |
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
9844 |
+ as_fn_error $? "missing argument to $ac_option" |
9845 |
+fi |
9846 |
+ |
9847 |
+if test -n "$ac_unrecognized_opts"; then |
9848 |
+ case $enable_option_checking in |
9849 |
+ no) ;; |
9850 |
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
9851 |
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
9852 |
+ esac |
9853 |
+fi |
9854 |
+ |
9855 |
+# Check all directory arguments for consistency. |
9856 |
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
9857 |
+ datadir sysconfdir sharedstatedir localstatedir includedir \ |
9858 |
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
9859 |
+ libdir localedir mandir |
9860 |
+do |
9861 |
+ eval ac_val=\$$ac_var |
9862 |
+ # Remove trailing slashes. |
9863 |
+ case $ac_val in |
9864 |
+ */ ) |
9865 |
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
9866 |
+ eval $ac_var=\$ac_val;; |
9867 |
+ esac |
9868 |
+ # Be sure to have absolute directory names. |
9869 |
+ case $ac_val in |
9870 |
+ [\\/$]* | ?:[\\/]* ) continue;; |
9871 |
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
9872 |
+ esac |
9873 |
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
9874 |
+done |
9875 |
+ |
9876 |
+# There might be people who depend on the old broken behavior: `$host' |
9877 |
+# used to hold the argument of --host etc. |
9878 |
+# FIXME: To remove some day. |
9879 |
+build=$build_alias |
9880 |
+host=$host_alias |
9881 |
+target=$target_alias |
9882 |
+ |
9883 |
+# FIXME: To remove some day. |
9884 |
+if test "x$host_alias" != x; then |
9885 |
+ if test "x$build_alias" = x; then |
9886 |
+ cross_compiling=maybe |
9887 |
+ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
9888 |
+ If a cross compiler is detected then cross compile mode will be used" >&2 |
9889 |
+ elif test "x$build_alias" != "x$host_alias"; then |
9890 |
+ cross_compiling=yes |
9891 |
+ fi |
9892 |
+fi |
9893 |
+ |
9894 |
+ac_tool_prefix= |
9895 |
+test -n "$host_alias" && ac_tool_prefix=$host_alias- |
9896 |
+ |
9897 |
+test "$silent" = yes && exec 6>/dev/null |
9898 |
+ |
9899 |
+ |
9900 |
+ac_pwd=`pwd` && test -n "$ac_pwd" && |
9901 |
+ac_ls_di=`ls -di .` && |
9902 |
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
9903 |
+ as_fn_error $? "working directory cannot be determined" |
9904 |
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
9905 |
+ as_fn_error $? "pwd does not report name of working directory" |
9906 |
+ |
9907 |
+ |
9908 |
+# Find the source files, if location was not specified. |
9909 |
+if test -z "$srcdir"; then |
9910 |
+ ac_srcdir_defaulted=yes |
9911 |
+ # Try the directory containing this script, then the parent directory. |
9912 |
+ ac_confdir=`$as_dirname -- "$as_myself" || |
9913 |
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9914 |
+ X"$as_myself" : 'X\(//\)[^/]' \| \ |
9915 |
+ X"$as_myself" : 'X\(//\)$' \| \ |
9916 |
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
9917 |
+$as_echo X"$as_myself" | |
9918 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
9919 |
+ s//\1/ |
9920 |
+ q |
9921 |
+ } |
9922 |
+ /^X\(\/\/\)[^/].*/{ |
9923 |
+ s//\1/ |
9924 |
+ q |
9925 |
+ } |
9926 |
+ /^X\(\/\/\)$/{ |
9927 |
+ s//\1/ |
9928 |
+ q |
9929 |
+ } |
9930 |
+ /^X\(\/\).*/{ |
9931 |
+ s//\1/ |
9932 |
+ q |
9933 |
+ } |
9934 |
+ s/.*/./; q'` |
9935 |
+ srcdir=$ac_confdir |
9936 |
+ if test ! -r "$srcdir/$ac_unique_file"; then |
9937 |
+ srcdir=.. |
9938 |
+ fi |
9939 |
+else |
9940 |
+ ac_srcdir_defaulted=no |
9941 |
+fi |
9942 |
+if test ! -r "$srcdir/$ac_unique_file"; then |
9943 |
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
9944 |
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
9945 |
+fi |
9946 |
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
9947 |
+ac_abs_confdir=`( |
9948 |
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
9949 |
+ pwd)` |
9950 |
+# When building in place, set srcdir=. |
9951 |
+if test "$ac_abs_confdir" = "$ac_pwd"; then |
9952 |
+ srcdir=. |
9953 |
+fi |
9954 |
+# Remove unnecessary trailing slashes from srcdir. |
9955 |
+# Double slashes in file names in object file debugging info |
9956 |
+# mess up M-x gdb in Emacs. |
9957 |
+case $srcdir in |
9958 |
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
9959 |
+esac |
9960 |
+for ac_var in $ac_precious_vars; do |
9961 |
+ eval ac_env_${ac_var}_set=\${${ac_var}+set} |
9962 |
+ eval ac_env_${ac_var}_value=\$${ac_var} |
9963 |
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
9964 |
+ eval ac_cv_env_${ac_var}_value=\$${ac_var} |
9965 |
+done |
9966 |
+ |
9967 |
+# |
9968 |
+# Report the --help message. |
9969 |
+# |
9970 |
+if test "$ac_init_help" = "long"; then |
9971 |
+ # Omit some internal or obsolete options to make the list less imposing. |
9972 |
+ # This message is too long to be a string in the A/UX 3.1 sh. |
9973 |
+ cat <<_ACEOF |
9974 |
+\`configure' configures elfix 0.4.0 to adapt to many kinds of systems. |
9975 |
+ |
9976 |
+Usage: $0 [OPTION]... [VAR=VALUE]... |
9977 |
+ |
9978 |
+To assign environment variables (e.g., CC, CFLAGS...), specify them as |
9979 |
+VAR=VALUE. See below for descriptions of some of the useful variables. |
9980 |
+ |
9981 |
+Defaults for the options are specified in brackets. |
9982 |
+ |
9983 |
+Configuration: |
9984 |
+ -h, --help display this help and exit |
9985 |
+ --help=short display options specific to this package |
9986 |
+ --help=recursive display the short help of all the included packages |
9987 |
+ -V, --version display version information and exit |
9988 |
+ -q, --quiet, --silent do not print \`checking ...' messages |
9989 |
+ --cache-file=FILE cache test results in FILE [disabled] |
9990 |
+ -C, --config-cache alias for \`--cache-file=config.cache' |
9991 |
+ -n, --no-create do not create output files |
9992 |
+ --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
9993 |
+ |
9994 |
+Installation directories: |
9995 |
+ --prefix=PREFIX install architecture-independent files in PREFIX |
9996 |
+ @<:@@S|@ac_default_prefix@:>@ |
9997 |
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
9998 |
+ @<:@PREFIX@:>@ |
9999 |
+ |
10000 |
+By default, \`make install' will install all the files in |
10001 |
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
10002 |
+an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
10003 |
+for instance \`--prefix=\$HOME'. |
10004 |
+ |
10005 |
+For better control, use the options below. |
10006 |
+ |
10007 |
+Fine tuning of the installation directories: |
10008 |
+ --bindir=DIR user executables [EPREFIX/bin] |
10009 |
+ --sbindir=DIR system admin executables [EPREFIX/sbin] |
10010 |
+ --libexecdir=DIR program executables [EPREFIX/libexec] |
10011 |
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
10012 |
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
10013 |
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
10014 |
+ --libdir=DIR object code libraries [EPREFIX/lib] |
10015 |
+ --includedir=DIR C header files [PREFIX/include] |
10016 |
+ --oldincludedir=DIR C header files for non-gcc [/usr/include] |
10017 |
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
10018 |
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
10019 |
+ --infodir=DIR info documentation [DATAROOTDIR/info] |
10020 |
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
10021 |
+ --mandir=DIR man documentation [DATAROOTDIR/man] |
10022 |
+ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/elfix@:>@ |
10023 |
+ --htmldir=DIR html documentation [DOCDIR] |
10024 |
+ --dvidir=DIR dvi documentation [DOCDIR] |
10025 |
+ --pdfdir=DIR pdf documentation [DOCDIR] |
10026 |
+ --psdir=DIR ps documentation [DOCDIR] |
10027 |
+_ACEOF |
10028 |
+ |
10029 |
+ cat <<\_ACEOF |
10030 |
+ |
10031 |
+Program names: |
10032 |
+ --program-prefix=PREFIX prepend PREFIX to installed program names |
10033 |
+ --program-suffix=SUFFIX append SUFFIX to installed program names |
10034 |
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
10035 |
+_ACEOF |
10036 |
+fi |
10037 |
+ |
10038 |
+if test -n "$ac_init_help"; then |
10039 |
+ case $ac_init_help in |
10040 |
+ short | recursive ) echo "Configuration of elfix 0.4.0:";; |
10041 |
+ esac |
10042 |
+ cat <<\_ACEOF |
10043 |
+ |
10044 |
+Optional Features: |
10045 |
+ --disable-option-checking ignore unrecognized --enable/--with options |
10046 |
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
10047 |
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
10048 |
+ --enable-tests perform tests |
10049 |
+ --enable-xattr enable support for pax markings in xattrs |
10050 |
+ --disable-dependency-tracking speeds up one-time build |
10051 |
+ --enable-dependency-tracking do not reject slow dependency extractors |
10052 |
+ |
10053 |
+Some influential environment variables: |
10054 |
+ CC C compiler command |
10055 |
+ CFLAGS C compiler flags |
10056 |
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
10057 |
+ nonstandard directory <lib dir> |
10058 |
+ LIBS libraries to pass to the linker, e.g. -l<library> |
10059 |
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
10060 |
+ you have headers in a nonstandard directory <include dir> |
10061 |
+ CPP C preprocessor |
10062 |
+ |
10063 |
+Use these variables to override the choices made by `configure' or to help |
10064 |
+it to find libraries and programs with nonstandard names/locations. |
10065 |
+ |
10066 |
+Report bugs to <http://bugs.gentoo.org/>. |
10067 |
+_ACEOF |
10068 |
+ac_status=$? |
10069 |
+fi |
10070 |
+ |
10071 |
+if test "$ac_init_help" = "recursive"; then |
10072 |
+ # If there are subdirs, report their specific --help. |
10073 |
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
10074 |
+ test -d "$ac_dir" || |
10075 |
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
10076 |
+ continue |
10077 |
+ ac_builddir=. |
10078 |
+ |
10079 |
+case "$ac_dir" in |
10080 |
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
10081 |
+*) |
10082 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
10083 |
+ # A ".." for each directory in $ac_dir_suffix. |
10084 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
10085 |
+ case $ac_top_builddir_sub in |
10086 |
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
10087 |
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
10088 |
+ esac ;; |
10089 |
+esac |
10090 |
+ac_abs_top_builddir=$ac_pwd |
10091 |
+ac_abs_builddir=$ac_pwd$ac_dir_suffix |
10092 |
+# for backward compatibility: |
10093 |
+ac_top_builddir=$ac_top_build_prefix |
10094 |
+ |
10095 |
+case $srcdir in |
10096 |
+ .) # We are building in place. |
10097 |
+ ac_srcdir=. |
10098 |
+ ac_top_srcdir=$ac_top_builddir_sub |
10099 |
+ ac_abs_top_srcdir=$ac_pwd ;; |
10100 |
+ [\\/]* | ?:[\\/]* ) # Absolute name. |
10101 |
+ ac_srcdir=$srcdir$ac_dir_suffix; |
10102 |
+ ac_top_srcdir=$srcdir |
10103 |
+ ac_abs_top_srcdir=$srcdir ;; |
10104 |
+ *) # Relative name. |
10105 |
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
10106 |
+ ac_top_srcdir=$ac_top_build_prefix$srcdir |
10107 |
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
10108 |
+esac |
10109 |
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
10110 |
+ |
10111 |
+ cd "$ac_dir" || { ac_status=$?; continue; } |
10112 |
+ # Check for guested configure. |
10113 |
+ if test -f "$ac_srcdir/configure.gnu"; then |
10114 |
+ echo && |
10115 |
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
10116 |
+ elif test -f "$ac_srcdir/configure"; then |
10117 |
+ echo && |
10118 |
+ $SHELL "$ac_srcdir/configure" --help=recursive |
10119 |
+ else |
10120 |
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
10121 |
+ fi || ac_status=$? |
10122 |
+ cd "$ac_pwd" || { ac_status=$?; break; } |
10123 |
+ done |
10124 |
+fi |
10125 |
+ |
10126 |
+test -n "$ac_init_help" && exit $ac_status |
10127 |
+if $ac_init_version; then |
10128 |
+ cat <<\_ACEOF |
10129 |
+elfix configure 0.4.0 |
10130 |
+generated by GNU Autoconf 2.68 |
10131 |
+ |
10132 |
+Copyright (C) 2010 Free Software Foundation, Inc. |
10133 |
+This configure script is free software; the Free Software Foundation |
10134 |
+gives unlimited permission to copy, distribute and modify it. |
10135 |
+_ACEOF |
10136 |
+ exit |
10137 |
+fi |
10138 |
+ |
10139 |
+## ------------------------ ## |
10140 |
+## Autoconf initialization. ## |
10141 |
+## ------------------------ ## |
10142 |
+ |
10143 |
+@%:@ ac_fn_c_try_compile LINENO |
10144 |
+@%:@ -------------------------- |
10145 |
+@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. |
10146 |
+ac_fn_c_try_compile () |
10147 |
+{ |
10148 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
10149 |
+ rm -f conftest.$ac_objext |
10150 |
+ if { { ac_try="$ac_compile" |
10151 |
+case "(($ac_try" in |
10152 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10153 |
+ *) ac_try_echo=$ac_try;; |
10154 |
+esac |
10155 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
10156 |
+$as_echo "$ac_try_echo"; } >&5 |
10157 |
+ (eval "$ac_compile") 2>conftest.err |
10158 |
+ ac_status=$? |
10159 |
+ if test -s conftest.err; then |
10160 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
10161 |
+ cat conftest.er1 >&5 |
10162 |
+ mv -f conftest.er1 conftest.err |
10163 |
+ fi |
10164 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10165 |
+ test $ac_status = 0; } && { |
10166 |
+ test -z "$ac_c_werror_flag" || |
10167 |
+ test ! -s conftest.err |
10168 |
+ } && test -s conftest.$ac_objext; then : |
10169 |
+ ac_retval=0 |
10170 |
+else |
10171 |
+ $as_echo "$as_me: failed program was:" >&5 |
10172 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
10173 |
+ |
10174 |
+ ac_retval=1 |
10175 |
+fi |
10176 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
10177 |
+ as_fn_set_status $ac_retval |
10178 |
+ |
10179 |
+} @%:@ ac_fn_c_try_compile |
10180 |
+ |
10181 |
+@%:@ ac_fn_c_try_cpp LINENO |
10182 |
+@%:@ ---------------------- |
10183 |
+@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. |
10184 |
+ac_fn_c_try_cpp () |
10185 |
+{ |
10186 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
10187 |
+ if { { ac_try="$ac_cpp conftest.$ac_ext" |
10188 |
+case "(($ac_try" in |
10189 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10190 |
+ *) ac_try_echo=$ac_try;; |
10191 |
+esac |
10192 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
10193 |
+$as_echo "$ac_try_echo"; } >&5 |
10194 |
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
10195 |
+ ac_status=$? |
10196 |
+ if test -s conftest.err; then |
10197 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
10198 |
+ cat conftest.er1 >&5 |
10199 |
+ mv -f conftest.er1 conftest.err |
10200 |
+ fi |
10201 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10202 |
+ test $ac_status = 0; } > conftest.i && { |
10203 |
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
10204 |
+ test ! -s conftest.err |
10205 |
+ }; then : |
10206 |
+ ac_retval=0 |
10207 |
+else |
10208 |
+ $as_echo "$as_me: failed program was:" >&5 |
10209 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
10210 |
+ |
10211 |
+ ac_retval=1 |
10212 |
+fi |
10213 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
10214 |
+ as_fn_set_status $ac_retval |
10215 |
+ |
10216 |
+} @%:@ ac_fn_c_try_cpp |
10217 |
+ |
10218 |
+@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
10219 |
+@%:@ ------------------------------------------------------- |
10220 |
+@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using |
10221 |
+@%:@ the include files in INCLUDES and setting the cache variable VAR |
10222 |
+@%:@ accordingly. |
10223 |
+ac_fn_c_check_header_mongrel () |
10224 |
+{ |
10225 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
10226 |
+ if eval \${$3+:} false; then : |
10227 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
10228 |
+$as_echo_n "checking for $2... " >&6; } |
10229 |
+if eval \${$3+:} false; then : |
10230 |
+ $as_echo_n "(cached) " >&6 |
10231 |
+fi |
10232 |
+eval ac_res=\$$3 |
10233 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
10234 |
+$as_echo "$ac_res" >&6; } |
10235 |
+else |
10236 |
+ # Is the header compilable? |
10237 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
10238 |
+$as_echo_n "checking $2 usability... " >&6; } |
10239 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10240 |
+/* end confdefs.h. */ |
10241 |
+$4 |
10242 |
+@%:@include <$2> |
10243 |
+_ACEOF |
10244 |
+if ac_fn_c_try_compile "$LINENO"; then : |
10245 |
+ ac_header_compiler=yes |
10246 |
+else |
10247 |
+ ac_header_compiler=no |
10248 |
+fi |
10249 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10250 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
10251 |
+$as_echo "$ac_header_compiler" >&6; } |
10252 |
+ |
10253 |
+# Is the header present? |
10254 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
10255 |
+$as_echo_n "checking $2 presence... " >&6; } |
10256 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10257 |
+/* end confdefs.h. */ |
10258 |
+@%:@include <$2> |
10259 |
+_ACEOF |
10260 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
10261 |
+ ac_header_preproc=yes |
10262 |
+else |
10263 |
+ ac_header_preproc=no |
10264 |
+fi |
10265 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
10266 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
10267 |
+$as_echo "$ac_header_preproc" >&6; } |
10268 |
+ |
10269 |
+# So? What about this header? |
10270 |
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
10271 |
+ yes:no: ) |
10272 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
10273 |
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10274 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
10275 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
10276 |
+ ;; |
10277 |
+ no:yes:* ) |
10278 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
10279 |
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
10280 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
10281 |
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
10282 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
10283 |
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
10284 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
10285 |
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
10286 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
10287 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
10288 |
+( $as_echo "## -------------------------------------- ## |
10289 |
+## Report this to http://bugs.gentoo.org/ ## |
10290 |
+## -------------------------------------- ##" |
10291 |
+ ) | sed "s/^/$as_me: WARNING: /" >&2 |
10292 |
+ ;; |
10293 |
+esac |
10294 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
10295 |
+$as_echo_n "checking for $2... " >&6; } |
10296 |
+if eval \${$3+:} false; then : |
10297 |
+ $as_echo_n "(cached) " >&6 |
10298 |
+else |
10299 |
+ eval "$3=\$ac_header_compiler" |
10300 |
+fi |
10301 |
+eval ac_res=\$$3 |
10302 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
10303 |
+$as_echo "$ac_res" >&6; } |
10304 |
+fi |
10305 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
10306 |
+ |
10307 |
+} @%:@ ac_fn_c_check_header_mongrel |
10308 |
+ |
10309 |
+@%:@ ac_fn_c_try_run LINENO |
10310 |
+@%:@ ---------------------- |
10311 |
+@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes |
10312 |
+@%:@ that executables *can* be run. |
10313 |
+ac_fn_c_try_run () |
10314 |
+{ |
10315 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
10316 |
+ if { { ac_try="$ac_link" |
10317 |
+case "(($ac_try" in |
10318 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10319 |
+ *) ac_try_echo=$ac_try;; |
10320 |
+esac |
10321 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
10322 |
+$as_echo "$ac_try_echo"; } >&5 |
10323 |
+ (eval "$ac_link") 2>&5 |
10324 |
+ ac_status=$? |
10325 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10326 |
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
10327 |
+ { { case "(($ac_try" in |
10328 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10329 |
+ *) ac_try_echo=$ac_try;; |
10330 |
+esac |
10331 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
10332 |
+$as_echo "$ac_try_echo"; } >&5 |
10333 |
+ (eval "$ac_try") 2>&5 |
10334 |
+ ac_status=$? |
10335 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10336 |
+ test $ac_status = 0; }; }; then : |
10337 |
+ ac_retval=0 |
10338 |
+else |
10339 |
+ $as_echo "$as_me: program exited with status $ac_status" >&5 |
10340 |
+ $as_echo "$as_me: failed program was:" >&5 |
10341 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
10342 |
+ |
10343 |
+ ac_retval=$ac_status |
10344 |
+fi |
10345 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
10346 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
10347 |
+ as_fn_set_status $ac_retval |
10348 |
+ |
10349 |
+} @%:@ ac_fn_c_try_run |
10350 |
+ |
10351 |
+@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
10352 |
+@%:@ ------------------------------------------------------- |
10353 |
+@%:@ Tests whether HEADER exists and can be compiled using the include files in |
10354 |
+@%:@ INCLUDES, setting the cache variable VAR accordingly. |
10355 |
+ac_fn_c_check_header_compile () |
10356 |
+{ |
10357 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
10358 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
10359 |
+$as_echo_n "checking for $2... " >&6; } |
10360 |
+if eval \${$3+:} false; then : |
10361 |
+ $as_echo_n "(cached) " >&6 |
10362 |
+else |
10363 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10364 |
+/* end confdefs.h. */ |
10365 |
+$4 |
10366 |
+@%:@include <$2> |
10367 |
+_ACEOF |
10368 |
+if ac_fn_c_try_compile "$LINENO"; then : |
10369 |
+ eval "$3=yes" |
10370 |
+else |
10371 |
+ eval "$3=no" |
10372 |
+fi |
10373 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10374 |
+fi |
10375 |
+eval ac_res=\$$3 |
10376 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
10377 |
+$as_echo "$ac_res" >&6; } |
10378 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
10379 |
+ |
10380 |
+} @%:@ ac_fn_c_check_header_compile |
10381 |
+ |
10382 |
+@%:@ ac_fn_c_try_link LINENO |
10383 |
+@%:@ ----------------------- |
10384 |
+@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. |
10385 |
+ac_fn_c_try_link () |
10386 |
+{ |
10387 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
10388 |
+ rm -f conftest.$ac_objext conftest$ac_exeext |
10389 |
+ if { { ac_try="$ac_link" |
10390 |
+case "(($ac_try" in |
10391 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10392 |
+ *) ac_try_echo=$ac_try;; |
10393 |
+esac |
10394 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
10395 |
+$as_echo "$ac_try_echo"; } >&5 |
10396 |
+ (eval "$ac_link") 2>conftest.err |
10397 |
+ ac_status=$? |
10398 |
+ if test -s conftest.err; then |
10399 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
10400 |
+ cat conftest.er1 >&5 |
10401 |
+ mv -f conftest.er1 conftest.err |
10402 |
+ fi |
10403 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10404 |
+ test $ac_status = 0; } && { |
10405 |
+ test -z "$ac_c_werror_flag" || |
10406 |
+ test ! -s conftest.err |
10407 |
+ } && test -s conftest$ac_exeext && { |
10408 |
+ test "$cross_compiling" = yes || |
10409 |
+ $as_test_x conftest$ac_exeext |
10410 |
+ }; then : |
10411 |
+ ac_retval=0 |
10412 |
+else |
10413 |
+ $as_echo "$as_me: failed program was:" >&5 |
10414 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
10415 |
+ |
10416 |
+ ac_retval=1 |
10417 |
+fi |
10418 |
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
10419 |
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
10420 |
+ # interfere with the next link command; also delete a directory that is |
10421 |
+ # left behind by Apple's compiler. We do this before executing the actions. |
10422 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
10423 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
10424 |
+ as_fn_set_status $ac_retval |
10425 |
+ |
10426 |
+} @%:@ ac_fn_c_try_link |
10427 |
+ |
10428 |
+@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
10429 |
+@%:@ ------------------------------------------- |
10430 |
+@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache |
10431 |
+@%:@ variable VAR accordingly. |
10432 |
+ac_fn_c_check_type () |
10433 |
+{ |
10434 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
10435 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
10436 |
+$as_echo_n "checking for $2... " >&6; } |
10437 |
+if eval \${$3+:} false; then : |
10438 |
+ $as_echo_n "(cached) " >&6 |
10439 |
+else |
10440 |
+ eval "$3=no" |
10441 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10442 |
+/* end confdefs.h. */ |
10443 |
+$4 |
10444 |
+int |
10445 |
+main () |
10446 |
+{ |
10447 |
+if (sizeof ($2)) |
10448 |
+ return 0; |
10449 |
+ ; |
10450 |
+ return 0; |
10451 |
+} |
10452 |
+_ACEOF |
10453 |
+if ac_fn_c_try_compile "$LINENO"; then : |
10454 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10455 |
+/* end confdefs.h. */ |
10456 |
+$4 |
10457 |
+int |
10458 |
+main () |
10459 |
+{ |
10460 |
+if (sizeof (($2))) |
10461 |
+ return 0; |
10462 |
+ ; |
10463 |
+ return 0; |
10464 |
+} |
10465 |
+_ACEOF |
10466 |
+if ac_fn_c_try_compile "$LINENO"; then : |
10467 |
+ |
10468 |
+else |
10469 |
+ eval "$3=yes" |
10470 |
+fi |
10471 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10472 |
+fi |
10473 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10474 |
+fi |
10475 |
+eval ac_res=\$$3 |
10476 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
10477 |
+$as_echo "$ac_res" >&6; } |
10478 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
10479 |
+ |
10480 |
+} @%:@ ac_fn_c_check_type |
10481 |
+ |
10482 |
+@%:@ ac_fn_c_find_uintX_t LINENO BITS VAR |
10483 |
+@%:@ ------------------------------------ |
10484 |
+@%:@ Finds an unsigned integer type with width BITS, setting cache variable VAR |
10485 |
+@%:@ accordingly. |
10486 |
+ac_fn_c_find_uintX_t () |
10487 |
+{ |
10488 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
10489 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
10490 |
+$as_echo_n "checking for uint$2_t... " >&6; } |
10491 |
+if eval \${$3+:} false; then : |
10492 |
+ $as_echo_n "(cached) " >&6 |
10493 |
+else |
10494 |
+ eval "$3=no" |
10495 |
+ # Order is important - never check a type that is potentially smaller |
10496 |
+ # than half of the expected target width. |
10497 |
+ for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ |
10498 |
+ 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
10499 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10500 |
+/* end confdefs.h. */ |
10501 |
+$ac_includes_default |
10502 |
+int |
10503 |
+main () |
10504 |
+{ |
10505 |
+static int test_array @<:@1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)@:>@; |
10506 |
+test_array @<:@0@:>@ = 0 |
10507 |
+ |
10508 |
+ ; |
10509 |
+ return 0; |
10510 |
+} |
10511 |
+_ACEOF |
10512 |
+if ac_fn_c_try_compile "$LINENO"; then : |
10513 |
+ case $ac_type in @%:@( |
10514 |
+ uint$2_t) : |
10515 |
+ eval "$3=yes" ;; @%:@( |
10516 |
+ *) : |
10517 |
+ eval "$3=\$ac_type" ;; |
10518 |
+esac |
10519 |
+fi |
10520 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10521 |
+ if eval test \"x\$"$3"\" = x"no"; then : |
10522 |
+ |
10523 |
+else |
10524 |
+ break |
10525 |
+fi |
10526 |
+ done |
10527 |
+fi |
10528 |
+eval ac_res=\$$3 |
10529 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
10530 |
+$as_echo "$ac_res" >&6; } |
10531 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
10532 |
+ |
10533 |
+} @%:@ ac_fn_c_find_uintX_t |
10534 |
+ |
10535 |
+@%:@ ac_fn_c_check_func LINENO FUNC VAR |
10536 |
+@%:@ ---------------------------------- |
10537 |
+@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly |
10538 |
+ac_fn_c_check_func () |
10539 |
+{ |
10540 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
10541 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
10542 |
+$as_echo_n "checking for $2... " >&6; } |
10543 |
+if eval \${$3+:} false; then : |
10544 |
+ $as_echo_n "(cached) " >&6 |
10545 |
+else |
10546 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
10547 |
+/* end confdefs.h. */ |
10548 |
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
10549 |
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
10550 |
+#define $2 innocuous_$2 |
10551 |
+ |
10552 |
+/* System header to define __stub macros and hopefully few prototypes, |
10553 |
+ which can conflict with char $2 (); below. |
10554 |
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
10555 |
+ <limits.h> exists even on freestanding compilers. */ |
10556 |
+ |
10557 |
+#ifdef __STDC__ |
10558 |
+# include <limits.h> |
10559 |
+#else |
10560 |
+# include <assert.h> |
10561 |
+#endif |
10562 |
+ |
10563 |
+#undef $2 |
10564 |
+ |
10565 |
+/* Override any GCC internal prototype to avoid an error. |
10566 |
+ Use char because int might match the return type of a GCC |
10567 |
+ builtin and then its argument prototype would still apply. */ |
10568 |
+#ifdef __cplusplus |
10569 |
+extern "C" |
10570 |
+#endif |
10571 |
+char $2 (); |
10572 |
+/* The GNU C library defines this for functions which it implements |
10573 |
+ to always fail with ENOSYS. Some functions are actually named |
10574 |
+ something starting with __ and the normal name is an alias. */ |
10575 |
+#if defined __stub_$2 || defined __stub___$2 |
10576 |
+choke me |
10577 |
+#endif |
10578 |
+ |
10579 |
+int |
10580 |
+main () |
10581 |
+{ |
10582 |
+return $2 (); |
10583 |
+ ; |
10584 |
+ return 0; |
10585 |
+} |
10586 |
+_ACEOF |
10587 |
+if ac_fn_c_try_link "$LINENO"; then : |
10588 |
+ eval "$3=yes" |
10589 |
+else |
10590 |
+ eval "$3=no" |
10591 |
+fi |
10592 |
+rm -f core conftest.err conftest.$ac_objext \ |
10593 |
+ conftest$ac_exeext conftest.$ac_ext |
10594 |
+fi |
10595 |
+eval ac_res=\$$3 |
10596 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
10597 |
+$as_echo "$ac_res" >&6; } |
10598 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
10599 |
+ |
10600 |
+} @%:@ ac_fn_c_check_func |
10601 |
+cat >config.log <<_ACEOF |
10602 |
+This file contains any messages produced by compilers while |
10603 |
+running configure, to aid debugging if configure makes a mistake. |
10604 |
+ |
10605 |
+It was created by elfix $as_me 0.4.0, which was |
10606 |
+generated by GNU Autoconf 2.68. Invocation command line was |
10607 |
+ |
10608 |
+ $ $0 $@ |
10609 |
+ |
10610 |
+_ACEOF |
10611 |
+exec 5>>config.log |
10612 |
+{ |
10613 |
+cat <<_ASUNAME |
10614 |
+## --------- ## |
10615 |
+## Platform. ## |
10616 |
+## --------- ## |
10617 |
+ |
10618 |
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
10619 |
+uname -m = `(uname -m) 2>/dev/null || echo unknown` |
10620 |
+uname -r = `(uname -r) 2>/dev/null || echo unknown` |
10621 |
+uname -s = `(uname -s) 2>/dev/null || echo unknown` |
10622 |
+uname -v = `(uname -v) 2>/dev/null || echo unknown` |
10623 |
+ |
10624 |
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
10625 |
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
10626 |
+ |
10627 |
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
10628 |
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
10629 |
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
10630 |
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
10631 |
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
10632 |
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
10633 |
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
10634 |
+ |
10635 |
+_ASUNAME |
10636 |
+ |
10637 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10638 |
+for as_dir in $PATH |
10639 |
+do |
10640 |
+ IFS=$as_save_IFS |
10641 |
+ test -z "$as_dir" && as_dir=. |
10642 |
+ $as_echo "PATH: $as_dir" |
10643 |
+ done |
10644 |
+IFS=$as_save_IFS |
10645 |
+ |
10646 |
+} >&5 |
10647 |
+ |
10648 |
+cat >&5 <<_ACEOF |
10649 |
+ |
10650 |
+ |
10651 |
+## ----------- ## |
10652 |
+## Core tests. ## |
10653 |
+## ----------- ## |
10654 |
+ |
10655 |
+_ACEOF |
10656 |
+ |
10657 |
+ |
10658 |
+# Keep a trace of the command line. |
10659 |
+# Strip out --no-create and --no-recursion so they do not pile up. |
10660 |
+# Strip out --silent because we don't want to record it for future runs. |
10661 |
+# Also quote any args containing shell meta-characters. |
10662 |
+# Make two passes to allow for proper duplicate-argument suppression. |
10663 |
+ac_configure_args= |
10664 |
+ac_configure_args0= |
10665 |
+ac_configure_args1= |
10666 |
+ac_must_keep_next=false |
10667 |
+for ac_pass in 1 2 |
10668 |
+do |
10669 |
+ for ac_arg |
10670 |
+ do |
10671 |
+ case $ac_arg in |
10672 |
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
10673 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
10674 |
+ | -silent | --silent | --silen | --sile | --sil) |
10675 |
+ continue ;; |
10676 |
+ *\'*) |
10677 |
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
10678 |
+ esac |
10679 |
+ case $ac_pass in |
10680 |
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
10681 |
+ 2) |
10682 |
+ as_fn_append ac_configure_args1 " '$ac_arg'" |
10683 |
+ if test $ac_must_keep_next = true; then |
10684 |
+ ac_must_keep_next=false # Got value, back to normal. |
10685 |
+ else |
10686 |
+ case $ac_arg in |
10687 |
+ *=* | --config-cache | -C | -disable-* | --disable-* \ |
10688 |
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
10689 |
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
10690 |
+ | -with-* | --with-* | -without-* | --without-* | --x) |
10691 |
+ case "$ac_configure_args0 " in |
10692 |
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
10693 |
+ esac |
10694 |
+ ;; |
10695 |
+ -* ) ac_must_keep_next=true ;; |
10696 |
+ esac |
10697 |
+ fi |
10698 |
+ as_fn_append ac_configure_args " '$ac_arg'" |
10699 |
+ ;; |
10700 |
+ esac |
10701 |
+ done |
10702 |
+done |
10703 |
+{ ac_configure_args0=; unset ac_configure_args0;} |
10704 |
+{ ac_configure_args1=; unset ac_configure_args1;} |
10705 |
+ |
10706 |
+# When interrupted or exit'd, cleanup temporary files, and complete |
10707 |
+# config.log. We remove comments because anyway the quotes in there |
10708 |
+# would cause problems or look ugly. |
10709 |
+# WARNING: Use '\'' to represent an apostrophe within the trap. |
10710 |
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
10711 |
+trap 'exit_status=$? |
10712 |
+ # Save into config.log some information that might help in debugging. |
10713 |
+ { |
10714 |
+ echo |
10715 |
+ |
10716 |
+ $as_echo "## ---------------- ## |
10717 |
+## Cache variables. ## |
10718 |
+## ---------------- ##" |
10719 |
+ echo |
10720 |
+ # The following way of writing the cache mishandles newlines in values, |
10721 |
+( |
10722 |
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
10723 |
+ eval ac_val=\$$ac_var |
10724 |
+ case $ac_val in #( |
10725 |
+ *${as_nl}*) |
10726 |
+ case $ac_var in #( |
10727 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
10728 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
10729 |
+ esac |
10730 |
+ case $ac_var in #( |
10731 |
+ _ | IFS | as_nl) ;; #( |
10732 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
10733 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
10734 |
+ esac ;; |
10735 |
+ esac |
10736 |
+ done |
10737 |
+ (set) 2>&1 | |
10738 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
10739 |
+ *${as_nl}ac_space=\ *) |
10740 |
+ sed -n \ |
10741 |
+ "s/'\''/'\''\\\\'\'''\''/g; |
10742 |
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
10743 |
+ ;; #( |
10744 |
+ *) |
10745 |
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
10746 |
+ ;; |
10747 |
+ esac | |
10748 |
+ sort |
10749 |
+) |
10750 |
+ echo |
10751 |
+ |
10752 |
+ $as_echo "## ----------------- ## |
10753 |
+## Output variables. ## |
10754 |
+## ----------------- ##" |
10755 |
+ echo |
10756 |
+ for ac_var in $ac_subst_vars |
10757 |
+ do |
10758 |
+ eval ac_val=\$$ac_var |
10759 |
+ case $ac_val in |
10760 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
10761 |
+ esac |
10762 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
10763 |
+ done | sort |
10764 |
+ echo |
10765 |
+ |
10766 |
+ if test -n "$ac_subst_files"; then |
10767 |
+ $as_echo "## ------------------- ## |
10768 |
+## File substitutions. ## |
10769 |
+## ------------------- ##" |
10770 |
+ echo |
10771 |
+ for ac_var in $ac_subst_files |
10772 |
+ do |
10773 |
+ eval ac_val=\$$ac_var |
10774 |
+ case $ac_val in |
10775 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
10776 |
+ esac |
10777 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
10778 |
+ done | sort |
10779 |
+ echo |
10780 |
+ fi |
10781 |
+ |
10782 |
+ if test -s confdefs.h; then |
10783 |
+ $as_echo "## ----------- ## |
10784 |
+## confdefs.h. ## |
10785 |
+## ----------- ##" |
10786 |
+ echo |
10787 |
+ cat confdefs.h |
10788 |
+ echo |
10789 |
+ fi |
10790 |
+ test "$ac_signal" != 0 && |
10791 |
+ $as_echo "$as_me: caught signal $ac_signal" |
10792 |
+ $as_echo "$as_me: exit $exit_status" |
10793 |
+ } >&5 |
10794 |
+ rm -f core *.core core.conftest.* && |
10795 |
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
10796 |
+ exit $exit_status |
10797 |
+' 0 |
10798 |
+for ac_signal in 1 2 13 15; do |
10799 |
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
10800 |
+done |
10801 |
+ac_signal=0 |
10802 |
+ |
10803 |
+# confdefs.h avoids OS command line length limits that DEFS can exceed. |
10804 |
+rm -f -r conftest* confdefs.h |
10805 |
+ |
10806 |
+$as_echo "/* confdefs.h */" > confdefs.h |
10807 |
+ |
10808 |
+# Predefined preprocessor variables. |
10809 |
+ |
10810 |
+cat >>confdefs.h <<_ACEOF |
10811 |
+@%:@define PACKAGE_NAME "$PACKAGE_NAME" |
10812 |
+_ACEOF |
10813 |
+ |
10814 |
+cat >>confdefs.h <<_ACEOF |
10815 |
+@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
10816 |
+_ACEOF |
10817 |
+ |
10818 |
+cat >>confdefs.h <<_ACEOF |
10819 |
+@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" |
10820 |
+_ACEOF |
10821 |
+ |
10822 |
+cat >>confdefs.h <<_ACEOF |
10823 |
+@%:@define PACKAGE_STRING "$PACKAGE_STRING" |
10824 |
+_ACEOF |
10825 |
+ |
10826 |
+cat >>confdefs.h <<_ACEOF |
10827 |
+@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
10828 |
+_ACEOF |
10829 |
+ |
10830 |
+cat >>confdefs.h <<_ACEOF |
10831 |
+@%:@define PACKAGE_URL "$PACKAGE_URL" |
10832 |
+_ACEOF |
10833 |
+ |
10834 |
+ |
10835 |
+# Let the site file select an alternate cache file if it wants to. |
10836 |
+# Prefer an explicitly selected file to automatically selected ones. |
10837 |
+ac_site_file1=NONE |
10838 |
+ac_site_file2=NONE |
10839 |
+if test -n "$CONFIG_SITE"; then |
10840 |
+ # We do not want a PATH search for config.site. |
10841 |
+ case $CONFIG_SITE in @%:@(( |
10842 |
+ -*) ac_site_file1=./$CONFIG_SITE;; |
10843 |
+ */*) ac_site_file1=$CONFIG_SITE;; |
10844 |
+ *) ac_site_file1=./$CONFIG_SITE;; |
10845 |
+ esac |
10846 |
+elif test "x$prefix" != xNONE; then |
10847 |
+ ac_site_file1=$prefix/share/config.site |
10848 |
+ ac_site_file2=$prefix/etc/config.site |
10849 |
+else |
10850 |
+ ac_site_file1=$ac_default_prefix/share/config.site |
10851 |
+ ac_site_file2=$ac_default_prefix/etc/config.site |
10852 |
+fi |
10853 |
+for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
10854 |
+do |
10855 |
+ test "x$ac_site_file" = xNONE && continue |
10856 |
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
10857 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
10858 |
+$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
10859 |
+ sed 's/^/| /' "$ac_site_file" >&5 |
10860 |
+ . "$ac_site_file" \ |
10861 |
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
10862 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
10863 |
+as_fn_error $? "failed to load site script $ac_site_file |
10864 |
+See \`config.log' for more details" "$LINENO" 5; } |
10865 |
+ fi |
10866 |
+done |
10867 |
+ |
10868 |
+if test -r "$cache_file"; then |
10869 |
+ # Some versions of bash will fail to source /dev/null (special files |
10870 |
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
10871 |
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
10872 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
10873 |
+$as_echo "$as_me: loading cache $cache_file" >&6;} |
10874 |
+ case $cache_file in |
10875 |
+ [\\/]* | ?:[\\/]* ) . "$cache_file";; |
10876 |
+ *) . "./$cache_file";; |
10877 |
+ esac |
10878 |
+ fi |
10879 |
+else |
10880 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
10881 |
+$as_echo "$as_me: creating cache $cache_file" >&6;} |
10882 |
+ >$cache_file |
10883 |
+fi |
10884 |
+ |
10885 |
+as_fn_append ac_header_list " stdlib.h" |
10886 |
+as_fn_append ac_header_list " unistd.h" |
10887 |
+as_fn_append ac_header_list " sys/param.h" |
10888 |
+# Check that the precious variables saved in the cache have kept the same |
10889 |
+# value. |
10890 |
+ac_cache_corrupted=false |
10891 |
+for ac_var in $ac_precious_vars; do |
10892 |
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set |
10893 |
+ eval ac_new_set=\$ac_env_${ac_var}_set |
10894 |
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value |
10895 |
+ eval ac_new_val=\$ac_env_${ac_var}_value |
10896 |
+ case $ac_old_set,$ac_new_set in |
10897 |
+ set,) |
10898 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
10899 |
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
10900 |
+ ac_cache_corrupted=: ;; |
10901 |
+ ,set) |
10902 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
10903 |
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
10904 |
+ ac_cache_corrupted=: ;; |
10905 |
+ ,);; |
10906 |
+ *) |
10907 |
+ if test "x$ac_old_val" != "x$ac_new_val"; then |
10908 |
+ # differences in whitespace do not lead to failure. |
10909 |
+ ac_old_val_w=`echo x $ac_old_val` |
10910 |
+ ac_new_val_w=`echo x $ac_new_val` |
10911 |
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then |
10912 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
10913 |
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
10914 |
+ ac_cache_corrupted=: |
10915 |
+ else |
10916 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
10917 |
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
10918 |
+ eval $ac_var=\$ac_old_val |
10919 |
+ fi |
10920 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
10921 |
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
10922 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
10923 |
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
10924 |
+ fi;; |
10925 |
+ esac |
10926 |
+ # Pass precious variables to config.status. |
10927 |
+ if test "$ac_new_set" = set; then |
10928 |
+ case $ac_new_val in |
10929 |
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
10930 |
+ *) ac_arg=$ac_var=$ac_new_val ;; |
10931 |
+ esac |
10932 |
+ case " $ac_configure_args " in |
10933 |
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
10934 |
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
10935 |
+ esac |
10936 |
+ fi |
10937 |
+done |
10938 |
+if $ac_cache_corrupted; then |
10939 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
10940 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
10941 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
10942 |
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
10943 |
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
10944 |
+fi |
10945 |
+## -------------------- ## |
10946 |
+## Main body of script. ## |
10947 |
+## -------------------- ## |
10948 |
+ |
10949 |
+ac_ext=c |
10950 |
+ac_cpp='$CPP $CPPFLAGS' |
10951 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
10952 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
10953 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
10954 |
+ |
10955 |
+ |
10956 |
+ |
10957 |
+ac_config_headers="$ac_config_headers config.h" |
10958 |
+ |
10959 |
+am__api_version='1.11' |
10960 |
+ |
10961 |
+ac_aux_dir= |
10962 |
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
10963 |
+ if test -f "$ac_dir/install-sh"; then |
10964 |
+ ac_aux_dir=$ac_dir |
10965 |
+ ac_install_sh="$ac_aux_dir/install-sh -c" |
10966 |
+ break |
10967 |
+ elif test -f "$ac_dir/install.sh"; then |
10968 |
+ ac_aux_dir=$ac_dir |
10969 |
+ ac_install_sh="$ac_aux_dir/install.sh -c" |
10970 |
+ break |
10971 |
+ elif test -f "$ac_dir/shtool"; then |
10972 |
+ ac_aux_dir=$ac_dir |
10973 |
+ ac_install_sh="$ac_aux_dir/shtool install -c" |
10974 |
+ break |
10975 |
+ fi |
10976 |
+done |
10977 |
+if test -z "$ac_aux_dir"; then |
10978 |
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
10979 |
+fi |
10980 |
+ |
10981 |
+# These three variables are undocumented and unsupported, |
10982 |
+# and are intended to be withdrawn in a future Autoconf release. |
10983 |
+# They can cause serious problems if a builder's source tree is in a directory |
10984 |
+# whose full name contains unusual characters. |
10985 |
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
10986 |
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
10987 |
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
10988 |
+ |
10989 |
+ |
10990 |
+# Find a good install program. We prefer a C program (faster), |
10991 |
+# so one script is as good as another. But avoid the broken or |
10992 |
+# incompatible versions: |
10993 |
+# SysV /etc/install, /usr/sbin/install |
10994 |
+# SunOS /usr/etc/install |
10995 |
+# IRIX /sbin/install |
10996 |
+# AIX /bin/install |
10997 |
+# AmigaOS /C/install, which installs bootblocks on floppy discs |
10998 |
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
10999 |
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
11000 |
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
11001 |
+# OS/2's system install, which has a completely different semantic |
11002 |
+# ./install, which can be erroneously created by make from ./install.sh. |
11003 |
+# Reject install programs that cannot install multiple files. |
11004 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
11005 |
+$as_echo_n "checking for a BSD-compatible install... " >&6; } |
11006 |
+if test -z "$INSTALL"; then |
11007 |
+if ${ac_cv_path_install+:} false; then : |
11008 |
+ $as_echo_n "(cached) " >&6 |
11009 |
+else |
11010 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11011 |
+for as_dir in $PATH |
11012 |
+do |
11013 |
+ IFS=$as_save_IFS |
11014 |
+ test -z "$as_dir" && as_dir=. |
11015 |
+ # Account for people who put trailing slashes in PATH elements. |
11016 |
+case $as_dir/ in @%:@(( |
11017 |
+ ./ | .// | /[cC]/* | \ |
11018 |
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
11019 |
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
11020 |
+ /usr/ucb/* ) ;; |
11021 |
+ *) |
11022 |
+ # OSF1 and SCO ODT 3.0 have their own names for install. |
11023 |
+ # Don't use installbsd from OSF since it installs stuff as root |
11024 |
+ # by default. |
11025 |
+ for ac_prog in ginstall scoinst install; do |
11026 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11027 |
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
11028 |
+ if test $ac_prog = install && |
11029 |
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
11030 |
+ # AIX install. It has an incompatible calling convention. |
11031 |
+ : |
11032 |
+ elif test $ac_prog = install && |
11033 |
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
11034 |
+ # program-specific install script used by HP pwplus--don't use. |
11035 |
+ : |
11036 |
+ else |
11037 |
+ rm -rf conftest.one conftest.two conftest.dir |
11038 |
+ echo one > conftest.one |
11039 |
+ echo two > conftest.two |
11040 |
+ mkdir conftest.dir |
11041 |
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
11042 |
+ test -s conftest.one && test -s conftest.two && |
11043 |
+ test -s conftest.dir/conftest.one && |
11044 |
+ test -s conftest.dir/conftest.two |
11045 |
+ then |
11046 |
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
11047 |
+ break 3 |
11048 |
+ fi |
11049 |
+ fi |
11050 |
+ fi |
11051 |
+ done |
11052 |
+ done |
11053 |
+ ;; |
11054 |
+esac |
11055 |
+ |
11056 |
+ done |
11057 |
+IFS=$as_save_IFS |
11058 |
+ |
11059 |
+rm -rf conftest.one conftest.two conftest.dir |
11060 |
+ |
11061 |
+fi |
11062 |
+ if test "${ac_cv_path_install+set}" = set; then |
11063 |
+ INSTALL=$ac_cv_path_install |
11064 |
+ else |
11065 |
+ # As a last resort, use the slow shell script. Don't cache a |
11066 |
+ # value for INSTALL within a source directory, because that will |
11067 |
+ # break other packages using the cache if that directory is |
11068 |
+ # removed, or if the value is a relative name. |
11069 |
+ INSTALL=$ac_install_sh |
11070 |
+ fi |
11071 |
+fi |
11072 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
11073 |
+$as_echo "$INSTALL" >&6; } |
11074 |
+ |
11075 |
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
11076 |
+# It thinks the first close brace ends the variable substitution. |
11077 |
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
11078 |
+ |
11079 |
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
11080 |
+ |
11081 |
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
11082 |
+ |
11083 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
11084 |
+$as_echo_n "checking whether build environment is sane... " >&6; } |
11085 |
+# Just in case |
11086 |
+sleep 1 |
11087 |
+echo timestamp > conftest.file |
11088 |
+# Reject unsafe characters in $srcdir or the absolute working directory |
11089 |
+# name. Accept space and tab only in the latter. |
11090 |
+am_lf=' |
11091 |
+' |
11092 |
+case `pwd` in |
11093 |
+ *[\\\"\#\$\&\'\`$am_lf]*) |
11094 |
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
11095 |
+esac |
11096 |
+case $srcdir in |
11097 |
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
11098 |
+ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
11099 |
+esac |
11100 |
+ |
11101 |
+# Do `set' in a subshell so we don't clobber the current shell's |
11102 |
+# arguments. Must try -L first in case configure is actually a |
11103 |
+# symlink; some systems play weird games with the mod time of symlinks |
11104 |
+# (eg FreeBSD returns the mod time of the symlink's containing |
11105 |
+# directory). |
11106 |
+if ( |
11107 |
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
11108 |
+ if test "$*" = "X"; then |
11109 |
+ # -L didn't work. |
11110 |
+ set X `ls -t "$srcdir/configure" conftest.file` |
11111 |
+ fi |
11112 |
+ rm -f conftest.file |
11113 |
+ if test "$*" != "X $srcdir/configure conftest.file" \ |
11114 |
+ && test "$*" != "X conftest.file $srcdir/configure"; then |
11115 |
+ |
11116 |
+ # If neither matched, then we have a broken ls. This can happen |
11117 |
+ # if, for instance, CONFIG_SHELL is bash and it inherits a |
11118 |
+ # broken ls alias from the environment. This has actually |
11119 |
+ # happened. Such a system could not be considered "sane". |
11120 |
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
11121 |
+alias in your environment" "$LINENO" 5 |
11122 |
+ fi |
11123 |
+ |
11124 |
+ test "$2" = conftest.file |
11125 |
+ ) |
11126 |
+then |
11127 |
+ # Ok. |
11128 |
+ : |
11129 |
+else |
11130 |
+ as_fn_error $? "newly created file is older than distributed files! |
11131 |
+Check your system clock" "$LINENO" 5 |
11132 |
+fi |
11133 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11134 |
+$as_echo "yes" >&6; } |
11135 |
+test "$program_prefix" != NONE && |
11136 |
+ program_transform_name="s&^&$program_prefix&;$program_transform_name" |
11137 |
+# Use a double $ so make ignores it. |
11138 |
+test "$program_suffix" != NONE && |
11139 |
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
11140 |
+# Double any \ or $. |
11141 |
+# By default was `s,x,x', remove it if useless. |
11142 |
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
11143 |
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
11144 |
+ |
11145 |
+# expand $ac_aux_dir to an absolute path |
11146 |
+am_aux_dir=`cd $ac_aux_dir && pwd` |
11147 |
+ |
11148 |
+if test x"${MISSING+set}" != xset; then |
11149 |
+ case $am_aux_dir in |
11150 |
+ *\ * | *\ *) |
11151 |
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
11152 |
+ *) |
11153 |
+ MISSING="\${SHELL} $am_aux_dir/missing" ;; |
11154 |
+ esac |
11155 |
+fi |
11156 |
+# Use eval to expand $SHELL |
11157 |
+if eval "$MISSING --run true"; then |
11158 |
+ am_missing_run="$MISSING --run " |
11159 |
+else |
11160 |
+ am_missing_run= |
11161 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
11162 |
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
11163 |
+fi |
11164 |
+ |
11165 |
+if test x"${install_sh}" != xset; then |
11166 |
+ case $am_aux_dir in |
11167 |
+ *\ * | *\ *) |
11168 |
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
11169 |
+ *) |
11170 |
+ install_sh="\${SHELL} $am_aux_dir/install-sh" |
11171 |
+ esac |
11172 |
+fi |
11173 |
+ |
11174 |
+# Installed binaries are usually stripped using `strip' when the user |
11175 |
+# run `make install-strip'. However `strip' might not be the right |
11176 |
+# tool to use in cross-compilation environments, therefore Automake |
11177 |
+# will honor the `STRIP' environment variable to overrule this program. |
11178 |
+if test "$cross_compiling" != no; then |
11179 |
+ if test -n "$ac_tool_prefix"; then |
11180 |
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
11181 |
+set dummy ${ac_tool_prefix}strip; ac_word=$2 |
11182 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11183 |
+$as_echo_n "checking for $ac_word... " >&6; } |
11184 |
+if ${ac_cv_prog_STRIP+:} false; then : |
11185 |
+ $as_echo_n "(cached) " >&6 |
11186 |
+else |
11187 |
+ if test -n "$STRIP"; then |
11188 |
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
11189 |
+else |
11190 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11191 |
+for as_dir in $PATH |
11192 |
+do |
11193 |
+ IFS=$as_save_IFS |
11194 |
+ test -z "$as_dir" && as_dir=. |
11195 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11196 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11197 |
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
11198 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11199 |
+ break 2 |
11200 |
+ fi |
11201 |
+done |
11202 |
+ done |
11203 |
+IFS=$as_save_IFS |
11204 |
+ |
11205 |
+fi |
11206 |
+fi |
11207 |
+STRIP=$ac_cv_prog_STRIP |
11208 |
+if test -n "$STRIP"; then |
11209 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
11210 |
+$as_echo "$STRIP" >&6; } |
11211 |
+else |
11212 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11213 |
+$as_echo "no" >&6; } |
11214 |
+fi |
11215 |
+ |
11216 |
+ |
11217 |
+fi |
11218 |
+if test -z "$ac_cv_prog_STRIP"; then |
11219 |
+ ac_ct_STRIP=$STRIP |
11220 |
+ # Extract the first word of "strip", so it can be a program name with args. |
11221 |
+set dummy strip; ac_word=$2 |
11222 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11223 |
+$as_echo_n "checking for $ac_word... " >&6; } |
11224 |
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
11225 |
+ $as_echo_n "(cached) " >&6 |
11226 |
+else |
11227 |
+ if test -n "$ac_ct_STRIP"; then |
11228 |
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
11229 |
+else |
11230 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11231 |
+for as_dir in $PATH |
11232 |
+do |
11233 |
+ IFS=$as_save_IFS |
11234 |
+ test -z "$as_dir" && as_dir=. |
11235 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11236 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11237 |
+ ac_cv_prog_ac_ct_STRIP="strip" |
11238 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11239 |
+ break 2 |
11240 |
+ fi |
11241 |
+done |
11242 |
+ done |
11243 |
+IFS=$as_save_IFS |
11244 |
+ |
11245 |
+fi |
11246 |
+fi |
11247 |
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
11248 |
+if test -n "$ac_ct_STRIP"; then |
11249 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
11250 |
+$as_echo "$ac_ct_STRIP" >&6; } |
11251 |
+else |
11252 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11253 |
+$as_echo "no" >&6; } |
11254 |
+fi |
11255 |
+ |
11256 |
+ if test "x$ac_ct_STRIP" = x; then |
11257 |
+ STRIP=":" |
11258 |
+ else |
11259 |
+ case $cross_compiling:$ac_tool_warned in |
11260 |
+yes:) |
11261 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
11262 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
11263 |
+ac_tool_warned=yes ;; |
11264 |
+esac |
11265 |
+ STRIP=$ac_ct_STRIP |
11266 |
+ fi |
11267 |
+else |
11268 |
+ STRIP="$ac_cv_prog_STRIP" |
11269 |
+fi |
11270 |
+ |
11271 |
+fi |
11272 |
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
11273 |
+ |
11274 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
11275 |
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
11276 |
+if test -z "$MKDIR_P"; then |
11277 |
+ if ${ac_cv_path_mkdir+:} false; then : |
11278 |
+ $as_echo_n "(cached) " >&6 |
11279 |
+else |
11280 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11281 |
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
11282 |
+do |
11283 |
+ IFS=$as_save_IFS |
11284 |
+ test -z "$as_dir" && as_dir=. |
11285 |
+ for ac_prog in mkdir gmkdir; do |
11286 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11287 |
+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
11288 |
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
11289 |
+ 'mkdir (GNU coreutils) '* | \ |
11290 |
+ 'mkdir (coreutils) '* | \ |
11291 |
+ 'mkdir (fileutils) '4.1*) |
11292 |
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
11293 |
+ break 3;; |
11294 |
+ esac |
11295 |
+ done |
11296 |
+ done |
11297 |
+ done |
11298 |
+IFS=$as_save_IFS |
11299 |
+ |
11300 |
+fi |
11301 |
+ |
11302 |
+ test -d ./--version && rmdir ./--version |
11303 |
+ if test "${ac_cv_path_mkdir+set}" = set; then |
11304 |
+ MKDIR_P="$ac_cv_path_mkdir -p" |
11305 |
+ else |
11306 |
+ # As a last resort, use the slow shell script. Don't cache a |
11307 |
+ # value for MKDIR_P within a source directory, because that will |
11308 |
+ # break other packages using the cache if that directory is |
11309 |
+ # removed, or if the value is a relative name. |
11310 |
+ MKDIR_P="$ac_install_sh -d" |
11311 |
+ fi |
11312 |
+fi |
11313 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
11314 |
+$as_echo "$MKDIR_P" >&6; } |
11315 |
+ |
11316 |
+mkdir_p="$MKDIR_P" |
11317 |
+case $mkdir_p in |
11318 |
+ [\\/$]* | ?:[\\/]*) ;; |
11319 |
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
11320 |
+esac |
11321 |
+ |
11322 |
+for ac_prog in gawk mawk nawk awk |
11323 |
+do |
11324 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
11325 |
+set dummy $ac_prog; ac_word=$2 |
11326 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11327 |
+$as_echo_n "checking for $ac_word... " >&6; } |
11328 |
+if ${ac_cv_prog_AWK+:} false; then : |
11329 |
+ $as_echo_n "(cached) " >&6 |
11330 |
+else |
11331 |
+ if test -n "$AWK"; then |
11332 |
+ ac_cv_prog_AWK="$AWK" # Let the user override the test. |
11333 |
+else |
11334 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11335 |
+for as_dir in $PATH |
11336 |
+do |
11337 |
+ IFS=$as_save_IFS |
11338 |
+ test -z "$as_dir" && as_dir=. |
11339 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11340 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11341 |
+ ac_cv_prog_AWK="$ac_prog" |
11342 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11343 |
+ break 2 |
11344 |
+ fi |
11345 |
+done |
11346 |
+ done |
11347 |
+IFS=$as_save_IFS |
11348 |
+ |
11349 |
+fi |
11350 |
+fi |
11351 |
+AWK=$ac_cv_prog_AWK |
11352 |
+if test -n "$AWK"; then |
11353 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
11354 |
+$as_echo "$AWK" >&6; } |
11355 |
+else |
11356 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11357 |
+$as_echo "no" >&6; } |
11358 |
+fi |
11359 |
+ |
11360 |
+ |
11361 |
+ test -n "$AWK" && break |
11362 |
+done |
11363 |
+ |
11364 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
11365 |
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
11366 |
+set x ${MAKE-make} |
11367 |
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
11368 |
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
11369 |
+ $as_echo_n "(cached) " >&6 |
11370 |
+else |
11371 |
+ cat >conftest.make <<\_ACEOF |
11372 |
+SHELL = /bin/sh |
11373 |
+all: |
11374 |
+ @echo '@@@%%%=$(MAKE)=@@@%%%' |
11375 |
+_ACEOF |
11376 |
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
11377 |
+case `${MAKE-make} -f conftest.make 2>/dev/null` in |
11378 |
+ *@@@%%%=?*=@@@%%%*) |
11379 |
+ eval ac_cv_prog_make_${ac_make}_set=yes;; |
11380 |
+ *) |
11381 |
+ eval ac_cv_prog_make_${ac_make}_set=no;; |
11382 |
+esac |
11383 |
+rm -f conftest.make |
11384 |
+fi |
11385 |
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
11386 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11387 |
+$as_echo "yes" >&6; } |
11388 |
+ SET_MAKE= |
11389 |
+else |
11390 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11391 |
+$as_echo "no" >&6; } |
11392 |
+ SET_MAKE="MAKE=${MAKE-make}" |
11393 |
+fi |
11394 |
+ |
11395 |
+rm -rf .tst 2>/dev/null |
11396 |
+mkdir .tst 2>/dev/null |
11397 |
+if test -d .tst; then |
11398 |
+ am__leading_dot=. |
11399 |
+else |
11400 |
+ am__leading_dot=_ |
11401 |
+fi |
11402 |
+rmdir .tst 2>/dev/null |
11403 |
+ |
11404 |
+if test "`cd $srcdir && pwd`" != "`pwd`"; then |
11405 |
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
11406 |
+ # is not polluted with repeated "-I." |
11407 |
+ am__isrc=' -I$(srcdir)' |
11408 |
+ # test to see if srcdir already configured |
11409 |
+ if test -f $srcdir/config.status; then |
11410 |
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
11411 |
+ fi |
11412 |
+fi |
11413 |
+ |
11414 |
+# test whether we have cygpath |
11415 |
+if test -z "$CYGPATH_W"; then |
11416 |
+ if (cygpath --version) >/dev/null 2>/dev/null; then |
11417 |
+ CYGPATH_W='cygpath -w' |
11418 |
+ else |
11419 |
+ CYGPATH_W=echo |
11420 |
+ fi |
11421 |
+fi |
11422 |
+ |
11423 |
+ |
11424 |
+# Define the identity of the package. |
11425 |
+ PACKAGE='elfix' |
11426 |
+ VERSION='0.4.0' |
11427 |
+ |
11428 |
+ |
11429 |
+cat >>confdefs.h <<_ACEOF |
11430 |
+@%:@define PACKAGE "$PACKAGE" |
11431 |
+_ACEOF |
11432 |
+ |
11433 |
+ |
11434 |
+cat >>confdefs.h <<_ACEOF |
11435 |
+@%:@define VERSION "$VERSION" |
11436 |
+_ACEOF |
11437 |
+ |
11438 |
+# Some tools Automake needs. |
11439 |
+ |
11440 |
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
11441 |
+ |
11442 |
+ |
11443 |
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
11444 |
+ |
11445 |
+ |
11446 |
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
11447 |
+ |
11448 |
+ |
11449 |
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
11450 |
+ |
11451 |
+ |
11452 |
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
11453 |
+ |
11454 |
+# We need awk for the "check" target. The system "awk" is bad on |
11455 |
+# some platforms. |
11456 |
+# Always define AMTAR for backward compatibility. |
11457 |
+ |
11458 |
+AMTAR=${AMTAR-"${am_missing_run}tar"} |
11459 |
+ |
11460 |
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
11461 |
+ |
11462 |
+ |
11463 |
+ |
11464 |
+ |
11465 |
+ |
11466 |
+ |
11467 |
+@%:@ Check whether --enable-tests was given. |
11468 |
+if test "${enable_tests+set}" = set; then : |
11469 |
+ enableval=$enable_tests; |
11470 |
+ if test "x$enable_tests" = "xyes"; then : |
11471 |
+ |
11472 |
+ # Extract the first word of "yasm", so it can be a program name with args. |
11473 |
+set dummy yasm; ac_word=$2 |
11474 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11475 |
+$as_echo_n "checking for $ac_word... " >&6; } |
11476 |
+if ${ac_cv_prog_has_yasm+:} false; then : |
11477 |
+ $as_echo_n "(cached) " >&6 |
11478 |
+else |
11479 |
+ if test -n "$has_yasm"; then |
11480 |
+ ac_cv_prog_has_yasm="$has_yasm" # Let the user override the test. |
11481 |
+else |
11482 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11483 |
+for as_dir in $PATH |
11484 |
+do |
11485 |
+ IFS=$as_save_IFS |
11486 |
+ test -z "$as_dir" && as_dir=. |
11487 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11488 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11489 |
+ ac_cv_prog_has_yasm=""yes"" |
11490 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11491 |
+ break 2 |
11492 |
+ fi |
11493 |
+done |
11494 |
+ done |
11495 |
+IFS=$as_save_IFS |
11496 |
+ |
11497 |
+ test -z "$ac_cv_prog_has_yasm" && ac_cv_prog_has_yasm=""no"" |
11498 |
+fi |
11499 |
+fi |
11500 |
+has_yasm=$ac_cv_prog_has_yasm |
11501 |
+if test -n "$has_yasm"; then |
11502 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_yasm" >&5 |
11503 |
+$as_echo "$has_yasm" >&6; } |
11504 |
+else |
11505 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11506 |
+$as_echo "no" >&6; } |
11507 |
+fi |
11508 |
+ |
11509 |
+ |
11510 |
+ if test "x$has_yasm" = "xno"; then : |
11511 |
+ as_fn_error $? "\"Missing yasm assembler\"" "$LINENO" 5 |
11512 |
+fi |
11513 |
+ |
11514 |
+ |
11515 |
+fi |
11516 |
+ |
11517 |
+ |
11518 |
+fi |
11519 |
+ |
11520 |
+ if test "x$has_yasm" = "xyes"; then |
11521 |
+ TEST_TRUE= |
11522 |
+ TEST_FALSE='#' |
11523 |
+else |
11524 |
+ TEST_TRUE='#' |
11525 |
+ TEST_FALSE= |
11526 |
+fi |
11527 |
+ |
11528 |
+ |
11529 |
+DEPDIR="${am__leading_dot}deps" |
11530 |
+ |
11531 |
+ac_config_commands="$ac_config_commands depfiles" |
11532 |
+ |
11533 |
+ |
11534 |
+am_make=${MAKE-make} |
11535 |
+cat > confinc << 'END' |
11536 |
+am__doit: |
11537 |
+ @echo this is the am__doit target |
11538 |
+.PHONY: am__doit |
11539 |
+END |
11540 |
+# If we don't find an include directive, just comment out the code. |
11541 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
11542 |
+$as_echo_n "checking for style of include used by $am_make... " >&6; } |
11543 |
+am__include="#" |
11544 |
+am__quote= |
11545 |
+_am_result=none |
11546 |
+# First try GNU make style include. |
11547 |
+echo "include confinc" > confmf |
11548 |
+# Ignore all kinds of additional output from `make'. |
11549 |
+case `$am_make -s -f confmf 2> /dev/null` in #( |
11550 |
+*the\ am__doit\ target*) |
11551 |
+ am__include=include |
11552 |
+ am__quote= |
11553 |
+ _am_result=GNU |
11554 |
+ ;; |
11555 |
+esac |
11556 |
+# Now try BSD make style include. |
11557 |
+if test "$am__include" = "#"; then |
11558 |
+ echo '.include "confinc"' > confmf |
11559 |
+ case `$am_make -s -f confmf 2> /dev/null` in #( |
11560 |
+ *the\ am__doit\ target*) |
11561 |
+ am__include=.include |
11562 |
+ am__quote="\"" |
11563 |
+ _am_result=BSD |
11564 |
+ ;; |
11565 |
+ esac |
11566 |
+fi |
11567 |
+ |
11568 |
+ |
11569 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
11570 |
+$as_echo "$_am_result" >&6; } |
11571 |
+rm -f confinc confmf |
11572 |
+ |
11573 |
+@%:@ Check whether --enable-dependency-tracking was given. |
11574 |
+if test "${enable_dependency_tracking+set}" = set; then : |
11575 |
+ enableval=$enable_dependency_tracking; |
11576 |
+fi |
11577 |
+ |
11578 |
+if test "x$enable_dependency_tracking" != xno; then |
11579 |
+ am_depcomp="$ac_aux_dir/depcomp" |
11580 |
+ AMDEPBACKSLASH='\' |
11581 |
+fi |
11582 |
+ if test "x$enable_dependency_tracking" != xno; then |
11583 |
+ AMDEP_TRUE= |
11584 |
+ AMDEP_FALSE='#' |
11585 |
+else |
11586 |
+ AMDEP_TRUE='#' |
11587 |
+ AMDEP_FALSE= |
11588 |
+fi |
11589 |
+ |
11590 |
+ |
11591 |
+ac_ext=c |
11592 |
+ac_cpp='$CPP $CPPFLAGS' |
11593 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
11594 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
11595 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
11596 |
+if test -n "$ac_tool_prefix"; then |
11597 |
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
11598 |
+set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
11599 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11600 |
+$as_echo_n "checking for $ac_word... " >&6; } |
11601 |
+if ${ac_cv_prog_CC+:} false; then : |
11602 |
+ $as_echo_n "(cached) " >&6 |
11603 |
+else |
11604 |
+ if test -n "$CC"; then |
11605 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
11606 |
+else |
11607 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11608 |
+for as_dir in $PATH |
11609 |
+do |
11610 |
+ IFS=$as_save_IFS |
11611 |
+ test -z "$as_dir" && as_dir=. |
11612 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11613 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11614 |
+ ac_cv_prog_CC="${ac_tool_prefix}gcc" |
11615 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11616 |
+ break 2 |
11617 |
+ fi |
11618 |
+done |
11619 |
+ done |
11620 |
+IFS=$as_save_IFS |
11621 |
+ |
11622 |
+fi |
11623 |
+fi |
11624 |
+CC=$ac_cv_prog_CC |
11625 |
+if test -n "$CC"; then |
11626 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
11627 |
+$as_echo "$CC" >&6; } |
11628 |
+else |
11629 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11630 |
+$as_echo "no" >&6; } |
11631 |
+fi |
11632 |
+ |
11633 |
+ |
11634 |
+fi |
11635 |
+if test -z "$ac_cv_prog_CC"; then |
11636 |
+ ac_ct_CC=$CC |
11637 |
+ # Extract the first word of "gcc", so it can be a program name with args. |
11638 |
+set dummy gcc; ac_word=$2 |
11639 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11640 |
+$as_echo_n "checking for $ac_word... " >&6; } |
11641 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
11642 |
+ $as_echo_n "(cached) " >&6 |
11643 |
+else |
11644 |
+ if test -n "$ac_ct_CC"; then |
11645 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
11646 |
+else |
11647 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11648 |
+for as_dir in $PATH |
11649 |
+do |
11650 |
+ IFS=$as_save_IFS |
11651 |
+ test -z "$as_dir" && as_dir=. |
11652 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11653 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11654 |
+ ac_cv_prog_ac_ct_CC="gcc" |
11655 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11656 |
+ break 2 |
11657 |
+ fi |
11658 |
+done |
11659 |
+ done |
11660 |
+IFS=$as_save_IFS |
11661 |
+ |
11662 |
+fi |
11663 |
+fi |
11664 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
11665 |
+if test -n "$ac_ct_CC"; then |
11666 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
11667 |
+$as_echo "$ac_ct_CC" >&6; } |
11668 |
+else |
11669 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11670 |
+$as_echo "no" >&6; } |
11671 |
+fi |
11672 |
+ |
11673 |
+ if test "x$ac_ct_CC" = x; then |
11674 |
+ CC="" |
11675 |
+ else |
11676 |
+ case $cross_compiling:$ac_tool_warned in |
11677 |
+yes:) |
11678 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
11679 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
11680 |
+ac_tool_warned=yes ;; |
11681 |
+esac |
11682 |
+ CC=$ac_ct_CC |
11683 |
+ fi |
11684 |
+else |
11685 |
+ CC="$ac_cv_prog_CC" |
11686 |
+fi |
11687 |
+ |
11688 |
+if test -z "$CC"; then |
11689 |
+ if test -n "$ac_tool_prefix"; then |
11690 |
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
11691 |
+set dummy ${ac_tool_prefix}cc; ac_word=$2 |
11692 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11693 |
+$as_echo_n "checking for $ac_word... " >&6; } |
11694 |
+if ${ac_cv_prog_CC+:} false; then : |
11695 |
+ $as_echo_n "(cached) " >&6 |
11696 |
+else |
11697 |
+ if test -n "$CC"; then |
11698 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
11699 |
+else |
11700 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11701 |
+for as_dir in $PATH |
11702 |
+do |
11703 |
+ IFS=$as_save_IFS |
11704 |
+ test -z "$as_dir" && as_dir=. |
11705 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11706 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11707 |
+ ac_cv_prog_CC="${ac_tool_prefix}cc" |
11708 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11709 |
+ break 2 |
11710 |
+ fi |
11711 |
+done |
11712 |
+ done |
11713 |
+IFS=$as_save_IFS |
11714 |
+ |
11715 |
+fi |
11716 |
+fi |
11717 |
+CC=$ac_cv_prog_CC |
11718 |
+if test -n "$CC"; then |
11719 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
11720 |
+$as_echo "$CC" >&6; } |
11721 |
+else |
11722 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11723 |
+$as_echo "no" >&6; } |
11724 |
+fi |
11725 |
+ |
11726 |
+ |
11727 |
+ fi |
11728 |
+fi |
11729 |
+if test -z "$CC"; then |
11730 |
+ # Extract the first word of "cc", so it can be a program name with args. |
11731 |
+set dummy cc; ac_word=$2 |
11732 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11733 |
+$as_echo_n "checking for $ac_word... " >&6; } |
11734 |
+if ${ac_cv_prog_CC+:} false; then : |
11735 |
+ $as_echo_n "(cached) " >&6 |
11736 |
+else |
11737 |
+ if test -n "$CC"; then |
11738 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
11739 |
+else |
11740 |
+ ac_prog_rejected=no |
11741 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11742 |
+for as_dir in $PATH |
11743 |
+do |
11744 |
+ IFS=$as_save_IFS |
11745 |
+ test -z "$as_dir" && as_dir=. |
11746 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11747 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11748 |
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
11749 |
+ ac_prog_rejected=yes |
11750 |
+ continue |
11751 |
+ fi |
11752 |
+ ac_cv_prog_CC="cc" |
11753 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11754 |
+ break 2 |
11755 |
+ fi |
11756 |
+done |
11757 |
+ done |
11758 |
+IFS=$as_save_IFS |
11759 |
+ |
11760 |
+if test $ac_prog_rejected = yes; then |
11761 |
+ # We found a bogon in the path, so make sure we never use it. |
11762 |
+ set dummy $ac_cv_prog_CC |
11763 |
+ shift |
11764 |
+ if test $@%:@ != 0; then |
11765 |
+ # We chose a different compiler from the bogus one. |
11766 |
+ # However, it has the same basename, so the bogon will be chosen |
11767 |
+ # first if we set CC to just the basename; use the full file name. |
11768 |
+ shift |
11769 |
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
11770 |
+ fi |
11771 |
+fi |
11772 |
+fi |
11773 |
+fi |
11774 |
+CC=$ac_cv_prog_CC |
11775 |
+if test -n "$CC"; then |
11776 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
11777 |
+$as_echo "$CC" >&6; } |
11778 |
+else |
11779 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11780 |
+$as_echo "no" >&6; } |
11781 |
+fi |
11782 |
+ |
11783 |
+ |
11784 |
+fi |
11785 |
+if test -z "$CC"; then |
11786 |
+ if test -n "$ac_tool_prefix"; then |
11787 |
+ for ac_prog in cl.exe |
11788 |
+ do |
11789 |
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
11790 |
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
11791 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11792 |
+$as_echo_n "checking for $ac_word... " >&6; } |
11793 |
+if ${ac_cv_prog_CC+:} false; then : |
11794 |
+ $as_echo_n "(cached) " >&6 |
11795 |
+else |
11796 |
+ if test -n "$CC"; then |
11797 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
11798 |
+else |
11799 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11800 |
+for as_dir in $PATH |
11801 |
+do |
11802 |
+ IFS=$as_save_IFS |
11803 |
+ test -z "$as_dir" && as_dir=. |
11804 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11805 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11806 |
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
11807 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11808 |
+ break 2 |
11809 |
+ fi |
11810 |
+done |
11811 |
+ done |
11812 |
+IFS=$as_save_IFS |
11813 |
+ |
11814 |
+fi |
11815 |
+fi |
11816 |
+CC=$ac_cv_prog_CC |
11817 |
+if test -n "$CC"; then |
11818 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
11819 |
+$as_echo "$CC" >&6; } |
11820 |
+else |
11821 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11822 |
+$as_echo "no" >&6; } |
11823 |
+fi |
11824 |
+ |
11825 |
+ |
11826 |
+ test -n "$CC" && break |
11827 |
+ done |
11828 |
+fi |
11829 |
+if test -z "$CC"; then |
11830 |
+ ac_ct_CC=$CC |
11831 |
+ for ac_prog in cl.exe |
11832 |
+do |
11833 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
11834 |
+set dummy $ac_prog; ac_word=$2 |
11835 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11836 |
+$as_echo_n "checking for $ac_word... " >&6; } |
11837 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
11838 |
+ $as_echo_n "(cached) " >&6 |
11839 |
+else |
11840 |
+ if test -n "$ac_ct_CC"; then |
11841 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
11842 |
+else |
11843 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11844 |
+for as_dir in $PATH |
11845 |
+do |
11846 |
+ IFS=$as_save_IFS |
11847 |
+ test -z "$as_dir" && as_dir=. |
11848 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
11849 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
11850 |
+ ac_cv_prog_ac_ct_CC="$ac_prog" |
11851 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11852 |
+ break 2 |
11853 |
+ fi |
11854 |
+done |
11855 |
+ done |
11856 |
+IFS=$as_save_IFS |
11857 |
+ |
11858 |
+fi |
11859 |
+fi |
11860 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
11861 |
+if test -n "$ac_ct_CC"; then |
11862 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
11863 |
+$as_echo "$ac_ct_CC" >&6; } |
11864 |
+else |
11865 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11866 |
+$as_echo "no" >&6; } |
11867 |
+fi |
11868 |
+ |
11869 |
+ |
11870 |
+ test -n "$ac_ct_CC" && break |
11871 |
+done |
11872 |
+ |
11873 |
+ if test "x$ac_ct_CC" = x; then |
11874 |
+ CC="" |
11875 |
+ else |
11876 |
+ case $cross_compiling:$ac_tool_warned in |
11877 |
+yes:) |
11878 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
11879 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
11880 |
+ac_tool_warned=yes ;; |
11881 |
+esac |
11882 |
+ CC=$ac_ct_CC |
11883 |
+ fi |
11884 |
+fi |
11885 |
+ |
11886 |
+fi |
11887 |
+ |
11888 |
+ |
11889 |
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
11890 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
11891 |
+as_fn_error $? "no acceptable C compiler found in \$PATH |
11892 |
+See \`config.log' for more details" "$LINENO" 5; } |
11893 |
+ |
11894 |
+# Provide some information about the compiler. |
11895 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
11896 |
+set X $ac_compile |
11897 |
+ac_compiler=$2 |
11898 |
+for ac_option in --version -v -V -qversion; do |
11899 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
11900 |
+case "(($ac_try" in |
11901 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11902 |
+ *) ac_try_echo=$ac_try;; |
11903 |
+esac |
11904 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
11905 |
+$as_echo "$ac_try_echo"; } >&5 |
11906 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
11907 |
+ ac_status=$? |
11908 |
+ if test -s conftest.err; then |
11909 |
+ sed '10a\ |
11910 |
+... rest of stderr output deleted ... |
11911 |
+ 10q' conftest.err >conftest.er1 |
11912 |
+ cat conftest.er1 >&5 |
11913 |
+ fi |
11914 |
+ rm -f conftest.er1 conftest.err |
11915 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11916 |
+ test $ac_status = 0; } |
11917 |
+done |
11918 |
+ |
11919 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11920 |
+/* end confdefs.h. */ |
11921 |
+ |
11922 |
+int |
11923 |
+main () |
11924 |
+{ |
11925 |
+ |
11926 |
+ ; |
11927 |
+ return 0; |
11928 |
+} |
11929 |
+_ACEOF |
11930 |
+ac_clean_files_save=$ac_clean_files |
11931 |
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
11932 |
+# Try to create an executable without -o first, disregard a.out. |
11933 |
+# It will help us diagnose broken compilers, and finding out an intuition |
11934 |
+# of exeext. |
11935 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
11936 |
+$as_echo_n "checking whether the C compiler works... " >&6; } |
11937 |
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
11938 |
+ |
11939 |
+# The possible output files: |
11940 |
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
11941 |
+ |
11942 |
+ac_rmfiles= |
11943 |
+for ac_file in $ac_files |
11944 |
+do |
11945 |
+ case $ac_file in |
11946 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
11947 |
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
11948 |
+ esac |
11949 |
+done |
11950 |
+rm -f $ac_rmfiles |
11951 |
+ |
11952 |
+if { { ac_try="$ac_link_default" |
11953 |
+case "(($ac_try" in |
11954 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11955 |
+ *) ac_try_echo=$ac_try;; |
11956 |
+esac |
11957 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
11958 |
+$as_echo "$ac_try_echo"; } >&5 |
11959 |
+ (eval "$ac_link_default") 2>&5 |
11960 |
+ ac_status=$? |
11961 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11962 |
+ test $ac_status = 0; }; then : |
11963 |
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
11964 |
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
11965 |
+# in a Makefile. We should not override ac_cv_exeext if it was cached, |
11966 |
+# so that the user can short-circuit this test for compilers unknown to |
11967 |
+# Autoconf. |
11968 |
+for ac_file in $ac_files '' |
11969 |
+do |
11970 |
+ test -f "$ac_file" || continue |
11971 |
+ case $ac_file in |
11972 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
11973 |
+ ;; |
11974 |
+ [ab].out ) |
11975 |
+ # We found the default executable, but exeext='' is most |
11976 |
+ # certainly right. |
11977 |
+ break;; |
11978 |
+ *.* ) |
11979 |
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
11980 |
+ then :; else |
11981 |
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
11982 |
+ fi |
11983 |
+ # We set ac_cv_exeext here because the later test for it is not |
11984 |
+ # safe: cross compilers may not add the suffix if given an `-o' |
11985 |
+ # argument, so we may need to know it at that point already. |
11986 |
+ # Even if this section looks crufty: it has the advantage of |
11987 |
+ # actually working. |
11988 |
+ break;; |
11989 |
+ * ) |
11990 |
+ break;; |
11991 |
+ esac |
11992 |
+done |
11993 |
+test "$ac_cv_exeext" = no && ac_cv_exeext= |
11994 |
+ |
11995 |
+else |
11996 |
+ ac_file='' |
11997 |
+fi |
11998 |
+if test -z "$ac_file"; then : |
11999 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12000 |
+$as_echo "no" >&6; } |
12001 |
+$as_echo "$as_me: failed program was:" >&5 |
12002 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
12003 |
+ |
12004 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12005 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12006 |
+as_fn_error 77 "C compiler cannot create executables |
12007 |
+See \`config.log' for more details" "$LINENO" 5; } |
12008 |
+else |
12009 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12010 |
+$as_echo "yes" >&6; } |
12011 |
+fi |
12012 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
12013 |
+$as_echo_n "checking for C compiler default output file name... " >&6; } |
12014 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
12015 |
+$as_echo "$ac_file" >&6; } |
12016 |
+ac_exeext=$ac_cv_exeext |
12017 |
+ |
12018 |
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
12019 |
+ac_clean_files=$ac_clean_files_save |
12020 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
12021 |
+$as_echo_n "checking for suffix of executables... " >&6; } |
12022 |
+if { { ac_try="$ac_link" |
12023 |
+case "(($ac_try" in |
12024 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12025 |
+ *) ac_try_echo=$ac_try;; |
12026 |
+esac |
12027 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
12028 |
+$as_echo "$ac_try_echo"; } >&5 |
12029 |
+ (eval "$ac_link") 2>&5 |
12030 |
+ ac_status=$? |
12031 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12032 |
+ test $ac_status = 0; }; then : |
12033 |
+ # If both `conftest.exe' and `conftest' are `present' (well, observable) |
12034 |
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
12035 |
+# work properly (i.e., refer to `conftest.exe'), while it won't with |
12036 |
+# `rm'. |
12037 |
+for ac_file in conftest.exe conftest conftest.*; do |
12038 |
+ test -f "$ac_file" || continue |
12039 |
+ case $ac_file in |
12040 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
12041 |
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
12042 |
+ break;; |
12043 |
+ * ) break;; |
12044 |
+ esac |
12045 |
+done |
12046 |
+else |
12047 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12048 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12049 |
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
12050 |
+See \`config.log' for more details" "$LINENO" 5; } |
12051 |
+fi |
12052 |
+rm -f conftest conftest$ac_cv_exeext |
12053 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
12054 |
+$as_echo "$ac_cv_exeext" >&6; } |
12055 |
+ |
12056 |
+rm -f conftest.$ac_ext |
12057 |
+EXEEXT=$ac_cv_exeext |
12058 |
+ac_exeext=$EXEEXT |
12059 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12060 |
+/* end confdefs.h. */ |
12061 |
+@%:@include <stdio.h> |
12062 |
+int |
12063 |
+main () |
12064 |
+{ |
12065 |
+FILE *f = fopen ("conftest.out", "w"); |
12066 |
+ return ferror (f) || fclose (f) != 0; |
12067 |
+ |
12068 |
+ ; |
12069 |
+ return 0; |
12070 |
+} |
12071 |
+_ACEOF |
12072 |
+ac_clean_files="$ac_clean_files conftest.out" |
12073 |
+# Check that the compiler produces executables we can run. If not, either |
12074 |
+# the compiler is broken, or we cross compile. |
12075 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
12076 |
+$as_echo_n "checking whether we are cross compiling... " >&6; } |
12077 |
+if test "$cross_compiling" != yes; then |
12078 |
+ { { ac_try="$ac_link" |
12079 |
+case "(($ac_try" in |
12080 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12081 |
+ *) ac_try_echo=$ac_try;; |
12082 |
+esac |
12083 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
12084 |
+$as_echo "$ac_try_echo"; } >&5 |
12085 |
+ (eval "$ac_link") 2>&5 |
12086 |
+ ac_status=$? |
12087 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12088 |
+ test $ac_status = 0; } |
12089 |
+ if { ac_try='./conftest$ac_cv_exeext' |
12090 |
+ { { case "(($ac_try" in |
12091 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12092 |
+ *) ac_try_echo=$ac_try;; |
12093 |
+esac |
12094 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
12095 |
+$as_echo "$ac_try_echo"; } >&5 |
12096 |
+ (eval "$ac_try") 2>&5 |
12097 |
+ ac_status=$? |
12098 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12099 |
+ test $ac_status = 0; }; }; then |
12100 |
+ cross_compiling=no |
12101 |
+ else |
12102 |
+ if test "$cross_compiling" = maybe; then |
12103 |
+ cross_compiling=yes |
12104 |
+ else |
12105 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12106 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12107 |
+as_fn_error $? "cannot run C compiled programs. |
12108 |
+If you meant to cross compile, use \`--host'. |
12109 |
+See \`config.log' for more details" "$LINENO" 5; } |
12110 |
+ fi |
12111 |
+ fi |
12112 |
+fi |
12113 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
12114 |
+$as_echo "$cross_compiling" >&6; } |
12115 |
+ |
12116 |
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
12117 |
+ac_clean_files=$ac_clean_files_save |
12118 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
12119 |
+$as_echo_n "checking for suffix of object files... " >&6; } |
12120 |
+if ${ac_cv_objext+:} false; then : |
12121 |
+ $as_echo_n "(cached) " >&6 |
12122 |
+else |
12123 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12124 |
+/* end confdefs.h. */ |
12125 |
+ |
12126 |
+int |
12127 |
+main () |
12128 |
+{ |
12129 |
+ |
12130 |
+ ; |
12131 |
+ return 0; |
12132 |
+} |
12133 |
+_ACEOF |
12134 |
+rm -f conftest.o conftest.obj |
12135 |
+if { { ac_try="$ac_compile" |
12136 |
+case "(($ac_try" in |
12137 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12138 |
+ *) ac_try_echo=$ac_try;; |
12139 |
+esac |
12140 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
12141 |
+$as_echo "$ac_try_echo"; } >&5 |
12142 |
+ (eval "$ac_compile") 2>&5 |
12143 |
+ ac_status=$? |
12144 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12145 |
+ test $ac_status = 0; }; then : |
12146 |
+ for ac_file in conftest.o conftest.obj conftest.*; do |
12147 |
+ test -f "$ac_file" || continue; |
12148 |
+ case $ac_file in |
12149 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
12150 |
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
12151 |
+ break;; |
12152 |
+ esac |
12153 |
+done |
12154 |
+else |
12155 |
+ $as_echo "$as_me: failed program was:" >&5 |
12156 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
12157 |
+ |
12158 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12159 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12160 |
+as_fn_error $? "cannot compute suffix of object files: cannot compile |
12161 |
+See \`config.log' for more details" "$LINENO" 5; } |
12162 |
+fi |
12163 |
+rm -f conftest.$ac_cv_objext conftest.$ac_ext |
12164 |
+fi |
12165 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
12166 |
+$as_echo "$ac_cv_objext" >&6; } |
12167 |
+OBJEXT=$ac_cv_objext |
12168 |
+ac_objext=$OBJEXT |
12169 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
12170 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
12171 |
+if ${ac_cv_c_compiler_gnu+:} false; then : |
12172 |
+ $as_echo_n "(cached) " >&6 |
12173 |
+else |
12174 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12175 |
+/* end confdefs.h. */ |
12176 |
+ |
12177 |
+int |
12178 |
+main () |
12179 |
+{ |
12180 |
+#ifndef __GNUC__ |
12181 |
+ choke me |
12182 |
+#endif |
12183 |
+ |
12184 |
+ ; |
12185 |
+ return 0; |
12186 |
+} |
12187 |
+_ACEOF |
12188 |
+if ac_fn_c_try_compile "$LINENO"; then : |
12189 |
+ ac_compiler_gnu=yes |
12190 |
+else |
12191 |
+ ac_compiler_gnu=no |
12192 |
+fi |
12193 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12194 |
+ac_cv_c_compiler_gnu=$ac_compiler_gnu |
12195 |
+ |
12196 |
+fi |
12197 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
12198 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
12199 |
+if test $ac_compiler_gnu = yes; then |
12200 |
+ GCC=yes |
12201 |
+else |
12202 |
+ GCC= |
12203 |
+fi |
12204 |
+ac_test_CFLAGS=${CFLAGS+set} |
12205 |
+ac_save_CFLAGS=$CFLAGS |
12206 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
12207 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
12208 |
+if ${ac_cv_prog_cc_g+:} false; then : |
12209 |
+ $as_echo_n "(cached) " >&6 |
12210 |
+else |
12211 |
+ ac_save_c_werror_flag=$ac_c_werror_flag |
12212 |
+ ac_c_werror_flag=yes |
12213 |
+ ac_cv_prog_cc_g=no |
12214 |
+ CFLAGS="-g" |
12215 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12216 |
+/* end confdefs.h. */ |
12217 |
+ |
12218 |
+int |
12219 |
+main () |
12220 |
+{ |
12221 |
+ |
12222 |
+ ; |
12223 |
+ return 0; |
12224 |
+} |
12225 |
+_ACEOF |
12226 |
+if ac_fn_c_try_compile "$LINENO"; then : |
12227 |
+ ac_cv_prog_cc_g=yes |
12228 |
+else |
12229 |
+ CFLAGS="" |
12230 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12231 |
+/* end confdefs.h. */ |
12232 |
+ |
12233 |
+int |
12234 |
+main () |
12235 |
+{ |
12236 |
+ |
12237 |
+ ; |
12238 |
+ return 0; |
12239 |
+} |
12240 |
+_ACEOF |
12241 |
+if ac_fn_c_try_compile "$LINENO"; then : |
12242 |
+ |
12243 |
+else |
12244 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
12245 |
+ CFLAGS="-g" |
12246 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12247 |
+/* end confdefs.h. */ |
12248 |
+ |
12249 |
+int |
12250 |
+main () |
12251 |
+{ |
12252 |
+ |
12253 |
+ ; |
12254 |
+ return 0; |
12255 |
+} |
12256 |
+_ACEOF |
12257 |
+if ac_fn_c_try_compile "$LINENO"; then : |
12258 |
+ ac_cv_prog_cc_g=yes |
12259 |
+fi |
12260 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12261 |
+fi |
12262 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12263 |
+fi |
12264 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12265 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
12266 |
+fi |
12267 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
12268 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
12269 |
+if test "$ac_test_CFLAGS" = set; then |
12270 |
+ CFLAGS=$ac_save_CFLAGS |
12271 |
+elif test $ac_cv_prog_cc_g = yes; then |
12272 |
+ if test "$GCC" = yes; then |
12273 |
+ CFLAGS="-g -O2" |
12274 |
+ else |
12275 |
+ CFLAGS="-g" |
12276 |
+ fi |
12277 |
+else |
12278 |
+ if test "$GCC" = yes; then |
12279 |
+ CFLAGS="-O2" |
12280 |
+ else |
12281 |
+ CFLAGS= |
12282 |
+ fi |
12283 |
+fi |
12284 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
12285 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
12286 |
+if ${ac_cv_prog_cc_c89+:} false; then : |
12287 |
+ $as_echo_n "(cached) " >&6 |
12288 |
+else |
12289 |
+ ac_cv_prog_cc_c89=no |
12290 |
+ac_save_CC=$CC |
12291 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12292 |
+/* end confdefs.h. */ |
12293 |
+#include <stdarg.h> |
12294 |
+#include <stdio.h> |
12295 |
+#include <sys/types.h> |
12296 |
+#include <sys/stat.h> |
12297 |
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
12298 |
+struct buf { int x; }; |
12299 |
+FILE * (*rcsopen) (struct buf *, struct stat *, int); |
12300 |
+static char *e (p, i) |
12301 |
+ char **p; |
12302 |
+ int i; |
12303 |
+{ |
12304 |
+ return p[i]; |
12305 |
+} |
12306 |
+static char *f (char * (*g) (char **, int), char **p, ...) |
12307 |
+{ |
12308 |
+ char *s; |
12309 |
+ va_list v; |
12310 |
+ va_start (v,p); |
12311 |
+ s = g (p, va_arg (v,int)); |
12312 |
+ va_end (v); |
12313 |
+ return s; |
12314 |
+} |
12315 |
+ |
12316 |
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
12317 |
+ function prototypes and stuff, but not '\xHH' hex character constants. |
12318 |
+ These don't provoke an error unfortunately, instead are silently treated |
12319 |
+ as 'x'. The following induces an error, until -std is added to get |
12320 |
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
12321 |
+ array size at least. It's necessary to write '\x00'==0 to get something |
12322 |
+ that's true only with -std. */ |
12323 |
+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
12324 |
+ |
12325 |
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
12326 |
+ inside strings and character constants. */ |
12327 |
+#define FOO(x) 'x' |
12328 |
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
12329 |
+ |
12330 |
+int test (int i, double x); |
12331 |
+struct s1 {int (*f) (int a);}; |
12332 |
+struct s2 {int (*f) (double a);}; |
12333 |
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
12334 |
+int argc; |
12335 |
+char **argv; |
12336 |
+int |
12337 |
+main () |
12338 |
+{ |
12339 |
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
12340 |
+ ; |
12341 |
+ return 0; |
12342 |
+} |
12343 |
+_ACEOF |
12344 |
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
12345 |
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
12346 |
+do |
12347 |
+ CC="$ac_save_CC $ac_arg" |
12348 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
12349 |
+ ac_cv_prog_cc_c89=$ac_arg |
12350 |
+fi |
12351 |
+rm -f core conftest.err conftest.$ac_objext |
12352 |
+ test "x$ac_cv_prog_cc_c89" != "xno" && break |
12353 |
+done |
12354 |
+rm -f conftest.$ac_ext |
12355 |
+CC=$ac_save_CC |
12356 |
+ |
12357 |
+fi |
12358 |
+# AC_CACHE_VAL |
12359 |
+case "x$ac_cv_prog_cc_c89" in |
12360 |
+ x) |
12361 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
12362 |
+$as_echo "none needed" >&6; } ;; |
12363 |
+ xno) |
12364 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
12365 |
+$as_echo "unsupported" >&6; } ;; |
12366 |
+ *) |
12367 |
+ CC="$CC $ac_cv_prog_cc_c89" |
12368 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
12369 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
12370 |
+esac |
12371 |
+if test "x$ac_cv_prog_cc_c89" != xno; then : |
12372 |
+ |
12373 |
+fi |
12374 |
+ |
12375 |
+ac_ext=c |
12376 |
+ac_cpp='$CPP $CPPFLAGS' |
12377 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12378 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12379 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
12380 |
+ |
12381 |
+depcc="$CC" am_compiler_list= |
12382 |
+ |
12383 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
12384 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
12385 |
+if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
12386 |
+ $as_echo_n "(cached) " >&6 |
12387 |
+else |
12388 |
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
12389 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
12390 |
+ # making bogus files that we don't know about and never remove. For |
12391 |
+ # instance it was reported that on HP-UX the gcc test will end up |
12392 |
+ # making a dummy file named `D' -- because `-MD' means `put the output |
12393 |
+ # in D'. |
12394 |
+ mkdir conftest.dir |
12395 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
12396 |
+ # using a relative directory. |
12397 |
+ cp "$am_depcomp" conftest.dir |
12398 |
+ cd conftest.dir |
12399 |
+ # We will build objects and dependencies in a subdirectory because |
12400 |
+ # it helps to detect inapplicable dependency modes. For instance |
12401 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
12402 |
+ # side effect of compilation, but ICC will put the dependencies in |
12403 |
+ # the current directory while Tru64 will put them in the object |
12404 |
+ # directory. |
12405 |
+ mkdir sub |
12406 |
+ |
12407 |
+ am_cv_CC_dependencies_compiler_type=none |
12408 |
+ if test "$am_compiler_list" = ""; then |
12409 |
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
12410 |
+ fi |
12411 |
+ am__universal=false |
12412 |
+ case " $depcc " in #( |
12413 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
12414 |
+ esac |
12415 |
+ |
12416 |
+ for depmode in $am_compiler_list; do |
12417 |
+ # Setup a source with many dependencies, because some compilers |
12418 |
+ # like to wrap large dependency lists on column 80 (with \), and |
12419 |
+ # we should not choose a depcomp mode which is confused by this. |
12420 |
+ # |
12421 |
+ # We need to recreate these files for each test, as the compiler may |
12422 |
+ # overwrite some of them when testing with obscure command lines. |
12423 |
+ # This happens at least with the AIX C compiler. |
12424 |
+ : > sub/conftest.c |
12425 |
+ for i in 1 2 3 4 5 6; do |
12426 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
12427 |
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
12428 |
+ # Solaris 8's {/usr,}/bin/sh. |
12429 |
+ touch sub/conftst$i.h |
12430 |
+ done |
12431 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
12432 |
+ |
12433 |
+ # We check with `-c' and `-o' for the sake of the "dashmstdout" |
12434 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
12435 |
+ # handle `-M -o', and we need to detect this. Also, some Intel |
12436 |
+ # versions had trouble with output in subdirs |
12437 |
+ am__obj=sub/conftest.${OBJEXT-o} |
12438 |
+ am__minus_obj="-o $am__obj" |
12439 |
+ case $depmode in |
12440 |
+ gcc) |
12441 |
+ # This depmode causes a compiler race in universal mode. |
12442 |
+ test "$am__universal" = false || continue |
12443 |
+ ;; |
12444 |
+ nosideeffect) |
12445 |
+ # after this tag, mechanisms are not by side-effect, so they'll |
12446 |
+ # only be used when explicitly requested |
12447 |
+ if test "x$enable_dependency_tracking" = xyes; then |
12448 |
+ continue |
12449 |
+ else |
12450 |
+ break |
12451 |
+ fi |
12452 |
+ ;; |
12453 |
+ msvisualcpp | msvcmsys) |
12454 |
+ # This compiler won't grok `-c -o', but also, the minuso test has |
12455 |
+ # not run yet. These depmodes are late enough in the game, and |
12456 |
+ # so weak that their functioning should not be impacted. |
12457 |
+ am__obj=conftest.${OBJEXT-o} |
12458 |
+ am__minus_obj= |
12459 |
+ ;; |
12460 |
+ none) break ;; |
12461 |
+ esac |
12462 |
+ if depmode=$depmode \ |
12463 |
+ source=sub/conftest.c object=$am__obj \ |
12464 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
12465 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
12466 |
+ >/dev/null 2>conftest.err && |
12467 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
12468 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
12469 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
12470 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
12471 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
12472 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
12473 |
+ # that says an option was ignored or not supported. |
12474 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
12475 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
12476 |
+ # The diagnosis changed in icc 8.0: |
12477 |
+ # icc: Command line remark: option '-MP' not supported |
12478 |
+ if (grep 'ignoring option' conftest.err || |
12479 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
12480 |
+ am_cv_CC_dependencies_compiler_type=$depmode |
12481 |
+ break |
12482 |
+ fi |
12483 |
+ fi |
12484 |
+ done |
12485 |
+ |
12486 |
+ cd .. |
12487 |
+ rm -rf conftest.dir |
12488 |
+else |
12489 |
+ am_cv_CC_dependencies_compiler_type=none |
12490 |
+fi |
12491 |
+ |
12492 |
+fi |
12493 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
12494 |
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
12495 |
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
12496 |
+ |
12497 |
+ if |
12498 |
+ test "x$enable_dependency_tracking" != xno \ |
12499 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
12500 |
+ am__fastdepCC_TRUE= |
12501 |
+ am__fastdepCC_FALSE='#' |
12502 |
+else |
12503 |
+ am__fastdepCC_TRUE='#' |
12504 |
+ am__fastdepCC_FALSE= |
12505 |
+fi |
12506 |
+ |
12507 |
+ |
12508 |
+ |
12509 |
+ac_ext=c |
12510 |
+ac_cpp='$CPP $CPPFLAGS' |
12511 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12512 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12513 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
12514 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
12515 |
+$as_echo_n "checking how to run the C preprocessor... " >&6; } |
12516 |
+# On Suns, sometimes $CPP names a directory. |
12517 |
+if test -n "$CPP" && test -d "$CPP"; then |
12518 |
+ CPP= |
12519 |
+fi |
12520 |
+if test -z "$CPP"; then |
12521 |
+ if ${ac_cv_prog_CPP+:} false; then : |
12522 |
+ $as_echo_n "(cached) " >&6 |
12523 |
+else |
12524 |
+ # Double quotes because CPP needs to be expanded |
12525 |
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
12526 |
+ do |
12527 |
+ ac_preproc_ok=false |
12528 |
+for ac_c_preproc_warn_flag in '' yes |
12529 |
+do |
12530 |
+ # Use a header file that comes with gcc, so configuring glibc |
12531 |
+ # with a fresh cross-compiler works. |
12532 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12533 |
+ # <limits.h> exists even on freestanding compilers. |
12534 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
12535 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
12536 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12537 |
+/* end confdefs.h. */ |
12538 |
+@%:@ifdef __STDC__ |
12539 |
+@%:@ include <limits.h> |
12540 |
+@%:@else |
12541 |
+@%:@ include <assert.h> |
12542 |
+@%:@endif |
12543 |
+ Syntax error |
12544 |
+_ACEOF |
12545 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
12546 |
+ |
12547 |
+else |
12548 |
+ # Broken: fails on valid input. |
12549 |
+continue |
12550 |
+fi |
12551 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
12552 |
+ |
12553 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
12554 |
+ # can be detected and how. |
12555 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12556 |
+/* end confdefs.h. */ |
12557 |
+@%:@include <ac_nonexistent.h> |
12558 |
+_ACEOF |
12559 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
12560 |
+ # Broken: success on invalid input. |
12561 |
+continue |
12562 |
+else |
12563 |
+ # Passes both tests. |
12564 |
+ac_preproc_ok=: |
12565 |
+break |
12566 |
+fi |
12567 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
12568 |
+ |
12569 |
+done |
12570 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
12571 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
12572 |
+if $ac_preproc_ok; then : |
12573 |
+ break |
12574 |
+fi |
12575 |
+ |
12576 |
+ done |
12577 |
+ ac_cv_prog_CPP=$CPP |
12578 |
+ |
12579 |
+fi |
12580 |
+ CPP=$ac_cv_prog_CPP |
12581 |
+else |
12582 |
+ ac_cv_prog_CPP=$CPP |
12583 |
+fi |
12584 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
12585 |
+$as_echo "$CPP" >&6; } |
12586 |
+ac_preproc_ok=false |
12587 |
+for ac_c_preproc_warn_flag in '' yes |
12588 |
+do |
12589 |
+ # Use a header file that comes with gcc, so configuring glibc |
12590 |
+ # with a fresh cross-compiler works. |
12591 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
12592 |
+ # <limits.h> exists even on freestanding compilers. |
12593 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
12594 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
12595 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12596 |
+/* end confdefs.h. */ |
12597 |
+@%:@ifdef __STDC__ |
12598 |
+@%:@ include <limits.h> |
12599 |
+@%:@else |
12600 |
+@%:@ include <assert.h> |
12601 |
+@%:@endif |
12602 |
+ Syntax error |
12603 |
+_ACEOF |
12604 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
12605 |
+ |
12606 |
+else |
12607 |
+ # Broken: fails on valid input. |
12608 |
+continue |
12609 |
+fi |
12610 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
12611 |
+ |
12612 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
12613 |
+ # can be detected and how. |
12614 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12615 |
+/* end confdefs.h. */ |
12616 |
+@%:@include <ac_nonexistent.h> |
12617 |
+_ACEOF |
12618 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
12619 |
+ # Broken: success on invalid input. |
12620 |
+continue |
12621 |
+else |
12622 |
+ # Passes both tests. |
12623 |
+ac_preproc_ok=: |
12624 |
+break |
12625 |
+fi |
12626 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
12627 |
+ |
12628 |
+done |
12629 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
12630 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
12631 |
+if $ac_preproc_ok; then : |
12632 |
+ |
12633 |
+else |
12634 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
12635 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
12636 |
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
12637 |
+See \`config.log' for more details" "$LINENO" 5; } |
12638 |
+fi |
12639 |
+ |
12640 |
+ac_ext=c |
12641 |
+ac_cpp='$CPP $CPPFLAGS' |
12642 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
12643 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
12644 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
12645 |
+ |
12646 |
+ |
12647 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
12648 |
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
12649 |
+if ${ac_cv_path_GREP+:} false; then : |
12650 |
+ $as_echo_n "(cached) " >&6 |
12651 |
+else |
12652 |
+ if test -z "$GREP"; then |
12653 |
+ ac_path_GREP_found=false |
12654 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
12655 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
12656 |
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
12657 |
+do |
12658 |
+ IFS=$as_save_IFS |
12659 |
+ test -z "$as_dir" && as_dir=. |
12660 |
+ for ac_prog in grep ggrep; do |
12661 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
12662 |
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
12663 |
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
12664 |
+# Check for GNU ac_path_GREP and select it if it is found. |
12665 |
+ # Check for GNU $ac_path_GREP |
12666 |
+case `"$ac_path_GREP" --version 2>&1` in |
12667 |
+*GNU*) |
12668 |
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
12669 |
+*) |
12670 |
+ ac_count=0 |
12671 |
+ $as_echo_n 0123456789 >"conftest.in" |
12672 |
+ while : |
12673 |
+ do |
12674 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
12675 |
+ mv "conftest.tmp" "conftest.in" |
12676 |
+ cp "conftest.in" "conftest.nl" |
12677 |
+ $as_echo 'GREP' >> "conftest.nl" |
12678 |
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
12679 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
12680 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
12681 |
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then |
12682 |
+ # Best one so far, save it but keep looking for a better one |
12683 |
+ ac_cv_path_GREP="$ac_path_GREP" |
12684 |
+ ac_path_GREP_max=$ac_count |
12685 |
+ fi |
12686 |
+ # 10*(2^10) chars as input seems more than enough |
12687 |
+ test $ac_count -gt 10 && break |
12688 |
+ done |
12689 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
12690 |
+esac |
12691 |
+ |
12692 |
+ $ac_path_GREP_found && break 3 |
12693 |
+ done |
12694 |
+ done |
12695 |
+ done |
12696 |
+IFS=$as_save_IFS |
12697 |
+ if test -z "$ac_cv_path_GREP"; then |
12698 |
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
12699 |
+ fi |
12700 |
+else |
12701 |
+ ac_cv_path_GREP=$GREP |
12702 |
+fi |
12703 |
+ |
12704 |
+fi |
12705 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
12706 |
+$as_echo "$ac_cv_path_GREP" >&6; } |
12707 |
+ GREP="$ac_cv_path_GREP" |
12708 |
+ |
12709 |
+ |
12710 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
12711 |
+$as_echo_n "checking for egrep... " >&6; } |
12712 |
+if ${ac_cv_path_EGREP+:} false; then : |
12713 |
+ $as_echo_n "(cached) " >&6 |
12714 |
+else |
12715 |
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
12716 |
+ then ac_cv_path_EGREP="$GREP -E" |
12717 |
+ else |
12718 |
+ if test -z "$EGREP"; then |
12719 |
+ ac_path_EGREP_found=false |
12720 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
12721 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
12722 |
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
12723 |
+do |
12724 |
+ IFS=$as_save_IFS |
12725 |
+ test -z "$as_dir" && as_dir=. |
12726 |
+ for ac_prog in egrep; do |
12727 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
12728 |
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
12729 |
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
12730 |
+# Check for GNU ac_path_EGREP and select it if it is found. |
12731 |
+ # Check for GNU $ac_path_EGREP |
12732 |
+case `"$ac_path_EGREP" --version 2>&1` in |
12733 |
+*GNU*) |
12734 |
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
12735 |
+*) |
12736 |
+ ac_count=0 |
12737 |
+ $as_echo_n 0123456789 >"conftest.in" |
12738 |
+ while : |
12739 |
+ do |
12740 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
12741 |
+ mv "conftest.tmp" "conftest.in" |
12742 |
+ cp "conftest.in" "conftest.nl" |
12743 |
+ $as_echo 'EGREP' >> "conftest.nl" |
12744 |
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
12745 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
12746 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
12747 |
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
12748 |
+ # Best one so far, save it but keep looking for a better one |
12749 |
+ ac_cv_path_EGREP="$ac_path_EGREP" |
12750 |
+ ac_path_EGREP_max=$ac_count |
12751 |
+ fi |
12752 |
+ # 10*(2^10) chars as input seems more than enough |
12753 |
+ test $ac_count -gt 10 && break |
12754 |
+ done |
12755 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
12756 |
+esac |
12757 |
+ |
12758 |
+ $ac_path_EGREP_found && break 3 |
12759 |
+ done |
12760 |
+ done |
12761 |
+ done |
12762 |
+IFS=$as_save_IFS |
12763 |
+ if test -z "$ac_cv_path_EGREP"; then |
12764 |
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
12765 |
+ fi |
12766 |
+else |
12767 |
+ ac_cv_path_EGREP=$EGREP |
12768 |
+fi |
12769 |
+ |
12770 |
+ fi |
12771 |
+fi |
12772 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
12773 |
+$as_echo "$ac_cv_path_EGREP" >&6; } |
12774 |
+ EGREP="$ac_cv_path_EGREP" |
12775 |
+ |
12776 |
+ |
12777 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
12778 |
+$as_echo_n "checking for ANSI C header files... " >&6; } |
12779 |
+if ${ac_cv_header_stdc+:} false; then : |
12780 |
+ $as_echo_n "(cached) " >&6 |
12781 |
+else |
12782 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12783 |
+/* end confdefs.h. */ |
12784 |
+#include <stdlib.h> |
12785 |
+#include <stdarg.h> |
12786 |
+#include <string.h> |
12787 |
+#include <float.h> |
12788 |
+ |
12789 |
+int |
12790 |
+main () |
12791 |
+{ |
12792 |
+ |
12793 |
+ ; |
12794 |
+ return 0; |
12795 |
+} |
12796 |
+_ACEOF |
12797 |
+if ac_fn_c_try_compile "$LINENO"; then : |
12798 |
+ ac_cv_header_stdc=yes |
12799 |
+else |
12800 |
+ ac_cv_header_stdc=no |
12801 |
+fi |
12802 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12803 |
+ |
12804 |
+if test $ac_cv_header_stdc = yes; then |
12805 |
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
12806 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12807 |
+/* end confdefs.h. */ |
12808 |
+#include <string.h> |
12809 |
+ |
12810 |
+_ACEOF |
12811 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
12812 |
+ $EGREP "memchr" >/dev/null 2>&1; then : |
12813 |
+ |
12814 |
+else |
12815 |
+ ac_cv_header_stdc=no |
12816 |
+fi |
12817 |
+rm -f conftest* |
12818 |
+ |
12819 |
+fi |
12820 |
+ |
12821 |
+if test $ac_cv_header_stdc = yes; then |
12822 |
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
12823 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12824 |
+/* end confdefs.h. */ |
12825 |
+#include <stdlib.h> |
12826 |
+ |
12827 |
+_ACEOF |
12828 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
12829 |
+ $EGREP "free" >/dev/null 2>&1; then : |
12830 |
+ |
12831 |
+else |
12832 |
+ ac_cv_header_stdc=no |
12833 |
+fi |
12834 |
+rm -f conftest* |
12835 |
+ |
12836 |
+fi |
12837 |
+ |
12838 |
+if test $ac_cv_header_stdc = yes; then |
12839 |
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
12840 |
+ if test "$cross_compiling" = yes; then : |
12841 |
+ : |
12842 |
+else |
12843 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12844 |
+/* end confdefs.h. */ |
12845 |
+#include <ctype.h> |
12846 |
+#include <stdlib.h> |
12847 |
+#if ((' ' & 0x0FF) == 0x020) |
12848 |
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
12849 |
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
12850 |
+#else |
12851 |
+# define ISLOWER(c) \ |
12852 |
+ (('a' <= (c) && (c) <= 'i') \ |
12853 |
+ || ('j' <= (c) && (c) <= 'r') \ |
12854 |
+ || ('s' <= (c) && (c) <= 'z')) |
12855 |
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
12856 |
+#endif |
12857 |
+ |
12858 |
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
12859 |
+int |
12860 |
+main () |
12861 |
+{ |
12862 |
+ int i; |
12863 |
+ for (i = 0; i < 256; i++) |
12864 |
+ if (XOR (islower (i), ISLOWER (i)) |
12865 |
+ || toupper (i) != TOUPPER (i)) |
12866 |
+ return 2; |
12867 |
+ return 0; |
12868 |
+} |
12869 |
+_ACEOF |
12870 |
+if ac_fn_c_try_run "$LINENO"; then : |
12871 |
+ |
12872 |
+else |
12873 |
+ ac_cv_header_stdc=no |
12874 |
+fi |
12875 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
12876 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
12877 |
+fi |
12878 |
+ |
12879 |
+fi |
12880 |
+fi |
12881 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
12882 |
+$as_echo "$ac_cv_header_stdc" >&6; } |
12883 |
+if test $ac_cv_header_stdc = yes; then |
12884 |
+ |
12885 |
+$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h |
12886 |
+ |
12887 |
+fi |
12888 |
+ |
12889 |
+# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
12890 |
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
12891 |
+ inttypes.h stdint.h unistd.h |
12892 |
+do : |
12893 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12894 |
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
12895 |
+" |
12896 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
12897 |
+ cat >>confdefs.h <<_ACEOF |
12898 |
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12899 |
+_ACEOF |
12900 |
+ |
12901 |
+fi |
12902 |
+ |
12903 |
+done |
12904 |
+ |
12905 |
+ |
12906 |
+@%:@ Check whether --enable-xattr was given. |
12907 |
+if test "${enable_xattr+set}" = set; then : |
12908 |
+ enableval=$enable_xattr; |
12909 |
+ if test "x$enable_xattr" = "xyes"; then : |
12910 |
+ |
12911 |
+ for ac_header in attr/xattr.h |
12912 |
+do : |
12913 |
+ ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default" |
12914 |
+if test "x$ac_cv_header_attr_xattr_h" = xyes; then : |
12915 |
+ cat >>confdefs.h <<_ACEOF |
12916 |
+@%:@define HAVE_ATTR_XATTR_H 1 |
12917 |
+_ACEOF |
12918 |
+ |
12919 |
+else |
12920 |
+ as_fn_error $? "\"Missing necessary attr/xattr.h\"" "$LINENO" 5 |
12921 |
+ |
12922 |
+fi |
12923 |
+ |
12924 |
+done |
12925 |
+ |
12926 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetxattr in -lattr" >&5 |
12927 |
+$as_echo_n "checking for fgetxattr in -lattr... " >&6; } |
12928 |
+if ${ac_cv_lib_attr_fgetxattr+:} false; then : |
12929 |
+ $as_echo_n "(cached) " >&6 |
12930 |
+else |
12931 |
+ ac_check_lib_save_LIBS=$LIBS |
12932 |
+LIBS="-lattr $LIBS" |
12933 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12934 |
+/* end confdefs.h. */ |
12935 |
+ |
12936 |
+/* Override any GCC internal prototype to avoid an error. |
12937 |
+ Use char because int might match the return type of a GCC |
12938 |
+ builtin and then its argument prototype would still apply. */ |
12939 |
+#ifdef __cplusplus |
12940 |
+extern "C" |
12941 |
+#endif |
12942 |
+char fgetxattr (); |
12943 |
+int |
12944 |
+main () |
12945 |
+{ |
12946 |
+return fgetxattr (); |
12947 |
+ ; |
12948 |
+ return 0; |
12949 |
+} |
12950 |
+_ACEOF |
12951 |
+if ac_fn_c_try_link "$LINENO"; then : |
12952 |
+ ac_cv_lib_attr_fgetxattr=yes |
12953 |
+else |
12954 |
+ ac_cv_lib_attr_fgetxattr=no |
12955 |
+fi |
12956 |
+rm -f core conftest.err conftest.$ac_objext \ |
12957 |
+ conftest$ac_exeext conftest.$ac_ext |
12958 |
+LIBS=$ac_check_lib_save_LIBS |
12959 |
+fi |
12960 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_fgetxattr" >&5 |
12961 |
+$as_echo "$ac_cv_lib_attr_fgetxattr" >&6; } |
12962 |
+if test "x$ac_cv_lib_attr_fgetxattr" = xyes; then : |
12963 |
+ cat >>confdefs.h <<_ACEOF |
12964 |
+@%:@define HAVE_LIBATTR 1 |
12965 |
+_ACEOF |
12966 |
+ |
12967 |
+ LIBS="-lattr $LIBS" |
12968 |
+ |
12969 |
+else |
12970 |
+ as_fn_error $? "\"Missing necessary function fgetxattr in libattr\"" "$LINENO" 5 |
12971 |
+ |
12972 |
+fi |
12973 |
+ |
12974 |
+ CFLAGS+=" -DXATTR" |
12975 |
+ |
12976 |
+else |
12977 |
+ |
12978 |
+ CFLAGS+=" -UXATTR" |
12979 |
+ |
12980 |
+ |
12981 |
+fi |
12982 |
+ |
12983 |
+else |
12984 |
+ |
12985 |
+ CFLAGS+=" -DXATTR" |
12986 |
+ |
12987 |
+ |
12988 |
+fi |
12989 |
+ |
12990 |
+ |
12991 |
+# Checks for programs. |
12992 |
+for ac_prog in gawk mawk nawk awk |
12993 |
+do |
12994 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
12995 |
+set dummy $ac_prog; ac_word=$2 |
12996 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
12997 |
+$as_echo_n "checking for $ac_word... " >&6; } |
12998 |
+if ${ac_cv_prog_AWK+:} false; then : |
12999 |
+ $as_echo_n "(cached) " >&6 |
13000 |
+else |
13001 |
+ if test -n "$AWK"; then |
13002 |
+ ac_cv_prog_AWK="$AWK" # Let the user override the test. |
13003 |
+else |
13004 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13005 |
+for as_dir in $PATH |
13006 |
+do |
13007 |
+ IFS=$as_save_IFS |
13008 |
+ test -z "$as_dir" && as_dir=. |
13009 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
13010 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13011 |
+ ac_cv_prog_AWK="$ac_prog" |
13012 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13013 |
+ break 2 |
13014 |
+ fi |
13015 |
+done |
13016 |
+ done |
13017 |
+IFS=$as_save_IFS |
13018 |
+ |
13019 |
+fi |
13020 |
+fi |
13021 |
+AWK=$ac_cv_prog_AWK |
13022 |
+if test -n "$AWK"; then |
13023 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
13024 |
+$as_echo "$AWK" >&6; } |
13025 |
+else |
13026 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13027 |
+$as_echo "no" >&6; } |
13028 |
+fi |
13029 |
+ |
13030 |
+ |
13031 |
+ test -n "$AWK" && break |
13032 |
+done |
13033 |
+ |
13034 |
+ac_ext=c |
13035 |
+ac_cpp='$CPP $CPPFLAGS' |
13036 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13037 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13038 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
13039 |
+if test -n "$ac_tool_prefix"; then |
13040 |
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
13041 |
+set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
13042 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
13043 |
+$as_echo_n "checking for $ac_word... " >&6; } |
13044 |
+if ${ac_cv_prog_CC+:} false; then : |
13045 |
+ $as_echo_n "(cached) " >&6 |
13046 |
+else |
13047 |
+ if test -n "$CC"; then |
13048 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
13049 |
+else |
13050 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13051 |
+for as_dir in $PATH |
13052 |
+do |
13053 |
+ IFS=$as_save_IFS |
13054 |
+ test -z "$as_dir" && as_dir=. |
13055 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
13056 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13057 |
+ ac_cv_prog_CC="${ac_tool_prefix}gcc" |
13058 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13059 |
+ break 2 |
13060 |
+ fi |
13061 |
+done |
13062 |
+ done |
13063 |
+IFS=$as_save_IFS |
13064 |
+ |
13065 |
+fi |
13066 |
+fi |
13067 |
+CC=$ac_cv_prog_CC |
13068 |
+if test -n "$CC"; then |
13069 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
13070 |
+$as_echo "$CC" >&6; } |
13071 |
+else |
13072 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13073 |
+$as_echo "no" >&6; } |
13074 |
+fi |
13075 |
+ |
13076 |
+ |
13077 |
+fi |
13078 |
+if test -z "$ac_cv_prog_CC"; then |
13079 |
+ ac_ct_CC=$CC |
13080 |
+ # Extract the first word of "gcc", so it can be a program name with args. |
13081 |
+set dummy gcc; ac_word=$2 |
13082 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
13083 |
+$as_echo_n "checking for $ac_word... " >&6; } |
13084 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
13085 |
+ $as_echo_n "(cached) " >&6 |
13086 |
+else |
13087 |
+ if test -n "$ac_ct_CC"; then |
13088 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
13089 |
+else |
13090 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13091 |
+for as_dir in $PATH |
13092 |
+do |
13093 |
+ IFS=$as_save_IFS |
13094 |
+ test -z "$as_dir" && as_dir=. |
13095 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
13096 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13097 |
+ ac_cv_prog_ac_ct_CC="gcc" |
13098 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13099 |
+ break 2 |
13100 |
+ fi |
13101 |
+done |
13102 |
+ done |
13103 |
+IFS=$as_save_IFS |
13104 |
+ |
13105 |
+fi |
13106 |
+fi |
13107 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
13108 |
+if test -n "$ac_ct_CC"; then |
13109 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
13110 |
+$as_echo "$ac_ct_CC" >&6; } |
13111 |
+else |
13112 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13113 |
+$as_echo "no" >&6; } |
13114 |
+fi |
13115 |
+ |
13116 |
+ if test "x$ac_ct_CC" = x; then |
13117 |
+ CC="" |
13118 |
+ else |
13119 |
+ case $cross_compiling:$ac_tool_warned in |
13120 |
+yes:) |
13121 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
13122 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
13123 |
+ac_tool_warned=yes ;; |
13124 |
+esac |
13125 |
+ CC=$ac_ct_CC |
13126 |
+ fi |
13127 |
+else |
13128 |
+ CC="$ac_cv_prog_CC" |
13129 |
+fi |
13130 |
+ |
13131 |
+if test -z "$CC"; then |
13132 |
+ if test -n "$ac_tool_prefix"; then |
13133 |
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
13134 |
+set dummy ${ac_tool_prefix}cc; ac_word=$2 |
13135 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
13136 |
+$as_echo_n "checking for $ac_word... " >&6; } |
13137 |
+if ${ac_cv_prog_CC+:} false; then : |
13138 |
+ $as_echo_n "(cached) " >&6 |
13139 |
+else |
13140 |
+ if test -n "$CC"; then |
13141 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
13142 |
+else |
13143 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13144 |
+for as_dir in $PATH |
13145 |
+do |
13146 |
+ IFS=$as_save_IFS |
13147 |
+ test -z "$as_dir" && as_dir=. |
13148 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
13149 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13150 |
+ ac_cv_prog_CC="${ac_tool_prefix}cc" |
13151 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13152 |
+ break 2 |
13153 |
+ fi |
13154 |
+done |
13155 |
+ done |
13156 |
+IFS=$as_save_IFS |
13157 |
+ |
13158 |
+fi |
13159 |
+fi |
13160 |
+CC=$ac_cv_prog_CC |
13161 |
+if test -n "$CC"; then |
13162 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
13163 |
+$as_echo "$CC" >&6; } |
13164 |
+else |
13165 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13166 |
+$as_echo "no" >&6; } |
13167 |
+fi |
13168 |
+ |
13169 |
+ |
13170 |
+ fi |
13171 |
+fi |
13172 |
+if test -z "$CC"; then |
13173 |
+ # Extract the first word of "cc", so it can be a program name with args. |
13174 |
+set dummy cc; ac_word=$2 |
13175 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
13176 |
+$as_echo_n "checking for $ac_word... " >&6; } |
13177 |
+if ${ac_cv_prog_CC+:} false; then : |
13178 |
+ $as_echo_n "(cached) " >&6 |
13179 |
+else |
13180 |
+ if test -n "$CC"; then |
13181 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
13182 |
+else |
13183 |
+ ac_prog_rejected=no |
13184 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13185 |
+for as_dir in $PATH |
13186 |
+do |
13187 |
+ IFS=$as_save_IFS |
13188 |
+ test -z "$as_dir" && as_dir=. |
13189 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
13190 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13191 |
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
13192 |
+ ac_prog_rejected=yes |
13193 |
+ continue |
13194 |
+ fi |
13195 |
+ ac_cv_prog_CC="cc" |
13196 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13197 |
+ break 2 |
13198 |
+ fi |
13199 |
+done |
13200 |
+ done |
13201 |
+IFS=$as_save_IFS |
13202 |
+ |
13203 |
+if test $ac_prog_rejected = yes; then |
13204 |
+ # We found a bogon in the path, so make sure we never use it. |
13205 |
+ set dummy $ac_cv_prog_CC |
13206 |
+ shift |
13207 |
+ if test $@%:@ != 0; then |
13208 |
+ # We chose a different compiler from the bogus one. |
13209 |
+ # However, it has the same basename, so the bogon will be chosen |
13210 |
+ # first if we set CC to just the basename; use the full file name. |
13211 |
+ shift |
13212 |
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
13213 |
+ fi |
13214 |
+fi |
13215 |
+fi |
13216 |
+fi |
13217 |
+CC=$ac_cv_prog_CC |
13218 |
+if test -n "$CC"; then |
13219 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
13220 |
+$as_echo "$CC" >&6; } |
13221 |
+else |
13222 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13223 |
+$as_echo "no" >&6; } |
13224 |
+fi |
13225 |
+ |
13226 |
+ |
13227 |
+fi |
13228 |
+if test -z "$CC"; then |
13229 |
+ if test -n "$ac_tool_prefix"; then |
13230 |
+ for ac_prog in cl.exe |
13231 |
+ do |
13232 |
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
13233 |
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
13234 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
13235 |
+$as_echo_n "checking for $ac_word... " >&6; } |
13236 |
+if ${ac_cv_prog_CC+:} false; then : |
13237 |
+ $as_echo_n "(cached) " >&6 |
13238 |
+else |
13239 |
+ if test -n "$CC"; then |
13240 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
13241 |
+else |
13242 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13243 |
+for as_dir in $PATH |
13244 |
+do |
13245 |
+ IFS=$as_save_IFS |
13246 |
+ test -z "$as_dir" && as_dir=. |
13247 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
13248 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13249 |
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
13250 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13251 |
+ break 2 |
13252 |
+ fi |
13253 |
+done |
13254 |
+ done |
13255 |
+IFS=$as_save_IFS |
13256 |
+ |
13257 |
+fi |
13258 |
+fi |
13259 |
+CC=$ac_cv_prog_CC |
13260 |
+if test -n "$CC"; then |
13261 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
13262 |
+$as_echo "$CC" >&6; } |
13263 |
+else |
13264 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13265 |
+$as_echo "no" >&6; } |
13266 |
+fi |
13267 |
+ |
13268 |
+ |
13269 |
+ test -n "$CC" && break |
13270 |
+ done |
13271 |
+fi |
13272 |
+if test -z "$CC"; then |
13273 |
+ ac_ct_CC=$CC |
13274 |
+ for ac_prog in cl.exe |
13275 |
+do |
13276 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
13277 |
+set dummy $ac_prog; ac_word=$2 |
13278 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
13279 |
+$as_echo_n "checking for $ac_word... " >&6; } |
13280 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
13281 |
+ $as_echo_n "(cached) " >&6 |
13282 |
+else |
13283 |
+ if test -n "$ac_ct_CC"; then |
13284 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
13285 |
+else |
13286 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13287 |
+for as_dir in $PATH |
13288 |
+do |
13289 |
+ IFS=$as_save_IFS |
13290 |
+ test -z "$as_dir" && as_dir=. |
13291 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
13292 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
13293 |
+ ac_cv_prog_ac_ct_CC="$ac_prog" |
13294 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
13295 |
+ break 2 |
13296 |
+ fi |
13297 |
+done |
13298 |
+ done |
13299 |
+IFS=$as_save_IFS |
13300 |
+ |
13301 |
+fi |
13302 |
+fi |
13303 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
13304 |
+if test -n "$ac_ct_CC"; then |
13305 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
13306 |
+$as_echo "$ac_ct_CC" >&6; } |
13307 |
+else |
13308 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13309 |
+$as_echo "no" >&6; } |
13310 |
+fi |
13311 |
+ |
13312 |
+ |
13313 |
+ test -n "$ac_ct_CC" && break |
13314 |
+done |
13315 |
+ |
13316 |
+ if test "x$ac_ct_CC" = x; then |
13317 |
+ CC="" |
13318 |
+ else |
13319 |
+ case $cross_compiling:$ac_tool_warned in |
13320 |
+yes:) |
13321 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
13322 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
13323 |
+ac_tool_warned=yes ;; |
13324 |
+esac |
13325 |
+ CC=$ac_ct_CC |
13326 |
+ fi |
13327 |
+fi |
13328 |
+ |
13329 |
+fi |
13330 |
+ |
13331 |
+ |
13332 |
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
13333 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
13334 |
+as_fn_error $? "no acceptable C compiler found in \$PATH |
13335 |
+See \`config.log' for more details" "$LINENO" 5; } |
13336 |
+ |
13337 |
+# Provide some information about the compiler. |
13338 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
13339 |
+set X $ac_compile |
13340 |
+ac_compiler=$2 |
13341 |
+for ac_option in --version -v -V -qversion; do |
13342 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
13343 |
+case "(($ac_try" in |
13344 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13345 |
+ *) ac_try_echo=$ac_try;; |
13346 |
+esac |
13347 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
13348 |
+$as_echo "$ac_try_echo"; } >&5 |
13349 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
13350 |
+ ac_status=$? |
13351 |
+ if test -s conftest.err; then |
13352 |
+ sed '10a\ |
13353 |
+... rest of stderr output deleted ... |
13354 |
+ 10q' conftest.err >conftest.er1 |
13355 |
+ cat conftest.er1 >&5 |
13356 |
+ fi |
13357 |
+ rm -f conftest.er1 conftest.err |
13358 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13359 |
+ test $ac_status = 0; } |
13360 |
+done |
13361 |
+ |
13362 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
13363 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
13364 |
+if ${ac_cv_c_compiler_gnu+:} false; then : |
13365 |
+ $as_echo_n "(cached) " >&6 |
13366 |
+else |
13367 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13368 |
+/* end confdefs.h. */ |
13369 |
+ |
13370 |
+int |
13371 |
+main () |
13372 |
+{ |
13373 |
+#ifndef __GNUC__ |
13374 |
+ choke me |
13375 |
+#endif |
13376 |
+ |
13377 |
+ ; |
13378 |
+ return 0; |
13379 |
+} |
13380 |
+_ACEOF |
13381 |
+if ac_fn_c_try_compile "$LINENO"; then : |
13382 |
+ ac_compiler_gnu=yes |
13383 |
+else |
13384 |
+ ac_compiler_gnu=no |
13385 |
+fi |
13386 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13387 |
+ac_cv_c_compiler_gnu=$ac_compiler_gnu |
13388 |
+ |
13389 |
+fi |
13390 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
13391 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
13392 |
+if test $ac_compiler_gnu = yes; then |
13393 |
+ GCC=yes |
13394 |
+else |
13395 |
+ GCC= |
13396 |
+fi |
13397 |
+ac_test_CFLAGS=${CFLAGS+set} |
13398 |
+ac_save_CFLAGS=$CFLAGS |
13399 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
13400 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
13401 |
+if ${ac_cv_prog_cc_g+:} false; then : |
13402 |
+ $as_echo_n "(cached) " >&6 |
13403 |
+else |
13404 |
+ ac_save_c_werror_flag=$ac_c_werror_flag |
13405 |
+ ac_c_werror_flag=yes |
13406 |
+ ac_cv_prog_cc_g=no |
13407 |
+ CFLAGS="-g" |
13408 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13409 |
+/* end confdefs.h. */ |
13410 |
+ |
13411 |
+int |
13412 |
+main () |
13413 |
+{ |
13414 |
+ |
13415 |
+ ; |
13416 |
+ return 0; |
13417 |
+} |
13418 |
+_ACEOF |
13419 |
+if ac_fn_c_try_compile "$LINENO"; then : |
13420 |
+ ac_cv_prog_cc_g=yes |
13421 |
+else |
13422 |
+ CFLAGS="" |
13423 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13424 |
+/* end confdefs.h. */ |
13425 |
+ |
13426 |
+int |
13427 |
+main () |
13428 |
+{ |
13429 |
+ |
13430 |
+ ; |
13431 |
+ return 0; |
13432 |
+} |
13433 |
+_ACEOF |
13434 |
+if ac_fn_c_try_compile "$LINENO"; then : |
13435 |
+ |
13436 |
+else |
13437 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
13438 |
+ CFLAGS="-g" |
13439 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13440 |
+/* end confdefs.h. */ |
13441 |
+ |
13442 |
+int |
13443 |
+main () |
13444 |
+{ |
13445 |
+ |
13446 |
+ ; |
13447 |
+ return 0; |
13448 |
+} |
13449 |
+_ACEOF |
13450 |
+if ac_fn_c_try_compile "$LINENO"; then : |
13451 |
+ ac_cv_prog_cc_g=yes |
13452 |
+fi |
13453 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13454 |
+fi |
13455 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13456 |
+fi |
13457 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13458 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
13459 |
+fi |
13460 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
13461 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
13462 |
+if test "$ac_test_CFLAGS" = set; then |
13463 |
+ CFLAGS=$ac_save_CFLAGS |
13464 |
+elif test $ac_cv_prog_cc_g = yes; then |
13465 |
+ if test "$GCC" = yes; then |
13466 |
+ CFLAGS="-g -O2" |
13467 |
+ else |
13468 |
+ CFLAGS="-g" |
13469 |
+ fi |
13470 |
+else |
13471 |
+ if test "$GCC" = yes; then |
13472 |
+ CFLAGS="-O2" |
13473 |
+ else |
13474 |
+ CFLAGS= |
13475 |
+ fi |
13476 |
+fi |
13477 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
13478 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
13479 |
+if ${ac_cv_prog_cc_c89+:} false; then : |
13480 |
+ $as_echo_n "(cached) " >&6 |
13481 |
+else |
13482 |
+ ac_cv_prog_cc_c89=no |
13483 |
+ac_save_CC=$CC |
13484 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13485 |
+/* end confdefs.h. */ |
13486 |
+#include <stdarg.h> |
13487 |
+#include <stdio.h> |
13488 |
+#include <sys/types.h> |
13489 |
+#include <sys/stat.h> |
13490 |
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
13491 |
+struct buf { int x; }; |
13492 |
+FILE * (*rcsopen) (struct buf *, struct stat *, int); |
13493 |
+static char *e (p, i) |
13494 |
+ char **p; |
13495 |
+ int i; |
13496 |
+{ |
13497 |
+ return p[i]; |
13498 |
+} |
13499 |
+static char *f (char * (*g) (char **, int), char **p, ...) |
13500 |
+{ |
13501 |
+ char *s; |
13502 |
+ va_list v; |
13503 |
+ va_start (v,p); |
13504 |
+ s = g (p, va_arg (v,int)); |
13505 |
+ va_end (v); |
13506 |
+ return s; |
13507 |
+} |
13508 |
+ |
13509 |
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
13510 |
+ function prototypes and stuff, but not '\xHH' hex character constants. |
13511 |
+ These don't provoke an error unfortunately, instead are silently treated |
13512 |
+ as 'x'. The following induces an error, until -std is added to get |
13513 |
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
13514 |
+ array size at least. It's necessary to write '\x00'==0 to get something |
13515 |
+ that's true only with -std. */ |
13516 |
+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
13517 |
+ |
13518 |
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
13519 |
+ inside strings and character constants. */ |
13520 |
+#define FOO(x) 'x' |
13521 |
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
13522 |
+ |
13523 |
+int test (int i, double x); |
13524 |
+struct s1 {int (*f) (int a);}; |
13525 |
+struct s2 {int (*f) (double a);}; |
13526 |
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
13527 |
+int argc; |
13528 |
+char **argv; |
13529 |
+int |
13530 |
+main () |
13531 |
+{ |
13532 |
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
13533 |
+ ; |
13534 |
+ return 0; |
13535 |
+} |
13536 |
+_ACEOF |
13537 |
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
13538 |
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
13539 |
+do |
13540 |
+ CC="$ac_save_CC $ac_arg" |
13541 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
13542 |
+ ac_cv_prog_cc_c89=$ac_arg |
13543 |
+fi |
13544 |
+rm -f core conftest.err conftest.$ac_objext |
13545 |
+ test "x$ac_cv_prog_cc_c89" != "xno" && break |
13546 |
+done |
13547 |
+rm -f conftest.$ac_ext |
13548 |
+CC=$ac_save_CC |
13549 |
+ |
13550 |
+fi |
13551 |
+# AC_CACHE_VAL |
13552 |
+case "x$ac_cv_prog_cc_c89" in |
13553 |
+ x) |
13554 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
13555 |
+$as_echo "none needed" >&6; } ;; |
13556 |
+ xno) |
13557 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
13558 |
+$as_echo "unsupported" >&6; } ;; |
13559 |
+ *) |
13560 |
+ CC="$CC $ac_cv_prog_cc_c89" |
13561 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
13562 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
13563 |
+esac |
13564 |
+if test "x$ac_cv_prog_cc_c89" != xno; then : |
13565 |
+ |
13566 |
+fi |
13567 |
+ |
13568 |
+ac_ext=c |
13569 |
+ac_cpp='$CPP $CPPFLAGS' |
13570 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13571 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13572 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
13573 |
+ |
13574 |
+depcc="$CC" am_compiler_list= |
13575 |
+ |
13576 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
13577 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
13578 |
+if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
13579 |
+ $as_echo_n "(cached) " >&6 |
13580 |
+else |
13581 |
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
13582 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
13583 |
+ # making bogus files that we don't know about and never remove. For |
13584 |
+ # instance it was reported that on HP-UX the gcc test will end up |
13585 |
+ # making a dummy file named `D' -- because `-MD' means `put the output |
13586 |
+ # in D'. |
13587 |
+ mkdir conftest.dir |
13588 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
13589 |
+ # using a relative directory. |
13590 |
+ cp "$am_depcomp" conftest.dir |
13591 |
+ cd conftest.dir |
13592 |
+ # We will build objects and dependencies in a subdirectory because |
13593 |
+ # it helps to detect inapplicable dependency modes. For instance |
13594 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
13595 |
+ # side effect of compilation, but ICC will put the dependencies in |
13596 |
+ # the current directory while Tru64 will put them in the object |
13597 |
+ # directory. |
13598 |
+ mkdir sub |
13599 |
+ |
13600 |
+ am_cv_CC_dependencies_compiler_type=none |
13601 |
+ if test "$am_compiler_list" = ""; then |
13602 |
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
13603 |
+ fi |
13604 |
+ am__universal=false |
13605 |
+ case " $depcc " in #( |
13606 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
13607 |
+ esac |
13608 |
+ |
13609 |
+ for depmode in $am_compiler_list; do |
13610 |
+ # Setup a source with many dependencies, because some compilers |
13611 |
+ # like to wrap large dependency lists on column 80 (with \), and |
13612 |
+ # we should not choose a depcomp mode which is confused by this. |
13613 |
+ # |
13614 |
+ # We need to recreate these files for each test, as the compiler may |
13615 |
+ # overwrite some of them when testing with obscure command lines. |
13616 |
+ # This happens at least with the AIX C compiler. |
13617 |
+ : > sub/conftest.c |
13618 |
+ for i in 1 2 3 4 5 6; do |
13619 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
13620 |
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
13621 |
+ # Solaris 8's {/usr,}/bin/sh. |
13622 |
+ touch sub/conftst$i.h |
13623 |
+ done |
13624 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
13625 |
+ |
13626 |
+ # We check with `-c' and `-o' for the sake of the "dashmstdout" |
13627 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
13628 |
+ # handle `-M -o', and we need to detect this. Also, some Intel |
13629 |
+ # versions had trouble with output in subdirs |
13630 |
+ am__obj=sub/conftest.${OBJEXT-o} |
13631 |
+ am__minus_obj="-o $am__obj" |
13632 |
+ case $depmode in |
13633 |
+ gcc) |
13634 |
+ # This depmode causes a compiler race in universal mode. |
13635 |
+ test "$am__universal" = false || continue |
13636 |
+ ;; |
13637 |
+ nosideeffect) |
13638 |
+ # after this tag, mechanisms are not by side-effect, so they'll |
13639 |
+ # only be used when explicitly requested |
13640 |
+ if test "x$enable_dependency_tracking" = xyes; then |
13641 |
+ continue |
13642 |
+ else |
13643 |
+ break |
13644 |
+ fi |
13645 |
+ ;; |
13646 |
+ msvisualcpp | msvcmsys) |
13647 |
+ # This compiler won't grok `-c -o', but also, the minuso test has |
13648 |
+ # not run yet. These depmodes are late enough in the game, and |
13649 |
+ # so weak that their functioning should not be impacted. |
13650 |
+ am__obj=conftest.${OBJEXT-o} |
13651 |
+ am__minus_obj= |
13652 |
+ ;; |
13653 |
+ none) break ;; |
13654 |
+ esac |
13655 |
+ if depmode=$depmode \ |
13656 |
+ source=sub/conftest.c object=$am__obj \ |
13657 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
13658 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
13659 |
+ >/dev/null 2>conftest.err && |
13660 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
13661 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
13662 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
13663 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
13664 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
13665 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
13666 |
+ # that says an option was ignored or not supported. |
13667 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
13668 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
13669 |
+ # The diagnosis changed in icc 8.0: |
13670 |
+ # icc: Command line remark: option '-MP' not supported |
13671 |
+ if (grep 'ignoring option' conftest.err || |
13672 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
13673 |
+ am_cv_CC_dependencies_compiler_type=$depmode |
13674 |
+ break |
13675 |
+ fi |
13676 |
+ fi |
13677 |
+ done |
13678 |
+ |
13679 |
+ cd .. |
13680 |
+ rm -rf conftest.dir |
13681 |
+else |
13682 |
+ am_cv_CC_dependencies_compiler_type=none |
13683 |
+fi |
13684 |
+ |
13685 |
+fi |
13686 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
13687 |
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
13688 |
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
13689 |
+ |
13690 |
+ if |
13691 |
+ test "x$enable_dependency_tracking" != xno \ |
13692 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
13693 |
+ am__fastdepCC_TRUE= |
13694 |
+ am__fastdepCC_FALSE='#' |
13695 |
+else |
13696 |
+ am__fastdepCC_TRUE='#' |
13697 |
+ am__fastdepCC_FALSE= |
13698 |
+fi |
13699 |
+ |
13700 |
+ |
13701 |
+ |
13702 |
+# Checks for libraries. |
13703 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 |
13704 |
+$as_echo_n "checking for elf_begin in -lelf... " >&6; } |
13705 |
+if ${ac_cv_lib_elf_elf_begin+:} false; then : |
13706 |
+ $as_echo_n "(cached) " >&6 |
13707 |
+else |
13708 |
+ ac_check_lib_save_LIBS=$LIBS |
13709 |
+LIBS="-lelf $LIBS" |
13710 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13711 |
+/* end confdefs.h. */ |
13712 |
+ |
13713 |
+/* Override any GCC internal prototype to avoid an error. |
13714 |
+ Use char because int might match the return type of a GCC |
13715 |
+ builtin and then its argument prototype would still apply. */ |
13716 |
+#ifdef __cplusplus |
13717 |
+extern "C" |
13718 |
+#endif |
13719 |
+char elf_begin (); |
13720 |
+int |
13721 |
+main () |
13722 |
+{ |
13723 |
+return elf_begin (); |
13724 |
+ ; |
13725 |
+ return 0; |
13726 |
+} |
13727 |
+_ACEOF |
13728 |
+if ac_fn_c_try_link "$LINENO"; then : |
13729 |
+ ac_cv_lib_elf_elf_begin=yes |
13730 |
+else |
13731 |
+ ac_cv_lib_elf_elf_begin=no |
13732 |
+fi |
13733 |
+rm -f core conftest.err conftest.$ac_objext \ |
13734 |
+ conftest$ac_exeext conftest.$ac_ext |
13735 |
+LIBS=$ac_check_lib_save_LIBS |
13736 |
+fi |
13737 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 |
13738 |
+$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
13739 |
+if test "x$ac_cv_lib_elf_elf_begin" = xyes; then : |
13740 |
+ cat >>confdefs.h <<_ACEOF |
13741 |
+@%:@define HAVE_LIBELF 1 |
13742 |
+_ACEOF |
13743 |
+ |
13744 |
+ LIBS="-lelf $LIBS" |
13745 |
+ |
13746 |
+else |
13747 |
+ as_fn_error $? "\"Missing necessary function elf_begin in libelf\"" "$LINENO" 5 |
13748 |
+fi |
13749 |
+ |
13750 |
+ |
13751 |
+# Checks for header files. |
13752 |
+ |
13753 |
+for ac_header in errno.h error.h fcntl.h gelf.h libgen.h stdio.h stdlib.h string.h \ |
13754 |
+ sys/mman.h sys/stat.h sys/types.h unistd.h |
13755 |
+do : |
13756 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13757 |
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
13758 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
13759 |
+ cat >>confdefs.h <<_ACEOF |
13760 |
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
13761 |
+_ACEOF |
13762 |
+ |
13763 |
+else |
13764 |
+ as_fn_error $? "\"Missing necessary header\"" "$LINENO" 5 |
13765 |
+ |
13766 |
+fi |
13767 |
+ |
13768 |
+done |
13769 |
+ |
13770 |
+ |
13771 |
+# Checks for typedefs, structures, and compiler characteristics. |
13772 |
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
13773 |
+if test "x$ac_cv_type_pid_t" = xyes; then : |
13774 |
+ |
13775 |
+else |
13776 |
+ |
13777 |
+cat >>confdefs.h <<_ACEOF |
13778 |
+@%:@define pid_t int |
13779 |
+_ACEOF |
13780 |
+ |
13781 |
+fi |
13782 |
+ |
13783 |
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
13784 |
+if test "x$ac_cv_type_size_t" = xyes; then : |
13785 |
+ |
13786 |
+else |
13787 |
+ |
13788 |
+cat >>confdefs.h <<_ACEOF |
13789 |
+@%:@define size_t unsigned int |
13790 |
+_ACEOF |
13791 |
+ |
13792 |
+fi |
13793 |
+ |
13794 |
+ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" |
13795 |
+case $ac_cv_c_uint8_t in #( |
13796 |
+ no|yes) ;; #( |
13797 |
+ *) |
13798 |
+ |
13799 |
+$as_echo "@%:@define _UINT8_T 1" >>confdefs.h |
13800 |
+ |
13801 |
+ |
13802 |
+cat >>confdefs.h <<_ACEOF |
13803 |
+@%:@define uint8_t $ac_cv_c_uint8_t |
13804 |
+_ACEOF |
13805 |
+;; |
13806 |
+ esac |
13807 |
+ |
13808 |
+ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
13809 |
+case $ac_cv_c_uint16_t in #( |
13810 |
+ no|yes) ;; #( |
13811 |
+ *) |
13812 |
+ |
13813 |
+ |
13814 |
+cat >>confdefs.h <<_ACEOF |
13815 |
+@%:@define uint16_t $ac_cv_c_uint16_t |
13816 |
+_ACEOF |
13817 |
+;; |
13818 |
+ esac |
13819 |
+ |
13820 |
+ |
13821 |
+# Checks for library functions. |
13822 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 |
13823 |
+$as_echo_n "checking for error_at_line... " >&6; } |
13824 |
+if ${ac_cv_lib_error_at_line+:} false; then : |
13825 |
+ $as_echo_n "(cached) " >&6 |
13826 |
+else |
13827 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13828 |
+/* end confdefs.h. */ |
13829 |
+#include <error.h> |
13830 |
+int |
13831 |
+main () |
13832 |
+{ |
13833 |
+error_at_line (0, 0, "", 0, "an error occurred"); |
13834 |
+ ; |
13835 |
+ return 0; |
13836 |
+} |
13837 |
+_ACEOF |
13838 |
+if ac_fn_c_try_link "$LINENO"; then : |
13839 |
+ ac_cv_lib_error_at_line=yes |
13840 |
+else |
13841 |
+ ac_cv_lib_error_at_line=no |
13842 |
+fi |
13843 |
+rm -f core conftest.err conftest.$ac_objext \ |
13844 |
+ conftest$ac_exeext conftest.$ac_ext |
13845 |
+fi |
13846 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 |
13847 |
+$as_echo "$ac_cv_lib_error_at_line" >&6; } |
13848 |
+if test $ac_cv_lib_error_at_line = no; then |
13849 |
+ case " $LIB@&t@OBJS " in |
13850 |
+ *" error.$ac_objext "* ) ;; |
13851 |
+ *) LIB@&t@OBJS="$LIB@&t@OBJS error.$ac_objext" |
13852 |
+ ;; |
13853 |
+esac |
13854 |
+ |
13855 |
+fi |
13856 |
+ |
13857 |
+for ac_header in vfork.h |
13858 |
+do : |
13859 |
+ ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" |
13860 |
+if test "x$ac_cv_header_vfork_h" = xyes; then : |
13861 |
+ cat >>confdefs.h <<_ACEOF |
13862 |
+@%:@define HAVE_VFORK_H 1 |
13863 |
+_ACEOF |
13864 |
+ |
13865 |
+fi |
13866 |
+ |
13867 |
+done |
13868 |
+ |
13869 |
+for ac_func in fork vfork |
13870 |
+do : |
13871 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13872 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13873 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
13874 |
+ cat >>confdefs.h <<_ACEOF |
13875 |
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13876 |
+_ACEOF |
13877 |
+ |
13878 |
+fi |
13879 |
+done |
13880 |
+ |
13881 |
+if test "x$ac_cv_func_fork" = xyes; then |
13882 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 |
13883 |
+$as_echo_n "checking for working fork... " >&6; } |
13884 |
+if ${ac_cv_func_fork_works+:} false; then : |
13885 |
+ $as_echo_n "(cached) " >&6 |
13886 |
+else |
13887 |
+ if test "$cross_compiling" = yes; then : |
13888 |
+ ac_cv_func_fork_works=cross |
13889 |
+else |
13890 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13891 |
+/* end confdefs.h. */ |
13892 |
+$ac_includes_default |
13893 |
+int |
13894 |
+main () |
13895 |
+{ |
13896 |
+ |
13897 |
+ /* By Ruediger Kuhlmann. */ |
13898 |
+ return fork () < 0; |
13899 |
+ |
13900 |
+ ; |
13901 |
+ return 0; |
13902 |
+} |
13903 |
+_ACEOF |
13904 |
+if ac_fn_c_try_run "$LINENO"; then : |
13905 |
+ ac_cv_func_fork_works=yes |
13906 |
+else |
13907 |
+ ac_cv_func_fork_works=no |
13908 |
+fi |
13909 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13910 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
13911 |
+fi |
13912 |
+ |
13913 |
+fi |
13914 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 |
13915 |
+$as_echo "$ac_cv_func_fork_works" >&6; } |
13916 |
+ |
13917 |
+else |
13918 |
+ ac_cv_func_fork_works=$ac_cv_func_fork |
13919 |
+fi |
13920 |
+if test "x$ac_cv_func_fork_works" = xcross; then |
13921 |
+ case $host in |
13922 |
+ *-*-amigaos* | *-*-msdosdjgpp*) |
13923 |
+ # Override, as these systems have only a dummy fork() stub |
13924 |
+ ac_cv_func_fork_works=no |
13925 |
+ ;; |
13926 |
+ *) |
13927 |
+ ac_cv_func_fork_works=yes |
13928 |
+ ;; |
13929 |
+ esac |
13930 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
13931 |
+$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
13932 |
+fi |
13933 |
+ac_cv_func_vfork_works=$ac_cv_func_vfork |
13934 |
+if test "x$ac_cv_func_vfork" = xyes; then |
13935 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 |
13936 |
+$as_echo_n "checking for working vfork... " >&6; } |
13937 |
+if ${ac_cv_func_vfork_works+:} false; then : |
13938 |
+ $as_echo_n "(cached) " >&6 |
13939 |
+else |
13940 |
+ if test "$cross_compiling" = yes; then : |
13941 |
+ ac_cv_func_vfork_works=cross |
13942 |
+else |
13943 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13944 |
+/* end confdefs.h. */ |
13945 |
+/* Thanks to Paul Eggert for this test. */ |
13946 |
+$ac_includes_default |
13947 |
+#include <sys/wait.h> |
13948 |
+#ifdef HAVE_VFORK_H |
13949 |
+# include <vfork.h> |
13950 |
+#endif |
13951 |
+/* On some sparc systems, changes by the child to local and incoming |
13952 |
+ argument registers are propagated back to the parent. The compiler |
13953 |
+ is told about this with #include <vfork.h>, but some compilers |
13954 |
+ (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a |
13955 |
+ static variable whose address is put into a register that is |
13956 |
+ clobbered by the vfork. */ |
13957 |
+static void |
13958 |
+#ifdef __cplusplus |
13959 |
+sparc_address_test (int arg) |
13960 |
+# else |
13961 |
+sparc_address_test (arg) int arg; |
13962 |
+#endif |
13963 |
+{ |
13964 |
+ static pid_t child; |
13965 |
+ if (!child) { |
13966 |
+ child = vfork (); |
13967 |
+ if (child < 0) { |
13968 |
+ perror ("vfork"); |
13969 |
+ _exit(2); |
13970 |
+ } |
13971 |
+ if (!child) { |
13972 |
+ arg = getpid(); |
13973 |
+ write(-1, "", 0); |
13974 |
+ _exit (arg); |
13975 |
+ } |
13976 |
+ } |
13977 |
+} |
13978 |
+ |
13979 |
+int |
13980 |
+main () |
13981 |
+{ |
13982 |
+ pid_t parent = getpid (); |
13983 |
+ pid_t child; |
13984 |
+ |
13985 |
+ sparc_address_test (0); |
13986 |
+ |
13987 |
+ child = vfork (); |
13988 |
+ |
13989 |
+ if (child == 0) { |
13990 |
+ /* Here is another test for sparc vfork register problems. This |
13991 |
+ test uses lots of local variables, at least as many local |
13992 |
+ variables as main has allocated so far including compiler |
13993 |
+ temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris |
13994 |
+ 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should |
13995 |
+ reuse the register of parent for one of the local variables, |
13996 |
+ since it will think that parent can't possibly be used any more |
13997 |
+ in this routine. Assigning to the local variable will thus |
13998 |
+ munge parent in the parent process. */ |
13999 |
+ pid_t |
14000 |
+ p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), |
14001 |
+ p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); |
14002 |
+ /* Convince the compiler that p..p7 are live; otherwise, it might |
14003 |
+ use the same hardware register for all 8 local variables. */ |
14004 |
+ if (p != p1 || p != p2 || p != p3 || p != p4 |
14005 |
+ || p != p5 || p != p6 || p != p7) |
14006 |
+ _exit(1); |
14007 |
+ |
14008 |
+ /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent |
14009 |
+ from child file descriptors. If the child closes a descriptor |
14010 |
+ before it execs or exits, this munges the parent's descriptor |
14011 |
+ as well. Test for this by closing stdout in the child. */ |
14012 |
+ _exit(close(fileno(stdout)) != 0); |
14013 |
+ } else { |
14014 |
+ int status; |
14015 |
+ struct stat st; |
14016 |
+ |
14017 |
+ while (wait(&status) != child) |
14018 |
+ ; |
14019 |
+ return ( |
14020 |
+ /* Was there some problem with vforking? */ |
14021 |
+ child < 0 |
14022 |
+ |
14023 |
+ /* Did the child fail? (This shouldn't happen.) */ |
14024 |
+ || status |
14025 |
+ |
14026 |
+ /* Did the vfork/compiler bug occur? */ |
14027 |
+ || parent != getpid() |
14028 |
+ |
14029 |
+ /* Did the file descriptor bug occur? */ |
14030 |
+ || fstat(fileno(stdout), &st) != 0 |
14031 |
+ ); |
14032 |
+ } |
14033 |
+} |
14034 |
+_ACEOF |
14035 |
+if ac_fn_c_try_run "$LINENO"; then : |
14036 |
+ ac_cv_func_vfork_works=yes |
14037 |
+else |
14038 |
+ ac_cv_func_vfork_works=no |
14039 |
+fi |
14040 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
14041 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
14042 |
+fi |
14043 |
+ |
14044 |
+fi |
14045 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 |
14046 |
+$as_echo "$ac_cv_func_vfork_works" >&6; } |
14047 |
+ |
14048 |
+fi; |
14049 |
+if test "x$ac_cv_func_fork_works" = xcross; then |
14050 |
+ ac_cv_func_vfork_works=$ac_cv_func_vfork |
14051 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
14052 |
+$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
14053 |
+fi |
14054 |
+ |
14055 |
+if test "x$ac_cv_func_vfork_works" = xyes; then |
14056 |
+ |
14057 |
+$as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h |
14058 |
+ |
14059 |
+else |
14060 |
+ |
14061 |
+$as_echo "@%:@define vfork fork" >>confdefs.h |
14062 |
+ |
14063 |
+fi |
14064 |
+if test "x$ac_cv_func_fork_works" = xyes; then |
14065 |
+ |
14066 |
+$as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h |
14067 |
+ |
14068 |
+fi |
14069 |
+ |
14070 |
+ |
14071 |
+ |
14072 |
+ |
14073 |
+ for ac_header in $ac_header_list |
14074 |
+do : |
14075 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14076 |
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
14077 |
+" |
14078 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
14079 |
+ cat >>confdefs.h <<_ACEOF |
14080 |
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14081 |
+_ACEOF |
14082 |
+ |
14083 |
+fi |
14084 |
+ |
14085 |
+done |
14086 |
+ |
14087 |
+ |
14088 |
+ |
14089 |
+ |
14090 |
+ |
14091 |
+ |
14092 |
+ |
14093 |
+ |
14094 |
+for ac_func in getpagesize |
14095 |
+do : |
14096 |
+ ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" |
14097 |
+if test "x$ac_cv_func_getpagesize" = xyes; then : |
14098 |
+ cat >>confdefs.h <<_ACEOF |
14099 |
+@%:@define HAVE_GETPAGESIZE 1 |
14100 |
+_ACEOF |
14101 |
+ |
14102 |
+fi |
14103 |
+done |
14104 |
+ |
14105 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 |
14106 |
+$as_echo_n "checking for working mmap... " >&6; } |
14107 |
+if ${ac_cv_func_mmap_fixed_mapped+:} false; then : |
14108 |
+ $as_echo_n "(cached) " >&6 |
14109 |
+else |
14110 |
+ if test "$cross_compiling" = yes; then : |
14111 |
+ ac_cv_func_mmap_fixed_mapped=no |
14112 |
+else |
14113 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14114 |
+/* end confdefs.h. */ |
14115 |
+$ac_includes_default |
14116 |
+/* malloc might have been renamed as rpl_malloc. */ |
14117 |
+#undef malloc |
14118 |
+ |
14119 |
+/* Thanks to Mike Haertel and Jim Avera for this test. |
14120 |
+ Here is a matrix of mmap possibilities: |
14121 |
+ mmap private not fixed |
14122 |
+ mmap private fixed at somewhere currently unmapped |
14123 |
+ mmap private fixed at somewhere already mapped |
14124 |
+ mmap shared not fixed |
14125 |
+ mmap shared fixed at somewhere currently unmapped |
14126 |
+ mmap shared fixed at somewhere already mapped |
14127 |
+ For private mappings, we should verify that changes cannot be read() |
14128 |
+ back from the file, nor mmap's back from the file at a different |
14129 |
+ address. (There have been systems where private was not correctly |
14130 |
+ implemented like the infamous i386 svr4.0, and systems where the |
14131 |
+ VM page cache was not coherent with the file system buffer cache |
14132 |
+ like early versions of FreeBSD and possibly contemporary NetBSD.) |
14133 |
+ For shared mappings, we should conversely verify that changes get |
14134 |
+ propagated back to all the places they're supposed to be. |
14135 |
+ |
14136 |
+ Grep wants private fixed already mapped. |
14137 |
+ The main things grep needs to know about mmap are: |
14138 |
+ * does it exist and is it safe to write into the mmap'd area |
14139 |
+ * how to use it (BSD variants) */ |
14140 |
+ |
14141 |
+#include <fcntl.h> |
14142 |
+#include <sys/mman.h> |
14143 |
+ |
14144 |
+#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H |
14145 |
+char *malloc (); |
14146 |
+#endif |
14147 |
+ |
14148 |
+/* This mess was copied from the GNU getpagesize.h. */ |
14149 |
+#ifndef HAVE_GETPAGESIZE |
14150 |
+# ifdef _SC_PAGESIZE |
14151 |
+# define getpagesize() sysconf(_SC_PAGESIZE) |
14152 |
+# else /* no _SC_PAGESIZE */ |
14153 |
+# ifdef HAVE_SYS_PARAM_H |
14154 |
+# include <sys/param.h> |
14155 |
+# ifdef EXEC_PAGESIZE |
14156 |
+# define getpagesize() EXEC_PAGESIZE |
14157 |
+# else /* no EXEC_PAGESIZE */ |
14158 |
+# ifdef NBPG |
14159 |
+# define getpagesize() NBPG * CLSIZE |
14160 |
+# ifndef CLSIZE |
14161 |
+# define CLSIZE 1 |
14162 |
+# endif /* no CLSIZE */ |
14163 |
+# else /* no NBPG */ |
14164 |
+# ifdef NBPC |
14165 |
+# define getpagesize() NBPC |
14166 |
+# else /* no NBPC */ |
14167 |
+# ifdef PAGESIZE |
14168 |
+# define getpagesize() PAGESIZE |
14169 |
+# endif /* PAGESIZE */ |
14170 |
+# endif /* no NBPC */ |
14171 |
+# endif /* no NBPG */ |
14172 |
+# endif /* no EXEC_PAGESIZE */ |
14173 |
+# else /* no HAVE_SYS_PARAM_H */ |
14174 |
+# define getpagesize() 8192 /* punt totally */ |
14175 |
+# endif /* no HAVE_SYS_PARAM_H */ |
14176 |
+# endif /* no _SC_PAGESIZE */ |
14177 |
+ |
14178 |
+#endif /* no HAVE_GETPAGESIZE */ |
14179 |
+ |
14180 |
+int |
14181 |
+main () |
14182 |
+{ |
14183 |
+ char *data, *data2, *data3; |
14184 |
+ const char *cdata2; |
14185 |
+ int i, pagesize; |
14186 |
+ int fd, fd2; |
14187 |
+ |
14188 |
+ pagesize = getpagesize (); |
14189 |
+ |
14190 |
+ /* First, make a file with some known garbage in it. */ |
14191 |
+ data = (char *) malloc (pagesize); |
14192 |
+ if (!data) |
14193 |
+ return 1; |
14194 |
+ for (i = 0; i < pagesize; ++i) |
14195 |
+ *(data + i) = rand (); |
14196 |
+ umask (0); |
14197 |
+ fd = creat ("conftest.mmap", 0600); |
14198 |
+ if (fd < 0) |
14199 |
+ return 2; |
14200 |
+ if (write (fd, data, pagesize) != pagesize) |
14201 |
+ return 3; |
14202 |
+ close (fd); |
14203 |
+ |
14204 |
+ /* Next, check that the tail of a page is zero-filled. File must have |
14205 |
+ non-zero length, otherwise we risk SIGBUS for entire page. */ |
14206 |
+ fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); |
14207 |
+ if (fd2 < 0) |
14208 |
+ return 4; |
14209 |
+ cdata2 = ""; |
14210 |
+ if (write (fd2, cdata2, 1) != 1) |
14211 |
+ return 5; |
14212 |
+ data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); |
14213 |
+ if (data2 == MAP_FAILED) |
14214 |
+ return 6; |
14215 |
+ for (i = 0; i < pagesize; ++i) |
14216 |
+ if (*(data2 + i)) |
14217 |
+ return 7; |
14218 |
+ close (fd2); |
14219 |
+ if (munmap (data2, pagesize)) |
14220 |
+ return 8; |
14221 |
+ |
14222 |
+ /* Next, try to mmap the file at a fixed address which already has |
14223 |
+ something else allocated at it. If we can, also make sure that |
14224 |
+ we see the same garbage. */ |
14225 |
+ fd = open ("conftest.mmap", O_RDWR); |
14226 |
+ if (fd < 0) |
14227 |
+ return 9; |
14228 |
+ if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
14229 |
+ MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
14230 |
+ return 10; |
14231 |
+ for (i = 0; i < pagesize; ++i) |
14232 |
+ if (*(data + i) != *(data2 + i)) |
14233 |
+ return 11; |
14234 |
+ |
14235 |
+ /* Finally, make sure that changes to the mapped area do not |
14236 |
+ percolate back to the file as seen by read(). (This is a bug on |
14237 |
+ some variants of i386 svr4.0.) */ |
14238 |
+ for (i = 0; i < pagesize; ++i) |
14239 |
+ *(data2 + i) = *(data2 + i) + 1; |
14240 |
+ data3 = (char *) malloc (pagesize); |
14241 |
+ if (!data3) |
14242 |
+ return 12; |
14243 |
+ if (read (fd, data3, pagesize) != pagesize) |
14244 |
+ return 13; |
14245 |
+ for (i = 0; i < pagesize; ++i) |
14246 |
+ if (*(data + i) != *(data3 + i)) |
14247 |
+ return 14; |
14248 |
+ close (fd); |
14249 |
+ return 0; |
14250 |
+} |
14251 |
+_ACEOF |
14252 |
+if ac_fn_c_try_run "$LINENO"; then : |
14253 |
+ ac_cv_func_mmap_fixed_mapped=yes |
14254 |
+else |
14255 |
+ ac_cv_func_mmap_fixed_mapped=no |
14256 |
+fi |
14257 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
14258 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
14259 |
+fi |
14260 |
+ |
14261 |
+fi |
14262 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
14263 |
+$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
14264 |
+if test $ac_cv_func_mmap_fixed_mapped = yes; then |
14265 |
+ |
14266 |
+$as_echo "@%:@define HAVE_MMAP 1" >>confdefs.h |
14267 |
+ |
14268 |
+fi |
14269 |
+rm -f conftest.mmap conftest.txt |
14270 |
+ |
14271 |
+for ac_func in memset strerror |
14272 |
+do : |
14273 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14274 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
14275 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
14276 |
+ cat >>confdefs.h <<_ACEOF |
14277 |
+@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14278 |
+_ACEOF |
14279 |
+ |
14280 |
+fi |
14281 |
+done |
14282 |
+ |
14283 |
+ |
14284 |
+ac_config_files="$ac_config_files Makefile src/Makefile scripts/Makefile doc/Makefile tests/Makefile tests/gnustack/Makefile tests/pxtpax/Makefile" |
14285 |
+ |
14286 |
+ |
14287 |
+cat >confcache <<\_ACEOF |
14288 |
+# This file is a shell script that caches the results of configure |
14289 |
+# tests run on this system so they can be shared between configure |
14290 |
+# scripts and configure runs, see configure's option --config-cache. |
14291 |
+# It is not useful on other systems. If it contains results you don't |
14292 |
+# want to keep, you may remove or edit it. |
14293 |
+# |
14294 |
+# config.status only pays attention to the cache file if you give it |
14295 |
+# the --recheck option to rerun configure. |
14296 |
+# |
14297 |
+# `ac_cv_env_foo' variables (set or unset) will be overridden when |
14298 |
+# loading this file, other *unset* `ac_cv_foo' will be assigned the |
14299 |
+# following values. |
14300 |
+ |
14301 |
+_ACEOF |
14302 |
+ |
14303 |
+# The following way of writing the cache mishandles newlines in values, |
14304 |
+# but we know of no workaround that is simple, portable, and efficient. |
14305 |
+# So, we kill variables containing newlines. |
14306 |
+# Ultrix sh set writes to stderr and can't be redirected directly, |
14307 |
+# and sets the high bit in the cache file unless we assign to the vars. |
14308 |
+( |
14309 |
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
14310 |
+ eval ac_val=\$$ac_var |
14311 |
+ case $ac_val in #( |
14312 |
+ *${as_nl}*) |
14313 |
+ case $ac_var in #( |
14314 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
14315 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
14316 |
+ esac |
14317 |
+ case $ac_var in #( |
14318 |
+ _ | IFS | as_nl) ;; #( |
14319 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
14320 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
14321 |
+ esac ;; |
14322 |
+ esac |
14323 |
+ done |
14324 |
+ |
14325 |
+ (set) 2>&1 | |
14326 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #( |
14327 |
+ *${as_nl}ac_space=\ *) |
14328 |
+ # `set' does not quote correctly, so add quotes: double-quote |
14329 |
+ # substitution turns \\\\ into \\, and sed turns \\ into \. |
14330 |
+ sed -n \ |
14331 |
+ "s/'/'\\\\''/g; |
14332 |
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
14333 |
+ ;; #( |
14334 |
+ *) |
14335 |
+ # `set' quotes correctly as required by POSIX, so do not add quotes. |
14336 |
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
14337 |
+ ;; |
14338 |
+ esac | |
14339 |
+ sort |
14340 |
+) | |
14341 |
+ sed ' |
14342 |
+ /^ac_cv_env_/b end |
14343 |
+ t clear |
14344 |
+ :clear |
14345 |
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
14346 |
+ t end |
14347 |
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
14348 |
+ :end' >>confcache |
14349 |
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
14350 |
+ if test -w "$cache_file"; then |
14351 |
+ if test "x$cache_file" != "x/dev/null"; then |
14352 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
14353 |
+$as_echo "$as_me: updating cache $cache_file" >&6;} |
14354 |
+ if test ! -f "$cache_file" || test -h "$cache_file"; then |
14355 |
+ cat confcache >"$cache_file" |
14356 |
+ else |
14357 |
+ case $cache_file in #( |
14358 |
+ */* | ?:*) |
14359 |
+ mv -f confcache "$cache_file"$$ && |
14360 |
+ mv -f "$cache_file"$$ "$cache_file" ;; #( |
14361 |
+ *) |
14362 |
+ mv -f confcache "$cache_file" ;; |
14363 |
+ esac |
14364 |
+ fi |
14365 |
+ fi |
14366 |
+ else |
14367 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
14368 |
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
14369 |
+ fi |
14370 |
+fi |
14371 |
+rm -f confcache |
14372 |
+ |
14373 |
+test "x$prefix" = xNONE && prefix=$ac_default_prefix |
14374 |
+# Let make expand exec_prefix. |
14375 |
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
14376 |
+ |
14377 |
+DEFS=-DHAVE_CONFIG_H |
14378 |
+ |
14379 |
+ac_libobjs= |
14380 |
+ac_ltlibobjs= |
14381 |
+U= |
14382 |
+for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue |
14383 |
+ # 1. Remove the extension, and $U if already installed. |
14384 |
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14385 |
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
14386 |
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
14387 |
+ # will be set to the directory where LIBOBJS objects are built. |
14388 |
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
14389 |
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
14390 |
+done |
14391 |
+LIB@&t@OBJS=$ac_libobjs |
14392 |
+ |
14393 |
+LTLIBOBJS=$ac_ltlibobjs |
14394 |
+ |
14395 |
+ |
14396 |
+ if test -n "$EXEEXT"; then |
14397 |
+ am__EXEEXT_TRUE= |
14398 |
+ am__EXEEXT_FALSE='#' |
14399 |
+else |
14400 |
+ am__EXEEXT_TRUE='#' |
14401 |
+ am__EXEEXT_FALSE= |
14402 |
+fi |
14403 |
+ |
14404 |
+if test -z "${TEST_TRUE}" && test -z "${TEST_FALSE}"; then |
14405 |
+ as_fn_error $? "conditional \"TEST\" was never defined. |
14406 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14407 |
+fi |
14408 |
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
14409 |
+ as_fn_error $? "conditional \"AMDEP\" was never defined. |
14410 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14411 |
+fi |
14412 |
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
14413 |
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
14414 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14415 |
+fi |
14416 |
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
14417 |
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
14418 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
14419 |
+fi |
14420 |
+ |
14421 |
+: "${CONFIG_STATUS=./config.status}" |
14422 |
+ac_write_fail=0 |
14423 |
+ac_clean_files_save=$ac_clean_files |
14424 |
+ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
14425 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
14426 |
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
14427 |
+as_write_fail=0 |
14428 |
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
14429 |
+#! $SHELL |
14430 |
+# Generated by $as_me. |
14431 |
+# Run this file to recreate the current configuration. |
14432 |
+# Compiler output produced by configure, useful for debugging |
14433 |
+# configure, is in config.log if it exists. |
14434 |
+ |
14435 |
+debug=false |
14436 |
+ac_cs_recheck=false |
14437 |
+ac_cs_silent=false |
14438 |
+ |
14439 |
+SHELL=\${CONFIG_SHELL-$SHELL} |
14440 |
+export SHELL |
14441 |
+_ASEOF |
14442 |
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
14443 |
+## -------------------- ## |
14444 |
+## M4sh Initialization. ## |
14445 |
+## -------------------- ## |
14446 |
+ |
14447 |
+# Be more Bourne compatible |
14448 |
+DUALCASE=1; export DUALCASE # for MKS sh |
14449 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
14450 |
+ emulate sh |
14451 |
+ NULLCMD=: |
14452 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
14453 |
+ # is contrary to our usage. Disable this feature. |
14454 |
+ alias -g '${1+"$@"}'='"$@"' |
14455 |
+ setopt NO_GLOB_SUBST |
14456 |
+else |
14457 |
+ case `(set -o) 2>/dev/null` in @%:@( |
14458 |
+ *posix*) : |
14459 |
+ set -o posix ;; @%:@( |
14460 |
+ *) : |
14461 |
+ ;; |
14462 |
+esac |
14463 |
+fi |
14464 |
+ |
14465 |
+ |
14466 |
+as_nl=' |
14467 |
+' |
14468 |
+export as_nl |
14469 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
14470 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
14471 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
14472 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
14473 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
14474 |
+# but without wasting forks for bash or zsh. |
14475 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
14476 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
14477 |
+ as_echo='print -r --' |
14478 |
+ as_echo_n='print -rn --' |
14479 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
14480 |
+ as_echo='printf %s\n' |
14481 |
+ as_echo_n='printf %s' |
14482 |
+else |
14483 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
14484 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
14485 |
+ as_echo_n='/usr/ucb/echo -n' |
14486 |
+ else |
14487 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
14488 |
+ as_echo_n_body='eval |
14489 |
+ arg=$1; |
14490 |
+ case $arg in @%:@( |
14491 |
+ *"$as_nl"*) |
14492 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
14493 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
14494 |
+ esac; |
14495 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
14496 |
+ ' |
14497 |
+ export as_echo_n_body |
14498 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
14499 |
+ fi |
14500 |
+ export as_echo_body |
14501 |
+ as_echo='sh -c $as_echo_body as_echo' |
14502 |
+fi |
14503 |
+ |
14504 |
+# The user is always right. |
14505 |
+if test "${PATH_SEPARATOR+set}" != set; then |
14506 |
+ PATH_SEPARATOR=: |
14507 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
14508 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
14509 |
+ PATH_SEPARATOR=';' |
14510 |
+ } |
14511 |
+fi |
14512 |
+ |
14513 |
+ |
14514 |
+# IFS |
14515 |
+# We need space, tab and new line, in precisely that order. Quoting is |
14516 |
+# there to prevent editors from complaining about space-tab. |
14517 |
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
14518 |
+# splitting by setting IFS to empty value.) |
14519 |
+IFS=" "" $as_nl" |
14520 |
+ |
14521 |
+# Find who we are. Look in the path if we contain no directory separator. |
14522 |
+as_myself= |
14523 |
+case $0 in @%:@(( |
14524 |
+ *[\\/]* ) as_myself=$0 ;; |
14525 |
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14526 |
+for as_dir in $PATH |
14527 |
+do |
14528 |
+ IFS=$as_save_IFS |
14529 |
+ test -z "$as_dir" && as_dir=. |
14530 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
14531 |
+ done |
14532 |
+IFS=$as_save_IFS |
14533 |
+ |
14534 |
+ ;; |
14535 |
+esac |
14536 |
+# We did not find ourselves, most probably we were run as `sh COMMAND' |
14537 |
+# in which case we are not to be found in the path. |
14538 |
+if test "x$as_myself" = x; then |
14539 |
+ as_myself=$0 |
14540 |
+fi |
14541 |
+if test ! -f "$as_myself"; then |
14542 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
14543 |
+ exit 1 |
14544 |
+fi |
14545 |
+ |
14546 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
14547 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
14548 |
+# suppresses any "Segmentation fault" message there. '((' could |
14549 |
+# trigger a bug in pdksh 5.2.14. |
14550 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
14551 |
+do eval test x\${$as_var+set} = xset \ |
14552 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
14553 |
+done |
14554 |
+PS1='$ ' |
14555 |
+PS2='> ' |
14556 |
+PS4='+ ' |
14557 |
+ |
14558 |
+# NLS nuisances. |
14559 |
+LC_ALL=C |
14560 |
+export LC_ALL |
14561 |
+LANGUAGE=C |
14562 |
+export LANGUAGE |
14563 |
+ |
14564 |
+# CDPATH. |
14565 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14566 |
+ |
14567 |
+ |
14568 |
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] |
14569 |
+@%:@ ---------------------------------------- |
14570 |
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
14571 |
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
14572 |
+@%:@ script with STATUS, using 1 if that was 0. |
14573 |
+as_fn_error () |
14574 |
+{ |
14575 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
14576 |
+ if test "$4"; then |
14577 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14578 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
14579 |
+ fi |
14580 |
+ $as_echo "$as_me: error: $2" >&2 |
14581 |
+ as_fn_exit $as_status |
14582 |
+} @%:@ as_fn_error |
14583 |
+ |
14584 |
+ |
14585 |
+@%:@ as_fn_set_status STATUS |
14586 |
+@%:@ ----------------------- |
14587 |
+@%:@ Set @S|@? to STATUS, without forking. |
14588 |
+as_fn_set_status () |
14589 |
+{ |
14590 |
+ return $1 |
14591 |
+} @%:@ as_fn_set_status |
14592 |
+ |
14593 |
+@%:@ as_fn_exit STATUS |
14594 |
+@%:@ ----------------- |
14595 |
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
14596 |
+as_fn_exit () |
14597 |
+{ |
14598 |
+ set +e |
14599 |
+ as_fn_set_status $1 |
14600 |
+ exit $1 |
14601 |
+} @%:@ as_fn_exit |
14602 |
+ |
14603 |
+@%:@ as_fn_unset VAR |
14604 |
+@%:@ --------------- |
14605 |
+@%:@ Portably unset VAR. |
14606 |
+as_fn_unset () |
14607 |
+{ |
14608 |
+ { eval $1=; unset $1;} |
14609 |
+} |
14610 |
+as_unset=as_fn_unset |
14611 |
+@%:@ as_fn_append VAR VALUE |
14612 |
+@%:@ ---------------------- |
14613 |
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take |
14614 |
+@%:@ advantage of any shell optimizations that allow amortized linear growth over |
14615 |
+@%:@ repeated appends, instead of the typical quadratic growth present in naive |
14616 |
+@%:@ implementations. |
14617 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
14618 |
+ eval 'as_fn_append () |
14619 |
+ { |
14620 |
+ eval $1+=\$2 |
14621 |
+ }' |
14622 |
+else |
14623 |
+ as_fn_append () |
14624 |
+ { |
14625 |
+ eval $1=\$$1\$2 |
14626 |
+ } |
14627 |
+fi # as_fn_append |
14628 |
+ |
14629 |
+@%:@ as_fn_arith ARG... |
14630 |
+@%:@ ------------------ |
14631 |
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the |
14632 |
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments |
14633 |
+@%:@ must be portable across @S|@(()) and expr. |
14634 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
14635 |
+ eval 'as_fn_arith () |
14636 |
+ { |
14637 |
+ as_val=$(( $* )) |
14638 |
+ }' |
14639 |
+else |
14640 |
+ as_fn_arith () |
14641 |
+ { |
14642 |
+ as_val=`expr "$@" || test $? -eq 1` |
14643 |
+ } |
14644 |
+fi # as_fn_arith |
14645 |
+ |
14646 |
+ |
14647 |
+if expr a : '\(a\)' >/dev/null 2>&1 && |
14648 |
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
14649 |
+ as_expr=expr |
14650 |
+else |
14651 |
+ as_expr=false |
14652 |
+fi |
14653 |
+ |
14654 |
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
14655 |
+ as_basename=basename |
14656 |
+else |
14657 |
+ as_basename=false |
14658 |
+fi |
14659 |
+ |
14660 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
14661 |
+ as_dirname=dirname |
14662 |
+else |
14663 |
+ as_dirname=false |
14664 |
+fi |
14665 |
+ |
14666 |
+as_me=`$as_basename -- "$0" || |
14667 |
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
14668 |
+ X"$0" : 'X\(//\)$' \| \ |
14669 |
+ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
14670 |
+$as_echo X/"$0" | |
14671 |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
14672 |
+ s//\1/ |
14673 |
+ q |
14674 |
+ } |
14675 |
+ /^X\/\(\/\/\)$/{ |
14676 |
+ s//\1/ |
14677 |
+ q |
14678 |
+ } |
14679 |
+ /^X\/\(\/\).*/{ |
14680 |
+ s//\1/ |
14681 |
+ q |
14682 |
+ } |
14683 |
+ s/.*/./; q'` |
14684 |
+ |
14685 |
+# Avoid depending upon Character Ranges. |
14686 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
14687 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
14688 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
14689 |
+as_cr_digits='0123456789' |
14690 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
14691 |
+ |
14692 |
+ECHO_C= ECHO_N= ECHO_T= |
14693 |
+case `echo -n x` in @%:@((((( |
14694 |
+-n*) |
14695 |
+ case `echo 'xy\c'` in |
14696 |
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
14697 |
+ xy) ECHO_C='\c';; |
14698 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
14699 |
+ ECHO_T=' ';; |
14700 |
+ esac;; |
14701 |
+*) |
14702 |
+ ECHO_N='-n';; |
14703 |
+esac |
14704 |
+ |
14705 |
+rm -f conf$$ conf$$.exe conf$$.file |
14706 |
+if test -d conf$$.dir; then |
14707 |
+ rm -f conf$$.dir/conf$$.file |
14708 |
+else |
14709 |
+ rm -f conf$$.dir |
14710 |
+ mkdir conf$$.dir 2>/dev/null |
14711 |
+fi |
14712 |
+if (echo >conf$$.file) 2>/dev/null; then |
14713 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
14714 |
+ as_ln_s='ln -s' |
14715 |
+ # ... but there are two gotchas: |
14716 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
14717 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
14718 |
+ # In both cases, we have to default to `cp -p'. |
14719 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
14720 |
+ as_ln_s='cp -p' |
14721 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
14722 |
+ as_ln_s=ln |
14723 |
+ else |
14724 |
+ as_ln_s='cp -p' |
14725 |
+ fi |
14726 |
+else |
14727 |
+ as_ln_s='cp -p' |
14728 |
+fi |
14729 |
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
14730 |
+rmdir conf$$.dir 2>/dev/null |
14731 |
+ |
14732 |
+ |
14733 |
+@%:@ as_fn_mkdir_p |
14734 |
+@%:@ ------------- |
14735 |
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. |
14736 |
+as_fn_mkdir_p () |
14737 |
+{ |
14738 |
+ |
14739 |
+ case $as_dir in #( |
14740 |
+ -*) as_dir=./$as_dir;; |
14741 |
+ esac |
14742 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
14743 |
+ as_dirs= |
14744 |
+ while :; do |
14745 |
+ case $as_dir in #( |
14746 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
14747 |
+ *) as_qdir=$as_dir;; |
14748 |
+ esac |
14749 |
+ as_dirs="'$as_qdir' $as_dirs" |
14750 |
+ as_dir=`$as_dirname -- "$as_dir" || |
14751 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14752 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
14753 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
14754 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
14755 |
+$as_echo X"$as_dir" | |
14756 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
14757 |
+ s//\1/ |
14758 |
+ q |
14759 |
+ } |
14760 |
+ /^X\(\/\/\)[^/].*/{ |
14761 |
+ s//\1/ |
14762 |
+ q |
14763 |
+ } |
14764 |
+ /^X\(\/\/\)$/{ |
14765 |
+ s//\1/ |
14766 |
+ q |
14767 |
+ } |
14768 |
+ /^X\(\/\).*/{ |
14769 |
+ s//\1/ |
14770 |
+ q |
14771 |
+ } |
14772 |
+ s/.*/./; q'` |
14773 |
+ test -d "$as_dir" && break |
14774 |
+ done |
14775 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
14776 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
14777 |
+ |
14778 |
+ |
14779 |
+} @%:@ as_fn_mkdir_p |
14780 |
+if mkdir -p . 2>/dev/null; then |
14781 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
14782 |
+else |
14783 |
+ test -d ./-p && rmdir ./-p |
14784 |
+ as_mkdir_p=false |
14785 |
+fi |
14786 |
+ |
14787 |
+if test -x / >/dev/null 2>&1; then |
14788 |
+ as_test_x='test -x' |
14789 |
+else |
14790 |
+ if ls -dL / >/dev/null 2>&1; then |
14791 |
+ as_ls_L_option=L |
14792 |
+ else |
14793 |
+ as_ls_L_option= |
14794 |
+ fi |
14795 |
+ as_test_x=' |
14796 |
+ eval sh -c '\'' |
14797 |
+ if test -d "$1"; then |
14798 |
+ test -d "$1/."; |
14799 |
+ else |
14800 |
+ case $1 in @%:@( |
14801 |
+ -*)set "./$1";; |
14802 |
+ esac; |
14803 |
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@(( |
14804 |
+ ???[sx]*):;;*)false;;esac;fi |
14805 |
+ '\'' sh |
14806 |
+ ' |
14807 |
+fi |
14808 |
+as_executable_p=$as_test_x |
14809 |
+ |
14810 |
+# Sed expression to map a string onto a valid CPP name. |
14811 |
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
14812 |
+ |
14813 |
+# Sed expression to map a string onto a valid variable name. |
14814 |
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
14815 |
+ |
14816 |
+ |
14817 |
+exec 6>&1 |
14818 |
+## ----------------------------------- ## |
14819 |
+## Main body of $CONFIG_STATUS script. ## |
14820 |
+## ----------------------------------- ## |
14821 |
+_ASEOF |
14822 |
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
14823 |
+ |
14824 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14825 |
+# Save the log message, to keep $0 and so on meaningful, and to |
14826 |
+# report actual input values of CONFIG_FILES etc. instead of their |
14827 |
+# values after options handling. |
14828 |
+ac_log=" |
14829 |
+This file was extended by elfix $as_me 0.4.0, which was |
14830 |
+generated by GNU Autoconf 2.68. Invocation command line was |
14831 |
+ |
14832 |
+ CONFIG_FILES = $CONFIG_FILES |
14833 |
+ CONFIG_HEADERS = $CONFIG_HEADERS |
14834 |
+ CONFIG_LINKS = $CONFIG_LINKS |
14835 |
+ CONFIG_COMMANDS = $CONFIG_COMMANDS |
14836 |
+ $ $0 $@ |
14837 |
+ |
14838 |
+on `(hostname || uname -n) 2>/dev/null | sed 1q` |
14839 |
+" |
14840 |
+ |
14841 |
+_ACEOF |
14842 |
+ |
14843 |
+case $ac_config_files in *" |
14844 |
+"*) set x $ac_config_files; shift; ac_config_files=$*;; |
14845 |
+esac |
14846 |
+ |
14847 |
+case $ac_config_headers in *" |
14848 |
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
14849 |
+esac |
14850 |
+ |
14851 |
+ |
14852 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14853 |
+# Files that config.status was made for. |
14854 |
+config_files="$ac_config_files" |
14855 |
+config_headers="$ac_config_headers" |
14856 |
+config_commands="$ac_config_commands" |
14857 |
+ |
14858 |
+_ACEOF |
14859 |
+ |
14860 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14861 |
+ac_cs_usage="\ |
14862 |
+\`$as_me' instantiates files and other configuration actions |
14863 |
+from templates according to the current configuration. Unless the files |
14864 |
+and actions are specified as TAGs, all are instantiated by default. |
14865 |
+ |
14866 |
+Usage: $0 [OPTION]... [TAG]... |
14867 |
+ |
14868 |
+ -h, --help print this help, then exit |
14869 |
+ -V, --version print version number and configuration settings, then exit |
14870 |
+ --config print configuration, then exit |
14871 |
+ -q, --quiet, --silent |
14872 |
+ do not print progress messages |
14873 |
+ -d, --debug don't remove temporary files |
14874 |
+ --recheck update $as_me by reconfiguring in the same conditions |
14875 |
+ --file=FILE[:TEMPLATE] |
14876 |
+ instantiate the configuration file FILE |
14877 |
+ --header=FILE[:TEMPLATE] |
14878 |
+ instantiate the configuration header FILE |
14879 |
+ |
14880 |
+Configuration files: |
14881 |
+$config_files |
14882 |
+ |
14883 |
+Configuration headers: |
14884 |
+$config_headers |
14885 |
+ |
14886 |
+Configuration commands: |
14887 |
+$config_commands |
14888 |
+ |
14889 |
+Report bugs to <http://bugs.gentoo.org/>." |
14890 |
+ |
14891 |
+_ACEOF |
14892 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14893 |
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
14894 |
+ac_cs_version="\\ |
14895 |
+elfix config.status 0.4.0 |
14896 |
+configured by $0, generated by GNU Autoconf 2.68, |
14897 |
+ with options \\"\$ac_cs_config\\" |
14898 |
+ |
14899 |
+Copyright (C) 2010 Free Software Foundation, Inc. |
14900 |
+This config.status script is free software; the Free Software Foundation |
14901 |
+gives unlimited permission to copy, distribute and modify it." |
14902 |
+ |
14903 |
+ac_pwd='$ac_pwd' |
14904 |
+srcdir='$srcdir' |
14905 |
+INSTALL='$INSTALL' |
14906 |
+MKDIR_P='$MKDIR_P' |
14907 |
+AWK='$AWK' |
14908 |
+test -n "\$AWK" || AWK=awk |
14909 |
+_ACEOF |
14910 |
+ |
14911 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14912 |
+# The default lists apply if the user does not specify any file. |
14913 |
+ac_need_defaults=: |
14914 |
+while test $# != 0 |
14915 |
+do |
14916 |
+ case $1 in |
14917 |
+ --*=?*) |
14918 |
+ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
14919 |
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
14920 |
+ ac_shift=: |
14921 |
+ ;; |
14922 |
+ --*=) |
14923 |
+ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
14924 |
+ ac_optarg= |
14925 |
+ ac_shift=: |
14926 |
+ ;; |
14927 |
+ *) |
14928 |
+ ac_option=$1 |
14929 |
+ ac_optarg=$2 |
14930 |
+ ac_shift=shift |
14931 |
+ ;; |
14932 |
+ esac |
14933 |
+ |
14934 |
+ case $ac_option in |
14935 |
+ # Handling of the options. |
14936 |
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
14937 |
+ ac_cs_recheck=: ;; |
14938 |
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
14939 |
+ $as_echo "$ac_cs_version"; exit ;; |
14940 |
+ --config | --confi | --conf | --con | --co | --c ) |
14941 |
+ $as_echo "$ac_cs_config"; exit ;; |
14942 |
+ --debug | --debu | --deb | --de | --d | -d ) |
14943 |
+ debug=: ;; |
14944 |
+ --file | --fil | --fi | --f ) |
14945 |
+ $ac_shift |
14946 |
+ case $ac_optarg in |
14947 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
14948 |
+ '') as_fn_error $? "missing file argument" ;; |
14949 |
+ esac |
14950 |
+ as_fn_append CONFIG_FILES " '$ac_optarg'" |
14951 |
+ ac_need_defaults=false;; |
14952 |
+ --header | --heade | --head | --hea ) |
14953 |
+ $ac_shift |
14954 |
+ case $ac_optarg in |
14955 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
14956 |
+ esac |
14957 |
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
14958 |
+ ac_need_defaults=false;; |
14959 |
+ --he | --h) |
14960 |
+ # Conflict between --help and --header |
14961 |
+ as_fn_error $? "ambiguous option: \`$1' |
14962 |
+Try \`$0 --help' for more information.";; |
14963 |
+ --help | --hel | -h ) |
14964 |
+ $as_echo "$ac_cs_usage"; exit ;; |
14965 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
14966 |
+ | -silent | --silent | --silen | --sile | --sil | --si | --s) |
14967 |
+ ac_cs_silent=: ;; |
14968 |
+ |
14969 |
+ # This is an error. |
14970 |
+ -*) as_fn_error $? "unrecognized option: \`$1' |
14971 |
+Try \`$0 --help' for more information." ;; |
14972 |
+ |
14973 |
+ *) as_fn_append ac_config_targets " $1" |
14974 |
+ ac_need_defaults=false ;; |
14975 |
+ |
14976 |
+ esac |
14977 |
+ shift |
14978 |
+done |
14979 |
+ |
14980 |
+ac_configure_extra_args= |
14981 |
+ |
14982 |
+if $ac_cs_silent; then |
14983 |
+ exec 6>/dev/null |
14984 |
+ ac_configure_extra_args="$ac_configure_extra_args --silent" |
14985 |
+fi |
14986 |
+ |
14987 |
+_ACEOF |
14988 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14989 |
+if \$ac_cs_recheck; then |
14990 |
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
14991 |
+ shift |
14992 |
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
14993 |
+ CONFIG_SHELL='$SHELL' |
14994 |
+ export CONFIG_SHELL |
14995 |
+ exec "\$@" |
14996 |
+fi |
14997 |
+ |
14998 |
+_ACEOF |
14999 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15000 |
+exec 5>>config.log |
15001 |
+{ |
15002 |
+ echo |
15003 |
+ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX |
15004 |
+@%:@@%:@ Running $as_me. @%:@@%:@ |
15005 |
+_ASBOX |
15006 |
+ $as_echo "$ac_log" |
15007 |
+} >&5 |
15008 |
+ |
15009 |
+_ACEOF |
15010 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15011 |
+# |
15012 |
+# INIT-COMMANDS |
15013 |
+# |
15014 |
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
15015 |
+ |
15016 |
+_ACEOF |
15017 |
+ |
15018 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15019 |
+ |
15020 |
+# Handling of arguments. |
15021 |
+for ac_config_target in $ac_config_targets |
15022 |
+do |
15023 |
+ case $ac_config_target in |
15024 |
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
15025 |
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
15026 |
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
15027 |
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
15028 |
+ "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; |
15029 |
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
15030 |
+ "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
15031 |
+ "tests/gnustack/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gnustack/Makefile" ;; |
15032 |
+ "tests/pxtpax/Makefile") CONFIG_FILES="$CONFIG_FILES tests/pxtpax/Makefile" ;; |
15033 |
+ |
15034 |
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15035 |
+ esac |
15036 |
+done |
15037 |
+ |
15038 |
+ |
15039 |
+# If the user did not use the arguments to specify the items to instantiate, |
15040 |
+# then the envvar interface is used. Set only those that are not. |
15041 |
+# We use the long form for the default assignment because of an extremely |
15042 |
+# bizarre bug on SunOS 4.1.3. |
15043 |
+if $ac_need_defaults; then |
15044 |
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
15045 |
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
15046 |
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
15047 |
+fi |
15048 |
+ |
15049 |
+# Have a temporary directory for convenience. Make it in the build tree |
15050 |
+# simply because there is no reason against having it here, and in addition, |
15051 |
+# creating and moving files from /tmp can sometimes cause problems. |
15052 |
+# Hook for its removal unless debugging. |
15053 |
+# Note that there is a small window in which the directory will not be cleaned: |
15054 |
+# after its creation but before its name has been assigned to `$tmp'. |
15055 |
+$debug || |
15056 |
+{ |
15057 |
+ tmp= ac_tmp= |
15058 |
+ trap 'exit_status=$? |
15059 |
+ : "${ac_tmp:=$tmp}" |
15060 |
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
15061 |
+' 0 |
15062 |
+ trap 'as_fn_exit 1' 1 2 13 15 |
15063 |
+} |
15064 |
+# Create a (secure) tmp directory for tmp files. |
15065 |
+ |
15066 |
+{ |
15067 |
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
15068 |
+ test -d "$tmp" |
15069 |
+} || |
15070 |
+{ |
15071 |
+ tmp=./conf$$-$RANDOM |
15072 |
+ (umask 077 && mkdir "$tmp") |
15073 |
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
15074 |
+ac_tmp=$tmp |
15075 |
+ |
15076 |
+# Set up the scripts for CONFIG_FILES section. |
15077 |
+# No need to generate them if there are no CONFIG_FILES. |
15078 |
+# This happens for instance with `./config.status config.h'. |
15079 |
+if test -n "$CONFIG_FILES"; then |
15080 |
+ |
15081 |
+ |
15082 |
+ac_cr=`echo X | tr X '\015'` |
15083 |
+# On cygwin, bash can eat \r inside `` if the user requested igncr. |
15084 |
+# But we know of no other shell where ac_cr would be empty at this |
15085 |
+# point, so we can use a bashism as a fallback. |
15086 |
+if test "x$ac_cr" = x; then |
15087 |
+ eval ac_cr=\$\'\\r\' |
15088 |
+fi |
15089 |
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15090 |
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15091 |
+ ac_cs_awk_cr='\\r' |
15092 |
+else |
15093 |
+ ac_cs_awk_cr=$ac_cr |
15094 |
+fi |
15095 |
+ |
15096 |
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
15097 |
+_ACEOF |
15098 |
+ |
15099 |
+ |
15100 |
+{ |
15101 |
+ echo "cat >conf$$subs.awk <<_ACEOF" && |
15102 |
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15103 |
+ echo "_ACEOF" |
15104 |
+} >conf$$subs.sh || |
15105 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15106 |
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
15107 |
+ac_delim='%!_!# ' |
15108 |
+for ac_last_try in false false false false false :; do |
15109 |
+ . ./conf$$subs.sh || |
15110 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15111 |
+ |
15112 |
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15113 |
+ if test $ac_delim_n = $ac_delim_num; then |
15114 |
+ break |
15115 |
+ elif $ac_last_try; then |
15116 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
15117 |
+ else |
15118 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15119 |
+ fi |
15120 |
+done |
15121 |
+rm -f conf$$subs.sh |
15122 |
+ |
15123 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15124 |
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
15125 |
+_ACEOF |
15126 |
+sed -n ' |
15127 |
+h |
15128 |
+s/^/S["/; s/!.*/"]=/ |
15129 |
+p |
15130 |
+g |
15131 |
+s/^[^!]*!// |
15132 |
+:repl |
15133 |
+t repl |
15134 |
+s/'"$ac_delim"'$// |
15135 |
+t delim |
15136 |
+:nl |
15137 |
+h |
15138 |
+s/\(.\{148\}\)..*/\1/ |
15139 |
+t more1 |
15140 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
15141 |
+p |
15142 |
+n |
15143 |
+b repl |
15144 |
+:more1 |
15145 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
15146 |
+p |
15147 |
+g |
15148 |
+s/.\{148\}// |
15149 |
+t nl |
15150 |
+:delim |
15151 |
+h |
15152 |
+s/\(.\{148\}\)..*/\1/ |
15153 |
+t more2 |
15154 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/ |
15155 |
+p |
15156 |
+b |
15157 |
+:more2 |
15158 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
15159 |
+p |
15160 |
+g |
15161 |
+s/.\{148\}// |
15162 |
+t delim |
15163 |
+' <conf$$subs.awk | sed ' |
15164 |
+/^[^""]/{ |
15165 |
+ N |
15166 |
+ s/\n// |
15167 |
+} |
15168 |
+' >>$CONFIG_STATUS || ac_write_fail=1 |
15169 |
+rm -f conf$$subs.awk |
15170 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15171 |
+_ACAWK |
15172 |
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
15173 |
+ for (key in S) S_is_set[key] = 1 |
15174 |
+ FS = "" |
15175 |
+ |
15176 |
+} |
15177 |
+{ |
15178 |
+ line = $ 0 |
15179 |
+ nfields = split(line, field, "@") |
15180 |
+ substed = 0 |
15181 |
+ len = length(field[1]) |
15182 |
+ for (i = 2; i < nfields; i++) { |
15183 |
+ key = field[i] |
15184 |
+ keylen = length(key) |
15185 |
+ if (S_is_set[key]) { |
15186 |
+ value = S[key] |
15187 |
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
15188 |
+ len += length(value) + length(field[++i]) |
15189 |
+ substed = 1 |
15190 |
+ } else |
15191 |
+ len += 1 + keylen |
15192 |
+ } |
15193 |
+ |
15194 |
+ print line |
15195 |
+} |
15196 |
+ |
15197 |
+_ACAWK |
15198 |
+_ACEOF |
15199 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15200 |
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
15201 |
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15202 |
+else |
15203 |
+ cat |
15204 |
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
15205 |
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
15206 |
+_ACEOF |
15207 |
+ |
15208 |
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
15209 |
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
15210 |
+# trailing colons and then remove the whole line if VPATH becomes empty |
15211 |
+# (actually we leave an empty line to preserve line numbers). |
15212 |
+if test "x$srcdir" = x.; then |
15213 |
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
15214 |
+h |
15215 |
+s/// |
15216 |
+s/^/:/ |
15217 |
+s/[ ]*$/:/ |
15218 |
+s/:\$(srcdir):/:/g |
15219 |
+s/:\${srcdir}:/:/g |
15220 |
+s/:@srcdir@:/:/g |
15221 |
+s/^:*// |
15222 |
+s/:*$// |
15223 |
+x |
15224 |
+s/\(=[ ]*\).*/\1/ |
15225 |
+G |
15226 |
+s/\n// |
15227 |
+s/^[^=]*=[ ]*$// |
15228 |
+}' |
15229 |
+fi |
15230 |
+ |
15231 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15232 |
+fi # test -n "$CONFIG_FILES" |
15233 |
+ |
15234 |
+# Set up the scripts for CONFIG_HEADERS section. |
15235 |
+# No need to generate them if there are no CONFIG_HEADERS. |
15236 |
+# This happens for instance with `./config.status Makefile'. |
15237 |
+if test -n "$CONFIG_HEADERS"; then |
15238 |
+cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
15239 |
+BEGIN { |
15240 |
+_ACEOF |
15241 |
+ |
15242 |
+# Transform confdefs.h into an awk script `defines.awk', embedded as |
15243 |
+# here-document in config.status, that substitutes the proper values into |
15244 |
+# config.h.in to produce config.h. |
15245 |
+ |
15246 |
+# Create a delimiter string that does not exist in confdefs.h, to ease |
15247 |
+# handling of long lines. |
15248 |
+ac_delim='%!_!# ' |
15249 |
+for ac_last_try in false false :; do |
15250 |
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
15251 |
+ if test -z "$ac_tt"; then |
15252 |
+ break |
15253 |
+ elif $ac_last_try; then |
15254 |
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15255 |
+ else |
15256 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15257 |
+ fi |
15258 |
+done |
15259 |
+ |
15260 |
+# For the awk script, D is an array of macro values keyed by name, |
15261 |
+# likewise P contains macro parameters if any. Preserve backslash |
15262 |
+# newline sequences. |
15263 |
+ |
15264 |
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
15265 |
+sed -n ' |
15266 |
+s/.\{148\}/&'"$ac_delim"'/g |
15267 |
+t rset |
15268 |
+:rset |
15269 |
+s/^[ ]*#[ ]*define[ ][ ]*/ / |
15270 |
+t def |
15271 |
+d |
15272 |
+:def |
15273 |
+s/\\$// |
15274 |
+t bsnl |
15275 |
+s/["\\]/\\&/g |
15276 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
15277 |
+D["\1"]=" \3"/p |
15278 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
15279 |
+d |
15280 |
+:bsnl |
15281 |
+s/["\\]/\\&/g |
15282 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
15283 |
+D["\1"]=" \3\\\\\\n"\\/p |
15284 |
+t cont |
15285 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
15286 |
+t cont |
15287 |
+d |
15288 |
+:cont |
15289 |
+n |
15290 |
+s/.\{148\}/&'"$ac_delim"'/g |
15291 |
+t clear |
15292 |
+:clear |
15293 |
+s/\\$// |
15294 |
+t bsnlc |
15295 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/p |
15296 |
+d |
15297 |
+:bsnlc |
15298 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
15299 |
+b cont |
15300 |
+' <confdefs.h | sed ' |
15301 |
+s/'"$ac_delim"'/"\\\ |
15302 |
+"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
15303 |
+ |
15304 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15305 |
+ for (key in D) D_is_set[key] = 1 |
15306 |
+ FS = "" |
15307 |
+} |
15308 |
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
15309 |
+ line = \$ 0 |
15310 |
+ split(line, arg, " ") |
15311 |
+ if (arg[1] == "#") { |
15312 |
+ defundef = arg[2] |
15313 |
+ mac1 = arg[3] |
15314 |
+ } else { |
15315 |
+ defundef = substr(arg[1], 2) |
15316 |
+ mac1 = arg[2] |
15317 |
+ } |
15318 |
+ split(mac1, mac2, "(") #) |
15319 |
+ macro = mac2[1] |
15320 |
+ prefix = substr(line, 1, index(line, defundef) - 1) |
15321 |
+ if (D_is_set[macro]) { |
15322 |
+ # Preserve the white space surrounding the "#". |
15323 |
+ print prefix "define", macro P[macro] D[macro] |
15324 |
+ next |
15325 |
+ } else { |
15326 |
+ # Replace #undef with comments. This is necessary, for example, |
15327 |
+ # in the case of _POSIX_SOURCE, which is predefined and required |
15328 |
+ # on some systems where configure will not decide to define it. |
15329 |
+ if (defundef == "undef") { |
15330 |
+ print "/*", prefix defundef, macro, "*/" |
15331 |
+ next |
15332 |
+ } |
15333 |
+ } |
15334 |
+} |
15335 |
+{ print } |
15336 |
+_ACAWK |
15337 |
+_ACEOF |
15338 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15339 |
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
15340 |
+fi # test -n "$CONFIG_HEADERS" |
15341 |
+ |
15342 |
+ |
15343 |
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
15344 |
+shift |
15345 |
+for ac_tag |
15346 |
+do |
15347 |
+ case $ac_tag in |
15348 |
+ :[FHLC]) ac_mode=$ac_tag; continue;; |
15349 |
+ esac |
15350 |
+ case $ac_mode$ac_tag in |
15351 |
+ :[FHL]*:*);; |
15352 |
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15353 |
+ :[FH]-) ac_tag=-:-;; |
15354 |
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15355 |
+ esac |
15356 |
+ ac_save_IFS=$IFS |
15357 |
+ IFS=: |
15358 |
+ set x $ac_tag |
15359 |
+ IFS=$ac_save_IFS |
15360 |
+ shift |
15361 |
+ ac_file=$1 |
15362 |
+ shift |
15363 |
+ |
15364 |
+ case $ac_mode in |
15365 |
+ :L) ac_source=$1;; |
15366 |
+ :[FH]) |
15367 |
+ ac_file_inputs= |
15368 |
+ for ac_f |
15369 |
+ do |
15370 |
+ case $ac_f in |
15371 |
+ -) ac_f="$ac_tmp/stdin";; |
15372 |
+ *) # Look for the file first in the build tree, then in the source tree |
15373 |
+ # (if the path is not absolute). The absolute path cannot be DOS-style, |
15374 |
+ # because $ac_f cannot contain `:'. |
15375 |
+ test -f "$ac_f" || |
15376 |
+ case $ac_f in |
15377 |
+ [\\/$]*) false;; |
15378 |
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15379 |
+ esac || |
15380 |
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15381 |
+ esac |
15382 |
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15383 |
+ as_fn_append ac_file_inputs " '$ac_f'" |
15384 |
+ done |
15385 |
+ |
15386 |
+ # Let's still pretend it is `configure' which instantiates (i.e., don't |
15387 |
+ # use $as_me), people would be surprised to read: |
15388 |
+ # /* config.h. Generated by config.status. */ |
15389 |
+ configure_input='Generated from '` |
15390 |
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
15391 |
+ `' by configure.' |
15392 |
+ if test x"$ac_file" != x-; then |
15393 |
+ configure_input="$ac_file. $configure_input" |
15394 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
15395 |
+$as_echo "$as_me: creating $ac_file" >&6;} |
15396 |
+ fi |
15397 |
+ # Neutralize special characters interpreted by sed in replacement strings. |
15398 |
+ case $configure_input in #( |
15399 |
+ *\&* | *\|* | *\\* ) |
15400 |
+ ac_sed_conf_input=`$as_echo "$configure_input" | |
15401 |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #( |
15402 |
+ *) ac_sed_conf_input=$configure_input;; |
15403 |
+ esac |
15404 |
+ |
15405 |
+ case $ac_tag in |
15406 |
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
15407 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
15408 |
+ esac |
15409 |
+ ;; |
15410 |
+ esac |
15411 |
+ |
15412 |
+ ac_dir=`$as_dirname -- "$ac_file" || |
15413 |
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
15414 |
+ X"$ac_file" : 'X\(//\)[^/]' \| \ |
15415 |
+ X"$ac_file" : 'X\(//\)$' \| \ |
15416 |
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
15417 |
+$as_echo X"$ac_file" | |
15418 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
15419 |
+ s//\1/ |
15420 |
+ q |
15421 |
+ } |
15422 |
+ /^X\(\/\/\)[^/].*/{ |
15423 |
+ s//\1/ |
15424 |
+ q |
15425 |
+ } |
15426 |
+ /^X\(\/\/\)$/{ |
15427 |
+ s//\1/ |
15428 |
+ q |
15429 |
+ } |
15430 |
+ /^X\(\/\).*/{ |
15431 |
+ s//\1/ |
15432 |
+ q |
15433 |
+ } |
15434 |
+ s/.*/./; q'` |
15435 |
+ as_dir="$ac_dir"; as_fn_mkdir_p |
15436 |
+ ac_builddir=. |
15437 |
+ |
15438 |
+case "$ac_dir" in |
15439 |
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
15440 |
+*) |
15441 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
15442 |
+ # A ".." for each directory in $ac_dir_suffix. |
15443 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
15444 |
+ case $ac_top_builddir_sub in |
15445 |
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
15446 |
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
15447 |
+ esac ;; |
15448 |
+esac |
15449 |
+ac_abs_top_builddir=$ac_pwd |
15450 |
+ac_abs_builddir=$ac_pwd$ac_dir_suffix |
15451 |
+# for backward compatibility: |
15452 |
+ac_top_builddir=$ac_top_build_prefix |
15453 |
+ |
15454 |
+case $srcdir in |
15455 |
+ .) # We are building in place. |
15456 |
+ ac_srcdir=. |
15457 |
+ ac_top_srcdir=$ac_top_builddir_sub |
15458 |
+ ac_abs_top_srcdir=$ac_pwd ;; |
15459 |
+ [\\/]* | ?:[\\/]* ) # Absolute name. |
15460 |
+ ac_srcdir=$srcdir$ac_dir_suffix; |
15461 |
+ ac_top_srcdir=$srcdir |
15462 |
+ ac_abs_top_srcdir=$srcdir ;; |
15463 |
+ *) # Relative name. |
15464 |
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
15465 |
+ ac_top_srcdir=$ac_top_build_prefix$srcdir |
15466 |
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
15467 |
+esac |
15468 |
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
15469 |
+ |
15470 |
+ |
15471 |
+ case $ac_mode in |
15472 |
+ :F) |
15473 |
+ # |
15474 |
+ # CONFIG_FILE |
15475 |
+ # |
15476 |
+ |
15477 |
+ case $INSTALL in |
15478 |
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
15479 |
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
15480 |
+ esac |
15481 |
+ ac_MKDIR_P=$MKDIR_P |
15482 |
+ case $MKDIR_P in |
15483 |
+ [\\/$]* | ?:[\\/]* ) ;; |
15484 |
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
15485 |
+ esac |
15486 |
+_ACEOF |
15487 |
+ |
15488 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15489 |
+# If the template does not know about datarootdir, expand it. |
15490 |
+# FIXME: This hack should be removed a few years after 2.60. |
15491 |
+ac_datarootdir_hack=; ac_datarootdir_seen= |
15492 |
+ac_sed_dataroot=' |
15493 |
+/datarootdir/ { |
15494 |
+ p |
15495 |
+ q |
15496 |
+} |
15497 |
+/@datadir@/p |
15498 |
+/@docdir@/p |
15499 |
+/@infodir@/p |
15500 |
+/@localedir@/p |
15501 |
+/@mandir@/p' |
15502 |
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
15503 |
+*datarootdir*) ac_datarootdir_seen=yes;; |
15504 |
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
15505 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
15506 |
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
15507 |
+_ACEOF |
15508 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15509 |
+ ac_datarootdir_hack=' |
15510 |
+ s&@datadir@&$datadir&g |
15511 |
+ s&@docdir@&$docdir&g |
15512 |
+ s&@infodir@&$infodir&g |
15513 |
+ s&@localedir@&$localedir&g |
15514 |
+ s&@mandir@&$mandir&g |
15515 |
+ s&\\\${datarootdir}&$datarootdir&g' ;; |
15516 |
+esac |
15517 |
+_ACEOF |
15518 |
+ |
15519 |
+# Neutralize VPATH when `$srcdir' = `.'. |
15520 |
+# Shell code in configure.ac might set extrasub. |
15521 |
+# FIXME: do we really want to maintain this feature? |
15522 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15523 |
+ac_sed_extra="$ac_vpsub |
15524 |
+$extrasub |
15525 |
+_ACEOF |
15526 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15527 |
+:t |
15528 |
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
15529 |
+s|@configure_input@|$ac_sed_conf_input|;t t |
15530 |
+s&@top_builddir@&$ac_top_builddir_sub&;t t |
15531 |
+s&@top_build_prefix@&$ac_top_build_prefix&;t t |
15532 |
+s&@srcdir@&$ac_srcdir&;t t |
15533 |
+s&@abs_srcdir@&$ac_abs_srcdir&;t t |
15534 |
+s&@top_srcdir@&$ac_top_srcdir&;t t |
15535 |
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
15536 |
+s&@builddir@&$ac_builddir&;t t |
15537 |
+s&@abs_builddir@&$ac_abs_builddir&;t t |
15538 |
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
15539 |
+s&@INSTALL@&$ac_INSTALL&;t t |
15540 |
+s&@MKDIR_P@&$ac_MKDIR_P&;t t |
15541 |
+$ac_datarootdir_hack |
15542 |
+" |
15543 |
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
15544 |
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15545 |
+ |
15546 |
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
15547 |
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
15548 |
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
15549 |
+ "$ac_tmp/out"`; test -z "$ac_out"; } && |
15550 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15551 |
+which seems to be undefined. Please make sure it is defined" >&5 |
15552 |
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15553 |
+which seems to be undefined. Please make sure it is defined" >&2;} |
15554 |
+ |
15555 |
+ rm -f "$ac_tmp/stdin" |
15556 |
+ case $ac_file in |
15557 |
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
15558 |
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
15559 |
+ esac \ |
15560 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15561 |
+ ;; |
15562 |
+ :H) |
15563 |
+ # |
15564 |
+ # CONFIG_HEADER |
15565 |
+ # |
15566 |
+ if test x"$ac_file" != x-; then |
15567 |
+ { |
15568 |
+ $as_echo "/* $configure_input */" \ |
15569 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
15570 |
+ } >"$ac_tmp/config.h" \ |
15571 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15572 |
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
15573 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
15574 |
+$as_echo "$as_me: $ac_file is unchanged" >&6;} |
15575 |
+ else |
15576 |
+ rm -f "$ac_file" |
15577 |
+ mv "$ac_tmp/config.h" "$ac_file" \ |
15578 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15579 |
+ fi |
15580 |
+ else |
15581 |
+ $as_echo "/* $configure_input */" \ |
15582 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
15583 |
+ || as_fn_error $? "could not create -" "$LINENO" 5 |
15584 |
+ fi |
15585 |
+# Compute "$ac_file"'s index in $config_headers. |
15586 |
+_am_arg="$ac_file" |
15587 |
+_am_stamp_count=1 |
15588 |
+for _am_header in $config_headers :; do |
15589 |
+ case $_am_header in |
15590 |
+ $_am_arg | $_am_arg:* ) |
15591 |
+ break ;; |
15592 |
+ * ) |
15593 |
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
15594 |
+ esac |
15595 |
+done |
15596 |
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
15597 |
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
15598 |
+ X"$_am_arg" : 'X\(//\)[^/]' \| \ |
15599 |
+ X"$_am_arg" : 'X\(//\)$' \| \ |
15600 |
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
15601 |
+$as_echo X"$_am_arg" | |
15602 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
15603 |
+ s//\1/ |
15604 |
+ q |
15605 |
+ } |
15606 |
+ /^X\(\/\/\)[^/].*/{ |
15607 |
+ s//\1/ |
15608 |
+ q |
15609 |
+ } |
15610 |
+ /^X\(\/\/\)$/{ |
15611 |
+ s//\1/ |
15612 |
+ q |
15613 |
+ } |
15614 |
+ /^X\(\/\).*/{ |
15615 |
+ s//\1/ |
15616 |
+ q |
15617 |
+ } |
15618 |
+ s/.*/./; q'`/stamp-h$_am_stamp_count |
15619 |
+ ;; |
15620 |
+ |
15621 |
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
15622 |
+$as_echo "$as_me: executing $ac_file commands" >&6;} |
15623 |
+ ;; |
15624 |
+ esac |
15625 |
+ |
15626 |
+ |
15627 |
+ case $ac_file$ac_mode in |
15628 |
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
15629 |
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files |
15630 |
+ # are listed without --file. Let's play safe and only enable the eval |
15631 |
+ # if we detect the quoting. |
15632 |
+ case $CONFIG_FILES in |
15633 |
+ *\'*) eval set x "$CONFIG_FILES" ;; |
15634 |
+ *) set x $CONFIG_FILES ;; |
15635 |
+ esac |
15636 |
+ shift |
15637 |
+ for mf |
15638 |
+ do |
15639 |
+ # Strip MF so we end up with the name of the file. |
15640 |
+ mf=`echo "$mf" | sed -e 's/:.*$//'` |
15641 |
+ # Check whether this is an Automake generated Makefile or not. |
15642 |
+ # We used to match only the files named `Makefile.in', but |
15643 |
+ # some people rename them; so instead we look at the file content. |
15644 |
+ # Grep'ing the first line is not enough: some people post-process |
15645 |
+ # each Makefile.in and add a new line on top of each file to say so. |
15646 |
+ # Grep'ing the whole file is not good either: AIX grep has a line |
15647 |
+ # limit of 2048, but all sed's we know have understand at least 4000. |
15648 |
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
15649 |
+ dirpart=`$as_dirname -- "$mf" || |
15650 |
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
15651 |
+ X"$mf" : 'X\(//\)[^/]' \| \ |
15652 |
+ X"$mf" : 'X\(//\)$' \| \ |
15653 |
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
15654 |
+$as_echo X"$mf" | |
15655 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
15656 |
+ s//\1/ |
15657 |
+ q |
15658 |
+ } |
15659 |
+ /^X\(\/\/\)[^/].*/{ |
15660 |
+ s//\1/ |
15661 |
+ q |
15662 |
+ } |
15663 |
+ /^X\(\/\/\)$/{ |
15664 |
+ s//\1/ |
15665 |
+ q |
15666 |
+ } |
15667 |
+ /^X\(\/\).*/{ |
15668 |
+ s//\1/ |
15669 |
+ q |
15670 |
+ } |
15671 |
+ s/.*/./; q'` |
15672 |
+ else |
15673 |
+ continue |
15674 |
+ fi |
15675 |
+ # Extract the definition of DEPDIR, am__include, and am__quote |
15676 |
+ # from the Makefile without running `make'. |
15677 |
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
15678 |
+ test -z "$DEPDIR" && continue |
15679 |
+ am__include=`sed -n 's/^am__include = //p' < "$mf"` |
15680 |
+ test -z "am__include" && continue |
15681 |
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
15682 |
+ # When using ansi2knr, U may be empty or an underscore; expand it |
15683 |
+ U=`sed -n 's/^U = //p' < "$mf"` |
15684 |
+ # Find all dependency output files, they are included files with |
15685 |
+ # $(DEPDIR) in their names. We invoke sed twice because it is the |
15686 |
+ # simplest approach to changing $(DEPDIR) to its actual value in the |
15687 |
+ # expansion. |
15688 |
+ for file in `sed -n " |
15689 |
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
15690 |
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
15691 |
+ # Make sure the directory exists. |
15692 |
+ test -f "$dirpart/$file" && continue |
15693 |
+ fdir=`$as_dirname -- "$file" || |
15694 |
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
15695 |
+ X"$file" : 'X\(//\)[^/]' \| \ |
15696 |
+ X"$file" : 'X\(//\)$' \| \ |
15697 |
+ X"$file" : 'X\(/\)' \| . 2>/dev/null || |
15698 |
+$as_echo X"$file" | |
15699 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
15700 |
+ s//\1/ |
15701 |
+ q |
15702 |
+ } |
15703 |
+ /^X\(\/\/\)[^/].*/{ |
15704 |
+ s//\1/ |
15705 |
+ q |
15706 |
+ } |
15707 |
+ /^X\(\/\/\)$/{ |
15708 |
+ s//\1/ |
15709 |
+ q |
15710 |
+ } |
15711 |
+ /^X\(\/\).*/{ |
15712 |
+ s//\1/ |
15713 |
+ q |
15714 |
+ } |
15715 |
+ s/.*/./; q'` |
15716 |
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p |
15717 |
+ # echo "creating $dirpart/$file" |
15718 |
+ echo '# dummy' > "$dirpart/$file" |
15719 |
+ done |
15720 |
+ done |
15721 |
+} |
15722 |
+ ;; |
15723 |
+ |
15724 |
+ esac |
15725 |
+done # for ac_tag |
15726 |
+ |
15727 |
+ |
15728 |
+as_fn_exit 0 |
15729 |
+_ACEOF |
15730 |
+ac_clean_files=$ac_clean_files_save |
15731 |
+ |
15732 |
+test $ac_write_fail = 0 || |
15733 |
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
15734 |
+ |
15735 |
+ |
15736 |
+# configure is writing to config.log, and then calls config.status. |
15737 |
+# config.status does its own redirection, appending to config.log. |
15738 |
+# Unfortunately, on DOS this fails, as config.log is still kept open |
15739 |
+# by configure, so config.status won't be able to write to it; its |
15740 |
+# output is simply discarded. So we exec the FD to /dev/null, |
15741 |
+# effectively closing config.log, so it can be properly (re)opened and |
15742 |
+# appended to by config.status. When coming back to configure, we |
15743 |
+# need to make the FD available again. |
15744 |
+if test "$no_create" != yes; then |
15745 |
+ ac_cs_success=: |
15746 |
+ ac_config_status_args= |
15747 |
+ test "$silent" = yes && |
15748 |
+ ac_config_status_args="$ac_config_status_args --quiet" |
15749 |
+ exec 5>/dev/null |
15750 |
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
15751 |
+ exec 5>>config.log |
15752 |
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15753 |
+ # would make configure fail if this is the last instruction. |
15754 |
+ $ac_cs_success || as_fn_exit 1 |
15755 |
+fi |
15756 |
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
15757 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
15758 |
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
15759 |
+fi |
15760 |
+ |
15761 |
|
15762 |
diff --git a/autom4te.cache/requests b/autom4te.cache/requests |
15763 |
new file mode 100644 |
15764 |
index 0000000..9162197 |
15765 |
--- /dev/null |
15766 |
+++ b/autom4te.cache/requests |
15767 |
@@ -0,0 +1,144 @@ |
15768 |
+# This file was generated. |
15769 |
+# It contains the lists of macros which have been traced. |
15770 |
+# It can be safely removed. |
15771 |
+ |
15772 |
+@request = ( |
15773 |
+ bless( [ |
15774 |
+ '0', |
15775 |
+ 1, |
15776 |
+ [ |
15777 |
+ '/usr/share/autoconf' |
15778 |
+ ], |
15779 |
+ [ |
15780 |
+ '/usr/share/autoconf/autoconf/autoconf.m4f', |
15781 |
+ '/usr/share/aclocal-1.11/amversion.m4', |
15782 |
+ '/usr/share/aclocal-1.11/auxdir.m4', |
15783 |
+ '/usr/share/aclocal-1.11/cond.m4', |
15784 |
+ '/usr/share/aclocal-1.11/depend.m4', |
15785 |
+ '/usr/share/aclocal-1.11/depout.m4', |
15786 |
+ '/usr/share/aclocal-1.11/init.m4', |
15787 |
+ '/usr/share/aclocal-1.11/install-sh.m4', |
15788 |
+ '/usr/share/aclocal-1.11/lead-dot.m4', |
15789 |
+ '/usr/share/aclocal-1.11/make.m4', |
15790 |
+ '/usr/share/aclocal-1.11/missing.m4', |
15791 |
+ '/usr/share/aclocal-1.11/mkdirp.m4', |
15792 |
+ '/usr/share/aclocal-1.11/options.m4', |
15793 |
+ '/usr/share/aclocal-1.11/runlog.m4', |
15794 |
+ '/usr/share/aclocal-1.11/sanity.m4', |
15795 |
+ '/usr/share/aclocal-1.11/silent.m4', |
15796 |
+ '/usr/share/aclocal-1.11/strip.m4', |
15797 |
+ '/usr/share/aclocal-1.11/substnot.m4', |
15798 |
+ '/usr/share/aclocal-1.11/tar.m4', |
15799 |
+ 'configure.ac' |
15800 |
+ ], |
15801 |
+ { |
15802 |
+ 'm4_pattern_forbid' => 1, |
15803 |
+ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, |
15804 |
+ '_AM_SET_OPTION' => 1, |
15805 |
+ 'AC_DEFUN' => 1, |
15806 |
+ 'AM_PROG_MKDIR_P' => 1, |
15807 |
+ 'AM_INIT_AUTOMAKE' => 1, |
15808 |
+ 'AM_AUTOMAKE_VERSION' => 1, |
15809 |
+ 'AM_MISSING_HAS_RUN' => 1, |
15810 |
+ 'AM_SUBST_NOTMAKE' => 1, |
15811 |
+ 'AM_MISSING_PROG' => 1, |
15812 |
+ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, |
15813 |
+ 'AC_DEFUN_ONCE' => 1, |
15814 |
+ 'AM_PROG_INSTALL_STRIP' => 1, |
15815 |
+ '_m4_warn' => 1, |
15816 |
+ 'AM_SANITY_CHECK' => 1, |
15817 |
+ 'AM_SILENT_RULES' => 1, |
15818 |
+ 'include' => 1, |
15819 |
+ '_AM_PROG_TAR' => 1, |
15820 |
+ 'AM_AUX_DIR_EXPAND' => 1, |
15821 |
+ 'AM_DEP_TRACK' => 1, |
15822 |
+ '_AM_SET_OPTIONS' => 1, |
15823 |
+ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, |
15824 |
+ 'AM_RUN_LOG' => 1, |
15825 |
+ '_AM_IF_OPTION' => 1, |
15826 |
+ '_AM_SUBST_NOTMAKE' => 1, |
15827 |
+ 'm4_pattern_allow' => 1, |
15828 |
+ '_AM_AUTOCONF_VERSION' => 1, |
15829 |
+ '_AM_MANGLE_OPTION' => 1, |
15830 |
+ 'AM_CONDITIONAL' => 1, |
15831 |
+ 'AM_SET_LEADING_DOT' => 1, |
15832 |
+ 'AM_SET_DEPDIR' => 1, |
15833 |
+ '_AM_DEPENDENCIES' => 1, |
15834 |
+ 'AM_PROG_INSTALL_SH' => 1, |
15835 |
+ 'm4_include' => 1, |
15836 |
+ '_AC_AM_CONFIG_HEADER_HOOK' => 1, |
15837 |
+ 'AU_DEFUN' => 1, |
15838 |
+ 'AM_MAKE_INCLUDE' => 1 |
15839 |
+ } |
15840 |
+ ], 'Autom4te::Request' ), |
15841 |
+ bless( [ |
15842 |
+ '1', |
15843 |
+ 1, |
15844 |
+ [ |
15845 |
+ '/usr/share/autoconf' |
15846 |
+ ], |
15847 |
+ [ |
15848 |
+ '/usr/share/autoconf/autoconf/autoconf.m4f', |
15849 |
+ 'aclocal.m4', |
15850 |
+ 'configure.ac' |
15851 |
+ ], |
15852 |
+ { |
15853 |
+ '_LT_AC_TAGCONFIG' => 1, |
15854 |
+ 'AM_PROG_F77_C_O' => 1, |
15855 |
+ 'AC_INIT' => 1, |
15856 |
+ 'm4_pattern_forbid' => 1, |
15857 |
+ '_AM_COND_IF' => 1, |
15858 |
+ 'AC_CANONICAL_TARGET' => 1, |
15859 |
+ 'AC_SUBST' => 1, |
15860 |
+ 'AC_CONFIG_LIBOBJ_DIR' => 1, |
15861 |
+ 'AC_FC_SRCEXT' => 1, |
15862 |
+ 'AC_CANONICAL_HOST' => 1, |
15863 |
+ 'AC_PROG_LIBTOOL' => 1, |
15864 |
+ 'AM_INIT_AUTOMAKE' => 1, |
15865 |
+ 'AM_PATH_GUILE' => 1, |
15866 |
+ 'AC_CONFIG_SUBDIRS' => 1, |
15867 |
+ 'AM_AUTOMAKE_VERSION' => 1, |
15868 |
+ 'LT_CONFIG_LTDL_DIR' => 1, |
15869 |
+ 'AC_REQUIRE_AUX_FILE' => 1, |
15870 |
+ 'AC_CONFIG_LINKS' => 1, |
15871 |
+ 'm4_sinclude' => 1, |
15872 |
+ 'LT_SUPPORTED_TAG' => 1, |
15873 |
+ 'AM_MAINTAINER_MODE' => 1, |
15874 |
+ 'AM_NLS' => 1, |
15875 |
+ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, |
15876 |
+ 'AM_MAKEFILE_INCLUDE' => 1, |
15877 |
+ '_m4_warn' => 1, |
15878 |
+ 'AM_PROG_CXX_C_O' => 1, |
15879 |
+ '_AM_COND_ENDIF' => 1, |
15880 |
+ '_AM_MAKEFILE_INCLUDE' => 1, |
15881 |
+ 'AM_ENABLE_MULTILIB' => 1, |
15882 |
+ 'AM_SILENT_RULES' => 1, |
15883 |
+ 'AM_PROG_MOC' => 1, |
15884 |
+ 'AC_CONFIG_FILES' => 1, |
15885 |
+ 'include' => 1, |
15886 |
+ 'LT_INIT' => 1, |
15887 |
+ 'AM_PROG_AR' => 1, |
15888 |
+ 'AM_GNU_GETTEXT' => 1, |
15889 |
+ 'AC_LIBSOURCE' => 1, |
15890 |
+ 'AM_PROG_FC_C_O' => 1, |
15891 |
+ 'AC_CANONICAL_BUILD' => 1, |
15892 |
+ 'AC_FC_FREEFORM' => 1, |
15893 |
+ 'AH_OUTPUT' => 1, |
15894 |
+ '_AM_SUBST_NOTMAKE' => 1, |
15895 |
+ 'AC_CONFIG_AUX_DIR' => 1, |
15896 |
+ 'sinclude' => 1, |
15897 |
+ 'AM_PROG_CC_C_O' => 1, |
15898 |
+ 'm4_pattern_allow' => 1, |
15899 |
+ 'AM_XGETTEXT_OPTION' => 1, |
15900 |
+ 'AC_CANONICAL_SYSTEM' => 1, |
15901 |
+ 'AM_CONDITIONAL' => 1, |
15902 |
+ 'AC_CONFIG_HEADERS' => 1, |
15903 |
+ 'AC_DEFINE_TRACE_LITERAL' => 1, |
15904 |
+ 'AM_POT_TOOLS' => 1, |
15905 |
+ 'm4_include' => 1, |
15906 |
+ '_AM_COND_ELSE' => 1, |
15907 |
+ 'AC_SUBST_TRACE' => 1 |
15908 |
+ } |
15909 |
+ ], 'Autom4te::Request' ) |
15910 |
+ ); |
15911 |
+ |
15912 |
|
15913 |
diff --git a/autom4te.cache/traces.0 b/autom4te.cache/traces.0 |
15914 |
new file mode 100644 |
15915 |
index 0000000..f262fc6 |
15916 |
--- /dev/null |
15917 |
+++ b/autom4te.cache/traces.0 |
15918 |
@@ -0,0 +1,798 @@ |
15919 |
+m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' |
15920 |
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
15921 |
+dnl require some minimum version. Point them to the right macro. |
15922 |
+m4_if([$1], [1.11.1], [], |
15923 |
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
15924 |
+]) |
15925 |
+m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl |
15926 |
+m4_ifndef([AC_AUTOCONF_VERSION], |
15927 |
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
15928 |
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
15929 |
+m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. |
15930 |
+AC_PREREQ([2.50])dnl |
15931 |
+# expand $ac_aux_dir to an absolute path |
15932 |
+am_aux_dir=`cd $ac_aux_dir && pwd` |
15933 |
+]) |
15934 |
+m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl |
15935 |
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
15936 |
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
15937 |
+AC_SUBST([$1_TRUE])dnl |
15938 |
+AC_SUBST([$1_FALSE])dnl |
15939 |
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
15940 |
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
15941 |
+m4_define([_AM_COND_VALUE_$1], [$2])dnl |
15942 |
+if $2; then |
15943 |
+ $1_TRUE= |
15944 |
+ $1_FALSE='#' |
15945 |
+else |
15946 |
+ $1_TRUE='#' |
15947 |
+ $1_FALSE= |
15948 |
+fi |
15949 |
+AC_CONFIG_COMMANDS_PRE( |
15950 |
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
15951 |
+ AC_MSG_ERROR([[conditional "$1" was never defined. |
15952 |
+Usually this means the macro was only invoked conditionally.]]) |
15953 |
+fi])]) |
15954 |
+m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl |
15955 |
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
15956 |
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
15957 |
+AC_REQUIRE([AM_DEP_TRACK])dnl |
15958 |
+ |
15959 |
+ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
15960 |
+ [$1], CXX, [depcc="$CXX" am_compiler_list=], |
15961 |
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
15962 |
+ [$1], UPC, [depcc="$UPC" am_compiler_list=], |
15963 |
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
15964 |
+ [depcc="$$1" am_compiler_list=]) |
15965 |
+ |
15966 |
+AC_CACHE_CHECK([dependency style of $depcc], |
15967 |
+ [am_cv_$1_dependencies_compiler_type], |
15968 |
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
15969 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
15970 |
+ # making bogus files that we don't know about and never remove. For |
15971 |
+ # instance it was reported that on HP-UX the gcc test will end up |
15972 |
+ # making a dummy file named `D' -- because `-MD' means `put the output |
15973 |
+ # in D'. |
15974 |
+ mkdir conftest.dir |
15975 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
15976 |
+ # using a relative directory. |
15977 |
+ cp "$am_depcomp" conftest.dir |
15978 |
+ cd conftest.dir |
15979 |
+ # We will build objects and dependencies in a subdirectory because |
15980 |
+ # it helps to detect inapplicable dependency modes. For instance |
15981 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
15982 |
+ # side effect of compilation, but ICC will put the dependencies in |
15983 |
+ # the current directory while Tru64 will put them in the object |
15984 |
+ # directory. |
15985 |
+ mkdir sub |
15986 |
+ |
15987 |
+ am_cv_$1_dependencies_compiler_type=none |
15988 |
+ if test "$am_compiler_list" = ""; then |
15989 |
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
15990 |
+ fi |
15991 |
+ am__universal=false |
15992 |
+ m4_case([$1], [CC], |
15993 |
+ [case " $depcc " in #( |
15994 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
15995 |
+ esac], |
15996 |
+ [CXX], |
15997 |
+ [case " $depcc " in #( |
15998 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
15999 |
+ esac]) |
16000 |
+ |
16001 |
+ for depmode in $am_compiler_list; do |
16002 |
+ # Setup a source with many dependencies, because some compilers |
16003 |
+ # like to wrap large dependency lists on column 80 (with \), and |
16004 |
+ # we should not choose a depcomp mode which is confused by this. |
16005 |
+ # |
16006 |
+ # We need to recreate these files for each test, as the compiler may |
16007 |
+ # overwrite some of them when testing with obscure command lines. |
16008 |
+ # This happens at least with the AIX C compiler. |
16009 |
+ : > sub/conftest.c |
16010 |
+ for i in 1 2 3 4 5 6; do |
16011 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
16012 |
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
16013 |
+ # Solaris 8's {/usr,}/bin/sh. |
16014 |
+ touch sub/conftst$i.h |
16015 |
+ done |
16016 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
16017 |
+ |
16018 |
+ # We check with `-c' and `-o' for the sake of the "dashmstdout" |
16019 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
16020 |
+ # handle `-M -o', and we need to detect this. Also, some Intel |
16021 |
+ # versions had trouble with output in subdirs |
16022 |
+ am__obj=sub/conftest.${OBJEXT-o} |
16023 |
+ am__minus_obj="-o $am__obj" |
16024 |
+ case $depmode in |
16025 |
+ gcc) |
16026 |
+ # This depmode causes a compiler race in universal mode. |
16027 |
+ test "$am__universal" = false || continue |
16028 |
+ ;; |
16029 |
+ nosideeffect) |
16030 |
+ # after this tag, mechanisms are not by side-effect, so they'll |
16031 |
+ # only be used when explicitly requested |
16032 |
+ if test "x$enable_dependency_tracking" = xyes; then |
16033 |
+ continue |
16034 |
+ else |
16035 |
+ break |
16036 |
+ fi |
16037 |
+ ;; |
16038 |
+ msvisualcpp | msvcmsys) |
16039 |
+ # This compiler won't grok `-c -o', but also, the minuso test has |
16040 |
+ # not run yet. These depmodes are late enough in the game, and |
16041 |
+ # so weak that their functioning should not be impacted. |
16042 |
+ am__obj=conftest.${OBJEXT-o} |
16043 |
+ am__minus_obj= |
16044 |
+ ;; |
16045 |
+ none) break ;; |
16046 |
+ esac |
16047 |
+ if depmode=$depmode \ |
16048 |
+ source=sub/conftest.c object=$am__obj \ |
16049 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
16050 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
16051 |
+ >/dev/null 2>conftest.err && |
16052 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
16053 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
16054 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
16055 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
16056 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
16057 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
16058 |
+ # that says an option was ignored or not supported. |
16059 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
16060 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
16061 |
+ # The diagnosis changed in icc 8.0: |
16062 |
+ # icc: Command line remark: option '-MP' not supported |
16063 |
+ if (grep 'ignoring option' conftest.err || |
16064 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
16065 |
+ am_cv_$1_dependencies_compiler_type=$depmode |
16066 |
+ break |
16067 |
+ fi |
16068 |
+ fi |
16069 |
+ done |
16070 |
+ |
16071 |
+ cd .. |
16072 |
+ rm -rf conftest.dir |
16073 |
+else |
16074 |
+ am_cv_$1_dependencies_compiler_type=none |
16075 |
+fi |
16076 |
+]) |
16077 |
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
16078 |
+AM_CONDITIONAL([am__fastdep$1], [ |
16079 |
+ test "x$enable_dependency_tracking" != xno \ |
16080 |
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
16081 |
+]) |
16082 |
+m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
16083 |
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
16084 |
+]) |
16085 |
+m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, |
16086 |
+[ --disable-dependency-tracking speeds up one-time build |
16087 |
+ --enable-dependency-tracking do not reject slow dependency extractors]) |
16088 |
+if test "x$enable_dependency_tracking" != xno; then |
16089 |
+ am_depcomp="$ac_aux_dir/depcomp" |
16090 |
+ AMDEPBACKSLASH='\' |
16091 |
+fi |
16092 |
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
16093 |
+AC_SUBST([AMDEPBACKSLASH])dnl |
16094 |
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
16095 |
+]) |
16096 |
+m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ |
16097 |
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files |
16098 |
+ # are listed without --file. Let's play safe and only enable the eval |
16099 |
+ # if we detect the quoting. |
16100 |
+ case $CONFIG_FILES in |
16101 |
+ *\'*) eval set x "$CONFIG_FILES" ;; |
16102 |
+ *) set x $CONFIG_FILES ;; |
16103 |
+ esac |
16104 |
+ shift |
16105 |
+ for mf |
16106 |
+ do |
16107 |
+ # Strip MF so we end up with the name of the file. |
16108 |
+ mf=`echo "$mf" | sed -e 's/:.*$//'` |
16109 |
+ # Check whether this is an Automake generated Makefile or not. |
16110 |
+ # We used to match only the files named `Makefile.in', but |
16111 |
+ # some people rename them; so instead we look at the file content. |
16112 |
+ # Grep'ing the first line is not enough: some people post-process |
16113 |
+ # each Makefile.in and add a new line on top of each file to say so. |
16114 |
+ # Grep'ing the whole file is not good either: AIX grep has a line |
16115 |
+ # limit of 2048, but all sed's we know have understand at least 4000. |
16116 |
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
16117 |
+ dirpart=`AS_DIRNAME("$mf")` |
16118 |
+ else |
16119 |
+ continue |
16120 |
+ fi |
16121 |
+ # Extract the definition of DEPDIR, am__include, and am__quote |
16122 |
+ # from the Makefile without running `make'. |
16123 |
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
16124 |
+ test -z "$DEPDIR" && continue |
16125 |
+ am__include=`sed -n 's/^am__include = //p' < "$mf"` |
16126 |
+ test -z "am__include" && continue |
16127 |
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
16128 |
+ # When using ansi2knr, U may be empty or an underscore; expand it |
16129 |
+ U=`sed -n 's/^U = //p' < "$mf"` |
16130 |
+ # Find all dependency output files, they are included files with |
16131 |
+ # $(DEPDIR) in their names. We invoke sed twice because it is the |
16132 |
+ # simplest approach to changing $(DEPDIR) to its actual value in the |
16133 |
+ # expansion. |
16134 |
+ for file in `sed -n " |
16135 |
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
16136 |
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
16137 |
+ # Make sure the directory exists. |
16138 |
+ test -f "$dirpart/$file" && continue |
16139 |
+ fdir=`AS_DIRNAME(["$file"])` |
16140 |
+ AS_MKDIR_P([$dirpart/$fdir]) |
16141 |
+ # echo "creating $dirpart/$file" |
16142 |
+ echo '# dummy' > "$dirpart/$file" |
16143 |
+ done |
16144 |
+ done |
16145 |
+} |
16146 |
+]) |
16147 |
+m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], |
16148 |
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
16149 |
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
16150 |
+]) |
16151 |
+m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl |
16152 |
+dnl Autoconf wants to disallow AM_ names. We explicitly allow |
16153 |
+dnl the ones we care about. |
16154 |
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
16155 |
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
16156 |
+AC_REQUIRE([AC_PROG_INSTALL])dnl |
16157 |
+if test "`cd $srcdir && pwd`" != "`pwd`"; then |
16158 |
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
16159 |
+ # is not polluted with repeated "-I." |
16160 |
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
16161 |
+ # test to see if srcdir already configured |
16162 |
+ if test -f $srcdir/config.status; then |
16163 |
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
16164 |
+ fi |
16165 |
+fi |
16166 |
+ |
16167 |
+# test whether we have cygpath |
16168 |
+if test -z "$CYGPATH_W"; then |
16169 |
+ if (cygpath --version) >/dev/null 2>/dev/null; then |
16170 |
+ CYGPATH_W='cygpath -w' |
16171 |
+ else |
16172 |
+ CYGPATH_W=echo |
16173 |
+ fi |
16174 |
+fi |
16175 |
+AC_SUBST([CYGPATH_W]) |
16176 |
+ |
16177 |
+# Define the identity of the package. |
16178 |
+dnl Distinguish between old-style and new-style calls. |
16179 |
+m4_ifval([$2], |
16180 |
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
16181 |
+ AC_SUBST([PACKAGE], [$1])dnl |
16182 |
+ AC_SUBST([VERSION], [$2])], |
16183 |
+[_AM_SET_OPTIONS([$1])dnl |
16184 |
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
16185 |
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, |
16186 |
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
16187 |
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
16188 |
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
16189 |
+ |
16190 |
+_AM_IF_OPTION([no-define],, |
16191 |
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
16192 |
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl |
16193 |
+ |
16194 |
+# Some tools Automake needs. |
16195 |
+AC_REQUIRE([AM_SANITY_CHECK])dnl |
16196 |
+AC_REQUIRE([AC_ARG_PROGRAM])dnl |
16197 |
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) |
16198 |
+AM_MISSING_PROG(AUTOCONF, autoconf) |
16199 |
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
16200 |
+AM_MISSING_PROG(AUTOHEADER, autoheader) |
16201 |
+AM_MISSING_PROG(MAKEINFO, makeinfo) |
16202 |
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
16203 |
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
16204 |
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
16205 |
+# We need awk for the "check" target. The system "awk" is bad on |
16206 |
+# some platforms. |
16207 |
+AC_REQUIRE([AC_PROG_AWK])dnl |
16208 |
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
16209 |
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
16210 |
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
16211 |
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
16212 |
+ [_AM_PROG_TAR([v7])])]) |
16213 |
+_AM_IF_OPTION([no-dependencies],, |
16214 |
+[AC_PROVIDE_IFELSE([AC_PROG_CC], |
16215 |
+ [_AM_DEPENDENCIES(CC)], |
16216 |
+ [define([AC_PROG_CC], |
16217 |
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
16218 |
+AC_PROVIDE_IFELSE([AC_PROG_CXX], |
16219 |
+ [_AM_DEPENDENCIES(CXX)], |
16220 |
+ [define([AC_PROG_CXX], |
16221 |
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
16222 |
+AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
16223 |
+ [_AM_DEPENDENCIES(OBJC)], |
16224 |
+ [define([AC_PROG_OBJC], |
16225 |
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
16226 |
+]) |
16227 |
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
16228 |
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the |
16229 |
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro |
16230 |
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
16231 |
+AC_CONFIG_COMMANDS_PRE(dnl |
16232 |
+[m4_provide_if([_AM_COMPILER_EXEEXT], |
16233 |
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
16234 |
+]) |
16235 |
+m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. |
16236 |
+_am_arg=$1 |
16237 |
+_am_stamp_count=1 |
16238 |
+for _am_header in $config_headers :; do |
16239 |
+ case $_am_header in |
16240 |
+ $_am_arg | $_am_arg:* ) |
16241 |
+ break ;; |
16242 |
+ * ) |
16243 |
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
16244 |
+ esac |
16245 |
+done |
16246 |
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
16247 |
+m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
16248 |
+if test x"${install_sh}" != xset; then |
16249 |
+ case $am_aux_dir in |
16250 |
+ *\ * | *\ *) |
16251 |
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
16252 |
+ *) |
16253 |
+ install_sh="\${SHELL} $am_aux_dir/install-sh" |
16254 |
+ esac |
16255 |
+fi |
16256 |
+AC_SUBST(install_sh)]) |
16257 |
+m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null |
16258 |
+mkdir .tst 2>/dev/null |
16259 |
+if test -d .tst; then |
16260 |
+ am__leading_dot=. |
16261 |
+else |
16262 |
+ am__leading_dot=_ |
16263 |
+fi |
16264 |
+rmdir .tst 2>/dev/null |
16265 |
+AC_SUBST([am__leading_dot])]) |
16266 |
+m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} |
16267 |
+cat > confinc << 'END' |
16268 |
+am__doit: |
16269 |
+ @echo this is the am__doit target |
16270 |
+.PHONY: am__doit |
16271 |
+END |
16272 |
+# If we don't find an include directive, just comment out the code. |
16273 |
+AC_MSG_CHECKING([for style of include used by $am_make]) |
16274 |
+am__include="#" |
16275 |
+am__quote= |
16276 |
+_am_result=none |
16277 |
+# First try GNU make style include. |
16278 |
+echo "include confinc" > confmf |
16279 |
+# Ignore all kinds of additional output from `make'. |
16280 |
+case `$am_make -s -f confmf 2> /dev/null` in #( |
16281 |
+*the\ am__doit\ target*) |
16282 |
+ am__include=include |
16283 |
+ am__quote= |
16284 |
+ _am_result=GNU |
16285 |
+ ;; |
16286 |
+esac |
16287 |
+# Now try BSD make style include. |
16288 |
+if test "$am__include" = "#"; then |
16289 |
+ echo '.include "confinc"' > confmf |
16290 |
+ case `$am_make -s -f confmf 2> /dev/null` in #( |
16291 |
+ *the\ am__doit\ target*) |
16292 |
+ am__include=.include |
16293 |
+ am__quote="\"" |
16294 |
+ _am_result=BSD |
16295 |
+ ;; |
16296 |
+ esac |
16297 |
+fi |
16298 |
+AC_SUBST([am__include]) |
16299 |
+AC_SUBST([am__quote]) |
16300 |
+AC_MSG_RESULT([$_am_result]) |
16301 |
+rm -f confinc confmf |
16302 |
+]) |
16303 |
+m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) |
16304 |
+$1=${$1-"${am_missing_run}$2"} |
16305 |
+AC_SUBST($1)]) |
16306 |
+m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
16307 |
+AC_REQUIRE_AUX_FILE([missing])dnl |
16308 |
+if test x"${MISSING+set}" != xset; then |
16309 |
+ case $am_aux_dir in |
16310 |
+ *\ * | *\ *) |
16311 |
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
16312 |
+ *) |
16313 |
+ MISSING="\${SHELL} $am_aux_dir/missing" ;; |
16314 |
+ esac |
16315 |
+fi |
16316 |
+# Use eval to expand $SHELL |
16317 |
+if eval "$MISSING --run true"; then |
16318 |
+ am_missing_run="$MISSING --run " |
16319 |
+else |
16320 |
+ am_missing_run= |
16321 |
+ AC_MSG_WARN([`missing' script is too old or missing]) |
16322 |
+fi |
16323 |
+]) |
16324 |
+m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl |
16325 |
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
16326 |
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, |
16327 |
+dnl while keeping a definition of mkdir_p for backward compatibility. |
16328 |
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. |
16329 |
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of |
16330 |
+dnl Makefile.ins that do not define MKDIR_P, so we do our own |
16331 |
+dnl adjustment using top_builddir (which is defined more often than |
16332 |
+dnl MKDIR_P). |
16333 |
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl |
16334 |
+case $mkdir_p in |
16335 |
+ [[\\/$]]* | ?:[[\\/]]*) ;; |
16336 |
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
16337 |
+esac |
16338 |
+]) |
16339 |
+m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
16340 |
+m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |
16341 |
+m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
16342 |
+m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
16343 |
+m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD |
16344 |
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD |
16345 |
+ ac_status=$? |
16346 |
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
16347 |
+ (exit $ac_status); }]) |
16348 |
+m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) |
16349 |
+# Just in case |
16350 |
+sleep 1 |
16351 |
+echo timestamp > conftest.file |
16352 |
+# Reject unsafe characters in $srcdir or the absolute working directory |
16353 |
+# name. Accept space and tab only in the latter. |
16354 |
+am_lf=' |
16355 |
+' |
16356 |
+case `pwd` in |
16357 |
+ *[[\\\"\#\$\&\'\`$am_lf]]*) |
16358 |
+ AC_MSG_ERROR([unsafe absolute working directory name]);; |
16359 |
+esac |
16360 |
+case $srcdir in |
16361 |
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
16362 |
+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; |
16363 |
+esac |
16364 |
+ |
16365 |
+# Do `set' in a subshell so we don't clobber the current shell's |
16366 |
+# arguments. Must try -L first in case configure is actually a |
16367 |
+# symlink; some systems play weird games with the mod time of symlinks |
16368 |
+# (eg FreeBSD returns the mod time of the symlink's containing |
16369 |
+# directory). |
16370 |
+if ( |
16371 |
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
16372 |
+ if test "$[*]" = "X"; then |
16373 |
+ # -L didn't work. |
16374 |
+ set X `ls -t "$srcdir/configure" conftest.file` |
16375 |
+ fi |
16376 |
+ rm -f conftest.file |
16377 |
+ if test "$[*]" != "X $srcdir/configure conftest.file" \ |
16378 |
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then |
16379 |
+ |
16380 |
+ # If neither matched, then we have a broken ls. This can happen |
16381 |
+ # if, for instance, CONFIG_SHELL is bash and it inherits a |
16382 |
+ # broken ls alias from the environment. This has actually |
16383 |
+ # happened. Such a system could not be considered "sane". |
16384 |
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
16385 |
+alias in your environment]) |
16386 |
+ fi |
16387 |
+ |
16388 |
+ test "$[2]" = conftest.file |
16389 |
+ ) |
16390 |
+then |
16391 |
+ # Ok. |
16392 |
+ : |
16393 |
+else |
16394 |
+ AC_MSG_ERROR([newly created file is older than distributed files! |
16395 |
+Check your system clock]) |
16396 |
+fi |
16397 |
+AC_MSG_RESULT(yes)]) |
16398 |
+m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], |
16399 |
+[ --enable-silent-rules less verbose build output (undo: `make V=1') |
16400 |
+ --disable-silent-rules verbose build output (undo: `make V=0')]) |
16401 |
+case $enable_silent_rules in |
16402 |
+yes) AM_DEFAULT_VERBOSITY=0;; |
16403 |
+no) AM_DEFAULT_VERBOSITY=1;; |
16404 |
+*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; |
16405 |
+esac |
16406 |
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
16407 |
+AM_BACKSLASH='\' |
16408 |
+AC_SUBST([AM_BACKSLASH])dnl |
16409 |
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
16410 |
+]) |
16411 |
+m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
16412 |
+# Installed binaries are usually stripped using `strip' when the user |
16413 |
+# run `make install-strip'. However `strip' might not be the right |
16414 |
+# tool to use in cross-compilation environments, therefore Automake |
16415 |
+# will honor the `STRIP' environment variable to overrule this program. |
16416 |
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'. |
16417 |
+if test "$cross_compiling" != no; then |
16418 |
+ AC_CHECK_TOOL([STRIP], [strip], :) |
16419 |
+fi |
16420 |
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
16421 |
+AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
16422 |
+m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) |
16423 |
+m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
16424 |
+m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. |
16425 |
+AM_MISSING_PROG([AMTAR], [tar]) |
16426 |
+m4_if([$1], [v7], |
16427 |
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], |
16428 |
+ [m4_case([$1], [ustar],, [pax],, |
16429 |
+ [m4_fatal([Unknown tar format])]) |
16430 |
+AC_MSG_CHECKING([how to create a $1 tar archive]) |
16431 |
+# Loop over all known methods to create a tar archive until one works. |
16432 |
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
16433 |
+_am_tools=${am_cv_prog_tar_$1-$_am_tools} |
16434 |
+# Do not fold the above two line into one, because Tru64 sh and |
16435 |
+# Solaris sh will not grok spaces in the rhs of `-'. |
16436 |
+for _am_tool in $_am_tools |
16437 |
+do |
16438 |
+ case $_am_tool in |
16439 |
+ gnutar) |
16440 |
+ for _am_tar in tar gnutar gtar; |
16441 |
+ do |
16442 |
+ AM_RUN_LOG([$_am_tar --version]) && break |
16443 |
+ done |
16444 |
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
16445 |
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
16446 |
+ am__untar="$_am_tar -xf -" |
16447 |
+ ;; |
16448 |
+ plaintar) |
16449 |
+ # Must skip GNU tar: if it does not support --format= it doesn't create |
16450 |
+ # ustar tarball either. |
16451 |
+ (tar --version) >/dev/null 2>&1 && continue |
16452 |
+ am__tar='tar chf - "$$tardir"' |
16453 |
+ am__tar_='tar chf - "$tardir"' |
16454 |
+ am__untar='tar xf -' |
16455 |
+ ;; |
16456 |
+ pax) |
16457 |
+ am__tar='pax -L -x $1 -w "$$tardir"' |
16458 |
+ am__tar_='pax -L -x $1 -w "$tardir"' |
16459 |
+ am__untar='pax -r' |
16460 |
+ ;; |
16461 |
+ cpio) |
16462 |
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
16463 |
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
16464 |
+ am__untar='cpio -i -H $1 -d' |
16465 |
+ ;; |
16466 |
+ none) |
16467 |
+ am__tar=false |
16468 |
+ am__tar_=false |
16469 |
+ am__untar=false |
16470 |
+ ;; |
16471 |
+ esac |
16472 |
+ |
16473 |
+ # If the value was cached, stop now. We just wanted to have am__tar |
16474 |
+ # and am__untar set. |
16475 |
+ test -n "${am_cv_prog_tar_$1}" && break |
16476 |
+ |
16477 |
+ # tar/untar a dummy directory, and stop if the command works |
16478 |
+ rm -rf conftest.dir |
16479 |
+ mkdir conftest.dir |
16480 |
+ echo GrepMe > conftest.dir/file |
16481 |
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
16482 |
+ rm -rf conftest.dir |
16483 |
+ if test -s conftest.tar; then |
16484 |
+ AM_RUN_LOG([$am__untar <conftest.tar]) |
16485 |
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
16486 |
+ fi |
16487 |
+done |
16488 |
+rm -rf conftest.dir |
16489 |
+ |
16490 |
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
16491 |
+AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
16492 |
+AC_SUBST([am__tar]) |
16493 |
+AC_SUBST([am__untar]) |
16494 |
+]) |
16495 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) |
16496 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_]) |
16497 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) |
16498 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$]) |
16499 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_]) |
16500 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$]) |
16501 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_]) |
16502 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$]) |
16503 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) |
16504 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) |
16505 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) |
16506 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) |
16507 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) |
16508 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) |
16509 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$]) |
16510 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$]) |
16511 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$]) |
16512 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$]) |
16513 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$]) |
16514 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$]) |
16515 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$]) |
16516 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$]) |
16517 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$]) |
16518 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$]) |
16519 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$]) |
16520 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$]) |
16521 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$]) |
16522 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$]) |
16523 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$]) |
16524 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$]) |
16525 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$]) |
16526 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$]) |
16527 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$]) |
16528 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$]) |
16529 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$]) |
16530 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$]) |
16531 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$]) |
16532 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) |
16533 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) |
16534 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) |
16535 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) |
16536 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) |
16537 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$]) |
16538 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$]) |
16539 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$]) |
16540 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$]) |
16541 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$]) |
16542 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$]) |
16543 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$]) |
16544 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$]) |
16545 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$]) |
16546 |
+m4trace:configure.ac:8: -1- AM_INIT_AUTOMAKE([1.11 foreign]) |
16547 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) |
16548 |
+m4trace:configure.ac:8: -1- AM_SET_CURRENT_AUTOMAKE_VERSION |
16549 |
+m4trace:configure.ac:8: -1- AM_AUTOMAKE_VERSION([1.11.1]) |
16550 |
+m4trace:configure.ac:8: -1- _AM_AUTOCONF_VERSION([2.68]) |
16551 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) |
16552 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) |
16553 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_DATA$]) |
16554 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__isrc$]) |
16555 |
+m4trace:configure.ac:8: -1- _AM_SUBST_NOTMAKE([am__isrc]) |
16556 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^CYGPATH_W$]) |
16557 |
+m4trace:configure.ac:8: -1- _AM_SET_OPTIONS([1.11 foreign]) |
16558 |
+m4trace:configure.ac:8: -1- _AM_SET_OPTION([1.11]) |
16559 |
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([1.11]) |
16560 |
+m4trace:configure.ac:8: -1- _AM_SET_OPTION([foreign]) |
16561 |
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([foreign]) |
16562 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE$]) |
16563 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^VERSION$]) |
16564 |
+m4trace:configure.ac:8: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
16565 |
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) |
16566 |
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([no-define]) |
16567 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE$]) |
16568 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^VERSION$]) |
16569 |
+m4trace:configure.ac:8: -1- AM_SANITY_CHECK |
16570 |
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) |
16571 |
+m4trace:configure.ac:8: -1- AM_MISSING_HAS_RUN |
16572 |
+m4trace:configure.ac:8: -1- AM_AUX_DIR_EXPAND |
16573 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^ACLOCAL$]) |
16574 |
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) |
16575 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOCONF$]) |
16576 |
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) |
16577 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOMAKE$]) |
16578 |
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) |
16579 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOHEADER$]) |
16580 |
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) |
16581 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^MAKEINFO$]) |
16582 |
+m4trace:configure.ac:8: -1- AM_PROG_INSTALL_SH |
16583 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^install_sh$]) |
16584 |
+m4trace:configure.ac:8: -1- AM_PROG_INSTALL_STRIP |
16585 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^STRIP$]) |
16586 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) |
16587 |
+m4trace:configure.ac:8: -1- AM_PROG_MKDIR_P |
16588 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^MKDIR_P$]) |
16589 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^mkdir_p$]) |
16590 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AWK$]) |
16591 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^SET_MAKE$]) |
16592 |
+m4trace:configure.ac:8: -1- AM_SET_LEADING_DOT |
16593 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__leading_dot$]) |
16594 |
+m4trace:configure.ac:8: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
16595 |
+ [_AM_PROG_TAR([v7])])]) |
16596 |
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([tar-ustar]) |
16597 |
+m4trace:configure.ac:8: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) |
16598 |
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([tar-pax]) |
16599 |
+m4trace:configure.ac:8: -1- _AM_PROG_TAR([v7]) |
16600 |
+m4trace:configure.ac:8: -1- AM_MISSING_PROG([AMTAR], [tar]) |
16601 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AMTAR$]) |
16602 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__tar$]) |
16603 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__untar$]) |
16604 |
+m4trace:configure.ac:8: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], |
16605 |
+ [_AM_DEPENDENCIES(CC)], |
16606 |
+ [define([AC_PROG_CC], |
16607 |
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
16608 |
+AC_PROVIDE_IFELSE([AC_PROG_CXX], |
16609 |
+ [_AM_DEPENDENCIES(CXX)], |
16610 |
+ [define([AC_PROG_CXX], |
16611 |
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
16612 |
+AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
16613 |
+ [_AM_DEPENDENCIES(OBJC)], |
16614 |
+ [define([AC_PROG_OBJC], |
16615 |
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
16616 |
+]) |
16617 |
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([no-dependencies]) |
16618 |
+m4trace:configure.ac:8: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])]) |
16619 |
+m4trace:configure.ac:8: -2- _AM_MANGLE_OPTION([silent-rules]) |
16620 |
+m4trace:configure.ac:10: -1- m4_pattern_allow([^has_yasm$]) |
16621 |
+m4trace:configure.ac:26: -1- AM_CONDITIONAL([TEST], [test "x$has_yasm" = "xyes"]) |
16622 |
+m4trace:configure.ac:26: -1- m4_pattern_allow([^TEST_TRUE$]) |
16623 |
+m4trace:configure.ac:26: -1- m4_pattern_allow([^TEST_FALSE$]) |
16624 |
+m4trace:configure.ac:26: -1- _AM_SUBST_NOTMAKE([TEST_TRUE]) |
16625 |
+m4trace:configure.ac:26: -1- _AM_SUBST_NOTMAKE([TEST_FALSE]) |
16626 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) |
16627 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CFLAGS$]) |
16628 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^LDFLAGS$]) |
16629 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^LIBS$]) |
16630 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CPPFLAGS$]) |
16631 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) |
16632 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) |
16633 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) |
16634 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) |
16635 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^ac_ct_CC$]) |
16636 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^EXEEXT$]) |
16637 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^OBJEXT$]) |
16638 |
+m4trace:configure.ac:28: -1- _AM_DEPENDENCIES([CC]) |
16639 |
+m4trace:configure.ac:28: -1- AM_SET_DEPDIR |
16640 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^DEPDIR$]) |
16641 |
+m4trace:configure.ac:28: -1- AM_OUTPUT_DEPENDENCY_COMMANDS |
16642 |
+m4trace:configure.ac:28: -1- AM_MAKE_INCLUDE |
16643 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^am__include$]) |
16644 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^am__quote$]) |
16645 |
+m4trace:configure.ac:28: -1- AM_DEP_TRACK |
16646 |
+m4trace:configure.ac:28: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
16647 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEP_TRUE$]) |
16648 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEP_FALSE$]) |
16649 |
+m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) |
16650 |
+m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) |
16651 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) |
16652 |
+m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) |
16653 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CCDEPMODE$]) |
16654 |
+m4trace:configure.ac:28: -1- AM_CONDITIONAL([am__fastdepCC], [ |
16655 |
+ test "x$enable_dependency_tracking" != xno \ |
16656 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) |
16657 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) |
16658 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) |
16659 |
+m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) |
16660 |
+m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) |
16661 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CPP$]) |
16662 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CPPFLAGS$]) |
16663 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CPP$]) |
16664 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^GREP$]) |
16665 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^EGREP$]) |
16666 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^STDC_HEADERS$]) |
16667 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^HAVE_ATTR_XATTR_H$]) |
16668 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^HAVE_LIBATTR$]) |
16669 |
+m4trace:configure.ac:62: -1- m4_pattern_allow([^AWK$]) |
16670 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CC$]) |
16671 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CFLAGS$]) |
16672 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^LDFLAGS$]) |
16673 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^LIBS$]) |
16674 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CPPFLAGS$]) |
16675 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CC$]) |
16676 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CC$]) |
16677 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CC$]) |
16678 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CC$]) |
16679 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^ac_ct_CC$]) |
16680 |
+m4trace:configure.ac:63: -1- _AM_DEPENDENCIES([CC]) |
16681 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CCDEPMODE$]) |
16682 |
+m4trace:configure.ac:63: -1- AM_CONDITIONAL([am__fastdepCC], [ |
16683 |
+ test "x$enable_dependency_tracking" != xno \ |
16684 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) |
16685 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) |
16686 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) |
16687 |
+m4trace:configure.ac:63: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) |
16688 |
+m4trace:configure.ac:63: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) |
16689 |
+m4trace:configure.ac:66: -1- m4_pattern_allow([^HAVE_LIBELF$]) |
16690 |
+m4trace:configure.ac:78: -1- m4_pattern_allow([^pid_t$]) |
16691 |
+m4trace:configure.ac:79: -1- m4_pattern_allow([^size_t$]) |
16692 |
+m4trace:configure.ac:80: -1- m4_pattern_allow([^_UINT8_T$]) |
16693 |
+m4trace:configure.ac:80: -1- m4_pattern_allow([^uint8_t$]) |
16694 |
+m4trace:configure.ac:81: -1- m4_pattern_allow([^uint16_t$]) |
16695 |
+m4trace:configure.ac:84: -1- m4_pattern_allow([^LIB@&t@OBJS$]) |
16696 |
+m4trace:configure.ac:85: -1- m4_pattern_allow([^HAVE_VFORK_H$]) |
16697 |
+m4trace:configure.ac:85: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$]) |
16698 |
+m4trace:configure.ac:85: -1- m4_pattern_allow([^vfork$]) |
16699 |
+m4trace:configure.ac:85: -1- m4_pattern_allow([^HAVE_WORKING_FORK$]) |
16700 |
+m4trace:configure.ac:86: -1- AC_DEFUN([_AC_Header_stdlib_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdlib.h"])]) |
16701 |
+_AC_HEADERS_EXPANSION]) |
16702 |
+m4trace:configure.ac:86: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])]) |
16703 |
+_AC_HEADERS_EXPANSION]) |
16704 |
+m4trace:configure.ac:86: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])]) |
16705 |
+_AC_HEADERS_EXPANSION]) |
16706 |
+m4trace:configure.ac:86: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) |
16707 |
+m4trace:configure.ac:86: -1- m4_pattern_allow([^HAVE_MMAP$]) |
16708 |
+m4trace:configure.ac:99: -1- m4_pattern_allow([^LIB@&t@OBJS$]) |
16709 |
+m4trace:configure.ac:99: -1- m4_pattern_allow([^LTLIBOBJS$]) |
16710 |
+m4trace:configure.ac:99: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) |
16711 |
+m4trace:configure.ac:99: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) |
16712 |
+m4trace:configure.ac:99: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) |
16713 |
+m4trace:configure.ac:99: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) |
16714 |
+m4trace:configure.ac:99: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) |
16715 |
+m4trace:configure.ac:99: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) |
16716 |
+m4trace:configure.ac:99: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS |
16717 |
|
16718 |
diff --git a/autom4te.cache/traces.1 b/autom4te.cache/traces.1 |
16719 |
new file mode 100644 |
16720 |
index 0000000..6cd8bd6 |
16721 |
--- /dev/null |
16722 |
+++ b/autom4te.cache/traces.1 |
16723 |
@@ -0,0 +1,540 @@ |
16724 |
+m4trace:configure.ac:5: -1- AC_INIT([elfix], [0.4.0], [http://bugs.gentoo.org/]) |
16725 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) |
16726 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_]) |
16727 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) |
16728 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$]) |
16729 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_]) |
16730 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$]) |
16731 |
+m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_]) |
16732 |
+m4trace:configure.ac:5: -1- AC_SUBST([SHELL]) |
16733 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([SHELL]) |
16734 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$]) |
16735 |
+m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR]) |
16736 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) |
16737 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) |
16738 |
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) |
16739 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_NAME]) |
16740 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) |
16741 |
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) |
16742 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) |
16743 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) |
16744 |
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) |
16745 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) |
16746 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) |
16747 |
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) |
16748 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_STRING]) |
16749 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) |
16750 |
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) |
16751 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) |
16752 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) |
16753 |
+m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])]) |
16754 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([PACKAGE_URL]) |
16755 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$]) |
16756 |
+m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE]) |
16757 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([exec_prefix]) |
16758 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$]) |
16759 |
+m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE]) |
16760 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([prefix]) |
16761 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$]) |
16762 |
+m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,]) |
16763 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([program_transform_name]) |
16764 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$]) |
16765 |
+m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) |
16766 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([bindir]) |
16767 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$]) |
16768 |
+m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) |
16769 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sbindir]) |
16770 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$]) |
16771 |
+m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) |
16772 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libexecdir]) |
16773 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$]) |
16774 |
+m4trace:configure.ac:5: -1- AC_SUBST([datarootdir], ['${prefix}/share']) |
16775 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datarootdir]) |
16776 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$]) |
16777 |
+m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${datarootdir}']) |
16778 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([datadir]) |
16779 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$]) |
16780 |
+m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) |
16781 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sysconfdir]) |
16782 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$]) |
16783 |
+m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) |
16784 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([sharedstatedir]) |
16785 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$]) |
16786 |
+m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var']) |
16787 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localstatedir]) |
16788 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$]) |
16789 |
+m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include']) |
16790 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([includedir]) |
16791 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$]) |
16792 |
+m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include']) |
16793 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([oldincludedir]) |
16794 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$]) |
16795 |
+m4trace:configure.ac:5: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], |
16796 |
+ ['${datarootdir}/doc/${PACKAGE_TARNAME}'], |
16797 |
+ ['${datarootdir}/doc/${PACKAGE}'])]) |
16798 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([docdir]) |
16799 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$]) |
16800 |
+m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${datarootdir}/info']) |
16801 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([infodir]) |
16802 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$]) |
16803 |
+m4trace:configure.ac:5: -1- AC_SUBST([htmldir], ['${docdir}']) |
16804 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([htmldir]) |
16805 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$]) |
16806 |
+m4trace:configure.ac:5: -1- AC_SUBST([dvidir], ['${docdir}']) |
16807 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([dvidir]) |
16808 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$]) |
16809 |
+m4trace:configure.ac:5: -1- AC_SUBST([pdfdir], ['${docdir}']) |
16810 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([pdfdir]) |
16811 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$]) |
16812 |
+m4trace:configure.ac:5: -1- AC_SUBST([psdir], ['${docdir}']) |
16813 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([psdir]) |
16814 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$]) |
16815 |
+m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) |
16816 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([libdir]) |
16817 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$]) |
16818 |
+m4trace:configure.ac:5: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) |
16819 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([localedir]) |
16820 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$]) |
16821 |
+m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${datarootdir}/man']) |
16822 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([mandir]) |
16823 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$]) |
16824 |
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) |
16825 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) |
16826 |
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ |
16827 |
+@%:@undef PACKAGE_NAME]) |
16828 |
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) |
16829 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) |
16830 |
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ |
16831 |
+@%:@undef PACKAGE_TARNAME]) |
16832 |
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) |
16833 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) |
16834 |
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ |
16835 |
+@%:@undef PACKAGE_VERSION]) |
16836 |
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) |
16837 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) |
16838 |
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ |
16839 |
+@%:@undef PACKAGE_STRING]) |
16840 |
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) |
16841 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) |
16842 |
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ |
16843 |
+@%:@undef PACKAGE_BUGREPORT]) |
16844 |
+m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL]) |
16845 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$]) |
16846 |
+m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */ |
16847 |
+@%:@undef PACKAGE_URL]) |
16848 |
+m4trace:configure.ac:5: -1- AC_SUBST([DEFS]) |
16849 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([DEFS]) |
16850 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$]) |
16851 |
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C]) |
16852 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_C]) |
16853 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$]) |
16854 |
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N]) |
16855 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_N]) |
16856 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$]) |
16857 |
+m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T]) |
16858 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([ECHO_T]) |
16859 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$]) |
16860 |
+m4trace:configure.ac:5: -1- AC_SUBST([LIBS]) |
16861 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([LIBS]) |
16862 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$]) |
16863 |
+m4trace:configure.ac:5: -1- AC_SUBST([build_alias]) |
16864 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([build_alias]) |
16865 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$]) |
16866 |
+m4trace:configure.ac:5: -1- AC_SUBST([host_alias]) |
16867 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([host_alias]) |
16868 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$]) |
16869 |
+m4trace:configure.ac:5: -1- AC_SUBST([target_alias]) |
16870 |
+m4trace:configure.ac:5: -1- AC_SUBST_TRACE([target_alias]) |
16871 |
+m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$]) |
16872 |
+m4trace:configure.ac:7: -1- AC_CONFIG_HEADERS([config.h]) |
16873 |
+m4trace:configure.ac:8: -1- AM_INIT_AUTOMAKE([1.11 foreign]) |
16874 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) |
16875 |
+m4trace:configure.ac:8: -1- AM_AUTOMAKE_VERSION([1.11.1]) |
16876 |
+m4trace:configure.ac:8: -1- AC_REQUIRE_AUX_FILE([install-sh]) |
16877 |
+m4trace:configure.ac:8: -1- AC_SUBST([INSTALL_PROGRAM]) |
16878 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) |
16879 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) |
16880 |
+m4trace:configure.ac:8: -1- AC_SUBST([INSTALL_SCRIPT]) |
16881 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) |
16882 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) |
16883 |
+m4trace:configure.ac:8: -1- AC_SUBST([INSTALL_DATA]) |
16884 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([INSTALL_DATA]) |
16885 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_DATA$]) |
16886 |
+m4trace:configure.ac:8: -1- AC_SUBST([am__isrc], [' -I$(srcdir)']) |
16887 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([am__isrc]) |
16888 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__isrc$]) |
16889 |
+m4trace:configure.ac:8: -1- _AM_SUBST_NOTMAKE([am__isrc]) |
16890 |
+m4trace:configure.ac:8: -1- AC_SUBST([CYGPATH_W]) |
16891 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([CYGPATH_W]) |
16892 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^CYGPATH_W$]) |
16893 |
+m4trace:configure.ac:8: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME']) |
16894 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([PACKAGE]) |
16895 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE$]) |
16896 |
+m4trace:configure.ac:8: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION']) |
16897 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([VERSION]) |
16898 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^VERSION$]) |
16899 |
+m4trace:configure.ac:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE]) |
16900 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE$]) |
16901 |
+m4trace:configure.ac:8: -1- AH_OUTPUT([PACKAGE], [/* Name of package */ |
16902 |
+@%:@undef PACKAGE]) |
16903 |
+m4trace:configure.ac:8: -1- AC_DEFINE_TRACE_LITERAL([VERSION]) |
16904 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^VERSION$]) |
16905 |
+m4trace:configure.ac:8: -1- AH_OUTPUT([VERSION], [/* Version number of package */ |
16906 |
+@%:@undef VERSION]) |
16907 |
+m4trace:configure.ac:8: -1- AC_REQUIRE_AUX_FILE([missing]) |
16908 |
+m4trace:configure.ac:8: -1- AC_SUBST([ACLOCAL]) |
16909 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([ACLOCAL]) |
16910 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^ACLOCAL$]) |
16911 |
+m4trace:configure.ac:8: -1- AC_SUBST([AUTOCONF]) |
16912 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([AUTOCONF]) |
16913 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOCONF$]) |
16914 |
+m4trace:configure.ac:8: -1- AC_SUBST([AUTOMAKE]) |
16915 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([AUTOMAKE]) |
16916 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOMAKE$]) |
16917 |
+m4trace:configure.ac:8: -1- AC_SUBST([AUTOHEADER]) |
16918 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([AUTOHEADER]) |
16919 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AUTOHEADER$]) |
16920 |
+m4trace:configure.ac:8: -1- AC_SUBST([MAKEINFO]) |
16921 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([MAKEINFO]) |
16922 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^MAKEINFO$]) |
16923 |
+m4trace:configure.ac:8: -1- AC_SUBST([install_sh]) |
16924 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([install_sh]) |
16925 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^install_sh$]) |
16926 |
+m4trace:configure.ac:8: -1- AC_SUBST([STRIP]) |
16927 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([STRIP]) |
16928 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^STRIP$]) |
16929 |
+m4trace:configure.ac:8: -1- AC_SUBST([INSTALL_STRIP_PROGRAM]) |
16930 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM]) |
16931 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) |
16932 |
+m4trace:configure.ac:8: -1- AC_REQUIRE_AUX_FILE([install-sh]) |
16933 |
+m4trace:configure.ac:8: -1- AC_SUBST([MKDIR_P]) |
16934 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([MKDIR_P]) |
16935 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^MKDIR_P$]) |
16936 |
+m4trace:configure.ac:8: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"]) |
16937 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([mkdir_p]) |
16938 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^mkdir_p$]) |
16939 |
+m4trace:configure.ac:8: -1- AC_SUBST([AWK]) |
16940 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([AWK]) |
16941 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AWK$]) |
16942 |
+m4trace:configure.ac:8: -1- AC_SUBST([SET_MAKE]) |
16943 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([SET_MAKE]) |
16944 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^SET_MAKE$]) |
16945 |
+m4trace:configure.ac:8: -1- AC_SUBST([am__leading_dot]) |
16946 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([am__leading_dot]) |
16947 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__leading_dot$]) |
16948 |
+m4trace:configure.ac:8: -1- AC_SUBST([AMTAR]) |
16949 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([AMTAR]) |
16950 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^AMTAR$]) |
16951 |
+m4trace:configure.ac:8: -1- AC_SUBST([am__tar]) |
16952 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([am__tar]) |
16953 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__tar$]) |
16954 |
+m4trace:configure.ac:8: -1- AC_SUBST([am__untar]) |
16955 |
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([am__untar]) |
16956 |
+m4trace:configure.ac:8: -1- m4_pattern_allow([^am__untar$]) |
16957 |
+m4trace:configure.ac:10: -1- AC_SUBST([has_yasm]) |
16958 |
+m4trace:configure.ac:10: -1- AC_SUBST_TRACE([has_yasm]) |
16959 |
+m4trace:configure.ac:10: -1- m4_pattern_allow([^has_yasm$]) |
16960 |
+m4trace:configure.ac:26: -1- AM_CONDITIONAL([TEST], [test "x$has_yasm" = "xyes"]) |
16961 |
+m4trace:configure.ac:26: -1- AC_SUBST([TEST_TRUE]) |
16962 |
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([TEST_TRUE]) |
16963 |
+m4trace:configure.ac:26: -1- m4_pattern_allow([^TEST_TRUE$]) |
16964 |
+m4trace:configure.ac:26: -1- AC_SUBST([TEST_FALSE]) |
16965 |
+m4trace:configure.ac:26: -1- AC_SUBST_TRACE([TEST_FALSE]) |
16966 |
+m4trace:configure.ac:26: -1- m4_pattern_allow([^TEST_FALSE$]) |
16967 |
+m4trace:configure.ac:26: -1- _AM_SUBST_NOTMAKE([TEST_TRUE]) |
16968 |
+m4trace:configure.ac:26: -1- _AM_SUBST_NOTMAKE([TEST_FALSE]) |
16969 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_ATTR_XATTR_H], [/* Define to 1 if you have the <attr/xattr.h> header file. */ |
16970 |
+@%:@undef HAVE_ATTR_XATTR_H]) |
16971 |
+m4trace:configure.ac:28: -1- AC_SUBST([CC]) |
16972 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CC]) |
16973 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) |
16974 |
+m4trace:configure.ac:28: -1- AC_SUBST([CFLAGS]) |
16975 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CFLAGS]) |
16976 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CFLAGS$]) |
16977 |
+m4trace:configure.ac:28: -1- AC_SUBST([LDFLAGS]) |
16978 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([LDFLAGS]) |
16979 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^LDFLAGS$]) |
16980 |
+m4trace:configure.ac:28: -1- AC_SUBST([LIBS]) |
16981 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([LIBS]) |
16982 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^LIBS$]) |
16983 |
+m4trace:configure.ac:28: -1- AC_SUBST([CPPFLAGS]) |
16984 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CPPFLAGS]) |
16985 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CPPFLAGS$]) |
16986 |
+m4trace:configure.ac:28: -1- AC_SUBST([CC]) |
16987 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CC]) |
16988 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) |
16989 |
+m4trace:configure.ac:28: -1- AC_SUBST([CC]) |
16990 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CC]) |
16991 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) |
16992 |
+m4trace:configure.ac:28: -1- AC_SUBST([CC]) |
16993 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CC]) |
16994 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) |
16995 |
+m4trace:configure.ac:28: -1- AC_SUBST([CC]) |
16996 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CC]) |
16997 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CC$]) |
16998 |
+m4trace:configure.ac:28: -1- AC_SUBST([ac_ct_CC]) |
16999 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([ac_ct_CC]) |
17000 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^ac_ct_CC$]) |
17001 |
+m4trace:configure.ac:28: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) |
17002 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([EXEEXT]) |
17003 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^EXEEXT$]) |
17004 |
+m4trace:configure.ac:28: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) |
17005 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([OBJEXT]) |
17006 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^OBJEXT$]) |
17007 |
+m4trace:configure.ac:28: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"]) |
17008 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([DEPDIR]) |
17009 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^DEPDIR$]) |
17010 |
+m4trace:configure.ac:28: -1- AC_SUBST([am__include]) |
17011 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([am__include]) |
17012 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^am__include$]) |
17013 |
+m4trace:configure.ac:28: -1- AC_SUBST([am__quote]) |
17014 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([am__quote]) |
17015 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^am__quote$]) |
17016 |
+m4trace:configure.ac:28: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
17017 |
+m4trace:configure.ac:28: -1- AC_SUBST([AMDEP_TRUE]) |
17018 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([AMDEP_TRUE]) |
17019 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEP_TRUE$]) |
17020 |
+m4trace:configure.ac:28: -1- AC_SUBST([AMDEP_FALSE]) |
17021 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([AMDEP_FALSE]) |
17022 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEP_FALSE$]) |
17023 |
+m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) |
17024 |
+m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) |
17025 |
+m4trace:configure.ac:28: -1- AC_SUBST([AMDEPBACKSLASH]) |
17026 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([AMDEPBACKSLASH]) |
17027 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) |
17028 |
+m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) |
17029 |
+m4trace:configure.ac:28: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) |
17030 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CCDEPMODE]) |
17031 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CCDEPMODE$]) |
17032 |
+m4trace:configure.ac:28: -1- AM_CONDITIONAL([am__fastdepCC], [ |
17033 |
+ test "x$enable_dependency_tracking" != xno \ |
17034 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) |
17035 |
+m4trace:configure.ac:28: -1- AC_SUBST([am__fastdepCC_TRUE]) |
17036 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) |
17037 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) |
17038 |
+m4trace:configure.ac:28: -1- AC_SUBST([am__fastdepCC_FALSE]) |
17039 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) |
17040 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) |
17041 |
+m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) |
17042 |
+m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) |
17043 |
+m4trace:configure.ac:28: -1- AC_SUBST([CPP]) |
17044 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CPP]) |
17045 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CPP$]) |
17046 |
+m4trace:configure.ac:28: -1- AC_SUBST([CPPFLAGS]) |
17047 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CPPFLAGS]) |
17048 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CPPFLAGS$]) |
17049 |
+m4trace:configure.ac:28: -1- AC_SUBST([CPP]) |
17050 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([CPP]) |
17051 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^CPP$]) |
17052 |
+m4trace:configure.ac:28: -1- AC_SUBST([GREP]) |
17053 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([GREP]) |
17054 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^GREP$]) |
17055 |
+m4trace:configure.ac:28: -1- AC_SUBST([EGREP]) |
17056 |
+m4trace:configure.ac:28: -1- AC_SUBST_TRACE([EGREP]) |
17057 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^EGREP$]) |
17058 |
+m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) |
17059 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^STDC_HEADERS$]) |
17060 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ |
17061 |
+@%:@undef STDC_HEADERS]) |
17062 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */ |
17063 |
+@%:@undef HAVE_SYS_TYPES_H]) |
17064 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */ |
17065 |
+@%:@undef HAVE_SYS_STAT_H]) |
17066 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ |
17067 |
+@%:@undef HAVE_STDLIB_H]) |
17068 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */ |
17069 |
+@%:@undef HAVE_STRING_H]) |
17070 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */ |
17071 |
+@%:@undef HAVE_MEMORY_H]) |
17072 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */ |
17073 |
+@%:@undef HAVE_STRINGS_H]) |
17074 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */ |
17075 |
+@%:@undef HAVE_INTTYPES_H]) |
17076 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */ |
17077 |
+@%:@undef HAVE_STDINT_H]) |
17078 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ |
17079 |
+@%:@undef HAVE_UNISTD_H]) |
17080 |
+m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ATTR_XATTR_H]) |
17081 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^HAVE_ATTR_XATTR_H$]) |
17082 |
+m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_LIBATTR], [/* Define to 1 if you have the `attr\' library (-lattr). */ |
17083 |
+@%:@undef HAVE_LIBATTR]) |
17084 |
+m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBATTR]) |
17085 |
+m4trace:configure.ac:28: -1- m4_pattern_allow([^HAVE_LIBATTR$]) |
17086 |
+m4trace:configure.ac:62: -1- AC_SUBST([AWK]) |
17087 |
+m4trace:configure.ac:62: -1- AC_SUBST_TRACE([AWK]) |
17088 |
+m4trace:configure.ac:62: -1- m4_pattern_allow([^AWK$]) |
17089 |
+m4trace:configure.ac:63: -1- AC_SUBST([CC]) |
17090 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([CC]) |
17091 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CC$]) |
17092 |
+m4trace:configure.ac:63: -1- AC_SUBST([CFLAGS]) |
17093 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([CFLAGS]) |
17094 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CFLAGS$]) |
17095 |
+m4trace:configure.ac:63: -1- AC_SUBST([LDFLAGS]) |
17096 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([LDFLAGS]) |
17097 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^LDFLAGS$]) |
17098 |
+m4trace:configure.ac:63: -1- AC_SUBST([LIBS]) |
17099 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([LIBS]) |
17100 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^LIBS$]) |
17101 |
+m4trace:configure.ac:63: -1- AC_SUBST([CPPFLAGS]) |
17102 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([CPPFLAGS]) |
17103 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CPPFLAGS$]) |
17104 |
+m4trace:configure.ac:63: -1- AC_SUBST([CC]) |
17105 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([CC]) |
17106 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CC$]) |
17107 |
+m4trace:configure.ac:63: -1- AC_SUBST([CC]) |
17108 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([CC]) |
17109 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CC$]) |
17110 |
+m4trace:configure.ac:63: -1- AC_SUBST([CC]) |
17111 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([CC]) |
17112 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CC$]) |
17113 |
+m4trace:configure.ac:63: -1- AC_SUBST([CC]) |
17114 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([CC]) |
17115 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CC$]) |
17116 |
+m4trace:configure.ac:63: -1- AC_SUBST([ac_ct_CC]) |
17117 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([ac_ct_CC]) |
17118 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^ac_ct_CC$]) |
17119 |
+m4trace:configure.ac:63: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type]) |
17120 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([CCDEPMODE]) |
17121 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^CCDEPMODE$]) |
17122 |
+m4trace:configure.ac:63: -1- AM_CONDITIONAL([am__fastdepCC], [ |
17123 |
+ test "x$enable_dependency_tracking" != xno \ |
17124 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) |
17125 |
+m4trace:configure.ac:63: -1- AC_SUBST([am__fastdepCC_TRUE]) |
17126 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE]) |
17127 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) |
17128 |
+m4trace:configure.ac:63: -1- AC_SUBST([am__fastdepCC_FALSE]) |
17129 |
+m4trace:configure.ac:63: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE]) |
17130 |
+m4trace:configure.ac:63: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) |
17131 |
+m4trace:configure.ac:63: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) |
17132 |
+m4trace:configure.ac:63: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) |
17133 |
+m4trace:configure.ac:66: -1- AH_OUTPUT([HAVE_LIBELF], [/* Define to 1 if you have the `elf\' library (-lelf). */ |
17134 |
+@%:@undef HAVE_LIBELF]) |
17135 |
+m4trace:configure.ac:66: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBELF]) |
17136 |
+m4trace:configure.ac:66: -1- m4_pattern_allow([^HAVE_LIBELF$]) |
17137 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */ |
17138 |
+@%:@undef HAVE_ERRNO_H]) |
17139 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_ERROR_H], [/* Define to 1 if you have the <error.h> header file. */ |
17140 |
+@%:@undef HAVE_ERROR_H]) |
17141 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */ |
17142 |
+@%:@undef HAVE_FCNTL_H]) |
17143 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_GELF_H], [/* Define to 1 if you have the <gelf.h> header file. */ |
17144 |
+@%:@undef HAVE_GELF_H]) |
17145 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */ |
17146 |
+@%:@undef HAVE_LIBGEN_H]) |
17147 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_STDIO_H], [/* Define to 1 if you have the <stdio.h> header file. */ |
17148 |
+@%:@undef HAVE_STDIO_H]) |
17149 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ |
17150 |
+@%:@undef HAVE_STDLIB_H]) |
17151 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */ |
17152 |
+@%:@undef HAVE_STRING_H]) |
17153 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */ |
17154 |
+@%:@undef HAVE_SYS_MMAN_H]) |
17155 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */ |
17156 |
+@%:@undef HAVE_SYS_STAT_H]) |
17157 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */ |
17158 |
+@%:@undef HAVE_SYS_TYPES_H]) |
17159 |
+m4trace:configure.ac:70: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ |
17160 |
+@%:@undef HAVE_UNISTD_H]) |
17161 |
+m4trace:configure.ac:78: -1- AC_DEFINE_TRACE_LITERAL([pid_t]) |
17162 |
+m4trace:configure.ac:78: -1- m4_pattern_allow([^pid_t$]) |
17163 |
+m4trace:configure.ac:78: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */ |
17164 |
+@%:@undef pid_t]) |
17165 |
+m4trace:configure.ac:79: -1- AC_DEFINE_TRACE_LITERAL([size_t]) |
17166 |
+m4trace:configure.ac:79: -1- m4_pattern_allow([^size_t$]) |
17167 |
+m4trace:configure.ac:79: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */ |
17168 |
+@%:@undef size_t]) |
17169 |
+m4trace:configure.ac:80: -1- AC_DEFINE_TRACE_LITERAL([_UINT8_T]) |
17170 |
+m4trace:configure.ac:80: -1- m4_pattern_allow([^_UINT8_T$]) |
17171 |
+m4trace:configure.ac:80: -1- AH_OUTPUT([_UINT8_T], [/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, |
17172 |
+ <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the |
17173 |
+ @%:@define below would cause a syntax error. */ |
17174 |
+@%:@undef _UINT8_T]) |
17175 |
+m4trace:configure.ac:80: -1- AC_DEFINE_TRACE_LITERAL([uint8_t]) |
17176 |
+m4trace:configure.ac:80: -1- m4_pattern_allow([^uint8_t$]) |
17177 |
+m4trace:configure.ac:80: -1- AH_OUTPUT([uint8_t], [/* Define to the type of an unsigned integer type of width exactly 8 bits if |
17178 |
+ such a type exists and the standard includes do not define it. */ |
17179 |
+@%:@undef uint8_t]) |
17180 |
+m4trace:configure.ac:81: -1- AC_DEFINE_TRACE_LITERAL([uint16_t]) |
17181 |
+m4trace:configure.ac:81: -1- m4_pattern_allow([^uint16_t$]) |
17182 |
+m4trace:configure.ac:81: -1- AH_OUTPUT([uint16_t], [/* Define to the type of an unsigned integer type of width exactly 16 bits if |
17183 |
+ such a type exists and the standard includes do not define it. */ |
17184 |
+@%:@undef uint16_t]) |
17185 |
+m4trace:configure.ac:84: -1- AC_LIBSOURCE([error.h]) |
17186 |
+m4trace:configure.ac:84: -1- AC_LIBSOURCE([error.c]) |
17187 |
+m4trace:configure.ac:84: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS error.$ac_objext"]) |
17188 |
+m4trace:configure.ac:84: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) |
17189 |
+m4trace:configure.ac:84: -1- m4_pattern_allow([^LIB@&t@OBJS$]) |
17190 |
+m4trace:configure.ac:84: -1- AC_LIBSOURCE([error.c]) |
17191 |
+m4trace:configure.ac:85: -1- AH_OUTPUT([HAVE_VFORK_H], [/* Define to 1 if you have the <vfork.h> header file. */ |
17192 |
+@%:@undef HAVE_VFORK_H]) |
17193 |
+m4trace:configure.ac:85: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VFORK_H]) |
17194 |
+m4trace:configure.ac:85: -1- m4_pattern_allow([^HAVE_VFORK_H$]) |
17195 |
+m4trace:configure.ac:85: -1- AH_OUTPUT([HAVE_FORK], [/* Define to 1 if you have the `fork\' function. */ |
17196 |
+@%:@undef HAVE_FORK]) |
17197 |
+m4trace:configure.ac:85: -1- AH_OUTPUT([HAVE_VFORK], [/* Define to 1 if you have the `vfork\' function. */ |
17198 |
+@%:@undef HAVE_VFORK]) |
17199 |
+m4trace:configure.ac:85: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_VFORK]) |
17200 |
+m4trace:configure.ac:85: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$]) |
17201 |
+m4trace:configure.ac:85: -1- AH_OUTPUT([HAVE_WORKING_VFORK], [/* Define to 1 if `vfork\' works. */ |
17202 |
+@%:@undef HAVE_WORKING_VFORK]) |
17203 |
+m4trace:configure.ac:85: -1- AC_DEFINE_TRACE_LITERAL([vfork]) |
17204 |
+m4trace:configure.ac:85: -1- m4_pattern_allow([^vfork$]) |
17205 |
+m4trace:configure.ac:85: -1- AH_OUTPUT([vfork], [/* Define as `fork\' if `vfork\' does not work. */ |
17206 |
+@%:@undef vfork]) |
17207 |
+m4trace:configure.ac:85: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_FORK]) |
17208 |
+m4trace:configure.ac:85: -1- m4_pattern_allow([^HAVE_WORKING_FORK$]) |
17209 |
+m4trace:configure.ac:85: -1- AH_OUTPUT([HAVE_WORKING_FORK], [/* Define to 1 if `fork\' works. */ |
17210 |
+@%:@undef HAVE_WORKING_FORK]) |
17211 |
+m4trace:configure.ac:86: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ |
17212 |
+@%:@undef HAVE_STDLIB_H]) |
17213 |
+m4trace:configure.ac:86: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ |
17214 |
+@%:@undef HAVE_UNISTD_H]) |
17215 |
+m4trace:configure.ac:86: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */ |
17216 |
+@%:@undef HAVE_SYS_PARAM_H]) |
17217 |
+m4trace:configure.ac:86: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */ |
17218 |
+@%:@undef HAVE_GETPAGESIZE]) |
17219 |
+m4trace:configure.ac:86: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE]) |
17220 |
+m4trace:configure.ac:86: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) |
17221 |
+m4trace:configure.ac:86: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP]) |
17222 |
+m4trace:configure.ac:86: -1- m4_pattern_allow([^HAVE_MMAP$]) |
17223 |
+m4trace:configure.ac:86: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working `mmap\' system call. */ |
17224 |
+@%:@undef HAVE_MMAP]) |
17225 |
+m4trace:configure.ac:87: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */ |
17226 |
+@%:@undef HAVE_MEMSET]) |
17227 |
+m4trace:configure.ac:87: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */ |
17228 |
+@%:@undef HAVE_STRERROR]) |
17229 |
+m4trace:configure.ac:89: -1- AC_CONFIG_FILES([ |
17230 |
+ Makefile |
17231 |
+ src/Makefile |
17232 |
+ scripts/Makefile |
17233 |
+ doc/Makefile |
17234 |
+ tests/Makefile |
17235 |
+ tests/gnustack/Makefile |
17236 |
+ tests/pxtpax/Makefile |
17237 |
+]) |
17238 |
+m4trace:configure.ac:99: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) |
17239 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) |
17240 |
+m4trace:configure.ac:99: -1- m4_pattern_allow([^LIB@&t@OBJS$]) |
17241 |
+m4trace:configure.ac:99: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) |
17242 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([LTLIBOBJS]) |
17243 |
+m4trace:configure.ac:99: -1- m4_pattern_allow([^LTLIBOBJS$]) |
17244 |
+m4trace:configure.ac:99: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) |
17245 |
+m4trace:configure.ac:99: -1- AC_SUBST([am__EXEEXT_TRUE]) |
17246 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE]) |
17247 |
+m4trace:configure.ac:99: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) |
17248 |
+m4trace:configure.ac:99: -1- AC_SUBST([am__EXEEXT_FALSE]) |
17249 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE]) |
17250 |
+m4trace:configure.ac:99: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) |
17251 |
+m4trace:configure.ac:99: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) |
17252 |
+m4trace:configure.ac:99: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) |
17253 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([top_builddir]) |
17254 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([top_build_prefix]) |
17255 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([srcdir]) |
17256 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([abs_srcdir]) |
17257 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([top_srcdir]) |
17258 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([abs_top_srcdir]) |
17259 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([builddir]) |
17260 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([abs_builddir]) |
17261 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([abs_top_builddir]) |
17262 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([INSTALL]) |
17263 |
+m4trace:configure.ac:99: -1- AC_SUBST_TRACE([MKDIR_P]) |
17264 |
|
17265 |
diff --git a/config.h.in b/config.h.in |
17266 |
new file mode 100644 |
17267 |
index 0000000..b3d465f |
17268 |
--- /dev/null |
17269 |
+++ b/config.h.in |
17270 |
@@ -0,0 +1,137 @@ |
17271 |
+/* config.h.in. Generated from configure.ac by autoheader. */ |
17272 |
+ |
17273 |
+/* Define to 1 if you have the <attr/xattr.h> header file. */ |
17274 |
+#undef HAVE_ATTR_XATTR_H |
17275 |
+ |
17276 |
+/* Define to 1 if you have the <errno.h> header file. */ |
17277 |
+#undef HAVE_ERRNO_H |
17278 |
+ |
17279 |
+/* Define to 1 if you have the <error.h> header file. */ |
17280 |
+#undef HAVE_ERROR_H |
17281 |
+ |
17282 |
+/* Define to 1 if you have the <fcntl.h> header file. */ |
17283 |
+#undef HAVE_FCNTL_H |
17284 |
+ |
17285 |
+/* Define to 1 if you have the `fork' function. */ |
17286 |
+#undef HAVE_FORK |
17287 |
+ |
17288 |
+/* Define to 1 if you have the <gelf.h> header file. */ |
17289 |
+#undef HAVE_GELF_H |
17290 |
+ |
17291 |
+/* Define to 1 if you have the `getpagesize' function. */ |
17292 |
+#undef HAVE_GETPAGESIZE |
17293 |
+ |
17294 |
+/* Define to 1 if you have the <inttypes.h> header file. */ |
17295 |
+#undef HAVE_INTTYPES_H |
17296 |
+ |
17297 |
+/* Define to 1 if you have the `attr' library (-lattr). */ |
17298 |
+#undef HAVE_LIBATTR |
17299 |
+ |
17300 |
+/* Define to 1 if you have the `elf' library (-lelf). */ |
17301 |
+#undef HAVE_LIBELF |
17302 |
+ |
17303 |
+/* Define to 1 if you have the <libgen.h> header file. */ |
17304 |
+#undef HAVE_LIBGEN_H |
17305 |
+ |
17306 |
+/* Define to 1 if you have the <memory.h> header file. */ |
17307 |
+#undef HAVE_MEMORY_H |
17308 |
+ |
17309 |
+/* Define to 1 if you have the `memset' function. */ |
17310 |
+#undef HAVE_MEMSET |
17311 |
+ |
17312 |
+/* Define to 1 if you have a working `mmap' system call. */ |
17313 |
+#undef HAVE_MMAP |
17314 |
+ |
17315 |
+/* Define to 1 if you have the <stdint.h> header file. */ |
17316 |
+#undef HAVE_STDINT_H |
17317 |
+ |
17318 |
+/* Define to 1 if you have the <stdio.h> header file. */ |
17319 |
+#undef HAVE_STDIO_H |
17320 |
+ |
17321 |
+/* Define to 1 if you have the <stdlib.h> header file. */ |
17322 |
+#undef HAVE_STDLIB_H |
17323 |
+ |
17324 |
+/* Define to 1 if you have the `strerror' function. */ |
17325 |
+#undef HAVE_STRERROR |
17326 |
+ |
17327 |
+/* Define to 1 if you have the <strings.h> header file. */ |
17328 |
+#undef HAVE_STRINGS_H |
17329 |
+ |
17330 |
+/* Define to 1 if you have the <string.h> header file. */ |
17331 |
+#undef HAVE_STRING_H |
17332 |
+ |
17333 |
+/* Define to 1 if you have the <sys/mman.h> header file. */ |
17334 |
+#undef HAVE_SYS_MMAN_H |
17335 |
+ |
17336 |
+/* Define to 1 if you have the <sys/param.h> header file. */ |
17337 |
+#undef HAVE_SYS_PARAM_H |
17338 |
+ |
17339 |
+/* Define to 1 if you have the <sys/stat.h> header file. */ |
17340 |
+#undef HAVE_SYS_STAT_H |
17341 |
+ |
17342 |
+/* Define to 1 if you have the <sys/types.h> header file. */ |
17343 |
+#undef HAVE_SYS_TYPES_H |
17344 |
+ |
17345 |
+/* Define to 1 if you have the <unistd.h> header file. */ |
17346 |
+#undef HAVE_UNISTD_H |
17347 |
+ |
17348 |
+/* Define to 1 if you have the `vfork' function. */ |
17349 |
+#undef HAVE_VFORK |
17350 |
+ |
17351 |
+/* Define to 1 if you have the <vfork.h> header file. */ |
17352 |
+#undef HAVE_VFORK_H |
17353 |
+ |
17354 |
+/* Define to 1 if `fork' works. */ |
17355 |
+#undef HAVE_WORKING_FORK |
17356 |
+ |
17357 |
+/* Define to 1 if `vfork' works. */ |
17358 |
+#undef HAVE_WORKING_VFORK |
17359 |
+ |
17360 |
+/* Name of package */ |
17361 |
+#undef PACKAGE |
17362 |
+ |
17363 |
+/* Define to the address where bug reports for this package should be sent. */ |
17364 |
+#undef PACKAGE_BUGREPORT |
17365 |
+ |
17366 |
+/* Define to the full name of this package. */ |
17367 |
+#undef PACKAGE_NAME |
17368 |
+ |
17369 |
+/* Define to the full name and version of this package. */ |
17370 |
+#undef PACKAGE_STRING |
17371 |
+ |
17372 |
+/* Define to the one symbol short name of this package. */ |
17373 |
+#undef PACKAGE_TARNAME |
17374 |
+ |
17375 |
+/* Define to the home page for this package. */ |
17376 |
+#undef PACKAGE_URL |
17377 |
+ |
17378 |
+/* Define to the version of this package. */ |
17379 |
+#undef PACKAGE_VERSION |
17380 |
+ |
17381 |
+/* Define to 1 if you have the ANSI C header files. */ |
17382 |
+#undef STDC_HEADERS |
17383 |
+ |
17384 |
+/* Version number of package */ |
17385 |
+#undef VERSION |
17386 |
+ |
17387 |
+/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, |
17388 |
+ <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the |
17389 |
+ #define below would cause a syntax error. */ |
17390 |
+#undef _UINT8_T |
17391 |
+ |
17392 |
+/* Define to `int' if <sys/types.h> does not define. */ |
17393 |
+#undef pid_t |
17394 |
+ |
17395 |
+/* Define to `unsigned int' if <sys/types.h> does not define. */ |
17396 |
+#undef size_t |
17397 |
+ |
17398 |
+/* Define to the type of an unsigned integer type of width exactly 16 bits if |
17399 |
+ such a type exists and the standard includes do not define it. */ |
17400 |
+#undef uint16_t |
17401 |
+ |
17402 |
+/* Define to the type of an unsigned integer type of width exactly 8 bits if |
17403 |
+ such a type exists and the standard includes do not define it. */ |
17404 |
+#undef uint8_t |
17405 |
+ |
17406 |
+/* Define as `fork' if `vfork' does not work. */ |
17407 |
+#undef vfork |
17408 |
|
17409 |
diff --git a/configure b/configure |
17410 |
new file mode 100755 |
17411 |
index 0000000..68b2442 |
17412 |
--- /dev/null |
17413 |
+++ b/configure |
17414 |
@@ -0,0 +1,7037 @@ |
17415 |
+#! /bin/sh |
17416 |
+# Guess values for system-dependent variables and create Makefiles. |
17417 |
+# Generated by GNU Autoconf 2.68 for elfix 0.4.0. |
17418 |
+# |
17419 |
+# Report bugs to <http://bugs.gentoo.org/>. |
17420 |
+# |
17421 |
+# |
17422 |
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
17423 |
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
17424 |
+# Foundation, Inc. |
17425 |
+# |
17426 |
+# |
17427 |
+# This configure script is free software; the Free Software Foundation |
17428 |
+# gives unlimited permission to copy, distribute and modify it. |
17429 |
+## -------------------- ## |
17430 |
+## M4sh Initialization. ## |
17431 |
+## -------------------- ## |
17432 |
+ |
17433 |
+# Be more Bourne compatible |
17434 |
+DUALCASE=1; export DUALCASE # for MKS sh |
17435 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
17436 |
+ emulate sh |
17437 |
+ NULLCMD=: |
17438 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
17439 |
+ # is contrary to our usage. Disable this feature. |
17440 |
+ alias -g '${1+"$@"}'='"$@"' |
17441 |
+ setopt NO_GLOB_SUBST |
17442 |
+else |
17443 |
+ case `(set -o) 2>/dev/null` in #( |
17444 |
+ *posix*) : |
17445 |
+ set -o posix ;; #( |
17446 |
+ *) : |
17447 |
+ ;; |
17448 |
+esac |
17449 |
+fi |
17450 |
+ |
17451 |
+ |
17452 |
+as_nl=' |
17453 |
+' |
17454 |
+export as_nl |
17455 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
17456 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
17457 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
17458 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
17459 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
17460 |
+# but without wasting forks for bash or zsh. |
17461 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
17462 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
17463 |
+ as_echo='print -r --' |
17464 |
+ as_echo_n='print -rn --' |
17465 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
17466 |
+ as_echo='printf %s\n' |
17467 |
+ as_echo_n='printf %s' |
17468 |
+else |
17469 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
17470 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
17471 |
+ as_echo_n='/usr/ucb/echo -n' |
17472 |
+ else |
17473 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
17474 |
+ as_echo_n_body='eval |
17475 |
+ arg=$1; |
17476 |
+ case $arg in #( |
17477 |
+ *"$as_nl"*) |
17478 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
17479 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
17480 |
+ esac; |
17481 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
17482 |
+ ' |
17483 |
+ export as_echo_n_body |
17484 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
17485 |
+ fi |
17486 |
+ export as_echo_body |
17487 |
+ as_echo='sh -c $as_echo_body as_echo' |
17488 |
+fi |
17489 |
+ |
17490 |
+# The user is always right. |
17491 |
+if test "${PATH_SEPARATOR+set}" != set; then |
17492 |
+ PATH_SEPARATOR=: |
17493 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
17494 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
17495 |
+ PATH_SEPARATOR=';' |
17496 |
+ } |
17497 |
+fi |
17498 |
+ |
17499 |
+ |
17500 |
+# IFS |
17501 |
+# We need space, tab and new line, in precisely that order. Quoting is |
17502 |
+# there to prevent editors from complaining about space-tab. |
17503 |
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
17504 |
+# splitting by setting IFS to empty value.) |
17505 |
+IFS=" "" $as_nl" |
17506 |
+ |
17507 |
+# Find who we are. Look in the path if we contain no directory separator. |
17508 |
+as_myself= |
17509 |
+case $0 in #(( |
17510 |
+ *[\\/]* ) as_myself=$0 ;; |
17511 |
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
17512 |
+for as_dir in $PATH |
17513 |
+do |
17514 |
+ IFS=$as_save_IFS |
17515 |
+ test -z "$as_dir" && as_dir=. |
17516 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
17517 |
+ done |
17518 |
+IFS=$as_save_IFS |
17519 |
+ |
17520 |
+ ;; |
17521 |
+esac |
17522 |
+# We did not find ourselves, most probably we were run as `sh COMMAND' |
17523 |
+# in which case we are not to be found in the path. |
17524 |
+if test "x$as_myself" = x; then |
17525 |
+ as_myself=$0 |
17526 |
+fi |
17527 |
+if test ! -f "$as_myself"; then |
17528 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
17529 |
+ exit 1 |
17530 |
+fi |
17531 |
+ |
17532 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
17533 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
17534 |
+# suppresses any "Segmentation fault" message there. '((' could |
17535 |
+# trigger a bug in pdksh 5.2.14. |
17536 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
17537 |
+do eval test x\${$as_var+set} = xset \ |
17538 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
17539 |
+done |
17540 |
+PS1='$ ' |
17541 |
+PS2='> ' |
17542 |
+PS4='+ ' |
17543 |
+ |
17544 |
+# NLS nuisances. |
17545 |
+LC_ALL=C |
17546 |
+export LC_ALL |
17547 |
+LANGUAGE=C |
17548 |
+export LANGUAGE |
17549 |
+ |
17550 |
+# CDPATH. |
17551 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
17552 |
+ |
17553 |
+if test "x$CONFIG_SHELL" = x; then |
17554 |
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
17555 |
+ emulate sh |
17556 |
+ NULLCMD=: |
17557 |
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
17558 |
+ # is contrary to our usage. Disable this feature. |
17559 |
+ alias -g '\${1+\"\$@\"}'='\"\$@\"' |
17560 |
+ setopt NO_GLOB_SUBST |
17561 |
+else |
17562 |
+ case \`(set -o) 2>/dev/null\` in #( |
17563 |
+ *posix*) : |
17564 |
+ set -o posix ;; #( |
17565 |
+ *) : |
17566 |
+ ;; |
17567 |
+esac |
17568 |
+fi |
17569 |
+" |
17570 |
+ as_required="as_fn_return () { (exit \$1); } |
17571 |
+as_fn_success () { as_fn_return 0; } |
17572 |
+as_fn_failure () { as_fn_return 1; } |
17573 |
+as_fn_ret_success () { return 0; } |
17574 |
+as_fn_ret_failure () { return 1; } |
17575 |
+ |
17576 |
+exitcode=0 |
17577 |
+as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
17578 |
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
17579 |
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
17580 |
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
17581 |
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
17582 |
+ |
17583 |
+else |
17584 |
+ exitcode=1; echo positional parameters were not saved. |
17585 |
+fi |
17586 |
+test x\$exitcode = x0 || exit 1" |
17587 |
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
17588 |
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
17589 |
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
17590 |
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
17591 |
+test \$(( 1 + 1 )) = 2 || exit 1" |
17592 |
+ if (eval "$as_required") 2>/dev/null; then : |
17593 |
+ as_have_required=yes |
17594 |
+else |
17595 |
+ as_have_required=no |
17596 |
+fi |
17597 |
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
17598 |
+ |
17599 |
+else |
17600 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
17601 |
+as_found=false |
17602 |
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
17603 |
+do |
17604 |
+ IFS=$as_save_IFS |
17605 |
+ test -z "$as_dir" && as_dir=. |
17606 |
+ as_found=: |
17607 |
+ case $as_dir in #( |
17608 |
+ /*) |
17609 |
+ for as_base in sh bash ksh sh5; do |
17610 |
+ # Try only shells that exist, to save several forks. |
17611 |
+ as_shell=$as_dir/$as_base |
17612 |
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
17613 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
17614 |
+ CONFIG_SHELL=$as_shell as_have_required=yes |
17615 |
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
17616 |
+ break 2 |
17617 |
+fi |
17618 |
+fi |
17619 |
+ done;; |
17620 |
+ esac |
17621 |
+ as_found=false |
17622 |
+done |
17623 |
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
17624 |
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
17625 |
+ CONFIG_SHELL=$SHELL as_have_required=yes |
17626 |
+fi; } |
17627 |
+IFS=$as_save_IFS |
17628 |
+ |
17629 |
+ |
17630 |
+ if test "x$CONFIG_SHELL" != x; then : |
17631 |
+ # We cannot yet assume a decent shell, so we have to provide a |
17632 |
+ # neutralization value for shells without unset; and this also |
17633 |
+ # works around shells that cannot unset nonexistent variables. |
17634 |
+ # Preserve -v and -x to the replacement shell. |
17635 |
+ BASH_ENV=/dev/null |
17636 |
+ ENV=/dev/null |
17637 |
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
17638 |
+ export CONFIG_SHELL |
17639 |
+ case $- in # (((( |
17640 |
+ *v*x* | *x*v* ) as_opts=-vx ;; |
17641 |
+ *v* ) as_opts=-v ;; |
17642 |
+ *x* ) as_opts=-x ;; |
17643 |
+ * ) as_opts= ;; |
17644 |
+ esac |
17645 |
+ exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
17646 |
+fi |
17647 |
+ |
17648 |
+ if test x$as_have_required = xno; then : |
17649 |
+ $as_echo "$0: This script requires a shell more modern than all" |
17650 |
+ $as_echo "$0: the shells that I found on your system." |
17651 |
+ if test x${ZSH_VERSION+set} = xset ; then |
17652 |
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
17653 |
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
17654 |
+ else |
17655 |
+ $as_echo "$0: Please tell bug-autoconf@×××.org and |
17656 |
+$0: http://bugs.gentoo.org/ about your system, including |
17657 |
+$0: any error possibly output before this message. Then |
17658 |
+$0: install a modern shell, or manually run the script |
17659 |
+$0: under such a shell if you do have one." |
17660 |
+ fi |
17661 |
+ exit 1 |
17662 |
+fi |
17663 |
+fi |
17664 |
+fi |
17665 |
+SHELL=${CONFIG_SHELL-/bin/sh} |
17666 |
+export SHELL |
17667 |
+# Unset more variables known to interfere with behavior of common tools. |
17668 |
+CLICOLOR_FORCE= GREP_OPTIONS= |
17669 |
+unset CLICOLOR_FORCE GREP_OPTIONS |
17670 |
+ |
17671 |
+## --------------------- ## |
17672 |
+## M4sh Shell Functions. ## |
17673 |
+## --------------------- ## |
17674 |
+# as_fn_unset VAR |
17675 |
+# --------------- |
17676 |
+# Portably unset VAR. |
17677 |
+as_fn_unset () |
17678 |
+{ |
17679 |
+ { eval $1=; unset $1;} |
17680 |
+} |
17681 |
+as_unset=as_fn_unset |
17682 |
+ |
17683 |
+# as_fn_set_status STATUS |
17684 |
+# ----------------------- |
17685 |
+# Set $? to STATUS, without forking. |
17686 |
+as_fn_set_status () |
17687 |
+{ |
17688 |
+ return $1 |
17689 |
+} # as_fn_set_status |
17690 |
+ |
17691 |
+# as_fn_exit STATUS |
17692 |
+# ----------------- |
17693 |
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
17694 |
+as_fn_exit () |
17695 |
+{ |
17696 |
+ set +e |
17697 |
+ as_fn_set_status $1 |
17698 |
+ exit $1 |
17699 |
+} # as_fn_exit |
17700 |
+ |
17701 |
+# as_fn_mkdir_p |
17702 |
+# ------------- |
17703 |
+# Create "$as_dir" as a directory, including parents if necessary. |
17704 |
+as_fn_mkdir_p () |
17705 |
+{ |
17706 |
+ |
17707 |
+ case $as_dir in #( |
17708 |
+ -*) as_dir=./$as_dir;; |
17709 |
+ esac |
17710 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
17711 |
+ as_dirs= |
17712 |
+ while :; do |
17713 |
+ case $as_dir in #( |
17714 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
17715 |
+ *) as_qdir=$as_dir;; |
17716 |
+ esac |
17717 |
+ as_dirs="'$as_qdir' $as_dirs" |
17718 |
+ as_dir=`$as_dirname -- "$as_dir" || |
17719 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
17720 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
17721 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
17722 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
17723 |
+$as_echo X"$as_dir" | |
17724 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
17725 |
+ s//\1/ |
17726 |
+ q |
17727 |
+ } |
17728 |
+ /^X\(\/\/\)[^/].*/{ |
17729 |
+ s//\1/ |
17730 |
+ q |
17731 |
+ } |
17732 |
+ /^X\(\/\/\)$/{ |
17733 |
+ s//\1/ |
17734 |
+ q |
17735 |
+ } |
17736 |
+ /^X\(\/\).*/{ |
17737 |
+ s//\1/ |
17738 |
+ q |
17739 |
+ } |
17740 |
+ s/.*/./; q'` |
17741 |
+ test -d "$as_dir" && break |
17742 |
+ done |
17743 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
17744 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
17745 |
+ |
17746 |
+ |
17747 |
+} # as_fn_mkdir_p |
17748 |
+# as_fn_append VAR VALUE |
17749 |
+# ---------------------- |
17750 |
+# Append the text in VALUE to the end of the definition contained in VAR. Take |
17751 |
+# advantage of any shell optimizations that allow amortized linear growth over |
17752 |
+# repeated appends, instead of the typical quadratic growth present in naive |
17753 |
+# implementations. |
17754 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
17755 |
+ eval 'as_fn_append () |
17756 |
+ { |
17757 |
+ eval $1+=\$2 |
17758 |
+ }' |
17759 |
+else |
17760 |
+ as_fn_append () |
17761 |
+ { |
17762 |
+ eval $1=\$$1\$2 |
17763 |
+ } |
17764 |
+fi # as_fn_append |
17765 |
+ |
17766 |
+# as_fn_arith ARG... |
17767 |
+# ------------------ |
17768 |
+# Perform arithmetic evaluation on the ARGs, and store the result in the |
17769 |
+# global $as_val. Take advantage of shells that can avoid forks. The arguments |
17770 |
+# must be portable across $(()) and expr. |
17771 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
17772 |
+ eval 'as_fn_arith () |
17773 |
+ { |
17774 |
+ as_val=$(( $* )) |
17775 |
+ }' |
17776 |
+else |
17777 |
+ as_fn_arith () |
17778 |
+ { |
17779 |
+ as_val=`expr "$@" || test $? -eq 1` |
17780 |
+ } |
17781 |
+fi # as_fn_arith |
17782 |
+ |
17783 |
+ |
17784 |
+# as_fn_error STATUS ERROR [LINENO LOG_FD] |
17785 |
+# ---------------------------------------- |
17786 |
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
17787 |
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
17788 |
+# script with STATUS, using 1 if that was 0. |
17789 |
+as_fn_error () |
17790 |
+{ |
17791 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
17792 |
+ if test "$4"; then |
17793 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
17794 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
17795 |
+ fi |
17796 |
+ $as_echo "$as_me: error: $2" >&2 |
17797 |
+ as_fn_exit $as_status |
17798 |
+} # as_fn_error |
17799 |
+ |
17800 |
+if expr a : '\(a\)' >/dev/null 2>&1 && |
17801 |
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
17802 |
+ as_expr=expr |
17803 |
+else |
17804 |
+ as_expr=false |
17805 |
+fi |
17806 |
+ |
17807 |
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
17808 |
+ as_basename=basename |
17809 |
+else |
17810 |
+ as_basename=false |
17811 |
+fi |
17812 |
+ |
17813 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
17814 |
+ as_dirname=dirname |
17815 |
+else |
17816 |
+ as_dirname=false |
17817 |
+fi |
17818 |
+ |
17819 |
+as_me=`$as_basename -- "$0" || |
17820 |
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
17821 |
+ X"$0" : 'X\(//\)$' \| \ |
17822 |
+ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
17823 |
+$as_echo X/"$0" | |
17824 |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
17825 |
+ s//\1/ |
17826 |
+ q |
17827 |
+ } |
17828 |
+ /^X\/\(\/\/\)$/{ |
17829 |
+ s//\1/ |
17830 |
+ q |
17831 |
+ } |
17832 |
+ /^X\/\(\/\).*/{ |
17833 |
+ s//\1/ |
17834 |
+ q |
17835 |
+ } |
17836 |
+ s/.*/./; q'` |
17837 |
+ |
17838 |
+# Avoid depending upon Character Ranges. |
17839 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
17840 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
17841 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
17842 |
+as_cr_digits='0123456789' |
17843 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
17844 |
+ |
17845 |
+ |
17846 |
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO |
17847 |
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO |
17848 |
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
17849 |
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
17850 |
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
17851 |
+ sed -n ' |
17852 |
+ p |
17853 |
+ /[$]LINENO/= |
17854 |
+ ' <$as_myself | |
17855 |
+ sed ' |
17856 |
+ s/[$]LINENO.*/&-/ |
17857 |
+ t lineno |
17858 |
+ b |
17859 |
+ :lineno |
17860 |
+ N |
17861 |
+ :loop |
17862 |
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
17863 |
+ t loop |
17864 |
+ s/-\n.*// |
17865 |
+ ' >$as_me.lineno && |
17866 |
+ chmod +x "$as_me.lineno" || |
17867 |
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
17868 |
+ |
17869 |
+ # Don't try to exec as it changes $[0], causing all sort of problems |
17870 |
+ # (the dirname of $[0] is not the place where we might find the |
17871 |
+ # original and so on. Autoconf is especially sensitive to this). |
17872 |
+ . "./$as_me.lineno" |
17873 |
+ # Exit status is that of the last command. |
17874 |
+ exit |
17875 |
+} |
17876 |
+ |
17877 |
+ECHO_C= ECHO_N= ECHO_T= |
17878 |
+case `echo -n x` in #((((( |
17879 |
+-n*) |
17880 |
+ case `echo 'xy\c'` in |
17881 |
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
17882 |
+ xy) ECHO_C='\c';; |
17883 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
17884 |
+ ECHO_T=' ';; |
17885 |
+ esac;; |
17886 |
+*) |
17887 |
+ ECHO_N='-n';; |
17888 |
+esac |
17889 |
+ |
17890 |
+rm -f conf$$ conf$$.exe conf$$.file |
17891 |
+if test -d conf$$.dir; then |
17892 |
+ rm -f conf$$.dir/conf$$.file |
17893 |
+else |
17894 |
+ rm -f conf$$.dir |
17895 |
+ mkdir conf$$.dir 2>/dev/null |
17896 |
+fi |
17897 |
+if (echo >conf$$.file) 2>/dev/null; then |
17898 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
17899 |
+ as_ln_s='ln -s' |
17900 |
+ # ... but there are two gotchas: |
17901 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
17902 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
17903 |
+ # In both cases, we have to default to `cp -p'. |
17904 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
17905 |
+ as_ln_s='cp -p' |
17906 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
17907 |
+ as_ln_s=ln |
17908 |
+ else |
17909 |
+ as_ln_s='cp -p' |
17910 |
+ fi |
17911 |
+else |
17912 |
+ as_ln_s='cp -p' |
17913 |
+fi |
17914 |
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
17915 |
+rmdir conf$$.dir 2>/dev/null |
17916 |
+ |
17917 |
+if mkdir -p . 2>/dev/null; then |
17918 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
17919 |
+else |
17920 |
+ test -d ./-p && rmdir ./-p |
17921 |
+ as_mkdir_p=false |
17922 |
+fi |
17923 |
+ |
17924 |
+if test -x / >/dev/null 2>&1; then |
17925 |
+ as_test_x='test -x' |
17926 |
+else |
17927 |
+ if ls -dL / >/dev/null 2>&1; then |
17928 |
+ as_ls_L_option=L |
17929 |
+ else |
17930 |
+ as_ls_L_option= |
17931 |
+ fi |
17932 |
+ as_test_x=' |
17933 |
+ eval sh -c '\'' |
17934 |
+ if test -d "$1"; then |
17935 |
+ test -d "$1/."; |
17936 |
+ else |
17937 |
+ case $1 in #( |
17938 |
+ -*)set "./$1";; |
17939 |
+ esac; |
17940 |
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
17941 |
+ ???[sx]*):;;*)false;;esac;fi |
17942 |
+ '\'' sh |
17943 |
+ ' |
17944 |
+fi |
17945 |
+as_executable_p=$as_test_x |
17946 |
+ |
17947 |
+# Sed expression to map a string onto a valid CPP name. |
17948 |
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
17949 |
+ |
17950 |
+# Sed expression to map a string onto a valid variable name. |
17951 |
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
17952 |
+ |
17953 |
+ |
17954 |
+test -n "$DJDIR" || exec 7<&0 </dev/null |
17955 |
+exec 6>&1 |
17956 |
+ |
17957 |
+# Name of the host. |
17958 |
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
17959 |
+# so uname gets run too. |
17960 |
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
17961 |
+ |
17962 |
+# |
17963 |
+# Initializations. |
17964 |
+# |
17965 |
+ac_default_prefix=/usr/local |
17966 |
+ac_clean_files= |
17967 |
+ac_config_libobj_dir=. |
17968 |
+LIBOBJS= |
17969 |
+cross_compiling=no |
17970 |
+subdirs= |
17971 |
+MFLAGS= |
17972 |
+MAKEFLAGS= |
17973 |
+ |
17974 |
+# Identity of this package. |
17975 |
+PACKAGE_NAME='elfix' |
17976 |
+PACKAGE_TARNAME='elfix' |
17977 |
+PACKAGE_VERSION='0.4.0' |
17978 |
+PACKAGE_STRING='elfix 0.4.0' |
17979 |
+PACKAGE_BUGREPORT='http://bugs.gentoo.org/' |
17980 |
+PACKAGE_URL='' |
17981 |
+ |
17982 |
+ac_unique_file="src/fix-gnustack.c" |
17983 |
+# Factoring default headers for most tests. |
17984 |
+ac_includes_default="\ |
17985 |
+#include <stdio.h> |
17986 |
+#ifdef HAVE_SYS_TYPES_H |
17987 |
+# include <sys/types.h> |
17988 |
+#endif |
17989 |
+#ifdef HAVE_SYS_STAT_H |
17990 |
+# include <sys/stat.h> |
17991 |
+#endif |
17992 |
+#ifdef STDC_HEADERS |
17993 |
+# include <stdlib.h> |
17994 |
+# include <stddef.h> |
17995 |
+#else |
17996 |
+# ifdef HAVE_STDLIB_H |
17997 |
+# include <stdlib.h> |
17998 |
+# endif |
17999 |
+#endif |
18000 |
+#ifdef HAVE_STRING_H |
18001 |
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
18002 |
+# include <memory.h> |
18003 |
+# endif |
18004 |
+# include <string.h> |
18005 |
+#endif |
18006 |
+#ifdef HAVE_STRINGS_H |
18007 |
+# include <strings.h> |
18008 |
+#endif |
18009 |
+#ifdef HAVE_INTTYPES_H |
18010 |
+# include <inttypes.h> |
18011 |
+#endif |
18012 |
+#ifdef HAVE_STDINT_H |
18013 |
+# include <stdint.h> |
18014 |
+#endif |
18015 |
+#ifdef HAVE_UNISTD_H |
18016 |
+# include <unistd.h> |
18017 |
+#endif" |
18018 |
+ |
18019 |
+ac_header_list= |
18020 |
+ac_subst_vars='am__EXEEXT_FALSE |
18021 |
+am__EXEEXT_TRUE |
18022 |
+LTLIBOBJS |
18023 |
+LIBOBJS |
18024 |
+EGREP |
18025 |
+GREP |
18026 |
+CPP |
18027 |
+am__fastdepCC_FALSE |
18028 |
+am__fastdepCC_TRUE |
18029 |
+CCDEPMODE |
18030 |
+AMDEPBACKSLASH |
18031 |
+AMDEP_FALSE |
18032 |
+AMDEP_TRUE |
18033 |
+am__quote |
18034 |
+am__include |
18035 |
+DEPDIR |
18036 |
+OBJEXT |
18037 |
+EXEEXT |
18038 |
+ac_ct_CC |
18039 |
+CPPFLAGS |
18040 |
+LDFLAGS |
18041 |
+CFLAGS |
18042 |
+CC |
18043 |
+TEST_FALSE |
18044 |
+TEST_TRUE |
18045 |
+has_yasm |
18046 |
+am__untar |
18047 |
+am__tar |
18048 |
+AMTAR |
18049 |
+am__leading_dot |
18050 |
+SET_MAKE |
18051 |
+AWK |
18052 |
+mkdir_p |
18053 |
+MKDIR_P |
18054 |
+INSTALL_STRIP_PROGRAM |
18055 |
+STRIP |
18056 |
+install_sh |
18057 |
+MAKEINFO |
18058 |
+AUTOHEADER |
18059 |
+AUTOMAKE |
18060 |
+AUTOCONF |
18061 |
+ACLOCAL |
18062 |
+VERSION |
18063 |
+PACKAGE |
18064 |
+CYGPATH_W |
18065 |
+am__isrc |
18066 |
+INSTALL_DATA |
18067 |
+INSTALL_SCRIPT |
18068 |
+INSTALL_PROGRAM |
18069 |
+target_alias |
18070 |
+host_alias |
18071 |
+build_alias |
18072 |
+LIBS |
18073 |
+ECHO_T |
18074 |
+ECHO_N |
18075 |
+ECHO_C |
18076 |
+DEFS |
18077 |
+mandir |
18078 |
+localedir |
18079 |
+libdir |
18080 |
+psdir |
18081 |
+pdfdir |
18082 |
+dvidir |
18083 |
+htmldir |
18084 |
+infodir |
18085 |
+docdir |
18086 |
+oldincludedir |
18087 |
+includedir |
18088 |
+localstatedir |
18089 |
+sharedstatedir |
18090 |
+sysconfdir |
18091 |
+datadir |
18092 |
+datarootdir |
18093 |
+libexecdir |
18094 |
+sbindir |
18095 |
+bindir |
18096 |
+program_transform_name |
18097 |
+prefix |
18098 |
+exec_prefix |
18099 |
+PACKAGE_URL |
18100 |
+PACKAGE_BUGREPORT |
18101 |
+PACKAGE_STRING |
18102 |
+PACKAGE_VERSION |
18103 |
+PACKAGE_TARNAME |
18104 |
+PACKAGE_NAME |
18105 |
+PATH_SEPARATOR |
18106 |
+SHELL' |
18107 |
+ac_subst_files='' |
18108 |
+ac_user_opts=' |
18109 |
+enable_option_checking |
18110 |
+enable_tests |
18111 |
+enable_xattr |
18112 |
+enable_dependency_tracking |
18113 |
+' |
18114 |
+ ac_precious_vars='build_alias |
18115 |
+host_alias |
18116 |
+target_alias |
18117 |
+CC |
18118 |
+CFLAGS |
18119 |
+LDFLAGS |
18120 |
+LIBS |
18121 |
+CPPFLAGS |
18122 |
+CPP' |
18123 |
+ |
18124 |
+ |
18125 |
+# Initialize some variables set by options. |
18126 |
+ac_init_help= |
18127 |
+ac_init_version=false |
18128 |
+ac_unrecognized_opts= |
18129 |
+ac_unrecognized_sep= |
18130 |
+# The variables have the same names as the options, with |
18131 |
+# dashes changed to underlines. |
18132 |
+cache_file=/dev/null |
18133 |
+exec_prefix=NONE |
18134 |
+no_create= |
18135 |
+no_recursion= |
18136 |
+prefix=NONE |
18137 |
+program_prefix=NONE |
18138 |
+program_suffix=NONE |
18139 |
+program_transform_name=s,x,x, |
18140 |
+silent= |
18141 |
+site= |
18142 |
+srcdir= |
18143 |
+verbose= |
18144 |
+x_includes=NONE |
18145 |
+x_libraries=NONE |
18146 |
+ |
18147 |
+# Installation directory options. |
18148 |
+# These are left unexpanded so users can "make install exec_prefix=/foo" |
18149 |
+# and all the variables that are supposed to be based on exec_prefix |
18150 |
+# by default will actually change. |
18151 |
+# Use braces instead of parens because sh, perl, etc. also accept them. |
18152 |
+# (The list follows the same order as the GNU Coding Standards.) |
18153 |
+bindir='${exec_prefix}/bin' |
18154 |
+sbindir='${exec_prefix}/sbin' |
18155 |
+libexecdir='${exec_prefix}/libexec' |
18156 |
+datarootdir='${prefix}/share' |
18157 |
+datadir='${datarootdir}' |
18158 |
+sysconfdir='${prefix}/etc' |
18159 |
+sharedstatedir='${prefix}/com' |
18160 |
+localstatedir='${prefix}/var' |
18161 |
+includedir='${prefix}/include' |
18162 |
+oldincludedir='/usr/include' |
18163 |
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
18164 |
+infodir='${datarootdir}/info' |
18165 |
+htmldir='${docdir}' |
18166 |
+dvidir='${docdir}' |
18167 |
+pdfdir='${docdir}' |
18168 |
+psdir='${docdir}' |
18169 |
+libdir='${exec_prefix}/lib' |
18170 |
+localedir='${datarootdir}/locale' |
18171 |
+mandir='${datarootdir}/man' |
18172 |
+ |
18173 |
+ac_prev= |
18174 |
+ac_dashdash= |
18175 |
+for ac_option |
18176 |
+do |
18177 |
+ # If the previous option needs an argument, assign it. |
18178 |
+ if test -n "$ac_prev"; then |
18179 |
+ eval $ac_prev=\$ac_option |
18180 |
+ ac_prev= |
18181 |
+ continue |
18182 |
+ fi |
18183 |
+ |
18184 |
+ case $ac_option in |
18185 |
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
18186 |
+ *=) ac_optarg= ;; |
18187 |
+ *) ac_optarg=yes ;; |
18188 |
+ esac |
18189 |
+ |
18190 |
+ # Accept the important Cygnus configure options, so we can diagnose typos. |
18191 |
+ |
18192 |
+ case $ac_dashdash$ac_option in |
18193 |
+ --) |
18194 |
+ ac_dashdash=yes ;; |
18195 |
+ |
18196 |
+ -bindir | --bindir | --bindi | --bind | --bin | --bi) |
18197 |
+ ac_prev=bindir ;; |
18198 |
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
18199 |
+ bindir=$ac_optarg ;; |
18200 |
+ |
18201 |
+ -build | --build | --buil | --bui | --bu) |
18202 |
+ ac_prev=build_alias ;; |
18203 |
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
18204 |
+ build_alias=$ac_optarg ;; |
18205 |
+ |
18206 |
+ -cache-file | --cache-file | --cache-fil | --cache-fi \ |
18207 |
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
18208 |
+ ac_prev=cache_file ;; |
18209 |
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
18210 |
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
18211 |
+ cache_file=$ac_optarg ;; |
18212 |
+ |
18213 |
+ --config-cache | -C) |
18214 |
+ cache_file=config.cache ;; |
18215 |
+ |
18216 |
+ -datadir | --datadir | --datadi | --datad) |
18217 |
+ ac_prev=datadir ;; |
18218 |
+ -datadir=* | --datadir=* | --datadi=* | --datad=*) |
18219 |
+ datadir=$ac_optarg ;; |
18220 |
+ |
18221 |
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
18222 |
+ | --dataroo | --dataro | --datar) |
18223 |
+ ac_prev=datarootdir ;; |
18224 |
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
18225 |
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
18226 |
+ datarootdir=$ac_optarg ;; |
18227 |
+ |
18228 |
+ -disable-* | --disable-*) |
18229 |
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
18230 |
+ # Reject names that are not valid shell variable names. |
18231 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
18232 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
18233 |
+ ac_useropt_orig=$ac_useropt |
18234 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
18235 |
+ case $ac_user_opts in |
18236 |
+ *" |
18237 |
+"enable_$ac_useropt" |
18238 |
+"*) ;; |
18239 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
18240 |
+ ac_unrecognized_sep=', ';; |
18241 |
+ esac |
18242 |
+ eval enable_$ac_useropt=no ;; |
18243 |
+ |
18244 |
+ -docdir | --docdir | --docdi | --doc | --do) |
18245 |
+ ac_prev=docdir ;; |
18246 |
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
18247 |
+ docdir=$ac_optarg ;; |
18248 |
+ |
18249 |
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
18250 |
+ ac_prev=dvidir ;; |
18251 |
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
18252 |
+ dvidir=$ac_optarg ;; |
18253 |
+ |
18254 |
+ -enable-* | --enable-*) |
18255 |
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
18256 |
+ # Reject names that are not valid shell variable names. |
18257 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
18258 |
+ as_fn_error $? "invalid feature name: $ac_useropt" |
18259 |
+ ac_useropt_orig=$ac_useropt |
18260 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
18261 |
+ case $ac_user_opts in |
18262 |
+ *" |
18263 |
+"enable_$ac_useropt" |
18264 |
+"*) ;; |
18265 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
18266 |
+ ac_unrecognized_sep=', ';; |
18267 |
+ esac |
18268 |
+ eval enable_$ac_useropt=\$ac_optarg ;; |
18269 |
+ |
18270 |
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
18271 |
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
18272 |
+ | --exec | --exe | --ex) |
18273 |
+ ac_prev=exec_prefix ;; |
18274 |
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
18275 |
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
18276 |
+ | --exec=* | --exe=* | --ex=*) |
18277 |
+ exec_prefix=$ac_optarg ;; |
18278 |
+ |
18279 |
+ -gas | --gas | --ga | --g) |
18280 |
+ # Obsolete; use --with-gas. |
18281 |
+ with_gas=yes ;; |
18282 |
+ |
18283 |
+ -help | --help | --hel | --he | -h) |
18284 |
+ ac_init_help=long ;; |
18285 |
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
18286 |
+ ac_init_help=recursive ;; |
18287 |
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
18288 |
+ ac_init_help=short ;; |
18289 |
+ |
18290 |
+ -host | --host | --hos | --ho) |
18291 |
+ ac_prev=host_alias ;; |
18292 |
+ -host=* | --host=* | --hos=* | --ho=*) |
18293 |
+ host_alias=$ac_optarg ;; |
18294 |
+ |
18295 |
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
18296 |
+ ac_prev=htmldir ;; |
18297 |
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
18298 |
+ | --ht=*) |
18299 |
+ htmldir=$ac_optarg ;; |
18300 |
+ |
18301 |
+ -includedir | --includedir | --includedi | --included | --include \ |
18302 |
+ | --includ | --inclu | --incl | --inc) |
18303 |
+ ac_prev=includedir ;; |
18304 |
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
18305 |
+ | --includ=* | --inclu=* | --incl=* | --inc=*) |
18306 |
+ includedir=$ac_optarg ;; |
18307 |
+ |
18308 |
+ -infodir | --infodir | --infodi | --infod | --info | --inf) |
18309 |
+ ac_prev=infodir ;; |
18310 |
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
18311 |
+ infodir=$ac_optarg ;; |
18312 |
+ |
18313 |
+ -libdir | --libdir | --libdi | --libd) |
18314 |
+ ac_prev=libdir ;; |
18315 |
+ -libdir=* | --libdir=* | --libdi=* | --libd=*) |
18316 |
+ libdir=$ac_optarg ;; |
18317 |
+ |
18318 |
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
18319 |
+ | --libexe | --libex | --libe) |
18320 |
+ ac_prev=libexecdir ;; |
18321 |
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
18322 |
+ | --libexe=* | --libex=* | --libe=*) |
18323 |
+ libexecdir=$ac_optarg ;; |
18324 |
+ |
18325 |
+ -localedir | --localedir | --localedi | --localed | --locale) |
18326 |
+ ac_prev=localedir ;; |
18327 |
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
18328 |
+ localedir=$ac_optarg ;; |
18329 |
+ |
18330 |
+ -localstatedir | --localstatedir | --localstatedi | --localstated \ |
18331 |
+ | --localstate | --localstat | --localsta | --localst | --locals) |
18332 |
+ ac_prev=localstatedir ;; |
18333 |
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
18334 |
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
18335 |
+ localstatedir=$ac_optarg ;; |
18336 |
+ |
18337 |
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
18338 |
+ ac_prev=mandir ;; |
18339 |
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
18340 |
+ mandir=$ac_optarg ;; |
18341 |
+ |
18342 |
+ -nfp | --nfp | --nf) |
18343 |
+ # Obsolete; use --without-fp. |
18344 |
+ with_fp=no ;; |
18345 |
+ |
18346 |
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
18347 |
+ | --no-cr | --no-c | -n) |
18348 |
+ no_create=yes ;; |
18349 |
+ |
18350 |
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
18351 |
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
18352 |
+ no_recursion=yes ;; |
18353 |
+ |
18354 |
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
18355 |
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
18356 |
+ | --oldin | --oldi | --old | --ol | --o) |
18357 |
+ ac_prev=oldincludedir ;; |
18358 |
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
18359 |
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
18360 |
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
18361 |
+ oldincludedir=$ac_optarg ;; |
18362 |
+ |
18363 |
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
18364 |
+ ac_prev=prefix ;; |
18365 |
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
18366 |
+ prefix=$ac_optarg ;; |
18367 |
+ |
18368 |
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
18369 |
+ | --program-pre | --program-pr | --program-p) |
18370 |
+ ac_prev=program_prefix ;; |
18371 |
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
18372 |
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
18373 |
+ program_prefix=$ac_optarg ;; |
18374 |
+ |
18375 |
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
18376 |
+ | --program-suf | --program-su | --program-s) |
18377 |
+ ac_prev=program_suffix ;; |
18378 |
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
18379 |
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
18380 |
+ program_suffix=$ac_optarg ;; |
18381 |
+ |
18382 |
+ -program-transform-name | --program-transform-name \ |
18383 |
+ | --program-transform-nam | --program-transform-na \ |
18384 |
+ | --program-transform-n | --program-transform- \ |
18385 |
+ | --program-transform | --program-transfor \ |
18386 |
+ | --program-transfo | --program-transf \ |
18387 |
+ | --program-trans | --program-tran \ |
18388 |
+ | --progr-tra | --program-tr | --program-t) |
18389 |
+ ac_prev=program_transform_name ;; |
18390 |
+ -program-transform-name=* | --program-transform-name=* \ |
18391 |
+ | --program-transform-nam=* | --program-transform-na=* \ |
18392 |
+ | --program-transform-n=* | --program-transform-=* \ |
18393 |
+ | --program-transform=* | --program-transfor=* \ |
18394 |
+ | --program-transfo=* | --program-transf=* \ |
18395 |
+ | --program-trans=* | --program-tran=* \ |
18396 |
+ | --progr-tra=* | --program-tr=* | --program-t=*) |
18397 |
+ program_transform_name=$ac_optarg ;; |
18398 |
+ |
18399 |
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
18400 |
+ ac_prev=pdfdir ;; |
18401 |
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
18402 |
+ pdfdir=$ac_optarg ;; |
18403 |
+ |
18404 |
+ -psdir | --psdir | --psdi | --psd | --ps) |
18405 |
+ ac_prev=psdir ;; |
18406 |
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
18407 |
+ psdir=$ac_optarg ;; |
18408 |
+ |
18409 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
18410 |
+ | -silent | --silent | --silen | --sile | --sil) |
18411 |
+ silent=yes ;; |
18412 |
+ |
18413 |
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
18414 |
+ ac_prev=sbindir ;; |
18415 |
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
18416 |
+ | --sbi=* | --sb=*) |
18417 |
+ sbindir=$ac_optarg ;; |
18418 |
+ |
18419 |
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
18420 |
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
18421 |
+ | --sharedst | --shareds | --shared | --share | --shar \ |
18422 |
+ | --sha | --sh) |
18423 |
+ ac_prev=sharedstatedir ;; |
18424 |
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
18425 |
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
18426 |
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
18427 |
+ | --sha=* | --sh=*) |
18428 |
+ sharedstatedir=$ac_optarg ;; |
18429 |
+ |
18430 |
+ -site | --site | --sit) |
18431 |
+ ac_prev=site ;; |
18432 |
+ -site=* | --site=* | --sit=*) |
18433 |
+ site=$ac_optarg ;; |
18434 |
+ |
18435 |
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
18436 |
+ ac_prev=srcdir ;; |
18437 |
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
18438 |
+ srcdir=$ac_optarg ;; |
18439 |
+ |
18440 |
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
18441 |
+ | --syscon | --sysco | --sysc | --sys | --sy) |
18442 |
+ ac_prev=sysconfdir ;; |
18443 |
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
18444 |
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
18445 |
+ sysconfdir=$ac_optarg ;; |
18446 |
+ |
18447 |
+ -target | --target | --targe | --targ | --tar | --ta | --t) |
18448 |
+ ac_prev=target_alias ;; |
18449 |
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
18450 |
+ target_alias=$ac_optarg ;; |
18451 |
+ |
18452 |
+ -v | -verbose | --verbose | --verbos | --verbo | --verb) |
18453 |
+ verbose=yes ;; |
18454 |
+ |
18455 |
+ -version | --version | --versio | --versi | --vers | -V) |
18456 |
+ ac_init_version=: ;; |
18457 |
+ |
18458 |
+ -with-* | --with-*) |
18459 |
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
18460 |
+ # Reject names that are not valid shell variable names. |
18461 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
18462 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
18463 |
+ ac_useropt_orig=$ac_useropt |
18464 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
18465 |
+ case $ac_user_opts in |
18466 |
+ *" |
18467 |
+"with_$ac_useropt" |
18468 |
+"*) ;; |
18469 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
18470 |
+ ac_unrecognized_sep=', ';; |
18471 |
+ esac |
18472 |
+ eval with_$ac_useropt=\$ac_optarg ;; |
18473 |
+ |
18474 |
+ -without-* | --without-*) |
18475 |
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
18476 |
+ # Reject names that are not valid shell variable names. |
18477 |
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
18478 |
+ as_fn_error $? "invalid package name: $ac_useropt" |
18479 |
+ ac_useropt_orig=$ac_useropt |
18480 |
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
18481 |
+ case $ac_user_opts in |
18482 |
+ *" |
18483 |
+"with_$ac_useropt" |
18484 |
+"*) ;; |
18485 |
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
18486 |
+ ac_unrecognized_sep=', ';; |
18487 |
+ esac |
18488 |
+ eval with_$ac_useropt=no ;; |
18489 |
+ |
18490 |
+ --x) |
18491 |
+ # Obsolete; use --with-x. |
18492 |
+ with_x=yes ;; |
18493 |
+ |
18494 |
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
18495 |
+ | --x-incl | --x-inc | --x-in | --x-i) |
18496 |
+ ac_prev=x_includes ;; |
18497 |
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
18498 |
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
18499 |
+ x_includes=$ac_optarg ;; |
18500 |
+ |
18501 |
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
18502 |
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
18503 |
+ ac_prev=x_libraries ;; |
18504 |
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
18505 |
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
18506 |
+ x_libraries=$ac_optarg ;; |
18507 |
+ |
18508 |
+ -*) as_fn_error $? "unrecognized option: \`$ac_option' |
18509 |
+Try \`$0 --help' for more information" |
18510 |
+ ;; |
18511 |
+ |
18512 |
+ *=*) |
18513 |
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
18514 |
+ # Reject names that are not valid shell variable names. |
18515 |
+ case $ac_envvar in #( |
18516 |
+ '' | [0-9]* | *[!_$as_cr_alnum]* ) |
18517 |
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
18518 |
+ esac |
18519 |
+ eval $ac_envvar=\$ac_optarg |
18520 |
+ export $ac_envvar ;; |
18521 |
+ |
18522 |
+ *) |
18523 |
+ # FIXME: should be removed in autoconf 3.0. |
18524 |
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
18525 |
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
18526 |
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
18527 |
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
18528 |
+ ;; |
18529 |
+ |
18530 |
+ esac |
18531 |
+done |
18532 |
+ |
18533 |
+if test -n "$ac_prev"; then |
18534 |
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
18535 |
+ as_fn_error $? "missing argument to $ac_option" |
18536 |
+fi |
18537 |
+ |
18538 |
+if test -n "$ac_unrecognized_opts"; then |
18539 |
+ case $enable_option_checking in |
18540 |
+ no) ;; |
18541 |
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
18542 |
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
18543 |
+ esac |
18544 |
+fi |
18545 |
+ |
18546 |
+# Check all directory arguments for consistency. |
18547 |
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
18548 |
+ datadir sysconfdir sharedstatedir localstatedir includedir \ |
18549 |
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
18550 |
+ libdir localedir mandir |
18551 |
+do |
18552 |
+ eval ac_val=\$$ac_var |
18553 |
+ # Remove trailing slashes. |
18554 |
+ case $ac_val in |
18555 |
+ */ ) |
18556 |
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
18557 |
+ eval $ac_var=\$ac_val;; |
18558 |
+ esac |
18559 |
+ # Be sure to have absolute directory names. |
18560 |
+ case $ac_val in |
18561 |
+ [\\/$]* | ?:[\\/]* ) continue;; |
18562 |
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
18563 |
+ esac |
18564 |
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
18565 |
+done |
18566 |
+ |
18567 |
+# There might be people who depend on the old broken behavior: `$host' |
18568 |
+# used to hold the argument of --host etc. |
18569 |
+# FIXME: To remove some day. |
18570 |
+build=$build_alias |
18571 |
+host=$host_alias |
18572 |
+target=$target_alias |
18573 |
+ |
18574 |
+# FIXME: To remove some day. |
18575 |
+if test "x$host_alias" != x; then |
18576 |
+ if test "x$build_alias" = x; then |
18577 |
+ cross_compiling=maybe |
18578 |
+ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
18579 |
+ If a cross compiler is detected then cross compile mode will be used" >&2 |
18580 |
+ elif test "x$build_alias" != "x$host_alias"; then |
18581 |
+ cross_compiling=yes |
18582 |
+ fi |
18583 |
+fi |
18584 |
+ |
18585 |
+ac_tool_prefix= |
18586 |
+test -n "$host_alias" && ac_tool_prefix=$host_alias- |
18587 |
+ |
18588 |
+test "$silent" = yes && exec 6>/dev/null |
18589 |
+ |
18590 |
+ |
18591 |
+ac_pwd=`pwd` && test -n "$ac_pwd" && |
18592 |
+ac_ls_di=`ls -di .` && |
18593 |
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
18594 |
+ as_fn_error $? "working directory cannot be determined" |
18595 |
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
18596 |
+ as_fn_error $? "pwd does not report name of working directory" |
18597 |
+ |
18598 |
+ |
18599 |
+# Find the source files, if location was not specified. |
18600 |
+if test -z "$srcdir"; then |
18601 |
+ ac_srcdir_defaulted=yes |
18602 |
+ # Try the directory containing this script, then the parent directory. |
18603 |
+ ac_confdir=`$as_dirname -- "$as_myself" || |
18604 |
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
18605 |
+ X"$as_myself" : 'X\(//\)[^/]' \| \ |
18606 |
+ X"$as_myself" : 'X\(//\)$' \| \ |
18607 |
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
18608 |
+$as_echo X"$as_myself" | |
18609 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
18610 |
+ s//\1/ |
18611 |
+ q |
18612 |
+ } |
18613 |
+ /^X\(\/\/\)[^/].*/{ |
18614 |
+ s//\1/ |
18615 |
+ q |
18616 |
+ } |
18617 |
+ /^X\(\/\/\)$/{ |
18618 |
+ s//\1/ |
18619 |
+ q |
18620 |
+ } |
18621 |
+ /^X\(\/\).*/{ |
18622 |
+ s//\1/ |
18623 |
+ q |
18624 |
+ } |
18625 |
+ s/.*/./; q'` |
18626 |
+ srcdir=$ac_confdir |
18627 |
+ if test ! -r "$srcdir/$ac_unique_file"; then |
18628 |
+ srcdir=.. |
18629 |
+ fi |
18630 |
+else |
18631 |
+ ac_srcdir_defaulted=no |
18632 |
+fi |
18633 |
+if test ! -r "$srcdir/$ac_unique_file"; then |
18634 |
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
18635 |
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
18636 |
+fi |
18637 |
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
18638 |
+ac_abs_confdir=`( |
18639 |
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
18640 |
+ pwd)` |
18641 |
+# When building in place, set srcdir=. |
18642 |
+if test "$ac_abs_confdir" = "$ac_pwd"; then |
18643 |
+ srcdir=. |
18644 |
+fi |
18645 |
+# Remove unnecessary trailing slashes from srcdir. |
18646 |
+# Double slashes in file names in object file debugging info |
18647 |
+# mess up M-x gdb in Emacs. |
18648 |
+case $srcdir in |
18649 |
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
18650 |
+esac |
18651 |
+for ac_var in $ac_precious_vars; do |
18652 |
+ eval ac_env_${ac_var}_set=\${${ac_var}+set} |
18653 |
+ eval ac_env_${ac_var}_value=\$${ac_var} |
18654 |
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
18655 |
+ eval ac_cv_env_${ac_var}_value=\$${ac_var} |
18656 |
+done |
18657 |
+ |
18658 |
+# |
18659 |
+# Report the --help message. |
18660 |
+# |
18661 |
+if test "$ac_init_help" = "long"; then |
18662 |
+ # Omit some internal or obsolete options to make the list less imposing. |
18663 |
+ # This message is too long to be a string in the A/UX 3.1 sh. |
18664 |
+ cat <<_ACEOF |
18665 |
+\`configure' configures elfix 0.4.0 to adapt to many kinds of systems. |
18666 |
+ |
18667 |
+Usage: $0 [OPTION]... [VAR=VALUE]... |
18668 |
+ |
18669 |
+To assign environment variables (e.g., CC, CFLAGS...), specify them as |
18670 |
+VAR=VALUE. See below for descriptions of some of the useful variables. |
18671 |
+ |
18672 |
+Defaults for the options are specified in brackets. |
18673 |
+ |
18674 |
+Configuration: |
18675 |
+ -h, --help display this help and exit |
18676 |
+ --help=short display options specific to this package |
18677 |
+ --help=recursive display the short help of all the included packages |
18678 |
+ -V, --version display version information and exit |
18679 |
+ -q, --quiet, --silent do not print \`checking ...' messages |
18680 |
+ --cache-file=FILE cache test results in FILE [disabled] |
18681 |
+ -C, --config-cache alias for \`--cache-file=config.cache' |
18682 |
+ -n, --no-create do not create output files |
18683 |
+ --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
18684 |
+ |
18685 |
+Installation directories: |
18686 |
+ --prefix=PREFIX install architecture-independent files in PREFIX |
18687 |
+ [$ac_default_prefix] |
18688 |
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
18689 |
+ [PREFIX] |
18690 |
+ |
18691 |
+By default, \`make install' will install all the files in |
18692 |
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
18693 |
+an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
18694 |
+for instance \`--prefix=\$HOME'. |
18695 |
+ |
18696 |
+For better control, use the options below. |
18697 |
+ |
18698 |
+Fine tuning of the installation directories: |
18699 |
+ --bindir=DIR user executables [EPREFIX/bin] |
18700 |
+ --sbindir=DIR system admin executables [EPREFIX/sbin] |
18701 |
+ --libexecdir=DIR program executables [EPREFIX/libexec] |
18702 |
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
18703 |
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
18704 |
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
18705 |
+ --libdir=DIR object code libraries [EPREFIX/lib] |
18706 |
+ --includedir=DIR C header files [PREFIX/include] |
18707 |
+ --oldincludedir=DIR C header files for non-gcc [/usr/include] |
18708 |
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
18709 |
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
18710 |
+ --infodir=DIR info documentation [DATAROOTDIR/info] |
18711 |
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
18712 |
+ --mandir=DIR man documentation [DATAROOTDIR/man] |
18713 |
+ --docdir=DIR documentation root [DATAROOTDIR/doc/elfix] |
18714 |
+ --htmldir=DIR html documentation [DOCDIR] |
18715 |
+ --dvidir=DIR dvi documentation [DOCDIR] |
18716 |
+ --pdfdir=DIR pdf documentation [DOCDIR] |
18717 |
+ --psdir=DIR ps documentation [DOCDIR] |
18718 |
+_ACEOF |
18719 |
+ |
18720 |
+ cat <<\_ACEOF |
18721 |
+ |
18722 |
+Program names: |
18723 |
+ --program-prefix=PREFIX prepend PREFIX to installed program names |
18724 |
+ --program-suffix=SUFFIX append SUFFIX to installed program names |
18725 |
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
18726 |
+_ACEOF |
18727 |
+fi |
18728 |
+ |
18729 |
+if test -n "$ac_init_help"; then |
18730 |
+ case $ac_init_help in |
18731 |
+ short | recursive ) echo "Configuration of elfix 0.4.0:";; |
18732 |
+ esac |
18733 |
+ cat <<\_ACEOF |
18734 |
+ |
18735 |
+Optional Features: |
18736 |
+ --disable-option-checking ignore unrecognized --enable/--with options |
18737 |
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
18738 |
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
18739 |
+ --enable-tests perform tests |
18740 |
+ --enable-xattr enable support for pax markings in xattrs |
18741 |
+ --disable-dependency-tracking speeds up one-time build |
18742 |
+ --enable-dependency-tracking do not reject slow dependency extractors |
18743 |
+ |
18744 |
+Some influential environment variables: |
18745 |
+ CC C compiler command |
18746 |
+ CFLAGS C compiler flags |
18747 |
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
18748 |
+ nonstandard directory <lib dir> |
18749 |
+ LIBS libraries to pass to the linker, e.g. -l<library> |
18750 |
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
18751 |
+ you have headers in a nonstandard directory <include dir> |
18752 |
+ CPP C preprocessor |
18753 |
+ |
18754 |
+Use these variables to override the choices made by `configure' or to help |
18755 |
+it to find libraries and programs with nonstandard names/locations. |
18756 |
+ |
18757 |
+Report bugs to <http://bugs.gentoo.org/>. |
18758 |
+_ACEOF |
18759 |
+ac_status=$? |
18760 |
+fi |
18761 |
+ |
18762 |
+if test "$ac_init_help" = "recursive"; then |
18763 |
+ # If there are subdirs, report their specific --help. |
18764 |
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
18765 |
+ test -d "$ac_dir" || |
18766 |
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
18767 |
+ continue |
18768 |
+ ac_builddir=. |
18769 |
+ |
18770 |
+case "$ac_dir" in |
18771 |
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
18772 |
+*) |
18773 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
18774 |
+ # A ".." for each directory in $ac_dir_suffix. |
18775 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
18776 |
+ case $ac_top_builddir_sub in |
18777 |
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
18778 |
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
18779 |
+ esac ;; |
18780 |
+esac |
18781 |
+ac_abs_top_builddir=$ac_pwd |
18782 |
+ac_abs_builddir=$ac_pwd$ac_dir_suffix |
18783 |
+# for backward compatibility: |
18784 |
+ac_top_builddir=$ac_top_build_prefix |
18785 |
+ |
18786 |
+case $srcdir in |
18787 |
+ .) # We are building in place. |
18788 |
+ ac_srcdir=. |
18789 |
+ ac_top_srcdir=$ac_top_builddir_sub |
18790 |
+ ac_abs_top_srcdir=$ac_pwd ;; |
18791 |
+ [\\/]* | ?:[\\/]* ) # Absolute name. |
18792 |
+ ac_srcdir=$srcdir$ac_dir_suffix; |
18793 |
+ ac_top_srcdir=$srcdir |
18794 |
+ ac_abs_top_srcdir=$srcdir ;; |
18795 |
+ *) # Relative name. |
18796 |
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
18797 |
+ ac_top_srcdir=$ac_top_build_prefix$srcdir |
18798 |
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
18799 |
+esac |
18800 |
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
18801 |
+ |
18802 |
+ cd "$ac_dir" || { ac_status=$?; continue; } |
18803 |
+ # Check for guested configure. |
18804 |
+ if test -f "$ac_srcdir/configure.gnu"; then |
18805 |
+ echo && |
18806 |
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
18807 |
+ elif test -f "$ac_srcdir/configure"; then |
18808 |
+ echo && |
18809 |
+ $SHELL "$ac_srcdir/configure" --help=recursive |
18810 |
+ else |
18811 |
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
18812 |
+ fi || ac_status=$? |
18813 |
+ cd "$ac_pwd" || { ac_status=$?; break; } |
18814 |
+ done |
18815 |
+fi |
18816 |
+ |
18817 |
+test -n "$ac_init_help" && exit $ac_status |
18818 |
+if $ac_init_version; then |
18819 |
+ cat <<\_ACEOF |
18820 |
+elfix configure 0.4.0 |
18821 |
+generated by GNU Autoconf 2.68 |
18822 |
+ |
18823 |
+Copyright (C) 2010 Free Software Foundation, Inc. |
18824 |
+This configure script is free software; the Free Software Foundation |
18825 |
+gives unlimited permission to copy, distribute and modify it. |
18826 |
+_ACEOF |
18827 |
+ exit |
18828 |
+fi |
18829 |
+ |
18830 |
+## ------------------------ ## |
18831 |
+## Autoconf initialization. ## |
18832 |
+## ------------------------ ## |
18833 |
+ |
18834 |
+# ac_fn_c_try_compile LINENO |
18835 |
+# -------------------------- |
18836 |
+# Try to compile conftest.$ac_ext, and return whether this succeeded. |
18837 |
+ac_fn_c_try_compile () |
18838 |
+{ |
18839 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
18840 |
+ rm -f conftest.$ac_objext |
18841 |
+ if { { ac_try="$ac_compile" |
18842 |
+case "(($ac_try" in |
18843 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18844 |
+ *) ac_try_echo=$ac_try;; |
18845 |
+esac |
18846 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
18847 |
+$as_echo "$ac_try_echo"; } >&5 |
18848 |
+ (eval "$ac_compile") 2>conftest.err |
18849 |
+ ac_status=$? |
18850 |
+ if test -s conftest.err; then |
18851 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
18852 |
+ cat conftest.er1 >&5 |
18853 |
+ mv -f conftest.er1 conftest.err |
18854 |
+ fi |
18855 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
18856 |
+ test $ac_status = 0; } && { |
18857 |
+ test -z "$ac_c_werror_flag" || |
18858 |
+ test ! -s conftest.err |
18859 |
+ } && test -s conftest.$ac_objext; then : |
18860 |
+ ac_retval=0 |
18861 |
+else |
18862 |
+ $as_echo "$as_me: failed program was:" >&5 |
18863 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
18864 |
+ |
18865 |
+ ac_retval=1 |
18866 |
+fi |
18867 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
18868 |
+ as_fn_set_status $ac_retval |
18869 |
+ |
18870 |
+} # ac_fn_c_try_compile |
18871 |
+ |
18872 |
+# ac_fn_c_try_cpp LINENO |
18873 |
+# ---------------------- |
18874 |
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
18875 |
+ac_fn_c_try_cpp () |
18876 |
+{ |
18877 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
18878 |
+ if { { ac_try="$ac_cpp conftest.$ac_ext" |
18879 |
+case "(($ac_try" in |
18880 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18881 |
+ *) ac_try_echo=$ac_try;; |
18882 |
+esac |
18883 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
18884 |
+$as_echo "$ac_try_echo"; } >&5 |
18885 |
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
18886 |
+ ac_status=$? |
18887 |
+ if test -s conftest.err; then |
18888 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
18889 |
+ cat conftest.er1 >&5 |
18890 |
+ mv -f conftest.er1 conftest.err |
18891 |
+ fi |
18892 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
18893 |
+ test $ac_status = 0; } > conftest.i && { |
18894 |
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
18895 |
+ test ! -s conftest.err |
18896 |
+ }; then : |
18897 |
+ ac_retval=0 |
18898 |
+else |
18899 |
+ $as_echo "$as_me: failed program was:" >&5 |
18900 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
18901 |
+ |
18902 |
+ ac_retval=1 |
18903 |
+fi |
18904 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
18905 |
+ as_fn_set_status $ac_retval |
18906 |
+ |
18907 |
+} # ac_fn_c_try_cpp |
18908 |
+ |
18909 |
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
18910 |
+# ------------------------------------------------------- |
18911 |
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
18912 |
+# the include files in INCLUDES and setting the cache variable VAR |
18913 |
+# accordingly. |
18914 |
+ac_fn_c_check_header_mongrel () |
18915 |
+{ |
18916 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
18917 |
+ if eval \${$3+:} false; then : |
18918 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
18919 |
+$as_echo_n "checking for $2... " >&6; } |
18920 |
+if eval \${$3+:} false; then : |
18921 |
+ $as_echo_n "(cached) " >&6 |
18922 |
+fi |
18923 |
+eval ac_res=\$$3 |
18924 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
18925 |
+$as_echo "$ac_res" >&6; } |
18926 |
+else |
18927 |
+ # Is the header compilable? |
18928 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
18929 |
+$as_echo_n "checking $2 usability... " >&6; } |
18930 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
18931 |
+/* end confdefs.h. */ |
18932 |
+$4 |
18933 |
+#include <$2> |
18934 |
+_ACEOF |
18935 |
+if ac_fn_c_try_compile "$LINENO"; then : |
18936 |
+ ac_header_compiler=yes |
18937 |
+else |
18938 |
+ ac_header_compiler=no |
18939 |
+fi |
18940 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18941 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
18942 |
+$as_echo "$ac_header_compiler" >&6; } |
18943 |
+ |
18944 |
+# Is the header present? |
18945 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
18946 |
+$as_echo_n "checking $2 presence... " >&6; } |
18947 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
18948 |
+/* end confdefs.h. */ |
18949 |
+#include <$2> |
18950 |
+_ACEOF |
18951 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
18952 |
+ ac_header_preproc=yes |
18953 |
+else |
18954 |
+ ac_header_preproc=no |
18955 |
+fi |
18956 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
18957 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
18958 |
+$as_echo "$ac_header_preproc" >&6; } |
18959 |
+ |
18960 |
+# So? What about this header? |
18961 |
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
18962 |
+ yes:no: ) |
18963 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
18964 |
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
18965 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
18966 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
18967 |
+ ;; |
18968 |
+ no:yes:* ) |
18969 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
18970 |
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
18971 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
18972 |
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
18973 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
18974 |
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
18975 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
18976 |
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
18977 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
18978 |
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
18979 |
+( $as_echo "## -------------------------------------- ## |
18980 |
+## Report this to http://bugs.gentoo.org/ ## |
18981 |
+## -------------------------------------- ##" |
18982 |
+ ) | sed "s/^/$as_me: WARNING: /" >&2 |
18983 |
+ ;; |
18984 |
+esac |
18985 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
18986 |
+$as_echo_n "checking for $2... " >&6; } |
18987 |
+if eval \${$3+:} false; then : |
18988 |
+ $as_echo_n "(cached) " >&6 |
18989 |
+else |
18990 |
+ eval "$3=\$ac_header_compiler" |
18991 |
+fi |
18992 |
+eval ac_res=\$$3 |
18993 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
18994 |
+$as_echo "$ac_res" >&6; } |
18995 |
+fi |
18996 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
18997 |
+ |
18998 |
+} # ac_fn_c_check_header_mongrel |
18999 |
+ |
19000 |
+# ac_fn_c_try_run LINENO |
19001 |
+# ---------------------- |
19002 |
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
19003 |
+# that executables *can* be run. |
19004 |
+ac_fn_c_try_run () |
19005 |
+{ |
19006 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
19007 |
+ if { { ac_try="$ac_link" |
19008 |
+case "(($ac_try" in |
19009 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19010 |
+ *) ac_try_echo=$ac_try;; |
19011 |
+esac |
19012 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
19013 |
+$as_echo "$ac_try_echo"; } >&5 |
19014 |
+ (eval "$ac_link") 2>&5 |
19015 |
+ ac_status=$? |
19016 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
19017 |
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
19018 |
+ { { case "(($ac_try" in |
19019 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19020 |
+ *) ac_try_echo=$ac_try;; |
19021 |
+esac |
19022 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
19023 |
+$as_echo "$ac_try_echo"; } >&5 |
19024 |
+ (eval "$ac_try") 2>&5 |
19025 |
+ ac_status=$? |
19026 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
19027 |
+ test $ac_status = 0; }; }; then : |
19028 |
+ ac_retval=0 |
19029 |
+else |
19030 |
+ $as_echo "$as_me: program exited with status $ac_status" >&5 |
19031 |
+ $as_echo "$as_me: failed program was:" >&5 |
19032 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
19033 |
+ |
19034 |
+ ac_retval=$ac_status |
19035 |
+fi |
19036 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
19037 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
19038 |
+ as_fn_set_status $ac_retval |
19039 |
+ |
19040 |
+} # ac_fn_c_try_run |
19041 |
+ |
19042 |
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
19043 |
+# ------------------------------------------------------- |
19044 |
+# Tests whether HEADER exists and can be compiled using the include files in |
19045 |
+# INCLUDES, setting the cache variable VAR accordingly. |
19046 |
+ac_fn_c_check_header_compile () |
19047 |
+{ |
19048 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
19049 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
19050 |
+$as_echo_n "checking for $2... " >&6; } |
19051 |
+if eval \${$3+:} false; then : |
19052 |
+ $as_echo_n "(cached) " >&6 |
19053 |
+else |
19054 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19055 |
+/* end confdefs.h. */ |
19056 |
+$4 |
19057 |
+#include <$2> |
19058 |
+_ACEOF |
19059 |
+if ac_fn_c_try_compile "$LINENO"; then : |
19060 |
+ eval "$3=yes" |
19061 |
+else |
19062 |
+ eval "$3=no" |
19063 |
+fi |
19064 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19065 |
+fi |
19066 |
+eval ac_res=\$$3 |
19067 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
19068 |
+$as_echo "$ac_res" >&6; } |
19069 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
19070 |
+ |
19071 |
+} # ac_fn_c_check_header_compile |
19072 |
+ |
19073 |
+# ac_fn_c_try_link LINENO |
19074 |
+# ----------------------- |
19075 |
+# Try to link conftest.$ac_ext, and return whether this succeeded. |
19076 |
+ac_fn_c_try_link () |
19077 |
+{ |
19078 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
19079 |
+ rm -f conftest.$ac_objext conftest$ac_exeext |
19080 |
+ if { { ac_try="$ac_link" |
19081 |
+case "(($ac_try" in |
19082 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19083 |
+ *) ac_try_echo=$ac_try;; |
19084 |
+esac |
19085 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
19086 |
+$as_echo "$ac_try_echo"; } >&5 |
19087 |
+ (eval "$ac_link") 2>conftest.err |
19088 |
+ ac_status=$? |
19089 |
+ if test -s conftest.err; then |
19090 |
+ grep -v '^ *+' conftest.err >conftest.er1 |
19091 |
+ cat conftest.er1 >&5 |
19092 |
+ mv -f conftest.er1 conftest.err |
19093 |
+ fi |
19094 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
19095 |
+ test $ac_status = 0; } && { |
19096 |
+ test -z "$ac_c_werror_flag" || |
19097 |
+ test ! -s conftest.err |
19098 |
+ } && test -s conftest$ac_exeext && { |
19099 |
+ test "$cross_compiling" = yes || |
19100 |
+ $as_test_x conftest$ac_exeext |
19101 |
+ }; then : |
19102 |
+ ac_retval=0 |
19103 |
+else |
19104 |
+ $as_echo "$as_me: failed program was:" >&5 |
19105 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
19106 |
+ |
19107 |
+ ac_retval=1 |
19108 |
+fi |
19109 |
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
19110 |
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
19111 |
+ # interfere with the next link command; also delete a directory that is |
19112 |
+ # left behind by Apple's compiler. We do this before executing the actions. |
19113 |
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
19114 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
19115 |
+ as_fn_set_status $ac_retval |
19116 |
+ |
19117 |
+} # ac_fn_c_try_link |
19118 |
+ |
19119 |
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
19120 |
+# ------------------------------------------- |
19121 |
+# Tests whether TYPE exists after having included INCLUDES, setting cache |
19122 |
+# variable VAR accordingly. |
19123 |
+ac_fn_c_check_type () |
19124 |
+{ |
19125 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
19126 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
19127 |
+$as_echo_n "checking for $2... " >&6; } |
19128 |
+if eval \${$3+:} false; then : |
19129 |
+ $as_echo_n "(cached) " >&6 |
19130 |
+else |
19131 |
+ eval "$3=no" |
19132 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19133 |
+/* end confdefs.h. */ |
19134 |
+$4 |
19135 |
+int |
19136 |
+main () |
19137 |
+{ |
19138 |
+if (sizeof ($2)) |
19139 |
+ return 0; |
19140 |
+ ; |
19141 |
+ return 0; |
19142 |
+} |
19143 |
+_ACEOF |
19144 |
+if ac_fn_c_try_compile "$LINENO"; then : |
19145 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19146 |
+/* end confdefs.h. */ |
19147 |
+$4 |
19148 |
+int |
19149 |
+main () |
19150 |
+{ |
19151 |
+if (sizeof (($2))) |
19152 |
+ return 0; |
19153 |
+ ; |
19154 |
+ return 0; |
19155 |
+} |
19156 |
+_ACEOF |
19157 |
+if ac_fn_c_try_compile "$LINENO"; then : |
19158 |
+ |
19159 |
+else |
19160 |
+ eval "$3=yes" |
19161 |
+fi |
19162 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19163 |
+fi |
19164 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19165 |
+fi |
19166 |
+eval ac_res=\$$3 |
19167 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
19168 |
+$as_echo "$ac_res" >&6; } |
19169 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
19170 |
+ |
19171 |
+} # ac_fn_c_check_type |
19172 |
+ |
19173 |
+# ac_fn_c_find_uintX_t LINENO BITS VAR |
19174 |
+# ------------------------------------ |
19175 |
+# Finds an unsigned integer type with width BITS, setting cache variable VAR |
19176 |
+# accordingly. |
19177 |
+ac_fn_c_find_uintX_t () |
19178 |
+{ |
19179 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
19180 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
19181 |
+$as_echo_n "checking for uint$2_t... " >&6; } |
19182 |
+if eval \${$3+:} false; then : |
19183 |
+ $as_echo_n "(cached) " >&6 |
19184 |
+else |
19185 |
+ eval "$3=no" |
19186 |
+ # Order is important - never check a type that is potentially smaller |
19187 |
+ # than half of the expected target width. |
19188 |
+ for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ |
19189 |
+ 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
19190 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19191 |
+/* end confdefs.h. */ |
19192 |
+$ac_includes_default |
19193 |
+int |
19194 |
+main () |
19195 |
+{ |
19196 |
+static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
19197 |
+test_array [0] = 0 |
19198 |
+ |
19199 |
+ ; |
19200 |
+ return 0; |
19201 |
+} |
19202 |
+_ACEOF |
19203 |
+if ac_fn_c_try_compile "$LINENO"; then : |
19204 |
+ case $ac_type in #( |
19205 |
+ uint$2_t) : |
19206 |
+ eval "$3=yes" ;; #( |
19207 |
+ *) : |
19208 |
+ eval "$3=\$ac_type" ;; |
19209 |
+esac |
19210 |
+fi |
19211 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19212 |
+ if eval test \"x\$"$3"\" = x"no"; then : |
19213 |
+ |
19214 |
+else |
19215 |
+ break |
19216 |
+fi |
19217 |
+ done |
19218 |
+fi |
19219 |
+eval ac_res=\$$3 |
19220 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
19221 |
+$as_echo "$ac_res" >&6; } |
19222 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
19223 |
+ |
19224 |
+} # ac_fn_c_find_uintX_t |
19225 |
+ |
19226 |
+# ac_fn_c_check_func LINENO FUNC VAR |
19227 |
+# ---------------------------------- |
19228 |
+# Tests whether FUNC exists, setting the cache variable VAR accordingly |
19229 |
+ac_fn_c_check_func () |
19230 |
+{ |
19231 |
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
19232 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
19233 |
+$as_echo_n "checking for $2... " >&6; } |
19234 |
+if eval \${$3+:} false; then : |
19235 |
+ $as_echo_n "(cached) " >&6 |
19236 |
+else |
19237 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19238 |
+/* end confdefs.h. */ |
19239 |
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
19240 |
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
19241 |
+#define $2 innocuous_$2 |
19242 |
+ |
19243 |
+/* System header to define __stub macros and hopefully few prototypes, |
19244 |
+ which can conflict with char $2 (); below. |
19245 |
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
19246 |
+ <limits.h> exists even on freestanding compilers. */ |
19247 |
+ |
19248 |
+#ifdef __STDC__ |
19249 |
+# include <limits.h> |
19250 |
+#else |
19251 |
+# include <assert.h> |
19252 |
+#endif |
19253 |
+ |
19254 |
+#undef $2 |
19255 |
+ |
19256 |
+/* Override any GCC internal prototype to avoid an error. |
19257 |
+ Use char because int might match the return type of a GCC |
19258 |
+ builtin and then its argument prototype would still apply. */ |
19259 |
+#ifdef __cplusplus |
19260 |
+extern "C" |
19261 |
+#endif |
19262 |
+char $2 (); |
19263 |
+/* The GNU C library defines this for functions which it implements |
19264 |
+ to always fail with ENOSYS. Some functions are actually named |
19265 |
+ something starting with __ and the normal name is an alias. */ |
19266 |
+#if defined __stub_$2 || defined __stub___$2 |
19267 |
+choke me |
19268 |
+#endif |
19269 |
+ |
19270 |
+int |
19271 |
+main () |
19272 |
+{ |
19273 |
+return $2 (); |
19274 |
+ ; |
19275 |
+ return 0; |
19276 |
+} |
19277 |
+_ACEOF |
19278 |
+if ac_fn_c_try_link "$LINENO"; then : |
19279 |
+ eval "$3=yes" |
19280 |
+else |
19281 |
+ eval "$3=no" |
19282 |
+fi |
19283 |
+rm -f core conftest.err conftest.$ac_objext \ |
19284 |
+ conftest$ac_exeext conftest.$ac_ext |
19285 |
+fi |
19286 |
+eval ac_res=\$$3 |
19287 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
19288 |
+$as_echo "$ac_res" >&6; } |
19289 |
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
19290 |
+ |
19291 |
+} # ac_fn_c_check_func |
19292 |
+cat >config.log <<_ACEOF |
19293 |
+This file contains any messages produced by compilers while |
19294 |
+running configure, to aid debugging if configure makes a mistake. |
19295 |
+ |
19296 |
+It was created by elfix $as_me 0.4.0, which was |
19297 |
+generated by GNU Autoconf 2.68. Invocation command line was |
19298 |
+ |
19299 |
+ $ $0 $@ |
19300 |
+ |
19301 |
+_ACEOF |
19302 |
+exec 5>>config.log |
19303 |
+{ |
19304 |
+cat <<_ASUNAME |
19305 |
+## --------- ## |
19306 |
+## Platform. ## |
19307 |
+## --------- ## |
19308 |
+ |
19309 |
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
19310 |
+uname -m = `(uname -m) 2>/dev/null || echo unknown` |
19311 |
+uname -r = `(uname -r) 2>/dev/null || echo unknown` |
19312 |
+uname -s = `(uname -s) 2>/dev/null || echo unknown` |
19313 |
+uname -v = `(uname -v) 2>/dev/null || echo unknown` |
19314 |
+ |
19315 |
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
19316 |
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
19317 |
+ |
19318 |
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
19319 |
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
19320 |
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
19321 |
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
19322 |
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
19323 |
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
19324 |
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
19325 |
+ |
19326 |
+_ASUNAME |
19327 |
+ |
19328 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
19329 |
+for as_dir in $PATH |
19330 |
+do |
19331 |
+ IFS=$as_save_IFS |
19332 |
+ test -z "$as_dir" && as_dir=. |
19333 |
+ $as_echo "PATH: $as_dir" |
19334 |
+ done |
19335 |
+IFS=$as_save_IFS |
19336 |
+ |
19337 |
+} >&5 |
19338 |
+ |
19339 |
+cat >&5 <<_ACEOF |
19340 |
+ |
19341 |
+ |
19342 |
+## ----------- ## |
19343 |
+## Core tests. ## |
19344 |
+## ----------- ## |
19345 |
+ |
19346 |
+_ACEOF |
19347 |
+ |
19348 |
+ |
19349 |
+# Keep a trace of the command line. |
19350 |
+# Strip out --no-create and --no-recursion so they do not pile up. |
19351 |
+# Strip out --silent because we don't want to record it for future runs. |
19352 |
+# Also quote any args containing shell meta-characters. |
19353 |
+# Make two passes to allow for proper duplicate-argument suppression. |
19354 |
+ac_configure_args= |
19355 |
+ac_configure_args0= |
19356 |
+ac_configure_args1= |
19357 |
+ac_must_keep_next=false |
19358 |
+for ac_pass in 1 2 |
19359 |
+do |
19360 |
+ for ac_arg |
19361 |
+ do |
19362 |
+ case $ac_arg in |
19363 |
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
19364 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
19365 |
+ | -silent | --silent | --silen | --sile | --sil) |
19366 |
+ continue ;; |
19367 |
+ *\'*) |
19368 |
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
19369 |
+ esac |
19370 |
+ case $ac_pass in |
19371 |
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
19372 |
+ 2) |
19373 |
+ as_fn_append ac_configure_args1 " '$ac_arg'" |
19374 |
+ if test $ac_must_keep_next = true; then |
19375 |
+ ac_must_keep_next=false # Got value, back to normal. |
19376 |
+ else |
19377 |
+ case $ac_arg in |
19378 |
+ *=* | --config-cache | -C | -disable-* | --disable-* \ |
19379 |
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
19380 |
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
19381 |
+ | -with-* | --with-* | -without-* | --without-* | --x) |
19382 |
+ case "$ac_configure_args0 " in |
19383 |
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
19384 |
+ esac |
19385 |
+ ;; |
19386 |
+ -* ) ac_must_keep_next=true ;; |
19387 |
+ esac |
19388 |
+ fi |
19389 |
+ as_fn_append ac_configure_args " '$ac_arg'" |
19390 |
+ ;; |
19391 |
+ esac |
19392 |
+ done |
19393 |
+done |
19394 |
+{ ac_configure_args0=; unset ac_configure_args0;} |
19395 |
+{ ac_configure_args1=; unset ac_configure_args1;} |
19396 |
+ |
19397 |
+# When interrupted or exit'd, cleanup temporary files, and complete |
19398 |
+# config.log. We remove comments because anyway the quotes in there |
19399 |
+# would cause problems or look ugly. |
19400 |
+# WARNING: Use '\'' to represent an apostrophe within the trap. |
19401 |
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
19402 |
+trap 'exit_status=$? |
19403 |
+ # Save into config.log some information that might help in debugging. |
19404 |
+ { |
19405 |
+ echo |
19406 |
+ |
19407 |
+ $as_echo "## ---------------- ## |
19408 |
+## Cache variables. ## |
19409 |
+## ---------------- ##" |
19410 |
+ echo |
19411 |
+ # The following way of writing the cache mishandles newlines in values, |
19412 |
+( |
19413 |
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
19414 |
+ eval ac_val=\$$ac_var |
19415 |
+ case $ac_val in #( |
19416 |
+ *${as_nl}*) |
19417 |
+ case $ac_var in #( |
19418 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
19419 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
19420 |
+ esac |
19421 |
+ case $ac_var in #( |
19422 |
+ _ | IFS | as_nl) ;; #( |
19423 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
19424 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
19425 |
+ esac ;; |
19426 |
+ esac |
19427 |
+ done |
19428 |
+ (set) 2>&1 | |
19429 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
19430 |
+ *${as_nl}ac_space=\ *) |
19431 |
+ sed -n \ |
19432 |
+ "s/'\''/'\''\\\\'\'''\''/g; |
19433 |
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
19434 |
+ ;; #( |
19435 |
+ *) |
19436 |
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
19437 |
+ ;; |
19438 |
+ esac | |
19439 |
+ sort |
19440 |
+) |
19441 |
+ echo |
19442 |
+ |
19443 |
+ $as_echo "## ----------------- ## |
19444 |
+## Output variables. ## |
19445 |
+## ----------------- ##" |
19446 |
+ echo |
19447 |
+ for ac_var in $ac_subst_vars |
19448 |
+ do |
19449 |
+ eval ac_val=\$$ac_var |
19450 |
+ case $ac_val in |
19451 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
19452 |
+ esac |
19453 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
19454 |
+ done | sort |
19455 |
+ echo |
19456 |
+ |
19457 |
+ if test -n "$ac_subst_files"; then |
19458 |
+ $as_echo "## ------------------- ## |
19459 |
+## File substitutions. ## |
19460 |
+## ------------------- ##" |
19461 |
+ echo |
19462 |
+ for ac_var in $ac_subst_files |
19463 |
+ do |
19464 |
+ eval ac_val=\$$ac_var |
19465 |
+ case $ac_val in |
19466 |
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
19467 |
+ esac |
19468 |
+ $as_echo "$ac_var='\''$ac_val'\''" |
19469 |
+ done | sort |
19470 |
+ echo |
19471 |
+ fi |
19472 |
+ |
19473 |
+ if test -s confdefs.h; then |
19474 |
+ $as_echo "## ----------- ## |
19475 |
+## confdefs.h. ## |
19476 |
+## ----------- ##" |
19477 |
+ echo |
19478 |
+ cat confdefs.h |
19479 |
+ echo |
19480 |
+ fi |
19481 |
+ test "$ac_signal" != 0 && |
19482 |
+ $as_echo "$as_me: caught signal $ac_signal" |
19483 |
+ $as_echo "$as_me: exit $exit_status" |
19484 |
+ } >&5 |
19485 |
+ rm -f core *.core core.conftest.* && |
19486 |
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
19487 |
+ exit $exit_status |
19488 |
+' 0 |
19489 |
+for ac_signal in 1 2 13 15; do |
19490 |
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
19491 |
+done |
19492 |
+ac_signal=0 |
19493 |
+ |
19494 |
+# confdefs.h avoids OS command line length limits that DEFS can exceed. |
19495 |
+rm -f -r conftest* confdefs.h |
19496 |
+ |
19497 |
+$as_echo "/* confdefs.h */" > confdefs.h |
19498 |
+ |
19499 |
+# Predefined preprocessor variables. |
19500 |
+ |
19501 |
+cat >>confdefs.h <<_ACEOF |
19502 |
+#define PACKAGE_NAME "$PACKAGE_NAME" |
19503 |
+_ACEOF |
19504 |
+ |
19505 |
+cat >>confdefs.h <<_ACEOF |
19506 |
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
19507 |
+_ACEOF |
19508 |
+ |
19509 |
+cat >>confdefs.h <<_ACEOF |
19510 |
+#define PACKAGE_VERSION "$PACKAGE_VERSION" |
19511 |
+_ACEOF |
19512 |
+ |
19513 |
+cat >>confdefs.h <<_ACEOF |
19514 |
+#define PACKAGE_STRING "$PACKAGE_STRING" |
19515 |
+_ACEOF |
19516 |
+ |
19517 |
+cat >>confdefs.h <<_ACEOF |
19518 |
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
19519 |
+_ACEOF |
19520 |
+ |
19521 |
+cat >>confdefs.h <<_ACEOF |
19522 |
+#define PACKAGE_URL "$PACKAGE_URL" |
19523 |
+_ACEOF |
19524 |
+ |
19525 |
+ |
19526 |
+# Let the site file select an alternate cache file if it wants to. |
19527 |
+# Prefer an explicitly selected file to automatically selected ones. |
19528 |
+ac_site_file1=NONE |
19529 |
+ac_site_file2=NONE |
19530 |
+if test -n "$CONFIG_SITE"; then |
19531 |
+ # We do not want a PATH search for config.site. |
19532 |
+ case $CONFIG_SITE in #(( |
19533 |
+ -*) ac_site_file1=./$CONFIG_SITE;; |
19534 |
+ */*) ac_site_file1=$CONFIG_SITE;; |
19535 |
+ *) ac_site_file1=./$CONFIG_SITE;; |
19536 |
+ esac |
19537 |
+elif test "x$prefix" != xNONE; then |
19538 |
+ ac_site_file1=$prefix/share/config.site |
19539 |
+ ac_site_file2=$prefix/etc/config.site |
19540 |
+else |
19541 |
+ ac_site_file1=$ac_default_prefix/share/config.site |
19542 |
+ ac_site_file2=$ac_default_prefix/etc/config.site |
19543 |
+fi |
19544 |
+for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
19545 |
+do |
19546 |
+ test "x$ac_site_file" = xNONE && continue |
19547 |
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
19548 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
19549 |
+$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
19550 |
+ sed 's/^/| /' "$ac_site_file" >&5 |
19551 |
+ . "$ac_site_file" \ |
19552 |
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
19553 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
19554 |
+as_fn_error $? "failed to load site script $ac_site_file |
19555 |
+See \`config.log' for more details" "$LINENO" 5; } |
19556 |
+ fi |
19557 |
+done |
19558 |
+ |
19559 |
+if test -r "$cache_file"; then |
19560 |
+ # Some versions of bash will fail to source /dev/null (special files |
19561 |
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
19562 |
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
19563 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
19564 |
+$as_echo "$as_me: loading cache $cache_file" >&6;} |
19565 |
+ case $cache_file in |
19566 |
+ [\\/]* | ?:[\\/]* ) . "$cache_file";; |
19567 |
+ *) . "./$cache_file";; |
19568 |
+ esac |
19569 |
+ fi |
19570 |
+else |
19571 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
19572 |
+$as_echo "$as_me: creating cache $cache_file" >&6;} |
19573 |
+ >$cache_file |
19574 |
+fi |
19575 |
+ |
19576 |
+as_fn_append ac_header_list " stdlib.h" |
19577 |
+as_fn_append ac_header_list " unistd.h" |
19578 |
+as_fn_append ac_header_list " sys/param.h" |
19579 |
+# Check that the precious variables saved in the cache have kept the same |
19580 |
+# value. |
19581 |
+ac_cache_corrupted=false |
19582 |
+for ac_var in $ac_precious_vars; do |
19583 |
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set |
19584 |
+ eval ac_new_set=\$ac_env_${ac_var}_set |
19585 |
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value |
19586 |
+ eval ac_new_val=\$ac_env_${ac_var}_value |
19587 |
+ case $ac_old_set,$ac_new_set in |
19588 |
+ set,) |
19589 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
19590 |
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
19591 |
+ ac_cache_corrupted=: ;; |
19592 |
+ ,set) |
19593 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
19594 |
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
19595 |
+ ac_cache_corrupted=: ;; |
19596 |
+ ,);; |
19597 |
+ *) |
19598 |
+ if test "x$ac_old_val" != "x$ac_new_val"; then |
19599 |
+ # differences in whitespace do not lead to failure. |
19600 |
+ ac_old_val_w=`echo x $ac_old_val` |
19601 |
+ ac_new_val_w=`echo x $ac_new_val` |
19602 |
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then |
19603 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
19604 |
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
19605 |
+ ac_cache_corrupted=: |
19606 |
+ else |
19607 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
19608 |
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
19609 |
+ eval $ac_var=\$ac_old_val |
19610 |
+ fi |
19611 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
19612 |
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
19613 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
19614 |
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
19615 |
+ fi;; |
19616 |
+ esac |
19617 |
+ # Pass precious variables to config.status. |
19618 |
+ if test "$ac_new_set" = set; then |
19619 |
+ case $ac_new_val in |
19620 |
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
19621 |
+ *) ac_arg=$ac_var=$ac_new_val ;; |
19622 |
+ esac |
19623 |
+ case " $ac_configure_args " in |
19624 |
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
19625 |
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
19626 |
+ esac |
19627 |
+ fi |
19628 |
+done |
19629 |
+if $ac_cache_corrupted; then |
19630 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
19631 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
19632 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
19633 |
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
19634 |
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
19635 |
+fi |
19636 |
+## -------------------- ## |
19637 |
+## Main body of script. ## |
19638 |
+## -------------------- ## |
19639 |
+ |
19640 |
+ac_ext=c |
19641 |
+ac_cpp='$CPP $CPPFLAGS' |
19642 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
19643 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
19644 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
19645 |
+ |
19646 |
+ |
19647 |
+ |
19648 |
+ac_config_headers="$ac_config_headers config.h" |
19649 |
+ |
19650 |
+am__api_version='1.11' |
19651 |
+ |
19652 |
+ac_aux_dir= |
19653 |
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
19654 |
+ if test -f "$ac_dir/install-sh"; then |
19655 |
+ ac_aux_dir=$ac_dir |
19656 |
+ ac_install_sh="$ac_aux_dir/install-sh -c" |
19657 |
+ break |
19658 |
+ elif test -f "$ac_dir/install.sh"; then |
19659 |
+ ac_aux_dir=$ac_dir |
19660 |
+ ac_install_sh="$ac_aux_dir/install.sh -c" |
19661 |
+ break |
19662 |
+ elif test -f "$ac_dir/shtool"; then |
19663 |
+ ac_aux_dir=$ac_dir |
19664 |
+ ac_install_sh="$ac_aux_dir/shtool install -c" |
19665 |
+ break |
19666 |
+ fi |
19667 |
+done |
19668 |
+if test -z "$ac_aux_dir"; then |
19669 |
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
19670 |
+fi |
19671 |
+ |
19672 |
+# These three variables are undocumented and unsupported, |
19673 |
+# and are intended to be withdrawn in a future Autoconf release. |
19674 |
+# They can cause serious problems if a builder's source tree is in a directory |
19675 |
+# whose full name contains unusual characters. |
19676 |
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
19677 |
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
19678 |
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
19679 |
+ |
19680 |
+ |
19681 |
+# Find a good install program. We prefer a C program (faster), |
19682 |
+# so one script is as good as another. But avoid the broken or |
19683 |
+# incompatible versions: |
19684 |
+# SysV /etc/install, /usr/sbin/install |
19685 |
+# SunOS /usr/etc/install |
19686 |
+# IRIX /sbin/install |
19687 |
+# AIX /bin/install |
19688 |
+# AmigaOS /C/install, which installs bootblocks on floppy discs |
19689 |
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
19690 |
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
19691 |
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
19692 |
+# OS/2's system install, which has a completely different semantic |
19693 |
+# ./install, which can be erroneously created by make from ./install.sh. |
19694 |
+# Reject install programs that cannot install multiple files. |
19695 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
19696 |
+$as_echo_n "checking for a BSD-compatible install... " >&6; } |
19697 |
+if test -z "$INSTALL"; then |
19698 |
+if ${ac_cv_path_install+:} false; then : |
19699 |
+ $as_echo_n "(cached) " >&6 |
19700 |
+else |
19701 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
19702 |
+for as_dir in $PATH |
19703 |
+do |
19704 |
+ IFS=$as_save_IFS |
19705 |
+ test -z "$as_dir" && as_dir=. |
19706 |
+ # Account for people who put trailing slashes in PATH elements. |
19707 |
+case $as_dir/ in #(( |
19708 |
+ ./ | .// | /[cC]/* | \ |
19709 |
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
19710 |
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
19711 |
+ /usr/ucb/* ) ;; |
19712 |
+ *) |
19713 |
+ # OSF1 and SCO ODT 3.0 have their own names for install. |
19714 |
+ # Don't use installbsd from OSF since it installs stuff as root |
19715 |
+ # by default. |
19716 |
+ for ac_prog in ginstall scoinst install; do |
19717 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
19718 |
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
19719 |
+ if test $ac_prog = install && |
19720 |
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
19721 |
+ # AIX install. It has an incompatible calling convention. |
19722 |
+ : |
19723 |
+ elif test $ac_prog = install && |
19724 |
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
19725 |
+ # program-specific install script used by HP pwplus--don't use. |
19726 |
+ : |
19727 |
+ else |
19728 |
+ rm -rf conftest.one conftest.two conftest.dir |
19729 |
+ echo one > conftest.one |
19730 |
+ echo two > conftest.two |
19731 |
+ mkdir conftest.dir |
19732 |
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
19733 |
+ test -s conftest.one && test -s conftest.two && |
19734 |
+ test -s conftest.dir/conftest.one && |
19735 |
+ test -s conftest.dir/conftest.two |
19736 |
+ then |
19737 |
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
19738 |
+ break 3 |
19739 |
+ fi |
19740 |
+ fi |
19741 |
+ fi |
19742 |
+ done |
19743 |
+ done |
19744 |
+ ;; |
19745 |
+esac |
19746 |
+ |
19747 |
+ done |
19748 |
+IFS=$as_save_IFS |
19749 |
+ |
19750 |
+rm -rf conftest.one conftest.two conftest.dir |
19751 |
+ |
19752 |
+fi |
19753 |
+ if test "${ac_cv_path_install+set}" = set; then |
19754 |
+ INSTALL=$ac_cv_path_install |
19755 |
+ else |
19756 |
+ # As a last resort, use the slow shell script. Don't cache a |
19757 |
+ # value for INSTALL within a source directory, because that will |
19758 |
+ # break other packages using the cache if that directory is |
19759 |
+ # removed, or if the value is a relative name. |
19760 |
+ INSTALL=$ac_install_sh |
19761 |
+ fi |
19762 |
+fi |
19763 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
19764 |
+$as_echo "$INSTALL" >&6; } |
19765 |
+ |
19766 |
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
19767 |
+# It thinks the first close brace ends the variable substitution. |
19768 |
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
19769 |
+ |
19770 |
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
19771 |
+ |
19772 |
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
19773 |
+ |
19774 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
19775 |
+$as_echo_n "checking whether build environment is sane... " >&6; } |
19776 |
+# Just in case |
19777 |
+sleep 1 |
19778 |
+echo timestamp > conftest.file |
19779 |
+# Reject unsafe characters in $srcdir or the absolute working directory |
19780 |
+# name. Accept space and tab only in the latter. |
19781 |
+am_lf=' |
19782 |
+' |
19783 |
+case `pwd` in |
19784 |
+ *[\\\"\#\$\&\'\`$am_lf]*) |
19785 |
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
19786 |
+esac |
19787 |
+case $srcdir in |
19788 |
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
19789 |
+ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
19790 |
+esac |
19791 |
+ |
19792 |
+# Do `set' in a subshell so we don't clobber the current shell's |
19793 |
+# arguments. Must try -L first in case configure is actually a |
19794 |
+# symlink; some systems play weird games with the mod time of symlinks |
19795 |
+# (eg FreeBSD returns the mod time of the symlink's containing |
19796 |
+# directory). |
19797 |
+if ( |
19798 |
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
19799 |
+ if test "$*" = "X"; then |
19800 |
+ # -L didn't work. |
19801 |
+ set X `ls -t "$srcdir/configure" conftest.file` |
19802 |
+ fi |
19803 |
+ rm -f conftest.file |
19804 |
+ if test "$*" != "X $srcdir/configure conftest.file" \ |
19805 |
+ && test "$*" != "X conftest.file $srcdir/configure"; then |
19806 |
+ |
19807 |
+ # If neither matched, then we have a broken ls. This can happen |
19808 |
+ # if, for instance, CONFIG_SHELL is bash and it inherits a |
19809 |
+ # broken ls alias from the environment. This has actually |
19810 |
+ # happened. Such a system could not be considered "sane". |
19811 |
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
19812 |
+alias in your environment" "$LINENO" 5 |
19813 |
+ fi |
19814 |
+ |
19815 |
+ test "$2" = conftest.file |
19816 |
+ ) |
19817 |
+then |
19818 |
+ # Ok. |
19819 |
+ : |
19820 |
+else |
19821 |
+ as_fn_error $? "newly created file is older than distributed files! |
19822 |
+Check your system clock" "$LINENO" 5 |
19823 |
+fi |
19824 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
19825 |
+$as_echo "yes" >&6; } |
19826 |
+test "$program_prefix" != NONE && |
19827 |
+ program_transform_name="s&^&$program_prefix&;$program_transform_name" |
19828 |
+# Use a double $ so make ignores it. |
19829 |
+test "$program_suffix" != NONE && |
19830 |
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
19831 |
+# Double any \ or $. |
19832 |
+# By default was `s,x,x', remove it if useless. |
19833 |
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
19834 |
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
19835 |
+ |
19836 |
+# expand $ac_aux_dir to an absolute path |
19837 |
+am_aux_dir=`cd $ac_aux_dir && pwd` |
19838 |
+ |
19839 |
+if test x"${MISSING+set}" != xset; then |
19840 |
+ case $am_aux_dir in |
19841 |
+ *\ * | *\ *) |
19842 |
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
19843 |
+ *) |
19844 |
+ MISSING="\${SHELL} $am_aux_dir/missing" ;; |
19845 |
+ esac |
19846 |
+fi |
19847 |
+# Use eval to expand $SHELL |
19848 |
+if eval "$MISSING --run true"; then |
19849 |
+ am_missing_run="$MISSING --run " |
19850 |
+else |
19851 |
+ am_missing_run= |
19852 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
19853 |
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
19854 |
+fi |
19855 |
+ |
19856 |
+if test x"${install_sh}" != xset; then |
19857 |
+ case $am_aux_dir in |
19858 |
+ *\ * | *\ *) |
19859 |
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
19860 |
+ *) |
19861 |
+ install_sh="\${SHELL} $am_aux_dir/install-sh" |
19862 |
+ esac |
19863 |
+fi |
19864 |
+ |
19865 |
+# Installed binaries are usually stripped using `strip' when the user |
19866 |
+# run `make install-strip'. However `strip' might not be the right |
19867 |
+# tool to use in cross-compilation environments, therefore Automake |
19868 |
+# will honor the `STRIP' environment variable to overrule this program. |
19869 |
+if test "$cross_compiling" != no; then |
19870 |
+ if test -n "$ac_tool_prefix"; then |
19871 |
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
19872 |
+set dummy ${ac_tool_prefix}strip; ac_word=$2 |
19873 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
19874 |
+$as_echo_n "checking for $ac_word... " >&6; } |
19875 |
+if ${ac_cv_prog_STRIP+:} false; then : |
19876 |
+ $as_echo_n "(cached) " >&6 |
19877 |
+else |
19878 |
+ if test -n "$STRIP"; then |
19879 |
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
19880 |
+else |
19881 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
19882 |
+for as_dir in $PATH |
19883 |
+do |
19884 |
+ IFS=$as_save_IFS |
19885 |
+ test -z "$as_dir" && as_dir=. |
19886 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
19887 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
19888 |
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
19889 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
19890 |
+ break 2 |
19891 |
+ fi |
19892 |
+done |
19893 |
+ done |
19894 |
+IFS=$as_save_IFS |
19895 |
+ |
19896 |
+fi |
19897 |
+fi |
19898 |
+STRIP=$ac_cv_prog_STRIP |
19899 |
+if test -n "$STRIP"; then |
19900 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
19901 |
+$as_echo "$STRIP" >&6; } |
19902 |
+else |
19903 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
19904 |
+$as_echo "no" >&6; } |
19905 |
+fi |
19906 |
+ |
19907 |
+ |
19908 |
+fi |
19909 |
+if test -z "$ac_cv_prog_STRIP"; then |
19910 |
+ ac_ct_STRIP=$STRIP |
19911 |
+ # Extract the first word of "strip", so it can be a program name with args. |
19912 |
+set dummy strip; ac_word=$2 |
19913 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
19914 |
+$as_echo_n "checking for $ac_word... " >&6; } |
19915 |
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
19916 |
+ $as_echo_n "(cached) " >&6 |
19917 |
+else |
19918 |
+ if test -n "$ac_ct_STRIP"; then |
19919 |
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
19920 |
+else |
19921 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
19922 |
+for as_dir in $PATH |
19923 |
+do |
19924 |
+ IFS=$as_save_IFS |
19925 |
+ test -z "$as_dir" && as_dir=. |
19926 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
19927 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
19928 |
+ ac_cv_prog_ac_ct_STRIP="strip" |
19929 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
19930 |
+ break 2 |
19931 |
+ fi |
19932 |
+done |
19933 |
+ done |
19934 |
+IFS=$as_save_IFS |
19935 |
+ |
19936 |
+fi |
19937 |
+fi |
19938 |
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
19939 |
+if test -n "$ac_ct_STRIP"; then |
19940 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
19941 |
+$as_echo "$ac_ct_STRIP" >&6; } |
19942 |
+else |
19943 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
19944 |
+$as_echo "no" >&6; } |
19945 |
+fi |
19946 |
+ |
19947 |
+ if test "x$ac_ct_STRIP" = x; then |
19948 |
+ STRIP=":" |
19949 |
+ else |
19950 |
+ case $cross_compiling:$ac_tool_warned in |
19951 |
+yes:) |
19952 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
19953 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
19954 |
+ac_tool_warned=yes ;; |
19955 |
+esac |
19956 |
+ STRIP=$ac_ct_STRIP |
19957 |
+ fi |
19958 |
+else |
19959 |
+ STRIP="$ac_cv_prog_STRIP" |
19960 |
+fi |
19961 |
+ |
19962 |
+fi |
19963 |
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
19964 |
+ |
19965 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
19966 |
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
19967 |
+if test -z "$MKDIR_P"; then |
19968 |
+ if ${ac_cv_path_mkdir+:} false; then : |
19969 |
+ $as_echo_n "(cached) " >&6 |
19970 |
+else |
19971 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
19972 |
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
19973 |
+do |
19974 |
+ IFS=$as_save_IFS |
19975 |
+ test -z "$as_dir" && as_dir=. |
19976 |
+ for ac_prog in mkdir gmkdir; do |
19977 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
19978 |
+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
19979 |
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
19980 |
+ 'mkdir (GNU coreutils) '* | \ |
19981 |
+ 'mkdir (coreutils) '* | \ |
19982 |
+ 'mkdir (fileutils) '4.1*) |
19983 |
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
19984 |
+ break 3;; |
19985 |
+ esac |
19986 |
+ done |
19987 |
+ done |
19988 |
+ done |
19989 |
+IFS=$as_save_IFS |
19990 |
+ |
19991 |
+fi |
19992 |
+ |
19993 |
+ test -d ./--version && rmdir ./--version |
19994 |
+ if test "${ac_cv_path_mkdir+set}" = set; then |
19995 |
+ MKDIR_P="$ac_cv_path_mkdir -p" |
19996 |
+ else |
19997 |
+ # As a last resort, use the slow shell script. Don't cache a |
19998 |
+ # value for MKDIR_P within a source directory, because that will |
19999 |
+ # break other packages using the cache if that directory is |
20000 |
+ # removed, or if the value is a relative name. |
20001 |
+ MKDIR_P="$ac_install_sh -d" |
20002 |
+ fi |
20003 |
+fi |
20004 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
20005 |
+$as_echo "$MKDIR_P" >&6; } |
20006 |
+ |
20007 |
+mkdir_p="$MKDIR_P" |
20008 |
+case $mkdir_p in |
20009 |
+ [\\/$]* | ?:[\\/]*) ;; |
20010 |
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
20011 |
+esac |
20012 |
+ |
20013 |
+for ac_prog in gawk mawk nawk awk |
20014 |
+do |
20015 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
20016 |
+set dummy $ac_prog; ac_word=$2 |
20017 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
20018 |
+$as_echo_n "checking for $ac_word... " >&6; } |
20019 |
+if ${ac_cv_prog_AWK+:} false; then : |
20020 |
+ $as_echo_n "(cached) " >&6 |
20021 |
+else |
20022 |
+ if test -n "$AWK"; then |
20023 |
+ ac_cv_prog_AWK="$AWK" # Let the user override the test. |
20024 |
+else |
20025 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20026 |
+for as_dir in $PATH |
20027 |
+do |
20028 |
+ IFS=$as_save_IFS |
20029 |
+ test -z "$as_dir" && as_dir=. |
20030 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
20031 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
20032 |
+ ac_cv_prog_AWK="$ac_prog" |
20033 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20034 |
+ break 2 |
20035 |
+ fi |
20036 |
+done |
20037 |
+ done |
20038 |
+IFS=$as_save_IFS |
20039 |
+ |
20040 |
+fi |
20041 |
+fi |
20042 |
+AWK=$ac_cv_prog_AWK |
20043 |
+if test -n "$AWK"; then |
20044 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
20045 |
+$as_echo "$AWK" >&6; } |
20046 |
+else |
20047 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20048 |
+$as_echo "no" >&6; } |
20049 |
+fi |
20050 |
+ |
20051 |
+ |
20052 |
+ test -n "$AWK" && break |
20053 |
+done |
20054 |
+ |
20055 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
20056 |
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
20057 |
+set x ${MAKE-make} |
20058 |
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
20059 |
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
20060 |
+ $as_echo_n "(cached) " >&6 |
20061 |
+else |
20062 |
+ cat >conftest.make <<\_ACEOF |
20063 |
+SHELL = /bin/sh |
20064 |
+all: |
20065 |
+ @echo '@@@%%%=$(MAKE)=@@@%%%' |
20066 |
+_ACEOF |
20067 |
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
20068 |
+case `${MAKE-make} -f conftest.make 2>/dev/null` in |
20069 |
+ *@@@%%%=?*=@@@%%%*) |
20070 |
+ eval ac_cv_prog_make_${ac_make}_set=yes;; |
20071 |
+ *) |
20072 |
+ eval ac_cv_prog_make_${ac_make}_set=no;; |
20073 |
+esac |
20074 |
+rm -f conftest.make |
20075 |
+fi |
20076 |
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
20077 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
20078 |
+$as_echo "yes" >&6; } |
20079 |
+ SET_MAKE= |
20080 |
+else |
20081 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20082 |
+$as_echo "no" >&6; } |
20083 |
+ SET_MAKE="MAKE=${MAKE-make}" |
20084 |
+fi |
20085 |
+ |
20086 |
+rm -rf .tst 2>/dev/null |
20087 |
+mkdir .tst 2>/dev/null |
20088 |
+if test -d .tst; then |
20089 |
+ am__leading_dot=. |
20090 |
+else |
20091 |
+ am__leading_dot=_ |
20092 |
+fi |
20093 |
+rmdir .tst 2>/dev/null |
20094 |
+ |
20095 |
+if test "`cd $srcdir && pwd`" != "`pwd`"; then |
20096 |
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
20097 |
+ # is not polluted with repeated "-I." |
20098 |
+ am__isrc=' -I$(srcdir)' |
20099 |
+ # test to see if srcdir already configured |
20100 |
+ if test -f $srcdir/config.status; then |
20101 |
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
20102 |
+ fi |
20103 |
+fi |
20104 |
+ |
20105 |
+# test whether we have cygpath |
20106 |
+if test -z "$CYGPATH_W"; then |
20107 |
+ if (cygpath --version) >/dev/null 2>/dev/null; then |
20108 |
+ CYGPATH_W='cygpath -w' |
20109 |
+ else |
20110 |
+ CYGPATH_W=echo |
20111 |
+ fi |
20112 |
+fi |
20113 |
+ |
20114 |
+ |
20115 |
+# Define the identity of the package. |
20116 |
+ PACKAGE='elfix' |
20117 |
+ VERSION='0.4.0' |
20118 |
+ |
20119 |
+ |
20120 |
+cat >>confdefs.h <<_ACEOF |
20121 |
+#define PACKAGE "$PACKAGE" |
20122 |
+_ACEOF |
20123 |
+ |
20124 |
+ |
20125 |
+cat >>confdefs.h <<_ACEOF |
20126 |
+#define VERSION "$VERSION" |
20127 |
+_ACEOF |
20128 |
+ |
20129 |
+# Some tools Automake needs. |
20130 |
+ |
20131 |
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
20132 |
+ |
20133 |
+ |
20134 |
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
20135 |
+ |
20136 |
+ |
20137 |
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
20138 |
+ |
20139 |
+ |
20140 |
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
20141 |
+ |
20142 |
+ |
20143 |
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
20144 |
+ |
20145 |
+# We need awk for the "check" target. The system "awk" is bad on |
20146 |
+# some platforms. |
20147 |
+# Always define AMTAR for backward compatibility. |
20148 |
+ |
20149 |
+AMTAR=${AMTAR-"${am_missing_run}tar"} |
20150 |
+ |
20151 |
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
20152 |
+ |
20153 |
+ |
20154 |
+ |
20155 |
+ |
20156 |
+ |
20157 |
+ |
20158 |
+# Check whether --enable-tests was given. |
20159 |
+if test "${enable_tests+set}" = set; then : |
20160 |
+ enableval=$enable_tests; |
20161 |
+ if test "x$enable_tests" = "xyes"; then : |
20162 |
+ |
20163 |
+ # Extract the first word of "yasm", so it can be a program name with args. |
20164 |
+set dummy yasm; ac_word=$2 |
20165 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
20166 |
+$as_echo_n "checking for $ac_word... " >&6; } |
20167 |
+if ${ac_cv_prog_has_yasm+:} false; then : |
20168 |
+ $as_echo_n "(cached) " >&6 |
20169 |
+else |
20170 |
+ if test -n "$has_yasm"; then |
20171 |
+ ac_cv_prog_has_yasm="$has_yasm" # Let the user override the test. |
20172 |
+else |
20173 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20174 |
+for as_dir in $PATH |
20175 |
+do |
20176 |
+ IFS=$as_save_IFS |
20177 |
+ test -z "$as_dir" && as_dir=. |
20178 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
20179 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
20180 |
+ ac_cv_prog_has_yasm=""yes"" |
20181 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20182 |
+ break 2 |
20183 |
+ fi |
20184 |
+done |
20185 |
+ done |
20186 |
+IFS=$as_save_IFS |
20187 |
+ |
20188 |
+ test -z "$ac_cv_prog_has_yasm" && ac_cv_prog_has_yasm=""no"" |
20189 |
+fi |
20190 |
+fi |
20191 |
+has_yasm=$ac_cv_prog_has_yasm |
20192 |
+if test -n "$has_yasm"; then |
20193 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_yasm" >&5 |
20194 |
+$as_echo "$has_yasm" >&6; } |
20195 |
+else |
20196 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20197 |
+$as_echo "no" >&6; } |
20198 |
+fi |
20199 |
+ |
20200 |
+ |
20201 |
+ if test "x$has_yasm" = "xno"; then : |
20202 |
+ as_fn_error $? "\"Missing yasm assembler\"" "$LINENO" 5 |
20203 |
+fi |
20204 |
+ |
20205 |
+ |
20206 |
+fi |
20207 |
+ |
20208 |
+ |
20209 |
+fi |
20210 |
+ |
20211 |
+ if test "x$has_yasm" = "xyes"; then |
20212 |
+ TEST_TRUE= |
20213 |
+ TEST_FALSE='#' |
20214 |
+else |
20215 |
+ TEST_TRUE='#' |
20216 |
+ TEST_FALSE= |
20217 |
+fi |
20218 |
+ |
20219 |
+ |
20220 |
+DEPDIR="${am__leading_dot}deps" |
20221 |
+ |
20222 |
+ac_config_commands="$ac_config_commands depfiles" |
20223 |
+ |
20224 |
+ |
20225 |
+am_make=${MAKE-make} |
20226 |
+cat > confinc << 'END' |
20227 |
+am__doit: |
20228 |
+ @echo this is the am__doit target |
20229 |
+.PHONY: am__doit |
20230 |
+END |
20231 |
+# If we don't find an include directive, just comment out the code. |
20232 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
20233 |
+$as_echo_n "checking for style of include used by $am_make... " >&6; } |
20234 |
+am__include="#" |
20235 |
+am__quote= |
20236 |
+_am_result=none |
20237 |
+# First try GNU make style include. |
20238 |
+echo "include confinc" > confmf |
20239 |
+# Ignore all kinds of additional output from `make'. |
20240 |
+case `$am_make -s -f confmf 2> /dev/null` in #( |
20241 |
+*the\ am__doit\ target*) |
20242 |
+ am__include=include |
20243 |
+ am__quote= |
20244 |
+ _am_result=GNU |
20245 |
+ ;; |
20246 |
+esac |
20247 |
+# Now try BSD make style include. |
20248 |
+if test "$am__include" = "#"; then |
20249 |
+ echo '.include "confinc"' > confmf |
20250 |
+ case `$am_make -s -f confmf 2> /dev/null` in #( |
20251 |
+ *the\ am__doit\ target*) |
20252 |
+ am__include=.include |
20253 |
+ am__quote="\"" |
20254 |
+ _am_result=BSD |
20255 |
+ ;; |
20256 |
+ esac |
20257 |
+fi |
20258 |
+ |
20259 |
+ |
20260 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
20261 |
+$as_echo "$_am_result" >&6; } |
20262 |
+rm -f confinc confmf |
20263 |
+ |
20264 |
+# Check whether --enable-dependency-tracking was given. |
20265 |
+if test "${enable_dependency_tracking+set}" = set; then : |
20266 |
+ enableval=$enable_dependency_tracking; |
20267 |
+fi |
20268 |
+ |
20269 |
+if test "x$enable_dependency_tracking" != xno; then |
20270 |
+ am_depcomp="$ac_aux_dir/depcomp" |
20271 |
+ AMDEPBACKSLASH='\' |
20272 |
+fi |
20273 |
+ if test "x$enable_dependency_tracking" != xno; then |
20274 |
+ AMDEP_TRUE= |
20275 |
+ AMDEP_FALSE='#' |
20276 |
+else |
20277 |
+ AMDEP_TRUE='#' |
20278 |
+ AMDEP_FALSE= |
20279 |
+fi |
20280 |
+ |
20281 |
+ |
20282 |
+ac_ext=c |
20283 |
+ac_cpp='$CPP $CPPFLAGS' |
20284 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
20285 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
20286 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
20287 |
+if test -n "$ac_tool_prefix"; then |
20288 |
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
20289 |
+set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
20290 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
20291 |
+$as_echo_n "checking for $ac_word... " >&6; } |
20292 |
+if ${ac_cv_prog_CC+:} false; then : |
20293 |
+ $as_echo_n "(cached) " >&6 |
20294 |
+else |
20295 |
+ if test -n "$CC"; then |
20296 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
20297 |
+else |
20298 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20299 |
+for as_dir in $PATH |
20300 |
+do |
20301 |
+ IFS=$as_save_IFS |
20302 |
+ test -z "$as_dir" && as_dir=. |
20303 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
20304 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
20305 |
+ ac_cv_prog_CC="${ac_tool_prefix}gcc" |
20306 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20307 |
+ break 2 |
20308 |
+ fi |
20309 |
+done |
20310 |
+ done |
20311 |
+IFS=$as_save_IFS |
20312 |
+ |
20313 |
+fi |
20314 |
+fi |
20315 |
+CC=$ac_cv_prog_CC |
20316 |
+if test -n "$CC"; then |
20317 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
20318 |
+$as_echo "$CC" >&6; } |
20319 |
+else |
20320 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20321 |
+$as_echo "no" >&6; } |
20322 |
+fi |
20323 |
+ |
20324 |
+ |
20325 |
+fi |
20326 |
+if test -z "$ac_cv_prog_CC"; then |
20327 |
+ ac_ct_CC=$CC |
20328 |
+ # Extract the first word of "gcc", so it can be a program name with args. |
20329 |
+set dummy gcc; ac_word=$2 |
20330 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
20331 |
+$as_echo_n "checking for $ac_word... " >&6; } |
20332 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
20333 |
+ $as_echo_n "(cached) " >&6 |
20334 |
+else |
20335 |
+ if test -n "$ac_ct_CC"; then |
20336 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
20337 |
+else |
20338 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20339 |
+for as_dir in $PATH |
20340 |
+do |
20341 |
+ IFS=$as_save_IFS |
20342 |
+ test -z "$as_dir" && as_dir=. |
20343 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
20344 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
20345 |
+ ac_cv_prog_ac_ct_CC="gcc" |
20346 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20347 |
+ break 2 |
20348 |
+ fi |
20349 |
+done |
20350 |
+ done |
20351 |
+IFS=$as_save_IFS |
20352 |
+ |
20353 |
+fi |
20354 |
+fi |
20355 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
20356 |
+if test -n "$ac_ct_CC"; then |
20357 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
20358 |
+$as_echo "$ac_ct_CC" >&6; } |
20359 |
+else |
20360 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20361 |
+$as_echo "no" >&6; } |
20362 |
+fi |
20363 |
+ |
20364 |
+ if test "x$ac_ct_CC" = x; then |
20365 |
+ CC="" |
20366 |
+ else |
20367 |
+ case $cross_compiling:$ac_tool_warned in |
20368 |
+yes:) |
20369 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
20370 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
20371 |
+ac_tool_warned=yes ;; |
20372 |
+esac |
20373 |
+ CC=$ac_ct_CC |
20374 |
+ fi |
20375 |
+else |
20376 |
+ CC="$ac_cv_prog_CC" |
20377 |
+fi |
20378 |
+ |
20379 |
+if test -z "$CC"; then |
20380 |
+ if test -n "$ac_tool_prefix"; then |
20381 |
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
20382 |
+set dummy ${ac_tool_prefix}cc; ac_word=$2 |
20383 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
20384 |
+$as_echo_n "checking for $ac_word... " >&6; } |
20385 |
+if ${ac_cv_prog_CC+:} false; then : |
20386 |
+ $as_echo_n "(cached) " >&6 |
20387 |
+else |
20388 |
+ if test -n "$CC"; then |
20389 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
20390 |
+else |
20391 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20392 |
+for as_dir in $PATH |
20393 |
+do |
20394 |
+ IFS=$as_save_IFS |
20395 |
+ test -z "$as_dir" && as_dir=. |
20396 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
20397 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
20398 |
+ ac_cv_prog_CC="${ac_tool_prefix}cc" |
20399 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20400 |
+ break 2 |
20401 |
+ fi |
20402 |
+done |
20403 |
+ done |
20404 |
+IFS=$as_save_IFS |
20405 |
+ |
20406 |
+fi |
20407 |
+fi |
20408 |
+CC=$ac_cv_prog_CC |
20409 |
+if test -n "$CC"; then |
20410 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
20411 |
+$as_echo "$CC" >&6; } |
20412 |
+else |
20413 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20414 |
+$as_echo "no" >&6; } |
20415 |
+fi |
20416 |
+ |
20417 |
+ |
20418 |
+ fi |
20419 |
+fi |
20420 |
+if test -z "$CC"; then |
20421 |
+ # Extract the first word of "cc", so it can be a program name with args. |
20422 |
+set dummy cc; ac_word=$2 |
20423 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
20424 |
+$as_echo_n "checking for $ac_word... " >&6; } |
20425 |
+if ${ac_cv_prog_CC+:} false; then : |
20426 |
+ $as_echo_n "(cached) " >&6 |
20427 |
+else |
20428 |
+ if test -n "$CC"; then |
20429 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
20430 |
+else |
20431 |
+ ac_prog_rejected=no |
20432 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20433 |
+for as_dir in $PATH |
20434 |
+do |
20435 |
+ IFS=$as_save_IFS |
20436 |
+ test -z "$as_dir" && as_dir=. |
20437 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
20438 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
20439 |
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
20440 |
+ ac_prog_rejected=yes |
20441 |
+ continue |
20442 |
+ fi |
20443 |
+ ac_cv_prog_CC="cc" |
20444 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20445 |
+ break 2 |
20446 |
+ fi |
20447 |
+done |
20448 |
+ done |
20449 |
+IFS=$as_save_IFS |
20450 |
+ |
20451 |
+if test $ac_prog_rejected = yes; then |
20452 |
+ # We found a bogon in the path, so make sure we never use it. |
20453 |
+ set dummy $ac_cv_prog_CC |
20454 |
+ shift |
20455 |
+ if test $# != 0; then |
20456 |
+ # We chose a different compiler from the bogus one. |
20457 |
+ # However, it has the same basename, so the bogon will be chosen |
20458 |
+ # first if we set CC to just the basename; use the full file name. |
20459 |
+ shift |
20460 |
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
20461 |
+ fi |
20462 |
+fi |
20463 |
+fi |
20464 |
+fi |
20465 |
+CC=$ac_cv_prog_CC |
20466 |
+if test -n "$CC"; then |
20467 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
20468 |
+$as_echo "$CC" >&6; } |
20469 |
+else |
20470 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20471 |
+$as_echo "no" >&6; } |
20472 |
+fi |
20473 |
+ |
20474 |
+ |
20475 |
+fi |
20476 |
+if test -z "$CC"; then |
20477 |
+ if test -n "$ac_tool_prefix"; then |
20478 |
+ for ac_prog in cl.exe |
20479 |
+ do |
20480 |
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
20481 |
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
20482 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
20483 |
+$as_echo_n "checking for $ac_word... " >&6; } |
20484 |
+if ${ac_cv_prog_CC+:} false; then : |
20485 |
+ $as_echo_n "(cached) " >&6 |
20486 |
+else |
20487 |
+ if test -n "$CC"; then |
20488 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
20489 |
+else |
20490 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20491 |
+for as_dir in $PATH |
20492 |
+do |
20493 |
+ IFS=$as_save_IFS |
20494 |
+ test -z "$as_dir" && as_dir=. |
20495 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
20496 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
20497 |
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
20498 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20499 |
+ break 2 |
20500 |
+ fi |
20501 |
+done |
20502 |
+ done |
20503 |
+IFS=$as_save_IFS |
20504 |
+ |
20505 |
+fi |
20506 |
+fi |
20507 |
+CC=$ac_cv_prog_CC |
20508 |
+if test -n "$CC"; then |
20509 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
20510 |
+$as_echo "$CC" >&6; } |
20511 |
+else |
20512 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20513 |
+$as_echo "no" >&6; } |
20514 |
+fi |
20515 |
+ |
20516 |
+ |
20517 |
+ test -n "$CC" && break |
20518 |
+ done |
20519 |
+fi |
20520 |
+if test -z "$CC"; then |
20521 |
+ ac_ct_CC=$CC |
20522 |
+ for ac_prog in cl.exe |
20523 |
+do |
20524 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
20525 |
+set dummy $ac_prog; ac_word=$2 |
20526 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
20527 |
+$as_echo_n "checking for $ac_word... " >&6; } |
20528 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
20529 |
+ $as_echo_n "(cached) " >&6 |
20530 |
+else |
20531 |
+ if test -n "$ac_ct_CC"; then |
20532 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
20533 |
+else |
20534 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
20535 |
+for as_dir in $PATH |
20536 |
+do |
20537 |
+ IFS=$as_save_IFS |
20538 |
+ test -z "$as_dir" && as_dir=. |
20539 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
20540 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
20541 |
+ ac_cv_prog_ac_ct_CC="$ac_prog" |
20542 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
20543 |
+ break 2 |
20544 |
+ fi |
20545 |
+done |
20546 |
+ done |
20547 |
+IFS=$as_save_IFS |
20548 |
+ |
20549 |
+fi |
20550 |
+fi |
20551 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
20552 |
+if test -n "$ac_ct_CC"; then |
20553 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
20554 |
+$as_echo "$ac_ct_CC" >&6; } |
20555 |
+else |
20556 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20557 |
+$as_echo "no" >&6; } |
20558 |
+fi |
20559 |
+ |
20560 |
+ |
20561 |
+ test -n "$ac_ct_CC" && break |
20562 |
+done |
20563 |
+ |
20564 |
+ if test "x$ac_ct_CC" = x; then |
20565 |
+ CC="" |
20566 |
+ else |
20567 |
+ case $cross_compiling:$ac_tool_warned in |
20568 |
+yes:) |
20569 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
20570 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
20571 |
+ac_tool_warned=yes ;; |
20572 |
+esac |
20573 |
+ CC=$ac_ct_CC |
20574 |
+ fi |
20575 |
+fi |
20576 |
+ |
20577 |
+fi |
20578 |
+ |
20579 |
+ |
20580 |
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
20581 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
20582 |
+as_fn_error $? "no acceptable C compiler found in \$PATH |
20583 |
+See \`config.log' for more details" "$LINENO" 5; } |
20584 |
+ |
20585 |
+# Provide some information about the compiler. |
20586 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
20587 |
+set X $ac_compile |
20588 |
+ac_compiler=$2 |
20589 |
+for ac_option in --version -v -V -qversion; do |
20590 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
20591 |
+case "(($ac_try" in |
20592 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20593 |
+ *) ac_try_echo=$ac_try;; |
20594 |
+esac |
20595 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
20596 |
+$as_echo "$ac_try_echo"; } >&5 |
20597 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
20598 |
+ ac_status=$? |
20599 |
+ if test -s conftest.err; then |
20600 |
+ sed '10a\ |
20601 |
+... rest of stderr output deleted ... |
20602 |
+ 10q' conftest.err >conftest.er1 |
20603 |
+ cat conftest.er1 >&5 |
20604 |
+ fi |
20605 |
+ rm -f conftest.er1 conftest.err |
20606 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
20607 |
+ test $ac_status = 0; } |
20608 |
+done |
20609 |
+ |
20610 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20611 |
+/* end confdefs.h. */ |
20612 |
+ |
20613 |
+int |
20614 |
+main () |
20615 |
+{ |
20616 |
+ |
20617 |
+ ; |
20618 |
+ return 0; |
20619 |
+} |
20620 |
+_ACEOF |
20621 |
+ac_clean_files_save=$ac_clean_files |
20622 |
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
20623 |
+# Try to create an executable without -o first, disregard a.out. |
20624 |
+# It will help us diagnose broken compilers, and finding out an intuition |
20625 |
+# of exeext. |
20626 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
20627 |
+$as_echo_n "checking whether the C compiler works... " >&6; } |
20628 |
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
20629 |
+ |
20630 |
+# The possible output files: |
20631 |
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
20632 |
+ |
20633 |
+ac_rmfiles= |
20634 |
+for ac_file in $ac_files |
20635 |
+do |
20636 |
+ case $ac_file in |
20637 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
20638 |
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
20639 |
+ esac |
20640 |
+done |
20641 |
+rm -f $ac_rmfiles |
20642 |
+ |
20643 |
+if { { ac_try="$ac_link_default" |
20644 |
+case "(($ac_try" in |
20645 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20646 |
+ *) ac_try_echo=$ac_try;; |
20647 |
+esac |
20648 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
20649 |
+$as_echo "$ac_try_echo"; } >&5 |
20650 |
+ (eval "$ac_link_default") 2>&5 |
20651 |
+ ac_status=$? |
20652 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
20653 |
+ test $ac_status = 0; }; then : |
20654 |
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
20655 |
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
20656 |
+# in a Makefile. We should not override ac_cv_exeext if it was cached, |
20657 |
+# so that the user can short-circuit this test for compilers unknown to |
20658 |
+# Autoconf. |
20659 |
+for ac_file in $ac_files '' |
20660 |
+do |
20661 |
+ test -f "$ac_file" || continue |
20662 |
+ case $ac_file in |
20663 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
20664 |
+ ;; |
20665 |
+ [ab].out ) |
20666 |
+ # We found the default executable, but exeext='' is most |
20667 |
+ # certainly right. |
20668 |
+ break;; |
20669 |
+ *.* ) |
20670 |
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
20671 |
+ then :; else |
20672 |
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
20673 |
+ fi |
20674 |
+ # We set ac_cv_exeext here because the later test for it is not |
20675 |
+ # safe: cross compilers may not add the suffix if given an `-o' |
20676 |
+ # argument, so we may need to know it at that point already. |
20677 |
+ # Even if this section looks crufty: it has the advantage of |
20678 |
+ # actually working. |
20679 |
+ break;; |
20680 |
+ * ) |
20681 |
+ break;; |
20682 |
+ esac |
20683 |
+done |
20684 |
+test "$ac_cv_exeext" = no && ac_cv_exeext= |
20685 |
+ |
20686 |
+else |
20687 |
+ ac_file='' |
20688 |
+fi |
20689 |
+if test -z "$ac_file"; then : |
20690 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20691 |
+$as_echo "no" >&6; } |
20692 |
+$as_echo "$as_me: failed program was:" >&5 |
20693 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
20694 |
+ |
20695 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
20696 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
20697 |
+as_fn_error 77 "C compiler cannot create executables |
20698 |
+See \`config.log' for more details" "$LINENO" 5; } |
20699 |
+else |
20700 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
20701 |
+$as_echo "yes" >&6; } |
20702 |
+fi |
20703 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
20704 |
+$as_echo_n "checking for C compiler default output file name... " >&6; } |
20705 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
20706 |
+$as_echo "$ac_file" >&6; } |
20707 |
+ac_exeext=$ac_cv_exeext |
20708 |
+ |
20709 |
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
20710 |
+ac_clean_files=$ac_clean_files_save |
20711 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
20712 |
+$as_echo_n "checking for suffix of executables... " >&6; } |
20713 |
+if { { ac_try="$ac_link" |
20714 |
+case "(($ac_try" in |
20715 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20716 |
+ *) ac_try_echo=$ac_try;; |
20717 |
+esac |
20718 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
20719 |
+$as_echo "$ac_try_echo"; } >&5 |
20720 |
+ (eval "$ac_link") 2>&5 |
20721 |
+ ac_status=$? |
20722 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
20723 |
+ test $ac_status = 0; }; then : |
20724 |
+ # If both `conftest.exe' and `conftest' are `present' (well, observable) |
20725 |
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
20726 |
+# work properly (i.e., refer to `conftest.exe'), while it won't with |
20727 |
+# `rm'. |
20728 |
+for ac_file in conftest.exe conftest conftest.*; do |
20729 |
+ test -f "$ac_file" || continue |
20730 |
+ case $ac_file in |
20731 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
20732 |
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
20733 |
+ break;; |
20734 |
+ * ) break;; |
20735 |
+ esac |
20736 |
+done |
20737 |
+else |
20738 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
20739 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
20740 |
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
20741 |
+See \`config.log' for more details" "$LINENO" 5; } |
20742 |
+fi |
20743 |
+rm -f conftest conftest$ac_cv_exeext |
20744 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
20745 |
+$as_echo "$ac_cv_exeext" >&6; } |
20746 |
+ |
20747 |
+rm -f conftest.$ac_ext |
20748 |
+EXEEXT=$ac_cv_exeext |
20749 |
+ac_exeext=$EXEEXT |
20750 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20751 |
+/* end confdefs.h. */ |
20752 |
+#include <stdio.h> |
20753 |
+int |
20754 |
+main () |
20755 |
+{ |
20756 |
+FILE *f = fopen ("conftest.out", "w"); |
20757 |
+ return ferror (f) || fclose (f) != 0; |
20758 |
+ |
20759 |
+ ; |
20760 |
+ return 0; |
20761 |
+} |
20762 |
+_ACEOF |
20763 |
+ac_clean_files="$ac_clean_files conftest.out" |
20764 |
+# Check that the compiler produces executables we can run. If not, either |
20765 |
+# the compiler is broken, or we cross compile. |
20766 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
20767 |
+$as_echo_n "checking whether we are cross compiling... " >&6; } |
20768 |
+if test "$cross_compiling" != yes; then |
20769 |
+ { { ac_try="$ac_link" |
20770 |
+case "(($ac_try" in |
20771 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20772 |
+ *) ac_try_echo=$ac_try;; |
20773 |
+esac |
20774 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
20775 |
+$as_echo "$ac_try_echo"; } >&5 |
20776 |
+ (eval "$ac_link") 2>&5 |
20777 |
+ ac_status=$? |
20778 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
20779 |
+ test $ac_status = 0; } |
20780 |
+ if { ac_try='./conftest$ac_cv_exeext' |
20781 |
+ { { case "(($ac_try" in |
20782 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20783 |
+ *) ac_try_echo=$ac_try;; |
20784 |
+esac |
20785 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
20786 |
+$as_echo "$ac_try_echo"; } >&5 |
20787 |
+ (eval "$ac_try") 2>&5 |
20788 |
+ ac_status=$? |
20789 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
20790 |
+ test $ac_status = 0; }; }; then |
20791 |
+ cross_compiling=no |
20792 |
+ else |
20793 |
+ if test "$cross_compiling" = maybe; then |
20794 |
+ cross_compiling=yes |
20795 |
+ else |
20796 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
20797 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
20798 |
+as_fn_error $? "cannot run C compiled programs. |
20799 |
+If you meant to cross compile, use \`--host'. |
20800 |
+See \`config.log' for more details" "$LINENO" 5; } |
20801 |
+ fi |
20802 |
+ fi |
20803 |
+fi |
20804 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
20805 |
+$as_echo "$cross_compiling" >&6; } |
20806 |
+ |
20807 |
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
20808 |
+ac_clean_files=$ac_clean_files_save |
20809 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
20810 |
+$as_echo_n "checking for suffix of object files... " >&6; } |
20811 |
+if ${ac_cv_objext+:} false; then : |
20812 |
+ $as_echo_n "(cached) " >&6 |
20813 |
+else |
20814 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20815 |
+/* end confdefs.h. */ |
20816 |
+ |
20817 |
+int |
20818 |
+main () |
20819 |
+{ |
20820 |
+ |
20821 |
+ ; |
20822 |
+ return 0; |
20823 |
+} |
20824 |
+_ACEOF |
20825 |
+rm -f conftest.o conftest.obj |
20826 |
+if { { ac_try="$ac_compile" |
20827 |
+case "(($ac_try" in |
20828 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20829 |
+ *) ac_try_echo=$ac_try;; |
20830 |
+esac |
20831 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
20832 |
+$as_echo "$ac_try_echo"; } >&5 |
20833 |
+ (eval "$ac_compile") 2>&5 |
20834 |
+ ac_status=$? |
20835 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
20836 |
+ test $ac_status = 0; }; then : |
20837 |
+ for ac_file in conftest.o conftest.obj conftest.*; do |
20838 |
+ test -f "$ac_file" || continue; |
20839 |
+ case $ac_file in |
20840 |
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
20841 |
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
20842 |
+ break;; |
20843 |
+ esac |
20844 |
+done |
20845 |
+else |
20846 |
+ $as_echo "$as_me: failed program was:" >&5 |
20847 |
+sed 's/^/| /' conftest.$ac_ext >&5 |
20848 |
+ |
20849 |
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
20850 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
20851 |
+as_fn_error $? "cannot compute suffix of object files: cannot compile |
20852 |
+See \`config.log' for more details" "$LINENO" 5; } |
20853 |
+fi |
20854 |
+rm -f conftest.$ac_cv_objext conftest.$ac_ext |
20855 |
+fi |
20856 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
20857 |
+$as_echo "$ac_cv_objext" >&6; } |
20858 |
+OBJEXT=$ac_cv_objext |
20859 |
+ac_objext=$OBJEXT |
20860 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
20861 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
20862 |
+if ${ac_cv_c_compiler_gnu+:} false; then : |
20863 |
+ $as_echo_n "(cached) " >&6 |
20864 |
+else |
20865 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20866 |
+/* end confdefs.h. */ |
20867 |
+ |
20868 |
+int |
20869 |
+main () |
20870 |
+{ |
20871 |
+#ifndef __GNUC__ |
20872 |
+ choke me |
20873 |
+#endif |
20874 |
+ |
20875 |
+ ; |
20876 |
+ return 0; |
20877 |
+} |
20878 |
+_ACEOF |
20879 |
+if ac_fn_c_try_compile "$LINENO"; then : |
20880 |
+ ac_compiler_gnu=yes |
20881 |
+else |
20882 |
+ ac_compiler_gnu=no |
20883 |
+fi |
20884 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20885 |
+ac_cv_c_compiler_gnu=$ac_compiler_gnu |
20886 |
+ |
20887 |
+fi |
20888 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
20889 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
20890 |
+if test $ac_compiler_gnu = yes; then |
20891 |
+ GCC=yes |
20892 |
+else |
20893 |
+ GCC= |
20894 |
+fi |
20895 |
+ac_test_CFLAGS=${CFLAGS+set} |
20896 |
+ac_save_CFLAGS=$CFLAGS |
20897 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
20898 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
20899 |
+if ${ac_cv_prog_cc_g+:} false; then : |
20900 |
+ $as_echo_n "(cached) " >&6 |
20901 |
+else |
20902 |
+ ac_save_c_werror_flag=$ac_c_werror_flag |
20903 |
+ ac_c_werror_flag=yes |
20904 |
+ ac_cv_prog_cc_g=no |
20905 |
+ CFLAGS="-g" |
20906 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20907 |
+/* end confdefs.h. */ |
20908 |
+ |
20909 |
+int |
20910 |
+main () |
20911 |
+{ |
20912 |
+ |
20913 |
+ ; |
20914 |
+ return 0; |
20915 |
+} |
20916 |
+_ACEOF |
20917 |
+if ac_fn_c_try_compile "$LINENO"; then : |
20918 |
+ ac_cv_prog_cc_g=yes |
20919 |
+else |
20920 |
+ CFLAGS="" |
20921 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20922 |
+/* end confdefs.h. */ |
20923 |
+ |
20924 |
+int |
20925 |
+main () |
20926 |
+{ |
20927 |
+ |
20928 |
+ ; |
20929 |
+ return 0; |
20930 |
+} |
20931 |
+_ACEOF |
20932 |
+if ac_fn_c_try_compile "$LINENO"; then : |
20933 |
+ |
20934 |
+else |
20935 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
20936 |
+ CFLAGS="-g" |
20937 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20938 |
+/* end confdefs.h. */ |
20939 |
+ |
20940 |
+int |
20941 |
+main () |
20942 |
+{ |
20943 |
+ |
20944 |
+ ; |
20945 |
+ return 0; |
20946 |
+} |
20947 |
+_ACEOF |
20948 |
+if ac_fn_c_try_compile "$LINENO"; then : |
20949 |
+ ac_cv_prog_cc_g=yes |
20950 |
+fi |
20951 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20952 |
+fi |
20953 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20954 |
+fi |
20955 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20956 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
20957 |
+fi |
20958 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
20959 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
20960 |
+if test "$ac_test_CFLAGS" = set; then |
20961 |
+ CFLAGS=$ac_save_CFLAGS |
20962 |
+elif test $ac_cv_prog_cc_g = yes; then |
20963 |
+ if test "$GCC" = yes; then |
20964 |
+ CFLAGS="-g -O2" |
20965 |
+ else |
20966 |
+ CFLAGS="-g" |
20967 |
+ fi |
20968 |
+else |
20969 |
+ if test "$GCC" = yes; then |
20970 |
+ CFLAGS="-O2" |
20971 |
+ else |
20972 |
+ CFLAGS= |
20973 |
+ fi |
20974 |
+fi |
20975 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
20976 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
20977 |
+if ${ac_cv_prog_cc_c89+:} false; then : |
20978 |
+ $as_echo_n "(cached) " >&6 |
20979 |
+else |
20980 |
+ ac_cv_prog_cc_c89=no |
20981 |
+ac_save_CC=$CC |
20982 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20983 |
+/* end confdefs.h. */ |
20984 |
+#include <stdarg.h> |
20985 |
+#include <stdio.h> |
20986 |
+#include <sys/types.h> |
20987 |
+#include <sys/stat.h> |
20988 |
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
20989 |
+struct buf { int x; }; |
20990 |
+FILE * (*rcsopen) (struct buf *, struct stat *, int); |
20991 |
+static char *e (p, i) |
20992 |
+ char **p; |
20993 |
+ int i; |
20994 |
+{ |
20995 |
+ return p[i]; |
20996 |
+} |
20997 |
+static char *f (char * (*g) (char **, int), char **p, ...) |
20998 |
+{ |
20999 |
+ char *s; |
21000 |
+ va_list v; |
21001 |
+ va_start (v,p); |
21002 |
+ s = g (p, va_arg (v,int)); |
21003 |
+ va_end (v); |
21004 |
+ return s; |
21005 |
+} |
21006 |
+ |
21007 |
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
21008 |
+ function prototypes and stuff, but not '\xHH' hex character constants. |
21009 |
+ These don't provoke an error unfortunately, instead are silently treated |
21010 |
+ as 'x'. The following induces an error, until -std is added to get |
21011 |
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
21012 |
+ array size at least. It's necessary to write '\x00'==0 to get something |
21013 |
+ that's true only with -std. */ |
21014 |
+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
21015 |
+ |
21016 |
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
21017 |
+ inside strings and character constants. */ |
21018 |
+#define FOO(x) 'x' |
21019 |
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
21020 |
+ |
21021 |
+int test (int i, double x); |
21022 |
+struct s1 {int (*f) (int a);}; |
21023 |
+struct s2 {int (*f) (double a);}; |
21024 |
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
21025 |
+int argc; |
21026 |
+char **argv; |
21027 |
+int |
21028 |
+main () |
21029 |
+{ |
21030 |
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
21031 |
+ ; |
21032 |
+ return 0; |
21033 |
+} |
21034 |
+_ACEOF |
21035 |
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
21036 |
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
21037 |
+do |
21038 |
+ CC="$ac_save_CC $ac_arg" |
21039 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
21040 |
+ ac_cv_prog_cc_c89=$ac_arg |
21041 |
+fi |
21042 |
+rm -f core conftest.err conftest.$ac_objext |
21043 |
+ test "x$ac_cv_prog_cc_c89" != "xno" && break |
21044 |
+done |
21045 |
+rm -f conftest.$ac_ext |
21046 |
+CC=$ac_save_CC |
21047 |
+ |
21048 |
+fi |
21049 |
+# AC_CACHE_VAL |
21050 |
+case "x$ac_cv_prog_cc_c89" in |
21051 |
+ x) |
21052 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
21053 |
+$as_echo "none needed" >&6; } ;; |
21054 |
+ xno) |
21055 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
21056 |
+$as_echo "unsupported" >&6; } ;; |
21057 |
+ *) |
21058 |
+ CC="$CC $ac_cv_prog_cc_c89" |
21059 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
21060 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
21061 |
+esac |
21062 |
+if test "x$ac_cv_prog_cc_c89" != xno; then : |
21063 |
+ |
21064 |
+fi |
21065 |
+ |
21066 |
+ac_ext=c |
21067 |
+ac_cpp='$CPP $CPPFLAGS' |
21068 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
21069 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
21070 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
21071 |
+ |
21072 |
+depcc="$CC" am_compiler_list= |
21073 |
+ |
21074 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
21075 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
21076 |
+if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
21077 |
+ $as_echo_n "(cached) " >&6 |
21078 |
+else |
21079 |
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
21080 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
21081 |
+ # making bogus files that we don't know about and never remove. For |
21082 |
+ # instance it was reported that on HP-UX the gcc test will end up |
21083 |
+ # making a dummy file named `D' -- because `-MD' means `put the output |
21084 |
+ # in D'. |
21085 |
+ mkdir conftest.dir |
21086 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
21087 |
+ # using a relative directory. |
21088 |
+ cp "$am_depcomp" conftest.dir |
21089 |
+ cd conftest.dir |
21090 |
+ # We will build objects and dependencies in a subdirectory because |
21091 |
+ # it helps to detect inapplicable dependency modes. For instance |
21092 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
21093 |
+ # side effect of compilation, but ICC will put the dependencies in |
21094 |
+ # the current directory while Tru64 will put them in the object |
21095 |
+ # directory. |
21096 |
+ mkdir sub |
21097 |
+ |
21098 |
+ am_cv_CC_dependencies_compiler_type=none |
21099 |
+ if test "$am_compiler_list" = ""; then |
21100 |
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
21101 |
+ fi |
21102 |
+ am__universal=false |
21103 |
+ case " $depcc " in #( |
21104 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
21105 |
+ esac |
21106 |
+ |
21107 |
+ for depmode in $am_compiler_list; do |
21108 |
+ # Setup a source with many dependencies, because some compilers |
21109 |
+ # like to wrap large dependency lists on column 80 (with \), and |
21110 |
+ # we should not choose a depcomp mode which is confused by this. |
21111 |
+ # |
21112 |
+ # We need to recreate these files for each test, as the compiler may |
21113 |
+ # overwrite some of them when testing with obscure command lines. |
21114 |
+ # This happens at least with the AIX C compiler. |
21115 |
+ : > sub/conftest.c |
21116 |
+ for i in 1 2 3 4 5 6; do |
21117 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
21118 |
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
21119 |
+ # Solaris 8's {/usr,}/bin/sh. |
21120 |
+ touch sub/conftst$i.h |
21121 |
+ done |
21122 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
21123 |
+ |
21124 |
+ # We check with `-c' and `-o' for the sake of the "dashmstdout" |
21125 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
21126 |
+ # handle `-M -o', and we need to detect this. Also, some Intel |
21127 |
+ # versions had trouble with output in subdirs |
21128 |
+ am__obj=sub/conftest.${OBJEXT-o} |
21129 |
+ am__minus_obj="-o $am__obj" |
21130 |
+ case $depmode in |
21131 |
+ gcc) |
21132 |
+ # This depmode causes a compiler race in universal mode. |
21133 |
+ test "$am__universal" = false || continue |
21134 |
+ ;; |
21135 |
+ nosideeffect) |
21136 |
+ # after this tag, mechanisms are not by side-effect, so they'll |
21137 |
+ # only be used when explicitly requested |
21138 |
+ if test "x$enable_dependency_tracking" = xyes; then |
21139 |
+ continue |
21140 |
+ else |
21141 |
+ break |
21142 |
+ fi |
21143 |
+ ;; |
21144 |
+ msvisualcpp | msvcmsys) |
21145 |
+ # This compiler won't grok `-c -o', but also, the minuso test has |
21146 |
+ # not run yet. These depmodes are late enough in the game, and |
21147 |
+ # so weak that their functioning should not be impacted. |
21148 |
+ am__obj=conftest.${OBJEXT-o} |
21149 |
+ am__minus_obj= |
21150 |
+ ;; |
21151 |
+ none) break ;; |
21152 |
+ esac |
21153 |
+ if depmode=$depmode \ |
21154 |
+ source=sub/conftest.c object=$am__obj \ |
21155 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
21156 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
21157 |
+ >/dev/null 2>conftest.err && |
21158 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
21159 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
21160 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
21161 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
21162 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
21163 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
21164 |
+ # that says an option was ignored or not supported. |
21165 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
21166 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
21167 |
+ # The diagnosis changed in icc 8.0: |
21168 |
+ # icc: Command line remark: option '-MP' not supported |
21169 |
+ if (grep 'ignoring option' conftest.err || |
21170 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
21171 |
+ am_cv_CC_dependencies_compiler_type=$depmode |
21172 |
+ break |
21173 |
+ fi |
21174 |
+ fi |
21175 |
+ done |
21176 |
+ |
21177 |
+ cd .. |
21178 |
+ rm -rf conftest.dir |
21179 |
+else |
21180 |
+ am_cv_CC_dependencies_compiler_type=none |
21181 |
+fi |
21182 |
+ |
21183 |
+fi |
21184 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
21185 |
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
21186 |
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
21187 |
+ |
21188 |
+ if |
21189 |
+ test "x$enable_dependency_tracking" != xno \ |
21190 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
21191 |
+ am__fastdepCC_TRUE= |
21192 |
+ am__fastdepCC_FALSE='#' |
21193 |
+else |
21194 |
+ am__fastdepCC_TRUE='#' |
21195 |
+ am__fastdepCC_FALSE= |
21196 |
+fi |
21197 |
+ |
21198 |
+ |
21199 |
+ |
21200 |
+ac_ext=c |
21201 |
+ac_cpp='$CPP $CPPFLAGS' |
21202 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
21203 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
21204 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
21205 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
21206 |
+$as_echo_n "checking how to run the C preprocessor... " >&6; } |
21207 |
+# On Suns, sometimes $CPP names a directory. |
21208 |
+if test -n "$CPP" && test -d "$CPP"; then |
21209 |
+ CPP= |
21210 |
+fi |
21211 |
+if test -z "$CPP"; then |
21212 |
+ if ${ac_cv_prog_CPP+:} false; then : |
21213 |
+ $as_echo_n "(cached) " >&6 |
21214 |
+else |
21215 |
+ # Double quotes because CPP needs to be expanded |
21216 |
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
21217 |
+ do |
21218 |
+ ac_preproc_ok=false |
21219 |
+for ac_c_preproc_warn_flag in '' yes |
21220 |
+do |
21221 |
+ # Use a header file that comes with gcc, so configuring glibc |
21222 |
+ # with a fresh cross-compiler works. |
21223 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
21224 |
+ # <limits.h> exists even on freestanding compilers. |
21225 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
21226 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
21227 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21228 |
+/* end confdefs.h. */ |
21229 |
+#ifdef __STDC__ |
21230 |
+# include <limits.h> |
21231 |
+#else |
21232 |
+# include <assert.h> |
21233 |
+#endif |
21234 |
+ Syntax error |
21235 |
+_ACEOF |
21236 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
21237 |
+ |
21238 |
+else |
21239 |
+ # Broken: fails on valid input. |
21240 |
+continue |
21241 |
+fi |
21242 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
21243 |
+ |
21244 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
21245 |
+ # can be detected and how. |
21246 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21247 |
+/* end confdefs.h. */ |
21248 |
+#include <ac_nonexistent.h> |
21249 |
+_ACEOF |
21250 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
21251 |
+ # Broken: success on invalid input. |
21252 |
+continue |
21253 |
+else |
21254 |
+ # Passes both tests. |
21255 |
+ac_preproc_ok=: |
21256 |
+break |
21257 |
+fi |
21258 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
21259 |
+ |
21260 |
+done |
21261 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
21262 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
21263 |
+if $ac_preproc_ok; then : |
21264 |
+ break |
21265 |
+fi |
21266 |
+ |
21267 |
+ done |
21268 |
+ ac_cv_prog_CPP=$CPP |
21269 |
+ |
21270 |
+fi |
21271 |
+ CPP=$ac_cv_prog_CPP |
21272 |
+else |
21273 |
+ ac_cv_prog_CPP=$CPP |
21274 |
+fi |
21275 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
21276 |
+$as_echo "$CPP" >&6; } |
21277 |
+ac_preproc_ok=false |
21278 |
+for ac_c_preproc_warn_flag in '' yes |
21279 |
+do |
21280 |
+ # Use a header file that comes with gcc, so configuring glibc |
21281 |
+ # with a fresh cross-compiler works. |
21282 |
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
21283 |
+ # <limits.h> exists even on freestanding compilers. |
21284 |
+ # On the NeXT, cc -E runs the code through the compiler's parser, |
21285 |
+ # not just through cpp. "Syntax error" is here to catch this case. |
21286 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21287 |
+/* end confdefs.h. */ |
21288 |
+#ifdef __STDC__ |
21289 |
+# include <limits.h> |
21290 |
+#else |
21291 |
+# include <assert.h> |
21292 |
+#endif |
21293 |
+ Syntax error |
21294 |
+_ACEOF |
21295 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
21296 |
+ |
21297 |
+else |
21298 |
+ # Broken: fails on valid input. |
21299 |
+continue |
21300 |
+fi |
21301 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
21302 |
+ |
21303 |
+ # OK, works on sane cases. Now check whether nonexistent headers |
21304 |
+ # can be detected and how. |
21305 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21306 |
+/* end confdefs.h. */ |
21307 |
+#include <ac_nonexistent.h> |
21308 |
+_ACEOF |
21309 |
+if ac_fn_c_try_cpp "$LINENO"; then : |
21310 |
+ # Broken: success on invalid input. |
21311 |
+continue |
21312 |
+else |
21313 |
+ # Passes both tests. |
21314 |
+ac_preproc_ok=: |
21315 |
+break |
21316 |
+fi |
21317 |
+rm -f conftest.err conftest.i conftest.$ac_ext |
21318 |
+ |
21319 |
+done |
21320 |
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
21321 |
+rm -f conftest.i conftest.err conftest.$ac_ext |
21322 |
+if $ac_preproc_ok; then : |
21323 |
+ |
21324 |
+else |
21325 |
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
21326 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
21327 |
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
21328 |
+See \`config.log' for more details" "$LINENO" 5; } |
21329 |
+fi |
21330 |
+ |
21331 |
+ac_ext=c |
21332 |
+ac_cpp='$CPP $CPPFLAGS' |
21333 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
21334 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
21335 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
21336 |
+ |
21337 |
+ |
21338 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
21339 |
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
21340 |
+if ${ac_cv_path_GREP+:} false; then : |
21341 |
+ $as_echo_n "(cached) " >&6 |
21342 |
+else |
21343 |
+ if test -z "$GREP"; then |
21344 |
+ ac_path_GREP_found=false |
21345 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
21346 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21347 |
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
21348 |
+do |
21349 |
+ IFS=$as_save_IFS |
21350 |
+ test -z "$as_dir" && as_dir=. |
21351 |
+ for ac_prog in grep ggrep; do |
21352 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
21353 |
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
21354 |
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
21355 |
+# Check for GNU ac_path_GREP and select it if it is found. |
21356 |
+ # Check for GNU $ac_path_GREP |
21357 |
+case `"$ac_path_GREP" --version 2>&1` in |
21358 |
+*GNU*) |
21359 |
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
21360 |
+*) |
21361 |
+ ac_count=0 |
21362 |
+ $as_echo_n 0123456789 >"conftest.in" |
21363 |
+ while : |
21364 |
+ do |
21365 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
21366 |
+ mv "conftest.tmp" "conftest.in" |
21367 |
+ cp "conftest.in" "conftest.nl" |
21368 |
+ $as_echo 'GREP' >> "conftest.nl" |
21369 |
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
21370 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
21371 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
21372 |
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then |
21373 |
+ # Best one so far, save it but keep looking for a better one |
21374 |
+ ac_cv_path_GREP="$ac_path_GREP" |
21375 |
+ ac_path_GREP_max=$ac_count |
21376 |
+ fi |
21377 |
+ # 10*(2^10) chars as input seems more than enough |
21378 |
+ test $ac_count -gt 10 && break |
21379 |
+ done |
21380 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
21381 |
+esac |
21382 |
+ |
21383 |
+ $ac_path_GREP_found && break 3 |
21384 |
+ done |
21385 |
+ done |
21386 |
+ done |
21387 |
+IFS=$as_save_IFS |
21388 |
+ if test -z "$ac_cv_path_GREP"; then |
21389 |
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
21390 |
+ fi |
21391 |
+else |
21392 |
+ ac_cv_path_GREP=$GREP |
21393 |
+fi |
21394 |
+ |
21395 |
+fi |
21396 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
21397 |
+$as_echo "$ac_cv_path_GREP" >&6; } |
21398 |
+ GREP="$ac_cv_path_GREP" |
21399 |
+ |
21400 |
+ |
21401 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
21402 |
+$as_echo_n "checking for egrep... " >&6; } |
21403 |
+if ${ac_cv_path_EGREP+:} false; then : |
21404 |
+ $as_echo_n "(cached) " >&6 |
21405 |
+else |
21406 |
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
21407 |
+ then ac_cv_path_EGREP="$GREP -E" |
21408 |
+ else |
21409 |
+ if test -z "$EGREP"; then |
21410 |
+ ac_path_EGREP_found=false |
21411 |
+ # Loop through the user's path and test for each of PROGNAME-LIST |
21412 |
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21413 |
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
21414 |
+do |
21415 |
+ IFS=$as_save_IFS |
21416 |
+ test -z "$as_dir" && as_dir=. |
21417 |
+ for ac_prog in egrep; do |
21418 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
21419 |
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
21420 |
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
21421 |
+# Check for GNU ac_path_EGREP and select it if it is found. |
21422 |
+ # Check for GNU $ac_path_EGREP |
21423 |
+case `"$ac_path_EGREP" --version 2>&1` in |
21424 |
+*GNU*) |
21425 |
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
21426 |
+*) |
21427 |
+ ac_count=0 |
21428 |
+ $as_echo_n 0123456789 >"conftest.in" |
21429 |
+ while : |
21430 |
+ do |
21431 |
+ cat "conftest.in" "conftest.in" >"conftest.tmp" |
21432 |
+ mv "conftest.tmp" "conftest.in" |
21433 |
+ cp "conftest.in" "conftest.nl" |
21434 |
+ $as_echo 'EGREP' >> "conftest.nl" |
21435 |
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
21436 |
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
21437 |
+ as_fn_arith $ac_count + 1 && ac_count=$as_val |
21438 |
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
21439 |
+ # Best one so far, save it but keep looking for a better one |
21440 |
+ ac_cv_path_EGREP="$ac_path_EGREP" |
21441 |
+ ac_path_EGREP_max=$ac_count |
21442 |
+ fi |
21443 |
+ # 10*(2^10) chars as input seems more than enough |
21444 |
+ test $ac_count -gt 10 && break |
21445 |
+ done |
21446 |
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
21447 |
+esac |
21448 |
+ |
21449 |
+ $ac_path_EGREP_found && break 3 |
21450 |
+ done |
21451 |
+ done |
21452 |
+ done |
21453 |
+IFS=$as_save_IFS |
21454 |
+ if test -z "$ac_cv_path_EGREP"; then |
21455 |
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
21456 |
+ fi |
21457 |
+else |
21458 |
+ ac_cv_path_EGREP=$EGREP |
21459 |
+fi |
21460 |
+ |
21461 |
+ fi |
21462 |
+fi |
21463 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
21464 |
+$as_echo "$ac_cv_path_EGREP" >&6; } |
21465 |
+ EGREP="$ac_cv_path_EGREP" |
21466 |
+ |
21467 |
+ |
21468 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
21469 |
+$as_echo_n "checking for ANSI C header files... " >&6; } |
21470 |
+if ${ac_cv_header_stdc+:} false; then : |
21471 |
+ $as_echo_n "(cached) " >&6 |
21472 |
+else |
21473 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21474 |
+/* end confdefs.h. */ |
21475 |
+#include <stdlib.h> |
21476 |
+#include <stdarg.h> |
21477 |
+#include <string.h> |
21478 |
+#include <float.h> |
21479 |
+ |
21480 |
+int |
21481 |
+main () |
21482 |
+{ |
21483 |
+ |
21484 |
+ ; |
21485 |
+ return 0; |
21486 |
+} |
21487 |
+_ACEOF |
21488 |
+if ac_fn_c_try_compile "$LINENO"; then : |
21489 |
+ ac_cv_header_stdc=yes |
21490 |
+else |
21491 |
+ ac_cv_header_stdc=no |
21492 |
+fi |
21493 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21494 |
+ |
21495 |
+if test $ac_cv_header_stdc = yes; then |
21496 |
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
21497 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21498 |
+/* end confdefs.h. */ |
21499 |
+#include <string.h> |
21500 |
+ |
21501 |
+_ACEOF |
21502 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
21503 |
+ $EGREP "memchr" >/dev/null 2>&1; then : |
21504 |
+ |
21505 |
+else |
21506 |
+ ac_cv_header_stdc=no |
21507 |
+fi |
21508 |
+rm -f conftest* |
21509 |
+ |
21510 |
+fi |
21511 |
+ |
21512 |
+if test $ac_cv_header_stdc = yes; then |
21513 |
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
21514 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21515 |
+/* end confdefs.h. */ |
21516 |
+#include <stdlib.h> |
21517 |
+ |
21518 |
+_ACEOF |
21519 |
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
21520 |
+ $EGREP "free" >/dev/null 2>&1; then : |
21521 |
+ |
21522 |
+else |
21523 |
+ ac_cv_header_stdc=no |
21524 |
+fi |
21525 |
+rm -f conftest* |
21526 |
+ |
21527 |
+fi |
21528 |
+ |
21529 |
+if test $ac_cv_header_stdc = yes; then |
21530 |
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
21531 |
+ if test "$cross_compiling" = yes; then : |
21532 |
+ : |
21533 |
+else |
21534 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21535 |
+/* end confdefs.h. */ |
21536 |
+#include <ctype.h> |
21537 |
+#include <stdlib.h> |
21538 |
+#if ((' ' & 0x0FF) == 0x020) |
21539 |
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
21540 |
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
21541 |
+#else |
21542 |
+# define ISLOWER(c) \ |
21543 |
+ (('a' <= (c) && (c) <= 'i') \ |
21544 |
+ || ('j' <= (c) && (c) <= 'r') \ |
21545 |
+ || ('s' <= (c) && (c) <= 'z')) |
21546 |
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
21547 |
+#endif |
21548 |
+ |
21549 |
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
21550 |
+int |
21551 |
+main () |
21552 |
+{ |
21553 |
+ int i; |
21554 |
+ for (i = 0; i < 256; i++) |
21555 |
+ if (XOR (islower (i), ISLOWER (i)) |
21556 |
+ || toupper (i) != TOUPPER (i)) |
21557 |
+ return 2; |
21558 |
+ return 0; |
21559 |
+} |
21560 |
+_ACEOF |
21561 |
+if ac_fn_c_try_run "$LINENO"; then : |
21562 |
+ |
21563 |
+else |
21564 |
+ ac_cv_header_stdc=no |
21565 |
+fi |
21566 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
21567 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
21568 |
+fi |
21569 |
+ |
21570 |
+fi |
21571 |
+fi |
21572 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
21573 |
+$as_echo "$ac_cv_header_stdc" >&6; } |
21574 |
+if test $ac_cv_header_stdc = yes; then |
21575 |
+ |
21576 |
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
21577 |
+ |
21578 |
+fi |
21579 |
+ |
21580 |
+# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
21581 |
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
21582 |
+ inttypes.h stdint.h unistd.h |
21583 |
+do : |
21584 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
21585 |
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
21586 |
+" |
21587 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
21588 |
+ cat >>confdefs.h <<_ACEOF |
21589 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
21590 |
+_ACEOF |
21591 |
+ |
21592 |
+fi |
21593 |
+ |
21594 |
+done |
21595 |
+ |
21596 |
+ |
21597 |
+# Check whether --enable-xattr was given. |
21598 |
+if test "${enable_xattr+set}" = set; then : |
21599 |
+ enableval=$enable_xattr; |
21600 |
+ if test "x$enable_xattr" = "xyes"; then : |
21601 |
+ |
21602 |
+ for ac_header in attr/xattr.h |
21603 |
+do : |
21604 |
+ ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default" |
21605 |
+if test "x$ac_cv_header_attr_xattr_h" = xyes; then : |
21606 |
+ cat >>confdefs.h <<_ACEOF |
21607 |
+#define HAVE_ATTR_XATTR_H 1 |
21608 |
+_ACEOF |
21609 |
+ |
21610 |
+else |
21611 |
+ as_fn_error $? "\"Missing necessary attr/xattr.h\"" "$LINENO" 5 |
21612 |
+ |
21613 |
+fi |
21614 |
+ |
21615 |
+done |
21616 |
+ |
21617 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgetxattr in -lattr" >&5 |
21618 |
+$as_echo_n "checking for fgetxattr in -lattr... " >&6; } |
21619 |
+if ${ac_cv_lib_attr_fgetxattr+:} false; then : |
21620 |
+ $as_echo_n "(cached) " >&6 |
21621 |
+else |
21622 |
+ ac_check_lib_save_LIBS=$LIBS |
21623 |
+LIBS="-lattr $LIBS" |
21624 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21625 |
+/* end confdefs.h. */ |
21626 |
+ |
21627 |
+/* Override any GCC internal prototype to avoid an error. |
21628 |
+ Use char because int might match the return type of a GCC |
21629 |
+ builtin and then its argument prototype would still apply. */ |
21630 |
+#ifdef __cplusplus |
21631 |
+extern "C" |
21632 |
+#endif |
21633 |
+char fgetxattr (); |
21634 |
+int |
21635 |
+main () |
21636 |
+{ |
21637 |
+return fgetxattr (); |
21638 |
+ ; |
21639 |
+ return 0; |
21640 |
+} |
21641 |
+_ACEOF |
21642 |
+if ac_fn_c_try_link "$LINENO"; then : |
21643 |
+ ac_cv_lib_attr_fgetxattr=yes |
21644 |
+else |
21645 |
+ ac_cv_lib_attr_fgetxattr=no |
21646 |
+fi |
21647 |
+rm -f core conftest.err conftest.$ac_objext \ |
21648 |
+ conftest$ac_exeext conftest.$ac_ext |
21649 |
+LIBS=$ac_check_lib_save_LIBS |
21650 |
+fi |
21651 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_fgetxattr" >&5 |
21652 |
+$as_echo "$ac_cv_lib_attr_fgetxattr" >&6; } |
21653 |
+if test "x$ac_cv_lib_attr_fgetxattr" = xyes; then : |
21654 |
+ cat >>confdefs.h <<_ACEOF |
21655 |
+#define HAVE_LIBATTR 1 |
21656 |
+_ACEOF |
21657 |
+ |
21658 |
+ LIBS="-lattr $LIBS" |
21659 |
+ |
21660 |
+else |
21661 |
+ as_fn_error $? "\"Missing necessary function fgetxattr in libattr\"" "$LINENO" 5 |
21662 |
+ |
21663 |
+fi |
21664 |
+ |
21665 |
+ CFLAGS+=" -DXATTR" |
21666 |
+ |
21667 |
+else |
21668 |
+ |
21669 |
+ CFLAGS+=" -UXATTR" |
21670 |
+ |
21671 |
+ |
21672 |
+fi |
21673 |
+ |
21674 |
+else |
21675 |
+ |
21676 |
+ CFLAGS+=" -DXATTR" |
21677 |
+ |
21678 |
+ |
21679 |
+fi |
21680 |
+ |
21681 |
+ |
21682 |
+# Checks for programs. |
21683 |
+for ac_prog in gawk mawk nawk awk |
21684 |
+do |
21685 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
21686 |
+set dummy $ac_prog; ac_word=$2 |
21687 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
21688 |
+$as_echo_n "checking for $ac_word... " >&6; } |
21689 |
+if ${ac_cv_prog_AWK+:} false; then : |
21690 |
+ $as_echo_n "(cached) " >&6 |
21691 |
+else |
21692 |
+ if test -n "$AWK"; then |
21693 |
+ ac_cv_prog_AWK="$AWK" # Let the user override the test. |
21694 |
+else |
21695 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21696 |
+for as_dir in $PATH |
21697 |
+do |
21698 |
+ IFS=$as_save_IFS |
21699 |
+ test -z "$as_dir" && as_dir=. |
21700 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
21701 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
21702 |
+ ac_cv_prog_AWK="$ac_prog" |
21703 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
21704 |
+ break 2 |
21705 |
+ fi |
21706 |
+done |
21707 |
+ done |
21708 |
+IFS=$as_save_IFS |
21709 |
+ |
21710 |
+fi |
21711 |
+fi |
21712 |
+AWK=$ac_cv_prog_AWK |
21713 |
+if test -n "$AWK"; then |
21714 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
21715 |
+$as_echo "$AWK" >&6; } |
21716 |
+else |
21717 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21718 |
+$as_echo "no" >&6; } |
21719 |
+fi |
21720 |
+ |
21721 |
+ |
21722 |
+ test -n "$AWK" && break |
21723 |
+done |
21724 |
+ |
21725 |
+ac_ext=c |
21726 |
+ac_cpp='$CPP $CPPFLAGS' |
21727 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
21728 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
21729 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
21730 |
+if test -n "$ac_tool_prefix"; then |
21731 |
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
21732 |
+set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
21733 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
21734 |
+$as_echo_n "checking for $ac_word... " >&6; } |
21735 |
+if ${ac_cv_prog_CC+:} false; then : |
21736 |
+ $as_echo_n "(cached) " >&6 |
21737 |
+else |
21738 |
+ if test -n "$CC"; then |
21739 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
21740 |
+else |
21741 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21742 |
+for as_dir in $PATH |
21743 |
+do |
21744 |
+ IFS=$as_save_IFS |
21745 |
+ test -z "$as_dir" && as_dir=. |
21746 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
21747 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
21748 |
+ ac_cv_prog_CC="${ac_tool_prefix}gcc" |
21749 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
21750 |
+ break 2 |
21751 |
+ fi |
21752 |
+done |
21753 |
+ done |
21754 |
+IFS=$as_save_IFS |
21755 |
+ |
21756 |
+fi |
21757 |
+fi |
21758 |
+CC=$ac_cv_prog_CC |
21759 |
+if test -n "$CC"; then |
21760 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
21761 |
+$as_echo "$CC" >&6; } |
21762 |
+else |
21763 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21764 |
+$as_echo "no" >&6; } |
21765 |
+fi |
21766 |
+ |
21767 |
+ |
21768 |
+fi |
21769 |
+if test -z "$ac_cv_prog_CC"; then |
21770 |
+ ac_ct_CC=$CC |
21771 |
+ # Extract the first word of "gcc", so it can be a program name with args. |
21772 |
+set dummy gcc; ac_word=$2 |
21773 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
21774 |
+$as_echo_n "checking for $ac_word... " >&6; } |
21775 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
21776 |
+ $as_echo_n "(cached) " >&6 |
21777 |
+else |
21778 |
+ if test -n "$ac_ct_CC"; then |
21779 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
21780 |
+else |
21781 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21782 |
+for as_dir in $PATH |
21783 |
+do |
21784 |
+ IFS=$as_save_IFS |
21785 |
+ test -z "$as_dir" && as_dir=. |
21786 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
21787 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
21788 |
+ ac_cv_prog_ac_ct_CC="gcc" |
21789 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
21790 |
+ break 2 |
21791 |
+ fi |
21792 |
+done |
21793 |
+ done |
21794 |
+IFS=$as_save_IFS |
21795 |
+ |
21796 |
+fi |
21797 |
+fi |
21798 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
21799 |
+if test -n "$ac_ct_CC"; then |
21800 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
21801 |
+$as_echo "$ac_ct_CC" >&6; } |
21802 |
+else |
21803 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21804 |
+$as_echo "no" >&6; } |
21805 |
+fi |
21806 |
+ |
21807 |
+ if test "x$ac_ct_CC" = x; then |
21808 |
+ CC="" |
21809 |
+ else |
21810 |
+ case $cross_compiling:$ac_tool_warned in |
21811 |
+yes:) |
21812 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
21813 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
21814 |
+ac_tool_warned=yes ;; |
21815 |
+esac |
21816 |
+ CC=$ac_ct_CC |
21817 |
+ fi |
21818 |
+else |
21819 |
+ CC="$ac_cv_prog_CC" |
21820 |
+fi |
21821 |
+ |
21822 |
+if test -z "$CC"; then |
21823 |
+ if test -n "$ac_tool_prefix"; then |
21824 |
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
21825 |
+set dummy ${ac_tool_prefix}cc; ac_word=$2 |
21826 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
21827 |
+$as_echo_n "checking for $ac_word... " >&6; } |
21828 |
+if ${ac_cv_prog_CC+:} false; then : |
21829 |
+ $as_echo_n "(cached) " >&6 |
21830 |
+else |
21831 |
+ if test -n "$CC"; then |
21832 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
21833 |
+else |
21834 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21835 |
+for as_dir in $PATH |
21836 |
+do |
21837 |
+ IFS=$as_save_IFS |
21838 |
+ test -z "$as_dir" && as_dir=. |
21839 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
21840 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
21841 |
+ ac_cv_prog_CC="${ac_tool_prefix}cc" |
21842 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
21843 |
+ break 2 |
21844 |
+ fi |
21845 |
+done |
21846 |
+ done |
21847 |
+IFS=$as_save_IFS |
21848 |
+ |
21849 |
+fi |
21850 |
+fi |
21851 |
+CC=$ac_cv_prog_CC |
21852 |
+if test -n "$CC"; then |
21853 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
21854 |
+$as_echo "$CC" >&6; } |
21855 |
+else |
21856 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21857 |
+$as_echo "no" >&6; } |
21858 |
+fi |
21859 |
+ |
21860 |
+ |
21861 |
+ fi |
21862 |
+fi |
21863 |
+if test -z "$CC"; then |
21864 |
+ # Extract the first word of "cc", so it can be a program name with args. |
21865 |
+set dummy cc; ac_word=$2 |
21866 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
21867 |
+$as_echo_n "checking for $ac_word... " >&6; } |
21868 |
+if ${ac_cv_prog_CC+:} false; then : |
21869 |
+ $as_echo_n "(cached) " >&6 |
21870 |
+else |
21871 |
+ if test -n "$CC"; then |
21872 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
21873 |
+else |
21874 |
+ ac_prog_rejected=no |
21875 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21876 |
+for as_dir in $PATH |
21877 |
+do |
21878 |
+ IFS=$as_save_IFS |
21879 |
+ test -z "$as_dir" && as_dir=. |
21880 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
21881 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
21882 |
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
21883 |
+ ac_prog_rejected=yes |
21884 |
+ continue |
21885 |
+ fi |
21886 |
+ ac_cv_prog_CC="cc" |
21887 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
21888 |
+ break 2 |
21889 |
+ fi |
21890 |
+done |
21891 |
+ done |
21892 |
+IFS=$as_save_IFS |
21893 |
+ |
21894 |
+if test $ac_prog_rejected = yes; then |
21895 |
+ # We found a bogon in the path, so make sure we never use it. |
21896 |
+ set dummy $ac_cv_prog_CC |
21897 |
+ shift |
21898 |
+ if test $# != 0; then |
21899 |
+ # We chose a different compiler from the bogus one. |
21900 |
+ # However, it has the same basename, so the bogon will be chosen |
21901 |
+ # first if we set CC to just the basename; use the full file name. |
21902 |
+ shift |
21903 |
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
21904 |
+ fi |
21905 |
+fi |
21906 |
+fi |
21907 |
+fi |
21908 |
+CC=$ac_cv_prog_CC |
21909 |
+if test -n "$CC"; then |
21910 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
21911 |
+$as_echo "$CC" >&6; } |
21912 |
+else |
21913 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21914 |
+$as_echo "no" >&6; } |
21915 |
+fi |
21916 |
+ |
21917 |
+ |
21918 |
+fi |
21919 |
+if test -z "$CC"; then |
21920 |
+ if test -n "$ac_tool_prefix"; then |
21921 |
+ for ac_prog in cl.exe |
21922 |
+ do |
21923 |
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
21924 |
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
21925 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
21926 |
+$as_echo_n "checking for $ac_word... " >&6; } |
21927 |
+if ${ac_cv_prog_CC+:} false; then : |
21928 |
+ $as_echo_n "(cached) " >&6 |
21929 |
+else |
21930 |
+ if test -n "$CC"; then |
21931 |
+ ac_cv_prog_CC="$CC" # Let the user override the test. |
21932 |
+else |
21933 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21934 |
+for as_dir in $PATH |
21935 |
+do |
21936 |
+ IFS=$as_save_IFS |
21937 |
+ test -z "$as_dir" && as_dir=. |
21938 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
21939 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
21940 |
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
21941 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
21942 |
+ break 2 |
21943 |
+ fi |
21944 |
+done |
21945 |
+ done |
21946 |
+IFS=$as_save_IFS |
21947 |
+ |
21948 |
+fi |
21949 |
+fi |
21950 |
+CC=$ac_cv_prog_CC |
21951 |
+if test -n "$CC"; then |
21952 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
21953 |
+$as_echo "$CC" >&6; } |
21954 |
+else |
21955 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21956 |
+$as_echo "no" >&6; } |
21957 |
+fi |
21958 |
+ |
21959 |
+ |
21960 |
+ test -n "$CC" && break |
21961 |
+ done |
21962 |
+fi |
21963 |
+if test -z "$CC"; then |
21964 |
+ ac_ct_CC=$CC |
21965 |
+ for ac_prog in cl.exe |
21966 |
+do |
21967 |
+ # Extract the first word of "$ac_prog", so it can be a program name with args. |
21968 |
+set dummy $ac_prog; ac_word=$2 |
21969 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
21970 |
+$as_echo_n "checking for $ac_word... " >&6; } |
21971 |
+if ${ac_cv_prog_ac_ct_CC+:} false; then : |
21972 |
+ $as_echo_n "(cached) " >&6 |
21973 |
+else |
21974 |
+ if test -n "$ac_ct_CC"; then |
21975 |
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
21976 |
+else |
21977 |
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
21978 |
+for as_dir in $PATH |
21979 |
+do |
21980 |
+ IFS=$as_save_IFS |
21981 |
+ test -z "$as_dir" && as_dir=. |
21982 |
+ for ac_exec_ext in '' $ac_executable_extensions; do |
21983 |
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
21984 |
+ ac_cv_prog_ac_ct_CC="$ac_prog" |
21985 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
21986 |
+ break 2 |
21987 |
+ fi |
21988 |
+done |
21989 |
+ done |
21990 |
+IFS=$as_save_IFS |
21991 |
+ |
21992 |
+fi |
21993 |
+fi |
21994 |
+ac_ct_CC=$ac_cv_prog_ac_ct_CC |
21995 |
+if test -n "$ac_ct_CC"; then |
21996 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
21997 |
+$as_echo "$ac_ct_CC" >&6; } |
21998 |
+else |
21999 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
22000 |
+$as_echo "no" >&6; } |
22001 |
+fi |
22002 |
+ |
22003 |
+ |
22004 |
+ test -n "$ac_ct_CC" && break |
22005 |
+done |
22006 |
+ |
22007 |
+ if test "x$ac_ct_CC" = x; then |
22008 |
+ CC="" |
22009 |
+ else |
22010 |
+ case $cross_compiling:$ac_tool_warned in |
22011 |
+yes:) |
22012 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
22013 |
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
22014 |
+ac_tool_warned=yes ;; |
22015 |
+esac |
22016 |
+ CC=$ac_ct_CC |
22017 |
+ fi |
22018 |
+fi |
22019 |
+ |
22020 |
+fi |
22021 |
+ |
22022 |
+ |
22023 |
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
22024 |
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
22025 |
+as_fn_error $? "no acceptable C compiler found in \$PATH |
22026 |
+See \`config.log' for more details" "$LINENO" 5; } |
22027 |
+ |
22028 |
+# Provide some information about the compiler. |
22029 |
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
22030 |
+set X $ac_compile |
22031 |
+ac_compiler=$2 |
22032 |
+for ac_option in --version -v -V -qversion; do |
22033 |
+ { { ac_try="$ac_compiler $ac_option >&5" |
22034 |
+case "(($ac_try" in |
22035 |
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22036 |
+ *) ac_try_echo=$ac_try;; |
22037 |
+esac |
22038 |
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
22039 |
+$as_echo "$ac_try_echo"; } >&5 |
22040 |
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
22041 |
+ ac_status=$? |
22042 |
+ if test -s conftest.err; then |
22043 |
+ sed '10a\ |
22044 |
+... rest of stderr output deleted ... |
22045 |
+ 10q' conftest.err >conftest.er1 |
22046 |
+ cat conftest.er1 >&5 |
22047 |
+ fi |
22048 |
+ rm -f conftest.er1 conftest.err |
22049 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
22050 |
+ test $ac_status = 0; } |
22051 |
+done |
22052 |
+ |
22053 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
22054 |
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
22055 |
+if ${ac_cv_c_compiler_gnu+:} false; then : |
22056 |
+ $as_echo_n "(cached) " >&6 |
22057 |
+else |
22058 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22059 |
+/* end confdefs.h. */ |
22060 |
+ |
22061 |
+int |
22062 |
+main () |
22063 |
+{ |
22064 |
+#ifndef __GNUC__ |
22065 |
+ choke me |
22066 |
+#endif |
22067 |
+ |
22068 |
+ ; |
22069 |
+ return 0; |
22070 |
+} |
22071 |
+_ACEOF |
22072 |
+if ac_fn_c_try_compile "$LINENO"; then : |
22073 |
+ ac_compiler_gnu=yes |
22074 |
+else |
22075 |
+ ac_compiler_gnu=no |
22076 |
+fi |
22077 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22078 |
+ac_cv_c_compiler_gnu=$ac_compiler_gnu |
22079 |
+ |
22080 |
+fi |
22081 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
22082 |
+$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
22083 |
+if test $ac_compiler_gnu = yes; then |
22084 |
+ GCC=yes |
22085 |
+else |
22086 |
+ GCC= |
22087 |
+fi |
22088 |
+ac_test_CFLAGS=${CFLAGS+set} |
22089 |
+ac_save_CFLAGS=$CFLAGS |
22090 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
22091 |
+$as_echo_n "checking whether $CC accepts -g... " >&6; } |
22092 |
+if ${ac_cv_prog_cc_g+:} false; then : |
22093 |
+ $as_echo_n "(cached) " >&6 |
22094 |
+else |
22095 |
+ ac_save_c_werror_flag=$ac_c_werror_flag |
22096 |
+ ac_c_werror_flag=yes |
22097 |
+ ac_cv_prog_cc_g=no |
22098 |
+ CFLAGS="-g" |
22099 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22100 |
+/* end confdefs.h. */ |
22101 |
+ |
22102 |
+int |
22103 |
+main () |
22104 |
+{ |
22105 |
+ |
22106 |
+ ; |
22107 |
+ return 0; |
22108 |
+} |
22109 |
+_ACEOF |
22110 |
+if ac_fn_c_try_compile "$LINENO"; then : |
22111 |
+ ac_cv_prog_cc_g=yes |
22112 |
+else |
22113 |
+ CFLAGS="" |
22114 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22115 |
+/* end confdefs.h. */ |
22116 |
+ |
22117 |
+int |
22118 |
+main () |
22119 |
+{ |
22120 |
+ |
22121 |
+ ; |
22122 |
+ return 0; |
22123 |
+} |
22124 |
+_ACEOF |
22125 |
+if ac_fn_c_try_compile "$LINENO"; then : |
22126 |
+ |
22127 |
+else |
22128 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
22129 |
+ CFLAGS="-g" |
22130 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22131 |
+/* end confdefs.h. */ |
22132 |
+ |
22133 |
+int |
22134 |
+main () |
22135 |
+{ |
22136 |
+ |
22137 |
+ ; |
22138 |
+ return 0; |
22139 |
+} |
22140 |
+_ACEOF |
22141 |
+if ac_fn_c_try_compile "$LINENO"; then : |
22142 |
+ ac_cv_prog_cc_g=yes |
22143 |
+fi |
22144 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22145 |
+fi |
22146 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22147 |
+fi |
22148 |
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22149 |
+ ac_c_werror_flag=$ac_save_c_werror_flag |
22150 |
+fi |
22151 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
22152 |
+$as_echo "$ac_cv_prog_cc_g" >&6; } |
22153 |
+if test "$ac_test_CFLAGS" = set; then |
22154 |
+ CFLAGS=$ac_save_CFLAGS |
22155 |
+elif test $ac_cv_prog_cc_g = yes; then |
22156 |
+ if test "$GCC" = yes; then |
22157 |
+ CFLAGS="-g -O2" |
22158 |
+ else |
22159 |
+ CFLAGS="-g" |
22160 |
+ fi |
22161 |
+else |
22162 |
+ if test "$GCC" = yes; then |
22163 |
+ CFLAGS="-O2" |
22164 |
+ else |
22165 |
+ CFLAGS= |
22166 |
+ fi |
22167 |
+fi |
22168 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
22169 |
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
22170 |
+if ${ac_cv_prog_cc_c89+:} false; then : |
22171 |
+ $as_echo_n "(cached) " >&6 |
22172 |
+else |
22173 |
+ ac_cv_prog_cc_c89=no |
22174 |
+ac_save_CC=$CC |
22175 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22176 |
+/* end confdefs.h. */ |
22177 |
+#include <stdarg.h> |
22178 |
+#include <stdio.h> |
22179 |
+#include <sys/types.h> |
22180 |
+#include <sys/stat.h> |
22181 |
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
22182 |
+struct buf { int x; }; |
22183 |
+FILE * (*rcsopen) (struct buf *, struct stat *, int); |
22184 |
+static char *e (p, i) |
22185 |
+ char **p; |
22186 |
+ int i; |
22187 |
+{ |
22188 |
+ return p[i]; |
22189 |
+} |
22190 |
+static char *f (char * (*g) (char **, int), char **p, ...) |
22191 |
+{ |
22192 |
+ char *s; |
22193 |
+ va_list v; |
22194 |
+ va_start (v,p); |
22195 |
+ s = g (p, va_arg (v,int)); |
22196 |
+ va_end (v); |
22197 |
+ return s; |
22198 |
+} |
22199 |
+ |
22200 |
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
22201 |
+ function prototypes and stuff, but not '\xHH' hex character constants. |
22202 |
+ These don't provoke an error unfortunately, instead are silently treated |
22203 |
+ as 'x'. The following induces an error, until -std is added to get |
22204 |
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
22205 |
+ array size at least. It's necessary to write '\x00'==0 to get something |
22206 |
+ that's true only with -std. */ |
22207 |
+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
22208 |
+ |
22209 |
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
22210 |
+ inside strings and character constants. */ |
22211 |
+#define FOO(x) 'x' |
22212 |
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
22213 |
+ |
22214 |
+int test (int i, double x); |
22215 |
+struct s1 {int (*f) (int a);}; |
22216 |
+struct s2 {int (*f) (double a);}; |
22217 |
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
22218 |
+int argc; |
22219 |
+char **argv; |
22220 |
+int |
22221 |
+main () |
22222 |
+{ |
22223 |
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
22224 |
+ ; |
22225 |
+ return 0; |
22226 |
+} |
22227 |
+_ACEOF |
22228 |
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
22229 |
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
22230 |
+do |
22231 |
+ CC="$ac_save_CC $ac_arg" |
22232 |
+ if ac_fn_c_try_compile "$LINENO"; then : |
22233 |
+ ac_cv_prog_cc_c89=$ac_arg |
22234 |
+fi |
22235 |
+rm -f core conftest.err conftest.$ac_objext |
22236 |
+ test "x$ac_cv_prog_cc_c89" != "xno" && break |
22237 |
+done |
22238 |
+rm -f conftest.$ac_ext |
22239 |
+CC=$ac_save_CC |
22240 |
+ |
22241 |
+fi |
22242 |
+# AC_CACHE_VAL |
22243 |
+case "x$ac_cv_prog_cc_c89" in |
22244 |
+ x) |
22245 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
22246 |
+$as_echo "none needed" >&6; } ;; |
22247 |
+ xno) |
22248 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
22249 |
+$as_echo "unsupported" >&6; } ;; |
22250 |
+ *) |
22251 |
+ CC="$CC $ac_cv_prog_cc_c89" |
22252 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
22253 |
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
22254 |
+esac |
22255 |
+if test "x$ac_cv_prog_cc_c89" != xno; then : |
22256 |
+ |
22257 |
+fi |
22258 |
+ |
22259 |
+ac_ext=c |
22260 |
+ac_cpp='$CPP $CPPFLAGS' |
22261 |
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
22262 |
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
22263 |
+ac_compiler_gnu=$ac_cv_c_compiler_gnu |
22264 |
+ |
22265 |
+depcc="$CC" am_compiler_list= |
22266 |
+ |
22267 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
22268 |
+$as_echo_n "checking dependency style of $depcc... " >&6; } |
22269 |
+if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
22270 |
+ $as_echo_n "(cached) " >&6 |
22271 |
+else |
22272 |
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
22273 |
+ # We make a subdir and do the tests there. Otherwise we can end up |
22274 |
+ # making bogus files that we don't know about and never remove. For |
22275 |
+ # instance it was reported that on HP-UX the gcc test will end up |
22276 |
+ # making a dummy file named `D' -- because `-MD' means `put the output |
22277 |
+ # in D'. |
22278 |
+ mkdir conftest.dir |
22279 |
+ # Copy depcomp to subdir because otherwise we won't find it if we're |
22280 |
+ # using a relative directory. |
22281 |
+ cp "$am_depcomp" conftest.dir |
22282 |
+ cd conftest.dir |
22283 |
+ # We will build objects and dependencies in a subdirectory because |
22284 |
+ # it helps to detect inapplicable dependency modes. For instance |
22285 |
+ # both Tru64's cc and ICC support -MD to output dependencies as a |
22286 |
+ # side effect of compilation, but ICC will put the dependencies in |
22287 |
+ # the current directory while Tru64 will put them in the object |
22288 |
+ # directory. |
22289 |
+ mkdir sub |
22290 |
+ |
22291 |
+ am_cv_CC_dependencies_compiler_type=none |
22292 |
+ if test "$am_compiler_list" = ""; then |
22293 |
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
22294 |
+ fi |
22295 |
+ am__universal=false |
22296 |
+ case " $depcc " in #( |
22297 |
+ *\ -arch\ *\ -arch\ *) am__universal=true ;; |
22298 |
+ esac |
22299 |
+ |
22300 |
+ for depmode in $am_compiler_list; do |
22301 |
+ # Setup a source with many dependencies, because some compilers |
22302 |
+ # like to wrap large dependency lists on column 80 (with \), and |
22303 |
+ # we should not choose a depcomp mode which is confused by this. |
22304 |
+ # |
22305 |
+ # We need to recreate these files for each test, as the compiler may |
22306 |
+ # overwrite some of them when testing with obscure command lines. |
22307 |
+ # This happens at least with the AIX C compiler. |
22308 |
+ : > sub/conftest.c |
22309 |
+ for i in 1 2 3 4 5 6; do |
22310 |
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c |
22311 |
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
22312 |
+ # Solaris 8's {/usr,}/bin/sh. |
22313 |
+ touch sub/conftst$i.h |
22314 |
+ done |
22315 |
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
22316 |
+ |
22317 |
+ # We check with `-c' and `-o' for the sake of the "dashmstdout" |
22318 |
+ # mode. It turns out that the SunPro C++ compiler does not properly |
22319 |
+ # handle `-M -o', and we need to detect this. Also, some Intel |
22320 |
+ # versions had trouble with output in subdirs |
22321 |
+ am__obj=sub/conftest.${OBJEXT-o} |
22322 |
+ am__minus_obj="-o $am__obj" |
22323 |
+ case $depmode in |
22324 |
+ gcc) |
22325 |
+ # This depmode causes a compiler race in universal mode. |
22326 |
+ test "$am__universal" = false || continue |
22327 |
+ ;; |
22328 |
+ nosideeffect) |
22329 |
+ # after this tag, mechanisms are not by side-effect, so they'll |
22330 |
+ # only be used when explicitly requested |
22331 |
+ if test "x$enable_dependency_tracking" = xyes; then |
22332 |
+ continue |
22333 |
+ else |
22334 |
+ break |
22335 |
+ fi |
22336 |
+ ;; |
22337 |
+ msvisualcpp | msvcmsys) |
22338 |
+ # This compiler won't grok `-c -o', but also, the minuso test has |
22339 |
+ # not run yet. These depmodes are late enough in the game, and |
22340 |
+ # so weak that their functioning should not be impacted. |
22341 |
+ am__obj=conftest.${OBJEXT-o} |
22342 |
+ am__minus_obj= |
22343 |
+ ;; |
22344 |
+ none) break ;; |
22345 |
+ esac |
22346 |
+ if depmode=$depmode \ |
22347 |
+ source=sub/conftest.c object=$am__obj \ |
22348 |
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
22349 |
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
22350 |
+ >/dev/null 2>conftest.err && |
22351 |
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
22352 |
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
22353 |
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
22354 |
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
22355 |
+ # icc doesn't choke on unknown options, it will just issue warnings |
22356 |
+ # or remarks (even with -Werror). So we grep stderr for any message |
22357 |
+ # that says an option was ignored or not supported. |
22358 |
+ # When given -MP, icc 7.0 and 7.1 complain thusly: |
22359 |
+ # icc: Command line warning: ignoring option '-M'; no argument required |
22360 |
+ # The diagnosis changed in icc 8.0: |
22361 |
+ # icc: Command line remark: option '-MP' not supported |
22362 |
+ if (grep 'ignoring option' conftest.err || |
22363 |
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
22364 |
+ am_cv_CC_dependencies_compiler_type=$depmode |
22365 |
+ break |
22366 |
+ fi |
22367 |
+ fi |
22368 |
+ done |
22369 |
+ |
22370 |
+ cd .. |
22371 |
+ rm -rf conftest.dir |
22372 |
+else |
22373 |
+ am_cv_CC_dependencies_compiler_type=none |
22374 |
+fi |
22375 |
+ |
22376 |
+fi |
22377 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
22378 |
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
22379 |
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
22380 |
+ |
22381 |
+ if |
22382 |
+ test "x$enable_dependency_tracking" != xno \ |
22383 |
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
22384 |
+ am__fastdepCC_TRUE= |
22385 |
+ am__fastdepCC_FALSE='#' |
22386 |
+else |
22387 |
+ am__fastdepCC_TRUE='#' |
22388 |
+ am__fastdepCC_FALSE= |
22389 |
+fi |
22390 |
+ |
22391 |
+ |
22392 |
+ |
22393 |
+# Checks for libraries. |
22394 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5 |
22395 |
+$as_echo_n "checking for elf_begin in -lelf... " >&6; } |
22396 |
+if ${ac_cv_lib_elf_elf_begin+:} false; then : |
22397 |
+ $as_echo_n "(cached) " >&6 |
22398 |
+else |
22399 |
+ ac_check_lib_save_LIBS=$LIBS |
22400 |
+LIBS="-lelf $LIBS" |
22401 |
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22402 |
+/* end confdefs.h. */ |
22403 |
+ |
22404 |
+/* Override any GCC internal prototype to avoid an error. |
22405 |
+ Use char because int might match the return type of a GCC |
22406 |
+ builtin and then its argument prototype would still apply. */ |
22407 |
+#ifdef __cplusplus |
22408 |
+extern "C" |
22409 |
+#endif |
22410 |
+char elf_begin (); |
22411 |
+int |
22412 |
+main () |
22413 |
+{ |
22414 |
+return elf_begin (); |
22415 |
+ ; |
22416 |
+ return 0; |
22417 |
+} |
22418 |
+_ACEOF |
22419 |
+if ac_fn_c_try_link "$LINENO"; then : |
22420 |
+ ac_cv_lib_elf_elf_begin=yes |
22421 |
+else |
22422 |
+ ac_cv_lib_elf_elf_begin=no |
22423 |
+fi |
22424 |
+rm -f core conftest.err conftest.$ac_objext \ |
22425 |
+ conftest$ac_exeext conftest.$ac_ext |
22426 |
+LIBS=$ac_check_lib_save_LIBS |
22427 |
+fi |
22428 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5 |
22429 |
+$as_echo "$ac_cv_lib_elf_elf_begin" >&6; } |
22430 |
+if test "x$ac_cv_lib_elf_elf_begin" = xyes; then : |
22431 |
+ cat >>confdefs.h <<_ACEOF |
22432 |
+#define HAVE_LIBELF 1 |
22433 |
+_ACEOF |
22434 |
+ |
22435 |
+ LIBS="-lelf $LIBS" |
22436 |
+ |
22437 |
+else |
22438 |
+ as_fn_error $? "\"Missing necessary function elf_begin in libelf\"" "$LINENO" 5 |
22439 |
+fi |
22440 |
+ |
22441 |
+ |
22442 |
+# Checks for header files. |
22443 |
+ |
22444 |
+for ac_header in errno.h error.h fcntl.h gelf.h libgen.h stdio.h stdlib.h string.h \ |
22445 |
+ sys/mman.h sys/stat.h sys/types.h unistd.h |
22446 |
+do : |
22447 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
22448 |
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
22449 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
22450 |
+ cat >>confdefs.h <<_ACEOF |
22451 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
22452 |
+_ACEOF |
22453 |
+ |
22454 |
+else |
22455 |
+ as_fn_error $? "\"Missing necessary header\"" "$LINENO" 5 |
22456 |
+ |
22457 |
+fi |
22458 |
+ |
22459 |
+done |
22460 |
+ |
22461 |
+ |
22462 |
+# Checks for typedefs, structures, and compiler characteristics. |
22463 |
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
22464 |
+if test "x$ac_cv_type_pid_t" = xyes; then : |
22465 |
+ |
22466 |
+else |
22467 |
+ |
22468 |
+cat >>confdefs.h <<_ACEOF |
22469 |
+#define pid_t int |
22470 |
+_ACEOF |
22471 |
+ |
22472 |
+fi |
22473 |
+ |
22474 |
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
22475 |
+if test "x$ac_cv_type_size_t" = xyes; then : |
22476 |
+ |
22477 |
+else |
22478 |
+ |
22479 |
+cat >>confdefs.h <<_ACEOF |
22480 |
+#define size_t unsigned int |
22481 |
+_ACEOF |
22482 |
+ |
22483 |
+fi |
22484 |
+ |
22485 |
+ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" |
22486 |
+case $ac_cv_c_uint8_t in #( |
22487 |
+ no|yes) ;; #( |
22488 |
+ *) |
22489 |
+ |
22490 |
+$as_echo "#define _UINT8_T 1" >>confdefs.h |
22491 |
+ |
22492 |
+ |
22493 |
+cat >>confdefs.h <<_ACEOF |
22494 |
+#define uint8_t $ac_cv_c_uint8_t |
22495 |
+_ACEOF |
22496 |
+;; |
22497 |
+ esac |
22498 |
+ |
22499 |
+ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" |
22500 |
+case $ac_cv_c_uint16_t in #( |
22501 |
+ no|yes) ;; #( |
22502 |
+ *) |
22503 |
+ |
22504 |
+ |
22505 |
+cat >>confdefs.h <<_ACEOF |
22506 |
+#define uint16_t $ac_cv_c_uint16_t |
22507 |
+_ACEOF |
22508 |
+;; |
22509 |
+ esac |
22510 |
+ |
22511 |
+ |
22512 |
+# Checks for library functions. |
22513 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 |
22514 |
+$as_echo_n "checking for error_at_line... " >&6; } |
22515 |
+if ${ac_cv_lib_error_at_line+:} false; then : |
22516 |
+ $as_echo_n "(cached) " >&6 |
22517 |
+else |
22518 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22519 |
+/* end confdefs.h. */ |
22520 |
+#include <error.h> |
22521 |
+int |
22522 |
+main () |
22523 |
+{ |
22524 |
+error_at_line (0, 0, "", 0, "an error occurred"); |
22525 |
+ ; |
22526 |
+ return 0; |
22527 |
+} |
22528 |
+_ACEOF |
22529 |
+if ac_fn_c_try_link "$LINENO"; then : |
22530 |
+ ac_cv_lib_error_at_line=yes |
22531 |
+else |
22532 |
+ ac_cv_lib_error_at_line=no |
22533 |
+fi |
22534 |
+rm -f core conftest.err conftest.$ac_objext \ |
22535 |
+ conftest$ac_exeext conftest.$ac_ext |
22536 |
+fi |
22537 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 |
22538 |
+$as_echo "$ac_cv_lib_error_at_line" >&6; } |
22539 |
+if test $ac_cv_lib_error_at_line = no; then |
22540 |
+ case " $LIBOBJS " in |
22541 |
+ *" error.$ac_objext "* ) ;; |
22542 |
+ *) LIBOBJS="$LIBOBJS error.$ac_objext" |
22543 |
+ ;; |
22544 |
+esac |
22545 |
+ |
22546 |
+fi |
22547 |
+ |
22548 |
+for ac_header in vfork.h |
22549 |
+do : |
22550 |
+ ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" |
22551 |
+if test "x$ac_cv_header_vfork_h" = xyes; then : |
22552 |
+ cat >>confdefs.h <<_ACEOF |
22553 |
+#define HAVE_VFORK_H 1 |
22554 |
+_ACEOF |
22555 |
+ |
22556 |
+fi |
22557 |
+ |
22558 |
+done |
22559 |
+ |
22560 |
+for ac_func in fork vfork |
22561 |
+do : |
22562 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
22563 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
22564 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
22565 |
+ cat >>confdefs.h <<_ACEOF |
22566 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
22567 |
+_ACEOF |
22568 |
+ |
22569 |
+fi |
22570 |
+done |
22571 |
+ |
22572 |
+if test "x$ac_cv_func_fork" = xyes; then |
22573 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 |
22574 |
+$as_echo_n "checking for working fork... " >&6; } |
22575 |
+if ${ac_cv_func_fork_works+:} false; then : |
22576 |
+ $as_echo_n "(cached) " >&6 |
22577 |
+else |
22578 |
+ if test "$cross_compiling" = yes; then : |
22579 |
+ ac_cv_func_fork_works=cross |
22580 |
+else |
22581 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22582 |
+/* end confdefs.h. */ |
22583 |
+$ac_includes_default |
22584 |
+int |
22585 |
+main () |
22586 |
+{ |
22587 |
+ |
22588 |
+ /* By Ruediger Kuhlmann. */ |
22589 |
+ return fork () < 0; |
22590 |
+ |
22591 |
+ ; |
22592 |
+ return 0; |
22593 |
+} |
22594 |
+_ACEOF |
22595 |
+if ac_fn_c_try_run "$LINENO"; then : |
22596 |
+ ac_cv_func_fork_works=yes |
22597 |
+else |
22598 |
+ ac_cv_func_fork_works=no |
22599 |
+fi |
22600 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
22601 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
22602 |
+fi |
22603 |
+ |
22604 |
+fi |
22605 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 |
22606 |
+$as_echo "$ac_cv_func_fork_works" >&6; } |
22607 |
+ |
22608 |
+else |
22609 |
+ ac_cv_func_fork_works=$ac_cv_func_fork |
22610 |
+fi |
22611 |
+if test "x$ac_cv_func_fork_works" = xcross; then |
22612 |
+ case $host in |
22613 |
+ *-*-amigaos* | *-*-msdosdjgpp*) |
22614 |
+ # Override, as these systems have only a dummy fork() stub |
22615 |
+ ac_cv_func_fork_works=no |
22616 |
+ ;; |
22617 |
+ *) |
22618 |
+ ac_cv_func_fork_works=yes |
22619 |
+ ;; |
22620 |
+ esac |
22621 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
22622 |
+$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
22623 |
+fi |
22624 |
+ac_cv_func_vfork_works=$ac_cv_func_vfork |
22625 |
+if test "x$ac_cv_func_vfork" = xyes; then |
22626 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 |
22627 |
+$as_echo_n "checking for working vfork... " >&6; } |
22628 |
+if ${ac_cv_func_vfork_works+:} false; then : |
22629 |
+ $as_echo_n "(cached) " >&6 |
22630 |
+else |
22631 |
+ if test "$cross_compiling" = yes; then : |
22632 |
+ ac_cv_func_vfork_works=cross |
22633 |
+else |
22634 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22635 |
+/* end confdefs.h. */ |
22636 |
+/* Thanks to Paul Eggert for this test. */ |
22637 |
+$ac_includes_default |
22638 |
+#include <sys/wait.h> |
22639 |
+#ifdef HAVE_VFORK_H |
22640 |
+# include <vfork.h> |
22641 |
+#endif |
22642 |
+/* On some sparc systems, changes by the child to local and incoming |
22643 |
+ argument registers are propagated back to the parent. The compiler |
22644 |
+ is told about this with #include <vfork.h>, but some compilers |
22645 |
+ (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a |
22646 |
+ static variable whose address is put into a register that is |
22647 |
+ clobbered by the vfork. */ |
22648 |
+static void |
22649 |
+#ifdef __cplusplus |
22650 |
+sparc_address_test (int arg) |
22651 |
+# else |
22652 |
+sparc_address_test (arg) int arg; |
22653 |
+#endif |
22654 |
+{ |
22655 |
+ static pid_t child; |
22656 |
+ if (!child) { |
22657 |
+ child = vfork (); |
22658 |
+ if (child < 0) { |
22659 |
+ perror ("vfork"); |
22660 |
+ _exit(2); |
22661 |
+ } |
22662 |
+ if (!child) { |
22663 |
+ arg = getpid(); |
22664 |
+ write(-1, "", 0); |
22665 |
+ _exit (arg); |
22666 |
+ } |
22667 |
+ } |
22668 |
+} |
22669 |
+ |
22670 |
+int |
22671 |
+main () |
22672 |
+{ |
22673 |
+ pid_t parent = getpid (); |
22674 |
+ pid_t child; |
22675 |
+ |
22676 |
+ sparc_address_test (0); |
22677 |
+ |
22678 |
+ child = vfork (); |
22679 |
+ |
22680 |
+ if (child == 0) { |
22681 |
+ /* Here is another test for sparc vfork register problems. This |
22682 |
+ test uses lots of local variables, at least as many local |
22683 |
+ variables as main has allocated so far including compiler |
22684 |
+ temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris |
22685 |
+ 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should |
22686 |
+ reuse the register of parent for one of the local variables, |
22687 |
+ since it will think that parent can't possibly be used any more |
22688 |
+ in this routine. Assigning to the local variable will thus |
22689 |
+ munge parent in the parent process. */ |
22690 |
+ pid_t |
22691 |
+ p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), |
22692 |
+ p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); |
22693 |
+ /* Convince the compiler that p..p7 are live; otherwise, it might |
22694 |
+ use the same hardware register for all 8 local variables. */ |
22695 |
+ if (p != p1 || p != p2 || p != p3 || p != p4 |
22696 |
+ || p != p5 || p != p6 || p != p7) |
22697 |
+ _exit(1); |
22698 |
+ |
22699 |
+ /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent |
22700 |
+ from child file descriptors. If the child closes a descriptor |
22701 |
+ before it execs or exits, this munges the parent's descriptor |
22702 |
+ as well. Test for this by closing stdout in the child. */ |
22703 |
+ _exit(close(fileno(stdout)) != 0); |
22704 |
+ } else { |
22705 |
+ int status; |
22706 |
+ struct stat st; |
22707 |
+ |
22708 |
+ while (wait(&status) != child) |
22709 |
+ ; |
22710 |
+ return ( |
22711 |
+ /* Was there some problem with vforking? */ |
22712 |
+ child < 0 |
22713 |
+ |
22714 |
+ /* Did the child fail? (This shouldn't happen.) */ |
22715 |
+ || status |
22716 |
+ |
22717 |
+ /* Did the vfork/compiler bug occur? */ |
22718 |
+ || parent != getpid() |
22719 |
+ |
22720 |
+ /* Did the file descriptor bug occur? */ |
22721 |
+ || fstat(fileno(stdout), &st) != 0 |
22722 |
+ ); |
22723 |
+ } |
22724 |
+} |
22725 |
+_ACEOF |
22726 |
+if ac_fn_c_try_run "$LINENO"; then : |
22727 |
+ ac_cv_func_vfork_works=yes |
22728 |
+else |
22729 |
+ ac_cv_func_vfork_works=no |
22730 |
+fi |
22731 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
22732 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
22733 |
+fi |
22734 |
+ |
22735 |
+fi |
22736 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 |
22737 |
+$as_echo "$ac_cv_func_vfork_works" >&6; } |
22738 |
+ |
22739 |
+fi; |
22740 |
+if test "x$ac_cv_func_fork_works" = xcross; then |
22741 |
+ ac_cv_func_vfork_works=$ac_cv_func_vfork |
22742 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
22743 |
+$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} |
22744 |
+fi |
22745 |
+ |
22746 |
+if test "x$ac_cv_func_vfork_works" = xyes; then |
22747 |
+ |
22748 |
+$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h |
22749 |
+ |
22750 |
+else |
22751 |
+ |
22752 |
+$as_echo "#define vfork fork" >>confdefs.h |
22753 |
+ |
22754 |
+fi |
22755 |
+if test "x$ac_cv_func_fork_works" = xyes; then |
22756 |
+ |
22757 |
+$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h |
22758 |
+ |
22759 |
+fi |
22760 |
+ |
22761 |
+ |
22762 |
+ |
22763 |
+ |
22764 |
+ for ac_header in $ac_header_list |
22765 |
+do : |
22766 |
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
22767 |
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
22768 |
+" |
22769 |
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
22770 |
+ cat >>confdefs.h <<_ACEOF |
22771 |
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
22772 |
+_ACEOF |
22773 |
+ |
22774 |
+fi |
22775 |
+ |
22776 |
+done |
22777 |
+ |
22778 |
+ |
22779 |
+ |
22780 |
+ |
22781 |
+ |
22782 |
+ |
22783 |
+ |
22784 |
+ |
22785 |
+for ac_func in getpagesize |
22786 |
+do : |
22787 |
+ ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" |
22788 |
+if test "x$ac_cv_func_getpagesize" = xyes; then : |
22789 |
+ cat >>confdefs.h <<_ACEOF |
22790 |
+#define HAVE_GETPAGESIZE 1 |
22791 |
+_ACEOF |
22792 |
+ |
22793 |
+fi |
22794 |
+done |
22795 |
+ |
22796 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 |
22797 |
+$as_echo_n "checking for working mmap... " >&6; } |
22798 |
+if ${ac_cv_func_mmap_fixed_mapped+:} false; then : |
22799 |
+ $as_echo_n "(cached) " >&6 |
22800 |
+else |
22801 |
+ if test "$cross_compiling" = yes; then : |
22802 |
+ ac_cv_func_mmap_fixed_mapped=no |
22803 |
+else |
22804 |
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22805 |
+/* end confdefs.h. */ |
22806 |
+$ac_includes_default |
22807 |
+/* malloc might have been renamed as rpl_malloc. */ |
22808 |
+#undef malloc |
22809 |
+ |
22810 |
+/* Thanks to Mike Haertel and Jim Avera for this test. |
22811 |
+ Here is a matrix of mmap possibilities: |
22812 |
+ mmap private not fixed |
22813 |
+ mmap private fixed at somewhere currently unmapped |
22814 |
+ mmap private fixed at somewhere already mapped |
22815 |
+ mmap shared not fixed |
22816 |
+ mmap shared fixed at somewhere currently unmapped |
22817 |
+ mmap shared fixed at somewhere already mapped |
22818 |
+ For private mappings, we should verify that changes cannot be read() |
22819 |
+ back from the file, nor mmap's back from the file at a different |
22820 |
+ address. (There have been systems where private was not correctly |
22821 |
+ implemented like the infamous i386 svr4.0, and systems where the |
22822 |
+ VM page cache was not coherent with the file system buffer cache |
22823 |
+ like early versions of FreeBSD and possibly contemporary NetBSD.) |
22824 |
+ For shared mappings, we should conversely verify that changes get |
22825 |
+ propagated back to all the places they're supposed to be. |
22826 |
+ |
22827 |
+ Grep wants private fixed already mapped. |
22828 |
+ The main things grep needs to know about mmap are: |
22829 |
+ * does it exist and is it safe to write into the mmap'd area |
22830 |
+ * how to use it (BSD variants) */ |
22831 |
+ |
22832 |
+#include <fcntl.h> |
22833 |
+#include <sys/mman.h> |
22834 |
+ |
22835 |
+#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H |
22836 |
+char *malloc (); |
22837 |
+#endif |
22838 |
+ |
22839 |
+/* This mess was copied from the GNU getpagesize.h. */ |
22840 |
+#ifndef HAVE_GETPAGESIZE |
22841 |
+# ifdef _SC_PAGESIZE |
22842 |
+# define getpagesize() sysconf(_SC_PAGESIZE) |
22843 |
+# else /* no _SC_PAGESIZE */ |
22844 |
+# ifdef HAVE_SYS_PARAM_H |
22845 |
+# include <sys/param.h> |
22846 |
+# ifdef EXEC_PAGESIZE |
22847 |
+# define getpagesize() EXEC_PAGESIZE |
22848 |
+# else /* no EXEC_PAGESIZE */ |
22849 |
+# ifdef NBPG |
22850 |
+# define getpagesize() NBPG * CLSIZE |
22851 |
+# ifndef CLSIZE |
22852 |
+# define CLSIZE 1 |
22853 |
+# endif /* no CLSIZE */ |
22854 |
+# else /* no NBPG */ |
22855 |
+# ifdef NBPC |
22856 |
+# define getpagesize() NBPC |
22857 |
+# else /* no NBPC */ |
22858 |
+# ifdef PAGESIZE |
22859 |
+# define getpagesize() PAGESIZE |
22860 |
+# endif /* PAGESIZE */ |
22861 |
+# endif /* no NBPC */ |
22862 |
+# endif /* no NBPG */ |
22863 |
+# endif /* no EXEC_PAGESIZE */ |
22864 |
+# else /* no HAVE_SYS_PARAM_H */ |
22865 |
+# define getpagesize() 8192 /* punt totally */ |
22866 |
+# endif /* no HAVE_SYS_PARAM_H */ |
22867 |
+# endif /* no _SC_PAGESIZE */ |
22868 |
+ |
22869 |
+#endif /* no HAVE_GETPAGESIZE */ |
22870 |
+ |
22871 |
+int |
22872 |
+main () |
22873 |
+{ |
22874 |
+ char *data, *data2, *data3; |
22875 |
+ const char *cdata2; |
22876 |
+ int i, pagesize; |
22877 |
+ int fd, fd2; |
22878 |
+ |
22879 |
+ pagesize = getpagesize (); |
22880 |
+ |
22881 |
+ /* First, make a file with some known garbage in it. */ |
22882 |
+ data = (char *) malloc (pagesize); |
22883 |
+ if (!data) |
22884 |
+ return 1; |
22885 |
+ for (i = 0; i < pagesize; ++i) |
22886 |
+ *(data + i) = rand (); |
22887 |
+ umask (0); |
22888 |
+ fd = creat ("conftest.mmap", 0600); |
22889 |
+ if (fd < 0) |
22890 |
+ return 2; |
22891 |
+ if (write (fd, data, pagesize) != pagesize) |
22892 |
+ return 3; |
22893 |
+ close (fd); |
22894 |
+ |
22895 |
+ /* Next, check that the tail of a page is zero-filled. File must have |
22896 |
+ non-zero length, otherwise we risk SIGBUS for entire page. */ |
22897 |
+ fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); |
22898 |
+ if (fd2 < 0) |
22899 |
+ return 4; |
22900 |
+ cdata2 = ""; |
22901 |
+ if (write (fd2, cdata2, 1) != 1) |
22902 |
+ return 5; |
22903 |
+ data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); |
22904 |
+ if (data2 == MAP_FAILED) |
22905 |
+ return 6; |
22906 |
+ for (i = 0; i < pagesize; ++i) |
22907 |
+ if (*(data2 + i)) |
22908 |
+ return 7; |
22909 |
+ close (fd2); |
22910 |
+ if (munmap (data2, pagesize)) |
22911 |
+ return 8; |
22912 |
+ |
22913 |
+ /* Next, try to mmap the file at a fixed address which already has |
22914 |
+ something else allocated at it. If we can, also make sure that |
22915 |
+ we see the same garbage. */ |
22916 |
+ fd = open ("conftest.mmap", O_RDWR); |
22917 |
+ if (fd < 0) |
22918 |
+ return 9; |
22919 |
+ if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
22920 |
+ MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
22921 |
+ return 10; |
22922 |
+ for (i = 0; i < pagesize; ++i) |
22923 |
+ if (*(data + i) != *(data2 + i)) |
22924 |
+ return 11; |
22925 |
+ |
22926 |
+ /* Finally, make sure that changes to the mapped area do not |
22927 |
+ percolate back to the file as seen by read(). (This is a bug on |
22928 |
+ some variants of i386 svr4.0.) */ |
22929 |
+ for (i = 0; i < pagesize; ++i) |
22930 |
+ *(data2 + i) = *(data2 + i) + 1; |
22931 |
+ data3 = (char *) malloc (pagesize); |
22932 |
+ if (!data3) |
22933 |
+ return 12; |
22934 |
+ if (read (fd, data3, pagesize) != pagesize) |
22935 |
+ return 13; |
22936 |
+ for (i = 0; i < pagesize; ++i) |
22937 |
+ if (*(data + i) != *(data3 + i)) |
22938 |
+ return 14; |
22939 |
+ close (fd); |
22940 |
+ return 0; |
22941 |
+} |
22942 |
+_ACEOF |
22943 |
+if ac_fn_c_try_run "$LINENO"; then : |
22944 |
+ ac_cv_func_mmap_fixed_mapped=yes |
22945 |
+else |
22946 |
+ ac_cv_func_mmap_fixed_mapped=no |
22947 |
+fi |
22948 |
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
22949 |
+ conftest.$ac_objext conftest.beam conftest.$ac_ext |
22950 |
+fi |
22951 |
+ |
22952 |
+fi |
22953 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
22954 |
+$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } |
22955 |
+if test $ac_cv_func_mmap_fixed_mapped = yes; then |
22956 |
+ |
22957 |
+$as_echo "#define HAVE_MMAP 1" >>confdefs.h |
22958 |
+ |
22959 |
+fi |
22960 |
+rm -f conftest.mmap conftest.txt |
22961 |
+ |
22962 |
+for ac_func in memset strerror |
22963 |
+do : |
22964 |
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
22965 |
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
22966 |
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
22967 |
+ cat >>confdefs.h <<_ACEOF |
22968 |
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
22969 |
+_ACEOF |
22970 |
+ |
22971 |
+fi |
22972 |
+done |
22973 |
+ |
22974 |
+ |
22975 |
+ac_config_files="$ac_config_files Makefile src/Makefile scripts/Makefile doc/Makefile tests/Makefile tests/gnustack/Makefile tests/pxtpax/Makefile" |
22976 |
+ |
22977 |
+ |
22978 |
+cat >confcache <<\_ACEOF |
22979 |
+# This file is a shell script that caches the results of configure |
22980 |
+# tests run on this system so they can be shared between configure |
22981 |
+# scripts and configure runs, see configure's option --config-cache. |
22982 |
+# It is not useful on other systems. If it contains results you don't |
22983 |
+# want to keep, you may remove or edit it. |
22984 |
+# |
22985 |
+# config.status only pays attention to the cache file if you give it |
22986 |
+# the --recheck option to rerun configure. |
22987 |
+# |
22988 |
+# `ac_cv_env_foo' variables (set or unset) will be overridden when |
22989 |
+# loading this file, other *unset* `ac_cv_foo' will be assigned the |
22990 |
+# following values. |
22991 |
+ |
22992 |
+_ACEOF |
22993 |
+ |
22994 |
+# The following way of writing the cache mishandles newlines in values, |
22995 |
+# but we know of no workaround that is simple, portable, and efficient. |
22996 |
+# So, we kill variables containing newlines. |
22997 |
+# Ultrix sh set writes to stderr and can't be redirected directly, |
22998 |
+# and sets the high bit in the cache file unless we assign to the vars. |
22999 |
+( |
23000 |
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
23001 |
+ eval ac_val=\$$ac_var |
23002 |
+ case $ac_val in #( |
23003 |
+ *${as_nl}*) |
23004 |
+ case $ac_var in #( |
23005 |
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
23006 |
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
23007 |
+ esac |
23008 |
+ case $ac_var in #( |
23009 |
+ _ | IFS | as_nl) ;; #( |
23010 |
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
23011 |
+ *) { eval $ac_var=; unset $ac_var;} ;; |
23012 |
+ esac ;; |
23013 |
+ esac |
23014 |
+ done |
23015 |
+ |
23016 |
+ (set) 2>&1 | |
23017 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #( |
23018 |
+ *${as_nl}ac_space=\ *) |
23019 |
+ # `set' does not quote correctly, so add quotes: double-quote |
23020 |
+ # substitution turns \\\\ into \\, and sed turns \\ into \. |
23021 |
+ sed -n \ |
23022 |
+ "s/'/'\\\\''/g; |
23023 |
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
23024 |
+ ;; #( |
23025 |
+ *) |
23026 |
+ # `set' quotes correctly as required by POSIX, so do not add quotes. |
23027 |
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
23028 |
+ ;; |
23029 |
+ esac | |
23030 |
+ sort |
23031 |
+) | |
23032 |
+ sed ' |
23033 |
+ /^ac_cv_env_/b end |
23034 |
+ t clear |
23035 |
+ :clear |
23036 |
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
23037 |
+ t end |
23038 |
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
23039 |
+ :end' >>confcache |
23040 |
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
23041 |
+ if test -w "$cache_file"; then |
23042 |
+ if test "x$cache_file" != "x/dev/null"; then |
23043 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
23044 |
+$as_echo "$as_me: updating cache $cache_file" >&6;} |
23045 |
+ if test ! -f "$cache_file" || test -h "$cache_file"; then |
23046 |
+ cat confcache >"$cache_file" |
23047 |
+ else |
23048 |
+ case $cache_file in #( |
23049 |
+ */* | ?:*) |
23050 |
+ mv -f confcache "$cache_file"$$ && |
23051 |
+ mv -f "$cache_file"$$ "$cache_file" ;; #( |
23052 |
+ *) |
23053 |
+ mv -f confcache "$cache_file" ;; |
23054 |
+ esac |
23055 |
+ fi |
23056 |
+ fi |
23057 |
+ else |
23058 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
23059 |
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
23060 |
+ fi |
23061 |
+fi |
23062 |
+rm -f confcache |
23063 |
+ |
23064 |
+test "x$prefix" = xNONE && prefix=$ac_default_prefix |
23065 |
+# Let make expand exec_prefix. |
23066 |
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
23067 |
+ |
23068 |
+DEFS=-DHAVE_CONFIG_H |
23069 |
+ |
23070 |
+ac_libobjs= |
23071 |
+ac_ltlibobjs= |
23072 |
+U= |
23073 |
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
23074 |
+ # 1. Remove the extension, and $U if already installed. |
23075 |
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
23076 |
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
23077 |
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
23078 |
+ # will be set to the directory where LIBOBJS objects are built. |
23079 |
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
23080 |
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
23081 |
+done |
23082 |
+LIBOBJS=$ac_libobjs |
23083 |
+ |
23084 |
+LTLIBOBJS=$ac_ltlibobjs |
23085 |
+ |
23086 |
+ |
23087 |
+ if test -n "$EXEEXT"; then |
23088 |
+ am__EXEEXT_TRUE= |
23089 |
+ am__EXEEXT_FALSE='#' |
23090 |
+else |
23091 |
+ am__EXEEXT_TRUE='#' |
23092 |
+ am__EXEEXT_FALSE= |
23093 |
+fi |
23094 |
+ |
23095 |
+if test -z "${TEST_TRUE}" && test -z "${TEST_FALSE}"; then |
23096 |
+ as_fn_error $? "conditional \"TEST\" was never defined. |
23097 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
23098 |
+fi |
23099 |
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
23100 |
+ as_fn_error $? "conditional \"AMDEP\" was never defined. |
23101 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
23102 |
+fi |
23103 |
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
23104 |
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
23105 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
23106 |
+fi |
23107 |
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
23108 |
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
23109 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
23110 |
+fi |
23111 |
+ |
23112 |
+: "${CONFIG_STATUS=./config.status}" |
23113 |
+ac_write_fail=0 |
23114 |
+ac_clean_files_save=$ac_clean_files |
23115 |
+ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
23116 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
23117 |
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
23118 |
+as_write_fail=0 |
23119 |
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
23120 |
+#! $SHELL |
23121 |
+# Generated by $as_me. |
23122 |
+# Run this file to recreate the current configuration. |
23123 |
+# Compiler output produced by configure, useful for debugging |
23124 |
+# configure, is in config.log if it exists. |
23125 |
+ |
23126 |
+debug=false |
23127 |
+ac_cs_recheck=false |
23128 |
+ac_cs_silent=false |
23129 |
+ |
23130 |
+SHELL=\${CONFIG_SHELL-$SHELL} |
23131 |
+export SHELL |
23132 |
+_ASEOF |
23133 |
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
23134 |
+## -------------------- ## |
23135 |
+## M4sh Initialization. ## |
23136 |
+## -------------------- ## |
23137 |
+ |
23138 |
+# Be more Bourne compatible |
23139 |
+DUALCASE=1; export DUALCASE # for MKS sh |
23140 |
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
23141 |
+ emulate sh |
23142 |
+ NULLCMD=: |
23143 |
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
23144 |
+ # is contrary to our usage. Disable this feature. |
23145 |
+ alias -g '${1+"$@"}'='"$@"' |
23146 |
+ setopt NO_GLOB_SUBST |
23147 |
+else |
23148 |
+ case `(set -o) 2>/dev/null` in #( |
23149 |
+ *posix*) : |
23150 |
+ set -o posix ;; #( |
23151 |
+ *) : |
23152 |
+ ;; |
23153 |
+esac |
23154 |
+fi |
23155 |
+ |
23156 |
+ |
23157 |
+as_nl=' |
23158 |
+' |
23159 |
+export as_nl |
23160 |
+# Printing a long string crashes Solaris 7 /usr/bin/printf. |
23161 |
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
23162 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
23163 |
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
23164 |
+# Prefer a ksh shell builtin over an external printf program on Solaris, |
23165 |
+# but without wasting forks for bash or zsh. |
23166 |
+if test -z "$BASH_VERSION$ZSH_VERSION" \ |
23167 |
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
23168 |
+ as_echo='print -r --' |
23169 |
+ as_echo_n='print -rn --' |
23170 |
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
23171 |
+ as_echo='printf %s\n' |
23172 |
+ as_echo_n='printf %s' |
23173 |
+else |
23174 |
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
23175 |
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
23176 |
+ as_echo_n='/usr/ucb/echo -n' |
23177 |
+ else |
23178 |
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
23179 |
+ as_echo_n_body='eval |
23180 |
+ arg=$1; |
23181 |
+ case $arg in #( |
23182 |
+ *"$as_nl"*) |
23183 |
+ expr "X$arg" : "X\\(.*\\)$as_nl"; |
23184 |
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
23185 |
+ esac; |
23186 |
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
23187 |
+ ' |
23188 |
+ export as_echo_n_body |
23189 |
+ as_echo_n='sh -c $as_echo_n_body as_echo' |
23190 |
+ fi |
23191 |
+ export as_echo_body |
23192 |
+ as_echo='sh -c $as_echo_body as_echo' |
23193 |
+fi |
23194 |
+ |
23195 |
+# The user is always right. |
23196 |
+if test "${PATH_SEPARATOR+set}" != set; then |
23197 |
+ PATH_SEPARATOR=: |
23198 |
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
23199 |
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
23200 |
+ PATH_SEPARATOR=';' |
23201 |
+ } |
23202 |
+fi |
23203 |
+ |
23204 |
+ |
23205 |
+# IFS |
23206 |
+# We need space, tab and new line, in precisely that order. Quoting is |
23207 |
+# there to prevent editors from complaining about space-tab. |
23208 |
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
23209 |
+# splitting by setting IFS to empty value.) |
23210 |
+IFS=" "" $as_nl" |
23211 |
+ |
23212 |
+# Find who we are. Look in the path if we contain no directory separator. |
23213 |
+as_myself= |
23214 |
+case $0 in #(( |
23215 |
+ *[\\/]* ) as_myself=$0 ;; |
23216 |
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
23217 |
+for as_dir in $PATH |
23218 |
+do |
23219 |
+ IFS=$as_save_IFS |
23220 |
+ test -z "$as_dir" && as_dir=. |
23221 |
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
23222 |
+ done |
23223 |
+IFS=$as_save_IFS |
23224 |
+ |
23225 |
+ ;; |
23226 |
+esac |
23227 |
+# We did not find ourselves, most probably we were run as `sh COMMAND' |
23228 |
+# in which case we are not to be found in the path. |
23229 |
+if test "x$as_myself" = x; then |
23230 |
+ as_myself=$0 |
23231 |
+fi |
23232 |
+if test ! -f "$as_myself"; then |
23233 |
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
23234 |
+ exit 1 |
23235 |
+fi |
23236 |
+ |
23237 |
+# Unset variables that we do not need and which cause bugs (e.g. in |
23238 |
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
23239 |
+# suppresses any "Segmentation fault" message there. '((' could |
23240 |
+# trigger a bug in pdksh 5.2.14. |
23241 |
+for as_var in BASH_ENV ENV MAIL MAILPATH |
23242 |
+do eval test x\${$as_var+set} = xset \ |
23243 |
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
23244 |
+done |
23245 |
+PS1='$ ' |
23246 |
+PS2='> ' |
23247 |
+PS4='+ ' |
23248 |
+ |
23249 |
+# NLS nuisances. |
23250 |
+LC_ALL=C |
23251 |
+export LC_ALL |
23252 |
+LANGUAGE=C |
23253 |
+export LANGUAGE |
23254 |
+ |
23255 |
+# CDPATH. |
23256 |
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
23257 |
+ |
23258 |
+ |
23259 |
+# as_fn_error STATUS ERROR [LINENO LOG_FD] |
23260 |
+# ---------------------------------------- |
23261 |
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
23262 |
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
23263 |
+# script with STATUS, using 1 if that was 0. |
23264 |
+as_fn_error () |
23265 |
+{ |
23266 |
+ as_status=$1; test $as_status -eq 0 && as_status=1 |
23267 |
+ if test "$4"; then |
23268 |
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
23269 |
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
23270 |
+ fi |
23271 |
+ $as_echo "$as_me: error: $2" >&2 |
23272 |
+ as_fn_exit $as_status |
23273 |
+} # as_fn_error |
23274 |
+ |
23275 |
+ |
23276 |
+# as_fn_set_status STATUS |
23277 |
+# ----------------------- |
23278 |
+# Set $? to STATUS, without forking. |
23279 |
+as_fn_set_status () |
23280 |
+{ |
23281 |
+ return $1 |
23282 |
+} # as_fn_set_status |
23283 |
+ |
23284 |
+# as_fn_exit STATUS |
23285 |
+# ----------------- |
23286 |
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
23287 |
+as_fn_exit () |
23288 |
+{ |
23289 |
+ set +e |
23290 |
+ as_fn_set_status $1 |
23291 |
+ exit $1 |
23292 |
+} # as_fn_exit |
23293 |
+ |
23294 |
+# as_fn_unset VAR |
23295 |
+# --------------- |
23296 |
+# Portably unset VAR. |
23297 |
+as_fn_unset () |
23298 |
+{ |
23299 |
+ { eval $1=; unset $1;} |
23300 |
+} |
23301 |
+as_unset=as_fn_unset |
23302 |
+# as_fn_append VAR VALUE |
23303 |
+# ---------------------- |
23304 |
+# Append the text in VALUE to the end of the definition contained in VAR. Take |
23305 |
+# advantage of any shell optimizations that allow amortized linear growth over |
23306 |
+# repeated appends, instead of the typical quadratic growth present in naive |
23307 |
+# implementations. |
23308 |
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
23309 |
+ eval 'as_fn_append () |
23310 |
+ { |
23311 |
+ eval $1+=\$2 |
23312 |
+ }' |
23313 |
+else |
23314 |
+ as_fn_append () |
23315 |
+ { |
23316 |
+ eval $1=\$$1\$2 |
23317 |
+ } |
23318 |
+fi # as_fn_append |
23319 |
+ |
23320 |
+# as_fn_arith ARG... |
23321 |
+# ------------------ |
23322 |
+# Perform arithmetic evaluation on the ARGs, and store the result in the |
23323 |
+# global $as_val. Take advantage of shells that can avoid forks. The arguments |
23324 |
+# must be portable across $(()) and expr. |
23325 |
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
23326 |
+ eval 'as_fn_arith () |
23327 |
+ { |
23328 |
+ as_val=$(( $* )) |
23329 |
+ }' |
23330 |
+else |
23331 |
+ as_fn_arith () |
23332 |
+ { |
23333 |
+ as_val=`expr "$@" || test $? -eq 1` |
23334 |
+ } |
23335 |
+fi # as_fn_arith |
23336 |
+ |
23337 |
+ |
23338 |
+if expr a : '\(a\)' >/dev/null 2>&1 && |
23339 |
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then |
23340 |
+ as_expr=expr |
23341 |
+else |
23342 |
+ as_expr=false |
23343 |
+fi |
23344 |
+ |
23345 |
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
23346 |
+ as_basename=basename |
23347 |
+else |
23348 |
+ as_basename=false |
23349 |
+fi |
23350 |
+ |
23351 |
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
23352 |
+ as_dirname=dirname |
23353 |
+else |
23354 |
+ as_dirname=false |
23355 |
+fi |
23356 |
+ |
23357 |
+as_me=`$as_basename -- "$0" || |
23358 |
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
23359 |
+ X"$0" : 'X\(//\)$' \| \ |
23360 |
+ X"$0" : 'X\(/\)' \| . 2>/dev/null || |
23361 |
+$as_echo X/"$0" | |
23362 |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ |
23363 |
+ s//\1/ |
23364 |
+ q |
23365 |
+ } |
23366 |
+ /^X\/\(\/\/\)$/{ |
23367 |
+ s//\1/ |
23368 |
+ q |
23369 |
+ } |
23370 |
+ /^X\/\(\/\).*/{ |
23371 |
+ s//\1/ |
23372 |
+ q |
23373 |
+ } |
23374 |
+ s/.*/./; q'` |
23375 |
+ |
23376 |
+# Avoid depending upon Character Ranges. |
23377 |
+as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
23378 |
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
23379 |
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
23380 |
+as_cr_digits='0123456789' |
23381 |
+as_cr_alnum=$as_cr_Letters$as_cr_digits |
23382 |
+ |
23383 |
+ECHO_C= ECHO_N= ECHO_T= |
23384 |
+case `echo -n x` in #((((( |
23385 |
+-n*) |
23386 |
+ case `echo 'xy\c'` in |
23387 |
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
23388 |
+ xy) ECHO_C='\c';; |
23389 |
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
23390 |
+ ECHO_T=' ';; |
23391 |
+ esac;; |
23392 |
+*) |
23393 |
+ ECHO_N='-n';; |
23394 |
+esac |
23395 |
+ |
23396 |
+rm -f conf$$ conf$$.exe conf$$.file |
23397 |
+if test -d conf$$.dir; then |
23398 |
+ rm -f conf$$.dir/conf$$.file |
23399 |
+else |
23400 |
+ rm -f conf$$.dir |
23401 |
+ mkdir conf$$.dir 2>/dev/null |
23402 |
+fi |
23403 |
+if (echo >conf$$.file) 2>/dev/null; then |
23404 |
+ if ln -s conf$$.file conf$$ 2>/dev/null; then |
23405 |
+ as_ln_s='ln -s' |
23406 |
+ # ... but there are two gotchas: |
23407 |
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
23408 |
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
23409 |
+ # In both cases, we have to default to `cp -p'. |
23410 |
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
23411 |
+ as_ln_s='cp -p' |
23412 |
+ elif ln conf$$.file conf$$ 2>/dev/null; then |
23413 |
+ as_ln_s=ln |
23414 |
+ else |
23415 |
+ as_ln_s='cp -p' |
23416 |
+ fi |
23417 |
+else |
23418 |
+ as_ln_s='cp -p' |
23419 |
+fi |
23420 |
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
23421 |
+rmdir conf$$.dir 2>/dev/null |
23422 |
+ |
23423 |
+ |
23424 |
+# as_fn_mkdir_p |
23425 |
+# ------------- |
23426 |
+# Create "$as_dir" as a directory, including parents if necessary. |
23427 |
+as_fn_mkdir_p () |
23428 |
+{ |
23429 |
+ |
23430 |
+ case $as_dir in #( |
23431 |
+ -*) as_dir=./$as_dir;; |
23432 |
+ esac |
23433 |
+ test -d "$as_dir" || eval $as_mkdir_p || { |
23434 |
+ as_dirs= |
23435 |
+ while :; do |
23436 |
+ case $as_dir in #( |
23437 |
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
23438 |
+ *) as_qdir=$as_dir;; |
23439 |
+ esac |
23440 |
+ as_dirs="'$as_qdir' $as_dirs" |
23441 |
+ as_dir=`$as_dirname -- "$as_dir" || |
23442 |
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23443 |
+ X"$as_dir" : 'X\(//\)[^/]' \| \ |
23444 |
+ X"$as_dir" : 'X\(//\)$' \| \ |
23445 |
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
23446 |
+$as_echo X"$as_dir" | |
23447 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
23448 |
+ s//\1/ |
23449 |
+ q |
23450 |
+ } |
23451 |
+ /^X\(\/\/\)[^/].*/{ |
23452 |
+ s//\1/ |
23453 |
+ q |
23454 |
+ } |
23455 |
+ /^X\(\/\/\)$/{ |
23456 |
+ s//\1/ |
23457 |
+ q |
23458 |
+ } |
23459 |
+ /^X\(\/\).*/{ |
23460 |
+ s//\1/ |
23461 |
+ q |
23462 |
+ } |
23463 |
+ s/.*/./; q'` |
23464 |
+ test -d "$as_dir" && break |
23465 |
+ done |
23466 |
+ test -z "$as_dirs" || eval "mkdir $as_dirs" |
23467 |
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
23468 |
+ |
23469 |
+ |
23470 |
+} # as_fn_mkdir_p |
23471 |
+if mkdir -p . 2>/dev/null; then |
23472 |
+ as_mkdir_p='mkdir -p "$as_dir"' |
23473 |
+else |
23474 |
+ test -d ./-p && rmdir ./-p |
23475 |
+ as_mkdir_p=false |
23476 |
+fi |
23477 |
+ |
23478 |
+if test -x / >/dev/null 2>&1; then |
23479 |
+ as_test_x='test -x' |
23480 |
+else |
23481 |
+ if ls -dL / >/dev/null 2>&1; then |
23482 |
+ as_ls_L_option=L |
23483 |
+ else |
23484 |
+ as_ls_L_option= |
23485 |
+ fi |
23486 |
+ as_test_x=' |
23487 |
+ eval sh -c '\'' |
23488 |
+ if test -d "$1"; then |
23489 |
+ test -d "$1/."; |
23490 |
+ else |
23491 |
+ case $1 in #( |
23492 |
+ -*)set "./$1";; |
23493 |
+ esac; |
23494 |
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
23495 |
+ ???[sx]*):;;*)false;;esac;fi |
23496 |
+ '\'' sh |
23497 |
+ ' |
23498 |
+fi |
23499 |
+as_executable_p=$as_test_x |
23500 |
+ |
23501 |
+# Sed expression to map a string onto a valid CPP name. |
23502 |
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
23503 |
+ |
23504 |
+# Sed expression to map a string onto a valid variable name. |
23505 |
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
23506 |
+ |
23507 |
+ |
23508 |
+exec 6>&1 |
23509 |
+## ----------------------------------- ## |
23510 |
+## Main body of $CONFIG_STATUS script. ## |
23511 |
+## ----------------------------------- ## |
23512 |
+_ASEOF |
23513 |
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
23514 |
+ |
23515 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
23516 |
+# Save the log message, to keep $0 and so on meaningful, and to |
23517 |
+# report actual input values of CONFIG_FILES etc. instead of their |
23518 |
+# values after options handling. |
23519 |
+ac_log=" |
23520 |
+This file was extended by elfix $as_me 0.4.0, which was |
23521 |
+generated by GNU Autoconf 2.68. Invocation command line was |
23522 |
+ |
23523 |
+ CONFIG_FILES = $CONFIG_FILES |
23524 |
+ CONFIG_HEADERS = $CONFIG_HEADERS |
23525 |
+ CONFIG_LINKS = $CONFIG_LINKS |
23526 |
+ CONFIG_COMMANDS = $CONFIG_COMMANDS |
23527 |
+ $ $0 $@ |
23528 |
+ |
23529 |
+on `(hostname || uname -n) 2>/dev/null | sed 1q` |
23530 |
+" |
23531 |
+ |
23532 |
+_ACEOF |
23533 |
+ |
23534 |
+case $ac_config_files in *" |
23535 |
+"*) set x $ac_config_files; shift; ac_config_files=$*;; |
23536 |
+esac |
23537 |
+ |
23538 |
+case $ac_config_headers in *" |
23539 |
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
23540 |
+esac |
23541 |
+ |
23542 |
+ |
23543 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
23544 |
+# Files that config.status was made for. |
23545 |
+config_files="$ac_config_files" |
23546 |
+config_headers="$ac_config_headers" |
23547 |
+config_commands="$ac_config_commands" |
23548 |
+ |
23549 |
+_ACEOF |
23550 |
+ |
23551 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
23552 |
+ac_cs_usage="\ |
23553 |
+\`$as_me' instantiates files and other configuration actions |
23554 |
+from templates according to the current configuration. Unless the files |
23555 |
+and actions are specified as TAGs, all are instantiated by default. |
23556 |
+ |
23557 |
+Usage: $0 [OPTION]... [TAG]... |
23558 |
+ |
23559 |
+ -h, --help print this help, then exit |
23560 |
+ -V, --version print version number and configuration settings, then exit |
23561 |
+ --config print configuration, then exit |
23562 |
+ -q, --quiet, --silent |
23563 |
+ do not print progress messages |
23564 |
+ -d, --debug don't remove temporary files |
23565 |
+ --recheck update $as_me by reconfiguring in the same conditions |
23566 |
+ --file=FILE[:TEMPLATE] |
23567 |
+ instantiate the configuration file FILE |
23568 |
+ --header=FILE[:TEMPLATE] |
23569 |
+ instantiate the configuration header FILE |
23570 |
+ |
23571 |
+Configuration files: |
23572 |
+$config_files |
23573 |
+ |
23574 |
+Configuration headers: |
23575 |
+$config_headers |
23576 |
+ |
23577 |
+Configuration commands: |
23578 |
+$config_commands |
23579 |
+ |
23580 |
+Report bugs to <http://bugs.gentoo.org/>." |
23581 |
+ |
23582 |
+_ACEOF |
23583 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
23584 |
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
23585 |
+ac_cs_version="\\ |
23586 |
+elfix config.status 0.4.0 |
23587 |
+configured by $0, generated by GNU Autoconf 2.68, |
23588 |
+ with options \\"\$ac_cs_config\\" |
23589 |
+ |
23590 |
+Copyright (C) 2010 Free Software Foundation, Inc. |
23591 |
+This config.status script is free software; the Free Software Foundation |
23592 |
+gives unlimited permission to copy, distribute and modify it." |
23593 |
+ |
23594 |
+ac_pwd='$ac_pwd' |
23595 |
+srcdir='$srcdir' |
23596 |
+INSTALL='$INSTALL' |
23597 |
+MKDIR_P='$MKDIR_P' |
23598 |
+AWK='$AWK' |
23599 |
+test -n "\$AWK" || AWK=awk |
23600 |
+_ACEOF |
23601 |
+ |
23602 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
23603 |
+# The default lists apply if the user does not specify any file. |
23604 |
+ac_need_defaults=: |
23605 |
+while test $# != 0 |
23606 |
+do |
23607 |
+ case $1 in |
23608 |
+ --*=?*) |
23609 |
+ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
23610 |
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
23611 |
+ ac_shift=: |
23612 |
+ ;; |
23613 |
+ --*=) |
23614 |
+ ac_option=`expr "X$1" : 'X\([^=]*\)='` |
23615 |
+ ac_optarg= |
23616 |
+ ac_shift=: |
23617 |
+ ;; |
23618 |
+ *) |
23619 |
+ ac_option=$1 |
23620 |
+ ac_optarg=$2 |
23621 |
+ ac_shift=shift |
23622 |
+ ;; |
23623 |
+ esac |
23624 |
+ |
23625 |
+ case $ac_option in |
23626 |
+ # Handling of the options. |
23627 |
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
23628 |
+ ac_cs_recheck=: ;; |
23629 |
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
23630 |
+ $as_echo "$ac_cs_version"; exit ;; |
23631 |
+ --config | --confi | --conf | --con | --co | --c ) |
23632 |
+ $as_echo "$ac_cs_config"; exit ;; |
23633 |
+ --debug | --debu | --deb | --de | --d | -d ) |
23634 |
+ debug=: ;; |
23635 |
+ --file | --fil | --fi | --f ) |
23636 |
+ $ac_shift |
23637 |
+ case $ac_optarg in |
23638 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
23639 |
+ '') as_fn_error $? "missing file argument" ;; |
23640 |
+ esac |
23641 |
+ as_fn_append CONFIG_FILES " '$ac_optarg'" |
23642 |
+ ac_need_defaults=false;; |
23643 |
+ --header | --heade | --head | --hea ) |
23644 |
+ $ac_shift |
23645 |
+ case $ac_optarg in |
23646 |
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
23647 |
+ esac |
23648 |
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
23649 |
+ ac_need_defaults=false;; |
23650 |
+ --he | --h) |
23651 |
+ # Conflict between --help and --header |
23652 |
+ as_fn_error $? "ambiguous option: \`$1' |
23653 |
+Try \`$0 --help' for more information.";; |
23654 |
+ --help | --hel | -h ) |
23655 |
+ $as_echo "$ac_cs_usage"; exit ;; |
23656 |
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
23657 |
+ | -silent | --silent | --silen | --sile | --sil | --si | --s) |
23658 |
+ ac_cs_silent=: ;; |
23659 |
+ |
23660 |
+ # This is an error. |
23661 |
+ -*) as_fn_error $? "unrecognized option: \`$1' |
23662 |
+Try \`$0 --help' for more information." ;; |
23663 |
+ |
23664 |
+ *) as_fn_append ac_config_targets " $1" |
23665 |
+ ac_need_defaults=false ;; |
23666 |
+ |
23667 |
+ esac |
23668 |
+ shift |
23669 |
+done |
23670 |
+ |
23671 |
+ac_configure_extra_args= |
23672 |
+ |
23673 |
+if $ac_cs_silent; then |
23674 |
+ exec 6>/dev/null |
23675 |
+ ac_configure_extra_args="$ac_configure_extra_args --silent" |
23676 |
+fi |
23677 |
+ |
23678 |
+_ACEOF |
23679 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
23680 |
+if \$ac_cs_recheck; then |
23681 |
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
23682 |
+ shift |
23683 |
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
23684 |
+ CONFIG_SHELL='$SHELL' |
23685 |
+ export CONFIG_SHELL |
23686 |
+ exec "\$@" |
23687 |
+fi |
23688 |
+ |
23689 |
+_ACEOF |
23690 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
23691 |
+exec 5>>config.log |
23692 |
+{ |
23693 |
+ echo |
23694 |
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
23695 |
+## Running $as_me. ## |
23696 |
+_ASBOX |
23697 |
+ $as_echo "$ac_log" |
23698 |
+} >&5 |
23699 |
+ |
23700 |
+_ACEOF |
23701 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
23702 |
+# |
23703 |
+# INIT-COMMANDS |
23704 |
+# |
23705 |
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
23706 |
+ |
23707 |
+_ACEOF |
23708 |
+ |
23709 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
23710 |
+ |
23711 |
+# Handling of arguments. |
23712 |
+for ac_config_target in $ac_config_targets |
23713 |
+do |
23714 |
+ case $ac_config_target in |
23715 |
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
23716 |
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
23717 |
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
23718 |
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
23719 |
+ "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; |
23720 |
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
23721 |
+ "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
23722 |
+ "tests/gnustack/Makefile") CONFIG_FILES="$CONFIG_FILES tests/gnustack/Makefile" ;; |
23723 |
+ "tests/pxtpax/Makefile") CONFIG_FILES="$CONFIG_FILES tests/pxtpax/Makefile" ;; |
23724 |
+ |
23725 |
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
23726 |
+ esac |
23727 |
+done |
23728 |
+ |
23729 |
+ |
23730 |
+# If the user did not use the arguments to specify the items to instantiate, |
23731 |
+# then the envvar interface is used. Set only those that are not. |
23732 |
+# We use the long form for the default assignment because of an extremely |
23733 |
+# bizarre bug on SunOS 4.1.3. |
23734 |
+if $ac_need_defaults; then |
23735 |
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
23736 |
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
23737 |
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
23738 |
+fi |
23739 |
+ |
23740 |
+# Have a temporary directory for convenience. Make it in the build tree |
23741 |
+# simply because there is no reason against having it here, and in addition, |
23742 |
+# creating and moving files from /tmp can sometimes cause problems. |
23743 |
+# Hook for its removal unless debugging. |
23744 |
+# Note that there is a small window in which the directory will not be cleaned: |
23745 |
+# after its creation but before its name has been assigned to `$tmp'. |
23746 |
+$debug || |
23747 |
+{ |
23748 |
+ tmp= ac_tmp= |
23749 |
+ trap 'exit_status=$? |
23750 |
+ : "${ac_tmp:=$tmp}" |
23751 |
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
23752 |
+' 0 |
23753 |
+ trap 'as_fn_exit 1' 1 2 13 15 |
23754 |
+} |
23755 |
+# Create a (secure) tmp directory for tmp files. |
23756 |
+ |
23757 |
+{ |
23758 |
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
23759 |
+ test -d "$tmp" |
23760 |
+} || |
23761 |
+{ |
23762 |
+ tmp=./conf$$-$RANDOM |
23763 |
+ (umask 077 && mkdir "$tmp") |
23764 |
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
23765 |
+ac_tmp=$tmp |
23766 |
+ |
23767 |
+# Set up the scripts for CONFIG_FILES section. |
23768 |
+# No need to generate them if there are no CONFIG_FILES. |
23769 |
+# This happens for instance with `./config.status config.h'. |
23770 |
+if test -n "$CONFIG_FILES"; then |
23771 |
+ |
23772 |
+ |
23773 |
+ac_cr=`echo X | tr X '\015'` |
23774 |
+# On cygwin, bash can eat \r inside `` if the user requested igncr. |
23775 |
+# But we know of no other shell where ac_cr would be empty at this |
23776 |
+# point, so we can use a bashism as a fallback. |
23777 |
+if test "x$ac_cr" = x; then |
23778 |
+ eval ac_cr=\$\'\\r\' |
23779 |
+fi |
23780 |
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
23781 |
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
23782 |
+ ac_cs_awk_cr='\\r' |
23783 |
+else |
23784 |
+ ac_cs_awk_cr=$ac_cr |
23785 |
+fi |
23786 |
+ |
23787 |
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
23788 |
+_ACEOF |
23789 |
+ |
23790 |
+ |
23791 |
+{ |
23792 |
+ echo "cat >conf$$subs.awk <<_ACEOF" && |
23793 |
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
23794 |
+ echo "_ACEOF" |
23795 |
+} >conf$$subs.sh || |
23796 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
23797 |
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
23798 |
+ac_delim='%!_!# ' |
23799 |
+for ac_last_try in false false false false false :; do |
23800 |
+ . ./conf$$subs.sh || |
23801 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
23802 |
+ |
23803 |
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
23804 |
+ if test $ac_delim_n = $ac_delim_num; then |
23805 |
+ break |
23806 |
+ elif $ac_last_try; then |
23807 |
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
23808 |
+ else |
23809 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
23810 |
+ fi |
23811 |
+done |
23812 |
+rm -f conf$$subs.sh |
23813 |
+ |
23814 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
23815 |
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
23816 |
+_ACEOF |
23817 |
+sed -n ' |
23818 |
+h |
23819 |
+s/^/S["/; s/!.*/"]=/ |
23820 |
+p |
23821 |
+g |
23822 |
+s/^[^!]*!// |
23823 |
+:repl |
23824 |
+t repl |
23825 |
+s/'"$ac_delim"'$// |
23826 |
+t delim |
23827 |
+:nl |
23828 |
+h |
23829 |
+s/\(.\{148\}\)..*/\1/ |
23830 |
+t more1 |
23831 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
23832 |
+p |
23833 |
+n |
23834 |
+b repl |
23835 |
+:more1 |
23836 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
23837 |
+p |
23838 |
+g |
23839 |
+s/.\{148\}// |
23840 |
+t nl |
23841 |
+:delim |
23842 |
+h |
23843 |
+s/\(.\{148\}\)..*/\1/ |
23844 |
+t more2 |
23845 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/ |
23846 |
+p |
23847 |
+b |
23848 |
+:more2 |
23849 |
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
23850 |
+p |
23851 |
+g |
23852 |
+s/.\{148\}// |
23853 |
+t delim |
23854 |
+' <conf$$subs.awk | sed ' |
23855 |
+/^[^""]/{ |
23856 |
+ N |
23857 |
+ s/\n// |
23858 |
+} |
23859 |
+' >>$CONFIG_STATUS || ac_write_fail=1 |
23860 |
+rm -f conf$$subs.awk |
23861 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
23862 |
+_ACAWK |
23863 |
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
23864 |
+ for (key in S) S_is_set[key] = 1 |
23865 |
+ FS = "" |
23866 |
+ |
23867 |
+} |
23868 |
+{ |
23869 |
+ line = $ 0 |
23870 |
+ nfields = split(line, field, "@") |
23871 |
+ substed = 0 |
23872 |
+ len = length(field[1]) |
23873 |
+ for (i = 2; i < nfields; i++) { |
23874 |
+ key = field[i] |
23875 |
+ keylen = length(key) |
23876 |
+ if (S_is_set[key]) { |
23877 |
+ value = S[key] |
23878 |
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
23879 |
+ len += length(value) + length(field[++i]) |
23880 |
+ substed = 1 |
23881 |
+ } else |
23882 |
+ len += 1 + keylen |
23883 |
+ } |
23884 |
+ |
23885 |
+ print line |
23886 |
+} |
23887 |
+ |
23888 |
+_ACAWK |
23889 |
+_ACEOF |
23890 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
23891 |
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
23892 |
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
23893 |
+else |
23894 |
+ cat |
23895 |
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
23896 |
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
23897 |
+_ACEOF |
23898 |
+ |
23899 |
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
23900 |
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
23901 |
+# trailing colons and then remove the whole line if VPATH becomes empty |
23902 |
+# (actually we leave an empty line to preserve line numbers). |
23903 |
+if test "x$srcdir" = x.; then |
23904 |
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
23905 |
+h |
23906 |
+s/// |
23907 |
+s/^/:/ |
23908 |
+s/[ ]*$/:/ |
23909 |
+s/:\$(srcdir):/:/g |
23910 |
+s/:\${srcdir}:/:/g |
23911 |
+s/:@srcdir@:/:/g |
23912 |
+s/^:*// |
23913 |
+s/:*$// |
23914 |
+x |
23915 |
+s/\(=[ ]*\).*/\1/ |
23916 |
+G |
23917 |
+s/\n// |
23918 |
+s/^[^=]*=[ ]*$// |
23919 |
+}' |
23920 |
+fi |
23921 |
+ |
23922 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
23923 |
+fi # test -n "$CONFIG_FILES" |
23924 |
+ |
23925 |
+# Set up the scripts for CONFIG_HEADERS section. |
23926 |
+# No need to generate them if there are no CONFIG_HEADERS. |
23927 |
+# This happens for instance with `./config.status Makefile'. |
23928 |
+if test -n "$CONFIG_HEADERS"; then |
23929 |
+cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
23930 |
+BEGIN { |
23931 |
+_ACEOF |
23932 |
+ |
23933 |
+# Transform confdefs.h into an awk script `defines.awk', embedded as |
23934 |
+# here-document in config.status, that substitutes the proper values into |
23935 |
+# config.h.in to produce config.h. |
23936 |
+ |
23937 |
+# Create a delimiter string that does not exist in confdefs.h, to ease |
23938 |
+# handling of long lines. |
23939 |
+ac_delim='%!_!# ' |
23940 |
+for ac_last_try in false false :; do |
23941 |
+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
23942 |
+ if test -z "$ac_tt"; then |
23943 |
+ break |
23944 |
+ elif $ac_last_try; then |
23945 |
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
23946 |
+ else |
23947 |
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
23948 |
+ fi |
23949 |
+done |
23950 |
+ |
23951 |
+# For the awk script, D is an array of macro values keyed by name, |
23952 |
+# likewise P contains macro parameters if any. Preserve backslash |
23953 |
+# newline sequences. |
23954 |
+ |
23955 |
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
23956 |
+sed -n ' |
23957 |
+s/.\{148\}/&'"$ac_delim"'/g |
23958 |
+t rset |
23959 |
+:rset |
23960 |
+s/^[ ]*#[ ]*define[ ][ ]*/ / |
23961 |
+t def |
23962 |
+d |
23963 |
+:def |
23964 |
+s/\\$// |
23965 |
+t bsnl |
23966 |
+s/["\\]/\\&/g |
23967 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
23968 |
+D["\1"]=" \3"/p |
23969 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
23970 |
+d |
23971 |
+:bsnl |
23972 |
+s/["\\]/\\&/g |
23973 |
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
23974 |
+D["\1"]=" \3\\\\\\n"\\/p |
23975 |
+t cont |
23976 |
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
23977 |
+t cont |
23978 |
+d |
23979 |
+:cont |
23980 |
+n |
23981 |
+s/.\{148\}/&'"$ac_delim"'/g |
23982 |
+t clear |
23983 |
+:clear |
23984 |
+s/\\$// |
23985 |
+t bsnlc |
23986 |
+s/["\\]/\\&/g; s/^/"/; s/$/"/p |
23987 |
+d |
23988 |
+:bsnlc |
23989 |
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
23990 |
+b cont |
23991 |
+' <confdefs.h | sed ' |
23992 |
+s/'"$ac_delim"'/"\\\ |
23993 |
+"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
23994 |
+ |
23995 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
23996 |
+ for (key in D) D_is_set[key] = 1 |
23997 |
+ FS = "" |
23998 |
+} |
23999 |
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
24000 |
+ line = \$ 0 |
24001 |
+ split(line, arg, " ") |
24002 |
+ if (arg[1] == "#") { |
24003 |
+ defundef = arg[2] |
24004 |
+ mac1 = arg[3] |
24005 |
+ } else { |
24006 |
+ defundef = substr(arg[1], 2) |
24007 |
+ mac1 = arg[2] |
24008 |
+ } |
24009 |
+ split(mac1, mac2, "(") #) |
24010 |
+ macro = mac2[1] |
24011 |
+ prefix = substr(line, 1, index(line, defundef) - 1) |
24012 |
+ if (D_is_set[macro]) { |
24013 |
+ # Preserve the white space surrounding the "#". |
24014 |
+ print prefix "define", macro P[macro] D[macro] |
24015 |
+ next |
24016 |
+ } else { |
24017 |
+ # Replace #undef with comments. This is necessary, for example, |
24018 |
+ # in the case of _POSIX_SOURCE, which is predefined and required |
24019 |
+ # on some systems where configure will not decide to define it. |
24020 |
+ if (defundef == "undef") { |
24021 |
+ print "/*", prefix defundef, macro, "*/" |
24022 |
+ next |
24023 |
+ } |
24024 |
+ } |
24025 |
+} |
24026 |
+{ print } |
24027 |
+_ACAWK |
24028 |
+_ACEOF |
24029 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
24030 |
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
24031 |
+fi # test -n "$CONFIG_HEADERS" |
24032 |
+ |
24033 |
+ |
24034 |
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
24035 |
+shift |
24036 |
+for ac_tag |
24037 |
+do |
24038 |
+ case $ac_tag in |
24039 |
+ :[FHLC]) ac_mode=$ac_tag; continue;; |
24040 |
+ esac |
24041 |
+ case $ac_mode$ac_tag in |
24042 |
+ :[FHL]*:*);; |
24043 |
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
24044 |
+ :[FH]-) ac_tag=-:-;; |
24045 |
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
24046 |
+ esac |
24047 |
+ ac_save_IFS=$IFS |
24048 |
+ IFS=: |
24049 |
+ set x $ac_tag |
24050 |
+ IFS=$ac_save_IFS |
24051 |
+ shift |
24052 |
+ ac_file=$1 |
24053 |
+ shift |
24054 |
+ |
24055 |
+ case $ac_mode in |
24056 |
+ :L) ac_source=$1;; |
24057 |
+ :[FH]) |
24058 |
+ ac_file_inputs= |
24059 |
+ for ac_f |
24060 |
+ do |
24061 |
+ case $ac_f in |
24062 |
+ -) ac_f="$ac_tmp/stdin";; |
24063 |
+ *) # Look for the file first in the build tree, then in the source tree |
24064 |
+ # (if the path is not absolute). The absolute path cannot be DOS-style, |
24065 |
+ # because $ac_f cannot contain `:'. |
24066 |
+ test -f "$ac_f" || |
24067 |
+ case $ac_f in |
24068 |
+ [\\/$]*) false;; |
24069 |
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
24070 |
+ esac || |
24071 |
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
24072 |
+ esac |
24073 |
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
24074 |
+ as_fn_append ac_file_inputs " '$ac_f'" |
24075 |
+ done |
24076 |
+ |
24077 |
+ # Let's still pretend it is `configure' which instantiates (i.e., don't |
24078 |
+ # use $as_me), people would be surprised to read: |
24079 |
+ # /* config.h. Generated by config.status. */ |
24080 |
+ configure_input='Generated from '` |
24081 |
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
24082 |
+ `' by configure.' |
24083 |
+ if test x"$ac_file" != x-; then |
24084 |
+ configure_input="$ac_file. $configure_input" |
24085 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
24086 |
+$as_echo "$as_me: creating $ac_file" >&6;} |
24087 |
+ fi |
24088 |
+ # Neutralize special characters interpreted by sed in replacement strings. |
24089 |
+ case $configure_input in #( |
24090 |
+ *\&* | *\|* | *\\* ) |
24091 |
+ ac_sed_conf_input=`$as_echo "$configure_input" | |
24092 |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #( |
24093 |
+ *) ac_sed_conf_input=$configure_input;; |
24094 |
+ esac |
24095 |
+ |
24096 |
+ case $ac_tag in |
24097 |
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
24098 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
24099 |
+ esac |
24100 |
+ ;; |
24101 |
+ esac |
24102 |
+ |
24103 |
+ ac_dir=`$as_dirname -- "$ac_file" || |
24104 |
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
24105 |
+ X"$ac_file" : 'X\(//\)[^/]' \| \ |
24106 |
+ X"$ac_file" : 'X\(//\)$' \| \ |
24107 |
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
24108 |
+$as_echo X"$ac_file" | |
24109 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
24110 |
+ s//\1/ |
24111 |
+ q |
24112 |
+ } |
24113 |
+ /^X\(\/\/\)[^/].*/{ |
24114 |
+ s//\1/ |
24115 |
+ q |
24116 |
+ } |
24117 |
+ /^X\(\/\/\)$/{ |
24118 |
+ s//\1/ |
24119 |
+ q |
24120 |
+ } |
24121 |
+ /^X\(\/\).*/{ |
24122 |
+ s//\1/ |
24123 |
+ q |
24124 |
+ } |
24125 |
+ s/.*/./; q'` |
24126 |
+ as_dir="$ac_dir"; as_fn_mkdir_p |
24127 |
+ ac_builddir=. |
24128 |
+ |
24129 |
+case "$ac_dir" in |
24130 |
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
24131 |
+*) |
24132 |
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
24133 |
+ # A ".." for each directory in $ac_dir_suffix. |
24134 |
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
24135 |
+ case $ac_top_builddir_sub in |
24136 |
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
24137 |
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
24138 |
+ esac ;; |
24139 |
+esac |
24140 |
+ac_abs_top_builddir=$ac_pwd |
24141 |
+ac_abs_builddir=$ac_pwd$ac_dir_suffix |
24142 |
+# for backward compatibility: |
24143 |
+ac_top_builddir=$ac_top_build_prefix |
24144 |
+ |
24145 |
+case $srcdir in |
24146 |
+ .) # We are building in place. |
24147 |
+ ac_srcdir=. |
24148 |
+ ac_top_srcdir=$ac_top_builddir_sub |
24149 |
+ ac_abs_top_srcdir=$ac_pwd ;; |
24150 |
+ [\\/]* | ?:[\\/]* ) # Absolute name. |
24151 |
+ ac_srcdir=$srcdir$ac_dir_suffix; |
24152 |
+ ac_top_srcdir=$srcdir |
24153 |
+ ac_abs_top_srcdir=$srcdir ;; |
24154 |
+ *) # Relative name. |
24155 |
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
24156 |
+ ac_top_srcdir=$ac_top_build_prefix$srcdir |
24157 |
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
24158 |
+esac |
24159 |
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
24160 |
+ |
24161 |
+ |
24162 |
+ case $ac_mode in |
24163 |
+ :F) |
24164 |
+ # |
24165 |
+ # CONFIG_FILE |
24166 |
+ # |
24167 |
+ |
24168 |
+ case $INSTALL in |
24169 |
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
24170 |
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
24171 |
+ esac |
24172 |
+ ac_MKDIR_P=$MKDIR_P |
24173 |
+ case $MKDIR_P in |
24174 |
+ [\\/$]* | ?:[\\/]* ) ;; |
24175 |
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
24176 |
+ esac |
24177 |
+_ACEOF |
24178 |
+ |
24179 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
24180 |
+# If the template does not know about datarootdir, expand it. |
24181 |
+# FIXME: This hack should be removed a few years after 2.60. |
24182 |
+ac_datarootdir_hack=; ac_datarootdir_seen= |
24183 |
+ac_sed_dataroot=' |
24184 |
+/datarootdir/ { |
24185 |
+ p |
24186 |
+ q |
24187 |
+} |
24188 |
+/@datadir@/p |
24189 |
+/@docdir@/p |
24190 |
+/@infodir@/p |
24191 |
+/@localedir@/p |
24192 |
+/@mandir@/p' |
24193 |
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
24194 |
+*datarootdir*) ac_datarootdir_seen=yes;; |
24195 |
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
24196 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
24197 |
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
24198 |
+_ACEOF |
24199 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
24200 |
+ ac_datarootdir_hack=' |
24201 |
+ s&@datadir@&$datadir&g |
24202 |
+ s&@docdir@&$docdir&g |
24203 |
+ s&@infodir@&$infodir&g |
24204 |
+ s&@localedir@&$localedir&g |
24205 |
+ s&@mandir@&$mandir&g |
24206 |
+ s&\\\${datarootdir}&$datarootdir&g' ;; |
24207 |
+esac |
24208 |
+_ACEOF |
24209 |
+ |
24210 |
+# Neutralize VPATH when `$srcdir' = `.'. |
24211 |
+# Shell code in configure.ac might set extrasub. |
24212 |
+# FIXME: do we really want to maintain this feature? |
24213 |
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
24214 |
+ac_sed_extra="$ac_vpsub |
24215 |
+$extrasub |
24216 |
+_ACEOF |
24217 |
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
24218 |
+:t |
24219 |
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
24220 |
+s|@configure_input@|$ac_sed_conf_input|;t t |
24221 |
+s&@top_builddir@&$ac_top_builddir_sub&;t t |
24222 |
+s&@top_build_prefix@&$ac_top_build_prefix&;t t |
24223 |
+s&@srcdir@&$ac_srcdir&;t t |
24224 |
+s&@abs_srcdir@&$ac_abs_srcdir&;t t |
24225 |
+s&@top_srcdir@&$ac_top_srcdir&;t t |
24226 |
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
24227 |
+s&@builddir@&$ac_builddir&;t t |
24228 |
+s&@abs_builddir@&$ac_abs_builddir&;t t |
24229 |
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
24230 |
+s&@INSTALL@&$ac_INSTALL&;t t |
24231 |
+s&@MKDIR_P@&$ac_MKDIR_P&;t t |
24232 |
+$ac_datarootdir_hack |
24233 |
+" |
24234 |
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
24235 |
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
24236 |
+ |
24237 |
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
24238 |
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
24239 |
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
24240 |
+ "$ac_tmp/out"`; test -z "$ac_out"; } && |
24241 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
24242 |
+which seems to be undefined. Please make sure it is defined" >&5 |
24243 |
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
24244 |
+which seems to be undefined. Please make sure it is defined" >&2;} |
24245 |
+ |
24246 |
+ rm -f "$ac_tmp/stdin" |
24247 |
+ case $ac_file in |
24248 |
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
24249 |
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
24250 |
+ esac \ |
24251 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
24252 |
+ ;; |
24253 |
+ :H) |
24254 |
+ # |
24255 |
+ # CONFIG_HEADER |
24256 |
+ # |
24257 |
+ if test x"$ac_file" != x-; then |
24258 |
+ { |
24259 |
+ $as_echo "/* $configure_input */" \ |
24260 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
24261 |
+ } >"$ac_tmp/config.h" \ |
24262 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
24263 |
+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
24264 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
24265 |
+$as_echo "$as_me: $ac_file is unchanged" >&6;} |
24266 |
+ else |
24267 |
+ rm -f "$ac_file" |
24268 |
+ mv "$ac_tmp/config.h" "$ac_file" \ |
24269 |
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
24270 |
+ fi |
24271 |
+ else |
24272 |
+ $as_echo "/* $configure_input */" \ |
24273 |
+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
24274 |
+ || as_fn_error $? "could not create -" "$LINENO" 5 |
24275 |
+ fi |
24276 |
+# Compute "$ac_file"'s index in $config_headers. |
24277 |
+_am_arg="$ac_file" |
24278 |
+_am_stamp_count=1 |
24279 |
+for _am_header in $config_headers :; do |
24280 |
+ case $_am_header in |
24281 |
+ $_am_arg | $_am_arg:* ) |
24282 |
+ break ;; |
24283 |
+ * ) |
24284 |
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
24285 |
+ esac |
24286 |
+done |
24287 |
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
24288 |
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
24289 |
+ X"$_am_arg" : 'X\(//\)[^/]' \| \ |
24290 |
+ X"$_am_arg" : 'X\(//\)$' \| \ |
24291 |
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
24292 |
+$as_echo X"$_am_arg" | |
24293 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
24294 |
+ s//\1/ |
24295 |
+ q |
24296 |
+ } |
24297 |
+ /^X\(\/\/\)[^/].*/{ |
24298 |
+ s//\1/ |
24299 |
+ q |
24300 |
+ } |
24301 |
+ /^X\(\/\/\)$/{ |
24302 |
+ s//\1/ |
24303 |
+ q |
24304 |
+ } |
24305 |
+ /^X\(\/\).*/{ |
24306 |
+ s//\1/ |
24307 |
+ q |
24308 |
+ } |
24309 |
+ s/.*/./; q'`/stamp-h$_am_stamp_count |
24310 |
+ ;; |
24311 |
+ |
24312 |
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
24313 |
+$as_echo "$as_me: executing $ac_file commands" >&6;} |
24314 |
+ ;; |
24315 |
+ esac |
24316 |
+ |
24317 |
+ |
24318 |
+ case $ac_file$ac_mode in |
24319 |
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
24320 |
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files |
24321 |
+ # are listed without --file. Let's play safe and only enable the eval |
24322 |
+ # if we detect the quoting. |
24323 |
+ case $CONFIG_FILES in |
24324 |
+ *\'*) eval set x "$CONFIG_FILES" ;; |
24325 |
+ *) set x $CONFIG_FILES ;; |
24326 |
+ esac |
24327 |
+ shift |
24328 |
+ for mf |
24329 |
+ do |
24330 |
+ # Strip MF so we end up with the name of the file. |
24331 |
+ mf=`echo "$mf" | sed -e 's/:.*$//'` |
24332 |
+ # Check whether this is an Automake generated Makefile or not. |
24333 |
+ # We used to match only the files named `Makefile.in', but |
24334 |
+ # some people rename them; so instead we look at the file content. |
24335 |
+ # Grep'ing the first line is not enough: some people post-process |
24336 |
+ # each Makefile.in and add a new line on top of each file to say so. |
24337 |
+ # Grep'ing the whole file is not good either: AIX grep has a line |
24338 |
+ # limit of 2048, but all sed's we know have understand at least 4000. |
24339 |
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
24340 |
+ dirpart=`$as_dirname -- "$mf" || |
24341 |
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
24342 |
+ X"$mf" : 'X\(//\)[^/]' \| \ |
24343 |
+ X"$mf" : 'X\(//\)$' \| \ |
24344 |
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
24345 |
+$as_echo X"$mf" | |
24346 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
24347 |
+ s//\1/ |
24348 |
+ q |
24349 |
+ } |
24350 |
+ /^X\(\/\/\)[^/].*/{ |
24351 |
+ s//\1/ |
24352 |
+ q |
24353 |
+ } |
24354 |
+ /^X\(\/\/\)$/{ |
24355 |
+ s//\1/ |
24356 |
+ q |
24357 |
+ } |
24358 |
+ /^X\(\/\).*/{ |
24359 |
+ s//\1/ |
24360 |
+ q |
24361 |
+ } |
24362 |
+ s/.*/./; q'` |
24363 |
+ else |
24364 |
+ continue |
24365 |
+ fi |
24366 |
+ # Extract the definition of DEPDIR, am__include, and am__quote |
24367 |
+ # from the Makefile without running `make'. |
24368 |
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
24369 |
+ test -z "$DEPDIR" && continue |
24370 |
+ am__include=`sed -n 's/^am__include = //p' < "$mf"` |
24371 |
+ test -z "am__include" && continue |
24372 |
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
24373 |
+ # When using ansi2knr, U may be empty or an underscore; expand it |
24374 |
+ U=`sed -n 's/^U = //p' < "$mf"` |
24375 |
+ # Find all dependency output files, they are included files with |
24376 |
+ # $(DEPDIR) in their names. We invoke sed twice because it is the |
24377 |
+ # simplest approach to changing $(DEPDIR) to its actual value in the |
24378 |
+ # expansion. |
24379 |
+ for file in `sed -n " |
24380 |
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
24381 |
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
24382 |
+ # Make sure the directory exists. |
24383 |
+ test -f "$dirpart/$file" && continue |
24384 |
+ fdir=`$as_dirname -- "$file" || |
24385 |
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
24386 |
+ X"$file" : 'X\(//\)[^/]' \| \ |
24387 |
+ X"$file" : 'X\(//\)$' \| \ |
24388 |
+ X"$file" : 'X\(/\)' \| . 2>/dev/null || |
24389 |
+$as_echo X"$file" | |
24390 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
24391 |
+ s//\1/ |
24392 |
+ q |
24393 |
+ } |
24394 |
+ /^X\(\/\/\)[^/].*/{ |
24395 |
+ s//\1/ |
24396 |
+ q |
24397 |
+ } |
24398 |
+ /^X\(\/\/\)$/{ |
24399 |
+ s//\1/ |
24400 |
+ q |
24401 |
+ } |
24402 |
+ /^X\(\/\).*/{ |
24403 |
+ s//\1/ |
24404 |
+ q |
24405 |
+ } |
24406 |
+ s/.*/./; q'` |
24407 |
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p |
24408 |
+ # echo "creating $dirpart/$file" |
24409 |
+ echo '# dummy' > "$dirpart/$file" |
24410 |
+ done |
24411 |
+ done |
24412 |
+} |
24413 |
+ ;; |
24414 |
+ |
24415 |
+ esac |
24416 |
+done # for ac_tag |
24417 |
+ |
24418 |
+ |
24419 |
+as_fn_exit 0 |
24420 |
+_ACEOF |
24421 |
+ac_clean_files=$ac_clean_files_save |
24422 |
+ |
24423 |
+test $ac_write_fail = 0 || |
24424 |
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
24425 |
+ |
24426 |
+ |
24427 |
+# configure is writing to config.log, and then calls config.status. |
24428 |
+# config.status does its own redirection, appending to config.log. |
24429 |
+# Unfortunately, on DOS this fails, as config.log is still kept open |
24430 |
+# by configure, so config.status won't be able to write to it; its |
24431 |
+# output is simply discarded. So we exec the FD to /dev/null, |
24432 |
+# effectively closing config.log, so it can be properly (re)opened and |
24433 |
+# appended to by config.status. When coming back to configure, we |
24434 |
+# need to make the FD available again. |
24435 |
+if test "$no_create" != yes; then |
24436 |
+ ac_cs_success=: |
24437 |
+ ac_config_status_args= |
24438 |
+ test "$silent" = yes && |
24439 |
+ ac_config_status_args="$ac_config_status_args --quiet" |
24440 |
+ exec 5>/dev/null |
24441 |
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
24442 |
+ exec 5>>config.log |
24443 |
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
24444 |
+ # would make configure fail if this is the last instruction. |
24445 |
+ $ac_cs_success || as_fn_exit 1 |
24446 |
+fi |
24447 |
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
24448 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
24449 |
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
24450 |
+fi |
24451 |
+ |
24452 |
|
24453 |
diff --git a/configure.ac b/configure.ac |
24454 |
index 46ca874..62c8482 100644 |
24455 |
--- a/configure.ac |
24456 |
+++ b/configure.ac |
24457 |
@@ -2,7 +2,7 @@ |
24458 |
# Process this file with autoconf to produce a configure script. |
24459 |
|
24460 |
AC_PREREQ([2.65]) |
24461 |
-AC_INIT([elfix], [0.4], [http://bugs.gentoo.org/]) |
24462 |
+AC_INIT([elfix], [0.4.0], [http://bugs.gentoo.org/]) |
24463 |
AC_CONFIG_SRCDIR([src/fix-gnustack.c]) |
24464 |
AC_CONFIG_HEADERS([config.h]) |
24465 |
AM_INIT_AUTOMAKE([1.11 foreign]) |
24466 |
|
24467 |
diff --git a/depcomp b/depcomp |
24468 |
new file mode 100755 |
24469 |
index 0000000..df8eea7 |
24470 |
--- /dev/null |
24471 |
+++ b/depcomp |
24472 |
@@ -0,0 +1,630 @@ |
24473 |
+#! /bin/sh |
24474 |
+# depcomp - compile a program generating dependencies as side-effects |
24475 |
+ |
24476 |
+scriptversion=2009-04-28.21; # UTC |
24477 |
+ |
24478 |
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free |
24479 |
+# Software Foundation, Inc. |
24480 |
+ |
24481 |
+# This program is free software; you can redistribute it and/or modify |
24482 |
+# it under the terms of the GNU General Public License as published by |
24483 |
+# the Free Software Foundation; either version 2, or (at your option) |
24484 |
+# any later version. |
24485 |
+ |
24486 |
+# This program is distributed in the hope that it will be useful, |
24487 |
+# but WITHOUT ANY WARRANTY; without even the implied warranty of |
24488 |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
24489 |
+# GNU General Public License for more details. |
24490 |
+ |
24491 |
+# You should have received a copy of the GNU General Public License |
24492 |
+# along with this program. If not, see <http://www.gnu.org/licenses/>. |
24493 |
+ |
24494 |
+# As a special exception to the GNU General Public License, if you |
24495 |
+# distribute this file as part of a program that contains a |
24496 |
+# configuration script generated by Autoconf, you may include it under |
24497 |
+# the same distribution terms that you use for the rest of that program. |
24498 |
+ |
24499 |
+# Originally written by Alexandre Oliva <oliva@×××××××××××.br>. |
24500 |
+ |
24501 |
+case $1 in |
24502 |
+ '') |
24503 |
+ echo "$0: No command. Try \`$0 --help' for more information." 1>&2 |
24504 |
+ exit 1; |
24505 |
+ ;; |
24506 |
+ -h | --h*) |
24507 |
+ cat <<\EOF |
24508 |
+Usage: depcomp [--help] [--version] PROGRAM [ARGS] |
24509 |
+ |
24510 |
+Run PROGRAMS ARGS to compile a file, generating dependencies |
24511 |
+as side-effects. |
24512 |
+ |
24513 |
+Environment variables: |
24514 |
+ depmode Dependency tracking mode. |
24515 |
+ source Source file read by `PROGRAMS ARGS'. |
24516 |
+ object Object file output by `PROGRAMS ARGS'. |
24517 |
+ DEPDIR directory where to store dependencies. |
24518 |
+ depfile Dependency file to output. |
24519 |
+ tmpdepfile Temporary file to use when outputing dependencies. |
24520 |
+ libtool Whether libtool is used (yes/no). |
24521 |
+ |
24522 |
+Report bugs to <bug-automake@×××.org>. |
24523 |
+EOF |
24524 |
+ exit $? |
24525 |
+ ;; |
24526 |
+ -v | --v*) |
24527 |
+ echo "depcomp $scriptversion" |
24528 |
+ exit $? |
24529 |
+ ;; |
24530 |
+esac |
24531 |
+ |
24532 |
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then |
24533 |
+ echo "depcomp: Variables source, object and depmode must be set" 1>&2 |
24534 |
+ exit 1 |
24535 |
+fi |
24536 |
+ |
24537 |
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. |
24538 |
+depfile=${depfile-`echo "$object" | |
24539 |
+ sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} |
24540 |
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} |
24541 |
+ |
24542 |
+rm -f "$tmpdepfile" |
24543 |
+ |
24544 |
+# Some modes work just like other modes, but use different flags. We |
24545 |
+# parameterize here, but still list the modes in the big case below, |
24546 |
+# to make depend.m4 easier to write. Note that we *cannot* use a case |
24547 |
+# here, because this file can only contain one case statement. |
24548 |
+if test "$depmode" = hp; then |
24549 |
+ # HP compiler uses -M and no extra arg. |
24550 |
+ gccflag=-M |
24551 |
+ depmode=gcc |
24552 |
+fi |
24553 |
+ |
24554 |
+if test "$depmode" = dashXmstdout; then |
24555 |
+ # This is just like dashmstdout with a different argument. |
24556 |
+ dashmflag=-xM |
24557 |
+ depmode=dashmstdout |
24558 |
+fi |
24559 |
+ |
24560 |
+cygpath_u="cygpath -u -f -" |
24561 |
+if test "$depmode" = msvcmsys; then |
24562 |
+ # This is just like msvisualcpp but w/o cygpath translation. |
24563 |
+ # Just convert the backslash-escaped backslashes to single forward |
24564 |
+ # slashes to satisfy depend.m4 |
24565 |
+ cygpath_u="sed s,\\\\\\\\,/,g" |
24566 |
+ depmode=msvisualcpp |
24567 |
+fi |
24568 |
+ |
24569 |
+case "$depmode" in |
24570 |
+gcc3) |
24571 |
+## gcc 3 implements dependency tracking that does exactly what |
24572 |
+## we want. Yay! Note: for some reason libtool 1.4 doesn't like |
24573 |
+## it if -MD -MP comes after the -MF stuff. Hmm. |
24574 |
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon |
24575 |
+## the command line argument order; so add the flags where they |
24576 |
+## appear in depend2.am. Note that the slowdown incurred here |
24577 |
+## affects only configure: in makefiles, %FASTDEP% shortcuts this. |
24578 |
+ for arg |
24579 |
+ do |
24580 |
+ case $arg in |
24581 |
+ -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; |
24582 |
+ *) set fnord "$@" "$arg" ;; |
24583 |
+ esac |
24584 |
+ shift # fnord |
24585 |
+ shift # $arg |
24586 |
+ done |
24587 |
+ "$@" |
24588 |
+ stat=$? |
24589 |
+ if test $stat -eq 0; then : |
24590 |
+ else |
24591 |
+ rm -f "$tmpdepfile" |
24592 |
+ exit $stat |
24593 |
+ fi |
24594 |
+ mv "$tmpdepfile" "$depfile" |
24595 |
+ ;; |
24596 |
+ |
24597 |
+gcc) |
24598 |
+## There are various ways to get dependency output from gcc. Here's |
24599 |
+## why we pick this rather obscure method: |
24600 |
+## - Don't want to use -MD because we'd like the dependencies to end |
24601 |
+## up in a subdir. Having to rename by hand is ugly. |
24602 |
+## (We might end up doing this anyway to support other compilers.) |
24603 |
+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like |
24604 |
+## -MM, not -M (despite what the docs say). |
24605 |
+## - Using -M directly means running the compiler twice (even worse |
24606 |
+## than renaming). |
24607 |
+ if test -z "$gccflag"; then |
24608 |
+ gccflag=-MD, |
24609 |
+ fi |
24610 |
+ "$@" -Wp,"$gccflag$tmpdepfile" |
24611 |
+ stat=$? |
24612 |
+ if test $stat -eq 0; then : |
24613 |
+ else |
24614 |
+ rm -f "$tmpdepfile" |
24615 |
+ exit $stat |
24616 |
+ fi |
24617 |
+ rm -f "$depfile" |
24618 |
+ echo "$object : \\" > "$depfile" |
24619 |
+ alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz |
24620 |
+## The second -e expression handles DOS-style file names with drive letters. |
24621 |
+ sed -e 's/^[^:]*: / /' \ |
24622 |
+ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" |
24623 |
+## This next piece of magic avoids the `deleted header file' problem. |
24624 |
+## The problem is that when a header file which appears in a .P file |
24625 |
+## is deleted, the dependency causes make to die (because there is |
24626 |
+## typically no way to rebuild the header). We avoid this by adding |
24627 |
+## dummy dependencies for each header file. Too bad gcc doesn't do |
24628 |
+## this for us directly. |
24629 |
+ tr ' ' ' |
24630 |
+' < "$tmpdepfile" | |
24631 |
+## Some versions of gcc put a space before the `:'. On the theory |
24632 |
+## that the space means something, we add a space to the output as |
24633 |
+## well. |
24634 |
+## Some versions of the HPUX 10.20 sed can't process this invocation |
24635 |
+## correctly. Breaking it into two sed invocations is a workaround. |
24636 |
+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" |
24637 |
+ rm -f "$tmpdepfile" |
24638 |
+ ;; |
24639 |
+ |
24640 |
+hp) |
24641 |
+ # This case exists only to let depend.m4 do its work. It works by |
24642 |
+ # looking at the text of this script. This case will never be run, |
24643 |
+ # since it is checked for above. |
24644 |
+ exit 1 |
24645 |
+ ;; |
24646 |
+ |
24647 |
+sgi) |
24648 |
+ if test "$libtool" = yes; then |
24649 |
+ "$@" "-Wp,-MDupdate,$tmpdepfile" |
24650 |
+ else |
24651 |
+ "$@" -MDupdate "$tmpdepfile" |
24652 |
+ fi |
24653 |
+ stat=$? |
24654 |
+ if test $stat -eq 0; then : |
24655 |
+ else |
24656 |
+ rm -f "$tmpdepfile" |
24657 |
+ exit $stat |
24658 |
+ fi |
24659 |
+ rm -f "$depfile" |
24660 |
+ |
24661 |
+ if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files |
24662 |
+ echo "$object : \\" > "$depfile" |
24663 |
+ |
24664 |
+ # Clip off the initial element (the dependent). Don't try to be |
24665 |
+ # clever and replace this with sed code, as IRIX sed won't handle |
24666 |
+ # lines with more than a fixed number of characters (4096 in |
24667 |
+ # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; |
24668 |
+ # the IRIX cc adds comments like `#:fec' to the end of the |
24669 |
+ # dependency line. |
24670 |
+ tr ' ' ' |
24671 |
+' < "$tmpdepfile" \ |
24672 |
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ |
24673 |
+ tr ' |
24674 |
+' ' ' >> "$depfile" |
24675 |
+ echo >> "$depfile" |
24676 |
+ |
24677 |
+ # The second pass generates a dummy entry for each header file. |
24678 |
+ tr ' ' ' |
24679 |
+' < "$tmpdepfile" \ |
24680 |
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ |
24681 |
+ >> "$depfile" |
24682 |
+ else |
24683 |
+ # The sourcefile does not contain any dependencies, so just |
24684 |
+ # store a dummy comment line, to avoid errors with the Makefile |
24685 |
+ # "include basename.Plo" scheme. |
24686 |
+ echo "#dummy" > "$depfile" |
24687 |
+ fi |
24688 |
+ rm -f "$tmpdepfile" |
24689 |
+ ;; |
24690 |
+ |
24691 |
+aix) |
24692 |
+ # The C for AIX Compiler uses -M and outputs the dependencies |
24693 |
+ # in a .u file. In older versions, this file always lives in the |
24694 |
+ # current directory. Also, the AIX compiler puts `$object:' at the |
24695 |
+ # start of each line; $object doesn't have directory information. |
24696 |
+ # Version 6 uses the directory in both cases. |
24697 |
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
24698 |
+ test "x$dir" = "x$object" && dir= |
24699 |
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` |
24700 |
+ if test "$libtool" = yes; then |
24701 |
+ tmpdepfile1=$dir$base.u |
24702 |
+ tmpdepfile2=$base.u |
24703 |
+ tmpdepfile3=$dir.libs/$base.u |
24704 |
+ "$@" -Wc,-M |
24705 |
+ else |
24706 |
+ tmpdepfile1=$dir$base.u |
24707 |
+ tmpdepfile2=$dir$base.u |
24708 |
+ tmpdepfile3=$dir$base.u |
24709 |
+ "$@" -M |
24710 |
+ fi |
24711 |
+ stat=$? |
24712 |
+ |
24713 |
+ if test $stat -eq 0; then : |
24714 |
+ else |
24715 |
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" |
24716 |
+ exit $stat |
24717 |
+ fi |
24718 |
+ |
24719 |
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" |
24720 |
+ do |
24721 |
+ test -f "$tmpdepfile" && break |
24722 |
+ done |
24723 |
+ if test -f "$tmpdepfile"; then |
24724 |
+ # Each line is of the form `foo.o: dependent.h'. |
24725 |
+ # Do two passes, one to just change these to |
24726 |
+ # `$object: dependent.h' and one to simply `dependent.h:'. |
24727 |
+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" |
24728 |
+ # That's a tab and a space in the []. |
24729 |
+ sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" |
24730 |
+ else |
24731 |
+ # The sourcefile does not contain any dependencies, so just |
24732 |
+ # store a dummy comment line, to avoid errors with the Makefile |
24733 |
+ # "include basename.Plo" scheme. |
24734 |
+ echo "#dummy" > "$depfile" |
24735 |
+ fi |
24736 |
+ rm -f "$tmpdepfile" |
24737 |
+ ;; |
24738 |
+ |
24739 |
+icc) |
24740 |
+ # Intel's C compiler understands `-MD -MF file'. However on |
24741 |
+ # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c |
24742 |
+ # ICC 7.0 will fill foo.d with something like |
24743 |
+ # foo.o: sub/foo.c |
24744 |
+ # foo.o: sub/foo.h |
24745 |
+ # which is wrong. We want: |
24746 |
+ # sub/foo.o: sub/foo.c |
24747 |
+ # sub/foo.o: sub/foo.h |
24748 |
+ # sub/foo.c: |
24749 |
+ # sub/foo.h: |
24750 |
+ # ICC 7.1 will output |
24751 |
+ # foo.o: sub/foo.c sub/foo.h |
24752 |
+ # and will wrap long lines using \ : |
24753 |
+ # foo.o: sub/foo.c ... \ |
24754 |
+ # sub/foo.h ... \ |
24755 |
+ # ... |
24756 |
+ |
24757 |
+ "$@" -MD -MF "$tmpdepfile" |
24758 |
+ stat=$? |
24759 |
+ if test $stat -eq 0; then : |
24760 |
+ else |
24761 |
+ rm -f "$tmpdepfile" |
24762 |
+ exit $stat |
24763 |
+ fi |
24764 |
+ rm -f "$depfile" |
24765 |
+ # Each line is of the form `foo.o: dependent.h', |
24766 |
+ # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. |
24767 |
+ # Do two passes, one to just change these to |
24768 |
+ # `$object: dependent.h' and one to simply `dependent.h:'. |
24769 |
+ sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" |
24770 |
+ # Some versions of the HPUX 10.20 sed can't process this invocation |
24771 |
+ # correctly. Breaking it into two sed invocations is a workaround. |
24772 |
+ sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | |
24773 |
+ sed -e 's/$/ :/' >> "$depfile" |
24774 |
+ rm -f "$tmpdepfile" |
24775 |
+ ;; |
24776 |
+ |
24777 |
+hp2) |
24778 |
+ # The "hp" stanza above does not work with aCC (C++) and HP's ia64 |
24779 |
+ # compilers, which have integrated preprocessors. The correct option |
24780 |
+ # to use with these is +Maked; it writes dependencies to a file named |
24781 |
+ # 'foo.d', which lands next to the object file, wherever that |
24782 |
+ # happens to be. |
24783 |
+ # Much of this is similar to the tru64 case; see comments there. |
24784 |
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
24785 |
+ test "x$dir" = "x$object" && dir= |
24786 |
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` |
24787 |
+ if test "$libtool" = yes; then |
24788 |
+ tmpdepfile1=$dir$base.d |
24789 |
+ tmpdepfile2=$dir.libs/$base.d |
24790 |
+ "$@" -Wc,+Maked |
24791 |
+ else |
24792 |
+ tmpdepfile1=$dir$base.d |
24793 |
+ tmpdepfile2=$dir$base.d |
24794 |
+ "$@" +Maked |
24795 |
+ fi |
24796 |
+ stat=$? |
24797 |
+ if test $stat -eq 0; then : |
24798 |
+ else |
24799 |
+ rm -f "$tmpdepfile1" "$tmpdepfile2" |
24800 |
+ exit $stat |
24801 |
+ fi |
24802 |
+ |
24803 |
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" |
24804 |
+ do |
24805 |
+ test -f "$tmpdepfile" && break |
24806 |
+ done |
24807 |
+ if test -f "$tmpdepfile"; then |
24808 |
+ sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" |
24809 |
+ # Add `dependent.h:' lines. |
24810 |
+ sed -ne '2,${ |
24811 |
+ s/^ *// |
24812 |
+ s/ \\*$// |
24813 |
+ s/$/:/ |
24814 |
+ p |
24815 |
+ }' "$tmpdepfile" >> "$depfile" |
24816 |
+ else |
24817 |
+ echo "#dummy" > "$depfile" |
24818 |
+ fi |
24819 |
+ rm -f "$tmpdepfile" "$tmpdepfile2" |
24820 |
+ ;; |
24821 |
+ |
24822 |
+tru64) |
24823 |
+ # The Tru64 compiler uses -MD to generate dependencies as a side |
24824 |
+ # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. |
24825 |
+ # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put |
24826 |
+ # dependencies in `foo.d' instead, so we check for that too. |
24827 |
+ # Subdirectories are respected. |
24828 |
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` |
24829 |
+ test "x$dir" = "x$object" && dir= |
24830 |
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` |
24831 |
+ |
24832 |
+ if test "$libtool" = yes; then |
24833 |
+ # With Tru64 cc, shared objects can also be used to make a |
24834 |
+ # static library. This mechanism is used in libtool 1.4 series to |
24835 |
+ # handle both shared and static libraries in a single compilation. |
24836 |
+ # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. |
24837 |
+ # |
24838 |
+ # With libtool 1.5 this exception was removed, and libtool now |
24839 |
+ # generates 2 separate objects for the 2 libraries. These two |
24840 |
+ # compilations output dependencies in $dir.libs/$base.o.d and |
24841 |
+ # in $dir$base.o.d. We have to check for both files, because |
24842 |
+ # one of the two compilations can be disabled. We should prefer |
24843 |
+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is |
24844 |
+ # automatically cleaned when .libs/ is deleted, while ignoring |
24845 |
+ # the former would cause a distcleancheck panic. |
24846 |
+ tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 |
24847 |
+ tmpdepfile2=$dir$base.o.d # libtool 1.5 |
24848 |
+ tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 |
24849 |
+ tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 |
24850 |
+ "$@" -Wc,-MD |
24851 |
+ else |
24852 |
+ tmpdepfile1=$dir$base.o.d |
24853 |
+ tmpdepfile2=$dir$base.d |
24854 |
+ tmpdepfile3=$dir$base.d |
24855 |
+ tmpdepfile4=$dir$base.d |
24856 |
+ "$@" -MD |
24857 |
+ fi |
24858 |
+ |
24859 |
+ stat=$? |
24860 |
+ if test $stat -eq 0; then : |
24861 |
+ else |
24862 |
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" |
24863 |
+ exit $stat |
24864 |
+ fi |
24865 |
+ |
24866 |
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" |
24867 |
+ do |
24868 |
+ test -f "$tmpdepfile" && break |
24869 |
+ done |
24870 |
+ if test -f "$tmpdepfile"; then |
24871 |
+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" |
24872 |
+ # That's a tab and a space in the []. |
24873 |
+ sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" |
24874 |
+ else |
24875 |
+ echo "#dummy" > "$depfile" |
24876 |
+ fi |
24877 |
+ rm -f "$tmpdepfile" |
24878 |
+ ;; |
24879 |
+ |
24880 |
+#nosideeffect) |
24881 |
+ # This comment above is used by automake to tell side-effect |
24882 |
+ # dependency tracking mechanisms from slower ones. |
24883 |
+ |
24884 |
+dashmstdout) |
24885 |
+ # Important note: in order to support this mode, a compiler *must* |
24886 |
+ # always write the preprocessed file to stdout, regardless of -o. |
24887 |
+ "$@" || exit $? |
24888 |
+ |
24889 |
+ # Remove the call to Libtool. |
24890 |
+ if test "$libtool" = yes; then |
24891 |
+ while test "X$1" != 'X--mode=compile'; do |
24892 |
+ shift |
24893 |
+ done |
24894 |
+ shift |
24895 |
+ fi |
24896 |
+ |
24897 |
+ # Remove `-o $object'. |
24898 |
+ IFS=" " |
24899 |
+ for arg |
24900 |
+ do |
24901 |
+ case $arg in |
24902 |
+ -o) |
24903 |
+ shift |
24904 |
+ ;; |
24905 |
+ $object) |
24906 |
+ shift |
24907 |
+ ;; |
24908 |
+ *) |
24909 |
+ set fnord "$@" "$arg" |
24910 |
+ shift # fnord |
24911 |
+ shift # $arg |
24912 |
+ ;; |
24913 |
+ esac |
24914 |
+ done |
24915 |
+ |
24916 |
+ test -z "$dashmflag" && dashmflag=-M |
24917 |
+ # Require at least two characters before searching for `:' |
24918 |
+ # in the target name. This is to cope with DOS-style filenames: |
24919 |
+ # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. |
24920 |
+ "$@" $dashmflag | |
24921 |
+ sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" |
24922 |
+ rm -f "$depfile" |
24923 |
+ cat < "$tmpdepfile" > "$depfile" |
24924 |
+ tr ' ' ' |
24925 |
+' < "$tmpdepfile" | \ |
24926 |
+## Some versions of the HPUX 10.20 sed can't process this invocation |
24927 |
+## correctly. Breaking it into two sed invocations is a workaround. |
24928 |
+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" |
24929 |
+ rm -f "$tmpdepfile" |
24930 |
+ ;; |
24931 |
+ |
24932 |
+dashXmstdout) |
24933 |
+ # This case only exists to satisfy depend.m4. It is never actually |
24934 |
+ # run, as this mode is specially recognized in the preamble. |
24935 |
+ exit 1 |
24936 |
+ ;; |
24937 |
+ |
24938 |
+makedepend) |
24939 |
+ "$@" || exit $? |
24940 |
+ # Remove any Libtool call |
24941 |
+ if test "$libtool" = yes; then |
24942 |
+ while test "X$1" != 'X--mode=compile'; do |
24943 |
+ shift |
24944 |
+ done |
24945 |
+ shift |
24946 |
+ fi |
24947 |
+ # X makedepend |
24948 |
+ shift |
24949 |
+ cleared=no eat=no |
24950 |
+ for arg |
24951 |
+ do |
24952 |
+ case $cleared in |
24953 |
+ no) |
24954 |
+ set ""; shift |
24955 |
+ cleared=yes ;; |
24956 |
+ esac |
24957 |
+ if test $eat = yes; then |
24958 |
+ eat=no |
24959 |
+ continue |
24960 |
+ fi |
24961 |
+ case "$arg" in |
24962 |
+ -D*|-I*) |
24963 |
+ set fnord "$@" "$arg"; shift ;; |
24964 |
+ # Strip any option that makedepend may not understand. Remove |
24965 |
+ # the object too, otherwise makedepend will parse it as a source file. |
24966 |
+ -arch) |
24967 |
+ eat=yes ;; |
24968 |
+ -*|$object) |
24969 |
+ ;; |
24970 |
+ *) |
24971 |
+ set fnord "$@" "$arg"; shift ;; |
24972 |
+ esac |
24973 |
+ done |
24974 |
+ obj_suffix=`echo "$object" | sed 's/^.*\././'` |
24975 |
+ touch "$tmpdepfile" |
24976 |
+ ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" |
24977 |
+ rm -f "$depfile" |
24978 |
+ cat < "$tmpdepfile" > "$depfile" |
24979 |
+ sed '1,2d' "$tmpdepfile" | tr ' ' ' |
24980 |
+' | \ |
24981 |
+## Some versions of the HPUX 10.20 sed can't process this invocation |
24982 |
+## correctly. Breaking it into two sed invocations is a workaround. |
24983 |
+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" |
24984 |
+ rm -f "$tmpdepfile" "$tmpdepfile".bak |
24985 |
+ ;; |
24986 |
+ |
24987 |
+cpp) |
24988 |
+ # Important note: in order to support this mode, a compiler *must* |
24989 |
+ # always write the preprocessed file to stdout. |
24990 |
+ "$@" || exit $? |
24991 |
+ |
24992 |
+ # Remove the call to Libtool. |
24993 |
+ if test "$libtool" = yes; then |
24994 |
+ while test "X$1" != 'X--mode=compile'; do |
24995 |
+ shift |
24996 |
+ done |
24997 |
+ shift |
24998 |
+ fi |
24999 |
+ |
25000 |
+ # Remove `-o $object'. |
25001 |
+ IFS=" " |
25002 |
+ for arg |
25003 |
+ do |
25004 |
+ case $arg in |
25005 |
+ -o) |
25006 |
+ shift |
25007 |
+ ;; |
25008 |
+ $object) |
25009 |
+ shift |
25010 |
+ ;; |
25011 |
+ *) |
25012 |
+ set fnord "$@" "$arg" |
25013 |
+ shift # fnord |
25014 |
+ shift # $arg |
25015 |
+ ;; |
25016 |
+ esac |
25017 |
+ done |
25018 |
+ |
25019 |
+ "$@" -E | |
25020 |
+ sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ |
25021 |
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | |
25022 |
+ sed '$ s: \\$::' > "$tmpdepfile" |
25023 |
+ rm -f "$depfile" |
25024 |
+ echo "$object : \\" > "$depfile" |
25025 |
+ cat < "$tmpdepfile" >> "$depfile" |
25026 |
+ sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" |
25027 |
+ rm -f "$tmpdepfile" |
25028 |
+ ;; |
25029 |
+ |
25030 |
+msvisualcpp) |
25031 |
+ # Important note: in order to support this mode, a compiler *must* |
25032 |
+ # always write the preprocessed file to stdout. |
25033 |
+ "$@" || exit $? |
25034 |
+ |
25035 |
+ # Remove the call to Libtool. |
25036 |
+ if test "$libtool" = yes; then |
25037 |
+ while test "X$1" != 'X--mode=compile'; do |
25038 |
+ shift |
25039 |
+ done |
25040 |
+ shift |
25041 |
+ fi |
25042 |
+ |
25043 |
+ IFS=" " |
25044 |
+ for arg |
25045 |
+ do |
25046 |
+ case "$arg" in |
25047 |
+ -o) |
25048 |
+ shift |
25049 |
+ ;; |
25050 |
+ $object) |
25051 |
+ shift |
25052 |
+ ;; |
25053 |
+ "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") |
25054 |
+ set fnord "$@" |
25055 |
+ shift |
25056 |
+ shift |
25057 |
+ ;; |
25058 |
+ *) |
25059 |
+ set fnord "$@" "$arg" |
25060 |
+ shift |
25061 |
+ shift |
25062 |
+ ;; |
25063 |
+ esac |
25064 |
+ done |
25065 |
+ "$@" -E 2>/dev/null | |
25066 |
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" |
25067 |
+ rm -f "$depfile" |
25068 |
+ echo "$object : \\" > "$depfile" |
25069 |
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" |
25070 |
+ echo " " >> "$depfile" |
25071 |
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" |
25072 |
+ rm -f "$tmpdepfile" |
25073 |
+ ;; |
25074 |
+ |
25075 |
+msvcmsys) |
25076 |
+ # This case exists only to let depend.m4 do its work. It works by |
25077 |
+ # looking at the text of this script. This case will never be run, |
25078 |
+ # since it is checked for above. |
25079 |
+ exit 1 |
25080 |
+ ;; |
25081 |
+ |
25082 |
+none) |
25083 |
+ exec "$@" |
25084 |
+ ;; |
25085 |
+ |
25086 |
+*) |
25087 |
+ echo "Unknown depmode $depmode" 1>&2 |
25088 |
+ exit 1 |
25089 |
+ ;; |
25090 |
+esac |
25091 |
+ |
25092 |
+exit 0 |
25093 |
+ |
25094 |
+# Local Variables: |
25095 |
+# mode: shell-script |
25096 |
+# sh-indentation: 2 |
25097 |
+# eval: (add-hook 'write-file-hooks 'time-stamp) |
25098 |
+# time-stamp-start: "scriptversion=" |
25099 |
+# time-stamp-format: "%:y-%02m-%02d.%02H" |
25100 |
+# time-stamp-time-zone: "UTC" |
25101 |
+# time-stamp-end: "; # UTC" |
25102 |
+# End: |
25103 |
|
25104 |
diff --git a/doc/Makefile.in b/doc/Makefile.in |
25105 |
new file mode 100644 |
25106 |
index 0000000..9150213 |
25107 |
--- /dev/null |
25108 |
+++ b/doc/Makefile.in |
25109 |
@@ -0,0 +1,398 @@ |
25110 |
+# Makefile.in generated by automake 1.11.1 from Makefile.am. |
25111 |
+# @configure_input@ |
25112 |
+ |
25113 |
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
25114 |
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
25115 |
+# Inc. |
25116 |
+# This Makefile.in is free software; the Free Software Foundation |
25117 |
+# gives unlimited permission to copy and/or distribute it, |
25118 |
+# with or without modifications, as long as this notice is preserved. |
25119 |
+ |
25120 |
+# This program is distributed in the hope that it will be useful, |
25121 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
25122 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
25123 |
+# PARTICULAR PURPOSE. |
25124 |
+ |
25125 |
+@SET_MAKE@ |
25126 |
+VPATH = @srcdir@ |
25127 |
+pkgdatadir = $(datadir)/@PACKAGE@ |
25128 |
+pkgincludedir = $(includedir)/@PACKAGE@ |
25129 |
+pkglibdir = $(libdir)/@PACKAGE@ |
25130 |
+pkglibexecdir = $(libexecdir)/@PACKAGE@ |
25131 |
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
25132 |
+install_sh_DATA = $(install_sh) -c -m 644 |
25133 |
+install_sh_PROGRAM = $(install_sh) -c |
25134 |
+install_sh_SCRIPT = $(install_sh) -c |
25135 |
+INSTALL_HEADER = $(INSTALL_DATA) |
25136 |
+transform = $(program_transform_name) |
25137 |
+NORMAL_INSTALL = : |
25138 |
+PRE_INSTALL = : |
25139 |
+POST_INSTALL = : |
25140 |
+NORMAL_UNINSTALL = : |
25141 |
+PRE_UNINSTALL = : |
25142 |
+POST_UNINSTALL = : |
25143 |
+subdir = doc |
25144 |
+DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.am \ |
25145 |
+ $(srcdir)/Makefile.in |
25146 |
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
25147 |
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
25148 |
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
25149 |
+ $(ACLOCAL_M4) |
25150 |
+mkinstalldirs = $(install_sh) -d |
25151 |
+CONFIG_HEADER = $(top_builddir)/config.h |
25152 |
+CONFIG_CLEAN_FILES = |
25153 |
+CONFIG_CLEAN_VPATH_FILES = |
25154 |
+SOURCES = |
25155 |
+DIST_SOURCES = |
25156 |
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
25157 |
+am__vpath_adj = case $$p in \ |
25158 |
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
25159 |
+ *) f=$$p;; \ |
25160 |
+ esac; |
25161 |
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
25162 |
+am__install_max = 40 |
25163 |
+am__nobase_strip_setup = \ |
25164 |
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` |
25165 |
+am__nobase_strip = \ |
25166 |
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" |
25167 |
+am__nobase_list = $(am__nobase_strip_setup); \ |
25168 |
+ for p in $$list; do echo "$$p $$p"; done | \ |
25169 |
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ |
25170 |
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ |
25171 |
+ if (++n[$$2] == $(am__install_max)) \ |
25172 |
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ |
25173 |
+ END { for (dir in files) print dir, files[dir] }' |
25174 |
+am__base_list = \ |
25175 |
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
25176 |
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
25177 |
+man1dir = $(mandir)/man1 |
25178 |
+am__installdirs = "$(DESTDIR)$(man1dir)" |
25179 |
+NROFF = nroff |
25180 |
+MANS = $(dist_man_MANS) |
25181 |
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
25182 |
+ACLOCAL = @ACLOCAL@ |
25183 |
+AMTAR = @AMTAR@ |
25184 |
+AUTOCONF = @AUTOCONF@ |
25185 |
+AUTOHEADER = @AUTOHEADER@ |
25186 |
+AUTOMAKE = @AUTOMAKE@ |
25187 |
+AWK = @AWK@ |
25188 |
+CC = @CC@ |
25189 |
+CCDEPMODE = @CCDEPMODE@ |
25190 |
+CFLAGS = @CFLAGS@ |
25191 |
+CPP = @CPP@ |
25192 |
+CPPFLAGS = @CPPFLAGS@ |
25193 |
+CYGPATH_W = @CYGPATH_W@ |
25194 |
+DEFS = @DEFS@ |
25195 |
+DEPDIR = @DEPDIR@ |
25196 |
+ECHO_C = @ECHO_C@ |
25197 |
+ECHO_N = @ECHO_N@ |
25198 |
+ECHO_T = @ECHO_T@ |
25199 |
+EGREP = @EGREP@ |
25200 |
+EXEEXT = @EXEEXT@ |
25201 |
+GREP = @GREP@ |
25202 |
+INSTALL = @INSTALL@ |
25203 |
+INSTALL_DATA = @INSTALL_DATA@ |
25204 |
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
25205 |
+INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
25206 |
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
25207 |
+LDFLAGS = @LDFLAGS@ |
25208 |
+LIBOBJS = @LIBOBJS@ |
25209 |
+LIBS = @LIBS@ |
25210 |
+LTLIBOBJS = @LTLIBOBJS@ |
25211 |
+MAKEINFO = @MAKEINFO@ |
25212 |
+MKDIR_P = @MKDIR_P@ |
25213 |
+OBJEXT = @OBJEXT@ |
25214 |
+PACKAGE = @PACKAGE@ |
25215 |
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
25216 |
+PACKAGE_NAME = @PACKAGE_NAME@ |
25217 |
+PACKAGE_STRING = @PACKAGE_STRING@ |
25218 |
+PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
25219 |
+PACKAGE_URL = @PACKAGE_URL@ |
25220 |
+PACKAGE_VERSION = @PACKAGE_VERSION@ |
25221 |
+PATH_SEPARATOR = @PATH_SEPARATOR@ |
25222 |
+SET_MAKE = @SET_MAKE@ |
25223 |
+SHELL = @SHELL@ |
25224 |
+STRIP = @STRIP@ |
25225 |
+VERSION = @VERSION@ |
25226 |
+abs_builddir = @abs_builddir@ |
25227 |
+abs_srcdir = @abs_srcdir@ |
25228 |
+abs_top_builddir = @abs_top_builddir@ |
25229 |
+abs_top_srcdir = @abs_top_srcdir@ |
25230 |
+ac_ct_CC = @ac_ct_CC@ |
25231 |
+am__include = @am__include@ |
25232 |
+am__leading_dot = @am__leading_dot@ |
25233 |
+am__quote = @am__quote@ |
25234 |
+am__tar = @am__tar@ |
25235 |
+am__untar = @am__untar@ |
25236 |
+bindir = @bindir@ |
25237 |
+build_alias = @build_alias@ |
25238 |
+builddir = @builddir@ |
25239 |
+datadir = @datadir@ |
25240 |
+datarootdir = @datarootdir@ |
25241 |
+docdir = @docdir@ |
25242 |
+dvidir = @dvidir@ |
25243 |
+exec_prefix = @exec_prefix@ |
25244 |
+has_yasm = @has_yasm@ |
25245 |
+host_alias = @host_alias@ |
25246 |
+htmldir = @htmldir@ |
25247 |
+includedir = @includedir@ |
25248 |
+infodir = @infodir@ |
25249 |
+install_sh = @install_sh@ |
25250 |
+libdir = @libdir@ |
25251 |
+libexecdir = @libexecdir@ |
25252 |
+localedir = @localedir@ |
25253 |
+localstatedir = @localstatedir@ |
25254 |
+mandir = @mandir@ |
25255 |
+mkdir_p = @mkdir_p@ |
25256 |
+oldincludedir = @oldincludedir@ |
25257 |
+pdfdir = @pdfdir@ |
25258 |
+prefix = @prefix@ |
25259 |
+program_transform_name = @program_transform_name@ |
25260 |
+psdir = @psdir@ |
25261 |
+sbindir = @sbindir@ |
25262 |
+sharedstatedir = @sharedstatedir@ |
25263 |
+srcdir = @srcdir@ |
25264 |
+sysconfdir = @sysconfdir@ |
25265 |
+target_alias = @target_alias@ |
25266 |
+top_build_prefix = @top_build_prefix@ |
25267 |
+top_builddir = @top_builddir@ |
25268 |
+top_srcdir = @top_srcdir@ |
25269 |
+dist_man_MANS = fix-gnustack.1 paxctl-ng.1 revdep-pax.1 |
25270 |
+all: all-am |
25271 |
+ |
25272 |
+.SUFFIXES: |
25273 |
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
25274 |
+ @for dep in $?; do \ |
25275 |
+ case '$(am__configure_deps)' in \ |
25276 |
+ *$$dep*) \ |
25277 |
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
25278 |
+ && { if test -f $@; then exit 0; else break; fi; }; \ |
25279 |
+ exit 1;; \ |
25280 |
+ esac; \ |
25281 |
+ done; \ |
25282 |
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ |
25283 |
+ $(am__cd) $(top_srcdir) && \ |
25284 |
+ $(AUTOMAKE) --foreign doc/Makefile |
25285 |
+.PRECIOUS: Makefile |
25286 |
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
25287 |
+ @case '$?' in \ |
25288 |
+ *config.status*) \ |
25289 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
25290 |
+ *) \ |
25291 |
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
25292 |
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
25293 |
+ esac; |
25294 |
+ |
25295 |
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
25296 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
25297 |
+ |
25298 |
+$(top_srcdir)/configure: $(am__configure_deps) |
25299 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
25300 |
+$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
25301 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
25302 |
+$(am__aclocal_m4_deps): |
25303 |
+install-man1: $(dist_man_MANS) |
25304 |
+ @$(NORMAL_INSTALL) |
25305 |
+ test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" |
25306 |
+ @list=''; test -n "$(man1dir)" || exit 0; \ |
25307 |
+ { for i in $$list; do echo "$$i"; done; \ |
25308 |
+ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ |
25309 |
+ sed -n '/\.1[a-z]*$$/p'; \ |
25310 |
+ } | while read p; do \ |
25311 |
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ |
25312 |
+ echo "$$d$$p"; echo "$$p"; \ |
25313 |
+ done | \ |
25314 |
+ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ |
25315 |
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ |
25316 |
+ sed 'N;N;s,\n, ,g' | { \ |
25317 |
+ list=; while read file base inst; do \ |
25318 |
+ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ |
25319 |
+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ |
25320 |
+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ |
25321 |
+ fi; \ |
25322 |
+ done; \ |
25323 |
+ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ |
25324 |
+ while read files; do \ |
25325 |
+ test -z "$$files" || { \ |
25326 |
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ |
25327 |
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ |
25328 |
+ done; } |
25329 |
+ |
25330 |
+uninstall-man1: |
25331 |
+ @$(NORMAL_UNINSTALL) |
25332 |
+ @list=''; test -n "$(man1dir)" || exit 0; \ |
25333 |
+ files=`{ for i in $$list; do echo "$$i"; done; \ |
25334 |
+ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ |
25335 |
+ sed -n '/\.1[a-z]*$$/p'; \ |
25336 |
+ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ |
25337 |
+ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ |
25338 |
+ test -z "$$files" || { \ |
25339 |
+ echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ |
25340 |
+ cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } |
25341 |
+tags: TAGS |
25342 |
+TAGS: |
25343 |
+ |
25344 |
+ctags: CTAGS |
25345 |
+CTAGS: |
25346 |
+ |
25347 |
+ |
25348 |
+distdir: $(DISTFILES) |
25349 |
+ @list='$(MANS)'; if test -n "$$list"; then \ |
25350 |
+ list=`for p in $$list; do \ |
25351 |
+ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ |
25352 |
+ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ |
25353 |
+ if test -n "$$list" && \ |
25354 |
+ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ |
25355 |
+ echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ |
25356 |
+ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ |
25357 |
+ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ |
25358 |
+ echo " typically \`make maintainer-clean' will remove them" >&2; \ |
25359 |
+ exit 1; \ |
25360 |
+ else :; fi; \ |
25361 |
+ else :; fi |
25362 |
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
25363 |
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
25364 |
+ list='$(DISTFILES)'; \ |
25365 |
+ dist_files=`for file in $$list; do echo $$file; done | \ |
25366 |
+ sed -e "s|^$$srcdirstrip/||;t" \ |
25367 |
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
25368 |
+ case $$dist_files in \ |
25369 |
+ */*) $(MKDIR_P) `echo "$$dist_files" | \ |
25370 |
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
25371 |
+ sort -u` ;; \ |
25372 |
+ esac; \ |
25373 |
+ for file in $$dist_files; do \ |
25374 |
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
25375 |
+ if test -d $$d/$$file; then \ |
25376 |
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
25377 |
+ if test -d "$(distdir)/$$file"; then \ |
25378 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
25379 |
+ fi; \ |
25380 |
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
25381 |
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
25382 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
25383 |
+ fi; \ |
25384 |
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
25385 |
+ else \ |
25386 |
+ test -f "$(distdir)/$$file" \ |
25387 |
+ || cp -p $$d/$$file "$(distdir)/$$file" \ |
25388 |
+ || exit 1; \ |
25389 |
+ fi; \ |
25390 |
+ done |
25391 |
+check-am: all-am |
25392 |
+check: check-am |
25393 |
+all-am: Makefile $(MANS) |
25394 |
+installdirs: |
25395 |
+ for dir in "$(DESTDIR)$(man1dir)"; do \ |
25396 |
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
25397 |
+ done |
25398 |
+install: install-am |
25399 |
+install-exec: install-exec-am |
25400 |
+install-data: install-data-am |
25401 |
+uninstall: uninstall-am |
25402 |
+ |
25403 |
+install-am: all-am |
25404 |
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
25405 |
+ |
25406 |
+installcheck: installcheck-am |
25407 |
+install-strip: |
25408 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
25409 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
25410 |
+ `test -z '$(STRIP)' || \ |
25411 |
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
25412 |
+mostlyclean-generic: |
25413 |
+ |
25414 |
+clean-generic: |
25415 |
+ |
25416 |
+distclean-generic: |
25417 |
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
25418 |
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
25419 |
+ |
25420 |
+maintainer-clean-generic: |
25421 |
+ @echo "This command is intended for maintainers to use" |
25422 |
+ @echo "it deletes files that may require special tools to rebuild." |
25423 |
+clean: clean-am |
25424 |
+ |
25425 |
+clean-am: clean-generic mostlyclean-am |
25426 |
+ |
25427 |
+distclean: distclean-am |
25428 |
+ -rm -f Makefile |
25429 |
+distclean-am: clean-am distclean-generic |
25430 |
+ |
25431 |
+dvi: dvi-am |
25432 |
+ |
25433 |
+dvi-am: |
25434 |
+ |
25435 |
+html: html-am |
25436 |
+ |
25437 |
+html-am: |
25438 |
+ |
25439 |
+info: info-am |
25440 |
+ |
25441 |
+info-am: |
25442 |
+ |
25443 |
+install-data-am: install-man |
25444 |
+ |
25445 |
+install-dvi: install-dvi-am |
25446 |
+ |
25447 |
+install-dvi-am: |
25448 |
+ |
25449 |
+install-exec-am: |
25450 |
+ |
25451 |
+install-html: install-html-am |
25452 |
+ |
25453 |
+install-html-am: |
25454 |
+ |
25455 |
+install-info: install-info-am |
25456 |
+ |
25457 |
+install-info-am: |
25458 |
+ |
25459 |
+install-man: install-man1 |
25460 |
+ |
25461 |
+install-pdf: install-pdf-am |
25462 |
+ |
25463 |
+install-pdf-am: |
25464 |
+ |
25465 |
+install-ps: install-ps-am |
25466 |
+ |
25467 |
+install-ps-am: |
25468 |
+ |
25469 |
+installcheck-am: |
25470 |
+ |
25471 |
+maintainer-clean: maintainer-clean-am |
25472 |
+ -rm -f Makefile |
25473 |
+maintainer-clean-am: distclean-am maintainer-clean-generic |
25474 |
+ |
25475 |
+mostlyclean: mostlyclean-am |
25476 |
+ |
25477 |
+mostlyclean-am: mostlyclean-generic |
25478 |
+ |
25479 |
+pdf: pdf-am |
25480 |
+ |
25481 |
+pdf-am: |
25482 |
+ |
25483 |
+ps: ps-am |
25484 |
+ |
25485 |
+ps-am: |
25486 |
+ |
25487 |
+uninstall-am: uninstall-man |
25488 |
+ |
25489 |
+uninstall-man: uninstall-man1 |
25490 |
+ |
25491 |
+.MAKE: install-am install-strip |
25492 |
+ |
25493 |
+.PHONY: all all-am check check-am clean clean-generic distclean \ |
25494 |
+ distclean-generic distdir dvi dvi-am html html-am info info-am \ |
25495 |
+ install install-am install-data install-data-am install-dvi \ |
25496 |
+ install-dvi-am install-exec install-exec-am install-html \ |
25497 |
+ install-html-am install-info install-info-am install-man \ |
25498 |
+ install-man1 install-pdf install-pdf-am install-ps \ |
25499 |
+ install-ps-am install-strip installcheck installcheck-am \ |
25500 |
+ installdirs maintainer-clean maintainer-clean-generic \ |
25501 |
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ |
25502 |
+ uninstall-am uninstall-man uninstall-man1 |
25503 |
+ |
25504 |
+ |
25505 |
+# Tell versions [3.59,3.63) of GNU make to not export all variables. |
25506 |
+# Otherwise a system limit (for SysV at least) may be exceeded. |
25507 |
+.NOEXPORT: |
25508 |
|
25509 |
diff --git a/install-sh b/install-sh |
25510 |
new file mode 100755 |
25511 |
index 0000000..6781b98 |
25512 |
--- /dev/null |
25513 |
+++ b/install-sh |
25514 |
@@ -0,0 +1,520 @@ |
25515 |
+#!/bin/sh |
25516 |
+# install - install a program, script, or datafile |
25517 |
+ |
25518 |
+scriptversion=2009-04-28.21; # UTC |
25519 |
+ |
25520 |
+# This originates from X11R5 (mit/util/scripts/install.sh), which was |
25521 |
+# later released in X11R6 (xc/config/util/install.sh) with the |
25522 |
+# following copyright and license. |
25523 |
+# |
25524 |
+# Copyright (C) 1994 X Consortium |
25525 |
+# |
25526 |
+# Permission is hereby granted, free of charge, to any person obtaining a copy |
25527 |
+# of this software and associated documentation files (the "Software"), to |
25528 |
+# deal in the Software without restriction, including without limitation the |
25529 |
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
25530 |
+# sell copies of the Software, and to permit persons to whom the Software is |
25531 |
+# furnished to do so, subject to the following conditions: |
25532 |
+# |
25533 |
+# The above copyright notice and this permission notice shall be included in |
25534 |
+# all copies or substantial portions of the Software. |
25535 |
+# |
25536 |
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
25537 |
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
25538 |
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
25539 |
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
25540 |
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- |
25541 |
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
25542 |
+# |
25543 |
+# Except as contained in this notice, the name of the X Consortium shall not |
25544 |
+# be used in advertising or otherwise to promote the sale, use or other deal- |
25545 |
+# ings in this Software without prior written authorization from the X Consor- |
25546 |
+# tium. |
25547 |
+# |
25548 |
+# |
25549 |
+# FSF changes to this file are in the public domain. |
25550 |
+# |
25551 |
+# Calling this script install-sh is preferred over install.sh, to prevent |
25552 |
+# `make' implicit rules from creating a file called install from it |
25553 |
+# when there is no Makefile. |
25554 |
+# |
25555 |
+# This script is compatible with the BSD install script, but was written |
25556 |
+# from scratch. |
25557 |
+ |
25558 |
+nl=' |
25559 |
+' |
25560 |
+IFS=" "" $nl" |
25561 |
+ |
25562 |
+# set DOITPROG to echo to test this script |
25563 |
+ |
25564 |
+# Don't use :- since 4.3BSD and earlier shells don't like it. |
25565 |
+doit=${DOITPROG-} |
25566 |
+if test -z "$doit"; then |
25567 |
+ doit_exec=exec |
25568 |
+else |
25569 |
+ doit_exec=$doit |
25570 |
+fi |
25571 |
+ |
25572 |
+# Put in absolute file names if you don't have them in your path; |
25573 |
+# or use environment vars. |
25574 |
+ |
25575 |
+chgrpprog=${CHGRPPROG-chgrp} |
25576 |
+chmodprog=${CHMODPROG-chmod} |
25577 |
+chownprog=${CHOWNPROG-chown} |
25578 |
+cmpprog=${CMPPROG-cmp} |
25579 |
+cpprog=${CPPROG-cp} |
25580 |
+mkdirprog=${MKDIRPROG-mkdir} |
25581 |
+mvprog=${MVPROG-mv} |
25582 |
+rmprog=${RMPROG-rm} |
25583 |
+stripprog=${STRIPPROG-strip} |
25584 |
+ |
25585 |
+posix_glob='?' |
25586 |
+initialize_posix_glob=' |
25587 |
+ test "$posix_glob" != "?" || { |
25588 |
+ if (set -f) 2>/dev/null; then |
25589 |
+ posix_glob= |
25590 |
+ else |
25591 |
+ posix_glob=: |
25592 |
+ fi |
25593 |
+ } |
25594 |
+' |
25595 |
+ |
25596 |
+posix_mkdir= |
25597 |
+ |
25598 |
+# Desired mode of installed file. |
25599 |
+mode=0755 |
25600 |
+ |
25601 |
+chgrpcmd= |
25602 |
+chmodcmd=$chmodprog |
25603 |
+chowncmd= |
25604 |
+mvcmd=$mvprog |
25605 |
+rmcmd="$rmprog -f" |
25606 |
+stripcmd= |
25607 |
+ |
25608 |
+src= |
25609 |
+dst= |
25610 |
+dir_arg= |
25611 |
+dst_arg= |
25612 |
+ |
25613 |
+copy_on_change=false |
25614 |
+no_target_directory= |
25615 |
+ |
25616 |
+usage="\ |
25617 |
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE |
25618 |
+ or: $0 [OPTION]... SRCFILES... DIRECTORY |
25619 |
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES... |
25620 |
+ or: $0 [OPTION]... -d DIRECTORIES... |
25621 |
+ |
25622 |
+In the 1st form, copy SRCFILE to DSTFILE. |
25623 |
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. |
25624 |
+In the 4th, create DIRECTORIES. |
25625 |
+ |
25626 |
+Options: |
25627 |
+ --help display this help and exit. |
25628 |
+ --version display version info and exit. |
25629 |
+ |
25630 |
+ -c (ignored) |
25631 |
+ -C install only if different (preserve the last data modification time) |
25632 |
+ -d create directories instead of installing files. |
25633 |
+ -g GROUP $chgrpprog installed files to GROUP. |
25634 |
+ -m MODE $chmodprog installed files to MODE. |
25635 |
+ -o USER $chownprog installed files to USER. |
25636 |
+ -s $stripprog installed files. |
25637 |
+ -t DIRECTORY install into DIRECTORY. |
25638 |
+ -T report an error if DSTFILE is a directory. |
25639 |
+ |
25640 |
+Environment variables override the default commands: |
25641 |
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG |
25642 |
+ RMPROG STRIPPROG |
25643 |
+" |
25644 |
+ |
25645 |
+while test $# -ne 0; do |
25646 |
+ case $1 in |
25647 |
+ -c) ;; |
25648 |
+ |
25649 |
+ -C) copy_on_change=true;; |
25650 |
+ |
25651 |
+ -d) dir_arg=true;; |
25652 |
+ |
25653 |
+ -g) chgrpcmd="$chgrpprog $2" |
25654 |
+ shift;; |
25655 |
+ |
25656 |
+ --help) echo "$usage"; exit $?;; |
25657 |
+ |
25658 |
+ -m) mode=$2 |
25659 |
+ case $mode in |
25660 |
+ *' '* | *' '* | *' |
25661 |
+'* | *'*'* | *'?'* | *'['*) |
25662 |
+ echo "$0: invalid mode: $mode" >&2 |
25663 |
+ exit 1;; |
25664 |
+ esac |
25665 |
+ shift;; |
25666 |
+ |
25667 |
+ -o) chowncmd="$chownprog $2" |
25668 |
+ shift;; |
25669 |
+ |
25670 |
+ -s) stripcmd=$stripprog;; |
25671 |
+ |
25672 |
+ -t) dst_arg=$2 |
25673 |
+ shift;; |
25674 |
+ |
25675 |
+ -T) no_target_directory=true;; |
25676 |
+ |
25677 |
+ --version) echo "$0 $scriptversion"; exit $?;; |
25678 |
+ |
25679 |
+ --) shift |
25680 |
+ break;; |
25681 |
+ |
25682 |
+ -*) echo "$0: invalid option: $1" >&2 |
25683 |
+ exit 1;; |
25684 |
+ |
25685 |
+ *) break;; |
25686 |
+ esac |
25687 |
+ shift |
25688 |
+done |
25689 |
+ |
25690 |
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then |
25691 |
+ # When -d is used, all remaining arguments are directories to create. |
25692 |
+ # When -t is used, the destination is already specified. |
25693 |
+ # Otherwise, the last argument is the destination. Remove it from $@. |
25694 |
+ for arg |
25695 |
+ do |
25696 |
+ if test -n "$dst_arg"; then |
25697 |
+ # $@ is not empty: it contains at least $arg. |
25698 |
+ set fnord "$@" "$dst_arg" |
25699 |
+ shift # fnord |
25700 |
+ fi |
25701 |
+ shift # arg |
25702 |
+ dst_arg=$arg |
25703 |
+ done |
25704 |
+fi |
25705 |
+ |
25706 |
+if test $# -eq 0; then |
25707 |
+ if test -z "$dir_arg"; then |
25708 |
+ echo "$0: no input file specified." >&2 |
25709 |
+ exit 1 |
25710 |
+ fi |
25711 |
+ # It's OK to call `install-sh -d' without argument. |
25712 |
+ # This can happen when creating conditional directories. |
25713 |
+ exit 0 |
25714 |
+fi |
25715 |
+ |
25716 |
+if test -z "$dir_arg"; then |
25717 |
+ trap '(exit $?); exit' 1 2 13 15 |
25718 |
+ |
25719 |
+ # Set umask so as not to create temps with too-generous modes. |
25720 |
+ # However, 'strip' requires both read and write access to temps. |
25721 |
+ case $mode in |
25722 |
+ # Optimize common cases. |
25723 |
+ *644) cp_umask=133;; |
25724 |
+ *755) cp_umask=22;; |
25725 |
+ |
25726 |
+ *[0-7]) |
25727 |
+ if test -z "$stripcmd"; then |
25728 |
+ u_plus_rw= |
25729 |
+ else |
25730 |
+ u_plus_rw='% 200' |
25731 |
+ fi |
25732 |
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; |
25733 |
+ *) |
25734 |
+ if test -z "$stripcmd"; then |
25735 |
+ u_plus_rw= |
25736 |
+ else |
25737 |
+ u_plus_rw=,u+rw |
25738 |
+ fi |
25739 |
+ cp_umask=$mode$u_plus_rw;; |
25740 |
+ esac |
25741 |
+fi |
25742 |
+ |
25743 |
+for src |
25744 |
+do |
25745 |
+ # Protect names starting with `-'. |
25746 |
+ case $src in |
25747 |
+ -*) src=./$src;; |
25748 |
+ esac |
25749 |
+ |
25750 |
+ if test -n "$dir_arg"; then |
25751 |
+ dst=$src |
25752 |
+ dstdir=$dst |
25753 |
+ test -d "$dstdir" |
25754 |
+ dstdir_status=$? |
25755 |
+ else |
25756 |
+ |
25757 |
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command |
25758 |
+ # might cause directories to be created, which would be especially bad |
25759 |
+ # if $src (and thus $dsttmp) contains '*'. |
25760 |
+ if test ! -f "$src" && test ! -d "$src"; then |
25761 |
+ echo "$0: $src does not exist." >&2 |
25762 |
+ exit 1 |
25763 |
+ fi |
25764 |
+ |
25765 |
+ if test -z "$dst_arg"; then |
25766 |
+ echo "$0: no destination specified." >&2 |
25767 |
+ exit 1 |
25768 |
+ fi |
25769 |
+ |
25770 |
+ dst=$dst_arg |
25771 |
+ # Protect names starting with `-'. |
25772 |
+ case $dst in |
25773 |
+ -*) dst=./$dst;; |
25774 |
+ esac |
25775 |
+ |
25776 |
+ # If destination is a directory, append the input filename; won't work |
25777 |
+ # if double slashes aren't ignored. |
25778 |
+ if test -d "$dst"; then |
25779 |
+ if test -n "$no_target_directory"; then |
25780 |
+ echo "$0: $dst_arg: Is a directory" >&2 |
25781 |
+ exit 1 |
25782 |
+ fi |
25783 |
+ dstdir=$dst |
25784 |
+ dst=$dstdir/`basename "$src"` |
25785 |
+ dstdir_status=0 |
25786 |
+ else |
25787 |
+ # Prefer dirname, but fall back on a substitute if dirname fails. |
25788 |
+ dstdir=` |
25789 |
+ (dirname "$dst") 2>/dev/null || |
25790 |
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25791 |
+ X"$dst" : 'X\(//\)[^/]' \| \ |
25792 |
+ X"$dst" : 'X\(//\)$' \| \ |
25793 |
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null || |
25794 |
+ echo X"$dst" | |
25795 |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25796 |
+ s//\1/ |
25797 |
+ q |
25798 |
+ } |
25799 |
+ /^X\(\/\/\)[^/].*/{ |
25800 |
+ s//\1/ |
25801 |
+ q |
25802 |
+ } |
25803 |
+ /^X\(\/\/\)$/{ |
25804 |
+ s//\1/ |
25805 |
+ q |
25806 |
+ } |
25807 |
+ /^X\(\/\).*/{ |
25808 |
+ s//\1/ |
25809 |
+ q |
25810 |
+ } |
25811 |
+ s/.*/./; q' |
25812 |
+ ` |
25813 |
+ |
25814 |
+ test -d "$dstdir" |
25815 |
+ dstdir_status=$? |
25816 |
+ fi |
25817 |
+ fi |
25818 |
+ |
25819 |
+ obsolete_mkdir_used=false |
25820 |
+ |
25821 |
+ if test $dstdir_status != 0; then |
25822 |
+ case $posix_mkdir in |
25823 |
+ '') |
25824 |
+ # Create intermediate dirs using mode 755 as modified by the umask. |
25825 |
+ # This is like FreeBSD 'install' as of 1997-10-28. |
25826 |
+ umask=`umask` |
25827 |
+ case $stripcmd.$umask in |
25828 |
+ # Optimize common cases. |
25829 |
+ *[2367][2367]) mkdir_umask=$umask;; |
25830 |
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; |
25831 |
+ |
25832 |
+ *[0-7]) |
25833 |
+ mkdir_umask=`expr $umask + 22 \ |
25834 |
+ - $umask % 100 % 40 + $umask % 20 \ |
25835 |
+ - $umask % 10 % 4 + $umask % 2 |
25836 |
+ `;; |
25837 |
+ *) mkdir_umask=$umask,go-w;; |
25838 |
+ esac |
25839 |
+ |
25840 |
+ # With -d, create the new directory with the user-specified mode. |
25841 |
+ # Otherwise, rely on $mkdir_umask. |
25842 |
+ if test -n "$dir_arg"; then |
25843 |
+ mkdir_mode=-m$mode |
25844 |
+ else |
25845 |
+ mkdir_mode= |
25846 |
+ fi |
25847 |
+ |
25848 |
+ posix_mkdir=false |
25849 |
+ case $umask in |
25850 |
+ *[123567][0-7][0-7]) |
25851 |
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which |
25852 |
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0. |
25853 |
+ ;; |
25854 |
+ *) |
25855 |
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ |
25856 |
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 |
25857 |
+ |
25858 |
+ if (umask $mkdir_umask && |
25859 |
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 |
25860 |
+ then |
25861 |
+ if test -z "$dir_arg" || { |
25862 |
+ # Check for POSIX incompatibilities with -m. |
25863 |
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or |
25864 |
+ # other-writeable bit of parent directory when it shouldn't. |
25865 |
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. |
25866 |
+ ls_ld_tmpdir=`ls -ld "$tmpdir"` |
25867 |
+ case $ls_ld_tmpdir in |
25868 |
+ d????-?r-*) different_mode=700;; |
25869 |
+ d????-?--*) different_mode=755;; |
25870 |
+ *) false;; |
25871 |
+ esac && |
25872 |
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && { |
25873 |
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"` |
25874 |
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" |
25875 |
+ } |
25876 |
+ } |
25877 |
+ then posix_mkdir=: |
25878 |
+ fi |
25879 |
+ rmdir "$tmpdir/d" "$tmpdir" |
25880 |
+ else |
25881 |
+ # Remove any dirs left behind by ancient mkdir implementations. |
25882 |
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null |
25883 |
+ fi |
25884 |
+ trap '' 0;; |
25885 |
+ esac;; |
25886 |
+ esac |
25887 |
+ |
25888 |
+ if |
25889 |
+ $posix_mkdir && ( |
25890 |
+ umask $mkdir_umask && |
25891 |
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" |
25892 |
+ ) |
25893 |
+ then : |
25894 |
+ else |
25895 |
+ |
25896 |
+ # The umask is ridiculous, or mkdir does not conform to POSIX, |
25897 |
+ # or it failed possibly due to a race condition. Create the |
25898 |
+ # directory the slow way, step by step, checking for races as we go. |
25899 |
+ |
25900 |
+ case $dstdir in |
25901 |
+ /*) prefix='/';; |
25902 |
+ -*) prefix='./';; |
25903 |
+ *) prefix='';; |
25904 |
+ esac |
25905 |
+ |
25906 |
+ eval "$initialize_posix_glob" |
25907 |
+ |
25908 |
+ oIFS=$IFS |
25909 |
+ IFS=/ |
25910 |
+ $posix_glob set -f |
25911 |
+ set fnord $dstdir |
25912 |
+ shift |
25913 |
+ $posix_glob set +f |
25914 |
+ IFS=$oIFS |
25915 |
+ |
25916 |
+ prefixes= |
25917 |
+ |
25918 |
+ for d |
25919 |
+ do |
25920 |
+ test -z "$d" && continue |
25921 |
+ |
25922 |
+ prefix=$prefix$d |
25923 |
+ if test -d "$prefix"; then |
25924 |
+ prefixes= |
25925 |
+ else |
25926 |
+ if $posix_mkdir; then |
25927 |
+ (umask=$mkdir_umask && |
25928 |
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break |
25929 |
+ # Don't fail if two instances are running concurrently. |
25930 |
+ test -d "$prefix" || exit 1 |
25931 |
+ else |
25932 |
+ case $prefix in |
25933 |
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; |
25934 |
+ *) qprefix=$prefix;; |
25935 |
+ esac |
25936 |
+ prefixes="$prefixes '$qprefix'" |
25937 |
+ fi |
25938 |
+ fi |
25939 |
+ prefix=$prefix/ |
25940 |
+ done |
25941 |
+ |
25942 |
+ if test -n "$prefixes"; then |
25943 |
+ # Don't fail if two instances are running concurrently. |
25944 |
+ (umask $mkdir_umask && |
25945 |
+ eval "\$doit_exec \$mkdirprog $prefixes") || |
25946 |
+ test -d "$dstdir" || exit 1 |
25947 |
+ obsolete_mkdir_used=true |
25948 |
+ fi |
25949 |
+ fi |
25950 |
+ fi |
25951 |
+ |
25952 |
+ if test -n "$dir_arg"; then |
25953 |
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && |
25954 |
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && |
25955 |
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || |
25956 |
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 |
25957 |
+ else |
25958 |
+ |
25959 |
+ # Make a couple of temp file names in the proper directory. |
25960 |
+ dsttmp=$dstdir/_inst.$$_ |
25961 |
+ rmtmp=$dstdir/_rm.$$_ |
25962 |
+ |
25963 |
+ # Trap to clean up those temp files at exit. |
25964 |
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
25965 |
+ |
25966 |
+ # Copy the file name to the temp name. |
25967 |
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && |
25968 |
+ |
25969 |
+ # and set any options; do chmod last to preserve setuid bits. |
25970 |
+ # |
25971 |
+ # If any of these fail, we abort the whole thing. If we want to |
25972 |
+ # ignore errors from any of these, just make sure not to ignore |
25973 |
+ # errors from the above "$doit $cpprog $src $dsttmp" command. |
25974 |
+ # |
25975 |
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && |
25976 |
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && |
25977 |
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && |
25978 |
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && |
25979 |
+ |
25980 |
+ # If -C, don't bother to copy if it wouldn't change the file. |
25981 |
+ if $copy_on_change && |
25982 |
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && |
25983 |
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && |
25984 |
+ |
25985 |
+ eval "$initialize_posix_glob" && |
25986 |
+ $posix_glob set -f && |
25987 |
+ set X $old && old=:$2:$4:$5:$6 && |
25988 |
+ set X $new && new=:$2:$4:$5:$6 && |
25989 |
+ $posix_glob set +f && |
25990 |
+ |
25991 |
+ test "$old" = "$new" && |
25992 |
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 |
25993 |
+ then |
25994 |
+ rm -f "$dsttmp" |
25995 |
+ else |
25996 |
+ # Rename the file to the real destination. |
25997 |
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || |
25998 |
+ |
25999 |
+ # The rename failed, perhaps because mv can't rename something else |
26000 |
+ # to itself, or perhaps because mv is so ancient that it does not |
26001 |
+ # support -f. |
26002 |
+ { |
26003 |
+ # Now remove or move aside any old file at destination location. |
26004 |
+ # We try this two ways since rm can't unlink itself on some |
26005 |
+ # systems and the destination file might be busy for other |
26006 |
+ # reasons. In this case, the final cleanup might fail but the new |
26007 |
+ # file should still install successfully. |
26008 |
+ { |
26009 |
+ test ! -f "$dst" || |
26010 |
+ $doit $rmcmd -f "$dst" 2>/dev/null || |
26011 |
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && |
26012 |
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } |
26013 |
+ } || |
26014 |
+ { echo "$0: cannot unlink or rename $dst" >&2 |
26015 |
+ (exit 1); exit 1 |
26016 |
+ } |
26017 |
+ } && |
26018 |
+ |
26019 |
+ # Now rename the file to the real destination. |
26020 |
+ $doit $mvcmd "$dsttmp" "$dst" |
26021 |
+ } |
26022 |
+ fi || exit 1 |
26023 |
+ |
26024 |
+ trap '' 0 |
26025 |
+ fi |
26026 |
+done |
26027 |
+ |
26028 |
+# Local variables: |
26029 |
+# eval: (add-hook 'write-file-hooks 'time-stamp) |
26030 |
+# time-stamp-start: "scriptversion=" |
26031 |
+# time-stamp-format: "%:y-%02m-%02d.%02H" |
26032 |
+# time-stamp-time-zone: "UTC" |
26033 |
+# time-stamp-end: "; # UTC" |
26034 |
+# End: |
26035 |
|
26036 |
diff --git a/missing b/missing |
26037 |
new file mode 100755 |
26038 |
index 0000000..28055d2 |
26039 |
--- /dev/null |
26040 |
+++ b/missing |
26041 |
@@ -0,0 +1,376 @@ |
26042 |
+#! /bin/sh |
26043 |
+# Common stub for a few missing GNU programs while installing. |
26044 |
+ |
26045 |
+scriptversion=2009-04-28.21; # UTC |
26046 |
+ |
26047 |
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, |
26048 |
+# 2008, 2009 Free Software Foundation, Inc. |
26049 |
+# Originally by Fran,cois Pinard <pinard@×××××××××××××.ca>, 1996. |
26050 |
+ |
26051 |
+# This program is free software; you can redistribute it and/or modify |
26052 |
+# it under the terms of the GNU General Public License as published by |
26053 |
+# the Free Software Foundation; either version 2, or (at your option) |
26054 |
+# any later version. |
26055 |
+ |
26056 |
+# This program is distributed in the hope that it will be useful, |
26057 |
+# but WITHOUT ANY WARRANTY; without even the implied warranty of |
26058 |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
26059 |
+# GNU General Public License for more details. |
26060 |
+ |
26061 |
+# You should have received a copy of the GNU General Public License |
26062 |
+# along with this program. If not, see <http://www.gnu.org/licenses/>. |
26063 |
+ |
26064 |
+# As a special exception to the GNU General Public License, if you |
26065 |
+# distribute this file as part of a program that contains a |
26066 |
+# configuration script generated by Autoconf, you may include it under |
26067 |
+# the same distribution terms that you use for the rest of that program. |
26068 |
+ |
26069 |
+if test $# -eq 0; then |
26070 |
+ echo 1>&2 "Try \`$0 --help' for more information" |
26071 |
+ exit 1 |
26072 |
+fi |
26073 |
+ |
26074 |
+run=: |
26075 |
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' |
26076 |
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p' |
26077 |
+ |
26078 |
+# In the cases where this matters, `missing' is being run in the |
26079 |
+# srcdir already. |
26080 |
+if test -f configure.ac; then |
26081 |
+ configure_ac=configure.ac |
26082 |
+else |
26083 |
+ configure_ac=configure.in |
26084 |
+fi |
26085 |
+ |
26086 |
+msg="missing on your system" |
26087 |
+ |
26088 |
+case $1 in |
26089 |
+--run) |
26090 |
+ # Try to run requested program, and just exit if it succeeds. |
26091 |
+ run= |
26092 |
+ shift |
26093 |
+ "$@" && exit 0 |
26094 |
+ # Exit code 63 means version mismatch. This often happens |
26095 |
+ # when the user try to use an ancient version of a tool on |
26096 |
+ # a file that requires a minimum version. In this case we |
26097 |
+ # we should proceed has if the program had been absent, or |
26098 |
+ # if --run hadn't been passed. |
26099 |
+ if test $? = 63; then |
26100 |
+ run=: |
26101 |
+ msg="probably too old" |
26102 |
+ fi |
26103 |
+ ;; |
26104 |
+ |
26105 |
+ -h|--h|--he|--hel|--help) |
26106 |
+ echo "\ |
26107 |
+$0 [OPTION]... PROGRAM [ARGUMENT]... |
26108 |
+ |
26109 |
+Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an |
26110 |
+error status if there is no known handling for PROGRAM. |
26111 |
+ |
26112 |
+Options: |
26113 |
+ -h, --help display this help and exit |
26114 |
+ -v, --version output version information and exit |
26115 |
+ --run try to run the given command, and emulate it if it fails |
26116 |
+ |
26117 |
+Supported PROGRAM values: |
26118 |
+ aclocal touch file \`aclocal.m4' |
26119 |
+ autoconf touch file \`configure' |
26120 |
+ autoheader touch file \`config.h.in' |
26121 |
+ autom4te touch the output file, or create a stub one |
26122 |
+ automake touch all \`Makefile.in' files |
26123 |
+ bison create \`y.tab.[ch]', if possible, from existing .[ch] |
26124 |
+ flex create \`lex.yy.c', if possible, from existing .c |
26125 |
+ help2man touch the output file |
26126 |
+ lex create \`lex.yy.c', if possible, from existing .c |
26127 |
+ makeinfo touch the output file |
26128 |
+ tar try tar, gnutar, gtar, then tar without non-portable flags |
26129 |
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch] |
26130 |
+ |
26131 |
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and |
26132 |
+\`g' are ignored when checking the name. |
26133 |
+ |
26134 |
+Send bug reports to <bug-automake@×××.org>." |
26135 |
+ exit $? |
26136 |
+ ;; |
26137 |
+ |
26138 |
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version) |
26139 |
+ echo "missing $scriptversion (GNU Automake)" |
26140 |
+ exit $? |
26141 |
+ ;; |
26142 |
+ |
26143 |
+ -*) |
26144 |
+ echo 1>&2 "$0: Unknown \`$1' option" |
26145 |
+ echo 1>&2 "Try \`$0 --help' for more information" |
26146 |
+ exit 1 |
26147 |
+ ;; |
26148 |
+ |
26149 |
+esac |
26150 |
+ |
26151 |
+# normalize program name to check for. |
26152 |
+program=`echo "$1" | sed ' |
26153 |
+ s/^gnu-//; t |
26154 |
+ s/^gnu//; t |
26155 |
+ s/^g//; t'` |
26156 |
+ |
26157 |
+# Now exit if we have it, but it failed. Also exit now if we |
26158 |
+# don't have it and --version was passed (most likely to detect |
26159 |
+# the program). This is about non-GNU programs, so use $1 not |
26160 |
+# $program. |
26161 |
+case $1 in |
26162 |
+ lex*|yacc*) |
26163 |
+ # Not GNU programs, they don't have --version. |
26164 |
+ ;; |
26165 |
+ |
26166 |
+ tar*) |
26167 |
+ if test -n "$run"; then |
26168 |
+ echo 1>&2 "ERROR: \`tar' requires --run" |
26169 |
+ exit 1 |
26170 |
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then |
26171 |
+ exit 1 |
26172 |
+ fi |
26173 |
+ ;; |
26174 |
+ |
26175 |
+ *) |
26176 |
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then |
26177 |
+ # We have it, but it failed. |
26178 |
+ exit 1 |
26179 |
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then |
26180 |
+ # Could not run --version or --help. This is probably someone |
26181 |
+ # running `$TOOL --version' or `$TOOL --help' to check whether |
26182 |
+ # $TOOL exists and not knowing $TOOL uses missing. |
26183 |
+ exit 1 |
26184 |
+ fi |
26185 |
+ ;; |
26186 |
+esac |
26187 |
+ |
26188 |
+# If it does not exist, or fails to run (possibly an outdated version), |
26189 |
+# try to emulate it. |
26190 |
+case $program in |
26191 |
+ aclocal*) |
26192 |
+ echo 1>&2 "\ |
26193 |
+WARNING: \`$1' is $msg. You should only need it if |
26194 |
+ you modified \`acinclude.m4' or \`${configure_ac}'. You might want |
26195 |
+ to install the \`Automake' and \`Perl' packages. Grab them from |
26196 |
+ any GNU archive site." |
26197 |
+ touch aclocal.m4 |
26198 |
+ ;; |
26199 |
+ |
26200 |
+ autoconf*) |
26201 |
+ echo 1>&2 "\ |
26202 |
+WARNING: \`$1' is $msg. You should only need it if |
26203 |
+ you modified \`${configure_ac}'. You might want to install the |
26204 |
+ \`Autoconf' and \`GNU m4' packages. Grab them from any GNU |
26205 |
+ archive site." |
26206 |
+ touch configure |
26207 |
+ ;; |
26208 |
+ |
26209 |
+ autoheader*) |
26210 |
+ echo 1>&2 "\ |
26211 |
+WARNING: \`$1' is $msg. You should only need it if |
26212 |
+ you modified \`acconfig.h' or \`${configure_ac}'. You might want |
26213 |
+ to install the \`Autoconf' and \`GNU m4' packages. Grab them |
26214 |
+ from any GNU archive site." |
26215 |
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` |
26216 |
+ test -z "$files" && files="config.h" |
26217 |
+ touch_files= |
26218 |
+ for f in $files; do |
26219 |
+ case $f in |
26220 |
+ *:*) touch_files="$touch_files "`echo "$f" | |
26221 |
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;; |
26222 |
+ *) touch_files="$touch_files $f.in";; |
26223 |
+ esac |
26224 |
+ done |
26225 |
+ touch $touch_files |
26226 |
+ ;; |
26227 |
+ |
26228 |
+ automake*) |
26229 |
+ echo 1>&2 "\ |
26230 |
+WARNING: \`$1' is $msg. You should only need it if |
26231 |
+ you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. |
26232 |
+ You might want to install the \`Automake' and \`Perl' packages. |
26233 |
+ Grab them from any GNU archive site." |
26234 |
+ find . -type f -name Makefile.am -print | |
26235 |
+ sed 's/\.am$/.in/' | |
26236 |
+ while read f; do touch "$f"; done |
26237 |
+ ;; |
26238 |
+ |
26239 |
+ autom4te*) |
26240 |
+ echo 1>&2 "\ |
26241 |
+WARNING: \`$1' is needed, but is $msg. |
26242 |
+ You might have modified some files without having the |
26243 |
+ proper tools for further handling them. |
26244 |
+ You can get \`$1' as part of \`Autoconf' from any GNU |
26245 |
+ archive site." |
26246 |
+ |
26247 |
+ file=`echo "$*" | sed -n "$sed_output"` |
26248 |
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` |
26249 |
+ if test -f "$file"; then |
26250 |
+ touch $file |
26251 |
+ else |
26252 |
+ test -z "$file" || exec >$file |
26253 |
+ echo "#! /bin/sh" |
26254 |
+ echo "# Created by GNU Automake missing as a replacement of" |
26255 |
+ echo "# $ $@" |
26256 |
+ echo "exit 0" |
26257 |
+ chmod +x $file |
26258 |
+ exit 1 |
26259 |
+ fi |
26260 |
+ ;; |
26261 |
+ |
26262 |
+ bison*|yacc*) |
26263 |
+ echo 1>&2 "\ |
26264 |
+WARNING: \`$1' $msg. You should only need it if |
26265 |
+ you modified a \`.y' file. You may need the \`Bison' package |
26266 |
+ in order for those modifications to take effect. You can get |
26267 |
+ \`Bison' from any GNU archive site." |
26268 |
+ rm -f y.tab.c y.tab.h |
26269 |
+ if test $# -ne 1; then |
26270 |
+ eval LASTARG="\${$#}" |
26271 |
+ case $LASTARG in |
26272 |
+ *.y) |
26273 |
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` |
26274 |
+ if test -f "$SRCFILE"; then |
26275 |
+ cp "$SRCFILE" y.tab.c |
26276 |
+ fi |
26277 |
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` |
26278 |
+ if test -f "$SRCFILE"; then |
26279 |
+ cp "$SRCFILE" y.tab.h |
26280 |
+ fi |
26281 |
+ ;; |
26282 |
+ esac |
26283 |
+ fi |
26284 |
+ if test ! -f y.tab.h; then |
26285 |
+ echo >y.tab.h |
26286 |
+ fi |
26287 |
+ if test ! -f y.tab.c; then |
26288 |
+ echo 'main() { return 0; }' >y.tab.c |
26289 |
+ fi |
26290 |
+ ;; |
26291 |
+ |
26292 |
+ lex*|flex*) |
26293 |
+ echo 1>&2 "\ |
26294 |
+WARNING: \`$1' is $msg. You should only need it if |
26295 |
+ you modified a \`.l' file. You may need the \`Flex' package |
26296 |
+ in order for those modifications to take effect. You can get |
26297 |
+ \`Flex' from any GNU archive site." |
26298 |
+ rm -f lex.yy.c |
26299 |
+ if test $# -ne 1; then |
26300 |
+ eval LASTARG="\${$#}" |
26301 |
+ case $LASTARG in |
26302 |
+ *.l) |
26303 |
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` |
26304 |
+ if test -f "$SRCFILE"; then |
26305 |
+ cp "$SRCFILE" lex.yy.c |
26306 |
+ fi |
26307 |
+ ;; |
26308 |
+ esac |
26309 |
+ fi |
26310 |
+ if test ! -f lex.yy.c; then |
26311 |
+ echo 'main() { return 0; }' >lex.yy.c |
26312 |
+ fi |
26313 |
+ ;; |
26314 |
+ |
26315 |
+ help2man*) |
26316 |
+ echo 1>&2 "\ |
26317 |
+WARNING: \`$1' is $msg. You should only need it if |
26318 |
+ you modified a dependency of a manual page. You may need the |
26319 |
+ \`Help2man' package in order for those modifications to take |
26320 |
+ effect. You can get \`Help2man' from any GNU archive site." |
26321 |
+ |
26322 |
+ file=`echo "$*" | sed -n "$sed_output"` |
26323 |
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` |
26324 |
+ if test -f "$file"; then |
26325 |
+ touch $file |
26326 |
+ else |
26327 |
+ test -z "$file" || exec >$file |
26328 |
+ echo ".ab help2man is required to generate this page" |
26329 |
+ exit $? |
26330 |
+ fi |
26331 |
+ ;; |
26332 |
+ |
26333 |
+ makeinfo*) |
26334 |
+ echo 1>&2 "\ |
26335 |
+WARNING: \`$1' is $msg. You should only need it if |
26336 |
+ you modified a \`.texi' or \`.texinfo' file, or any other file |
26337 |
+ indirectly affecting the aspect of the manual. The spurious |
26338 |
+ call might also be the consequence of using a buggy \`make' (AIX, |
26339 |
+ DU, IRIX). You might want to install the \`Texinfo' package or |
26340 |
+ the \`GNU make' package. Grab either from any GNU archive site." |
26341 |
+ # The file to touch is that specified with -o ... |
26342 |
+ file=`echo "$*" | sed -n "$sed_output"` |
26343 |
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` |
26344 |
+ if test -z "$file"; then |
26345 |
+ # ... or it is the one specified with @setfilename ... |
26346 |
+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` |
26347 |
+ file=`sed -n ' |
26348 |
+ /^@setfilename/{ |
26349 |
+ s/.* \([^ ]*\) *$/\1/ |
26350 |
+ p |
26351 |
+ q |
26352 |
+ }' $infile` |
26353 |
+ # ... or it is derived from the source name (dir/f.texi becomes f.info) |
26354 |
+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info |
26355 |
+ fi |
26356 |
+ # If the file does not exist, the user really needs makeinfo; |
26357 |
+ # let's fail without touching anything. |
26358 |
+ test -f $file || exit 1 |
26359 |
+ touch $file |
26360 |
+ ;; |
26361 |
+ |
26362 |
+ tar*) |
26363 |
+ shift |
26364 |
+ |
26365 |
+ # We have already tried tar in the generic part. |
26366 |
+ # Look for gnutar/gtar before invocation to avoid ugly error |
26367 |
+ # messages. |
26368 |
+ if (gnutar --version > /dev/null 2>&1); then |
26369 |
+ gnutar "$@" && exit 0 |
26370 |
+ fi |
26371 |
+ if (gtar --version > /dev/null 2>&1); then |
26372 |
+ gtar "$@" && exit 0 |
26373 |
+ fi |
26374 |
+ firstarg="$1" |
26375 |
+ if shift; then |
26376 |
+ case $firstarg in |
26377 |
+ *o*) |
26378 |
+ firstarg=`echo "$firstarg" | sed s/o//` |
26379 |
+ tar "$firstarg" "$@" && exit 0 |
26380 |
+ ;; |
26381 |
+ esac |
26382 |
+ case $firstarg in |
26383 |
+ *h*) |
26384 |
+ firstarg=`echo "$firstarg" | sed s/h//` |
26385 |
+ tar "$firstarg" "$@" && exit 0 |
26386 |
+ ;; |
26387 |
+ esac |
26388 |
+ fi |
26389 |
+ |
26390 |
+ echo 1>&2 "\ |
26391 |
+WARNING: I can't seem to be able to run \`tar' with the given arguments. |
26392 |
+ You may want to install GNU tar or Free paxutils, or check the |
26393 |
+ command line arguments." |
26394 |
+ exit 1 |
26395 |
+ ;; |
26396 |
+ |
26397 |
+ *) |
26398 |
+ echo 1>&2 "\ |
26399 |
+WARNING: \`$1' is needed, and is $msg. |
26400 |
+ You might have modified some files without having the |
26401 |
+ proper tools for further handling them. Check the \`README' file, |
26402 |
+ it often tells you about the needed prerequisites for installing |
26403 |
+ this package. You may also peek at any GNU archive site, in case |
26404 |
+ some other package would contain this missing \`$1' program." |
26405 |
+ exit 1 |
26406 |
+ ;; |
26407 |
+esac |
26408 |
+ |
26409 |
+exit 0 |
26410 |
+ |
26411 |
+# Local variables: |
26412 |
+# eval: (add-hook 'write-file-hooks 'time-stamp) |
26413 |
+# time-stamp-start: "scriptversion=" |
26414 |
+# time-stamp-format: "%:y-%02m-%02d.%02H" |
26415 |
+# time-stamp-time-zone: "UTC" |
26416 |
+# time-stamp-end: "; # UTC" |
26417 |
+# End: |
26418 |
|
26419 |
diff --git a/scripts/Makefile.in b/scripts/Makefile.in |
26420 |
new file mode 100644 |
26421 |
index 0000000..8c2578d |
26422 |
--- /dev/null |
26423 |
+++ b/scripts/Makefile.in |
26424 |
@@ -0,0 +1,380 @@ |
26425 |
+# Makefile.in generated by automake 1.11.1 from Makefile.am. |
26426 |
+# @configure_input@ |
26427 |
+ |
26428 |
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
26429 |
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
26430 |
+# Inc. |
26431 |
+# This Makefile.in is free software; the Free Software Foundation |
26432 |
+# gives unlimited permission to copy and/or distribute it, |
26433 |
+# with or without modifications, as long as this notice is preserved. |
26434 |
+ |
26435 |
+# This program is distributed in the hope that it will be useful, |
26436 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
26437 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
26438 |
+# PARTICULAR PURPOSE. |
26439 |
+ |
26440 |
+@SET_MAKE@ |
26441 |
+ |
26442 |
+VPATH = @srcdir@ |
26443 |
+pkgdatadir = $(datadir)/@PACKAGE@ |
26444 |
+pkgincludedir = $(includedir)/@PACKAGE@ |
26445 |
+pkglibdir = $(libdir)/@PACKAGE@ |
26446 |
+pkglibexecdir = $(libexecdir)/@PACKAGE@ |
26447 |
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
26448 |
+install_sh_DATA = $(install_sh) -c -m 644 |
26449 |
+install_sh_PROGRAM = $(install_sh) -c |
26450 |
+install_sh_SCRIPT = $(install_sh) -c |
26451 |
+INSTALL_HEADER = $(INSTALL_DATA) |
26452 |
+transform = $(program_transform_name) |
26453 |
+NORMAL_INSTALL = : |
26454 |
+PRE_INSTALL = : |
26455 |
+POST_INSTALL = : |
26456 |
+NORMAL_UNINSTALL = : |
26457 |
+PRE_UNINSTALL = : |
26458 |
+POST_UNINSTALL = : |
26459 |
+subdir = scripts |
26460 |
+DIST_COMMON = $(dist_sbin_SCRIPTS) $(srcdir)/Makefile.am \ |
26461 |
+ $(srcdir)/Makefile.in |
26462 |
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
26463 |
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
26464 |
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
26465 |
+ $(ACLOCAL_M4) |
26466 |
+mkinstalldirs = $(install_sh) -d |
26467 |
+CONFIG_HEADER = $(top_builddir)/config.h |
26468 |
+CONFIG_CLEAN_FILES = |
26469 |
+CONFIG_CLEAN_VPATH_FILES = |
26470 |
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
26471 |
+am__vpath_adj = case $$p in \ |
26472 |
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
26473 |
+ *) f=$$p;; \ |
26474 |
+ esac; |
26475 |
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
26476 |
+am__install_max = 40 |
26477 |
+am__nobase_strip_setup = \ |
26478 |
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` |
26479 |
+am__nobase_strip = \ |
26480 |
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" |
26481 |
+am__nobase_list = $(am__nobase_strip_setup); \ |
26482 |
+ for p in $$list; do echo "$$p $$p"; done | \ |
26483 |
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ |
26484 |
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ |
26485 |
+ if (++n[$$2] == $(am__install_max)) \ |
26486 |
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ |
26487 |
+ END { for (dir in files) print dir, files[dir] }' |
26488 |
+am__base_list = \ |
26489 |
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
26490 |
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
26491 |
+am__installdirs = "$(DESTDIR)$(sbindir)" |
26492 |
+SCRIPTS = $(dist_sbin_SCRIPTS) |
26493 |
+SOURCES = |
26494 |
+DIST_SOURCES = |
26495 |
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
26496 |
+ACLOCAL = @ACLOCAL@ |
26497 |
+AMTAR = @AMTAR@ |
26498 |
+AUTOCONF = @AUTOCONF@ |
26499 |
+AUTOHEADER = @AUTOHEADER@ |
26500 |
+AUTOMAKE = @AUTOMAKE@ |
26501 |
+AWK = @AWK@ |
26502 |
+CC = @CC@ |
26503 |
+CCDEPMODE = @CCDEPMODE@ |
26504 |
+CFLAGS = @CFLAGS@ |
26505 |
+CPP = @CPP@ |
26506 |
+CPPFLAGS = @CPPFLAGS@ |
26507 |
+CYGPATH_W = @CYGPATH_W@ |
26508 |
+DEFS = @DEFS@ |
26509 |
+DEPDIR = @DEPDIR@ |
26510 |
+ECHO_C = @ECHO_C@ |
26511 |
+ECHO_N = @ECHO_N@ |
26512 |
+ECHO_T = @ECHO_T@ |
26513 |
+EGREP = @EGREP@ |
26514 |
+EXEEXT = @EXEEXT@ |
26515 |
+GREP = @GREP@ |
26516 |
+INSTALL = @INSTALL@ |
26517 |
+INSTALL_DATA = @INSTALL_DATA@ |
26518 |
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
26519 |
+INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
26520 |
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
26521 |
+LDFLAGS = @LDFLAGS@ |
26522 |
+LIBOBJS = @LIBOBJS@ |
26523 |
+LIBS = @LIBS@ |
26524 |
+LTLIBOBJS = @LTLIBOBJS@ |
26525 |
+MAKEINFO = @MAKEINFO@ |
26526 |
+MKDIR_P = @MKDIR_P@ |
26527 |
+OBJEXT = @OBJEXT@ |
26528 |
+PACKAGE = @PACKAGE@ |
26529 |
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
26530 |
+PACKAGE_NAME = @PACKAGE_NAME@ |
26531 |
+PACKAGE_STRING = @PACKAGE_STRING@ |
26532 |
+PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
26533 |
+PACKAGE_URL = @PACKAGE_URL@ |
26534 |
+PACKAGE_VERSION = @PACKAGE_VERSION@ |
26535 |
+PATH_SEPARATOR = @PATH_SEPARATOR@ |
26536 |
+SET_MAKE = @SET_MAKE@ |
26537 |
+SHELL = @SHELL@ |
26538 |
+STRIP = @STRIP@ |
26539 |
+VERSION = @VERSION@ |
26540 |
+abs_builddir = @abs_builddir@ |
26541 |
+abs_srcdir = @abs_srcdir@ |
26542 |
+abs_top_builddir = @abs_top_builddir@ |
26543 |
+abs_top_srcdir = @abs_top_srcdir@ |
26544 |
+ac_ct_CC = @ac_ct_CC@ |
26545 |
+am__include = @am__include@ |
26546 |
+am__leading_dot = @am__leading_dot@ |
26547 |
+am__quote = @am__quote@ |
26548 |
+am__tar = @am__tar@ |
26549 |
+am__untar = @am__untar@ |
26550 |
+bindir = @bindir@ |
26551 |
+build_alias = @build_alias@ |
26552 |
+builddir = @builddir@ |
26553 |
+datadir = @datadir@ |
26554 |
+datarootdir = @datarootdir@ |
26555 |
+docdir = @docdir@ |
26556 |
+dvidir = @dvidir@ |
26557 |
+exec_prefix = @exec_prefix@ |
26558 |
+has_yasm = @has_yasm@ |
26559 |
+host_alias = @host_alias@ |
26560 |
+htmldir = @htmldir@ |
26561 |
+includedir = @includedir@ |
26562 |
+infodir = @infodir@ |
26563 |
+install_sh = @install_sh@ |
26564 |
+libdir = @libdir@ |
26565 |
+libexecdir = @libexecdir@ |
26566 |
+localedir = @localedir@ |
26567 |
+localstatedir = @localstatedir@ |
26568 |
+mandir = @mandir@ |
26569 |
+mkdir_p = @mkdir_p@ |
26570 |
+oldincludedir = @oldincludedir@ |
26571 |
+pdfdir = @pdfdir@ |
26572 |
+prefix = @prefix@ |
26573 |
+program_transform_name = @program_transform_name@ |
26574 |
+psdir = @psdir@ |
26575 |
+sbindir = @sbindir@ |
26576 |
+sharedstatedir = @sharedstatedir@ |
26577 |
+srcdir = @srcdir@ |
26578 |
+sysconfdir = @sysconfdir@ |
26579 |
+target_alias = @target_alias@ |
26580 |
+top_build_prefix = @top_build_prefix@ |
26581 |
+top_builddir = @top_builddir@ |
26582 |
+top_srcdir = @top_srcdir@ |
26583 |
+dist_sbin_SCRIPTS = revdep-pax |
26584 |
+EXTRA_DIST = paxmodule.c setup.py |
26585 |
+all: all-am |
26586 |
+ |
26587 |
+.SUFFIXES: |
26588 |
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
26589 |
+ @for dep in $?; do \ |
26590 |
+ case '$(am__configure_deps)' in \ |
26591 |
+ *$$dep*) \ |
26592 |
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
26593 |
+ && { if test -f $@; then exit 0; else break; fi; }; \ |
26594 |
+ exit 1;; \ |
26595 |
+ esac; \ |
26596 |
+ done; \ |
26597 |
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign scripts/Makefile'; \ |
26598 |
+ $(am__cd) $(top_srcdir) && \ |
26599 |
+ $(AUTOMAKE) --foreign scripts/Makefile |
26600 |
+.PRECIOUS: Makefile |
26601 |
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
26602 |
+ @case '$?' in \ |
26603 |
+ *config.status*) \ |
26604 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
26605 |
+ *) \ |
26606 |
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
26607 |
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
26608 |
+ esac; |
26609 |
+ |
26610 |
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
26611 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
26612 |
+ |
26613 |
+$(top_srcdir)/configure: $(am__configure_deps) |
26614 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
26615 |
+$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
26616 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
26617 |
+$(am__aclocal_m4_deps): |
26618 |
+install-dist_sbinSCRIPTS: $(dist_sbin_SCRIPTS) |
26619 |
+ @$(NORMAL_INSTALL) |
26620 |
+ test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" |
26621 |
+ @list='$(dist_sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \ |
26622 |
+ for p in $$list; do \ |
26623 |
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
26624 |
+ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ |
26625 |
+ done | \ |
26626 |
+ sed -e 'p;s,.*/,,;n' \ |
26627 |
+ -e 'h;s|.*|.|' \ |
26628 |
+ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ |
26629 |
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ |
26630 |
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ |
26631 |
+ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ |
26632 |
+ if (++n[d] == $(am__install_max)) { \ |
26633 |
+ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ |
26634 |
+ else { print "f", d "/" $$4, $$1 } } \ |
26635 |
+ END { for (d in files) print "f", d, files[d] }' | \ |
26636 |
+ while read type dir files; do \ |
26637 |
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ |
26638 |
+ test -z "$$files" || { \ |
26639 |
+ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ |
26640 |
+ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ |
26641 |
+ } \ |
26642 |
+ ; done |
26643 |
+ |
26644 |
+uninstall-dist_sbinSCRIPTS: |
26645 |
+ @$(NORMAL_UNINSTALL) |
26646 |
+ @list='$(dist_sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \ |
26647 |
+ files=`for p in $$list; do echo "$$p"; done | \ |
26648 |
+ sed -e 's,.*/,,;$(transform)'`; \ |
26649 |
+ test -n "$$list" || exit 0; \ |
26650 |
+ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ |
26651 |
+ cd "$(DESTDIR)$(sbindir)" && rm -f $$files |
26652 |
+tags: TAGS |
26653 |
+TAGS: |
26654 |
+ |
26655 |
+ctags: CTAGS |
26656 |
+CTAGS: |
26657 |
+ |
26658 |
+ |
26659 |
+distdir: $(DISTFILES) |
26660 |
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
26661 |
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
26662 |
+ list='$(DISTFILES)'; \ |
26663 |
+ dist_files=`for file in $$list; do echo $$file; done | \ |
26664 |
+ sed -e "s|^$$srcdirstrip/||;t" \ |
26665 |
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
26666 |
+ case $$dist_files in \ |
26667 |
+ */*) $(MKDIR_P) `echo "$$dist_files" | \ |
26668 |
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
26669 |
+ sort -u` ;; \ |
26670 |
+ esac; \ |
26671 |
+ for file in $$dist_files; do \ |
26672 |
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
26673 |
+ if test -d $$d/$$file; then \ |
26674 |
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
26675 |
+ if test -d "$(distdir)/$$file"; then \ |
26676 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
26677 |
+ fi; \ |
26678 |
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
26679 |
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
26680 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
26681 |
+ fi; \ |
26682 |
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
26683 |
+ else \ |
26684 |
+ test -f "$(distdir)/$$file" \ |
26685 |
+ || cp -p $$d/$$file "$(distdir)/$$file" \ |
26686 |
+ || exit 1; \ |
26687 |
+ fi; \ |
26688 |
+ done |
26689 |
+check-am: all-am |
26690 |
+check: check-am |
26691 |
+all-am: Makefile $(SCRIPTS) |
26692 |
+installdirs: |
26693 |
+ for dir in "$(DESTDIR)$(sbindir)"; do \ |
26694 |
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
26695 |
+ done |
26696 |
+install: install-am |
26697 |
+install-exec: install-exec-am |
26698 |
+install-data: install-data-am |
26699 |
+uninstall: uninstall-am |
26700 |
+ |
26701 |
+install-am: all-am |
26702 |
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
26703 |
+ |
26704 |
+installcheck: installcheck-am |
26705 |
+install-strip: |
26706 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
26707 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
26708 |
+ `test -z '$(STRIP)' || \ |
26709 |
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
26710 |
+mostlyclean-generic: |
26711 |
+ |
26712 |
+clean-generic: |
26713 |
+ |
26714 |
+distclean-generic: |
26715 |
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
26716 |
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
26717 |
+ |
26718 |
+maintainer-clean-generic: |
26719 |
+ @echo "This command is intended for maintainers to use" |
26720 |
+ @echo "it deletes files that may require special tools to rebuild." |
26721 |
+clean: clean-am |
26722 |
+ |
26723 |
+clean-am: clean-generic mostlyclean-am |
26724 |
+ |
26725 |
+distclean: distclean-am |
26726 |
+ -rm -f Makefile |
26727 |
+distclean-am: clean-am distclean-generic |
26728 |
+ |
26729 |
+dvi: dvi-am |
26730 |
+ |
26731 |
+dvi-am: |
26732 |
+ |
26733 |
+html: html-am |
26734 |
+ |
26735 |
+html-am: |
26736 |
+ |
26737 |
+info: info-am |
26738 |
+ |
26739 |
+info-am: |
26740 |
+ |
26741 |
+install-data-am: |
26742 |
+ |
26743 |
+install-dvi: install-dvi-am |
26744 |
+ |
26745 |
+install-dvi-am: |
26746 |
+ |
26747 |
+install-exec-am: install-dist_sbinSCRIPTS |
26748 |
+ |
26749 |
+install-html: install-html-am |
26750 |
+ |
26751 |
+install-html-am: |
26752 |
+ |
26753 |
+install-info: install-info-am |
26754 |
+ |
26755 |
+install-info-am: |
26756 |
+ |
26757 |
+install-man: |
26758 |
+ |
26759 |
+install-pdf: install-pdf-am |
26760 |
+ |
26761 |
+install-pdf-am: |
26762 |
+ |
26763 |
+install-ps: install-ps-am |
26764 |
+ |
26765 |
+install-ps-am: |
26766 |
+ |
26767 |
+installcheck-am: |
26768 |
+ |
26769 |
+maintainer-clean: maintainer-clean-am |
26770 |
+ -rm -f Makefile |
26771 |
+maintainer-clean-am: distclean-am maintainer-clean-generic |
26772 |
+ |
26773 |
+mostlyclean: mostlyclean-am |
26774 |
+ |
26775 |
+mostlyclean-am: mostlyclean-generic |
26776 |
+ |
26777 |
+pdf: pdf-am |
26778 |
+ |
26779 |
+pdf-am: |
26780 |
+ |
26781 |
+ps: ps-am |
26782 |
+ |
26783 |
+ps-am: |
26784 |
+ |
26785 |
+uninstall-am: uninstall-dist_sbinSCRIPTS |
26786 |
+ |
26787 |
+.MAKE: install-am install-strip |
26788 |
+ |
26789 |
+.PHONY: all all-am check check-am clean clean-generic distclean \ |
26790 |
+ distclean-generic distdir dvi dvi-am html html-am info info-am \ |
26791 |
+ install install-am install-data install-data-am \ |
26792 |
+ install-dist_sbinSCRIPTS install-dvi install-dvi-am \ |
26793 |
+ install-exec install-exec-am install-html install-html-am \ |
26794 |
+ install-info install-info-am install-man install-pdf \ |
26795 |
+ install-pdf-am install-ps install-ps-am install-strip \ |
26796 |
+ installcheck installcheck-am installdirs maintainer-clean \ |
26797 |
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ |
26798 |
+ pdf-am ps ps-am uninstall uninstall-am \ |
26799 |
+ uninstall-dist_sbinSCRIPTS |
26800 |
+ |
26801 |
+ |
26802 |
+# Tell versions [3.59,3.63) of GNU make to not export all variables. |
26803 |
+# Otherwise a system limit (for SysV at least) may be exceeded. |
26804 |
+.NOEXPORT: |
26805 |
|
26806 |
diff --git a/src/Makefile.in b/src/Makefile.in |
26807 |
new file mode 100644 |
26808 |
index 0000000..7ff5546 |
26809 |
--- /dev/null |
26810 |
+++ b/src/Makefile.in |
26811 |
@@ -0,0 +1,458 @@ |
26812 |
+# Makefile.in generated by automake 1.11.1 from Makefile.am. |
26813 |
+# @configure_input@ |
26814 |
+ |
26815 |
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
26816 |
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
26817 |
+# Inc. |
26818 |
+# This Makefile.in is free software; the Free Software Foundation |
26819 |
+# gives unlimited permission to copy and/or distribute it, |
26820 |
+# with or without modifications, as long as this notice is preserved. |
26821 |
+ |
26822 |
+# This program is distributed in the hope that it will be useful, |
26823 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
26824 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
26825 |
+# PARTICULAR PURPOSE. |
26826 |
+ |
26827 |
+@SET_MAKE@ |
26828 |
+ |
26829 |
+VPATH = @srcdir@ |
26830 |
+pkgdatadir = $(datadir)/@PACKAGE@ |
26831 |
+pkgincludedir = $(includedir)/@PACKAGE@ |
26832 |
+pkglibdir = $(libdir)/@PACKAGE@ |
26833 |
+pkglibexecdir = $(libexecdir)/@PACKAGE@ |
26834 |
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
26835 |
+install_sh_DATA = $(install_sh) -c -m 644 |
26836 |
+install_sh_PROGRAM = $(install_sh) -c |
26837 |
+install_sh_SCRIPT = $(install_sh) -c |
26838 |
+INSTALL_HEADER = $(INSTALL_DATA) |
26839 |
+transform = $(program_transform_name) |
26840 |
+NORMAL_INSTALL = : |
26841 |
+PRE_INSTALL = : |
26842 |
+POST_INSTALL = : |
26843 |
+NORMAL_UNINSTALL = : |
26844 |
+PRE_UNINSTALL = : |
26845 |
+POST_UNINSTALL = : |
26846 |
+sbin_PROGRAMS = fix-gnustack$(EXEEXT) paxctl-ng$(EXEEXT) |
26847 |
+subdir = src |
26848 |
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in |
26849 |
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
26850 |
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
26851 |
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
26852 |
+ $(ACLOCAL_M4) |
26853 |
+mkinstalldirs = $(install_sh) -d |
26854 |
+CONFIG_HEADER = $(top_builddir)/config.h |
26855 |
+CONFIG_CLEAN_FILES = |
26856 |
+CONFIG_CLEAN_VPATH_FILES = |
26857 |
+am__installdirs = "$(DESTDIR)$(sbindir)" |
26858 |
+PROGRAMS = $(sbin_PROGRAMS) |
26859 |
+am_fix_gnustack_OBJECTS = fix-gnustack.$(OBJEXT) |
26860 |
+fix_gnustack_OBJECTS = $(am_fix_gnustack_OBJECTS) |
26861 |
+fix_gnustack_LDADD = $(LDADD) |
26862 |
+am_paxctl_ng_OBJECTS = paxctl-ng.$(OBJEXT) |
26863 |
+paxctl_ng_OBJECTS = $(am_paxctl_ng_OBJECTS) |
26864 |
+paxctl_ng_LDADD = $(LDADD) |
26865 |
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
26866 |
+depcomp = $(SHELL) $(top_srcdir)/depcomp |
26867 |
+am__depfiles_maybe = depfiles |
26868 |
+am__mv = mv -f |
26869 |
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
26870 |
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
26871 |
+CCLD = $(CC) |
26872 |
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
26873 |
+SOURCES = $(fix_gnustack_SOURCES) $(paxctl_ng_SOURCES) |
26874 |
+DIST_SOURCES = $(fix_gnustack_SOURCES) $(paxctl_ng_SOURCES) |
26875 |
+ETAGS = etags |
26876 |
+CTAGS = ctags |
26877 |
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
26878 |
+ACLOCAL = @ACLOCAL@ |
26879 |
+AMTAR = @AMTAR@ |
26880 |
+AUTOCONF = @AUTOCONF@ |
26881 |
+AUTOHEADER = @AUTOHEADER@ |
26882 |
+AUTOMAKE = @AUTOMAKE@ |
26883 |
+AWK = @AWK@ |
26884 |
+CC = @CC@ |
26885 |
+CCDEPMODE = @CCDEPMODE@ |
26886 |
+CFLAGS = @CFLAGS@ |
26887 |
+CPP = @CPP@ |
26888 |
+CPPFLAGS = @CPPFLAGS@ |
26889 |
+CYGPATH_W = @CYGPATH_W@ |
26890 |
+DEFS = @DEFS@ |
26891 |
+DEPDIR = @DEPDIR@ |
26892 |
+ECHO_C = @ECHO_C@ |
26893 |
+ECHO_N = @ECHO_N@ |
26894 |
+ECHO_T = @ECHO_T@ |
26895 |
+EGREP = @EGREP@ |
26896 |
+EXEEXT = @EXEEXT@ |
26897 |
+GREP = @GREP@ |
26898 |
+INSTALL = @INSTALL@ |
26899 |
+INSTALL_DATA = @INSTALL_DATA@ |
26900 |
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
26901 |
+INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
26902 |
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
26903 |
+LDFLAGS = @LDFLAGS@ |
26904 |
+LIBOBJS = @LIBOBJS@ |
26905 |
+LIBS = @LIBS@ |
26906 |
+LTLIBOBJS = @LTLIBOBJS@ |
26907 |
+MAKEINFO = @MAKEINFO@ |
26908 |
+MKDIR_P = @MKDIR_P@ |
26909 |
+OBJEXT = @OBJEXT@ |
26910 |
+PACKAGE = @PACKAGE@ |
26911 |
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
26912 |
+PACKAGE_NAME = @PACKAGE_NAME@ |
26913 |
+PACKAGE_STRING = @PACKAGE_STRING@ |
26914 |
+PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
26915 |
+PACKAGE_URL = @PACKAGE_URL@ |
26916 |
+PACKAGE_VERSION = @PACKAGE_VERSION@ |
26917 |
+PATH_SEPARATOR = @PATH_SEPARATOR@ |
26918 |
+SET_MAKE = @SET_MAKE@ |
26919 |
+SHELL = @SHELL@ |
26920 |
+STRIP = @STRIP@ |
26921 |
+VERSION = @VERSION@ |
26922 |
+abs_builddir = @abs_builddir@ |
26923 |
+abs_srcdir = @abs_srcdir@ |
26924 |
+abs_top_builddir = @abs_top_builddir@ |
26925 |
+abs_top_srcdir = @abs_top_srcdir@ |
26926 |
+ac_ct_CC = @ac_ct_CC@ |
26927 |
+am__include = @am__include@ |
26928 |
+am__leading_dot = @am__leading_dot@ |
26929 |
+am__quote = @am__quote@ |
26930 |
+am__tar = @am__tar@ |
26931 |
+am__untar = @am__untar@ |
26932 |
+bindir = @bindir@ |
26933 |
+build_alias = @build_alias@ |
26934 |
+builddir = @builddir@ |
26935 |
+datadir = @datadir@ |
26936 |
+datarootdir = @datarootdir@ |
26937 |
+docdir = @docdir@ |
26938 |
+dvidir = @dvidir@ |
26939 |
+exec_prefix = @exec_prefix@ |
26940 |
+has_yasm = @has_yasm@ |
26941 |
+host_alias = @host_alias@ |
26942 |
+htmldir = @htmldir@ |
26943 |
+includedir = @includedir@ |
26944 |
+infodir = @infodir@ |
26945 |
+install_sh = @install_sh@ |
26946 |
+libdir = @libdir@ |
26947 |
+libexecdir = @libexecdir@ |
26948 |
+localedir = @localedir@ |
26949 |
+localstatedir = @localstatedir@ |
26950 |
+mandir = @mandir@ |
26951 |
+mkdir_p = @mkdir_p@ |
26952 |
+oldincludedir = @oldincludedir@ |
26953 |
+pdfdir = @pdfdir@ |
26954 |
+prefix = @prefix@ |
26955 |
+program_transform_name = @program_transform_name@ |
26956 |
+psdir = @psdir@ |
26957 |
+sbindir = @sbindir@ |
26958 |
+sharedstatedir = @sharedstatedir@ |
26959 |
+srcdir = @srcdir@ |
26960 |
+sysconfdir = @sysconfdir@ |
26961 |
+target_alias = @target_alias@ |
26962 |
+top_build_prefix = @top_build_prefix@ |
26963 |
+top_builddir = @top_builddir@ |
26964 |
+top_srcdir = @top_srcdir@ |
26965 |
+fix_gnustack_SOURCES = fix-gnustack.c |
26966 |
+paxctl_ng_SOURCES = paxctl-ng.c |
26967 |
+all: all-am |
26968 |
+ |
26969 |
+.SUFFIXES: |
26970 |
+.SUFFIXES: .c .o .obj |
26971 |
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
26972 |
+ @for dep in $?; do \ |
26973 |
+ case '$(am__configure_deps)' in \ |
26974 |
+ *$$dep*) \ |
26975 |
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
26976 |
+ && { if test -f $@; then exit 0; else break; fi; }; \ |
26977 |
+ exit 1;; \ |
26978 |
+ esac; \ |
26979 |
+ done; \ |
26980 |
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ |
26981 |
+ $(am__cd) $(top_srcdir) && \ |
26982 |
+ $(AUTOMAKE) --foreign src/Makefile |
26983 |
+.PRECIOUS: Makefile |
26984 |
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
26985 |
+ @case '$?' in \ |
26986 |
+ *config.status*) \ |
26987 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
26988 |
+ *) \ |
26989 |
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
26990 |
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
26991 |
+ esac; |
26992 |
+ |
26993 |
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
26994 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
26995 |
+ |
26996 |
+$(top_srcdir)/configure: $(am__configure_deps) |
26997 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
26998 |
+$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
26999 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
27000 |
+$(am__aclocal_m4_deps): |
27001 |
+install-sbinPROGRAMS: $(sbin_PROGRAMS) |
27002 |
+ @$(NORMAL_INSTALL) |
27003 |
+ test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" |
27004 |
+ @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ |
27005 |
+ for p in $$list; do echo "$$p $$p"; done | \ |
27006 |
+ sed 's/$(EXEEXT)$$//' | \ |
27007 |
+ while read p p1; do if test -f $$p; \ |
27008 |
+ then echo "$$p"; echo "$$p"; else :; fi; \ |
27009 |
+ done | \ |
27010 |
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ |
27011 |
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ |
27012 |
+ sed 'N;N;N;s,\n, ,g' | \ |
27013 |
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ |
27014 |
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ |
27015 |
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \ |
27016 |
+ else { print "f", $$3 "/" $$4, $$1; } } \ |
27017 |
+ END { for (d in files) print "f", d, files[d] }' | \ |
27018 |
+ while read type dir files; do \ |
27019 |
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ |
27020 |
+ test -z "$$files" || { \ |
27021 |
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ |
27022 |
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ |
27023 |
+ } \ |
27024 |
+ ; done |
27025 |
+ |
27026 |
+uninstall-sbinPROGRAMS: |
27027 |
+ @$(NORMAL_UNINSTALL) |
27028 |
+ @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ |
27029 |
+ files=`for p in $$list; do echo "$$p"; done | \ |
27030 |
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ |
27031 |
+ -e 's/$$/$(EXEEXT)/' `; \ |
27032 |
+ test -n "$$list" || exit 0; \ |
27033 |
+ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ |
27034 |
+ cd "$(DESTDIR)$(sbindir)" && rm -f $$files |
27035 |
+ |
27036 |
+clean-sbinPROGRAMS: |
27037 |
+ -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS) |
27038 |
+fix-gnustack$(EXEEXT): $(fix_gnustack_OBJECTS) $(fix_gnustack_DEPENDENCIES) |
27039 |
+ @rm -f fix-gnustack$(EXEEXT) |
27040 |
+ $(LINK) $(fix_gnustack_OBJECTS) $(fix_gnustack_LDADD) $(LIBS) |
27041 |
+paxctl-ng$(EXEEXT): $(paxctl_ng_OBJECTS) $(paxctl_ng_DEPENDENCIES) |
27042 |
+ @rm -f paxctl-ng$(EXEEXT) |
27043 |
+ $(LINK) $(paxctl_ng_OBJECTS) $(paxctl_ng_LDADD) $(LIBS) |
27044 |
+ |
27045 |
+mostlyclean-compile: |
27046 |
+ -rm -f *.$(OBJEXT) |
27047 |
+ |
27048 |
+distclean-compile: |
27049 |
+ -rm -f *.tab.c |
27050 |
+ |
27051 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fix-gnustack.Po@am__quote@ |
27052 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/paxctl-ng.Po@am__quote@ |
27053 |
+ |
27054 |
+.c.o: |
27055 |
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
27056 |
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
27057 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
27058 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
27059 |
+@am__fastdepCC_FALSE@ $(COMPILE) -c $< |
27060 |
+ |
27061 |
+.c.obj: |
27062 |
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
27063 |
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
27064 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
27065 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
27066 |
+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` |
27067 |
+ |
27068 |
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
27069 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
27070 |
+ unique=`for i in $$list; do \ |
27071 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
27072 |
+ done | \ |
27073 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
27074 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
27075 |
+ mkid -fID $$unique |
27076 |
+tags: TAGS |
27077 |
+ |
27078 |
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
27079 |
+ $(TAGS_FILES) $(LISP) |
27080 |
+ set x; \ |
27081 |
+ here=`pwd`; \ |
27082 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
27083 |
+ unique=`for i in $$list; do \ |
27084 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
27085 |
+ done | \ |
27086 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
27087 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
27088 |
+ shift; \ |
27089 |
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
27090 |
+ test -n "$$unique" || unique=$$empty_fix; \ |
27091 |
+ if test $$# -gt 0; then \ |
27092 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
27093 |
+ "$$@" $$unique; \ |
27094 |
+ else \ |
27095 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
27096 |
+ $$unique; \ |
27097 |
+ fi; \ |
27098 |
+ fi |
27099 |
+ctags: CTAGS |
27100 |
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
27101 |
+ $(TAGS_FILES) $(LISP) |
27102 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
27103 |
+ unique=`for i in $$list; do \ |
27104 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
27105 |
+ done | \ |
27106 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
27107 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
27108 |
+ test -z "$(CTAGS_ARGS)$$unique" \ |
27109 |
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
27110 |
+ $$unique |
27111 |
+ |
27112 |
+GTAGS: |
27113 |
+ here=`$(am__cd) $(top_builddir) && pwd` \ |
27114 |
+ && $(am__cd) $(top_srcdir) \ |
27115 |
+ && gtags -i $(GTAGS_ARGS) "$$here" |
27116 |
+ |
27117 |
+distclean-tags: |
27118 |
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
27119 |
+ |
27120 |
+distdir: $(DISTFILES) |
27121 |
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
27122 |
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
27123 |
+ list='$(DISTFILES)'; \ |
27124 |
+ dist_files=`for file in $$list; do echo $$file; done | \ |
27125 |
+ sed -e "s|^$$srcdirstrip/||;t" \ |
27126 |
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
27127 |
+ case $$dist_files in \ |
27128 |
+ */*) $(MKDIR_P) `echo "$$dist_files" | \ |
27129 |
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
27130 |
+ sort -u` ;; \ |
27131 |
+ esac; \ |
27132 |
+ for file in $$dist_files; do \ |
27133 |
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
27134 |
+ if test -d $$d/$$file; then \ |
27135 |
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
27136 |
+ if test -d "$(distdir)/$$file"; then \ |
27137 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
27138 |
+ fi; \ |
27139 |
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
27140 |
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
27141 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
27142 |
+ fi; \ |
27143 |
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
27144 |
+ else \ |
27145 |
+ test -f "$(distdir)/$$file" \ |
27146 |
+ || cp -p $$d/$$file "$(distdir)/$$file" \ |
27147 |
+ || exit 1; \ |
27148 |
+ fi; \ |
27149 |
+ done |
27150 |
+check-am: all-am |
27151 |
+check: check-am |
27152 |
+all-am: Makefile $(PROGRAMS) |
27153 |
+installdirs: |
27154 |
+ for dir in "$(DESTDIR)$(sbindir)"; do \ |
27155 |
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
27156 |
+ done |
27157 |
+install: install-am |
27158 |
+install-exec: install-exec-am |
27159 |
+install-data: install-data-am |
27160 |
+uninstall: uninstall-am |
27161 |
+ |
27162 |
+install-am: all-am |
27163 |
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
27164 |
+ |
27165 |
+installcheck: installcheck-am |
27166 |
+install-strip: |
27167 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
27168 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
27169 |
+ `test -z '$(STRIP)' || \ |
27170 |
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
27171 |
+mostlyclean-generic: |
27172 |
+ |
27173 |
+clean-generic: |
27174 |
+ |
27175 |
+distclean-generic: |
27176 |
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
27177 |
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
27178 |
+ |
27179 |
+maintainer-clean-generic: |
27180 |
+ @echo "This command is intended for maintainers to use" |
27181 |
+ @echo "it deletes files that may require special tools to rebuild." |
27182 |
+clean: clean-am |
27183 |
+ |
27184 |
+clean-am: clean-generic clean-sbinPROGRAMS mostlyclean-am |
27185 |
+ |
27186 |
+distclean: distclean-am |
27187 |
+ -rm -rf ./$(DEPDIR) |
27188 |
+ -rm -f Makefile |
27189 |
+distclean-am: clean-am distclean-compile distclean-generic \ |
27190 |
+ distclean-tags |
27191 |
+ |
27192 |
+dvi: dvi-am |
27193 |
+ |
27194 |
+dvi-am: |
27195 |
+ |
27196 |
+html: html-am |
27197 |
+ |
27198 |
+html-am: |
27199 |
+ |
27200 |
+info: info-am |
27201 |
+ |
27202 |
+info-am: |
27203 |
+ |
27204 |
+install-data-am: |
27205 |
+ |
27206 |
+install-dvi: install-dvi-am |
27207 |
+ |
27208 |
+install-dvi-am: |
27209 |
+ |
27210 |
+install-exec-am: install-sbinPROGRAMS |
27211 |
+ |
27212 |
+install-html: install-html-am |
27213 |
+ |
27214 |
+install-html-am: |
27215 |
+ |
27216 |
+install-info: install-info-am |
27217 |
+ |
27218 |
+install-info-am: |
27219 |
+ |
27220 |
+install-man: |
27221 |
+ |
27222 |
+install-pdf: install-pdf-am |
27223 |
+ |
27224 |
+install-pdf-am: |
27225 |
+ |
27226 |
+install-ps: install-ps-am |
27227 |
+ |
27228 |
+install-ps-am: |
27229 |
+ |
27230 |
+installcheck-am: |
27231 |
+ |
27232 |
+maintainer-clean: maintainer-clean-am |
27233 |
+ -rm -rf ./$(DEPDIR) |
27234 |
+ -rm -f Makefile |
27235 |
+maintainer-clean-am: distclean-am maintainer-clean-generic |
27236 |
+ |
27237 |
+mostlyclean: mostlyclean-am |
27238 |
+ |
27239 |
+mostlyclean-am: mostlyclean-compile mostlyclean-generic |
27240 |
+ |
27241 |
+pdf: pdf-am |
27242 |
+ |
27243 |
+pdf-am: |
27244 |
+ |
27245 |
+ps: ps-am |
27246 |
+ |
27247 |
+ps-am: |
27248 |
+ |
27249 |
+uninstall-am: uninstall-sbinPROGRAMS |
27250 |
+ |
27251 |
+.MAKE: install-am install-strip |
27252 |
+ |
27253 |
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ |
27254 |
+ clean-sbinPROGRAMS ctags distclean distclean-compile \ |
27255 |
+ distclean-generic distclean-tags distdir dvi dvi-am html \ |
27256 |
+ html-am info info-am install install-am install-data \ |
27257 |
+ install-data-am install-dvi install-dvi-am install-exec \ |
27258 |
+ install-exec-am install-html install-html-am install-info \ |
27259 |
+ install-info-am install-man install-pdf install-pdf-am \ |
27260 |
+ install-ps install-ps-am install-sbinPROGRAMS install-strip \ |
27261 |
+ installcheck installcheck-am installdirs maintainer-clean \ |
27262 |
+ maintainer-clean-generic mostlyclean mostlyclean-compile \ |
27263 |
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ |
27264 |
+ uninstall-am uninstall-sbinPROGRAMS |
27265 |
+ |
27266 |
+ |
27267 |
+# Tell versions [3.59,3.63) of GNU make to not export all variables. |
27268 |
+# Otherwise a system limit (for SysV at least) may be exceeded. |
27269 |
+.NOEXPORT: |
27270 |
|
27271 |
diff --git a/tests/Makefile.in b/tests/Makefile.in |
27272 |
new file mode 100644 |
27273 |
index 0000000..00fb601 |
27274 |
--- /dev/null |
27275 |
+++ b/tests/Makefile.in |
27276 |
@@ -0,0 +1,517 @@ |
27277 |
+# Makefile.in generated by automake 1.11.1 from Makefile.am. |
27278 |
+# @configure_input@ |
27279 |
+ |
27280 |
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
27281 |
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
27282 |
+# Inc. |
27283 |
+# This Makefile.in is free software; the Free Software Foundation |
27284 |
+# gives unlimited permission to copy and/or distribute it, |
27285 |
+# with or without modifications, as long as this notice is preserved. |
27286 |
+ |
27287 |
+# This program is distributed in the hope that it will be useful, |
27288 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
27289 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
27290 |
+# PARTICULAR PURPOSE. |
27291 |
+ |
27292 |
+@SET_MAKE@ |
27293 |
+VPATH = @srcdir@ |
27294 |
+pkgdatadir = $(datadir)/@PACKAGE@ |
27295 |
+pkgincludedir = $(includedir)/@PACKAGE@ |
27296 |
+pkglibdir = $(libdir)/@PACKAGE@ |
27297 |
+pkglibexecdir = $(libexecdir)/@PACKAGE@ |
27298 |
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
27299 |
+install_sh_DATA = $(install_sh) -c -m 644 |
27300 |
+install_sh_PROGRAM = $(install_sh) -c |
27301 |
+install_sh_SCRIPT = $(install_sh) -c |
27302 |
+INSTALL_HEADER = $(INSTALL_DATA) |
27303 |
+transform = $(program_transform_name) |
27304 |
+NORMAL_INSTALL = : |
27305 |
+PRE_INSTALL = : |
27306 |
+POST_INSTALL = : |
27307 |
+NORMAL_UNINSTALL = : |
27308 |
+PRE_UNINSTALL = : |
27309 |
+POST_UNINSTALL = : |
27310 |
+subdir = tests |
27311 |
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in |
27312 |
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
27313 |
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
27314 |
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
27315 |
+ $(ACLOCAL_M4) |
27316 |
+mkinstalldirs = $(install_sh) -d |
27317 |
+CONFIG_HEADER = $(top_builddir)/config.h |
27318 |
+CONFIG_CLEAN_FILES = |
27319 |
+CONFIG_CLEAN_VPATH_FILES = |
27320 |
+SOURCES = |
27321 |
+DIST_SOURCES = |
27322 |
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
27323 |
+ html-recursive info-recursive install-data-recursive \ |
27324 |
+ install-dvi-recursive install-exec-recursive \ |
27325 |
+ install-html-recursive install-info-recursive \ |
27326 |
+ install-pdf-recursive install-ps-recursive install-recursive \ |
27327 |
+ installcheck-recursive installdirs-recursive pdf-recursive \ |
27328 |
+ ps-recursive uninstall-recursive |
27329 |
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
27330 |
+ distclean-recursive maintainer-clean-recursive |
27331 |
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
27332 |
+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
27333 |
+ distdir |
27334 |
+ETAGS = etags |
27335 |
+CTAGS = ctags |
27336 |
+DIST_SUBDIRS = $(SUBDIRS) |
27337 |
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
27338 |
+am__relativize = \ |
27339 |
+ dir0=`pwd`; \ |
27340 |
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
27341 |
+ sed_rest='s,^[^/]*/*,,'; \ |
27342 |
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
27343 |
+ sed_butlast='s,/*[^/]*$$,,'; \ |
27344 |
+ while test -n "$$dir1"; do \ |
27345 |
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
27346 |
+ if test "$$first" != "."; then \ |
27347 |
+ if test "$$first" = ".."; then \ |
27348 |
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
27349 |
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
27350 |
+ else \ |
27351 |
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
27352 |
+ if test "$$first2" = "$$first"; then \ |
27353 |
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
27354 |
+ else \ |
27355 |
+ dir2="../$$dir2"; \ |
27356 |
+ fi; \ |
27357 |
+ dir0="$$dir0"/"$$first"; \ |
27358 |
+ fi; \ |
27359 |
+ fi; \ |
27360 |
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
27361 |
+ done; \ |
27362 |
+ reldir="$$dir2" |
27363 |
+ACLOCAL = @ACLOCAL@ |
27364 |
+AMTAR = @AMTAR@ |
27365 |
+AUTOCONF = @AUTOCONF@ |
27366 |
+AUTOHEADER = @AUTOHEADER@ |
27367 |
+AUTOMAKE = @AUTOMAKE@ |
27368 |
+AWK = @AWK@ |
27369 |
+CC = @CC@ |
27370 |
+CCDEPMODE = @CCDEPMODE@ |
27371 |
+CFLAGS = @CFLAGS@ |
27372 |
+CPP = @CPP@ |
27373 |
+CPPFLAGS = @CPPFLAGS@ |
27374 |
+CYGPATH_W = @CYGPATH_W@ |
27375 |
+DEFS = @DEFS@ |
27376 |
+DEPDIR = @DEPDIR@ |
27377 |
+ECHO_C = @ECHO_C@ |
27378 |
+ECHO_N = @ECHO_N@ |
27379 |
+ECHO_T = @ECHO_T@ |
27380 |
+EGREP = @EGREP@ |
27381 |
+EXEEXT = @EXEEXT@ |
27382 |
+GREP = @GREP@ |
27383 |
+INSTALL = @INSTALL@ |
27384 |
+INSTALL_DATA = @INSTALL_DATA@ |
27385 |
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
27386 |
+INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
27387 |
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
27388 |
+LDFLAGS = @LDFLAGS@ |
27389 |
+LIBOBJS = @LIBOBJS@ |
27390 |
+LIBS = @LIBS@ |
27391 |
+LTLIBOBJS = @LTLIBOBJS@ |
27392 |
+MAKEINFO = @MAKEINFO@ |
27393 |
+MKDIR_P = @MKDIR_P@ |
27394 |
+OBJEXT = @OBJEXT@ |
27395 |
+PACKAGE = @PACKAGE@ |
27396 |
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
27397 |
+PACKAGE_NAME = @PACKAGE_NAME@ |
27398 |
+PACKAGE_STRING = @PACKAGE_STRING@ |
27399 |
+PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
27400 |
+PACKAGE_URL = @PACKAGE_URL@ |
27401 |
+PACKAGE_VERSION = @PACKAGE_VERSION@ |
27402 |
+PATH_SEPARATOR = @PATH_SEPARATOR@ |
27403 |
+SET_MAKE = @SET_MAKE@ |
27404 |
+SHELL = @SHELL@ |
27405 |
+STRIP = @STRIP@ |
27406 |
+VERSION = @VERSION@ |
27407 |
+abs_builddir = @abs_builddir@ |
27408 |
+abs_srcdir = @abs_srcdir@ |
27409 |
+abs_top_builddir = @abs_top_builddir@ |
27410 |
+abs_top_srcdir = @abs_top_srcdir@ |
27411 |
+ac_ct_CC = @ac_ct_CC@ |
27412 |
+am__include = @am__include@ |
27413 |
+am__leading_dot = @am__leading_dot@ |
27414 |
+am__quote = @am__quote@ |
27415 |
+am__tar = @am__tar@ |
27416 |
+am__untar = @am__untar@ |
27417 |
+bindir = @bindir@ |
27418 |
+build_alias = @build_alias@ |
27419 |
+builddir = @builddir@ |
27420 |
+datadir = @datadir@ |
27421 |
+datarootdir = @datarootdir@ |
27422 |
+docdir = @docdir@ |
27423 |
+dvidir = @dvidir@ |
27424 |
+exec_prefix = @exec_prefix@ |
27425 |
+has_yasm = @has_yasm@ |
27426 |
+host_alias = @host_alias@ |
27427 |
+htmldir = @htmldir@ |
27428 |
+includedir = @includedir@ |
27429 |
+infodir = @infodir@ |
27430 |
+install_sh = @install_sh@ |
27431 |
+libdir = @libdir@ |
27432 |
+libexecdir = @libexecdir@ |
27433 |
+localedir = @localedir@ |
27434 |
+localstatedir = @localstatedir@ |
27435 |
+mandir = @mandir@ |
27436 |
+mkdir_p = @mkdir_p@ |
27437 |
+oldincludedir = @oldincludedir@ |
27438 |
+pdfdir = @pdfdir@ |
27439 |
+prefix = @prefix@ |
27440 |
+program_transform_name = @program_transform_name@ |
27441 |
+psdir = @psdir@ |
27442 |
+sbindir = @sbindir@ |
27443 |
+sharedstatedir = @sharedstatedir@ |
27444 |
+srcdir = @srcdir@ |
27445 |
+sysconfdir = @sysconfdir@ |
27446 |
+target_alias = @target_alias@ |
27447 |
+top_build_prefix = @top_build_prefix@ |
27448 |
+top_builddir = @top_builddir@ |
27449 |
+top_srcdir = @top_srcdir@ |
27450 |
+SUBDIRS = gnustack pxtpax |
27451 |
+all: all-recursive |
27452 |
+ |
27453 |
+.SUFFIXES: |
27454 |
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
27455 |
+ @for dep in $?; do \ |
27456 |
+ case '$(am__configure_deps)' in \ |
27457 |
+ *$$dep*) \ |
27458 |
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
27459 |
+ && { if test -f $@; then exit 0; else break; fi; }; \ |
27460 |
+ exit 1;; \ |
27461 |
+ esac; \ |
27462 |
+ done; \ |
27463 |
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \ |
27464 |
+ $(am__cd) $(top_srcdir) && \ |
27465 |
+ $(AUTOMAKE) --foreign tests/Makefile |
27466 |
+.PRECIOUS: Makefile |
27467 |
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
27468 |
+ @case '$?' in \ |
27469 |
+ *config.status*) \ |
27470 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
27471 |
+ *) \ |
27472 |
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
27473 |
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
27474 |
+ esac; |
27475 |
+ |
27476 |
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
27477 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
27478 |
+ |
27479 |
+$(top_srcdir)/configure: $(am__configure_deps) |
27480 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
27481 |
+$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
27482 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
27483 |
+$(am__aclocal_m4_deps): |
27484 |
+ |
27485 |
+# This directory's subdirectories are mostly independent; you can cd |
27486 |
+# into them and run `make' without going through this Makefile. |
27487 |
+# To change the values of `make' variables: instead of editing Makefiles, |
27488 |
+# (1) if the variable is set in `config.status', edit `config.status' |
27489 |
+# (which will cause the Makefiles to be regenerated when you run `make'); |
27490 |
+# (2) otherwise, pass the desired values on the `make' command line. |
27491 |
+$(RECURSIVE_TARGETS): |
27492 |
+ @fail= failcom='exit 1'; \ |
27493 |
+ for f in x $$MAKEFLAGS; do \ |
27494 |
+ case $$f in \ |
27495 |
+ *=* | --[!k]*);; \ |
27496 |
+ *k*) failcom='fail=yes';; \ |
27497 |
+ esac; \ |
27498 |
+ done; \ |
27499 |
+ dot_seen=no; \ |
27500 |
+ target=`echo $@ | sed s/-recursive//`; \ |
27501 |
+ list='$(SUBDIRS)'; for subdir in $$list; do \ |
27502 |
+ echo "Making $$target in $$subdir"; \ |
27503 |
+ if test "$$subdir" = "."; then \ |
27504 |
+ dot_seen=yes; \ |
27505 |
+ local_target="$$target-am"; \ |
27506 |
+ else \ |
27507 |
+ local_target="$$target"; \ |
27508 |
+ fi; \ |
27509 |
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
27510 |
+ || eval $$failcom; \ |
27511 |
+ done; \ |
27512 |
+ if test "$$dot_seen" = "no"; then \ |
27513 |
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
27514 |
+ fi; test -z "$$fail" |
27515 |
+ |
27516 |
+$(RECURSIVE_CLEAN_TARGETS): |
27517 |
+ @fail= failcom='exit 1'; \ |
27518 |
+ for f in x $$MAKEFLAGS; do \ |
27519 |
+ case $$f in \ |
27520 |
+ *=* | --[!k]*);; \ |
27521 |
+ *k*) failcom='fail=yes';; \ |
27522 |
+ esac; \ |
27523 |
+ done; \ |
27524 |
+ dot_seen=no; \ |
27525 |
+ case "$@" in \ |
27526 |
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
27527 |
+ *) list='$(SUBDIRS)' ;; \ |
27528 |
+ esac; \ |
27529 |
+ rev=''; for subdir in $$list; do \ |
27530 |
+ if test "$$subdir" = "."; then :; else \ |
27531 |
+ rev="$$subdir $$rev"; \ |
27532 |
+ fi; \ |
27533 |
+ done; \ |
27534 |
+ rev="$$rev ."; \ |
27535 |
+ target=`echo $@ | sed s/-recursive//`; \ |
27536 |
+ for subdir in $$rev; do \ |
27537 |
+ echo "Making $$target in $$subdir"; \ |
27538 |
+ if test "$$subdir" = "."; then \ |
27539 |
+ local_target="$$target-am"; \ |
27540 |
+ else \ |
27541 |
+ local_target="$$target"; \ |
27542 |
+ fi; \ |
27543 |
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
27544 |
+ || eval $$failcom; \ |
27545 |
+ done && test -z "$$fail" |
27546 |
+tags-recursive: |
27547 |
+ list='$(SUBDIRS)'; for subdir in $$list; do \ |
27548 |
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
27549 |
+ done |
27550 |
+ctags-recursive: |
27551 |
+ list='$(SUBDIRS)'; for subdir in $$list; do \ |
27552 |
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
27553 |
+ done |
27554 |
+ |
27555 |
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
27556 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
27557 |
+ unique=`for i in $$list; do \ |
27558 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
27559 |
+ done | \ |
27560 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
27561 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
27562 |
+ mkid -fID $$unique |
27563 |
+tags: TAGS |
27564 |
+ |
27565 |
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
27566 |
+ $(TAGS_FILES) $(LISP) |
27567 |
+ set x; \ |
27568 |
+ here=`pwd`; \ |
27569 |
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
27570 |
+ include_option=--etags-include; \ |
27571 |
+ empty_fix=.; \ |
27572 |
+ else \ |
27573 |
+ include_option=--include; \ |
27574 |
+ empty_fix=; \ |
27575 |
+ fi; \ |
27576 |
+ list='$(SUBDIRS)'; for subdir in $$list; do \ |
27577 |
+ if test "$$subdir" = .; then :; else \ |
27578 |
+ test ! -f $$subdir/TAGS || \ |
27579 |
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
27580 |
+ fi; \ |
27581 |
+ done; \ |
27582 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
27583 |
+ unique=`for i in $$list; do \ |
27584 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
27585 |
+ done | \ |
27586 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
27587 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
27588 |
+ shift; \ |
27589 |
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
27590 |
+ test -n "$$unique" || unique=$$empty_fix; \ |
27591 |
+ if test $$# -gt 0; then \ |
27592 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
27593 |
+ "$$@" $$unique; \ |
27594 |
+ else \ |
27595 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
27596 |
+ $$unique; \ |
27597 |
+ fi; \ |
27598 |
+ fi |
27599 |
+ctags: CTAGS |
27600 |
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
27601 |
+ $(TAGS_FILES) $(LISP) |
27602 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
27603 |
+ unique=`for i in $$list; do \ |
27604 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
27605 |
+ done | \ |
27606 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
27607 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
27608 |
+ test -z "$(CTAGS_ARGS)$$unique" \ |
27609 |
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
27610 |
+ $$unique |
27611 |
+ |
27612 |
+GTAGS: |
27613 |
+ here=`$(am__cd) $(top_builddir) && pwd` \ |
27614 |
+ && $(am__cd) $(top_srcdir) \ |
27615 |
+ && gtags -i $(GTAGS_ARGS) "$$here" |
27616 |
+ |
27617 |
+distclean-tags: |
27618 |
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
27619 |
+ |
27620 |
+distdir: $(DISTFILES) |
27621 |
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
27622 |
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
27623 |
+ list='$(DISTFILES)'; \ |
27624 |
+ dist_files=`for file in $$list; do echo $$file; done | \ |
27625 |
+ sed -e "s|^$$srcdirstrip/||;t" \ |
27626 |
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
27627 |
+ case $$dist_files in \ |
27628 |
+ */*) $(MKDIR_P) `echo "$$dist_files" | \ |
27629 |
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
27630 |
+ sort -u` ;; \ |
27631 |
+ esac; \ |
27632 |
+ for file in $$dist_files; do \ |
27633 |
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
27634 |
+ if test -d $$d/$$file; then \ |
27635 |
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
27636 |
+ if test -d "$(distdir)/$$file"; then \ |
27637 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
27638 |
+ fi; \ |
27639 |
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
27640 |
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
27641 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
27642 |
+ fi; \ |
27643 |
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
27644 |
+ else \ |
27645 |
+ test -f "$(distdir)/$$file" \ |
27646 |
+ || cp -p $$d/$$file "$(distdir)/$$file" \ |
27647 |
+ || exit 1; \ |
27648 |
+ fi; \ |
27649 |
+ done |
27650 |
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
27651 |
+ if test "$$subdir" = .; then :; else \ |
27652 |
+ test -d "$(distdir)/$$subdir" \ |
27653 |
+ || $(MKDIR_P) "$(distdir)/$$subdir" \ |
27654 |
+ || exit 1; \ |
27655 |
+ fi; \ |
27656 |
+ done |
27657 |
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
27658 |
+ if test "$$subdir" = .; then :; else \ |
27659 |
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
27660 |
+ $(am__relativize); \ |
27661 |
+ new_distdir=$$reldir; \ |
27662 |
+ dir1=$$subdir; dir2="$(top_distdir)"; \ |
27663 |
+ $(am__relativize); \ |
27664 |
+ new_top_distdir=$$reldir; \ |
27665 |
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
27666 |
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
27667 |
+ ($(am__cd) $$subdir && \ |
27668 |
+ $(MAKE) $(AM_MAKEFLAGS) \ |
27669 |
+ top_distdir="$$new_top_distdir" \ |
27670 |
+ distdir="$$new_distdir" \ |
27671 |
+ am__remove_distdir=: \ |
27672 |
+ am__skip_length_check=: \ |
27673 |
+ am__skip_mode_fix=: \ |
27674 |
+ distdir) \ |
27675 |
+ || exit 1; \ |
27676 |
+ fi; \ |
27677 |
+ done |
27678 |
+check-am: all-am |
27679 |
+check: check-recursive |
27680 |
+all-am: Makefile |
27681 |
+installdirs: installdirs-recursive |
27682 |
+installdirs-am: |
27683 |
+install: install-recursive |
27684 |
+install-exec: install-exec-recursive |
27685 |
+install-data: install-data-recursive |
27686 |
+uninstall: uninstall-recursive |
27687 |
+ |
27688 |
+install-am: all-am |
27689 |
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
27690 |
+ |
27691 |
+installcheck: installcheck-recursive |
27692 |
+install-strip: |
27693 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
27694 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
27695 |
+ `test -z '$(STRIP)' || \ |
27696 |
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
27697 |
+mostlyclean-generic: |
27698 |
+ |
27699 |
+clean-generic: |
27700 |
+ |
27701 |
+distclean-generic: |
27702 |
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
27703 |
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
27704 |
+ |
27705 |
+maintainer-clean-generic: |
27706 |
+ @echo "This command is intended for maintainers to use" |
27707 |
+ @echo "it deletes files that may require special tools to rebuild." |
27708 |
+clean: clean-recursive |
27709 |
+ |
27710 |
+clean-am: clean-generic mostlyclean-am |
27711 |
+ |
27712 |
+distclean: distclean-recursive |
27713 |
+ -rm -f Makefile |
27714 |
+distclean-am: clean-am distclean-generic distclean-tags |
27715 |
+ |
27716 |
+dvi: dvi-recursive |
27717 |
+ |
27718 |
+dvi-am: |
27719 |
+ |
27720 |
+html: html-recursive |
27721 |
+ |
27722 |
+html-am: |
27723 |
+ |
27724 |
+info: info-recursive |
27725 |
+ |
27726 |
+info-am: |
27727 |
+ |
27728 |
+install-data-am: |
27729 |
+ |
27730 |
+install-dvi: install-dvi-recursive |
27731 |
+ |
27732 |
+install-dvi-am: |
27733 |
+ |
27734 |
+install-exec-am: |
27735 |
+ |
27736 |
+install-html: install-html-recursive |
27737 |
+ |
27738 |
+install-html-am: |
27739 |
+ |
27740 |
+install-info: install-info-recursive |
27741 |
+ |
27742 |
+install-info-am: |
27743 |
+ |
27744 |
+install-man: |
27745 |
+ |
27746 |
+install-pdf: install-pdf-recursive |
27747 |
+ |
27748 |
+install-pdf-am: |
27749 |
+ |
27750 |
+install-ps: install-ps-recursive |
27751 |
+ |
27752 |
+install-ps-am: |
27753 |
+ |
27754 |
+installcheck-am: |
27755 |
+ |
27756 |
+maintainer-clean: maintainer-clean-recursive |
27757 |
+ -rm -f Makefile |
27758 |
+maintainer-clean-am: distclean-am maintainer-clean-generic |
27759 |
+ |
27760 |
+mostlyclean: mostlyclean-recursive |
27761 |
+ |
27762 |
+mostlyclean-am: mostlyclean-generic |
27763 |
+ |
27764 |
+pdf: pdf-recursive |
27765 |
+ |
27766 |
+pdf-am: |
27767 |
+ |
27768 |
+ps: ps-recursive |
27769 |
+ |
27770 |
+ps-am: |
27771 |
+ |
27772 |
+uninstall-am: |
27773 |
+ |
27774 |
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ |
27775 |
+ install-am install-strip tags-recursive |
27776 |
+ |
27777 |
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
27778 |
+ all all-am check check-am clean clean-generic ctags \ |
27779 |
+ ctags-recursive distclean distclean-generic distclean-tags \ |
27780 |
+ distdir dvi dvi-am html html-am info info-am install \ |
27781 |
+ install-am install-data install-data-am install-dvi \ |
27782 |
+ install-dvi-am install-exec install-exec-am install-html \ |
27783 |
+ install-html-am install-info install-info-am install-man \ |
27784 |
+ install-pdf install-pdf-am install-ps install-ps-am \ |
27785 |
+ install-strip installcheck installcheck-am installdirs \ |
27786 |
+ installdirs-am maintainer-clean maintainer-clean-generic \ |
27787 |
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ |
27788 |
+ tags-recursive uninstall uninstall-am |
27789 |
+ |
27790 |
+ |
27791 |
+# Tell versions [3.59,3.63) of GNU make to not export all variables. |
27792 |
+# Otherwise a system limit (for SysV at least) may be exceeded. |
27793 |
+.NOEXPORT: |
27794 |
|
27795 |
diff --git a/tests/gnustack/Makefile.in b/tests/gnustack/Makefile.in |
27796 |
new file mode 100644 |
27797 |
index 0000000..954ccb1 |
27798 |
--- /dev/null |
27799 |
+++ b/tests/gnustack/Makefile.in |
27800 |
@@ -0,0 +1,435 @@ |
27801 |
+# Makefile.in generated by automake 1.11.1 from Makefile.am. |
27802 |
+# @configure_input@ |
27803 |
+ |
27804 |
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
27805 |
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
27806 |
+# Inc. |
27807 |
+# This Makefile.in is free software; the Free Software Foundation |
27808 |
+# gives unlimited permission to copy and/or distribute it, |
27809 |
+# with or without modifications, as long as this notice is preserved. |
27810 |
+ |
27811 |
+# This program is distributed in the hope that it will be useful, |
27812 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
27813 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
27814 |
+# PARTICULAR PURPOSE. |
27815 |
+ |
27816 |
+@SET_MAKE@ |
27817 |
+ |
27818 |
+VPATH = @srcdir@ |
27819 |
+pkgdatadir = $(datadir)/@PACKAGE@ |
27820 |
+pkgincludedir = $(includedir)/@PACKAGE@ |
27821 |
+pkglibdir = $(libdir)/@PACKAGE@ |
27822 |
+pkglibexecdir = $(libexecdir)/@PACKAGE@ |
27823 |
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
27824 |
+install_sh_DATA = $(install_sh) -c -m 644 |
27825 |
+install_sh_PROGRAM = $(install_sh) -c |
27826 |
+install_sh_SCRIPT = $(install_sh) -c |
27827 |
+INSTALL_HEADER = $(INSTALL_DATA) |
27828 |
+transform = $(program_transform_name) |
27829 |
+NORMAL_INSTALL = : |
27830 |
+PRE_INSTALL = : |
27831 |
+POST_INSTALL = : |
27832 |
+NORMAL_UNINSTALL = : |
27833 |
+PRE_UNINSTALL = : |
27834 |
+POST_UNINSTALL = : |
27835 |
+noinst_PROGRAMS = bad-gnustack$(EXEEXT) |
27836 |
+subdir = tests/gnustack |
27837 |
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in |
27838 |
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
27839 |
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
27840 |
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
27841 |
+ $(ACLOCAL_M4) |
27842 |
+mkinstalldirs = $(install_sh) -d |
27843 |
+CONFIG_HEADER = $(top_builddir)/config.h |
27844 |
+CONFIG_CLEAN_FILES = |
27845 |
+CONFIG_CLEAN_VPATH_FILES = |
27846 |
+PROGRAMS = $(noinst_PROGRAMS) |
27847 |
+am_bad_gnustack_OBJECTS = bad-gnustack.$(OBJEXT) |
27848 |
+bad_gnustack_OBJECTS = $(am_bad_gnustack_OBJECTS) |
27849 |
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
27850 |
+depcomp = $(SHELL) $(top_srcdir)/depcomp |
27851 |
+am__depfiles_maybe = depfiles |
27852 |
+am__mv = mv -f |
27853 |
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
27854 |
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
27855 |
+CCLD = $(CC) |
27856 |
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
27857 |
+SOURCES = $(bad_gnustack_SOURCES) |
27858 |
+DIST_SOURCES = $(bad_gnustack_SOURCES) |
27859 |
+ETAGS = etags |
27860 |
+CTAGS = ctags |
27861 |
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
27862 |
+ACLOCAL = @ACLOCAL@ |
27863 |
+AMTAR = @AMTAR@ |
27864 |
+AUTOCONF = @AUTOCONF@ |
27865 |
+AUTOHEADER = @AUTOHEADER@ |
27866 |
+AUTOMAKE = @AUTOMAKE@ |
27867 |
+AWK = @AWK@ |
27868 |
+CC = @CC@ |
27869 |
+CCDEPMODE = @CCDEPMODE@ |
27870 |
+CFLAGS = @CFLAGS@ |
27871 |
+CPP = @CPP@ |
27872 |
+CPPFLAGS = @CPPFLAGS@ |
27873 |
+CYGPATH_W = @CYGPATH_W@ |
27874 |
+DEFS = @DEFS@ |
27875 |
+DEPDIR = @DEPDIR@ |
27876 |
+ECHO_C = @ECHO_C@ |
27877 |
+ECHO_N = @ECHO_N@ |
27878 |
+ECHO_T = @ECHO_T@ |
27879 |
+EGREP = @EGREP@ |
27880 |
+EXEEXT = @EXEEXT@ |
27881 |
+GREP = @GREP@ |
27882 |
+INSTALL = @INSTALL@ |
27883 |
+INSTALL_DATA = @INSTALL_DATA@ |
27884 |
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
27885 |
+INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
27886 |
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
27887 |
+LDFLAGS = @LDFLAGS@ |
27888 |
+LIBOBJS = @LIBOBJS@ |
27889 |
+LIBS = @LIBS@ |
27890 |
+LTLIBOBJS = @LTLIBOBJS@ |
27891 |
+MAKEINFO = @MAKEINFO@ |
27892 |
+MKDIR_P = @MKDIR_P@ |
27893 |
+OBJEXT = @OBJEXT@ |
27894 |
+PACKAGE = @PACKAGE@ |
27895 |
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
27896 |
+PACKAGE_NAME = @PACKAGE_NAME@ |
27897 |
+PACKAGE_STRING = @PACKAGE_STRING@ |
27898 |
+PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
27899 |
+PACKAGE_URL = @PACKAGE_URL@ |
27900 |
+PACKAGE_VERSION = @PACKAGE_VERSION@ |
27901 |
+PATH_SEPARATOR = @PATH_SEPARATOR@ |
27902 |
+SET_MAKE = @SET_MAKE@ |
27903 |
+SHELL = @SHELL@ |
27904 |
+STRIP = @STRIP@ |
27905 |
+VERSION = @VERSION@ |
27906 |
+abs_builddir = @abs_builddir@ |
27907 |
+abs_srcdir = @abs_srcdir@ |
27908 |
+abs_top_builddir = @abs_top_builddir@ |
27909 |
+abs_top_srcdir = @abs_top_srcdir@ |
27910 |
+ac_ct_CC = @ac_ct_CC@ |
27911 |
+am__include = @am__include@ |
27912 |
+am__leading_dot = @am__leading_dot@ |
27913 |
+am__quote = @am__quote@ |
27914 |
+am__tar = @am__tar@ |
27915 |
+am__untar = @am__untar@ |
27916 |
+bindir = @bindir@ |
27917 |
+build_alias = @build_alias@ |
27918 |
+builddir = @builddir@ |
27919 |
+datadir = @datadir@ |
27920 |
+datarootdir = @datarootdir@ |
27921 |
+docdir = @docdir@ |
27922 |
+dvidir = @dvidir@ |
27923 |
+exec_prefix = @exec_prefix@ |
27924 |
+has_yasm = @has_yasm@ |
27925 |
+host_alias = @host_alias@ |
27926 |
+htmldir = @htmldir@ |
27927 |
+includedir = @includedir@ |
27928 |
+infodir = @infodir@ |
27929 |
+install_sh = @install_sh@ |
27930 |
+libdir = @libdir@ |
27931 |
+libexecdir = @libexecdir@ |
27932 |
+localedir = @localedir@ |
27933 |
+localstatedir = @localstatedir@ |
27934 |
+mandir = @mandir@ |
27935 |
+mkdir_p = @mkdir_p@ |
27936 |
+oldincludedir = @oldincludedir@ |
27937 |
+pdfdir = @pdfdir@ |
27938 |
+prefix = @prefix@ |
27939 |
+program_transform_name = @program_transform_name@ |
27940 |
+psdir = @psdir@ |
27941 |
+sbindir = @sbindir@ |
27942 |
+sharedstatedir = @sharedstatedir@ |
27943 |
+srcdir = @srcdir@ |
27944 |
+sysconfdir = @sysconfdir@ |
27945 |
+target_alias = @target_alias@ |
27946 |
+top_build_prefix = @top_build_prefix@ |
27947 |
+top_builddir = @top_builddir@ |
27948 |
+top_srcdir = @top_srcdir@ |
27949 |
+bad_gnustack_SOURCES = bad-gnustack.c |
27950 |
+bad_gnustack_DEPENDENCIES = bad-asm.o |
27951 |
+bad_gnustack_LDADD = bad-asm.o |
27952 |
+EXTRA_DIST = bad64.asm bad32.asm |
27953 |
+ARCH = $(shell uname -m | sed -e 's/i./x/') |
27954 |
+check_SCRIPTS = test.sh |
27955 |
+TEST = $(check_SCRIPTS) |
27956 |
+CLEANFILES = bad-asm.o test.sh |
27957 |
+all: all-am |
27958 |
+ |
27959 |
+.SUFFIXES: |
27960 |
+.SUFFIXES: .c .o .obj |
27961 |
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
27962 |
+ @for dep in $?; do \ |
27963 |
+ case '$(am__configure_deps)' in \ |
27964 |
+ *$$dep*) \ |
27965 |
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
27966 |
+ && { if test -f $@; then exit 0; else break; fi; }; \ |
27967 |
+ exit 1;; \ |
27968 |
+ esac; \ |
27969 |
+ done; \ |
27970 |
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/gnustack/Makefile'; \ |
27971 |
+ $(am__cd) $(top_srcdir) && \ |
27972 |
+ $(AUTOMAKE) --foreign tests/gnustack/Makefile |
27973 |
+.PRECIOUS: Makefile |
27974 |
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
27975 |
+ @case '$?' in \ |
27976 |
+ *config.status*) \ |
27977 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
27978 |
+ *) \ |
27979 |
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
27980 |
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
27981 |
+ esac; |
27982 |
+ |
27983 |
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
27984 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
27985 |
+ |
27986 |
+$(top_srcdir)/configure: $(am__configure_deps) |
27987 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
27988 |
+$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
27989 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
27990 |
+$(am__aclocal_m4_deps): |
27991 |
+ |
27992 |
+clean-noinstPROGRAMS: |
27993 |
+ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) |
27994 |
+bad-gnustack$(EXEEXT): $(bad_gnustack_OBJECTS) $(bad_gnustack_DEPENDENCIES) |
27995 |
+ @rm -f bad-gnustack$(EXEEXT) |
27996 |
+ $(LINK) $(bad_gnustack_OBJECTS) $(bad_gnustack_LDADD) $(LIBS) |
27997 |
+ |
27998 |
+mostlyclean-compile: |
27999 |
+ -rm -f *.$(OBJEXT) |
28000 |
+ |
28001 |
+distclean-compile: |
28002 |
+ -rm -f *.tab.c |
28003 |
+ |
28004 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bad-gnustack.Po@am__quote@ |
28005 |
+ |
28006 |
+.c.o: |
28007 |
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
28008 |
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
28009 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
28010 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
28011 |
+@am__fastdepCC_FALSE@ $(COMPILE) -c $< |
28012 |
+ |
28013 |
+.c.obj: |
28014 |
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
28015 |
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
28016 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
28017 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
28018 |
+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` |
28019 |
+ |
28020 |
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
28021 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
28022 |
+ unique=`for i in $$list; do \ |
28023 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
28024 |
+ done | \ |
28025 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
28026 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
28027 |
+ mkid -fID $$unique |
28028 |
+tags: TAGS |
28029 |
+ |
28030 |
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
28031 |
+ $(TAGS_FILES) $(LISP) |
28032 |
+ set x; \ |
28033 |
+ here=`pwd`; \ |
28034 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
28035 |
+ unique=`for i in $$list; do \ |
28036 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
28037 |
+ done | \ |
28038 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
28039 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
28040 |
+ shift; \ |
28041 |
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
28042 |
+ test -n "$$unique" || unique=$$empty_fix; \ |
28043 |
+ if test $$# -gt 0; then \ |
28044 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
28045 |
+ "$$@" $$unique; \ |
28046 |
+ else \ |
28047 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
28048 |
+ $$unique; \ |
28049 |
+ fi; \ |
28050 |
+ fi |
28051 |
+ctags: CTAGS |
28052 |
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
28053 |
+ $(TAGS_FILES) $(LISP) |
28054 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
28055 |
+ unique=`for i in $$list; do \ |
28056 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
28057 |
+ done | \ |
28058 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
28059 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
28060 |
+ test -z "$(CTAGS_ARGS)$$unique" \ |
28061 |
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
28062 |
+ $$unique |
28063 |
+ |
28064 |
+GTAGS: |
28065 |
+ here=`$(am__cd) $(top_builddir) && pwd` \ |
28066 |
+ && $(am__cd) $(top_srcdir) \ |
28067 |
+ && gtags -i $(GTAGS_ARGS) "$$here" |
28068 |
+ |
28069 |
+distclean-tags: |
28070 |
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
28071 |
+ |
28072 |
+distdir: $(DISTFILES) |
28073 |
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
28074 |
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
28075 |
+ list='$(DISTFILES)'; \ |
28076 |
+ dist_files=`for file in $$list; do echo $$file; done | \ |
28077 |
+ sed -e "s|^$$srcdirstrip/||;t" \ |
28078 |
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
28079 |
+ case $$dist_files in \ |
28080 |
+ */*) $(MKDIR_P) `echo "$$dist_files" | \ |
28081 |
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
28082 |
+ sort -u` ;; \ |
28083 |
+ esac; \ |
28084 |
+ for file in $$dist_files; do \ |
28085 |
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
28086 |
+ if test -d $$d/$$file; then \ |
28087 |
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
28088 |
+ if test -d "$(distdir)/$$file"; then \ |
28089 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
28090 |
+ fi; \ |
28091 |
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
28092 |
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
28093 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
28094 |
+ fi; \ |
28095 |
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
28096 |
+ else \ |
28097 |
+ test -f "$(distdir)/$$file" \ |
28098 |
+ || cp -p $$d/$$file "$(distdir)/$$file" \ |
28099 |
+ || exit 1; \ |
28100 |
+ fi; \ |
28101 |
+ done |
28102 |
+check-am: all-am |
28103 |
+ $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS) |
28104 |
+check: check-am |
28105 |
+all-am: Makefile $(PROGRAMS) |
28106 |
+installdirs: |
28107 |
+install: install-am |
28108 |
+install-exec: install-exec-am |
28109 |
+install-data: install-data-am |
28110 |
+uninstall: uninstall-am |
28111 |
+ |
28112 |
+install-am: all-am |
28113 |
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
28114 |
+ |
28115 |
+installcheck: installcheck-am |
28116 |
+install-strip: |
28117 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
28118 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
28119 |
+ `test -z '$(STRIP)' || \ |
28120 |
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
28121 |
+mostlyclean-generic: |
28122 |
+ |
28123 |
+clean-generic: |
28124 |
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
28125 |
+ |
28126 |
+distclean-generic: |
28127 |
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
28128 |
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
28129 |
+ |
28130 |
+maintainer-clean-generic: |
28131 |
+ @echo "This command is intended for maintainers to use" |
28132 |
+ @echo "it deletes files that may require special tools to rebuild." |
28133 |
+clean: clean-am |
28134 |
+ |
28135 |
+clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am |
28136 |
+ |
28137 |
+distclean: distclean-am |
28138 |
+ -rm -rf ./$(DEPDIR) |
28139 |
+ -rm -f Makefile |
28140 |
+distclean-am: clean-am distclean-compile distclean-generic \ |
28141 |
+ distclean-tags |
28142 |
+ |
28143 |
+dvi: dvi-am |
28144 |
+ |
28145 |
+dvi-am: |
28146 |
+ |
28147 |
+html: html-am |
28148 |
+ |
28149 |
+html-am: |
28150 |
+ |
28151 |
+info: info-am |
28152 |
+ |
28153 |
+info-am: |
28154 |
+ |
28155 |
+install-data-am: |
28156 |
+ |
28157 |
+install-dvi: install-dvi-am |
28158 |
+ |
28159 |
+install-dvi-am: |
28160 |
+ |
28161 |
+install-exec-am: |
28162 |
+ |
28163 |
+install-html: install-html-am |
28164 |
+ |
28165 |
+install-html-am: |
28166 |
+ |
28167 |
+install-info: install-info-am |
28168 |
+ |
28169 |
+install-info-am: |
28170 |
+ |
28171 |
+install-man: |
28172 |
+ |
28173 |
+install-pdf: install-pdf-am |
28174 |
+ |
28175 |
+install-pdf-am: |
28176 |
+ |
28177 |
+install-ps: install-ps-am |
28178 |
+ |
28179 |
+install-ps-am: |
28180 |
+ |
28181 |
+installcheck-am: |
28182 |
+ |
28183 |
+maintainer-clean: maintainer-clean-am |
28184 |
+ -rm -rf ./$(DEPDIR) |
28185 |
+ -rm -f Makefile |
28186 |
+maintainer-clean-am: distclean-am maintainer-clean-generic |
28187 |
+ |
28188 |
+mostlyclean: mostlyclean-am |
28189 |
+ |
28190 |
+mostlyclean-am: mostlyclean-compile mostlyclean-generic |
28191 |
+ |
28192 |
+pdf: pdf-am |
28193 |
+ |
28194 |
+pdf-am: |
28195 |
+ |
28196 |
+ps: ps-am |
28197 |
+ |
28198 |
+ps-am: |
28199 |
+ |
28200 |
+uninstall-am: |
28201 |
+ |
28202 |
+.MAKE: check-am install-am install-strip |
28203 |
+ |
28204 |
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ |
28205 |
+ clean-noinstPROGRAMS ctags distclean distclean-compile \ |
28206 |
+ distclean-generic distclean-tags distdir dvi dvi-am html \ |
28207 |
+ html-am info info-am install install-am install-data \ |
28208 |
+ install-data-am install-dvi install-dvi-am install-exec \ |
28209 |
+ install-exec-am install-html install-html-am install-info \ |
28210 |
+ install-info-am install-man install-pdf install-pdf-am \ |
28211 |
+ install-ps install-ps-am install-strip installcheck \ |
28212 |
+ installcheck-am installdirs maintainer-clean \ |
28213 |
+ maintainer-clean-generic mostlyclean mostlyclean-compile \ |
28214 |
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ |
28215 |
+ uninstall-am |
28216 |
+ |
28217 |
+ |
28218 |
+bad-asm.o: bad64.asm bad32.asm |
28219 |
+ [[ "$(ARCH)" == "x86" ]] && yasm -f elf -m x86 bad32.asm && mv bad32.o bad-asm.o || true |
28220 |
+ [[ "$(ARCH)" == "x86_64" ]] && yasm -f elf -m amd64 bad64.asm && mv bad64.o bad-asm.o || true |
28221 |
+ |
28222 |
+test.sh: |
28223 |
+ @echo "================================================================================" |
28224 |
+ @echo |
28225 |
+ @echo "Fixing Bad GNU_STACK Elf" |
28226 |
+ @../../src/fix-gnustack -f bad-gnustack |
28227 |
+ @echo |
28228 |
+ @echo "Fixed Bad GNU_STACK Elf" |
28229 |
+ @../../src/fix-gnustack bad-gnustack |
28230 |
+ @echo |
28231 |
+ @echo "================================================================================" |
28232 |
+ |
28233 |
+# Tell versions [3.59,3.63) of GNU make to not export all variables. |
28234 |
+# Otherwise a system limit (for SysV at least) may be exceeded. |
28235 |
+.NOEXPORT: |
28236 |
|
28237 |
diff --git a/tests/pxtpax/Makefile.in b/tests/pxtpax/Makefile.in |
28238 |
new file mode 100644 |
28239 |
index 0000000..0b0d61e |
28240 |
--- /dev/null |
28241 |
+++ b/tests/pxtpax/Makefile.in |
28242 |
@@ -0,0 +1,421 @@ |
28243 |
+# Makefile.in generated by automake 1.11.1 from Makefile.am. |
28244 |
+# @configure_input@ |
28245 |
+ |
28246 |
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
28247 |
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
28248 |
+# Inc. |
28249 |
+# This Makefile.in is free software; the Free Software Foundation |
28250 |
+# gives unlimited permission to copy and/or distribute it, |
28251 |
+# with or without modifications, as long as this notice is preserved. |
28252 |
+ |
28253 |
+# This program is distributed in the hope that it will be useful, |
28254 |
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
28255 |
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
28256 |
+# PARTICULAR PURPOSE. |
28257 |
+ |
28258 |
+@SET_MAKE@ |
28259 |
+ |
28260 |
+VPATH = @srcdir@ |
28261 |
+pkgdatadir = $(datadir)/@PACKAGE@ |
28262 |
+pkgincludedir = $(includedir)/@PACKAGE@ |
28263 |
+pkglibdir = $(libdir)/@PACKAGE@ |
28264 |
+pkglibexecdir = $(libexecdir)/@PACKAGE@ |
28265 |
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
28266 |
+install_sh_DATA = $(install_sh) -c -m 644 |
28267 |
+install_sh_PROGRAM = $(install_sh) -c |
28268 |
+install_sh_SCRIPT = $(install_sh) -c |
28269 |
+INSTALL_HEADER = $(INSTALL_DATA) |
28270 |
+transform = $(program_transform_name) |
28271 |
+NORMAL_INSTALL = : |
28272 |
+PRE_INSTALL = : |
28273 |
+POST_INSTALL = : |
28274 |
+NORMAL_UNINSTALL = : |
28275 |
+PRE_UNINSTALL = : |
28276 |
+POST_UNINSTALL = : |
28277 |
+noinst_PROGRAMS = daemon$(EXEEXT) |
28278 |
+subdir = tests/pxtpax |
28279 |
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in |
28280 |
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
28281 |
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
28282 |
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
28283 |
+ $(ACLOCAL_M4) |
28284 |
+mkinstalldirs = $(install_sh) -d |
28285 |
+CONFIG_HEADER = $(top_builddir)/config.h |
28286 |
+CONFIG_CLEAN_FILES = |
28287 |
+CONFIG_CLEAN_VPATH_FILES = |
28288 |
+PROGRAMS = $(noinst_PROGRAMS) |
28289 |
+am_daemon_OBJECTS = daemon.$(OBJEXT) |
28290 |
+daemon_OBJECTS = $(am_daemon_OBJECTS) |
28291 |
+daemon_LDADD = $(LDADD) |
28292 |
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
28293 |
+depcomp = $(SHELL) $(top_srcdir)/depcomp |
28294 |
+am__depfiles_maybe = depfiles |
28295 |
+am__mv = mv -f |
28296 |
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
28297 |
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
28298 |
+CCLD = $(CC) |
28299 |
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
28300 |
+SOURCES = $(daemon_SOURCES) |
28301 |
+DIST_SOURCES = $(daemon_SOURCES) |
28302 |
+ETAGS = etags |
28303 |
+CTAGS = ctags |
28304 |
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
28305 |
+ACLOCAL = @ACLOCAL@ |
28306 |
+AMTAR = @AMTAR@ |
28307 |
+AUTOCONF = @AUTOCONF@ |
28308 |
+AUTOHEADER = @AUTOHEADER@ |
28309 |
+AUTOMAKE = @AUTOMAKE@ |
28310 |
+AWK = @AWK@ |
28311 |
+CC = @CC@ |
28312 |
+CCDEPMODE = @CCDEPMODE@ |
28313 |
+CFLAGS = @CFLAGS@ |
28314 |
+CPP = @CPP@ |
28315 |
+CPPFLAGS = @CPPFLAGS@ |
28316 |
+CYGPATH_W = @CYGPATH_W@ |
28317 |
+DEFS = @DEFS@ |
28318 |
+DEPDIR = @DEPDIR@ |
28319 |
+ECHO_C = @ECHO_C@ |
28320 |
+ECHO_N = @ECHO_N@ |
28321 |
+ECHO_T = @ECHO_T@ |
28322 |
+EGREP = @EGREP@ |
28323 |
+EXEEXT = @EXEEXT@ |
28324 |
+GREP = @GREP@ |
28325 |
+INSTALL = @INSTALL@ |
28326 |
+INSTALL_DATA = @INSTALL_DATA@ |
28327 |
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
28328 |
+INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
28329 |
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
28330 |
+LDFLAGS = @LDFLAGS@ |
28331 |
+LIBOBJS = @LIBOBJS@ |
28332 |
+LIBS = @LIBS@ |
28333 |
+LTLIBOBJS = @LTLIBOBJS@ |
28334 |
+MAKEINFO = @MAKEINFO@ |
28335 |
+MKDIR_P = @MKDIR_P@ |
28336 |
+OBJEXT = @OBJEXT@ |
28337 |
+PACKAGE = @PACKAGE@ |
28338 |
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
28339 |
+PACKAGE_NAME = @PACKAGE_NAME@ |
28340 |
+PACKAGE_STRING = @PACKAGE_STRING@ |
28341 |
+PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
28342 |
+PACKAGE_URL = @PACKAGE_URL@ |
28343 |
+PACKAGE_VERSION = @PACKAGE_VERSION@ |
28344 |
+PATH_SEPARATOR = @PATH_SEPARATOR@ |
28345 |
+SET_MAKE = @SET_MAKE@ |
28346 |
+SHELL = @SHELL@ |
28347 |
+STRIP = @STRIP@ |
28348 |
+VERSION = @VERSION@ |
28349 |
+abs_builddir = @abs_builddir@ |
28350 |
+abs_srcdir = @abs_srcdir@ |
28351 |
+abs_top_builddir = @abs_top_builddir@ |
28352 |
+abs_top_srcdir = @abs_top_srcdir@ |
28353 |
+ac_ct_CC = @ac_ct_CC@ |
28354 |
+am__include = @am__include@ |
28355 |
+am__leading_dot = @am__leading_dot@ |
28356 |
+am__quote = @am__quote@ |
28357 |
+am__tar = @am__tar@ |
28358 |
+am__untar = @am__untar@ |
28359 |
+bindir = @bindir@ |
28360 |
+build_alias = @build_alias@ |
28361 |
+builddir = @builddir@ |
28362 |
+datadir = @datadir@ |
28363 |
+datarootdir = @datarootdir@ |
28364 |
+docdir = @docdir@ |
28365 |
+dvidir = @dvidir@ |
28366 |
+exec_prefix = @exec_prefix@ |
28367 |
+has_yasm = @has_yasm@ |
28368 |
+host_alias = @host_alias@ |
28369 |
+htmldir = @htmldir@ |
28370 |
+includedir = @includedir@ |
28371 |
+infodir = @infodir@ |
28372 |
+install_sh = @install_sh@ |
28373 |
+libdir = @libdir@ |
28374 |
+libexecdir = @libexecdir@ |
28375 |
+localedir = @localedir@ |
28376 |
+localstatedir = @localstatedir@ |
28377 |
+mandir = @mandir@ |
28378 |
+mkdir_p = @mkdir_p@ |
28379 |
+oldincludedir = @oldincludedir@ |
28380 |
+pdfdir = @pdfdir@ |
28381 |
+prefix = @prefix@ |
28382 |
+program_transform_name = @program_transform_name@ |
28383 |
+psdir = @psdir@ |
28384 |
+sbindir = @sbindir@ |
28385 |
+sharedstatedir = @sharedstatedir@ |
28386 |
+srcdir = @srcdir@ |
28387 |
+sysconfdir = @sysconfdir@ |
28388 |
+target_alias = @target_alias@ |
28389 |
+top_build_prefix = @top_build_prefix@ |
28390 |
+top_builddir = @top_builddir@ |
28391 |
+top_srcdir = @top_srcdir@ |
28392 |
+daemon_SOURCES = daemon.c |
28393 |
+EXTRA_DIST = init.sh dotest.sh |
28394 |
+check_SCRIPTS = test.sh |
28395 |
+TEST = $(check_SCRIPTS) |
28396 |
+CLEANFILES = daemon.pid |
28397 |
+all: all-am |
28398 |
+ |
28399 |
+.SUFFIXES: |
28400 |
+.SUFFIXES: .c .o .obj |
28401 |
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
28402 |
+ @for dep in $?; do \ |
28403 |
+ case '$(am__configure_deps)' in \ |
28404 |
+ *$$dep*) \ |
28405 |
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
28406 |
+ && { if test -f $@; then exit 0; else break; fi; }; \ |
28407 |
+ exit 1;; \ |
28408 |
+ esac; \ |
28409 |
+ done; \ |
28410 |
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/pxtpax/Makefile'; \ |
28411 |
+ $(am__cd) $(top_srcdir) && \ |
28412 |
+ $(AUTOMAKE) --foreign tests/pxtpax/Makefile |
28413 |
+.PRECIOUS: Makefile |
28414 |
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
28415 |
+ @case '$?' in \ |
28416 |
+ *config.status*) \ |
28417 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
28418 |
+ *) \ |
28419 |
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
28420 |
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
28421 |
+ esac; |
28422 |
+ |
28423 |
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
28424 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
28425 |
+ |
28426 |
+$(top_srcdir)/configure: $(am__configure_deps) |
28427 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
28428 |
+$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
28429 |
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
28430 |
+$(am__aclocal_m4_deps): |
28431 |
+ |
28432 |
+clean-noinstPROGRAMS: |
28433 |
+ -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) |
28434 |
+daemon$(EXEEXT): $(daemon_OBJECTS) $(daemon_DEPENDENCIES) |
28435 |
+ @rm -f daemon$(EXEEXT) |
28436 |
+ $(LINK) $(daemon_OBJECTS) $(daemon_LDADD) $(LIBS) |
28437 |
+ |
28438 |
+mostlyclean-compile: |
28439 |
+ -rm -f *.$(OBJEXT) |
28440 |
+ |
28441 |
+distclean-compile: |
28442 |
+ -rm -f *.tab.c |
28443 |
+ |
28444 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/daemon.Po@am__quote@ |
28445 |
+ |
28446 |
+.c.o: |
28447 |
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
28448 |
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
28449 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
28450 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
28451 |
+@am__fastdepCC_FALSE@ $(COMPILE) -c $< |
28452 |
+ |
28453 |
+.c.obj: |
28454 |
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
28455 |
+@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
28456 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
28457 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
28458 |
+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` |
28459 |
+ |
28460 |
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
28461 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
28462 |
+ unique=`for i in $$list; do \ |
28463 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
28464 |
+ done | \ |
28465 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
28466 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
28467 |
+ mkid -fID $$unique |
28468 |
+tags: TAGS |
28469 |
+ |
28470 |
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
28471 |
+ $(TAGS_FILES) $(LISP) |
28472 |
+ set x; \ |
28473 |
+ here=`pwd`; \ |
28474 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
28475 |
+ unique=`for i in $$list; do \ |
28476 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
28477 |
+ done | \ |
28478 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
28479 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
28480 |
+ shift; \ |
28481 |
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
28482 |
+ test -n "$$unique" || unique=$$empty_fix; \ |
28483 |
+ if test $$# -gt 0; then \ |
28484 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
28485 |
+ "$$@" $$unique; \ |
28486 |
+ else \ |
28487 |
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
28488 |
+ $$unique; \ |
28489 |
+ fi; \ |
28490 |
+ fi |
28491 |
+ctags: CTAGS |
28492 |
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
28493 |
+ $(TAGS_FILES) $(LISP) |
28494 |
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
28495 |
+ unique=`for i in $$list; do \ |
28496 |
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
28497 |
+ done | \ |
28498 |
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
28499 |
+ END { if (nonempty) { for (i in files) print i; }; }'`; \ |
28500 |
+ test -z "$(CTAGS_ARGS)$$unique" \ |
28501 |
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
28502 |
+ $$unique |
28503 |
+ |
28504 |
+GTAGS: |
28505 |
+ here=`$(am__cd) $(top_builddir) && pwd` \ |
28506 |
+ && $(am__cd) $(top_srcdir) \ |
28507 |
+ && gtags -i $(GTAGS_ARGS) "$$here" |
28508 |
+ |
28509 |
+distclean-tags: |
28510 |
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
28511 |
+ |
28512 |
+distdir: $(DISTFILES) |
28513 |
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
28514 |
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
28515 |
+ list='$(DISTFILES)'; \ |
28516 |
+ dist_files=`for file in $$list; do echo $$file; done | \ |
28517 |
+ sed -e "s|^$$srcdirstrip/||;t" \ |
28518 |
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
28519 |
+ case $$dist_files in \ |
28520 |
+ */*) $(MKDIR_P) `echo "$$dist_files" | \ |
28521 |
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
28522 |
+ sort -u` ;; \ |
28523 |
+ esac; \ |
28524 |
+ for file in $$dist_files; do \ |
28525 |
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
28526 |
+ if test -d $$d/$$file; then \ |
28527 |
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
28528 |
+ if test -d "$(distdir)/$$file"; then \ |
28529 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
28530 |
+ fi; \ |
28531 |
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
28532 |
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
28533 |
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
28534 |
+ fi; \ |
28535 |
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
28536 |
+ else \ |
28537 |
+ test -f "$(distdir)/$$file" \ |
28538 |
+ || cp -p $$d/$$file "$(distdir)/$$file" \ |
28539 |
+ || exit 1; \ |
28540 |
+ fi; \ |
28541 |
+ done |
28542 |
+check-am: all-am |
28543 |
+ $(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS) |
28544 |
+check: check-am |
28545 |
+all-am: Makefile $(PROGRAMS) |
28546 |
+installdirs: |
28547 |
+install: install-am |
28548 |
+install-exec: install-exec-am |
28549 |
+install-data: install-data-am |
28550 |
+uninstall: uninstall-am |
28551 |
+ |
28552 |
+install-am: all-am |
28553 |
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
28554 |
+ |
28555 |
+installcheck: installcheck-am |
28556 |
+install-strip: |
28557 |
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
28558 |
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
28559 |
+ `test -z '$(STRIP)' || \ |
28560 |
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
28561 |
+mostlyclean-generic: |
28562 |
+ |
28563 |
+clean-generic: |
28564 |
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
28565 |
+ |
28566 |
+distclean-generic: |
28567 |
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
28568 |
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
28569 |
+ |
28570 |
+maintainer-clean-generic: |
28571 |
+ @echo "This command is intended for maintainers to use" |
28572 |
+ @echo "it deletes files that may require special tools to rebuild." |
28573 |
+clean: clean-am |
28574 |
+ |
28575 |
+clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am |
28576 |
+ |
28577 |
+distclean: distclean-am |
28578 |
+ -rm -rf ./$(DEPDIR) |
28579 |
+ -rm -f Makefile |
28580 |
+distclean-am: clean-am distclean-compile distclean-generic \ |
28581 |
+ distclean-tags |
28582 |
+ |
28583 |
+dvi: dvi-am |
28584 |
+ |
28585 |
+dvi-am: |
28586 |
+ |
28587 |
+html: html-am |
28588 |
+ |
28589 |
+html-am: |
28590 |
+ |
28591 |
+info: info-am |
28592 |
+ |
28593 |
+info-am: |
28594 |
+ |
28595 |
+install-data-am: |
28596 |
+ |
28597 |
+install-dvi: install-dvi-am |
28598 |
+ |
28599 |
+install-dvi-am: |
28600 |
+ |
28601 |
+install-exec-am: |
28602 |
+ |
28603 |
+install-html: install-html-am |
28604 |
+ |
28605 |
+install-html-am: |
28606 |
+ |
28607 |
+install-info: install-info-am |
28608 |
+ |
28609 |
+install-info-am: |
28610 |
+ |
28611 |
+install-man: |
28612 |
+ |
28613 |
+install-pdf: install-pdf-am |
28614 |
+ |
28615 |
+install-pdf-am: |
28616 |
+ |
28617 |
+install-ps: install-ps-am |
28618 |
+ |
28619 |
+install-ps-am: |
28620 |
+ |
28621 |
+installcheck-am: |
28622 |
+ |
28623 |
+maintainer-clean: maintainer-clean-am |
28624 |
+ -rm -rf ./$(DEPDIR) |
28625 |
+ -rm -f Makefile |
28626 |
+maintainer-clean-am: distclean-am maintainer-clean-generic |
28627 |
+ |
28628 |
+mostlyclean: mostlyclean-am |
28629 |
+ |
28630 |
+mostlyclean-am: mostlyclean-compile mostlyclean-generic |
28631 |
+ |
28632 |
+pdf: pdf-am |
28633 |
+ |
28634 |
+pdf-am: |
28635 |
+ |
28636 |
+ps: ps-am |
28637 |
+ |
28638 |
+ps-am: |
28639 |
+ |
28640 |
+uninstall-am: |
28641 |
+ |
28642 |
+.MAKE: check-am install-am install-strip |
28643 |
+ |
28644 |
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ |
28645 |
+ clean-noinstPROGRAMS ctags distclean distclean-compile \ |
28646 |
+ distclean-generic distclean-tags distdir dvi dvi-am html \ |
28647 |
+ html-am info info-am install install-am install-data \ |
28648 |
+ install-data-am install-dvi install-dvi-am install-exec \ |
28649 |
+ install-exec-am install-html install-html-am install-info \ |
28650 |
+ install-info-am install-man install-pdf install-pdf-am \ |
28651 |
+ install-ps install-ps-am install-strip installcheck \ |
28652 |
+ installcheck-am installdirs maintainer-clean \ |
28653 |
+ maintainer-clean-generic mostlyclean mostlyclean-compile \ |
28654 |
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ |
28655 |
+ uninstall-am |
28656 |
+ |
28657 |
+ |
28658 |
+test.sh: |
28659 |
+ ./dotest.sh |
28660 |
+ |
28661 |
+# Tell versions [3.59,3.63) of GNU make to not export all variables. |
28662 |
+# Otherwise a system limit (for SysV at least) may be exceeded. |
28663 |
+.NOEXPORT: |