Codebase list squidview / 9d88cef
Imported Upstream version 0.76 Willi Mann 11 years ago
8 changed file(s) with 2306 addition(s) and 2912 deletion(s). Raw diff Collapse all Expand all
00 >> Squidview history:
1
2 v0.76: February 2010:
3 - more tweaks
4
5 v0.75: February 2010:
6 - non-fatal bug fixes to v0.74
7
8 v0.74: February 2010:
9 - robust creation of ~/.squidview
110
211 v0.73: November 2008:
312 - modifications to conform with ISO C++ 99
0 # Makefile.in generated by automake 1.10.1 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
56 # This Makefile.in is free software; the Free Software Foundation
67 # gives unlimited permission to copy and/or distribute it,
78 # with or without modifications, as long as this notice is preserved.
1617
1718 VPATH = @srcdir@
1819 pkgdatadir = $(datadir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
1921 pkglibdir = $(libdir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
22 pkglibexecdir = $(libexecdir)/@PACKAGE@
2123 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2224 install_sh_DATA = $(install_sh) -c -m 644
2325 install_sh_PROGRAM = $(install_sh) -c
4547 mkinstalldirs = $(install_sh) -d
4648 CONFIG_HEADER = config.h
4749 CONFIG_CLEAN_FILES =
50 CONFIG_CLEAN_VPATH_FILES =
4851 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
4952 "$(DESTDIR)$(pkgdatadir)"
50 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
5153 PROGRAMS = $(bin_PROGRAMS)
5254 am_squidview_OBJECTS = squidview.$(OBJEXT)
5355 squidview_OBJECTS = $(am_squidview_OBJECTS)
5557 DEFAULT_INCLUDES = -I.@am__isrc@
5658 depcomp = $(SHELL) $(top_srcdir)/depcomp
5759 am__depfiles_maybe = depfiles
60 am__mv = mv -f
5861 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
5962 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
6063 CXXLD = $(CXX)
6669 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
6770 SOURCES = $(squidview_SOURCES)
6871 DIST_SOURCES = $(squidview_SOURCES)
69 man1dir = $(mandir)/man1
70 NROFF = nroff
71 MANS = $(man_MANS)
7272 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
7373 am__vpath_adj = case $$p in \
7474 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
7575 *) f=$$p;; \
7676 esac;
77 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
78 pkgdataDATA_INSTALL = $(INSTALL_DATA)
77 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
78 am__install_max = 40
79 am__nobase_strip_setup = \
80 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
81 am__nobase_strip = \
82 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
83 am__nobase_list = $(am__nobase_strip_setup); \
84 for p in $$list; do echo "$$p $$p"; done | \
85 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
86 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
87 if (++n[$$2] == $(am__install_max)) \
88 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
89 END { for (dir in files) print dir, files[dir] }'
90 am__base_list = \
91 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
92 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
93 man1dir = $(mandir)/man1
94 NROFF = nroff
95 MANS = $(man_MANS)
7996 DATA = $(pkgdata_DATA)
8097 ETAGS = etags
8198 CTAGS = ctags
83100 distdir = $(PACKAGE)-$(VERSION)
84101 top_distdir = $(distdir)
85102 am__remove_distdir = \
86 { test ! -d $(distdir) \
87 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
88 && rm -fr $(distdir); }; }
103 { test ! -d "$(distdir)" \
104 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
105 && rm -fr "$(distdir)"; }; }
89106 DIST_ARCHIVES = $(distdir).tar.gz
90107 GZIP_ENV = --best
91108 distuninstallcheck_listfiles = find . -type f -print
131148 PACKAGE_NAME = @PACKAGE_NAME@
132149 PACKAGE_STRING = @PACKAGE_STRING@
133150 PACKAGE_TARNAME = @PACKAGE_TARNAME@
151 PACKAGE_URL = @PACKAGE_URL@
134152 PACKAGE_VERSION = @PACKAGE_VERSION@
135153 PATH_SEPARATOR = @PATH_SEPARATOR@
136154 SET_MAKE = @SET_MAKE@
197215 @for dep in $?; do \
198216 case '$(am__configure_deps)' in \
199217 *$$dep*) \
200 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
201 cd $(srcdir) && $(AUTOMAKE) --gnu \
218 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
219 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
202220 && exit 0; \
203221 exit 1;; \
204222 esac; \
205223 done; \
206 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
207 cd $(top_srcdir) && \
208 $(AUTOMAKE) --gnu Makefile
224 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
225 $(am__cd) $(top_srcdir) && \
226 $(AUTOMAKE) --gnu Makefile
209227 .PRECIOUS: Makefile
210228 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
211229 @case '$?' in \
221239 $(SHELL) ./config.status --recheck
222240
223241 $(top_srcdir)/configure: $(am__configure_deps)
224 cd $(srcdir) && $(AUTOCONF)
242 $(am__cd) $(srcdir) && $(AUTOCONF)
225243 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
226 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
244 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
245 $(am__aclocal_m4_deps):
227246
228247 config.h: stamp-h1
229248 @if test ! -f $@; then \
235254 @rm -f stamp-h1
236255 cd $(top_builddir) && $(SHELL) ./config.status config.h
237256 $(srcdir)/config.h.in: $(am__configure_deps)
238 cd $(top_srcdir) && $(AUTOHEADER)
257 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
239258 rm -f stamp-h1
240259 touch $@
241260
244263 install-binPROGRAMS: $(bin_PROGRAMS)
245264 @$(NORMAL_INSTALL)
246265 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
247 @list='$(bin_PROGRAMS)'; for p in $$list; do \
248 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
249 if test -f $$p \
250 ; then \
251 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
252 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
253 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
254 else :; fi; \
255 done
266 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
267 for p in $$list; do echo "$$p $$p"; done | \
268 sed 's/$(EXEEXT)$$//' | \
269 while read p p1; do if test -f $$p; \
270 then echo "$$p"; echo "$$p"; else :; fi; \
271 done | \
272 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
273 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
274 sed 'N;N;N;s,\n, ,g' | \
275 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
276 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
277 if ($$2 == $$4) files[d] = files[d] " " $$1; \
278 else { print "f", $$3 "/" $$4, $$1; } } \
279 END { for (d in files) print "f", d, files[d] }' | \
280 while read type dir files; do \
281 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
282 test -z "$$files" || { \
283 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
284 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
285 } \
286 ; done
256287
257288 uninstall-binPROGRAMS:
258289 @$(NORMAL_UNINSTALL)
259 @list='$(bin_PROGRAMS)'; for p in $$list; do \
260 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
261 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
262 rm -f "$(DESTDIR)$(bindir)/$$f"; \
263 done
290 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
291 files=`for p in $$list; do echo "$$p"; done | \
292 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
293 -e 's/$$/$(EXEEXT)/' `; \
294 test -n "$$list" || exit 0; \
295 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
296 cd "$(DESTDIR)$(bindir)" && rm -f $$files
264297
265298 clean-binPROGRAMS:
266299 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
278311
279312 .cpp.o:
280313 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
281 @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
314 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
282315 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
283316 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
284317 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
285318
286319 .cpp.obj:
287320 @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
288 @am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
321 @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
289322 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
290323 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
291324 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
292 install-man1: $(man1_MANS) $(man_MANS)
325 install-man1: $(man_MANS)
293326 @$(NORMAL_INSTALL)
294327 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
295 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
296 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
297 for i in $$l2; do \
298 case "$$i" in \
299 *.1*) list="$$list $$i" ;; \
300 esac; \
328 @list=''; test -n "$(man1dir)" || exit 0; \
329 { for i in $$list; do echo "$$i"; done; \
330 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
331 sed -n '/\.1[a-z]*$$/p'; \
332 } | while read p; do \
333 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
334 echo "$$d$$p"; echo "$$p"; \
335 done | \
336 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
337 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
338 sed 'N;N;s,\n, ,g' | { \
339 list=; while read file base inst; do \
340 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
341 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
342 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
343 fi; \
301344 done; \
302 for i in $$list; do \
303 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
304 else file=$$i; fi; \
305 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
306 case "$$ext" in \
307 1*) ;; \
308 *) ext='1' ;; \
309 esac; \
310 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
311 inst=`echo $$inst | sed -e 's/^.*\///'`; \
312 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
313 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
314 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
315 done
345 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
346 while read files; do \
347 test -z "$$files" || { \
348 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
349 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
350 done; }
351
316352 uninstall-man1:
317353 @$(NORMAL_UNINSTALL)
318 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
319 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
320 for i in $$l2; do \
321 case "$$i" in \
322 *.1*) list="$$list $$i" ;; \
323 esac; \
324 done; \
325 for i in $$list; do \
326 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
327 case "$$ext" in \
328 1*) ;; \
329 *) ext='1' ;; \
330 esac; \
331 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
332 inst=`echo $$inst | sed -e 's/^.*\///'`; \
333 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
334 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
335 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
336 done
354 @list=''; test -n "$(man1dir)" || exit 0; \
355 files=`{ for i in $$list; do echo "$$i"; done; \
356 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
357 sed -n '/\.1[a-z]*$$/p'; \
358 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
359 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
360 test -z "$$files" || { \
361 echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
362 cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
337363 install-pkgdataDATA: $(pkgdata_DATA)
338364 @$(NORMAL_INSTALL)
339365 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
340 @list='$(pkgdata_DATA)'; for p in $$list; do \
366 @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
367 for p in $$list; do \
341368 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
342 f=$(am__strip_dir) \
343 echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
344 $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
369 echo "$$d$$p"; \
370 done | $(am__base_list) | \
371 while read files; do \
372 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
373 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
345374 done
346375
347376 uninstall-pkgdataDATA:
348377 @$(NORMAL_UNINSTALL)
349 @list='$(pkgdata_DATA)'; for p in $$list; do \
350 f=$(am__strip_dir) \
351 echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
352 rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
353 done
378 @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
379 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
380 test -n "$$files" || exit 0; \
381 echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \
382 cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files
354383
355384 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
356385 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
357386 unique=`for i in $$list; do \
358387 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
359388 done | \
360 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
389 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
361390 END { if (nonempty) { for (i in files) print i; }; }'`; \
362391 mkid -fID $$unique
363392 tags: TAGS
364393
365394 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
366395 $(TAGS_FILES) $(LISP)
367 tags=; \
396 set x; \
368397 here=`pwd`; \
369398 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
370399 unique=`for i in $$list; do \
372401 done | \
373402 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
374403 END { if (nonempty) { for (i in files) print i; }; }'`; \
375 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
404 shift; \
405 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
376406 test -n "$$unique" || unique=$$empty_fix; \
377 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
378 $$tags $$unique; \
407 if test $$# -gt 0; then \
408 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
409 "$$@" $$unique; \
410 else \
411 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
412 $$unique; \
413 fi; \
379414 fi
380415 ctags: CTAGS
381416 CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
382417 $(TAGS_FILES) $(LISP)
383 tags=; \
384418 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
385419 unique=`for i in $$list; do \
386420 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
387421 done | \
388422 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
389423 END { if (nonempty) { for (i in files) print i; }; }'`; \
390 test -z "$(CTAGS_ARGS)$$tags$$unique" \
424 test -z "$(CTAGS_ARGS)$$unique" \
391425 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
392 $$tags $$unique
426 $$unique
393427
394428 GTAGS:
395429 here=`$(am__cd) $(top_builddir) && pwd` \
396 && cd $(top_srcdir) \
397 && gtags -i $(GTAGS_ARGS) $$here
430 && $(am__cd) $(top_srcdir) \
431 && gtags -i $(GTAGS_ARGS) "$$here"
398432
399433 distclean-tags:
400434 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
401435
402436 distdir: $(DISTFILES)
403 $(am__remove_distdir)
404 test -d $(distdir) || mkdir $(distdir)
437 @list='$(MANS)'; if test -n "$$list"; then \
438 list=`for p in $$list; do \
439 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
440 if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
441 if test -n "$$list" && \
442 grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
443 echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
444 grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
445 echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
446 echo " typically \`make maintainer-clean' will remove them" >&2; \
447 exit 1; \
448 else :; fi; \
449 else :; fi
450 $(am__remove_distdir)
451 test -d "$(distdir)" || mkdir "$(distdir)"
405452 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
406453 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
407454 list='$(DISTFILES)'; \
417464 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
418465 if test -d $$d/$$file; then \
419466 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
467 if test -d "$(distdir)/$$file"; then \
468 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
469 fi; \
420470 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
421 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
471 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
472 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
422473 fi; \
423 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
474 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
424475 else \
425 test -f $(distdir)/$$file \
426 || cp -p $$d/$$file $(distdir)/$$file \
476 test -f "$(distdir)/$$file" \
477 || cp -p $$d/$$file "$(distdir)/$$file" \
427478 || exit 1; \
428479 fi; \
429480 done
430 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
481 -test -n "$(am__skip_mode_fix)" \
482 || find "$(distdir)" -type d ! -perm -755 \
483 -exec chmod u+rwx,go+rx {} \; -o \
431484 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
432485 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
433486 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
434 || chmod -R a+r $(distdir)
487 || chmod -R a+r "$(distdir)"
435488 dist-gzip: distdir
436489 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
437490 $(am__remove_distdir)
442495
443496 dist-lzma: distdir
444497 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
498 $(am__remove_distdir)
499
500 dist-xz: distdir
501 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
445502 $(am__remove_distdir)
446503
447504 dist-tarZ: distdir
467524 distcheck: dist
468525 case '$(DIST_ARCHIVES)' in \
469526 *.tar.gz*) \
470 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
527 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
471528 *.tar.bz2*) \
472 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
529 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
473530 *.tar.lzma*) \
474 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
531 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
532 *.tar.xz*) \
533 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
475534 *.tar.Z*) \
476535 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
477536 *.shar.gz*) \
478 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
537 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
479538 *.zip*) \
480539 unzip $(distdir).zip ;;\
481540 esac
483542 mkdir $(distdir)/_build
484543 mkdir $(distdir)/_inst
485544 chmod a-w $(distdir)
545 test -d $(distdir)/_build || exit 0; \
486546 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
487547 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
488 && cd $(distdir)/_build \
548 && am__cwd=`pwd` \
549 && $(am__cd) $(distdir)/_build \
489550 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
490551 $(DISTCHECK_CONFIGURE_FLAGS) \
491552 && $(MAKE) $(AM_MAKEFLAGS) \
507568 && rm -rf "$$dc_destdir" \
508569 && $(MAKE) $(AM_MAKEFLAGS) dist \
509570 && rm -rf $(DIST_ARCHIVES) \
510 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
571 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
572 && cd "$$am__cwd" \
573 || exit 1
511574 $(am__remove_distdir)
512575 @(echo "$(distdir) archives ready for distribution: "; \
513576 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
514577 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
515578 distuninstallcheck:
516 @cd $(distuninstallcheck_dir) \
579 @$(am__cd) '$(distuninstallcheck_dir)' \
517580 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
518581 || { echo "ERROR: files left after uninstall:" ; \
519582 if test -n "$(DESTDIR)"; then \
557620
558621 distclean-generic:
559622 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
623 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
560624
561625 maintainer-clean-generic:
562626 @echo "This command is intended for maintainers to use"
578642
579643 html: html-am
580644
645 html-am:
646
581647 info: info-am
582648
583649 info-am:
586652
587653 install-dvi: install-dvi-am
588654
655 install-dvi-am:
656
589657 install-exec-am: install-binPROGRAMS
590658
591659 install-html: install-html-am
592660
661 install-html-am:
662
593663 install-info: install-info-am
594664
665 install-info-am:
666
595667 install-man: install-man1
596668
597669 install-pdf: install-pdf-am
598670
671 install-pdf-am:
672
599673 install-ps: install-ps-am
674
675 install-ps-am:
600676
601677 installcheck-am:
602678
624700
625701 uninstall-man: uninstall-man1
626702
627 .MAKE: install-am install-strip
703 .MAKE: all install-am install-strip
628704
629705 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
630706 clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \
631 dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
632 distclean distclean-compile distclean-generic distclean-hdr \
633 distclean-tags distcleancheck distdir distuninstallcheck dvi \
634 dvi-am html html-am info info-am install install-am \
635 install-binPROGRAMS install-data install-data-am install-dvi \
636 install-dvi-am install-exec install-exec-am install-html \
637 install-html-am install-info install-info-am install-man \
638 install-man1 install-pdf install-pdf-am install-pkgdataDATA \
639 install-ps install-ps-am install-strip installcheck \
640 installcheck-am installdirs maintainer-clean \
641 maintainer-clean-generic mostlyclean mostlyclean-compile \
642 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
643 uninstall-am uninstall-binPROGRAMS uninstall-man \
644 uninstall-man1 uninstall-pkgdataDATA
707 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
708 distcheck distclean distclean-compile distclean-generic \
709 distclean-hdr distclean-tags distcleancheck distdir \
710 distuninstallcheck dvi dvi-am html html-am info info-am \
711 install install-am install-binPROGRAMS install-data \
712 install-data-am install-dvi install-dvi-am install-exec \
713 install-exec-am install-html install-html-am install-info \
714 install-info-am install-man install-man1 install-pdf \
715 install-pdf-am install-pkgdataDATA install-ps install-ps-am \
716 install-strip installcheck installcheck-am installdirs \
717 maintainer-clean maintainer-clean-generic mostlyclean \
718 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
719 tags uninstall uninstall-am uninstall-binPROGRAMS \
720 uninstall-man uninstall-man1 uninstall-pkgdataDATA
721
645722
646723 # Tell versions [3.59,3.63) of GNU make to not export all variables.
647724 # Otherwise a system limit (for SysV at least) may be exceeded.
0 # generated automatically by aclocal 1.10.1 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
3 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
66 # with or without modifications, as long as this notice is preserved.
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(AC_AUTOCONF_VERSION, [2.63],,
16 [m4_warning([this file was generated for autoconf 2.63.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
16 [m4_warning([this file was generated for autoconf 2.65.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
2020
21 # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
21 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2222 #
2323 # This file is free software; the Free Software Foundation
2424 # gives unlimited permission to copy and/or distribute it,
3030 # generated from the m4 files accompanying Automake X.Y.
3131 # (This private macro should not be called outside this file.)
3232 AC_DEFUN([AM_AUTOMAKE_VERSION],
33 [am__api_version='1.10'
33 [am__api_version='1.11'
3434 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3535 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.10.1], [],
36 m4_if([$1], [1.11.1], [],
3737 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3838 ])
3939
4747 # AM_SET_CURRENT_AUTOMAKE_VERSION
4848 # -------------------------------
4949 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
50 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
50 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5151 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
52 [AM_AUTOMAKE_VERSION([1.10.1])dnl
52 [AM_AUTOMAKE_VERSION([1.11.1])dnl
5353 m4_ifndef([AC_AUTOCONF_VERSION],
5454 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
55 _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
55 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5656
5757 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5858
109109
110110 # AM_CONDITIONAL -*- Autoconf -*-
111111
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
113113 # Free Software Foundation, Inc.
114114 #
115115 # This file is free software; the Free Software Foundation
116116 # gives unlimited permission to copy and/or distribute it,
117117 # with or without modifications, as long as this notice is preserved.
118118
119 # serial 8
119 # serial 9
120120
121121 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
122122 # -------------------------------------
129129 AC_SUBST([$1_FALSE])dnl
130130 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
131131 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
132 m4_define([_AM_COND_VALUE_$1], [$2])dnl
132133 if $2; then
133134 $1_TRUE=
134135 $1_FALSE='#'
142143 Usually this means the macro was only invoked conditionally.]])
143144 fi])])
144145
145 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
146 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
146147 # Free Software Foundation, Inc.
147148 #
148149 # This file is free software; the Free Software Foundation
149150 # gives unlimited permission to copy and/or distribute it,
150151 # with or without modifications, as long as this notice is preserved.
151152
152 # serial 9
153 # serial 10
153154
154155 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
155156 # written in clear, in which case automake, when reading aclocal.m4,
206207 if test "$am_compiler_list" = ""; then
207208 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
208209 fi
210 am__universal=false
211 m4_case([$1], [CC],
212 [case " $depcc " in #(
213 *\ -arch\ *\ -arch\ *) am__universal=true ;;
214 esac],
215 [CXX],
216 [case " $depcc " in #(
217 *\ -arch\ *\ -arch\ *) am__universal=true ;;
218 esac])
219
209220 for depmode in $am_compiler_list; do
210221 # Setup a source with many dependencies, because some compilers
211222 # like to wrap large dependency lists on column 80 (with \), and
223234 done
224235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
225236
237 # We check with `-c' and `-o' for the sake of the "dashmstdout"
238 # mode. It turns out that the SunPro C++ compiler does not properly
239 # handle `-M -o', and we need to detect this. Also, some Intel
240 # versions had trouble with output in subdirs
241 am__obj=sub/conftest.${OBJEXT-o}
242 am__minus_obj="-o $am__obj"
226243 case $depmode in
244 gcc)
245 # This depmode causes a compiler race in universal mode.
246 test "$am__universal" = false || continue
247 ;;
227248 nosideeffect)
228249 # after this tag, mechanisms are not by side-effect, so they'll
229250 # only be used when explicitly requested
233254 break
234255 fi
235256 ;;
257 msvisualcpp | msvcmsys)
258 # This compiler won't grok `-c -o', but also, the minuso test has
259 # not run yet. These depmodes are late enough in the game, and
260 # so weak that their functioning should not be impacted.
261 am__obj=conftest.${OBJEXT-o}
262 am__minus_obj=
263 ;;
236264 none) break ;;
237265 esac
238 # We check with `-c' and `-o' for the sake of the "dashmstdout"
239 # mode. It turns out that the SunPro C++ compiler does not properly
240 # handle `-M -o', and we need to detect this.
241266 if depmode=$depmode \
242 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
267 source=sub/conftest.c object=$am__obj \
243268 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
244 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
269 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
245270 >/dev/null 2>conftest.err &&
246271 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
247272 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
248 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
273 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
249274 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
250275 # icc doesn't choke on unknown options, it will just issue warnings
251276 # or remarks (even with -Werror). So we grep stderr for any message
302327
303328 # Generate code to set up dependency tracking. -*- Autoconf -*-
304329
305 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
330 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
306331 # Free Software Foundation, Inc.
307332 #
308333 # This file is free software; the Free Software Foundation
309334 # gives unlimited permission to copy and/or distribute it,
310335 # with or without modifications, as long as this notice is preserved.
311336
312 #serial 3
337 #serial 5
313338
314339 # _AM_OUTPUT_DEPENDENCY_COMMANDS
315340 # ------------------------------
316341 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
317 [for mf in $CONFIG_FILES; do
318 # Strip MF so we end up with the name of the file.
319 mf=`echo "$mf" | sed -e 's/:.*$//'`
320 # Check whether this is an Automake generated Makefile or not.
321 # We used to match only the files named `Makefile.in', but
322 # some people rename them; so instead we look at the file content.
323 # Grep'ing the first line is not enough: some people post-process
324 # each Makefile.in and add a new line on top of each file to say so.
325 # Grep'ing the whole file is not good either: AIX grep has a line
326 # limit of 2048, but all sed's we know have understand at least 4000.
327 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
328 dirpart=`AS_DIRNAME("$mf")`
329 else
330 continue
331 fi
332 # Extract the definition of DEPDIR, am__include, and am__quote
333 # from the Makefile without running `make'.
334 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
335 test -z "$DEPDIR" && continue
336 am__include=`sed -n 's/^am__include = //p' < "$mf"`
337 test -z "am__include" && continue
338 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
339 # When using ansi2knr, U may be empty or an underscore; expand it
340 U=`sed -n 's/^U = //p' < "$mf"`
341 # Find all dependency output files, they are included files with
342 # $(DEPDIR) in their names. We invoke sed twice because it is the
343 # simplest approach to changing $(DEPDIR) to its actual value in the
344 # expansion.
345 for file in `sed -n "
346 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
347 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
348 # Make sure the directory exists.
349 test -f "$dirpart/$file" && continue
350 fdir=`AS_DIRNAME(["$file"])`
351 AS_MKDIR_P([$dirpart/$fdir])
352 # echo "creating $dirpart/$file"
353 echo '# dummy' > "$dirpart/$file"
342 [{
343 # Autoconf 2.62 quotes --file arguments for eval, but not when files
344 # are listed without --file. Let's play safe and only enable the eval
345 # if we detect the quoting.
346 case $CONFIG_FILES in
347 *\'*) eval set x "$CONFIG_FILES" ;;
348 *) set x $CONFIG_FILES ;;
349 esac
350 shift
351 for mf
352 do
353 # Strip MF so we end up with the name of the file.
354 mf=`echo "$mf" | sed -e 's/:.*$//'`
355 # Check whether this is an Automake generated Makefile or not.
356 # We used to match only the files named `Makefile.in', but
357 # some people rename them; so instead we look at the file content.
358 # Grep'ing the first line is not enough: some people post-process
359 # each Makefile.in and add a new line on top of each file to say so.
360 # Grep'ing the whole file is not good either: AIX grep has a line
361 # limit of 2048, but all sed's we know have understand at least 4000.
362 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
363 dirpart=`AS_DIRNAME("$mf")`
364 else
365 continue
366 fi
367 # Extract the definition of DEPDIR, am__include, and am__quote
368 # from the Makefile without running `make'.
369 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
370 test -z "$DEPDIR" && continue
371 am__include=`sed -n 's/^am__include = //p' < "$mf"`
372 test -z "am__include" && continue
373 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
374 # When using ansi2knr, U may be empty or an underscore; expand it
375 U=`sed -n 's/^U = //p' < "$mf"`
376 # Find all dependency output files, they are included files with
377 # $(DEPDIR) in their names. We invoke sed twice because it is the
378 # simplest approach to changing $(DEPDIR) to its actual value in the
379 # expansion.
380 for file in `sed -n "
381 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
383 # Make sure the directory exists.
384 test -f "$dirpart/$file" && continue
385 fdir=`AS_DIRNAME(["$file"])`
386 AS_MKDIR_P([$dirpart/$fdir])
387 # echo "creating $dirpart/$file"
388 echo '# dummy' > "$dirpart/$file"
389 done
354390 done
355 done
391 }
356392 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
357393
358394
384420 # Do all the work for Automake. -*- Autoconf -*-
385421
386422 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
387 # 2005, 2006, 2008 Free Software Foundation, Inc.
388 #
389 # This file is free software; the Free Software Foundation
390 # gives unlimited permission to copy and/or distribute it,
391 # with or without modifications, as long as this notice is preserved.
392
393 # serial 13
423 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
424 #
425 # This file is free software; the Free Software Foundation
426 # gives unlimited permission to copy and/or distribute it,
427 # with or without modifications, as long as this notice is preserved.
428
429 # serial 16
394430
395431 # This macro actually does too much. Some checks are only needed if
396432 # your package does certain things. But this isn't really a big deal.
407443 # arguments mandatory, and then we can depend on a new Autoconf
408444 # release and drop the old call support.
409445 AC_DEFUN([AM_INIT_AUTOMAKE],
410 [AC_PREREQ([2.60])dnl
446 [AC_PREREQ([2.62])dnl
411447 dnl Autoconf wants to disallow AM_ names. We explicitly allow
412448 dnl the ones we care about.
413449 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
458494 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
459495 AM_MISSING_PROG(AUTOHEADER, autoheader)
460496 AM_MISSING_PROG(MAKEINFO, makeinfo)
461 AM_PROG_INSTALL_SH
462 AM_PROG_INSTALL_STRIP
497 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
498 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
463499 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
464500 # We need awk for the "check" target. The system "awk" is bad on
465501 # some platforms.
467503 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
468504 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
469505 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
470 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
471 [_AM_PROG_TAR([v7])])])
506 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
507 [_AM_PROG_TAR([v7])])])
472508 _AM_IF_OPTION([no-dependencies],,
473509 [AC_PROVIDE_IFELSE([AC_PROG_CC],
474 [_AM_DEPENDENCIES(CC)],
475 [define([AC_PROG_CC],
476 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
510 [_AM_DEPENDENCIES(CC)],
511 [define([AC_PROG_CC],
512 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
477513 AC_PROVIDE_IFELSE([AC_PROG_CXX],
478 [_AM_DEPENDENCIES(CXX)],
479 [define([AC_PROG_CXX],
480 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
514 [_AM_DEPENDENCIES(CXX)],
515 [define([AC_PROG_CXX],
516 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
481517 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
482 [_AM_DEPENDENCIES(OBJC)],
483 [define([AC_PROG_OBJC],
484 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
485 ])
486 ])
518 [_AM_DEPENDENCIES(OBJC)],
519 [define([AC_PROG_OBJC],
520 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
521 ])
522 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
523 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
524 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
525 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
526 AC_CONFIG_COMMANDS_PRE(dnl
527 [m4_provide_if([_AM_COMPILER_EXEEXT],
528 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
529 ])
530
531 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
532 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
533 dnl mangled by Autoconf and run in a shell conditional statement.
534 m4_define([_AC_COMPILER_EXEEXT],
535 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
487536
488537
489538 # When config.status generates a header, we must update the stamp-h file.
507556 done
508557 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
509558
510 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
559 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
511560 #
512561 # This file is free software; the Free Software Foundation
513562 # gives unlimited permission to copy and/or distribute it,
518567 # Define $install_sh.
519568 AC_DEFUN([AM_PROG_INSTALL_SH],
520569 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
521 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
570 if test x"${install_sh}" != xset; then
571 case $am_aux_dir in
572 *\ * | *\ *)
573 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
574 *)
575 install_sh="\${SHELL} $am_aux_dir/install-sh"
576 esac
577 fi
522578 AC_SUBST(install_sh)])
523579
524580 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
544600
545601 # Check to see how 'make' treats includes. -*- Autoconf -*-
546602
547 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
548 #
549 # This file is free software; the Free Software Foundation
550 # gives unlimited permission to copy and/or distribute it,
551 # with or without modifications, as long as this notice is preserved.
552
553 # serial 3
603 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
604 #
605 # This file is free software; the Free Software Foundation
606 # gives unlimited permission to copy and/or distribute it,
607 # with or without modifications, as long as this notice is preserved.
608
609 # serial 4
554610
555611 # AM_MAKE_INCLUDE()
556612 # -----------------
559615 [am_make=${MAKE-make}
560616 cat > confinc << 'END'
561617 am__doit:
562 @echo done
618 @echo this is the am__doit target
563619 .PHONY: am__doit
564620 END
565621 # If we don't find an include directive, just comment out the code.
569625 _am_result=none
570626 # First try GNU make style include.
571627 echo "include confinc" > confmf
572 # We grep out `Entering directory' and `Leaving directory'
573 # messages which can occur if `w' ends up in MAKEFLAGS.
574 # In particular we don't look at `^make:' because GNU make might
575 # be invoked under some other name (usually "gmake"), in which
576 # case it prints its new name instead of `make'.
577 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
578 am__include=include
579 am__quote=
580 _am_result=GNU
581 fi
628 # Ignore all kinds of additional output from `make'.
629 case `$am_make -s -f confmf 2> /dev/null` in #(
630 *the\ am__doit\ target*)
631 am__include=include
632 am__quote=
633 _am_result=GNU
634 ;;
635 esac
582636 # Now try BSD make style include.
583637 if test "$am__include" = "#"; then
584638 echo '.include "confinc"' > confmf
585 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
586 am__include=.include
587 am__quote="\""
588 _am_result=BSD
589 fi
639 case `$am_make -s -f confmf 2> /dev/null` in #(
640 *the\ am__doit\ target*)
641 am__include=.include
642 am__quote="\""
643 _am_result=BSD
644 ;;
645 esac
590646 fi
591647 AC_SUBST([am__include])
592648 AC_SUBST([am__quote])
596652
597653 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
598654
599 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
655 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
600656 # Free Software Foundation, Inc.
601657 #
602658 # This file is free software; the Free Software Foundation
603659 # gives unlimited permission to copy and/or distribute it,
604660 # with or without modifications, as long as this notice is preserved.
605661
606 # serial 5
662 # serial 6
607663
608664 # AM_MISSING_PROG(NAME, PROGRAM)
609665 # ------------------------------
620676 AC_DEFUN([AM_MISSING_HAS_RUN],
621677 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
622678 AC_REQUIRE_AUX_FILE([missing])dnl
623 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
679 if test x"${MISSING+set}" != xset; then
680 case $am_aux_dir in
681 *\ * | *\ *)
682 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
683 *)
684 MISSING="\${SHELL} $am_aux_dir/missing" ;;
685 esac
686 fi
624687 # Use eval to expand $SHELL
625688 if eval "$MISSING --run true"; then
626689 am_missing_run="$MISSING --run "
658721
659722 # Helper functions for option handling. -*- Autoconf -*-
660723
661 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
662 #
663 # This file is free software; the Free Software Foundation
664 # gives unlimited permission to copy and/or distribute it,
665 # with or without modifications, as long as this notice is preserved.
666
667 # serial 3
724 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
725 #
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 # serial 4
668731
669732 # _AM_MANGLE_OPTION(NAME)
670733 # -----------------------
681744 # ----------------------------------
682745 # OPTIONS is a space-separated list of Automake options.
683746 AC_DEFUN([_AM_SET_OPTIONS],
684 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
747 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
685748
686749 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
687750 # -------------------------------------------
691754
692755 # Check to make sure that the build environment is sane. -*- Autoconf -*-
693756
694 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
757 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
695758 # Free Software Foundation, Inc.
696759 #
697760 # This file is free software; the Free Software Foundation
698761 # gives unlimited permission to copy and/or distribute it,
699762 # with or without modifications, as long as this notice is preserved.
700763
701 # serial 4
764 # serial 5
702765
703766 # AM_SANITY_CHECK
704767 # ---------------
707770 # Just in case
708771 sleep 1
709772 echo timestamp > conftest.file
773 # Reject unsafe characters in $srcdir or the absolute working directory
774 # name. Accept space and tab only in the latter.
775 am_lf='
776 '
777 case `pwd` in
778 *[[\\\"\#\$\&\'\`$am_lf]]*)
779 AC_MSG_ERROR([unsafe absolute working directory name]);;
780 esac
781 case $srcdir in
782 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
783 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
784 esac
785
710786 # Do `set' in a subshell so we don't clobber the current shell's
711787 # arguments. Must try -L first in case configure is actually a
712788 # symlink; some systems play weird games with the mod time of symlinks
713789 # (eg FreeBSD returns the mod time of the symlink's containing
714790 # directory).
715791 if (
716 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
792 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
717793 if test "$[*]" = "X"; then
718794 # -L didn't work.
719 set X `ls -t $srcdir/configure conftest.file`
795 set X `ls -t "$srcdir/configure" conftest.file`
720796 fi
721797 rm -f conftest.file
722798 if test "$[*]" != "X $srcdir/configure conftest.file" \
769845 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
770846 AC_SUBST([INSTALL_STRIP_PROGRAM])])
771847
772 # Copyright (C) 2006 Free Software Foundation, Inc.
773 #
774 # This file is free software; the Free Software Foundation
775 # gives unlimited permission to copy and/or distribute it,
776 # with or without modifications, as long as this notice is preserved.
848 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
849 #
850 # This file is free software; the Free Software Foundation
851 # gives unlimited permission to copy and/or distribute it,
852 # with or without modifications, as long as this notice is preserved.
853
854 # serial 2
777855
778856 # _AM_SUBST_NOTMAKE(VARIABLE)
779857 # ---------------------------
780858 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
781859 # This macro is traced by Automake.
782860 AC_DEFUN([_AM_SUBST_NOTMAKE])
861
862 # AM_SUBST_NOTMAKE(VARIABLE)
863 # ---------------------------
864 # Public sister of _AM_SUBST_NOTMAKE.
865 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
783866
784867 # Check how to create a tarball. -*- Autoconf -*-
785868
6262 /* Define to the one symbol short name of this package. */
6363 #undef PACKAGE_TARNAME
6464
65 /* Define to the home page for this package. */
66 #undef PACKAGE_URL
67
6568 /* Define to the version of this package. */
6669 #undef PACKAGE_VERSION
6770
+1802
-2617
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.63.
2 # Generated by GNU Autoconf 2.65.
3 #
34 #
45 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # Inc.
8 #
9 #
610 # This configure script is free software; the Free Software Foundation
711 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
1115
1216 # Be more Bourne compatible
1317 DUALCASE=1; export DUALCASE # for MKS sh
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1519 emulate sh
1620 NULLCMD=:
1721 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1923 alias -g '${1+"$@"}'='"$@"'
2024 setopt NO_GLOB_SUBST
2125 else
22 case `(set -o) 2>/dev/null` in
23 *posix*) set -o posix ;;
26 case `(set -o) 2>/dev/null` in #(
27 *posix*) :
28 set -o posix ;; #(
29 *) :
30 ;;
2431 esac
25
26 fi
27
28
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
32 fi
33
3834
3935 as_nl='
4036 '
4339 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4749 as_echo='printf %s\n'
4850 as_echo_n='printf %s'
4951 else
5456 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5557 as_echo_n_body='eval
5658 arg=$1;
57 case $arg in
59 case $arg in #(
5860 *"$as_nl"*)
5961 expr "X$arg" : "X\\(.*\\)$as_nl";
6062 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7779 }
7880 fi
7981
80 # Support unset when possible.
81 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
82 as_unset=unset
83 else
84 as_unset=false
85 fi
86
8782
8883 # IFS
8984 # We need space, tab and new line, in precisely that order. Quoting is
9388 IFS=" "" $as_nl"
9489
9590 # Find who we are. Look in the path if we contain no directory separator.
96 case $0 in
91 case $0 in #((
9792 *[\\/]* ) as_myself=$0 ;;
9893 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9994 for as_dir in $PATH
10095 do
10196 IFS=$as_save_IFS
10297 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 done
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
105100 IFS=$as_save_IFS
106101
107102 ;;
113108 fi
114109 if test ! -f "$as_myself"; then
115110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 { (exit 1); exit 1; }
117 fi
118
119 # Work around bugs in pre-3.0 UWIN ksh.
120 for as_var in ENV MAIL MAILPATH
121 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122121 done
123122 PS1='$ '
124123 PS2='> '
130129 LANGUAGE=C
131130 export LANGUAGE
132131
133 # Required to use basename.
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 if test "x$CONFIG_SHELL" = x; then
136 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
137 emulate sh
138 NULLCMD=:
139 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
140 # is contrary to our usage. Disable this feature.
141 alias -g '\${1+\"\$@\"}'='\"\$@\"'
142 setopt NO_GLOB_SUBST
143 else
144 case \`(set -o) 2>/dev/null\` in #(
145 *posix*) :
146 set -o posix ;; #(
147 *) :
148 ;;
149 esac
150 fi
151 "
152 as_required="as_fn_return () { (exit \$1); }
153 as_fn_success () { as_fn_return 0; }
154 as_fn_failure () { as_fn_return 1; }
155 as_fn_ret_success () { return 0; }
156 as_fn_ret_failure () { return 1; }
157
158 exitcode=0
159 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
160 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
161 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
162 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
163 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164
165 else
166 exitcode=1; echo positional parameters were not saved.
167 fi
168 test x\$exitcode = x0 || exit 1"
169 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
170 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
171 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
172 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test \$(( 1 + 1 )) = 2 || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
175 as_have_required=yes
176 else
177 as_have_required=no
178 fi
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180
181 else
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 as_found=false
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 do
186 IFS=$as_save_IFS
187 test -z "$as_dir" && as_dir=.
188 as_found=:
189 case $as_dir in #(
190 /*)
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 break 2
199 fi
200 fi
201 done;;
202 esac
203 as_found=false
204 done
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
208 fi; }
209 IFS=$as_save_IFS
210
211
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
216 BASH_ENV=/dev/null
217 ENV=/dev/null
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 export CONFIG_SHELL
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 fi
222
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 else
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
234 fi
235 exit 1
236 fi
237 fi
238 fi
239 SHELL=${CONFIG_SHELL-/bin/sh}
240 export SHELL
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
244
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
248 # as_fn_unset VAR
249 # ---------------
250 # Portably unset VAR.
251 as_fn_unset ()
252 {
253 { eval $1=; unset $1;}
254 }
255 as_unset=as_fn_unset
256
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
260 as_fn_set_status ()
261 {
262 return $1
263 } # as_fn_set_status
264
265 # as_fn_exit STATUS
266 # -----------------
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
268 as_fn_exit ()
269 {
270 set +e
271 as_fn_set_status $1
272 exit $1
273 } # as_fn_exit
274
275 # as_fn_mkdir_p
276 # -------------
277 # Create "$as_dir" as a directory, including parents if necessary.
278 as_fn_mkdir_p ()
279 {
280
281 case $as_dir in #(
282 -*) as_dir=./$as_dir;;
283 esac
284 test -d "$as_dir" || eval $as_mkdir_p || {
285 as_dirs=
286 while :; do
287 case $as_dir in #(
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 *) as_qdir=$as_dir;;
290 esac
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
299 s//\1/
300 q
301 }
302 /^X\(\/\/\)[^/].*/{
303 s//\1/
304 q
305 }
306 /^X\(\/\/\)$/{
307 s//\1/
308 q
309 }
310 /^X\(\/\).*/{
311 s//\1/
312 q
313 }
314 s/.*/./; q'`
315 test -d "$as_dir" && break
316 done
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
319
320
321 } # as_fn_mkdir_p
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
327 # implementations.
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
330 {
331 eval $1+=\$2
332 }'
333 else
334 as_fn_append ()
335 {
336 eval $1=\$$1\$2
337 }
338 fi # as_fn_append
339
340 # as_fn_arith ARG...
341 # ------------------
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
346 eval 'as_fn_arith ()
347 {
348 as_val=$(( $* ))
349 }'
350 else
351 as_fn_arith ()
352 {
353 as_val=`expr "$@" || test $? -eq 1`
354 }
355 fi # as_fn_arith
356
357
358 # as_fn_error ERROR [LINENO LOG_FD]
359 # ---------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with status $?, using 1 if that was 0.
363 as_fn_error ()
364 {
365 as_status=$?; test $as_status -eq 0 && as_status=1
366 if test "$3"; then
367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 fi
370 $as_echo "$as_me: error: $1" >&2
371 as_fn_exit $as_status
372 } # as_fn_error
373
134374 if expr a : '\(a\)' >/dev/null 2>&1 &&
135375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
136376 as_expr=expr
144384 as_basename=false
145385 fi
146386
147
148 # Name of the executable.
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388 as_dirname=dirname
389 else
390 as_dirname=false
391 fi
392
149393 as_me=`$as_basename -- "$0" ||
150394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
151395 X"$0" : 'X\(//\)$' \| \
165409 }
166410 s/.*/./; q'`
167411
168 # CDPATH.
169 $as_unset CDPATH
170
171
172 if test "x$CONFIG_SHELL" = x; then
173 if (eval ":") 2>/dev/null; then
174 as_have_required=yes
175 else
176 as_have_required=no
177 fi
178
179 if test $as_have_required = yes && (eval ":
180 (as_func_return () {
181 (exit \$1)
182 }
183 as_func_success () {
184 as_func_return 0
185 }
186 as_func_failure () {
187 as_func_return 1
188 }
189 as_func_ret_success () {
190 return 0
191 }
192 as_func_ret_failure () {
193 return 1
194 }
195
196 exitcode=0
197 if as_func_success; then
198 :
199 else
200 exitcode=1
201 echo as_func_success failed.
202 fi
203
204 if as_func_failure; then
205 exitcode=1
206 echo as_func_failure succeeded.
207 fi
208
209 if as_func_ret_success; then
210 :
211 else
212 exitcode=1
213 echo as_func_ret_success failed.
214 fi
215
216 if as_func_ret_failure; then
217 exitcode=1
218 echo as_func_ret_failure succeeded.
219 fi
220
221 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
222 :
223 else
224 exitcode=1
225 echo positional parameters were not saved.
226 fi
227
228 test \$exitcode = 0) || { (exit 1); exit 1; }
229
230 (
231 as_lineno_1=\$LINENO
232 as_lineno_2=\$LINENO
233 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
234 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
235 ") 2> /dev/null; then
236 :
237 else
238 as_candidate_shells=
239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
240 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
241 do
242 IFS=$as_save_IFS
243 test -z "$as_dir" && as_dir=.
244 case $as_dir in
245 /*)
246 for as_base in sh bash ksh sh5; do
247 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
248 done;;
249 esac
250 done
251 IFS=$as_save_IFS
252
253
254 for as_shell in $as_candidate_shells $SHELL; do
255 # Try only shells that exist, to save several forks.
256 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
257 { ("$as_shell") 2> /dev/null <<\_ASEOF
258 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
259 emulate sh
260 NULLCMD=:
261 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
262 # is contrary to our usage. Disable this feature.
263 alias -g '${1+"$@"}'='"$@"'
264 setopt NO_GLOB_SUBST
265 else
266 case `(set -o) 2>/dev/null` in
267 *posix*) set -o posix ;;
268 esac
269
270 fi
271
272
273 :
274 _ASEOF
275 }; then
276 CONFIG_SHELL=$as_shell
277 as_have_required=yes
278 if { "$as_shell" 2> /dev/null <<\_ASEOF
279 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
280 emulate sh
281 NULLCMD=:
282 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
283 # is contrary to our usage. Disable this feature.
284 alias -g '${1+"$@"}'='"$@"'
285 setopt NO_GLOB_SUBST
286 else
287 case `(set -o) 2>/dev/null` in
288 *posix*) set -o posix ;;
289 esac
290
291 fi
292
293
294 :
295 (as_func_return () {
296 (exit $1)
297 }
298 as_func_success () {
299 as_func_return 0
300 }
301 as_func_failure () {
302 as_func_return 1
303 }
304 as_func_ret_success () {
305 return 0
306 }
307 as_func_ret_failure () {
308 return 1
309 }
310
311 exitcode=0
312 if as_func_success; then
313 :
314 else
315 exitcode=1
316 echo as_func_success failed.
317 fi
318
319 if as_func_failure; then
320 exitcode=1
321 echo as_func_failure succeeded.
322 fi
323
324 if as_func_ret_success; then
325 :
326 else
327 exitcode=1
328 echo as_func_ret_success failed.
329 fi
330
331 if as_func_ret_failure; then
332 exitcode=1
333 echo as_func_ret_failure succeeded.
334 fi
335
336 if ( set x; as_func_ret_success y && test x = "$1" ); then
337 :
338 else
339 exitcode=1
340 echo positional parameters were not saved.
341 fi
342
343 test $exitcode = 0) || { (exit 1); exit 1; }
344
345 (
346 as_lineno_1=$LINENO
347 as_lineno_2=$LINENO
348 test "x$as_lineno_1" != "x$as_lineno_2" &&
349 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
350
351 _ASEOF
352 }; then
353 break
354 fi
355
356 fi
357
358 done
359
360 if test "x$CONFIG_SHELL" != x; then
361 for as_var in BASH_ENV ENV
362 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
363 done
364 export CONFIG_SHELL
365 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
366 fi
367
368
369 if test $as_have_required = no; then
370 echo This script requires a shell more modern than all the
371 echo shells that I found on your system. Please install a
372 echo modern shell, or manually run the script under such a
373 echo shell if you do have one.
374 { (exit 1); exit 1; }
375 fi
376
377
378 fi
379
380 fi
381
382
383
384 (eval "as_func_return () {
385 (exit \$1)
386 }
387 as_func_success () {
388 as_func_return 0
389 }
390 as_func_failure () {
391 as_func_return 1
392 }
393 as_func_ret_success () {
394 return 0
395 }
396 as_func_ret_failure () {
397 return 1
398 }
399
400 exitcode=0
401 if as_func_success; then
402 :
403 else
404 exitcode=1
405 echo as_func_success failed.
406 fi
407
408 if as_func_failure; then
409 exitcode=1
410 echo as_func_failure succeeded.
411 fi
412
413 if as_func_ret_success; then
414 :
415 else
416 exitcode=1
417 echo as_func_ret_success failed.
418 fi
419
420 if as_func_ret_failure; then
421 exitcode=1
422 echo as_func_ret_failure succeeded.
423 fi
424
425 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
426 :
427 else
428 exitcode=1
429 echo positional parameters were not saved.
430 fi
431
432 test \$exitcode = 0") || {
433 echo No shell found that supports shell functions.
434 echo Please tell bug-autoconf@gnu.org about your system,
435 echo including any error possibly output before this message.
436 echo This can help us improve future autoconf versions.
437 echo Configuration will now proceed without shell functions.
438 }
439
440
441
442 as_lineno_1=$LINENO
443 as_lineno_2=$LINENO
444 test "x$as_lineno_1" != "x$as_lineno_2" &&
445 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
446
447 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
448 # uniformly replaced by the line number. The first 'sed' inserts a
449 # line-number line after each line using $LINENO; the second 'sed'
450 # does the real work. The second script uses 'N' to pair each
451 # line-number line with the line containing $LINENO, and appends
452 # trailing '-' during substitution so that $LINENO is not a special
453 # case at line end.
454 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
455 # scripts with optimization help from Paolo Bonzini. Blame Lee
456 # E. McMahon (1931-1989) for sed's syntax. :-)
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
418
419
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457425 sed -n '
458426 p
459427 /[$]LINENO/=
470438 s/-\n.*//
471439 ' >$as_me.lineno &&
472440 chmod +x "$as_me.lineno" ||
473 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
474 { (exit 1); exit 1; }; }
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
475442
476443 # Don't try to exec as it changes $[0], causing all sort of problems
477444 # (the dirname of $[0] is not the place where we might find the
481448 exit
482449 }
483450
484
485 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
486 as_dirname=dirname
487 else
488 as_dirname=false
489 fi
490
491451 ECHO_C= ECHO_N= ECHO_T=
492 case `echo -n x` in
452 case `echo -n x` in #(((((
493453 -n*)
494 case `echo 'x\c'` in
454 case `echo 'xy\c'` in
495455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
496 *) ECHO_C='\c';;
456 xy) ECHO_C='\c';;
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
458 ECHO_T=' ';;
497459 esac;;
498460 *)
499461 ECHO_N='-n';;
500462 esac
501 if expr a : '\(a\)' >/dev/null 2>&1 &&
502 test "X`expr 00001 : '.*\(...\)'`" = X001; then
503 as_expr=expr
504 else
505 as_expr=false
506 fi
507463
508464 rm -f conf$$ conf$$.exe conf$$.file
509465 if test -d conf$$.dir; then
533489 rmdir conf$$.dir 2>/dev/null
534490
535491 if mkdir -p . 2>/dev/null; then
536 as_mkdir_p=:
492 as_mkdir_p='mkdir -p "$as_dir"'
537493 else
538494 test -d ./-p && rmdir ./-p
539495 as_mkdir_p=false
552508 if test -d "$1"; then
553509 test -d "$1/.";
554510 else
555 case $1 in
511 case $1 in #(
556512 -*)set "./$1";;
557513 esac;
558 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
559515 ???[sx]*):;;*)false;;esac;fi
560516 '\'' sh
561517 '
569525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
570526
571527
572
573 exec 7<&0 </dev/null 6>&1
528 test -n "$DJDIR" || exec 7<&0 </dev/null
529 exec 6>&1
574530
575531 # Name of the host.
576532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
588544 subdirs=
589545 MFLAGS=
590546 MAKEFLAGS=
591 SHELL=${CONFIG_SHELL-/bin/sh}
592547
593548 # Identity of this package.
594549 PACKAGE_NAME=
596551 PACKAGE_VERSION=
597552 PACKAGE_STRING=
598553 PACKAGE_BUGREPORT=
554 PACKAGE_URL=
599555
600556 ac_unique_file="squidview.cpp"
601557 # Factoring default headers for most tests.
634590 # include <unistd.h>
635591 #endif"
636592
637 ac_subst_vars='LTLIBOBJS
593 ac_subst_vars='am__EXEEXT_FALSE
594 am__EXEEXT_TRUE
595 LTLIBOBJS
638596 LIBOBJS
639597 CXXCPP
640598 EGREP
715673 program_transform_name
716674 prefix
717675 exec_prefix
676 PACKAGE_URL
718677 PACKAGE_BUGREPORT
719678 PACKAGE_STRING
720679 PACKAGE_VERSION
848807 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
849808 # Reject names that are not valid shell variable names.
850809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
851 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
852 { (exit 1); exit 1; }; }
810 as_fn_error "invalid feature name: $ac_useropt"
853811 ac_useropt_orig=$ac_useropt
854812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855813 case $ac_user_opts in
875833 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876834 # Reject names that are not valid shell variable names.
877835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
879 { (exit 1); exit 1; }; }
836 as_fn_error "invalid feature name: $ac_useropt"
880837 ac_useropt_orig=$ac_useropt
881838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882839 case $ac_user_opts in
10801037 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10811038 # Reject names that are not valid shell variable names.
10821039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1084 { (exit 1); exit 1; }; }
1040 as_fn_error "invalid package name: $ac_useropt"
10851041 ac_useropt_orig=$ac_useropt
10861042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10871043 case $ac_user_opts in
10971053 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10981054 # Reject names that are not valid shell variable names.
10991055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1100 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1101 { (exit 1); exit 1; }; }
1056 as_fn_error "invalid package name: $ac_useropt"
11021057 ac_useropt_orig=$ac_useropt
11031058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
11041059 case $ac_user_opts in
11281083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
11291084 x_libraries=$ac_optarg ;;
11301085
1131 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1132 Try \`$0 --help' for more information." >&2
1133 { (exit 1); exit 1; }; }
1086 -*) as_fn_error "unrecognized option: \`$ac_option'
1087 Try \`$0 --help' for more information."
11341088 ;;
11351089
11361090 *=*)
11371091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
11381092 # Reject names that are not valid shell variable names.
1139 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1140 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1141 { (exit 1); exit 1; }; }
1093 case $ac_envvar in #(
1094 '' | [0-9]* | *[!_$as_cr_alnum]* )
1095 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1096 esac
11421097 eval $ac_envvar=\$ac_optarg
11431098 export $ac_envvar ;;
11441099
11551110
11561111 if test -n "$ac_prev"; then
11571112 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1158 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1159 { (exit 1); exit 1; }; }
1113 as_fn_error "missing argument to $ac_option"
11601114 fi
11611115
11621116 if test -n "$ac_unrecognized_opts"; then
11631117 case $enable_option_checking in
11641118 no) ;;
1165 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1166 { (exit 1); exit 1; }; } ;;
1119 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
11671120 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11681121 esac
11691122 fi
11861139 [\\/$]* | ?:[\\/]* ) continue;;
11871140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11881141 esac
1189 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1190 { (exit 1); exit 1; }; }
1142 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
11911143 done
11921144
11931145 # There might be people who depend on the old broken behavior: `$host'
12171169 ac_pwd=`pwd` && test -n "$ac_pwd" &&
12181170 ac_ls_di=`ls -di .` &&
12191171 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1220 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1221 { (exit 1); exit 1; }; }
1172 as_fn_error "working directory cannot be determined"
12221173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1224 { (exit 1); exit 1; }; }
1174 as_fn_error "pwd does not report name of working directory"
12251175
12261176
12271177 # Find the source files, if location was not specified.
12601210 fi
12611211 if test ! -r "$srcdir/$ac_unique_file"; then
12621212 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1263 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1264 { (exit 1); exit 1; }; }
1213 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
12651214 fi
12661215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12671216 ac_abs_confdir=`(
1268 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1269 { (exit 1); exit 1; }; }
1217 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
12701218 pwd)`
12711219 # When building in place, set srcdir=.
12721220 if test "$ac_abs_confdir" = "$ac_pwd"; then
13731321 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13741322 nonstandard directory <lib dir>
13751323 LIBS libraries to pass to the linker, e.g. -l<library>
1376 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1324 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13771325 you have headers in a nonstandard directory <include dir>
13781326 CC C compiler command
13791327 CFLAGS C compiler flags
13831331 Use these variables to override the choices made by `configure' or to help
13841332 it to find libraries and programs with nonstandard names/locations.
13851333
1334 Report bugs to the package provider.
13861335 _ACEOF
13871336 ac_status=$?
13881337 fi
14461395 if $ac_init_version; then
14471396 cat <<\_ACEOF
14481397 configure
1449 generated by GNU Autoconf 2.63
1450
1451 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1452 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1398 generated by GNU Autoconf 2.65
1399
1400 Copyright (C) 2009 Free Software Foundation, Inc.
14531401 This configure script is free software; the Free Software Foundation
14541402 gives unlimited permission to copy, distribute and modify it.
14551403 _ACEOF
14561404 exit
14571405 fi
1406
1407 ## ------------------------ ##
1408 ## Autoconf initialization. ##
1409 ## ------------------------ ##
1410
1411 # ac_fn_cxx_try_compile LINENO
1412 # ----------------------------
1413 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1414 ac_fn_cxx_try_compile ()
1415 {
1416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1417 rm -f conftest.$ac_objext
1418 if { { ac_try="$ac_compile"
1419 case "(($ac_try" in
1420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1421 *) ac_try_echo=$ac_try;;
1422 esac
1423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1424 $as_echo "$ac_try_echo"; } >&5
1425 (eval "$ac_compile") 2>conftest.err
1426 ac_status=$?
1427 if test -s conftest.err; then
1428 grep -v '^ *+' conftest.err >conftest.er1
1429 cat conftest.er1 >&5
1430 mv -f conftest.er1 conftest.err
1431 fi
1432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1433 test $ac_status = 0; } && {
1434 test -z "$ac_cxx_werror_flag" ||
1435 test ! -s conftest.err
1436 } && test -s conftest.$ac_objext; then :
1437 ac_retval=0
1438 else
1439 $as_echo "$as_me: failed program was:" >&5
1440 sed 's/^/| /' conftest.$ac_ext >&5
1441
1442 ac_retval=1
1443 fi
1444 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1445 as_fn_set_status $ac_retval
1446
1447 } # ac_fn_cxx_try_compile
1448
1449 # ac_fn_c_try_compile LINENO
1450 # --------------------------
1451 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1452 ac_fn_c_try_compile ()
1453 {
1454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1455 rm -f conftest.$ac_objext
1456 if { { ac_try="$ac_compile"
1457 case "(($ac_try" in
1458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1459 *) ac_try_echo=$ac_try;;
1460 esac
1461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1462 $as_echo "$ac_try_echo"; } >&5
1463 (eval "$ac_compile") 2>conftest.err
1464 ac_status=$?
1465 if test -s conftest.err; then
1466 grep -v '^ *+' conftest.err >conftest.er1
1467 cat conftest.er1 >&5
1468 mv -f conftest.er1 conftest.err
1469 fi
1470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1471 test $ac_status = 0; } && {
1472 test -z "$ac_c_werror_flag" ||
1473 test ! -s conftest.err
1474 } && test -s conftest.$ac_objext; then :
1475 ac_retval=0
1476 else
1477 $as_echo "$as_me: failed program was:" >&5
1478 sed 's/^/| /' conftest.$ac_ext >&5
1479
1480 ac_retval=1
1481 fi
1482 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1483 as_fn_set_status $ac_retval
1484
1485 } # ac_fn_c_try_compile
1486
1487 # ac_fn_c_try_cpp LINENO
1488 # ----------------------
1489 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1490 ac_fn_c_try_cpp ()
1491 {
1492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493 if { { ac_try="$ac_cpp conftest.$ac_ext"
1494 case "(($ac_try" in
1495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1496 *) ac_try_echo=$ac_try;;
1497 esac
1498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1499 $as_echo "$ac_try_echo"; } >&5
1500 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1501 ac_status=$?
1502 if test -s conftest.err; then
1503 grep -v '^ *+' conftest.err >conftest.er1
1504 cat conftest.er1 >&5
1505 mv -f conftest.er1 conftest.err
1506 fi
1507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1508 test $ac_status = 0; } >/dev/null && {
1509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1510 test ! -s conftest.err
1511 }; then :
1512 ac_retval=0
1513 else
1514 $as_echo "$as_me: failed program was:" >&5
1515 sed 's/^/| /' conftest.$ac_ext >&5
1516
1517 ac_retval=1
1518 fi
1519 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1520 as_fn_set_status $ac_retval
1521
1522 } # ac_fn_c_try_cpp
1523
1524 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1525 # -------------------------------------------------------
1526 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1527 # the include files in INCLUDES and setting the cache variable VAR
1528 # accordingly.
1529 ac_fn_c_check_header_mongrel ()
1530 {
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1534 $as_echo_n "checking for $2... " >&6; }
1535 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1536 $as_echo_n "(cached) " >&6
1537 fi
1538 eval ac_res=\$$3
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1540 $as_echo "$ac_res" >&6; }
1541 else
1542 # Is the header compilable?
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1544 $as_echo_n "checking $2 usability... " >&6; }
1545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1546 /* end confdefs.h. */
1547 $4
1548 #include <$2>
1549 _ACEOF
1550 if ac_fn_c_try_compile "$LINENO"; then :
1551 ac_header_compiler=yes
1552 else
1553 ac_header_compiler=no
1554 fi
1555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1557 $as_echo "$ac_header_compiler" >&6; }
1558
1559 # Is the header present?
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1561 $as_echo_n "checking $2 presence... " >&6; }
1562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1563 /* end confdefs.h. */
1564 #include <$2>
1565 _ACEOF
1566 if ac_fn_c_try_cpp "$LINENO"; then :
1567 ac_header_preproc=yes
1568 else
1569 ac_header_preproc=no
1570 fi
1571 rm -f conftest.err conftest.$ac_ext
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1573 $as_echo "$ac_header_preproc" >&6; }
1574
1575 # So? What about this header?
1576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1577 yes:no: )
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1579 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1581 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1582 ;;
1583 no:yes:* )
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1585 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1587 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1589 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1591 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1593 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1594 ;;
1595 esac
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1597 $as_echo_n "checking for $2... " >&6; }
1598 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1599 $as_echo_n "(cached) " >&6
1600 else
1601 eval "$3=\$ac_header_compiler"
1602 fi
1603 eval ac_res=\$$3
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1605 $as_echo "$ac_res" >&6; }
1606 fi
1607 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1608
1609 } # ac_fn_c_check_header_mongrel
1610
1611 # ac_fn_c_try_run LINENO
1612 # ----------------------
1613 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1614 # that executables *can* be run.
1615 ac_fn_c_try_run ()
1616 {
1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618 if { { ac_try="$ac_link"
1619 case "(($ac_try" in
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1622 esac
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_link") 2>&5
1626 ac_status=$?
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1629 { { case "(($ac_try" in
1630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1631 *) ac_try_echo=$ac_try;;
1632 esac
1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_try") 2>&5
1636 ac_status=$?
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; }; }; then :
1639 ac_retval=0
1640 else
1641 $as_echo "$as_me: program exited with status $ac_status" >&5
1642 $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1644
1645 ac_retval=$ac_status
1646 fi
1647 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1648 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649 as_fn_set_status $ac_retval
1650
1651 } # ac_fn_c_try_run
1652
1653 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1654 # -------------------------------------------------------
1655 # Tests whether HEADER exists and can be compiled using the include files in
1656 # INCLUDES, setting the cache variable VAR accordingly.
1657 ac_fn_c_check_header_compile ()
1658 {
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1661 $as_echo_n "checking for $2... " >&6; }
1662 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1663 $as_echo_n "(cached) " >&6
1664 else
1665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h. */
1667 $4
1668 #include <$2>
1669 _ACEOF
1670 if ac_fn_c_try_compile "$LINENO"; then :
1671 eval "$3=yes"
1672 else
1673 eval "$3=no"
1674 fi
1675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1676 fi
1677 eval ac_res=\$$3
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1679 $as_echo "$ac_res" >&6; }
1680 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1681
1682 } # ac_fn_c_check_header_compile
1683
1684 # ac_fn_c_try_link LINENO
1685 # -----------------------
1686 # Try to link conftest.$ac_ext, and return whether this succeeded.
1687 ac_fn_c_try_link ()
1688 {
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext conftest$ac_exeext
1691 if { { ac_try="$ac_link"
1692 case "(($ac_try" in
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_link") 2>conftest.err
1699 ac_status=$?
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1704 fi
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest$ac_exeext && {
1710 test "$cross_compiling" = yes ||
1711 $as_test_x conftest$ac_exeext
1712 }; then :
1713 ac_retval=0
1714 else
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1717
1718 ac_retval=1
1719 fi
1720 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1721 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1722 # interfere with the next link command; also delete a directory that is
1723 # left behind by Apple's compiler. We do this before executing the actions.
1724 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 as_fn_set_status $ac_retval
1727
1728 } # ac_fn_c_try_link
1729
1730 # ac_fn_cxx_try_cpp LINENO
1731 # ------------------------
1732 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1733 ac_fn_cxx_try_cpp ()
1734 {
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 if { { ac_try="$ac_cpp conftest.$ac_ext"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1749 fi
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } >/dev/null && {
1752 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 }; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1759
1760 ac_retval=1
1761 fi
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 as_fn_set_status $ac_retval
1764
1765 } # ac_fn_cxx_try_cpp
1766
1767 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1768 # ---------------------------------------------------------
1769 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1770 # the include files in INCLUDES and setting the cache variable VAR
1771 # accordingly.
1772 ac_fn_cxx_check_header_mongrel ()
1773 {
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 $as_echo_n "checking for $2... " >&6; }
1778 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1779 $as_echo_n "(cached) " >&6
1780 fi
1781 eval ac_res=\$$3
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783 $as_echo "$ac_res" >&6; }
1784 else
1785 # Is the header compilable?
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1787 $as_echo_n "checking $2 usability... " >&6; }
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1790 $4
1791 #include <$2>
1792 _ACEOF
1793 if ac_fn_cxx_try_compile "$LINENO"; then :
1794 ac_header_compiler=yes
1795 else
1796 ac_header_compiler=no
1797 fi
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1800 $as_echo "$ac_header_compiler" >&6; }
1801
1802 # Is the header present?
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1804 $as_echo_n "checking $2 presence... " >&6; }
1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1807 #include <$2>
1808 _ACEOF
1809 if ac_fn_cxx_try_cpp "$LINENO"; then :
1810 ac_header_preproc=yes
1811 else
1812 ac_header_preproc=no
1813 fi
1814 rm -f conftest.err conftest.$ac_ext
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1816 $as_echo "$ac_header_preproc" >&6; }
1817
1818 # So? What about this header?
1819 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1820 yes:no: )
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1822 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1824 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1825 ;;
1826 no:yes:* )
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1828 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1830 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1832 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1834 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1836 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1837 ;;
1838 esac
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1842 $as_echo_n "(cached) " >&6
1843 else
1844 eval "$3=\$ac_header_compiler"
1845 fi
1846 eval ac_res=\$$3
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848 $as_echo "$ac_res" >&6; }
1849 fi
1850 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851
1852 } # ac_fn_cxx_check_header_mongrel
14581853 cat >config.log <<_ACEOF
14591854 This file contains any messages produced by compilers while
14601855 running configure, to aid debugging if configure makes a mistake.
14611856
14621857 It was created by $as_me, which was
1463 generated by GNU Autoconf 2.63. Invocation command line was
1858 generated by GNU Autoconf 2.65. Invocation command line was
14641859
14651860 $ $0 $@
14661861
14961891 do
14971892 IFS=$as_save_IFS
14981893 test -z "$as_dir" && as_dir=.
1499 $as_echo "PATH: $as_dir"
1500 done
1894 $as_echo "PATH: $as_dir"
1895 done
15011896 IFS=$as_save_IFS
15021897
15031898 } >&5
15341929 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15351930 esac
15361931 case $ac_pass in
1537 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1932 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
15381933 2)
1539 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1934 as_fn_append ac_configure_args1 " '$ac_arg'"
15401935 if test $ac_must_keep_next = true; then
15411936 ac_must_keep_next=false # Got value, back to normal.
15421937 else
15521947 -* ) ac_must_keep_next=true ;;
15531948 esac
15541949 fi
1555 ac_configure_args="$ac_configure_args '$ac_arg'"
1950 as_fn_append ac_configure_args " '$ac_arg'"
15561951 ;;
15571952 esac
15581953 done
15591954 done
1560 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1561 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1955 { ac_configure_args0=; unset ac_configure_args0;}
1956 { ac_configure_args1=; unset ac_configure_args1;}
15621957
15631958 # When interrupted or exit'd, cleanup temporary files, and complete
15641959 # config.log. We remove comments because anyway the quotes in there
15831978 case $ac_val in #(
15841979 *${as_nl}*)
15851980 case $ac_var in #(
1586 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1981 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15871982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15881983 esac
15891984 case $ac_var in #(
15901985 _ | IFS | as_nl) ;; #(
15911986 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1592 *) $as_unset $ac_var ;;
1987 *) { eval $ac_var=; unset $ac_var;} ;;
15931988 esac ;;
15941989 esac
15951990 done
16612056 exit $exit_status
16622057 ' 0
16632058 for ac_signal in 1 2 13 15; do
1664 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2059 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
16652060 done
16662061 ac_signal=0
16672062
16682063 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16692064 rm -f -r conftest* confdefs.h
16702065
2066 $as_echo "/* confdefs.h */" > confdefs.h
2067
16712068 # Predefined preprocessor variables.
16722069
16732070 cat >>confdefs.h <<_ACEOF
16742071 #define PACKAGE_NAME "$PACKAGE_NAME"
16752072 _ACEOF
16762073
1677
16782074 cat >>confdefs.h <<_ACEOF
16792075 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16802076 _ACEOF
16812077
1682
16832078 cat >>confdefs.h <<_ACEOF
16842079 #define PACKAGE_VERSION "$PACKAGE_VERSION"
16852080 _ACEOF
16862081
1687
16882082 cat >>confdefs.h <<_ACEOF
16892083 #define PACKAGE_STRING "$PACKAGE_STRING"
16902084 _ACEOF
16912085
1692
16932086 cat >>confdefs.h <<_ACEOF
16942087 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2088 _ACEOF
2089
2090 cat >>confdefs.h <<_ACEOF
2091 #define PACKAGE_URL "$PACKAGE_URL"
16952092 _ACEOF
16962093
16972094
17112108 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
17122109 do
17132110 test "x$ac_site_file" = xNONE && continue
1714 if test -r "$ac_site_file"; then
1715 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2111 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
17162113 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
17172114 sed 's/^/| /' "$ac_site_file" >&5
17182115 . "$ac_site_file"
17202117 done
17212118
17222119 if test -r "$cache_file"; then
1723 # Some versions of bash will fail to source /dev/null (special
1724 # files actually), so we avoid doing that.
1725 if test -f "$cache_file"; then
1726 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2120 # Some versions of bash will fail to source /dev/null (special files
2121 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2122 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
17272124 $as_echo "$as_me: loading cache $cache_file" >&6;}
17282125 case $cache_file in
17292126 [\\/]* | ?:[\\/]* ) . "$cache_file";;
17312128 esac
17322129 fi
17332130 else
1734 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
17352132 $as_echo "$as_me: creating cache $cache_file" >&6;}
17362133 >$cache_file
17372134 fi
17462143 eval ac_new_val=\$ac_env_${ac_var}_value
17472144 case $ac_old_set,$ac_new_set in
17482145 set,)
1749 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
17502147 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
17512148 ac_cache_corrupted=: ;;
17522149 ,set)
1753 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
17542151 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
17552152 ac_cache_corrupted=: ;;
17562153 ,);;
17602157 ac_old_val_w=`echo x $ac_old_val`
17612158 ac_new_val_w=`echo x $ac_new_val`
17622159 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1763 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
17642161 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
17652162 ac_cache_corrupted=:
17662163 else
1767 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
17682165 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
17692166 eval $ac_var=\$ac_old_val
17702167 fi
1771 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
17722169 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1773 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
17742171 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
17752172 fi;;
17762173 esac
17822179 esac
17832180 case " $ac_configure_args " in
17842181 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1785 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2182 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17862183 esac
17872184 fi
17882185 done
17892186 if $ac_cache_corrupted; then
1790 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17912188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1792 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
17932190 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1794 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1795 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1796 { (exit 1); exit 1; }; }
1797 fi
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
2191 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2192 fi
2193 ## -------------------- ##
2194 ## Main body of script. ##
2195 ## -------------------- ##
18142196
18152197 ac_ext=c
18162198 ac_cpp='$CPP $CPPFLAGS'
18212203
18222204 ac_config_headers="$ac_config_headers config.h"
18232205
1824 am__api_version='1.10'
2206 am__api_version='1.11'
18252207
18262208 ac_aux_dir=
18272209 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1828 if test -f "$ac_dir/install-sh"; then
1829 ac_aux_dir=$ac_dir
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1831 break
1832 elif test -f "$ac_dir/install.sh"; then
1833 ac_aux_dir=$ac_dir
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1835 break
1836 elif test -f "$ac_dir/shtool"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1839 break
1840 fi
2210 for ac_t in install-sh install.sh shtool; do
2211 if test -f "$ac_dir/$ac_t"; then
2212 ac_aux_dir=$ac_dir
2213 ac_install_sh="$ac_aux_dir/$ac_t -c"
2214 break 2
2215 fi
2216 done
18412217 done
18422218 if test -z "$ac_aux_dir"; then
1843 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1844 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1845 { (exit 1); exit 1; }; }
2219 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
18462220 fi
18472221
18482222 # These three variables are undocumented and unsupported,
18682242 # OS/2's system install, which has a completely different semantic
18692243 # ./install, which can be erroneously created by make from ./install.sh.
18702244 # Reject install programs that cannot install multiple files.
1871 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
18722246 $as_echo_n "checking for a BSD-compatible install... " >&6; }
18732247 if test -z "$INSTALL"; then
1874 if test "${ac_cv_path_install+set}" = set; then
2248 if test "${ac_cv_path_install+set}" = set; then :
18752249 $as_echo_n "(cached) " >&6
18762250 else
18772251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18792253 do
18802254 IFS=$as_save_IFS
18812255 test -z "$as_dir" && as_dir=.
1882 # Account for people who put trailing slashes in PATH elements.
1883 case $as_dir/ in
1884 ./ | .// | /cC/* | \
2256 # Account for people who put trailing slashes in PATH elements.
2257 case $as_dir/ in #((
2258 ./ | .// | /[cC]/* | \
18852259 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1886 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2260 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
18872261 /usr/ucb/* ) ;;
18882262 *)
18892263 # OSF1 and SCO ODT 3.0 have their own names for install.
19202294 ;;
19212295 esac
19222296
1923 done
2297 done
19242298 IFS=$as_save_IFS
19252299
19262300 rm -rf conftest.one conftest.two conftest.dir
19362310 INSTALL=$ac_install_sh
19372311 fi
19382312 fi
1939 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
19402314 $as_echo "$INSTALL" >&6; }
19412315
19422316 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19472321
19482322 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19492323
1950 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
19512325 $as_echo_n "checking whether build environment is sane... " >&6; }
19522326 # Just in case
19532327 sleep 1
19542328 echo timestamp > conftest.file
2329 # Reject unsafe characters in $srcdir or the absolute working directory
2330 # name. Accept space and tab only in the latter.
2331 am_lf='
2332 '
2333 case `pwd` in
2334 *[\\\"\#\$\&\'\`$am_lf]*)
2335 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2336 esac
2337 case $srcdir in
2338 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2339 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2340 esac
2341
19552342 # Do `set' in a subshell so we don't clobber the current shell's
19562343 # arguments. Must try -L first in case configure is actually a
19572344 # symlink; some systems play weird games with the mod time of symlinks
19582345 # (eg FreeBSD returns the mod time of the symlink's containing
19592346 # directory).
19602347 if (
1961 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2348 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
19622349 if test "$*" = "X"; then
19632350 # -L didn't work.
1964 set X `ls -t $srcdir/configure conftest.file`
2351 set X `ls -t "$srcdir/configure" conftest.file`
19652352 fi
19662353 rm -f conftest.file
19672354 if test "$*" != "X $srcdir/configure conftest.file" \
19712358 # if, for instance, CONFIG_SHELL is bash and it inherits a
19722359 # broken ls alias from the environment. This has actually
19732360 # happened. Such a system could not be considered "sane".
1974 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1975 alias in your environment" >&5
1976 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1977 alias in your environment" >&2;}
1978 { (exit 1); exit 1; }; }
2361 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2362 alias in your environment" "$LINENO" 5
19792363 fi
19802364
19812365 test "$2" = conftest.file
19842368 # Ok.
19852369 :
19862370 else
1987 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1988 Check your system clock" >&5
1989 $as_echo "$as_me: error: newly created file is older than distributed files!
1990 Check your system clock" >&2;}
1991 { (exit 1); exit 1; }; }
1992 fi
1993 { $as_echo "$as_me:$LINENO: result: yes" >&5
2371 as_fn_error "newly created file is older than distributed files!
2372 Check your system clock" "$LINENO" 5
2373 fi
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19942375 $as_echo "yes" >&6; }
19952376 test "$program_prefix" != NONE &&
19962377 program_transform_name="s&^&$program_prefix&;$program_transform_name"
20052386 # expand $ac_aux_dir to an absolute path
20062387 am_aux_dir=`cd $ac_aux_dir && pwd`
20072388
2008 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2389 if test x"${MISSING+set}" != xset; then
2390 case $am_aux_dir in
2391 *\ * | *\ *)
2392 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2393 *)
2394 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2395 esac
2396 fi
20092397 # Use eval to expand $SHELL
20102398 if eval "$MISSING --run true"; then
20112399 am_missing_run="$MISSING --run "
20122400 else
20132401 am_missing_run=
2014 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
20152403 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
20162404 fi
20172405
2018 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2406 if test x"${install_sh}" != xset; then
2407 case $am_aux_dir in
2408 *\ * | *\ *)
2409 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2410 *)
2411 install_sh="\${SHELL} $am_aux_dir/install-sh"
2412 esac
2413 fi
2414
2415 # Installed binaries are usually stripped using `strip' when the user
2416 # run `make install-strip'. However `strip' might not be the right
2417 # tool to use in cross-compilation environments, therefore Automake
2418 # will honor the `STRIP' environment variable to overrule this program.
2419 if test "$cross_compiling" != no; then
2420 if test -n "$ac_tool_prefix"; then
2421 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2422 set dummy ${ac_tool_prefix}strip; ac_word=$2
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2424 $as_echo_n "checking for $ac_word... " >&6; }
2425 if test "${ac_cv_prog_STRIP+set}" = set; then :
2426 $as_echo_n "(cached) " >&6
2427 else
2428 if test -n "$STRIP"; then
2429 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2430 else
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 for as_dir in $PATH
2433 do
2434 IFS=$as_save_IFS
2435 test -z "$as_dir" && as_dir=.
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2438 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 break 2
2441 fi
2442 done
2443 done
2444 IFS=$as_save_IFS
2445
2446 fi
2447 fi
2448 STRIP=$ac_cv_prog_STRIP
2449 if test -n "$STRIP"; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2451 $as_echo "$STRIP" >&6; }
2452 else
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2454 $as_echo "no" >&6; }
2455 fi
2456
2457
2458 fi
2459 if test -z "$ac_cv_prog_STRIP"; then
2460 ac_ct_STRIP=$STRIP
2461 # Extract the first word of "strip", so it can be a program name with args.
2462 set dummy strip; ac_word=$2
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2466 $as_echo_n "(cached) " >&6
2467 else
2468 if test -n "$ac_ct_STRIP"; then
2469 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2470 else
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 for as_dir in $PATH
2473 do
2474 IFS=$as_save_IFS
2475 test -z "$as_dir" && as_dir=.
2476 for ac_exec_ext in '' $ac_executable_extensions; do
2477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478 ac_cv_prog_ac_ct_STRIP="strip"
2479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480 break 2
2481 fi
2482 done
2483 done
2484 IFS=$as_save_IFS
2485
2486 fi
2487 fi
2488 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2489 if test -n "$ac_ct_STRIP"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2491 $as_echo "$ac_ct_STRIP" >&6; }
2492 else
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494 $as_echo "no" >&6; }
2495 fi
2496
2497 if test "x$ac_ct_STRIP" = x; then
2498 STRIP=":"
2499 else
2500 case $cross_compiling:$ac_tool_warned in
2501 yes:)
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2504 ac_tool_warned=yes ;;
2505 esac
2506 STRIP=$ac_ct_STRIP
2507 fi
2508 else
2509 STRIP="$ac_cv_prog_STRIP"
2510 fi
2511
2512 fi
2513 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2514
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
20192516 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
20202517 if test -z "$MKDIR_P"; then
2021 if test "${ac_cv_path_mkdir+set}" = set; then
2518 if test "${ac_cv_path_mkdir+set}" = set; then :
20222519 $as_echo_n "(cached) " >&6
20232520 else
20242521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20262523 do
20272524 IFS=$as_save_IFS
20282525 test -z "$as_dir" && as_dir=.
2029 for ac_prog in mkdir gmkdir; do
2526 for ac_prog in mkdir gmkdir; do
20302527 for ac_exec_ext in '' $ac_executable_extensions; do
20312528 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
20322529 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
20382535 esac
20392536 done
20402537 done
2041 done
2538 done
20422539 IFS=$as_save_IFS
20432540
20442541 fi
20452542
2543 test -d ./--version && rmdir ./--version
20462544 if test "${ac_cv_path_mkdir+set}" = set; then
20472545 MKDIR_P="$ac_cv_path_mkdir -p"
20482546 else
20502548 # value for MKDIR_P within a source directory, because that will
20512549 # break other packages using the cache if that directory is
20522550 # removed, or if the value is a relative name.
2053 test -d ./--version && rmdir ./--version
20542551 MKDIR_P="$ac_install_sh -d"
20552552 fi
20562553 fi
2057 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
20582555 $as_echo "$MKDIR_P" >&6; }
20592556
20602557 mkdir_p="$MKDIR_P"
20672564 do
20682565 # Extract the first word of "$ac_prog", so it can be a program name with args.
20692566 set dummy $ac_prog; ac_word=$2
2070 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20712568 $as_echo_n "checking for $ac_word... " >&6; }
2072 if test "${ac_cv_prog_AWK+set}" = set; then
2569 if test "${ac_cv_prog_AWK+set}" = set; then :
20732570 $as_echo_n "(cached) " >&6
20742571 else
20752572 if test -n "$AWK"; then
20802577 do
20812578 IFS=$as_save_IFS
20822579 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2580 for ac_exec_ext in '' $ac_executable_extensions; do
20842581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20852582 ac_cv_prog_AWK="$ac_prog"
2086 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20872584 break 2
20882585 fi
20892586 done
2090 done
2587 done
20912588 IFS=$as_save_IFS
20922589
20932590 fi
20942591 fi
20952592 AWK=$ac_cv_prog_AWK
20962593 if test -n "$AWK"; then
2097 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
20982595 $as_echo "$AWK" >&6; }
20992596 else
2100 { $as_echo "$as_me:$LINENO: result: no" >&5
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21012598 $as_echo "no" >&6; }
21022599 fi
21032600
21052602 test -n "$AWK" && break
21062603 done
21072604
2108 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
21092606 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
21102607 set x ${MAKE-make}
21112608 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2112 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2609 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
21132610 $as_echo_n "(cached) " >&6
21142611 else
21152612 cat >conftest.make <<\_ACEOF
21272624 rm -f conftest.make
21282625 fi
21292626 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2130 { $as_echo "$as_me:$LINENO: result: yes" >&5
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21312628 $as_echo "yes" >&6; }
21322629 SET_MAKE=
21332630 else
2134 { $as_echo "$as_me:$LINENO: result: no" >&5
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21352632 $as_echo "no" >&6; }
21362633 SET_MAKE="MAKE=${MAKE-make}"
21372634 fi
21512648 am__isrc=' -I$(srcdir)'
21522649 # test to see if srcdir already configured
21532650 if test -f $srcdir/config.status; then
2154 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2155 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2156 { (exit 1); exit 1; }; }
2651 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
21572652 fi
21582653 fi
21592654
21692664
21702665 # Define the identity of the package.
21712666 PACKAGE=squidview
2172 VERSION=0.73
2667 VERSION=0.76
21732668
21742669
21752670 cat >>confdefs.h <<_ACEOF
21962691
21972692
21982693 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2199
2200 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2201
2202 # Installed binaries are usually stripped using `strip' when the user
2203 # run `make install-strip'. However `strip' might not be the right
2204 # tool to use in cross-compilation environments, therefore Automake
2205 # will honor the `STRIP' environment variable to overrule this program.
2206 if test "$cross_compiling" != no; then
2207 if test -n "$ac_tool_prefix"; then
2208 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2209 set dummy ${ac_tool_prefix}strip; ac_word=$2
2210 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 $as_echo_n "checking for $ac_word... " >&6; }
2212 if test "${ac_cv_prog_STRIP+set}" = set; then
2213 $as_echo_n "(cached) " >&6
2214 else
2215 if test -n "$STRIP"; then
2216 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2217 else
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 for as_dir in $PATH
2220 do
2221 IFS=$as_save_IFS
2222 test -z "$as_dir" && as_dir=.
2223 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2225 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2226 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 break 2
2228 fi
2229 done
2230 done
2231 IFS=$as_save_IFS
2232
2233 fi
2234 fi
2235 STRIP=$ac_cv_prog_STRIP
2236 if test -n "$STRIP"; then
2237 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2238 $as_echo "$STRIP" >&6; }
2239 else
2240 { $as_echo "$as_me:$LINENO: result: no" >&5
2241 $as_echo "no" >&6; }
2242 fi
2243
2244
2245 fi
2246 if test -z "$ac_cv_prog_STRIP"; then
2247 ac_ct_STRIP=$STRIP
2248 # Extract the first word of "strip", so it can be a program name with args.
2249 set dummy strip; ac_word=$2
2250 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2251 $as_echo_n "checking for $ac_word... " >&6; }
2252 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2253 $as_echo_n "(cached) " >&6
2254 else
2255 if test -n "$ac_ct_STRIP"; then
2256 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2257 else
2258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259 for as_dir in $PATH
2260 do
2261 IFS=$as_save_IFS
2262 test -z "$as_dir" && as_dir=.
2263 for ac_exec_ext in '' $ac_executable_extensions; do
2264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2265 ac_cv_prog_ac_ct_STRIP="strip"
2266 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 break 2
2268 fi
2269 done
2270 done
2271 IFS=$as_save_IFS
2272
2273 fi
2274 fi
2275 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2276 if test -n "$ac_ct_STRIP"; then
2277 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2278 $as_echo "$ac_ct_STRIP" >&6; }
2279 else
2280 { $as_echo "$as_me:$LINENO: result: no" >&5
2281 $as_echo "no" >&6; }
2282 fi
2283
2284 if test "x$ac_ct_STRIP" = x; then
2285 STRIP=":"
2286 else
2287 case $cross_compiling:$ac_tool_warned in
2288 yes:)
2289 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2291 ac_tool_warned=yes ;;
2292 esac
2293 STRIP=$ac_ct_STRIP
2294 fi
2295 else
2296 STRIP="$ac_cv_prog_STRIP"
2297 fi
2298
2299 fi
2300 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
23012694
23022695 # We need awk for the "check" target. The system "awk" is bad on
23032696 # some platforms.
23252718 do
23262719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23272720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2328 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23292722 $as_echo_n "checking for $ac_word... " >&6; }
2330 if test "${ac_cv_prog_CXX+set}" = set; then
2723 if test "${ac_cv_prog_CXX+set}" = set; then :
23312724 $as_echo_n "(cached) " >&6
23322725 else
23332726 if test -n "$CXX"; then
23382731 do
23392732 IFS=$as_save_IFS
23402733 test -z "$as_dir" && as_dir=.
2341 for ac_exec_ext in '' $ac_executable_extensions; do
2734 for ac_exec_ext in '' $ac_executable_extensions; do
23422735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23432736 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2344 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23452738 break 2
23462739 fi
23472740 done
2348 done
2741 done
23492742 IFS=$as_save_IFS
23502743
23512744 fi
23522745 fi
23532746 CXX=$ac_cv_prog_CXX
23542747 if test -n "$CXX"; then
2355 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
23562749 $as_echo "$CXX" >&6; }
23572750 else
2358 { $as_echo "$as_me:$LINENO: result: no" >&5
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23592752 $as_echo "no" >&6; }
23602753 fi
23612754
23692762 do
23702763 # Extract the first word of "$ac_prog", so it can be a program name with args.
23712764 set dummy $ac_prog; ac_word=$2
2372 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23732766 $as_echo_n "checking for $ac_word... " >&6; }
2374 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2767 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
23752768 $as_echo_n "(cached) " >&6
23762769 else
23772770 if test -n "$ac_ct_CXX"; then
23822775 do
23832776 IFS=$as_save_IFS
23842777 test -z "$as_dir" && as_dir=.
2385 for ac_exec_ext in '' $ac_executable_extensions; do
2778 for ac_exec_ext in '' $ac_executable_extensions; do
23862779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23872780 ac_cv_prog_ac_ct_CXX="$ac_prog"
2388 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23892782 break 2
23902783 fi
23912784 done
2392 done
2785 done
23932786 IFS=$as_save_IFS
23942787
23952788 fi
23962789 fi
23972790 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
23982791 if test -n "$ac_ct_CXX"; then
2399 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
24002793 $as_echo "$ac_ct_CXX" >&6; }
24012794 else
2402 { $as_echo "$as_me:$LINENO: result: no" >&5
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24032796 $as_echo "no" >&6; }
24042797 fi
24052798
24122805 else
24132806 case $cross_compiling:$ac_tool_warned in
24142807 yes:)
2415 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24162809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24172810 ac_tool_warned=yes ;;
24182811 esac
24232816 fi
24242817 fi
24252818 # Provide some information about the compiler.
2426 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2819 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
24272820 set X $ac_compile
24282821 ac_compiler=$2
2429 { (ac_try="$ac_compiler --version >&5"
2822 for ac_option in --version -v -V -qversion; do
2823 { { ac_try="$ac_compiler $ac_option >&5"
24302824 case "(($ac_try" in
24312825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24322826 *) ac_try_echo=$ac_try;;
24332827 esac
2434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2435 $as_echo "$ac_try_echo") >&5
2436 (eval "$ac_compiler --version >&5") 2>&5
2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2829 $as_echo "$ac_try_echo"; } >&5
2830 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
24372831 ac_status=$?
2438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }
2440 { (ac_try="$ac_compiler -v >&5"
2441 case "(($ac_try" in
2442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2443 *) ac_try_echo=$ac_try;;
2444 esac
2445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2446 $as_echo "$ac_try_echo") >&5
2447 (eval "$ac_compiler -v >&5") 2>&5
2448 ac_status=$?
2449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }
2451 { (ac_try="$ac_compiler -V >&5"
2452 case "(($ac_try" in
2453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2454 *) ac_try_echo=$ac_try;;
2455 esac
2456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2457 $as_echo "$ac_try_echo") >&5
2458 (eval "$ac_compiler -V >&5") 2>&5
2459 ac_status=$?
2460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }
2462
2463 cat >conftest.$ac_ext <<_ACEOF
2464 /* confdefs.h. */
2465 _ACEOF
2466 cat confdefs.h >>conftest.$ac_ext
2467 cat >>conftest.$ac_ext <<_ACEOF
2832 if test -s conftest.err; then
2833 sed '10a\
2834 ... rest of stderr output deleted ...
2835 10q' conftest.err >conftest.er1
2836 cat conftest.er1 >&5
2837 fi
2838 rm -f conftest.er1 conftest.err
2839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2840 test $ac_status = 0; }
2841 done
2842
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24682844 /* end confdefs.h. */
24692845
24702846 int
24802856 # Try to create an executable without -o first, disregard a.out.
24812857 # It will help us diagnose broken compilers, and finding out an intuition
24822858 # of exeext.
2483 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2484 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2860 $as_echo_n "checking whether the C++ compiler works... " >&6; }
24852861 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
24862862
24872863 # The possible output files:
24972873 done
24982874 rm -f $ac_rmfiles
24992875
2500 if { (ac_try="$ac_link_default"
2876 if { { ac_try="$ac_link_default"
25012877 case "(($ac_try" in
25022878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25032879 *) ac_try_echo=$ac_try;;
25042880 esac
2505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2506 $as_echo "$ac_try_echo") >&5
2881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2882 $as_echo "$ac_try_echo"; } >&5
25072883 (eval "$ac_link_default") 2>&5
25082884 ac_status=$?
2509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; then
2885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2886 test $ac_status = 0; }; then :
25112887 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
25122888 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
25132889 # in a Makefile. We should not override ac_cv_exeext if it was cached,
25242900 # certainly right.
25252901 break;;
25262902 *.* )
2527 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2903 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
25282904 then :; else
25292905 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
25302906 fi
25432919 else
25442920 ac_file=''
25452921 fi
2546
2547 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2922 if test -z "$ac_file"; then :
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2925 $as_echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2927
2928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2930 { as_fn_set_status 77
2931 as_fn_error "C++ compiler cannot create executables
2932 See \`config.log' for more details." "$LINENO" 5; }; }
2933 else
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2935 $as_echo "yes" >&6; }
2936 fi
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2938 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
25482940 $as_echo "$ac_file" >&6; }
2549 if test -z "$ac_file"; then
2550 $as_echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2552
2553 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2556 See \`config.log' for more details." >&5
2557 $as_echo "$as_me: error: C++ compiler cannot create executables
2558 See \`config.log' for more details." >&2;}
2559 { (exit 77); exit 77; }; }; }
2560 fi
2561
25622941 ac_exeext=$ac_cv_exeext
2563
2564 # Check that the compiler produces executables we can run. If not, either
2565 # the compiler is broken, or we cross compile.
2566 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2567 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2568 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2569 # If not cross compiling, check that we can run a simple program.
2570 if test "$cross_compiling" != yes; then
2571 if { ac_try='./$ac_file'
2572 { (case "(($ac_try" in
2573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574 *) ac_try_echo=$ac_try;;
2575 esac
2576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2577 $as_echo "$ac_try_echo") >&5
2578 (eval "$ac_try") 2>&5
2579 ac_status=$?
2580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; }; then
2582 cross_compiling=no
2583 else
2584 if test "$cross_compiling" = maybe; then
2585 cross_compiling=yes
2586 else
2587 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2589 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2590 If you meant to cross compile, use \`--host'.
2591 See \`config.log' for more details." >&5
2592 $as_echo "$as_me: error: cannot run C++ compiled programs.
2593 If you meant to cross compile, use \`--host'.
2594 See \`config.log' for more details." >&2;}
2595 { (exit 1); exit 1; }; }; }
2596 fi
2597 fi
2598 fi
2599 { $as_echo "$as_me:$LINENO: result: yes" >&5
2600 $as_echo "yes" >&6; }
26012942
26022943 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
26032944 ac_clean_files=$ac_clean_files_save
2604 # Check that the compiler produces executables we can run. If not, either
2605 # the compiler is broken, or we cross compile.
2606 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2607 $as_echo_n "checking whether we are cross compiling... " >&6; }
2608 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2609 $as_echo "$cross_compiling" >&6; }
2610
2611 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
26122946 $as_echo_n "checking for suffix of executables... " >&6; }
2613 if { (ac_try="$ac_link"
2947 if { { ac_try="$ac_link"
26142948 case "(($ac_try" in
26152949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26162950 *) ac_try_echo=$ac_try;;
26172951 esac
2618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2619 $as_echo "$ac_try_echo") >&5
2952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2953 $as_echo "$ac_try_echo"; } >&5
26202954 (eval "$ac_link") 2>&5
26212955 ac_status=$?
2622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957 test $ac_status = 0; }; then :
26242958 # If both `conftest.exe' and `conftest' are `present' (well, observable)
26252959 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
26262960 # work properly (i.e., refer to `conftest.exe'), while it won't with
26352969 esac
26362970 done
26372971 else
2638 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26392973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2640 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2641 See \`config.log' for more details." >&5
2642 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2643 See \`config.log' for more details." >&2;}
2644 { (exit 1); exit 1; }; }; }
2645 fi
2646
2647 rm -f conftest$ac_cv_exeext
2648 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2974 as_fn_error "cannot compute suffix of executables: cannot compile and link
2975 See \`config.log' for more details." "$LINENO" 5; }
2976 fi
2977 rm -f conftest conftest$ac_cv_exeext
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
26492979 $as_echo "$ac_cv_exeext" >&6; }
26502980
26512981 rm -f conftest.$ac_ext
26522982 EXEEXT=$ac_cv_exeext
26532983 ac_exeext=$EXEEXT
2654 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2655 $as_echo_n "checking for suffix of object files... " >&6; }
2656 if test "${ac_cv_objext+set}" = set; then
2657 $as_echo_n "(cached) " >&6
2658 else
2659 cat >conftest.$ac_ext <<_ACEOF
2660 /* confdefs.h. */
2661 _ACEOF
2662 cat confdefs.h >>conftest.$ac_ext
2663 cat >>conftest.$ac_ext <<_ACEOF
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26642985 /* end confdefs.h. */
2665
2986 #include <stdio.h>
26662987 int
26672988 main ()
26682989 {
2990 FILE *f = fopen ("conftest.out", "w");
2991 return ferror (f) || fclose (f) != 0;
26692992
26702993 ;
26712994 return 0;
26722995 }
26732996 _ACEOF
2674 rm -f conftest.o conftest.obj
2675 if { (ac_try="$ac_compile"
2997 ac_clean_files="$ac_clean_files conftest.out"
2998 # Check that the compiler produces executables we can run. If not, either
2999 # the compiler is broken, or we cross compile.
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3001 $as_echo_n "checking whether we are cross compiling... " >&6; }
3002 if test "$cross_compiling" != yes; then
3003 { { ac_try="$ac_link"
26763004 case "(($ac_try" in
26773005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26783006 *) ac_try_echo=$ac_try;;
26793007 esac
2680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2681 $as_echo "$ac_try_echo") >&5
3008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_link") 2>&5
3011 ac_status=$?
3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3013 test $ac_status = 0; }
3014 if { ac_try='./conftest$ac_cv_exeext'
3015 { { case "(($ac_try" in
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017 *) ac_try_echo=$ac_try;;
3018 esac
3019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3020 $as_echo "$ac_try_echo"; } >&5
3021 (eval "$ac_try") 2>&5
3022 ac_status=$?
3023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3024 test $ac_status = 0; }; }; then
3025 cross_compiling=no
3026 else
3027 if test "$cross_compiling" = maybe; then
3028 cross_compiling=yes
3029 else
3030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3032 as_fn_error "cannot run C++ compiled programs.
3033 If you meant to cross compile, use \`--host'.
3034 See \`config.log' for more details." "$LINENO" 5; }
3035 fi
3036 fi
3037 fi
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3039 $as_echo "$cross_compiling" >&6; }
3040
3041 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3042 ac_clean_files=$ac_clean_files_save
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3044 $as_echo_n "checking for suffix of object files... " >&6; }
3045 if test "${ac_cv_objext+set}" = set; then :
3046 $as_echo_n "(cached) " >&6
3047 else
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3050
3051 int
3052 main ()
3053 {
3054
3055 ;
3056 return 0;
3057 }
3058 _ACEOF
3059 rm -f conftest.o conftest.obj
3060 if { { ac_try="$ac_compile"
3061 case "(($ac_try" in
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3064 esac
3065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
26823067 (eval "$ac_compile") 2>&5
26833068 ac_status=$?
2684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; then
3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3070 test $ac_status = 0; }; then :
26863071 for ac_file in conftest.o conftest.obj conftest.*; do
26873072 test -f "$ac_file" || continue;
26883073 case $ac_file in
26953080 $as_echo "$as_me: failed program was:" >&5
26963081 sed 's/^/| /' conftest.$ac_ext >&5
26973082
2698 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26993084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2701 See \`config.log' for more details." >&5
2702 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2703 See \`config.log' for more details." >&2;}
2704 { (exit 1); exit 1; }; }; }
2705 fi
2706
3085 as_fn_error "cannot compute suffix of object files: cannot compile
3086 See \`config.log' for more details." "$LINENO" 5; }
3087 fi
27073088 rm -f conftest.$ac_cv_objext conftest.$ac_ext
27083089 fi
2709 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
27103091 $as_echo "$ac_cv_objext" >&6; }
27113092 OBJEXT=$ac_cv_objext
27123093 ac_objext=$OBJEXT
2713 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
27143095 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2715 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3096 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
27163097 $as_echo_n "(cached) " >&6
27173098 else
2718 cat >conftest.$ac_ext <<_ACEOF
2719 /* confdefs.h. */
2720 _ACEOF
2721 cat confdefs.h >>conftest.$ac_ext
2722 cat >>conftest.$ac_ext <<_ACEOF
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27233100 /* end confdefs.h. */
27243101
27253102 int
27333110 return 0;
27343111 }
27353112 _ACEOF
2736 rm -f conftest.$ac_objext
2737 if { (ac_try="$ac_compile"
2738 case "(($ac_try" in
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2741 esac
2742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2743 $as_echo "$ac_try_echo") >&5
2744 (eval "$ac_compile") 2>conftest.er1
2745 ac_status=$?
2746 grep -v '^ *+' conftest.er1 >conftest.err
2747 rm -f conftest.er1
2748 cat conftest.err >&5
2749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); } && {
2751 test -z "$ac_cxx_werror_flag" ||
2752 test ! -s conftest.err
2753 } && test -s conftest.$ac_objext; then
3113 if ac_fn_cxx_try_compile "$LINENO"; then :
27543114 ac_compiler_gnu=yes
27553115 else
2756 $as_echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2758
2759 ac_compiler_gnu=no
2760 fi
2761
3116 ac_compiler_gnu=no
3117 fi
27623118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27633119 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
27643120
27653121 fi
2766 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
27673123 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
27683124 if test $ac_compiler_gnu = yes; then
27693125 GXX=yes
27723128 fi
27733129 ac_test_CXXFLAGS=${CXXFLAGS+set}
27743130 ac_save_CXXFLAGS=$CXXFLAGS
2775 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
27763132 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2777 if test "${ac_cv_prog_cxx_g+set}" = set; then
3133 if test "${ac_cv_prog_cxx_g+set}" = set; then :
27783134 $as_echo_n "(cached) " >&6
27793135 else
27803136 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
27813137 ac_cxx_werror_flag=yes
27823138 ac_cv_prog_cxx_g=no
27833139 CXXFLAGS="-g"
2784 cat >conftest.$ac_ext <<_ACEOF
2785 /* confdefs.h. */
2786 _ACEOF
2787 cat confdefs.h >>conftest.$ac_ext
2788 cat >>conftest.$ac_ext <<_ACEOF
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27893141 /* end confdefs.h. */
27903142
27913143 int
27963148 return 0;
27973149 }
27983150 _ACEOF
2799 rm -f conftest.$ac_objext
2800 if { (ac_try="$ac_compile"
2801 case "(($ac_try" in
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2804 esac
2805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2806 $as_echo "$ac_try_echo") >&5
2807 (eval "$ac_compile") 2>conftest.er1
2808 ac_status=$?
2809 grep -v '^ *+' conftest.er1 >conftest.err
2810 rm -f conftest.er1
2811 cat conftest.err >&5
2812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); } && {
2814 test -z "$ac_cxx_werror_flag" ||
2815 test ! -s conftest.err
2816 } && test -s conftest.$ac_objext; then
3151 if ac_fn_cxx_try_compile "$LINENO"; then :
28173152 ac_cv_prog_cxx_g=yes
28183153 else
2819 $as_echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.$ac_ext >&5
2821
2822 CXXFLAGS=""
2823 cat >conftest.$ac_ext <<_ACEOF
2824 /* confdefs.h. */
2825 _ACEOF
2826 cat confdefs.h >>conftest.$ac_ext
2827 cat >>conftest.$ac_ext <<_ACEOF
3154 CXXFLAGS=""
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28283156 /* end confdefs.h. */
28293157
28303158 int
28353163 return 0;
28363164 }
28373165 _ACEOF
2838 rm -f conftest.$ac_objext
2839 if { (ac_try="$ac_compile"
2840 case "(($ac_try" in
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2843 esac
2844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2845 $as_echo "$ac_try_echo") >&5
2846 (eval "$ac_compile") 2>conftest.er1
2847 ac_status=$?
2848 grep -v '^ *+' conftest.er1 >conftest.err
2849 rm -f conftest.er1
2850 cat conftest.err >&5
2851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); } && {
2853 test -z "$ac_cxx_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.$ac_objext; then
2856 :
2857 else
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2860
2861 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3166 if ac_fn_cxx_try_compile "$LINENO"; then :
3167
3168 else
3169 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
28623170 CXXFLAGS="-g"
2863 cat >conftest.$ac_ext <<_ACEOF
2864 /* confdefs.h. */
2865 _ACEOF
2866 cat confdefs.h >>conftest.$ac_ext
2867 cat >>conftest.$ac_ext <<_ACEOF
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28683172 /* end confdefs.h. */
28693173
28703174 int
28753179 return 0;
28763180 }
28773181 _ACEOF
2878 rm -f conftest.$ac_objext
2879 if { (ac_try="$ac_compile"
2880 case "(($ac_try" in
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2883 esac
2884 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2885 $as_echo "$ac_try_echo") >&5
2886 (eval "$ac_compile") 2>conftest.er1
2887 ac_status=$?
2888 grep -v '^ *+' conftest.er1 >conftest.err
2889 rm -f conftest.er1
2890 cat conftest.err >&5
2891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } && {
2893 test -z "$ac_cxx_werror_flag" ||
2894 test ! -s conftest.err
2895 } && test -s conftest.$ac_objext; then
3182 if ac_fn_cxx_try_compile "$LINENO"; then :
28963183 ac_cv_prog_cxx_g=yes
2897 else
2898 $as_echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.$ac_ext >&5
2900
2901
2902 fi
2903
3184 fi
29043185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29053186 fi
2906
29073187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29083188 fi
2909
29103189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29113190 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
29123191 fi
2913 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
29143193 $as_echo "$ac_cv_prog_cxx_g" >&6; }
29153194 if test "$ac_test_CXXFLAGS" = set; then
29163195 CXXFLAGS=$ac_save_CXXFLAGS
29403219 am_make=${MAKE-make}
29413220 cat > confinc << 'END'
29423221 am__doit:
2943 @echo done
3222 @echo this is the am__doit target
29443223 .PHONY: am__doit
29453224 END
29463225 # If we don't find an include directive, just comment out the code.
2947 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
29483227 $as_echo_n "checking for style of include used by $am_make... " >&6; }
29493228 am__include="#"
29503229 am__quote=
29513230 _am_result=none
29523231 # First try GNU make style include.
29533232 echo "include confinc" > confmf
2954 # We grep out `Entering directory' and `Leaving directory'
2955 # messages which can occur if `w' ends up in MAKEFLAGS.
2956 # In particular we don't look at `^make:' because GNU make might
2957 # be invoked under some other name (usually "gmake"), in which
2958 # case it prints its new name instead of `make'.
2959 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2960 am__include=include
2961 am__quote=
2962 _am_result=GNU
2963 fi
3233 # Ignore all kinds of additional output from `make'.
3234 case `$am_make -s -f confmf 2> /dev/null` in #(
3235 *the\ am__doit\ target*)
3236 am__include=include
3237 am__quote=
3238 _am_result=GNU
3239 ;;
3240 esac
29643241 # Now try BSD make style include.
29653242 if test "$am__include" = "#"; then
29663243 echo '.include "confinc"' > confmf
2967 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2968 am__include=.include
2969 am__quote="\""
2970 _am_result=BSD
2971 fi
2972 fi
2973
2974
2975 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3244 case `$am_make -s -f confmf 2> /dev/null` in #(
3245 *the\ am__doit\ target*)
3246 am__include=.include
3247 am__quote="\""
3248 _am_result=BSD
3249 ;;
3250 esac
3251 fi
3252
3253
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
29763255 $as_echo "$_am_result" >&6; }
29773256 rm -f confinc confmf
29783257
29793258 # Check whether --enable-dependency-tracking was given.
2980 if test "${enable_dependency_tracking+set}" = set; then
3259 if test "${enable_dependency_tracking+set}" = set; then :
29813260 enableval=$enable_dependency_tracking;
29823261 fi
29833262
29973276
29983277 depcc="$CXX" am_compiler_list=
29993278
3000 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
30013280 $as_echo_n "checking dependency style of $depcc... " >&6; }
3002 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3281 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
30033282 $as_echo_n "(cached) " >&6
30043283 else
30053284 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
30253304 if test "$am_compiler_list" = ""; then
30263305 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
30273306 fi
3307 am__universal=false
3308 case " $depcc " in #(
3309 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3310 esac
3311
30283312 for depmode in $am_compiler_list; do
30293313 # Setup a source with many dependencies, because some compilers
30303314 # like to wrap large dependency lists on column 80 (with \), and
30423326 done
30433327 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
30443328
3329 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3330 # mode. It turns out that the SunPro C++ compiler does not properly
3331 # handle `-M -o', and we need to detect this. Also, some Intel
3332 # versions had trouble with output in subdirs
3333 am__obj=sub/conftest.${OBJEXT-o}
3334 am__minus_obj="-o $am__obj"
30453335 case $depmode in
3336 gcc)
3337 # This depmode causes a compiler race in universal mode.
3338 test "$am__universal" = false || continue
3339 ;;
30463340 nosideeffect)
30473341 # after this tag, mechanisms are not by side-effect, so they'll
30483342 # only be used when explicitly requested
30523346 break
30533347 fi
30543348 ;;
3349 msvisualcpp | msvcmsys)
3350 # This compiler won't grok `-c -o', but also, the minuso test has
3351 # not run yet. These depmodes are late enough in the game, and
3352 # so weak that their functioning should not be impacted.
3353 am__obj=conftest.${OBJEXT-o}
3354 am__minus_obj=
3355 ;;
30553356 none) break ;;
30563357 esac
3057 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3058 # mode. It turns out that the SunPro C++ compiler does not properly
3059 # handle `-M -o', and we need to detect this.
30603358 if depmode=$depmode \
3061 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3359 source=sub/conftest.c object=$am__obj \
30623360 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3063 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3361 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
30643362 >/dev/null 2>conftest.err &&
30653363 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
30663364 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3067 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3365 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
30683366 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
30693367 # icc doesn't choke on unknown options, it will just issue warnings
30703368 # or remarks (even with -Werror). So we grep stderr for any message
30883386 fi
30893387
30903388 fi
3091 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
30923390 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
30933391 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
30943392
31033401 fi
31043402
31053403
3106 # Find a good install program. We prefer a C program (faster),
3107 # so one script is as good as another. But avoid the broken or
3108 # incompatible versions:
3109 # SysV /etc/install, /usr/sbin/install
3110 # SunOS /usr/etc/install
3111 # IRIX /sbin/install
3112 # AIX /bin/install
3113 # AmigaOS /C/install, which installs bootblocks on floppy discs
3114 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3115 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3116 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3117 # OS/2's system install, which has a completely different semantic
3118 # ./install, which can be erroneously created by make from ./install.sh.
3119 # Reject install programs that cannot install multiple files.
3120 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3121 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3122 if test -z "$INSTALL"; then
3123 if test "${ac_cv_path_install+set}" = set; then
3124 $as_echo_n "(cached) " >&6
3125 else
3126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127 for as_dir in $PATH
3128 do
3129 IFS=$as_save_IFS
3130 test -z "$as_dir" && as_dir=.
3131 # Account for people who put trailing slashes in PATH elements.
3132 case $as_dir/ in
3133 ./ | .// | /cC/* | \
3134 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3135 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3136 /usr/ucb/* ) ;;
3137 *)
3138 # OSF1 and SCO ODT 3.0 have their own names for install.
3139 # Don't use installbsd from OSF since it installs stuff as root
3140 # by default.
3141 for ac_prog in ginstall scoinst install; do
3142 for ac_exec_ext in '' $ac_executable_extensions; do
3143 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3144 if test $ac_prog = install &&
3145 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3146 # AIX install. It has an incompatible calling convention.
3147 :
3148 elif test $ac_prog = install &&
3149 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3150 # program-specific install script used by HP pwplus--don't use.
3151 :
3152 else
3153 rm -rf conftest.one conftest.two conftest.dir
3154 echo one > conftest.one
3155 echo two > conftest.two
3156 mkdir conftest.dir
3157 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3158 test -s conftest.one && test -s conftest.two &&
3159 test -s conftest.dir/conftest.one &&
3160 test -s conftest.dir/conftest.two
3161 then
3162 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3163 break 3
3164 fi
3165 fi
3166 fi
3167 done
3168 done
3169 ;;
3170 esac
3171
3172 done
3173 IFS=$as_save_IFS
3174
3175 rm -rf conftest.one conftest.two conftest.dir
3176
3177 fi
3178 if test "${ac_cv_path_install+set}" = set; then
3179 INSTALL=$ac_cv_path_install
3180 else
3181 # As a last resort, use the slow shell script. Don't cache a
3182 # value for INSTALL within a source directory, because that will
3183 # break other packages using the cache if that directory is
3184 # removed, or if the value is a relative name.
3185 INSTALL=$ac_install_sh
3186 fi
3187 fi
3188 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3189 $as_echo "$INSTALL" >&6; }
3190
3191 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3192 # It thinks the first close brace ends the variable substitution.
3193 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3194
3195 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3196
3197 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
31983404
31993405
32003406 ac_ext=c
32053411 if test -n "$ac_tool_prefix"; then
32063412 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
32073413 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3208 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32093415 $as_echo_n "checking for $ac_word... " >&6; }
3210 if test "${ac_cv_prog_CC+set}" = set; then
3416 if test "${ac_cv_prog_CC+set}" = set; then :
32113417 $as_echo_n "(cached) " >&6
32123418 else
32133419 if test -n "$CC"; then
32183424 do
32193425 IFS=$as_save_IFS
32203426 test -z "$as_dir" && as_dir=.
3221 for ac_exec_ext in '' $ac_executable_extensions; do
3427 for ac_exec_ext in '' $ac_executable_extensions; do
32223428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32233429 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3224 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32253431 break 2
32263432 fi
32273433 done
3228 done
3434 done
32293435 IFS=$as_save_IFS
32303436
32313437 fi
32323438 fi
32333439 CC=$ac_cv_prog_CC
32343440 if test -n "$CC"; then
3235 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
32363442 $as_echo "$CC" >&6; }
32373443 else
3238 { $as_echo "$as_me:$LINENO: result: no" >&5
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32393445 $as_echo "no" >&6; }
32403446 fi
32413447
32453451 ac_ct_CC=$CC
32463452 # Extract the first word of "gcc", so it can be a program name with args.
32473453 set dummy gcc; ac_word=$2
3248 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32493455 $as_echo_n "checking for $ac_word... " >&6; }
3250 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3456 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
32513457 $as_echo_n "(cached) " >&6
32523458 else
32533459 if test -n "$ac_ct_CC"; then
32583464 do
32593465 IFS=$as_save_IFS
32603466 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3467 for ac_exec_ext in '' $ac_executable_extensions; do
32623468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32633469 ac_cv_prog_ac_ct_CC="gcc"
3264 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32653471 break 2
32663472 fi
32673473 done
3268 done
3474 done
32693475 IFS=$as_save_IFS
32703476
32713477 fi
32723478 fi
32733479 ac_ct_CC=$ac_cv_prog_ac_ct_CC
32743480 if test -n "$ac_ct_CC"; then
3275 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
32763482 $as_echo "$ac_ct_CC" >&6; }
32773483 else
3278 { $as_echo "$as_me:$LINENO: result: no" >&5
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32793485 $as_echo "no" >&6; }
32803486 fi
32813487
32843490 else
32853491 case $cross_compiling:$ac_tool_warned in
32863492 yes:)
3287 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
32883494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
32893495 ac_tool_warned=yes ;;
32903496 esac
32983504 if test -n "$ac_tool_prefix"; then
32993505 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
33003506 set dummy ${ac_tool_prefix}cc; ac_word=$2
3301 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33023508 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_CC+set}" = set; then
3509 if test "${ac_cv_prog_CC+set}" = set; then :
33043510 $as_echo_n "(cached) " >&6
33053511 else
33063512 if test -n "$CC"; then
33113517 do
33123518 IFS=$as_save_IFS
33133519 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3520 for ac_exec_ext in '' $ac_executable_extensions; do
33153521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33163522 ac_cv_prog_CC="${ac_tool_prefix}cc"
3317 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33183524 break 2
33193525 fi
33203526 done
3321 done
3527 done
33223528 IFS=$as_save_IFS
33233529
33243530 fi
33253531 fi
33263532 CC=$ac_cv_prog_CC
33273533 if test -n "$CC"; then
3328 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
33293535 $as_echo "$CC" >&6; }
33303536 else
3331 { $as_echo "$as_me:$LINENO: result: no" >&5
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33323538 $as_echo "no" >&6; }
33333539 fi
33343540
33383544 if test -z "$CC"; then
33393545 # Extract the first word of "cc", so it can be a program name with args.
33403546 set dummy cc; ac_word=$2
3341 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33423548 $as_echo_n "checking for $ac_word... " >&6; }
3343 if test "${ac_cv_prog_CC+set}" = set; then
3549 if test "${ac_cv_prog_CC+set}" = set; then :
33443550 $as_echo_n "(cached) " >&6
33453551 else
33463552 if test -n "$CC"; then
33523558 do
33533559 IFS=$as_save_IFS
33543560 test -z "$as_dir" && as_dir=.
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3561 for ac_exec_ext in '' $ac_executable_extensions; do
33563562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33573563 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
33583564 ac_prog_rejected=yes
33593565 continue
33603566 fi
33613567 ac_cv_prog_CC="cc"
3362 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33633569 break 2
33643570 fi
33653571 done
3366 done
3572 done
33673573 IFS=$as_save_IFS
33683574
33693575 if test $ac_prog_rejected = yes; then
33823588 fi
33833589 CC=$ac_cv_prog_CC
33843590 if test -n "$CC"; then
3385 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
33863592 $as_echo "$CC" >&6; }
33873593 else
3388 { $as_echo "$as_me:$LINENO: result: no" >&5
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33893595 $as_echo "no" >&6; }
33903596 fi
33913597
33973603 do
33983604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
33993605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34013607 $as_echo_n "checking for $ac_word... " >&6; }
3402 if test "${ac_cv_prog_CC+set}" = set; then
3608 if test "${ac_cv_prog_CC+set}" = set; then :
34033609 $as_echo_n "(cached) " >&6
34043610 else
34053611 if test -n "$CC"; then
34103616 do
34113617 IFS=$as_save_IFS
34123618 test -z "$as_dir" && as_dir=.
3413 for ac_exec_ext in '' $ac_executable_extensions; do
3619 for ac_exec_ext in '' $ac_executable_extensions; do
34143620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34153621 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34173623 break 2
34183624 fi
34193625 done
3420 done
3626 done
34213627 IFS=$as_save_IFS
34223628
34233629 fi
34243630 fi
34253631 CC=$ac_cv_prog_CC
34263632 if test -n "$CC"; then
3427 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
34283634 $as_echo "$CC" >&6; }
34293635 else
3430 { $as_echo "$as_me:$LINENO: result: no" >&5
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34313637 $as_echo "no" >&6; }
34323638 fi
34333639
34413647 do
34423648 # Extract the first word of "$ac_prog", so it can be a program name with args.
34433649 set dummy $ac_prog; ac_word=$2
3444 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34453651 $as_echo_n "checking for $ac_word... " >&6; }
3446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
34473653 $as_echo_n "(cached) " >&6
34483654 else
34493655 if test -n "$ac_ct_CC"; then
34543660 do
34553661 IFS=$as_save_IFS
34563662 test -z "$as_dir" && as_dir=.
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3663 for ac_exec_ext in '' $ac_executable_extensions; do
34583664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34593665 ac_cv_prog_ac_ct_CC="$ac_prog"
3460 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34613667 break 2
34623668 fi
34633669 done
3464 done
3670 done
34653671 IFS=$as_save_IFS
34663672
34673673 fi
34683674 fi
34693675 ac_ct_CC=$ac_cv_prog_ac_ct_CC
34703676 if test -n "$ac_ct_CC"; then
3471 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
34723678 $as_echo "$ac_ct_CC" >&6; }
34733679 else
3474 { $as_echo "$as_me:$LINENO: result: no" >&5
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34753681 $as_echo "no" >&6; }
34763682 fi
34773683
34843690 else
34853691 case $cross_compiling:$ac_tool_warned in
34863692 yes:)
3487 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34883694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34893695 ac_tool_warned=yes ;;
34903696 esac
34953701 fi
34963702
34973703
3498 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3704 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34993705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3501 See \`config.log' for more details." >&5
3502 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3503 See \`config.log' for more details." >&2;}
3504 { (exit 1); exit 1; }; }; }
3706 as_fn_error "no acceptable C compiler found in \$PATH
3707 See \`config.log' for more details." "$LINENO" 5; }
35053708
35063709 # Provide some information about the compiler.
3507 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3710 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
35083711 set X $ac_compile
35093712 ac_compiler=$2
3510 { (ac_try="$ac_compiler --version >&5"
3713 for ac_option in --version -v -V -qversion; do
3714 { { ac_try="$ac_compiler $ac_option >&5"
35113715 case "(($ac_try" in
35123716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35133717 *) ac_try_echo=$ac_try;;
35143718 esac
3515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3516 $as_echo "$ac_try_echo") >&5
3517 (eval "$ac_compiler --version >&5") 2>&5
3719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3720 $as_echo "$ac_try_echo"; } >&5
3721 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
35183722 ac_status=$?
3519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); }
3521 { (ac_try="$ac_compiler -v >&5"
3522 case "(($ac_try" in
3523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524 *) ac_try_echo=$ac_try;;
3525 esac
3526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3527 $as_echo "$ac_try_echo") >&5
3528 (eval "$ac_compiler -v >&5") 2>&5
3529 ac_status=$?
3530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }
3532 { (ac_try="$ac_compiler -V >&5"
3533 case "(($ac_try" in
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3536 esac
3537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3538 $as_echo "$ac_try_echo") >&5
3539 (eval "$ac_compiler -V >&5") 2>&5
3540 ac_status=$?
3541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); }
3543
3544 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3723 if test -s conftest.err; then
3724 sed '10a\
3725 ... rest of stderr output deleted ...
3726 10q' conftest.err >conftest.er1
3727 cat conftest.er1 >&5
3728 fi
3729 rm -f conftest.er1 conftest.err
3730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3731 test $ac_status = 0; }
3732 done
3733
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
35453735 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3546 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3736 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
35473737 $as_echo_n "(cached) " >&6
35483738 else
3549 cat >conftest.$ac_ext <<_ACEOF
3550 /* confdefs.h. */
3551 _ACEOF
3552 cat confdefs.h >>conftest.$ac_ext
3553 cat >>conftest.$ac_ext <<_ACEOF
3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35543740 /* end confdefs.h. */
35553741
35563742 int
35643750 return 0;
35653751 }
35663752 _ACEOF
3567 rm -f conftest.$ac_objext
3568 if { (ac_try="$ac_compile"
3569 case "(($ac_try" in
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3572 esac
3573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3574 $as_echo "$ac_try_echo") >&5
3575 (eval "$ac_compile") 2>conftest.er1
3576 ac_status=$?
3577 grep -v '^ *+' conftest.er1 >conftest.err
3578 rm -f conftest.er1
3579 cat conftest.err >&5
3580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } && {
3582 test -z "$ac_c_werror_flag" ||
3583 test ! -s conftest.err
3584 } && test -s conftest.$ac_objext; then
3753 if ac_fn_c_try_compile "$LINENO"; then :
35853754 ac_compiler_gnu=yes
35863755 else
3587 $as_echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.$ac_ext >&5
3589
3590 ac_compiler_gnu=no
3591 fi
3592
3756 ac_compiler_gnu=no
3757 fi
35933758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35943759 ac_cv_c_compiler_gnu=$ac_compiler_gnu
35953760
35963761 fi
3597 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
35983763 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
35993764 if test $ac_compiler_gnu = yes; then
36003765 GCC=yes
36033768 fi
36043769 ac_test_CFLAGS=${CFLAGS+set}
36053770 ac_save_CFLAGS=$CFLAGS
3606 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
36073772 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3608 if test "${ac_cv_prog_cc_g+set}" = set; then
3773 if test "${ac_cv_prog_cc_g+set}" = set; then :
36093774 $as_echo_n "(cached) " >&6
36103775 else
36113776 ac_save_c_werror_flag=$ac_c_werror_flag
36123777 ac_c_werror_flag=yes
36133778 ac_cv_prog_cc_g=no
36143779 CFLAGS="-g"
3615 cat >conftest.$ac_ext <<_ACEOF
3616 /* confdefs.h. */
3617 _ACEOF
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36203781 /* end confdefs.h. */
36213782
36223783 int
36273788 return 0;
36283789 }
36293790 _ACEOF
3630 rm -f conftest.$ac_objext
3631 if { (ac_try="$ac_compile"
3632 case "(($ac_try" in
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3635 esac
3636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3637 $as_echo "$ac_try_echo") >&5
3638 (eval "$ac_compile") 2>conftest.er1
3639 ac_status=$?
3640 grep -v '^ *+' conftest.er1 >conftest.err
3641 rm -f conftest.er1
3642 cat conftest.err >&5
3643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); } && {
3645 test -z "$ac_c_werror_flag" ||
3646 test ! -s conftest.err
3647 } && test -s conftest.$ac_objext; then
3791 if ac_fn_c_try_compile "$LINENO"; then :
36483792 ac_cv_prog_cc_g=yes
36493793 else
3650 $as_echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3652
3653 CFLAGS=""
3654 cat >conftest.$ac_ext <<_ACEOF
3655 /* confdefs.h. */
3656 _ACEOF
3657 cat confdefs.h >>conftest.$ac_ext
3658 cat >>conftest.$ac_ext <<_ACEOF
3794 CFLAGS=""
3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36593796 /* end confdefs.h. */
36603797
36613798 int
36663803 return 0;
36673804 }
36683805 _ACEOF
3669 rm -f conftest.$ac_objext
3670 if { (ac_try="$ac_compile"
3671 case "(($ac_try" in
3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3674 esac
3675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3676 $as_echo "$ac_try_echo") >&5
3677 (eval "$ac_compile") 2>conftest.er1
3678 ac_status=$?
3679 grep -v '^ *+' conftest.er1 >conftest.err
3680 rm -f conftest.er1
3681 cat conftest.err >&5
3682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); } && {
3684 test -z "$ac_c_werror_flag" ||
3685 test ! -s conftest.err
3686 } && test -s conftest.$ac_objext; then
3687 :
3688 else
3689 $as_echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3691
3692 ac_c_werror_flag=$ac_save_c_werror_flag
3806 if ac_fn_c_try_compile "$LINENO"; then :
3807
3808 else
3809 ac_c_werror_flag=$ac_save_c_werror_flag
36933810 CFLAGS="-g"
3694 cat >conftest.$ac_ext <<_ACEOF
3695 /* confdefs.h. */
3696 _ACEOF
3697 cat confdefs.h >>conftest.$ac_ext
3698 cat >>conftest.$ac_ext <<_ACEOF
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36993812 /* end confdefs.h. */
37003813
37013814 int
37063819 return 0;
37073820 }
37083821 _ACEOF
3709 rm -f conftest.$ac_objext
3710 if { (ac_try="$ac_compile"
3711 case "(($ac_try" in
3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713 *) ac_try_echo=$ac_try;;
3714 esac
3715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3716 $as_echo "$ac_try_echo") >&5
3717 (eval "$ac_compile") 2>conftest.er1
3718 ac_status=$?
3719 grep -v '^ *+' conftest.er1 >conftest.err
3720 rm -f conftest.er1
3721 cat conftest.err >&5
3722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); } && {
3724 test -z "$ac_c_werror_flag" ||
3725 test ! -s conftest.err
3726 } && test -s conftest.$ac_objext; then
3822 if ac_fn_c_try_compile "$LINENO"; then :
37273823 ac_cv_prog_cc_g=yes
3728 else
3729 $as_echo "$as_me: failed program was:" >&5
3730 sed 's/^/| /' conftest.$ac_ext >&5
3731
3732
3733 fi
3734
3824 fi
37353825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37363826 fi
3737
37383827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37393828 fi
3740
37413829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37423830 ac_c_werror_flag=$ac_save_c_werror_flag
37433831 fi
3744 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
37453833 $as_echo "$ac_cv_prog_cc_g" >&6; }
37463834 if test "$ac_test_CFLAGS" = set; then
37473835 CFLAGS=$ac_save_CFLAGS
37583846 CFLAGS=
37593847 fi
37603848 fi
3761 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
37623850 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3763 if test "${ac_cv_prog_cc_c89+set}" = set; then
3851 if test "${ac_cv_prog_cc_c89+set}" = set; then :
37643852 $as_echo_n "(cached) " >&6
37653853 else
37663854 ac_cv_prog_cc_c89=no
37673855 ac_save_CC=$CC
3768 cat >conftest.$ac_ext <<_ACEOF
3769 /* confdefs.h. */
3770 _ACEOF
3771 cat confdefs.h >>conftest.$ac_ext
3772 cat >>conftest.$ac_ext <<_ACEOF
3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37733857 /* end confdefs.h. */
37743858 #include <stdarg.h>
37753859 #include <stdio.h>
38263910 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
38273911 do
38283912 CC="$ac_save_CC $ac_arg"
3829 rm -f conftest.$ac_objext
3830 if { (ac_try="$ac_compile"
3831 case "(($ac_try" in
3832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833 *) ac_try_echo=$ac_try;;
3834 esac
3835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3836 $as_echo "$ac_try_echo") >&5
3837 (eval "$ac_compile") 2>conftest.er1
3838 ac_status=$?
3839 grep -v '^ *+' conftest.er1 >conftest.err
3840 rm -f conftest.er1
3841 cat conftest.err >&5
3842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); } && {
3844 test -z "$ac_c_werror_flag" ||
3845 test ! -s conftest.err
3846 } && test -s conftest.$ac_objext; then
3913 if ac_fn_c_try_compile "$LINENO"; then :
38473914 ac_cv_prog_cc_c89=$ac_arg
3848 else
3849 $as_echo "$as_me: failed program was:" >&5
3850 sed 's/^/| /' conftest.$ac_ext >&5
3851
3852
3853 fi
3854
3915 fi
38553916 rm -f core conftest.err conftest.$ac_objext
38563917 test "x$ac_cv_prog_cc_c89" != "xno" && break
38573918 done
38623923 # AC_CACHE_VAL
38633924 case "x$ac_cv_prog_cc_c89" in
38643925 x)
3865 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
38663927 $as_echo "none needed" >&6; } ;;
38673928 xno)
3868 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
38693930 $as_echo "unsupported" >&6; } ;;
38703931 *)
38713932 CC="$CC $ac_cv_prog_cc_c89"
3872 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
38733934 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
38743935 esac
3875
3936 if test "x$ac_cv_prog_cc_c89" != xno; then :
3937
3938 fi
38763939
38773940 ac_ext=c
38783941 ac_cpp='$CPP $CPPFLAGS'
38823945
38833946 depcc="$CC" am_compiler_list=
38843947
3885 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
38863949 $as_echo_n "checking dependency style of $depcc... " >&6; }
3887 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3950 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
38883951 $as_echo_n "(cached) " >&6
38893952 else
38903953 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
39103973 if test "$am_compiler_list" = ""; then
39113974 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
39123975 fi
3976 am__universal=false
3977 case " $depcc " in #(
3978 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3979 esac
3980
39133981 for depmode in $am_compiler_list; do
39143982 # Setup a source with many dependencies, because some compilers
39153983 # like to wrap large dependency lists on column 80 (with \), and
39273995 done
39283996 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
39293997
3998 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3999 # mode. It turns out that the SunPro C++ compiler does not properly
4000 # handle `-M -o', and we need to detect this. Also, some Intel
4001 # versions had trouble with output in subdirs
4002 am__obj=sub/conftest.${OBJEXT-o}
4003 am__minus_obj="-o $am__obj"
39304004 case $depmode in
4005 gcc)
4006 # This depmode causes a compiler race in universal mode.
4007 test "$am__universal" = false || continue
4008 ;;
39314009 nosideeffect)
39324010 # after this tag, mechanisms are not by side-effect, so they'll
39334011 # only be used when explicitly requested
39374015 break
39384016 fi
39394017 ;;
4018 msvisualcpp | msvcmsys)
4019 # This compiler won't grok `-c -o', but also, the minuso test has
4020 # not run yet. These depmodes are late enough in the game, and
4021 # so weak that their functioning should not be impacted.
4022 am__obj=conftest.${OBJEXT-o}
4023 am__minus_obj=
4024 ;;
39404025 none) break ;;
39414026 esac
3942 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3943 # mode. It turns out that the SunPro C++ compiler does not properly
3944 # handle `-M -o', and we need to detect this.
39454027 if depmode=$depmode \
3946 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4028 source=sub/conftest.c object=$am__obj \
39474029 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3948 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4030 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
39494031 >/dev/null 2>conftest.err &&
39504032 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
39514033 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3952 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4034 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
39534035 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
39544036 # icc doesn't choke on unknown options, it will just issue warnings
39554037 # or remarks (even with -Werror). So we grep stderr for any message
39734055 fi
39744056
39754057 fi
3976 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
39774059 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
39784060 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
39794061
39944076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39954077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39964078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3997 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
39984080 $as_echo_n "checking how to run the C preprocessor... " >&6; }
39994081 # On Suns, sometimes $CPP names a directory.
40004082 if test -n "$CPP" && test -d "$CPP"; then
40014083 CPP=
40024084 fi
40034085 if test -z "$CPP"; then
4004 if test "${ac_cv_prog_CPP+set}" = set; then
4086 if test "${ac_cv_prog_CPP+set}" = set; then :
40054087 $as_echo_n "(cached) " >&6
40064088 else
40074089 # Double quotes because CPP needs to be expanded
40164098 # <limits.h> exists even on freestanding compilers.
40174099 # On the NeXT, cc -E runs the code through the compiler's parser,
40184100 # not just through cpp. "Syntax error" is here to catch this case.
4019 cat >conftest.$ac_ext <<_ACEOF
4020 /* confdefs.h. */
4021 _ACEOF
4022 cat confdefs.h >>conftest.$ac_ext
4023 cat >>conftest.$ac_ext <<_ACEOF
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40244102 /* end confdefs.h. */
40254103 #ifdef __STDC__
40264104 # include <limits.h>
40294107 #endif
40304108 Syntax error
40314109 _ACEOF
4032 if { (ac_try="$ac_cpp conftest.$ac_ext"
4033 case "(($ac_try" in
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4036 esac
4037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4038 $as_echo "$ac_try_echo") >&5
4039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4040 ac_status=$?
4041 grep -v '^ *+' conftest.er1 >conftest.err
4042 rm -f conftest.er1
4043 cat conftest.err >&5
4044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } >/dev/null && {
4046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4047 test ! -s conftest.err
4048 }; then
4049 :
4050 else
4051 $as_echo "$as_me: failed program was:" >&5
4052 sed 's/^/| /' conftest.$ac_ext >&5
4053
4110 if ac_fn_c_try_cpp "$LINENO"; then :
4111
4112 else
40544113 # Broken: fails on valid input.
40554114 continue
40564115 fi
4057
40584116 rm -f conftest.err conftest.$ac_ext
40594117
40604118 # OK, works on sane cases. Now check whether nonexistent headers
40614119 # can be detected and how.
4062 cat >conftest.$ac_ext <<_ACEOF
4063 /* confdefs.h. */
4064 _ACEOF
4065 cat confdefs.h >>conftest.$ac_ext
4066 cat >>conftest.$ac_ext <<_ACEOF
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40674121 /* end confdefs.h. */
40684122 #include <ac_nonexistent.h>
40694123 _ACEOF
4070 if { (ac_try="$ac_cpp conftest.$ac_ext"
4071 case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4074 esac
4075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4076 $as_echo "$ac_try_echo") >&5
4077 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4078 ac_status=$?
4079 grep -v '^ *+' conftest.er1 >conftest.err
4080 rm -f conftest.er1
4081 cat conftest.err >&5
4082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } >/dev/null && {
4084 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 }; then
4124 if ac_fn_c_try_cpp "$LINENO"; then :
40874125 # Broken: success on invalid input.
40884126 continue
40894127 else
4090 $as_echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4092
40934128 # Passes both tests.
40944129 ac_preproc_ok=:
40954130 break
40964131 fi
4097
40984132 rm -f conftest.err conftest.$ac_ext
40994133
41004134 done
41014135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
41024136 rm -f conftest.err conftest.$ac_ext
4103 if $ac_preproc_ok; then
4137 if $ac_preproc_ok; then :
41044138 break
41054139 fi
41064140
41124146 else
41134147 ac_cv_prog_CPP=$CPP
41144148 fi
4115 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
41164150 $as_echo "$CPP" >&6; }
41174151 ac_preproc_ok=false
41184152 for ac_c_preproc_warn_flag in '' yes
41234157 # <limits.h> exists even on freestanding compilers.
41244158 # On the NeXT, cc -E runs the code through the compiler's parser,
41254159 # not just through cpp. "Syntax error" is here to catch this case.
4126 cat >conftest.$ac_ext <<_ACEOF
4127 /* confdefs.h. */
4128 _ACEOF
4129 cat confdefs.h >>conftest.$ac_ext
4130 cat >>conftest.$ac_ext <<_ACEOF
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41314161 /* end confdefs.h. */
41324162 #ifdef __STDC__
41334163 # include <limits.h>
41364166 #endif
41374167 Syntax error
41384168 _ACEOF
4139 if { (ac_try="$ac_cpp conftest.$ac_ext"
4140 case "(($ac_try" in
4141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4142 *) ac_try_echo=$ac_try;;
4143 esac
4144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4145 $as_echo "$ac_try_echo") >&5
4146 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4147 ac_status=$?
4148 grep -v '^ *+' conftest.er1 >conftest.err
4149 rm -f conftest.er1
4150 cat conftest.err >&5
4151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); } >/dev/null && {
4153 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4154 test ! -s conftest.err
4155 }; then
4156 :
4157 else
4158 $as_echo "$as_me: failed program was:" >&5
4159 sed 's/^/| /' conftest.$ac_ext >&5
4160
4169 if ac_fn_c_try_cpp "$LINENO"; then :
4170
4171 else
41614172 # Broken: fails on valid input.
41624173 continue
41634174 fi
4164
41654175 rm -f conftest.err conftest.$ac_ext
41664176
41674177 # OK, works on sane cases. Now check whether nonexistent headers
41684178 # can be detected and how.
4169 cat >conftest.$ac_ext <<_ACEOF
4170 /* confdefs.h. */
4171 _ACEOF
4172 cat confdefs.h >>conftest.$ac_ext
4173 cat >>conftest.$ac_ext <<_ACEOF
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41744180 /* end confdefs.h. */
41754181 #include <ac_nonexistent.h>
41764182 _ACEOF
4177 if { (ac_try="$ac_cpp conftest.$ac_ext"
4178 case "(($ac_try" in
4179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4181 esac
4182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4183 $as_echo "$ac_try_echo") >&5
4184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4185 ac_status=$?
4186 grep -v '^ *+' conftest.er1 >conftest.err
4187 rm -f conftest.er1
4188 cat conftest.err >&5
4189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); } >/dev/null && {
4191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4192 test ! -s conftest.err
4193 }; then
4183 if ac_fn_c_try_cpp "$LINENO"; then :
41944184 # Broken: success on invalid input.
41954185 continue
41964186 else
4197 $as_echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4199
42004187 # Passes both tests.
42014188 ac_preproc_ok=:
42024189 break
42034190 fi
4204
42054191 rm -f conftest.err conftest.$ac_ext
42064192
42074193 done
42084194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
42094195 rm -f conftest.err conftest.$ac_ext
4210 if $ac_preproc_ok; then
4211 :
4212 else
4213 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4196 if $ac_preproc_ok; then :
4197
4198 else
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42144200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4215 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4216 See \`config.log' for more details." >&5
4217 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4218 See \`config.log' for more details." >&2;}
4219 { (exit 1); exit 1; }; }; }
4201 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4202 See \`config.log' for more details." "$LINENO" 5; }
42204203 fi
42214204
42224205 ac_ext=c
42264209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42274210
42284211
4229 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
42304213 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4231 if test "${ac_cv_path_GREP+set}" = set; then
4214 if test "${ac_cv_path_GREP+set}" = set; then :
42324215 $as_echo_n "(cached) " >&6
42334216 else
42344217 if test -z "$GREP"; then
42394222 do
42404223 IFS=$as_save_IFS
42414224 test -z "$as_dir" && as_dir=.
4242 for ac_prog in grep ggrep; do
4225 for ac_prog in grep ggrep; do
42434226 for ac_exec_ext in '' $ac_executable_extensions; do
42444227 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
42454228 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
42594242 $as_echo 'GREP' >> "conftest.nl"
42604243 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
42614244 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4262 ac_count=`expr $ac_count + 1`
4245 as_fn_arith $ac_count + 1 && ac_count=$as_val
42634246 if test $ac_count -gt ${ac_path_GREP_max-0}; then
42644247 # Best one so far, save it but keep looking for a better one
42654248 ac_cv_path_GREP="$ac_path_GREP"
42744257 $ac_path_GREP_found && break 3
42754258 done
42764259 done
4277 done
4260 done
42784261 IFS=$as_save_IFS
42794262 if test -z "$ac_cv_path_GREP"; then
4280 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4281 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4282 { (exit 1); exit 1; }; }
4263 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
42834264 fi
42844265 else
42854266 ac_cv_path_GREP=$GREP
42864267 fi
42874268
42884269 fi
4289 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
42904271 $as_echo "$ac_cv_path_GREP" >&6; }
42914272 GREP="$ac_cv_path_GREP"
42924273
42934274
4294 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
42954276 $as_echo_n "checking for egrep... " >&6; }
4296 if test "${ac_cv_path_EGREP+set}" = set; then
4277 if test "${ac_cv_path_EGREP+set}" = set; then :
42974278 $as_echo_n "(cached) " >&6
42984279 else
42994280 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
43074288 do
43084289 IFS=$as_save_IFS
43094290 test -z "$as_dir" && as_dir=.
4310 for ac_prog in egrep; do
4291 for ac_prog in egrep; do
43114292 for ac_exec_ext in '' $ac_executable_extensions; do
43124293 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
43134294 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
43274308 $as_echo 'EGREP' >> "conftest.nl"
43284309 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
43294310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4330 ac_count=`expr $ac_count + 1`
4311 as_fn_arith $ac_count + 1 && ac_count=$as_val
43314312 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
43324313 # Best one so far, save it but keep looking for a better one
43334314 ac_cv_path_EGREP="$ac_path_EGREP"
43424323 $ac_path_EGREP_found && break 3
43434324 done
43444325 done
4345 done
4326 done
43464327 IFS=$as_save_IFS
43474328 if test -z "$ac_cv_path_EGREP"; then
4348 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4349 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4350 { (exit 1); exit 1; }; }
4329 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
43514330 fi
43524331 else
43534332 ac_cv_path_EGREP=$EGREP
43554334
43564335 fi
43574336 fi
4358 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
43594338 $as_echo "$ac_cv_path_EGREP" >&6; }
43604339 EGREP="$ac_cv_path_EGREP"
43614340
43624341
4363 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
43644343 $as_echo_n "checking for ANSI C header files... " >&6; }
4365 if test "${ac_cv_header_stdc+set}" = set; then
4344 if test "${ac_cv_header_stdc+set}" = set; then :
43664345 $as_echo_n "(cached) " >&6
43674346 else
4368 cat >conftest.$ac_ext <<_ACEOF
4369 /* confdefs.h. */
4370 _ACEOF
4371 cat confdefs.h >>conftest.$ac_ext
4372 cat >>conftest.$ac_ext <<_ACEOF
4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43734348 /* end confdefs.h. */
43744349 #include <stdlib.h>
43754350 #include <stdarg.h>
43844359 return 0;
43854360 }
43864361 _ACEOF
4387 rm -f conftest.$ac_objext
4388 if { (ac_try="$ac_compile"
4389 case "(($ac_try" in
4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4392 esac
4393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4394 $as_echo "$ac_try_echo") >&5
4395 (eval "$ac_compile") 2>conftest.er1
4396 ac_status=$?
4397 grep -v '^ *+' conftest.er1 >conftest.err
4398 rm -f conftest.er1
4399 cat conftest.err >&5
4400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); } && {
4402 test -z "$ac_c_werror_flag" ||
4403 test ! -s conftest.err
4404 } && test -s conftest.$ac_objext; then
4362 if ac_fn_c_try_compile "$LINENO"; then :
44054363 ac_cv_header_stdc=yes
44064364 else
4407 $as_echo "$as_me: failed program was:" >&5
4408 sed 's/^/| /' conftest.$ac_ext >&5
4409
4410 ac_cv_header_stdc=no
4411 fi
4412
4365 ac_cv_header_stdc=no
4366 fi
44134367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44144368
44154369 if test $ac_cv_header_stdc = yes; then
44164370 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4417 cat >conftest.$ac_ext <<_ACEOF
4418 /* confdefs.h. */
4419 _ACEOF
4420 cat confdefs.h >>conftest.$ac_ext
4421 cat >>conftest.$ac_ext <<_ACEOF
4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44224372 /* end confdefs.h. */
44234373 #include <string.h>
44244374
44254375 _ACEOF
44264376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4427 $EGREP "memchr" >/dev/null 2>&1; then
4428 :
4377 $EGREP "memchr" >/dev/null 2>&1; then :
4378
44294379 else
44304380 ac_cv_header_stdc=no
44314381 fi
44354385
44364386 if test $ac_cv_header_stdc = yes; then
44374387 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4438 cat >conftest.$ac_ext <<_ACEOF
4439 /* confdefs.h. */
4440 _ACEOF
4441 cat confdefs.h >>conftest.$ac_ext
4442 cat >>conftest.$ac_ext <<_ACEOF
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44434389 /* end confdefs.h. */
44444390 #include <stdlib.h>
44454391
44464392 _ACEOF
44474393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4448 $EGREP "free" >/dev/null 2>&1; then
4449 :
4394 $EGREP "free" >/dev/null 2>&1; then :
4395
44504396 else
44514397 ac_cv_header_stdc=no
44524398 fi
44564402
44574403 if test $ac_cv_header_stdc = yes; then
44584404 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4459 if test "$cross_compiling" = yes; then
4405 if test "$cross_compiling" = yes; then :
44604406 :
44614407 else
4462 cat >conftest.$ac_ext <<_ACEOF
4463 /* confdefs.h. */
4464 _ACEOF
4465 cat confdefs.h >>conftest.$ac_ext
4466 cat >>conftest.$ac_ext <<_ACEOF
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44674409 /* end confdefs.h. */
44684410 #include <ctype.h>
44694411 #include <stdlib.h>
44904432 return 0;
44914433 }
44924434 _ACEOF
4493 rm -f conftest$ac_exeext
4494 if { (ac_try="$ac_link"
4495 case "(($ac_try" in
4496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4497 *) ac_try_echo=$ac_try;;
4498 esac
4499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4500 $as_echo "$ac_try_echo") >&5
4501 (eval "$ac_link") 2>&5
4502 ac_status=$?
4503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4505 { (case "(($ac_try" in
4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4508 esac
4509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4510 $as_echo "$ac_try_echo") >&5
4511 (eval "$ac_try") 2>&5
4512 ac_status=$?
4513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); }; }; then
4515 :
4516 else
4517 $as_echo "$as_me: program exited with status $ac_status" >&5
4518 $as_echo "$as_me: failed program was:" >&5
4519 sed 's/^/| /' conftest.$ac_ext >&5
4520
4521 ( exit $ac_status )
4522 ac_cv_header_stdc=no
4523 fi
4524 rm -rf conftest.dSYM
4525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4526 fi
4527
4528
4529 fi
4530 fi
4531 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4435 if ac_fn_c_try_run "$LINENO"; then :
4436
4437 else
4438 ac_cv_header_stdc=no
4439 fi
4440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4441 conftest.$ac_objext conftest.beam conftest.$ac_ext
4442 fi
4443
4444 fi
4445 fi
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
45324447 $as_echo "$ac_cv_header_stdc" >&6; }
45334448 if test $ac_cv_header_stdc = yes; then
45344449
4535 cat >>confdefs.h <<\_ACEOF
4536 #define STDC_HEADERS 1
4537 _ACEOF
4450 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
45384451
45394452 fi
45404453
45414454 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4542
4543
4544
4545
4546
4547
4548
4549
4550
45514455 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
45524456 inttypes.h stdint.h unistd.h
4553 do
4554 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4555 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4556 $as_echo_n "checking for $ac_header... " >&6; }
4557 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4558 $as_echo_n "(cached) " >&6
4559 else
4560 cat >conftest.$ac_ext <<_ACEOF
4561 /* confdefs.h. */
4562 _ACEOF
4563 cat confdefs.h >>conftest.$ac_ext
4564 cat >>conftest.$ac_ext <<_ACEOF
4565 /* end confdefs.h. */
4566 $ac_includes_default
4567
4568 #include <$ac_header>
4569 _ACEOF
4570 rm -f conftest.$ac_objext
4571 if { (ac_try="$ac_compile"
4572 case "(($ac_try" in
4573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4574 *) ac_try_echo=$ac_try;;
4575 esac
4576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4577 $as_echo "$ac_try_echo") >&5
4578 (eval "$ac_compile") 2>conftest.er1
4579 ac_status=$?
4580 grep -v '^ *+' conftest.er1 >conftest.err
4581 rm -f conftest.er1
4582 cat conftest.err >&5
4583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); } && {
4585 test -z "$ac_c_werror_flag" ||
4586 test ! -s conftest.err
4587 } && test -s conftest.$ac_objext; then
4588 eval "$as_ac_Header=yes"
4589 else
4590 $as_echo "$as_me: failed program was:" >&5
4591 sed 's/^/| /' conftest.$ac_ext >&5
4592
4593 eval "$as_ac_Header=no"
4594 fi
4595
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 fi
4598 ac_res=`eval 'as_val=${'$as_ac_Header'}
4599 $as_echo "$as_val"'`
4600 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4601 $as_echo "$ac_res" >&6; }
4602 as_val=`eval 'as_val=${'$as_ac_Header'}
4603 $as_echo "$as_val"'`
4604 if test "x$as_val" = x""yes; then
4457 do :
4458 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4459 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4460 "
4461 eval as_val=\$$as_ac_Header
4462 if test "x$as_val" = x""yes; then :
46054463 cat >>confdefs.h <<_ACEOF
46064464 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
46074465 _ACEOF
46114469 done
46124470
46134471
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
46244472 for ac_header in curses.h signal.h sys/time.h sys/types.h sys/stat.h \
46254473 unistd.h fcntl.h time.h stdlib.h math.h
4626 do
4627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4629 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4630 $as_echo_n "checking for $ac_header... " >&6; }
4631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4632 $as_echo_n "(cached) " >&6
4633 fi
4634 ac_res=`eval 'as_val=${'$as_ac_Header'}
4635 $as_echo "$as_val"'`
4636 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4637 $as_echo "$ac_res" >&6; }
4638 else
4639 # Is the header compilable?
4640 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4641 $as_echo_n "checking $ac_header usability... " >&6; }
4642 cat >conftest.$ac_ext <<_ACEOF
4643 /* confdefs.h. */
4644 _ACEOF
4645 cat confdefs.h >>conftest.$ac_ext
4646 cat >>conftest.$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4648 $ac_includes_default
4649 #include <$ac_header>
4650 _ACEOF
4651 rm -f conftest.$ac_objext
4652 if { (ac_try="$ac_compile"
4653 case "(($ac_try" in
4654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4655 *) ac_try_echo=$ac_try;;
4656 esac
4657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4658 $as_echo "$ac_try_echo") >&5
4659 (eval "$ac_compile") 2>conftest.er1
4660 ac_status=$?
4661 grep -v '^ *+' conftest.er1 >conftest.err
4662 rm -f conftest.er1
4663 cat conftest.err >&5
4664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); } && {
4666 test -z "$ac_c_werror_flag" ||
4667 test ! -s conftest.err
4668 } && test -s conftest.$ac_objext; then
4669 ac_header_compiler=yes
4670 else
4671 $as_echo "$as_me: failed program was:" >&5
4672 sed 's/^/| /' conftest.$ac_ext >&5
4673
4674 ac_header_compiler=no
4675 fi
4676
4677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4679 $as_echo "$ac_header_compiler" >&6; }
4680
4681 # Is the header present?
4682 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4683 $as_echo_n "checking $ac_header presence... " >&6; }
4684 cat >conftest.$ac_ext <<_ACEOF
4685 /* confdefs.h. */
4686 _ACEOF
4687 cat confdefs.h >>conftest.$ac_ext
4688 cat >>conftest.$ac_ext <<_ACEOF
4689 /* end confdefs.h. */
4690 #include <$ac_header>
4691 _ACEOF
4692 if { (ac_try="$ac_cpp conftest.$ac_ext"
4693 case "(($ac_try" in
4694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4696 esac
4697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4698 $as_echo "$ac_try_echo") >&5
4699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4700 ac_status=$?
4701 grep -v '^ *+' conftest.er1 >conftest.err
4702 rm -f conftest.er1
4703 cat conftest.err >&5
4704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } >/dev/null && {
4706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4707 test ! -s conftest.err
4708 }; then
4709 ac_header_preproc=yes
4710 else
4711 $as_echo "$as_me: failed program was:" >&5
4712 sed 's/^/| /' conftest.$ac_ext >&5
4713
4714 ac_header_preproc=no
4715 fi
4716
4717 rm -f conftest.err conftest.$ac_ext
4718 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4719 $as_echo "$ac_header_preproc" >&6; }
4720
4721 # So? What about this header?
4722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4723 yes:no: )
4724 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4725 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4726 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4727 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4728 ac_header_preproc=yes
4729 ;;
4730 no:yes:* )
4731 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4732 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4733 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4734 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4735 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4736 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4737 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4738 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4739 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4740 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4742 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4743
4744 ;;
4745 esac
4746 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4747 $as_echo_n "checking for $ac_header... " >&6; }
4748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4749 $as_echo_n "(cached) " >&6
4750 else
4751 eval "$as_ac_Header=\$ac_header_preproc"
4752 fi
4753 ac_res=`eval 'as_val=${'$as_ac_Header'}
4754 $as_echo "$as_val"'`
4755 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4756 $as_echo "$ac_res" >&6; }
4757
4758 fi
4759 as_val=`eval 'as_val=${'$as_ac_Header'}
4760 $as_echo "$as_val"'`
4761 if test "x$as_val" = x""yes; then
4474 do :
4475 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4476 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4477 eval as_val=\$$as_ac_Header
4478 if test "x$as_val" = x""yes; then :
47624479 cat >>confdefs.h <<_ACEOF
47634480 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
47644481 _ACEOF
47654482
47664483 else
47674484 \
4768 { { $as_echo "$as_me:$LINENO: error: header missing" >&5
4769 $as_echo "$as_me: error: header missing" >&2;}
4770 { (exit 1); exit 1; }; }
4485 as_fn_error "header missing" "$LINENO" 5
47714486 fi
47724487
47734488 done
47744489
4775
4776 { $as_echo "$as_me:$LINENO: checking for wgetch in -lncurses" >&5
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wgetch in -lncurses" >&5
47774491 $as_echo_n "checking for wgetch in -lncurses... " >&6; }
4778 if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then
4492 if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then :
47794493 $as_echo_n "(cached) " >&6
47804494 else
47814495 ac_check_lib_save_LIBS=$LIBS
47824496 LIBS="-lncurses $LIBS"
4783 cat >conftest.$ac_ext <<_ACEOF
4784 /* confdefs.h. */
4785 _ACEOF
4786 cat confdefs.h >>conftest.$ac_ext
4787 cat >>conftest.$ac_ext <<_ACEOF
4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47884498 /* end confdefs.h. */
47894499
47904500 /* Override any GCC internal prototype to avoid an error.
48024512 return 0;
48034513 }
48044514 _ACEOF
4805 rm -f conftest.$ac_objext conftest$ac_exeext
4806 if { (ac_try="$ac_link"
4807 case "(($ac_try" in
4808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4809 *) ac_try_echo=$ac_try;;
4810 esac
4811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4812 $as_echo "$ac_try_echo") >&5
4813 (eval "$ac_link") 2>conftest.er1
4814 ac_status=$?
4815 grep -v '^ *+' conftest.er1 >conftest.err
4816 rm -f conftest.er1
4817 cat conftest.err >&5
4818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); } && {
4820 test -z "$ac_c_werror_flag" ||
4821 test ! -s conftest.err
4822 } && test -s conftest$ac_exeext && {
4823 test "$cross_compiling" = yes ||
4824 $as_test_x conftest$ac_exeext
4825 }; then
4515 if ac_fn_c_try_link "$LINENO"; then :
48264516 ac_cv_lib_ncurses_wgetch=yes
48274517 else
4828 $as_echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.$ac_ext >&5
4830
4831 ac_cv_lib_ncurses_wgetch=no
4832 fi
4833
4834 rm -rf conftest.dSYM
4835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4836 conftest$ac_exeext conftest.$ac_ext
4518 ac_cv_lib_ncurses_wgetch=no
4519 fi
4520 rm -f core conftest.err conftest.$ac_objext \
4521 conftest$ac_exeext conftest.$ac_ext
48374522 LIBS=$ac_check_lib_save_LIBS
48384523 fi
4839 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_wgetch" >&5
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_wgetch" >&5
48404525 $as_echo "$ac_cv_lib_ncurses_wgetch" >&6; }
4841 if test "x$ac_cv_lib_ncurses_wgetch" = x""yes; then
4526 if test "x$ac_cv_lib_ncurses_wgetch" = x""yes; then :
48424527 cat >>confdefs.h <<_ACEOF
48434528 #define HAVE_LIBNCURSES 1
48444529 _ACEOF
48464531 LIBS="-lncurses $LIBS"
48474532
48484533 else
4849 { { $as_echo "$as_me:$LINENO: error: recent ncurses installed?" >&5
4850 $as_echo "$as_me: error: recent ncurses installed?" >&2;}
4851 { (exit 1); exit 1; }; }
4534 as_fn_error "recent ncurses installed?" "$LINENO" 5
48524535 fi
48534536
48544537
48644547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48654548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48664549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4867 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
48684551 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
48694552 if test -z "$CXXCPP"; then
4870 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4553 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
48714554 $as_echo_n "(cached) " >&6
48724555 else
48734556 # Double quotes because CXXCPP needs to be expanded
48824565 # <limits.h> exists even on freestanding compilers.
48834566 # On the NeXT, cc -E runs the code through the compiler's parser,
48844567 # not just through cpp. "Syntax error" is here to catch this case.
4885 cat >conftest.$ac_ext <<_ACEOF
4886 /* confdefs.h. */
4887 _ACEOF
4888 cat confdefs.h >>conftest.$ac_ext
4889 cat >>conftest.$ac_ext <<_ACEOF
4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48904569 /* end confdefs.h. */
48914570 #ifdef __STDC__
48924571 # include <limits.h>
48954574 #endif
48964575 Syntax error
48974576 _ACEOF
4898 if { (ac_try="$ac_cpp conftest.$ac_ext"
4899 case "(($ac_try" in
4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4902 esac
4903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4904 $as_echo "$ac_try_echo") >&5
4905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4906 ac_status=$?
4907 grep -v '^ *+' conftest.er1 >conftest.err
4908 rm -f conftest.er1
4909 cat conftest.err >&5
4910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } >/dev/null && {
4912 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4913 test ! -s conftest.err
4914 }; then
4915 :
4916 else
4917 $as_echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4919
4577 if ac_fn_cxx_try_cpp "$LINENO"; then :
4578
4579 else
49204580 # Broken: fails on valid input.
49214581 continue
49224582 fi
4923
49244583 rm -f conftest.err conftest.$ac_ext
49254584
49264585 # OK, works on sane cases. Now check whether nonexistent headers
49274586 # can be detected and how.
4928 cat >conftest.$ac_ext <<_ACEOF
4929 /* confdefs.h. */
4930 _ACEOF
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49334588 /* end confdefs.h. */
49344589 #include <ac_nonexistent.h>
49354590 _ACEOF
4936 if { (ac_try="$ac_cpp conftest.$ac_ext"
4937 case "(($ac_try" in
4938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4939 *) ac_try_echo=$ac_try;;
4940 esac
4941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4942 $as_echo "$ac_try_echo") >&5
4943 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4944 ac_status=$?
4945 grep -v '^ *+' conftest.er1 >conftest.err
4946 rm -f conftest.er1
4947 cat conftest.err >&5
4948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); } >/dev/null && {
4950 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4951 test ! -s conftest.err
4952 }; then
4591 if ac_fn_cxx_try_cpp "$LINENO"; then :
49534592 # Broken: success on invalid input.
49544593 continue
49554594 else
4956 $as_echo "$as_me: failed program was:" >&5
4957 sed 's/^/| /' conftest.$ac_ext >&5
4958
49594595 # Passes both tests.
49604596 ac_preproc_ok=:
49614597 break
49624598 fi
4963
49644599 rm -f conftest.err conftest.$ac_ext
49654600
49664601 done
49674602 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
49684603 rm -f conftest.err conftest.$ac_ext
4969 if $ac_preproc_ok; then
4604 if $ac_preproc_ok; then :
49704605 break
49714606 fi
49724607
49784613 else
49794614 ac_cv_prog_CXXCPP=$CXXCPP
49804615 fi
4981 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
49824617 $as_echo "$CXXCPP" >&6; }
49834618 ac_preproc_ok=false
49844619 for ac_cxx_preproc_warn_flag in '' yes
49894624 # <limits.h> exists even on freestanding compilers.
49904625 # On the NeXT, cc -E runs the code through the compiler's parser,
49914626 # not just through cpp. "Syntax error" is here to catch this case.
4992 cat >conftest.$ac_ext <<_ACEOF
4993 /* confdefs.h. */
4994 _ACEOF
4995 cat confdefs.h >>conftest.$ac_ext
4996 cat >>conftest.$ac_ext <<_ACEOF
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49974628 /* end confdefs.h. */
49984629 #ifdef __STDC__
49994630 # include <limits.h>
50024633 #endif
50034634 Syntax error
50044635 _ACEOF
5005 if { (ac_try="$ac_cpp conftest.$ac_ext"
5006 case "(($ac_try" in
5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5008 *) ac_try_echo=$ac_try;;
5009 esac
5010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5011 $as_echo "$ac_try_echo") >&5
5012 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5013 ac_status=$?
5014 grep -v '^ *+' conftest.er1 >conftest.err
5015 rm -f conftest.er1
5016 cat conftest.err >&5
5017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); } >/dev/null && {
5019 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5020 test ! -s conftest.err
5021 }; then
5022 :
5023 else
5024 $as_echo "$as_me: failed program was:" >&5
5025 sed 's/^/| /' conftest.$ac_ext >&5
5026
4636 if ac_fn_cxx_try_cpp "$LINENO"; then :
4637
4638 else
50274639 # Broken: fails on valid input.
50284640 continue
50294641 fi
5030
50314642 rm -f conftest.err conftest.$ac_ext
50324643
50334644 # OK, works on sane cases. Now check whether nonexistent headers
50344645 # can be detected and how.
5035 cat >conftest.$ac_ext <<_ACEOF
5036 /* confdefs.h. */
5037 _ACEOF
5038 cat confdefs.h >>conftest.$ac_ext
5039 cat >>conftest.$ac_ext <<_ACEOF
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50404647 /* end confdefs.h. */
50414648 #include <ac_nonexistent.h>
50424649 _ACEOF
5043 if { (ac_try="$ac_cpp conftest.$ac_ext"
5044 case "(($ac_try" in
5045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5046 *) ac_try_echo=$ac_try;;
5047 esac
5048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5049 $as_echo "$ac_try_echo") >&5
5050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5051 ac_status=$?
5052 grep -v '^ *+' conftest.er1 >conftest.err
5053 rm -f conftest.er1
5054 cat conftest.err >&5
5055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); } >/dev/null && {
5057 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5058 test ! -s conftest.err
5059 }; then
4650 if ac_fn_cxx_try_cpp "$LINENO"; then :
50604651 # Broken: success on invalid input.
50614652 continue
50624653 else
5063 $as_echo "$as_me: failed program was:" >&5
5064 sed 's/^/| /' conftest.$ac_ext >&5
5065
50664654 # Passes both tests.
50674655 ac_preproc_ok=:
50684656 break
50694657 fi
5070
50714658 rm -f conftest.err conftest.$ac_ext
50724659
50734660 done
50744661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
50754662 rm -f conftest.err conftest.$ac_ext
5076 if $ac_preproc_ok; then
5077 :
5078 else
5079 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4663 if $ac_preproc_ok; then :
4664
4665 else
4666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50804667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5081 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5082 See \`config.log' for more details." >&5
5083 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5084 See \`config.log' for more details." >&2;}
5085 { (exit 1); exit 1; }; }; }
4668 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
4669 See \`config.log' for more details." "$LINENO" 5; }
50864670 fi
50874671
50884672 ac_ext=cpp
50924676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50934677
50944678
5095 if test "${ac_cv_header_string+set}" = set; then
5096 { $as_echo "$as_me:$LINENO: checking for string" >&5
5097 $as_echo_n "checking for string... " >&6; }
5098 if test "${ac_cv_header_string+set}" = set; then
5099 $as_echo_n "(cached) " >&6
5100 fi
5101 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
5102 $as_echo "$ac_cv_header_string" >&6; }
5103 else
5104 # Is the header compilable?
5105 { $as_echo "$as_me:$LINENO: checking string usability" >&5
5106 $as_echo_n "checking string usability... " >&6; }
5107 cat >conftest.$ac_ext <<_ACEOF
5108 /* confdefs.h. */
5109 _ACEOF
5110 cat confdefs.h >>conftest.$ac_ext
5111 cat >>conftest.$ac_ext <<_ACEOF
5112 /* end confdefs.h. */
5113 $ac_includes_default
5114 #include <string>
5115 _ACEOF
5116 rm -f conftest.$ac_objext
5117 if { (ac_try="$ac_compile"
5118 case "(($ac_try" in
5119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5120 *) ac_try_echo=$ac_try;;
5121 esac
5122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5123 $as_echo "$ac_try_echo") >&5
5124 (eval "$ac_compile") 2>conftest.er1
5125 ac_status=$?
5126 grep -v '^ *+' conftest.er1 >conftest.err
5127 rm -f conftest.er1
5128 cat conftest.err >&5
5129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } && {
5131 test -z "$ac_cxx_werror_flag" ||
5132 test ! -s conftest.err
5133 } && test -s conftest.$ac_objext; then
5134 ac_header_compiler=yes
5135 else
5136 $as_echo "$as_me: failed program was:" >&5
5137 sed 's/^/| /' conftest.$ac_ext >&5
5138
5139 ac_header_compiler=no
5140 fi
5141
5142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5143 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5144 $as_echo "$ac_header_compiler" >&6; }
5145
5146 # Is the header present?
5147 { $as_echo "$as_me:$LINENO: checking string presence" >&5
5148 $as_echo_n "checking string presence... " >&6; }
5149 cat >conftest.$ac_ext <<_ACEOF
5150 /* confdefs.h. */
5151 _ACEOF
5152 cat confdefs.h >>conftest.$ac_ext
5153 cat >>conftest.$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5155 #include <string>
5156 _ACEOF
5157 if { (ac_try="$ac_cpp conftest.$ac_ext"
5158 case "(($ac_try" in
5159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5160 *) ac_try_echo=$ac_try;;
5161 esac
5162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5163 $as_echo "$ac_try_echo") >&5
5164 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5165 ac_status=$?
5166 grep -v '^ *+' conftest.er1 >conftest.err
5167 rm -f conftest.er1
5168 cat conftest.err >&5
5169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); } >/dev/null && {
5171 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5172 test ! -s conftest.err
5173 }; then
5174 ac_header_preproc=yes
5175 else
5176 $as_echo "$as_me: failed program was:" >&5
5177 sed 's/^/| /' conftest.$ac_ext >&5
5178
5179 ac_header_preproc=no
5180 fi
5181
5182 rm -f conftest.err conftest.$ac_ext
5183 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5184 $as_echo "$ac_header_preproc" >&6; }
5185
5186 # So? What about this header?
5187 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5188 yes:no: )
5189 { $as_echo "$as_me:$LINENO: WARNING: string: accepted by the compiler, rejected by the preprocessor!" >&5
5190 $as_echo "$as_me: WARNING: string: accepted by the compiler, rejected by the preprocessor!" >&2;}
5191 { $as_echo "$as_me:$LINENO: WARNING: string: proceeding with the compiler's result" >&5
5192 $as_echo "$as_me: WARNING: string: proceeding with the compiler's result" >&2;}
5193 ac_header_preproc=yes
5194 ;;
5195 no:yes:* )
5196 { $as_echo "$as_me:$LINENO: WARNING: string: present but cannot be compiled" >&5
5197 $as_echo "$as_me: WARNING: string: present but cannot be compiled" >&2;}
5198 { $as_echo "$as_me:$LINENO: WARNING: string: check for missing prerequisite headers?" >&5
5199 $as_echo "$as_me: WARNING: string: check for missing prerequisite headers?" >&2;}
5200 { $as_echo "$as_me:$LINENO: WARNING: string: see the Autoconf documentation" >&5
5201 $as_echo "$as_me: WARNING: string: see the Autoconf documentation" >&2;}
5202 { $as_echo "$as_me:$LINENO: WARNING: string: section \"Present But Cannot Be Compiled\"" >&5
5203 $as_echo "$as_me: WARNING: string: section \"Present But Cannot Be Compiled\"" >&2;}
5204 { $as_echo "$as_me:$LINENO: WARNING: string: proceeding with the preprocessor's result" >&5
5205 $as_echo "$as_me: WARNING: string: proceeding with the preprocessor's result" >&2;}
5206 { $as_echo "$as_me:$LINENO: WARNING: string: in the future, the compiler will take precedence" >&5
5207 $as_echo "$as_me: WARNING: string: in the future, the compiler will take precedence" >&2;}
5208
5209 ;;
5210 esac
5211 { $as_echo "$as_me:$LINENO: checking for string" >&5
5212 $as_echo_n "checking for string... " >&6; }
5213 if test "${ac_cv_header_string+set}" = set; then
5214 $as_echo_n "(cached) " >&6
5215 else
5216 ac_cv_header_string=$ac_header_preproc
5217 fi
5218 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
5219 $as_echo "$ac_cv_header_string" >&6; }
5220
5221 fi
5222 if test "x$ac_cv_header_string" = x""yes; then
5223 :
5224 else
5225 { { $as_echo "$as_me:$LINENO: error: C++ STL string class missing" >&5
5226 $as_echo "$as_me: error: C++ STL string class missing" >&2;}
5227 { (exit 1); exit 1; }; }
5228 fi
5229
5230
5231 if test "${ac_cv_header_vector+set}" = set; then
5232 { $as_echo "$as_me:$LINENO: checking for vector" >&5
5233 $as_echo_n "checking for vector... " >&6; }
5234 if test "${ac_cv_header_vector+set}" = set; then
5235 $as_echo_n "(cached) " >&6
5236 fi
5237 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
5238 $as_echo "$ac_cv_header_vector" >&6; }
5239 else
5240 # Is the header compilable?
5241 { $as_echo "$as_me:$LINENO: checking vector usability" >&5
5242 $as_echo_n "checking vector usability... " >&6; }
5243 cat >conftest.$ac_ext <<_ACEOF
5244 /* confdefs.h. */
5245 _ACEOF
5246 cat confdefs.h >>conftest.$ac_ext
5247 cat >>conftest.$ac_ext <<_ACEOF
5248 /* end confdefs.h. */
5249 $ac_includes_default
5250 #include <vector>
5251 _ACEOF
5252 rm -f conftest.$ac_objext
5253 if { (ac_try="$ac_compile"
5254 case "(($ac_try" in
5255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5256 *) ac_try_echo=$ac_try;;
5257 esac
5258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5259 $as_echo "$ac_try_echo") >&5
5260 (eval "$ac_compile") 2>conftest.er1
5261 ac_status=$?
5262 grep -v '^ *+' conftest.er1 >conftest.err
5263 rm -f conftest.er1
5264 cat conftest.err >&5
5265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); } && {
5267 test -z "$ac_cxx_werror_flag" ||
5268 test ! -s conftest.err
5269 } && test -s conftest.$ac_objext; then
5270 ac_header_compiler=yes
5271 else
5272 $as_echo "$as_me: failed program was:" >&5
5273 sed 's/^/| /' conftest.$ac_ext >&5
5274
5275 ac_header_compiler=no
5276 fi
5277
5278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5279 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5280 $as_echo "$ac_header_compiler" >&6; }
5281
5282 # Is the header present?
5283 { $as_echo "$as_me:$LINENO: checking vector presence" >&5
5284 $as_echo_n "checking vector presence... " >&6; }
5285 cat >conftest.$ac_ext <<_ACEOF
5286 /* confdefs.h. */
5287 _ACEOF
5288 cat confdefs.h >>conftest.$ac_ext
5289 cat >>conftest.$ac_ext <<_ACEOF
5290 /* end confdefs.h. */
5291 #include <vector>
5292 _ACEOF
5293 if { (ac_try="$ac_cpp conftest.$ac_ext"
5294 case "(($ac_try" in
5295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5297 esac
5298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5299 $as_echo "$ac_try_echo") >&5
5300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5301 ac_status=$?
5302 grep -v '^ *+' conftest.er1 >conftest.err
5303 rm -f conftest.er1
5304 cat conftest.err >&5
5305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); } >/dev/null && {
5307 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5308 test ! -s conftest.err
5309 }; then
5310 ac_header_preproc=yes
5311 else
5312 $as_echo "$as_me: failed program was:" >&5
5313 sed 's/^/| /' conftest.$ac_ext >&5
5314
5315 ac_header_preproc=no
5316 fi
5317
5318 rm -f conftest.err conftest.$ac_ext
5319 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5320 $as_echo "$ac_header_preproc" >&6; }
5321
5322 # So? What about this header?
5323 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5324 yes:no: )
5325 { $as_echo "$as_me:$LINENO: WARNING: vector: accepted by the compiler, rejected by the preprocessor!" >&5
5326 $as_echo "$as_me: WARNING: vector: accepted by the compiler, rejected by the preprocessor!" >&2;}
5327 { $as_echo "$as_me:$LINENO: WARNING: vector: proceeding with the compiler's result" >&5
5328 $as_echo "$as_me: WARNING: vector: proceeding with the compiler's result" >&2;}
5329 ac_header_preproc=yes
5330 ;;
5331 no:yes:* )
5332 { $as_echo "$as_me:$LINENO: WARNING: vector: present but cannot be compiled" >&5
5333 $as_echo "$as_me: WARNING: vector: present but cannot be compiled" >&2;}
5334 { $as_echo "$as_me:$LINENO: WARNING: vector: check for missing prerequisite headers?" >&5
5335 $as_echo "$as_me: WARNING: vector: check for missing prerequisite headers?" >&2;}
5336 { $as_echo "$as_me:$LINENO: WARNING: vector: see the Autoconf documentation" >&5
5337 $as_echo "$as_me: WARNING: vector: see the Autoconf documentation" >&2;}
5338 { $as_echo "$as_me:$LINENO: WARNING: vector: section \"Present But Cannot Be Compiled\"" >&5
5339 $as_echo "$as_me: WARNING: vector: section \"Present But Cannot Be Compiled\"" >&2;}
5340 { $as_echo "$as_me:$LINENO: WARNING: vector: proceeding with the preprocessor's result" >&5
5341 $as_echo "$as_me: WARNING: vector: proceeding with the preprocessor's result" >&2;}
5342 { $as_echo "$as_me:$LINENO: WARNING: vector: in the future, the compiler will take precedence" >&5
5343 $as_echo "$as_me: WARNING: vector: in the future, the compiler will take precedence" >&2;}
5344
5345 ;;
5346 esac
5347 { $as_echo "$as_me:$LINENO: checking for vector" >&5
5348 $as_echo_n "checking for vector... " >&6; }
5349 if test "${ac_cv_header_vector+set}" = set; then
5350 $as_echo_n "(cached) " >&6
5351 else
5352 ac_cv_header_vector=$ac_header_preproc
5353 fi
5354 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
5355 $as_echo "$ac_cv_header_vector" >&6; }
5356
5357 fi
5358 if test "x$ac_cv_header_vector" = x""yes; then
5359 :
5360 else
5361 { { $as_echo "$as_me:$LINENO: error: C++ STL vector class missing" >&5
5362 $as_echo "$as_me: error: C++ STL vector class missing" >&2;}
5363 { (exit 1); exit 1; }; }
5364 fi
5365
5366
5367 if test "${ac_cv_header_algorithm+set}" = set; then
5368 { $as_echo "$as_me:$LINENO: checking for algorithm" >&5
5369 $as_echo_n "checking for algorithm... " >&6; }
5370 if test "${ac_cv_header_algorithm+set}" = set; then
5371 $as_echo_n "(cached) " >&6
5372 fi
5373 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
5374 $as_echo "$ac_cv_header_algorithm" >&6; }
5375 else
5376 # Is the header compilable?
5377 { $as_echo "$as_me:$LINENO: checking algorithm usability" >&5
5378 $as_echo_n "checking algorithm usability... " >&6; }
5379 cat >conftest.$ac_ext <<_ACEOF
5380 /* confdefs.h. */
5381 _ACEOF
5382 cat confdefs.h >>conftest.$ac_ext
5383 cat >>conftest.$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5385 $ac_includes_default
5386 #include <algorithm>
5387 _ACEOF
5388 rm -f conftest.$ac_objext
5389 if { (ac_try="$ac_compile"
5390 case "(($ac_try" in
5391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5392 *) ac_try_echo=$ac_try;;
5393 esac
5394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5395 $as_echo "$ac_try_echo") >&5
5396 (eval "$ac_compile") 2>conftest.er1
5397 ac_status=$?
5398 grep -v '^ *+' conftest.er1 >conftest.err
5399 rm -f conftest.er1
5400 cat conftest.err >&5
5401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402 (exit $ac_status); } && {
5403 test -z "$ac_cxx_werror_flag" ||
5404 test ! -s conftest.err
5405 } && test -s conftest.$ac_objext; then
5406 ac_header_compiler=yes
5407 else
5408 $as_echo "$as_me: failed program was:" >&5
5409 sed 's/^/| /' conftest.$ac_ext >&5
5410
5411 ac_header_compiler=no
5412 fi
5413
5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5415 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5416 $as_echo "$ac_header_compiler" >&6; }
5417
5418 # Is the header present?
5419 { $as_echo "$as_me:$LINENO: checking algorithm presence" >&5
5420 $as_echo_n "checking algorithm presence... " >&6; }
5421 cat >conftest.$ac_ext <<_ACEOF
5422 /* confdefs.h. */
5423 _ACEOF
5424 cat confdefs.h >>conftest.$ac_ext
5425 cat >>conftest.$ac_ext <<_ACEOF
5426 /* end confdefs.h. */
5427 #include <algorithm>
5428 _ACEOF
5429 if { (ac_try="$ac_cpp conftest.$ac_ext"
5430 case "(($ac_try" in
5431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5432 *) ac_try_echo=$ac_try;;
5433 esac
5434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5435 $as_echo "$ac_try_echo") >&5
5436 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5437 ac_status=$?
5438 grep -v '^ *+' conftest.er1 >conftest.err
5439 rm -f conftest.er1
5440 cat conftest.err >&5
5441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); } >/dev/null && {
5443 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5444 test ! -s conftest.err
5445 }; then
5446 ac_header_preproc=yes
5447 else
5448 $as_echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.$ac_ext >&5
5450
5451 ac_header_preproc=no
5452 fi
5453
5454 rm -f conftest.err conftest.$ac_ext
5455 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5456 $as_echo "$ac_header_preproc" >&6; }
5457
5458 # So? What about this header?
5459 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5460 yes:no: )
5461 { $as_echo "$as_me:$LINENO: WARNING: algorithm: accepted by the compiler, rejected by the preprocessor!" >&5
5462 $as_echo "$as_me: WARNING: algorithm: accepted by the compiler, rejected by the preprocessor!" >&2;}
5463 { $as_echo "$as_me:$LINENO: WARNING: algorithm: proceeding with the compiler's result" >&5
5464 $as_echo "$as_me: WARNING: algorithm: proceeding with the compiler's result" >&2;}
5465 ac_header_preproc=yes
5466 ;;
5467 no:yes:* )
5468 { $as_echo "$as_me:$LINENO: WARNING: algorithm: present but cannot be compiled" >&5
5469 $as_echo "$as_me: WARNING: algorithm: present but cannot be compiled" >&2;}
5470 { $as_echo "$as_me:$LINENO: WARNING: algorithm: check for missing prerequisite headers?" >&5
5471 $as_echo "$as_me: WARNING: algorithm: check for missing prerequisite headers?" >&2;}
5472 { $as_echo "$as_me:$LINENO: WARNING: algorithm: see the Autoconf documentation" >&5
5473 $as_echo "$as_me: WARNING: algorithm: see the Autoconf documentation" >&2;}
5474 { $as_echo "$as_me:$LINENO: WARNING: algorithm: section \"Present But Cannot Be Compiled\"" >&5
5475 $as_echo "$as_me: WARNING: algorithm: section \"Present But Cannot Be Compiled\"" >&2;}
5476 { $as_echo "$as_me:$LINENO: WARNING: algorithm: proceeding with the preprocessor's result" >&5
5477 $as_echo "$as_me: WARNING: algorithm: proceeding with the preprocessor's result" >&2;}
5478 { $as_echo "$as_me:$LINENO: WARNING: algorithm: in the future, the compiler will take precedence" >&5
5479 $as_echo "$as_me: WARNING: algorithm: in the future, the compiler will take precedence" >&2;}
5480
5481 ;;
5482 esac
5483 { $as_echo "$as_me:$LINENO: checking for algorithm" >&5
5484 $as_echo_n "checking for algorithm... " >&6; }
5485 if test "${ac_cv_header_algorithm+set}" = set; then
5486 $as_echo_n "(cached) " >&6
5487 else
5488 ac_cv_header_algorithm=$ac_header_preproc
5489 fi
5490 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
5491 $as_echo "$ac_cv_header_algorithm" >&6; }
5492
5493 fi
5494 if test "x$ac_cv_header_algorithm" = x""yes; then
5495 :
5496 else
5497 { { $as_echo "$as_me:$LINENO: error: C++ STL algorithm class missing" >&5
5498 $as_echo "$as_me: error: C++ STL algorithm class missing" >&2;}
5499 { (exit 1); exit 1; }; }
4679 ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
4680 if test "x$ac_cv_header_string" = x""yes; then :
4681
4682 else
4683 as_fn_error "C++ STL string class missing" "$LINENO" 5
4684 fi
4685
4686
4687 ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default"
4688 if test "x$ac_cv_header_vector" = x""yes; then :
4689
4690 else
4691 as_fn_error "C++ STL vector class missing" "$LINENO" 5
4692 fi
4693
4694
4695 ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
4696 if test "x$ac_cv_header_algorithm" = x""yes; then :
4697
4698 else
4699 as_fn_error "C++ STL algorithm class missing" "$LINENO" 5
55004700 fi
55014701
55024702
55304730 case $ac_val in #(
55314731 *${as_nl}*)
55324732 case $ac_var in #(
5533 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4733 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
55344734 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
55354735 esac
55364736 case $ac_var in #(
55374737 _ | IFS | as_nl) ;; #(
55384738 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5539 *) $as_unset $ac_var ;;
4739 *) { eval $ac_var=; unset $ac_var;} ;;
55404740 esac ;;
55414741 esac
55424742 done
55444744 (set) 2>&1 |
55454745 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55464746 *${as_nl}ac_space=\ *)
5547 # `set' does not quote correctly, so add quotes (double-quote
5548 # substitution turns \\\\ into \\, and sed turns \\ into \).
4747 # `set' does not quote correctly, so add quotes: double-quote
4748 # substitution turns \\\\ into \\, and sed turns \\ into \.
55494749 sed -n \
55504750 "s/'/'\\\\''/g;
55514751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55684768 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55694769 if test -w "$cache_file"; then
55704770 test "x$cache_file" != "x/dev/null" &&
5571 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
55724772 $as_echo "$as_me: updating cache $cache_file" >&6;}
55734773 cat confcache >$cache_file
55744774 else
5575 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
55764776 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55774777 fi
55784778 fi
55924792 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
55934793 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55944794 # will be set to the directory where LIBOBJS objects are built.
5595 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5596 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4795 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4796 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
55974797 done
55984798 LIBOBJS=$ac_libobjs
55994799
56004800 LTLIBOBJS=$ac_ltlibobjs
56014801
56024802
4803 if test -n "$EXEEXT"; then
4804 am__EXEEXT_TRUE=
4805 am__EXEEXT_FALSE='#'
4806 else
4807 am__EXEEXT_TRUE='#'
4808 am__EXEEXT_FALSE=
4809 fi
4810
56034811 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5604 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5605 Usually this means the macro was only invoked conditionally." >&5
5606 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5607 Usually this means the macro was only invoked conditionally." >&2;}
5608 { (exit 1); exit 1; }; }
4812 as_fn_error "conditional \"AMDEP\" was never defined.
4813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
56094814 fi
56104815 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5611 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5612 Usually this means the macro was only invoked conditionally." >&5
5613 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5614 Usually this means the macro was only invoked conditionally." >&2;}
5615 { (exit 1); exit 1; }; }
4816 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
4817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
56164818 fi
56174819 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5618 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5619 Usually this means the macro was only invoked conditionally." >&5
5620 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5621 Usually this means the macro was only invoked conditionally." >&2;}
5622 { (exit 1); exit 1; }; }
4820 as_fn_error "conditional \"am__fastdepCC\" was never defined.
4821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
56234822 fi
56244823
56254824 : ${CONFIG_STATUS=./config.status}
56264825 ac_write_fail=0
56274826 ac_clean_files_save=$ac_clean_files
56284827 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5629 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
56304829 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5631 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4830 as_write_fail=0
4831 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
56324832 #! $SHELL
56334833 # Generated by $as_me.
56344834 # Run this file to recreate the current configuration.
56384838 debug=false
56394839 ac_cs_recheck=false
56404840 ac_cs_silent=false
4841
56414842 SHELL=\${CONFIG_SHELL-$SHELL}
5642 _ACEOF
5643
5644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5645 ## --------------------- ##
5646 ## M4sh Initialization. ##
5647 ## --------------------- ##
4843 export SHELL
4844 _ASEOF
4845 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4846 ## -------------------- ##
4847 ## M4sh Initialization. ##
4848 ## -------------------- ##
56484849
56494850 # Be more Bourne compatible
56504851 DUALCASE=1; export DUALCASE # for MKS sh
5651 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4852 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
56524853 emulate sh
56534854 NULLCMD=:
56544855 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
56564857 alias -g '${1+"$@"}'='"$@"'
56574858 setopt NO_GLOB_SUBST
56584859 else
5659 case `(set -o) 2>/dev/null` in
5660 *posix*) set -o posix ;;
4860 case `(set -o) 2>/dev/null` in #(
4861 *posix*) :
4862 set -o posix ;; #(
4863 *) :
4864 ;;
56614865 esac
5662
5663 fi
5664
5665
5666
5667
5668 # PATH needs CR
5669 # Avoid depending upon Character Ranges.
5670 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5671 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5672 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5673 as_cr_digits='0123456789'
5674 as_cr_alnum=$as_cr_Letters$as_cr_digits
4866 fi
4867
56754868
56764869 as_nl='
56774870 '
56804873 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
56814874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
56824875 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5683 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4876 # Prefer a ksh shell builtin over an external printf program on Solaris,
4877 # but without wasting forks for bash or zsh.
4878 if test -z "$BASH_VERSION$ZSH_VERSION" \
4879 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4880 as_echo='print -r --'
4881 as_echo_n='print -rn --'
4882 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56844883 as_echo='printf %s\n'
56854884 as_echo_n='printf %s'
56864885 else
56914890 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56924891 as_echo_n_body='eval
56934892 arg=$1;
5694 case $arg in
4893 case $arg in #(
56954894 *"$as_nl"*)
56964895 expr "X$arg" : "X\\(.*\\)$as_nl";
56974896 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
57144913 }
57154914 fi
57164915
5717 # Support unset when possible.
5718 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5719 as_unset=unset
5720 else
5721 as_unset=false
5722 fi
5723
57244916
57254917 # IFS
57264918 # We need space, tab and new line, in precisely that order. Quoting is
57304922 IFS=" "" $as_nl"
57314923
57324924 # Find who we are. Look in the path if we contain no directory separator.
5733 case $0 in
4925 case $0 in #((
57344926 *[\\/]* ) as_myself=$0 ;;
57354927 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57364928 for as_dir in $PATH
57374929 do
57384930 IFS=$as_save_IFS
57394931 test -z "$as_dir" && as_dir=.
5740 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5741 done
4932 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4933 done
57424934 IFS=$as_save_IFS
57434935
57444936 ;;
57504942 fi
57514943 if test ! -f "$as_myself"; then
57524944 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5753 { (exit 1); exit 1; }
5754 fi
5755
5756 # Work around bugs in pre-3.0 UWIN ksh.
5757 for as_var in ENV MAIL MAILPATH
5758 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4945 exit 1
4946 fi
4947
4948 # Unset variables that we do not need and which cause bugs (e.g. in
4949 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4950 # suppresses any "Segmentation fault" message there. '((' could
4951 # trigger a bug in pdksh 5.2.14.
4952 for as_var in BASH_ENV ENV MAIL MAILPATH
4953 do eval test x\${$as_var+set} = xset \
4954 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
57594955 done
57604956 PS1='$ '
57614957 PS2='> '
57674963 LANGUAGE=C
57684964 export LANGUAGE
57694965
5770 # Required to use basename.
4966 # CDPATH.
4967 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4968
4969
4970 # as_fn_error ERROR [LINENO LOG_FD]
4971 # ---------------------------------
4972 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4973 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4974 # script with status $?, using 1 if that was 0.
4975 as_fn_error ()
4976 {
4977 as_status=$?; test $as_status -eq 0 && as_status=1
4978 if test "$3"; then
4979 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4980 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4981 fi
4982 $as_echo "$as_me: error: $1" >&2
4983 as_fn_exit $as_status
4984 } # as_fn_error
4985
4986
4987 # as_fn_set_status STATUS
4988 # -----------------------
4989 # Set $? to STATUS, without forking.
4990 as_fn_set_status ()
4991 {
4992 return $1
4993 } # as_fn_set_status
4994
4995 # as_fn_exit STATUS
4996 # -----------------
4997 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4998 as_fn_exit ()
4999 {
5000 set +e
5001 as_fn_set_status $1
5002 exit $1
5003 } # as_fn_exit
5004
5005 # as_fn_unset VAR
5006 # ---------------
5007 # Portably unset VAR.
5008 as_fn_unset ()
5009 {
5010 { eval $1=; unset $1;}
5011 }
5012 as_unset=as_fn_unset
5013 # as_fn_append VAR VALUE
5014 # ----------------------
5015 # Append the text in VALUE to the end of the definition contained in VAR. Take
5016 # advantage of any shell optimizations that allow amortized linear growth over
5017 # repeated appends, instead of the typical quadratic growth present in naive
5018 # implementations.
5019 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5020 eval 'as_fn_append ()
5021 {
5022 eval $1+=\$2
5023 }'
5024 else
5025 as_fn_append ()
5026 {
5027 eval $1=\$$1\$2
5028 }
5029 fi # as_fn_append
5030
5031 # as_fn_arith ARG...
5032 # ------------------
5033 # Perform arithmetic evaluation on the ARGs, and store the result in the
5034 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5035 # must be portable across $(()) and expr.
5036 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5037 eval 'as_fn_arith ()
5038 {
5039 as_val=$(( $* ))
5040 }'
5041 else
5042 as_fn_arith ()
5043 {
5044 as_val=`expr "$@" || test $? -eq 1`
5045 }
5046 fi # as_fn_arith
5047
5048
57715049 if expr a : '\(a\)' >/dev/null 2>&1 &&
57725050 test "X`expr 00001 : '.*\(...\)'`" = X001; then
57735051 as_expr=expr
57815059 as_basename=false
57825060 fi
57835061
5784
5785 # Name of the executable.
5062 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5063 as_dirname=dirname
5064 else
5065 as_dirname=false
5066 fi
5067
57865068 as_me=`$as_basename -- "$0" ||
57875069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
57885070 X"$0" : 'X\(//\)$' \| \
58025084 }
58035085 s/.*/./; q'`
58045086
5805 # CDPATH.
5806 $as_unset CDPATH
5807
5808
5809
5810 as_lineno_1=$LINENO
5811 as_lineno_2=$LINENO
5812 test "x$as_lineno_1" != "x$as_lineno_2" &&
5813 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5814
5815 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5816 # uniformly replaced by the line number. The first 'sed' inserts a
5817 # line-number line after each line using $LINENO; the second 'sed'
5818 # does the real work. The second script uses 'N' to pair each
5819 # line-number line with the line containing $LINENO, and appends
5820 # trailing '-' during substitution so that $LINENO is not a special
5821 # case at line end.
5822 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5823 # scripts with optimization help from Paolo Bonzini. Blame Lee
5824 # E. McMahon (1931-1989) for sed's syntax. :-)
5825 sed -n '
5826 p
5827 /[$]LINENO/=
5828 ' <$as_myself |
5829 sed '
5830 s/[$]LINENO.*/&-/
5831 t lineno
5832 b
5833 :lineno
5834 N
5835 :loop
5836 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5837 t loop
5838 s/-\n.*//
5839 ' >$as_me.lineno &&
5840 chmod +x "$as_me.lineno" ||
5841 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5842 { (exit 1); exit 1; }; }
5843
5844 # Don't try to exec as it changes $[0], causing all sort of problems
5845 # (the dirname of $[0] is not the place where we might find the
5846 # original and so on. Autoconf is especially sensitive to this).
5847 . "./$as_me.lineno"
5848 # Exit status is that of the last command.
5849 exit
5850 }
5851
5852
5853 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5854 as_dirname=dirname
5855 else
5856 as_dirname=false
5857 fi
5087 # Avoid depending upon Character Ranges.
5088 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5089 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5090 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5091 as_cr_digits='0123456789'
5092 as_cr_alnum=$as_cr_Letters$as_cr_digits
58585093
58595094 ECHO_C= ECHO_N= ECHO_T=
5860 case `echo -n x` in
5095 case `echo -n x` in #(((((
58615096 -n*)
5862 case `echo 'x\c'` in
5097 case `echo 'xy\c'` in
58635098 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5864 *) ECHO_C='\c';;
5099 xy) ECHO_C='\c';;
5100 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5101 ECHO_T=' ';;
58655102 esac;;
58665103 *)
58675104 ECHO_N='-n';;
58685105 esac
5869 if expr a : '\(a\)' >/dev/null 2>&1 &&
5870 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5871 as_expr=expr
5872 else
5873 as_expr=false
5874 fi
58755106
58765107 rm -f conf$$ conf$$.exe conf$$.file
58775108 if test -d conf$$.dir; then
59005131 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59015132 rmdir conf$$.dir 2>/dev/null
59025133
5134
5135 # as_fn_mkdir_p
5136 # -------------
5137 # Create "$as_dir" as a directory, including parents if necessary.
5138 as_fn_mkdir_p ()
5139 {
5140
5141 case $as_dir in #(
5142 -*) as_dir=./$as_dir;;
5143 esac
5144 test -d "$as_dir" || eval $as_mkdir_p || {
5145 as_dirs=
5146 while :; do
5147 case $as_dir in #(
5148 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5149 *) as_qdir=$as_dir;;
5150 esac
5151 as_dirs="'$as_qdir' $as_dirs"
5152 as_dir=`$as_dirname -- "$as_dir" ||
5153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5154 X"$as_dir" : 'X\(//\)[^/]' \| \
5155 X"$as_dir" : 'X\(//\)$' \| \
5156 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5157 $as_echo X"$as_dir" |
5158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5159 s//\1/
5160 q
5161 }
5162 /^X\(\/\/\)[^/].*/{
5163 s//\1/
5164 q
5165 }
5166 /^X\(\/\/\)$/{
5167 s//\1/
5168 q
5169 }
5170 /^X\(\/\).*/{
5171 s//\1/
5172 q
5173 }
5174 s/.*/./; q'`
5175 test -d "$as_dir" && break
5176 done
5177 test -z "$as_dirs" || eval "mkdir $as_dirs"
5178 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5179
5180
5181 } # as_fn_mkdir_p
59035182 if mkdir -p . 2>/dev/null; then
5904 as_mkdir_p=:
5183 as_mkdir_p='mkdir -p "$as_dir"'
59055184 else
59065185 test -d ./-p && rmdir ./-p
59075186 as_mkdir_p=false
59205199 if test -d "$1"; then
59215200 test -d "$1/.";
59225201 else
5923 case $1 in
5202 case $1 in #(
59245203 -*)set "./$1";;
59255204 esac;
5926 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5205 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59275206 ???[sx]*):;;*)false;;esac;fi
59285207 '\'' sh
59295208 '
59385217
59395218
59405219 exec 6>&1
5941
5942 # Save the log message, to keep $[0] and so on meaningful, and to
5220 ## ----------------------------------- ##
5221 ## Main body of $CONFIG_STATUS script. ##
5222 ## ----------------------------------- ##
5223 _ASEOF
5224 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5225
5226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5227 # Save the log message, to keep $0 and so on meaningful, and to
59435228 # report actual input values of CONFIG_FILES etc. instead of their
59445229 # values after options handling.
59455230 ac_log="
59465231 This file was extended by $as_me, which was
5947 generated by GNU Autoconf 2.63. Invocation command line was
5232 generated by GNU Autoconf 2.65. Invocation command line was
59485233
59495234 CONFIG_FILES = $CONFIG_FILES
59505235 CONFIG_HEADERS = $CONFIG_HEADERS
59765261
59775262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59785263 ac_cs_usage="\
5979 \`$as_me' instantiates files from templates according to the
5980 current configuration.
5981
5982 Usage: $0 [OPTION]... [FILE]...
5264 \`$as_me' instantiates files and other configuration actions
5265 from templates according to the current configuration. Unless the files
5266 and actions are specified as TAGs, all are instantiated by default.
5267
5268 Usage: $0 [OPTION]... [TAG]...
59835269
59845270 -h, --help print this help, then exit
59855271 -V, --version print version number and configuration settings, then exit
5272 --config print configuration, then exit
59865273 -q, --quiet, --silent
59875274 do not print progress messages
59885275 -d, --debug don't remove temporary files
60015288 Configuration commands:
60025289 $config_commands
60035290
6004 Report bugs to <bug-autoconf@gnu.org>."
5291 Report bugs to the package provider."
60055292
60065293 _ACEOF
60075294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5295 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
60085296 ac_cs_version="\\
60095297 config.status
6010 configured by $0, generated by GNU Autoconf 2.63,
6011 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6012
6013 Copyright (C) 2008 Free Software Foundation, Inc.
5298 configured by $0, generated by GNU Autoconf 2.65,
5299 with options \\"\$ac_cs_config\\"
5300
5301 Copyright (C) 2009 Free Software Foundation, Inc.
60145302 This config.status script is free software; the Free Software Foundation
60155303 gives unlimited permission to copy, distribute and modify it."
60165304
60465334 ac_cs_recheck=: ;;
60475335 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
60485336 $as_echo "$ac_cs_version"; exit ;;
5337 --config | --confi | --conf | --con | --co | --c )
5338 $as_echo "$ac_cs_config"; exit ;;
60495339 --debug | --debu | --deb | --de | --d | -d )
60505340 debug=: ;;
60515341 --file | --fil | --fi | --f )
60535343 case $ac_optarg in
60545344 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60555345 esac
6056 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5346 as_fn_append CONFIG_FILES " '$ac_optarg'"
60575347 ac_need_defaults=false;;
60585348 --header | --heade | --head | --hea )
60595349 $ac_shift
60605350 case $ac_optarg in
60615351 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
60625352 esac
6063 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5353 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
60645354 ac_need_defaults=false;;
60655355 --he | --h)
60665356 # Conflict between --help and --header
6067 { $as_echo "$as_me: error: ambiguous option: $1
6068 Try \`$0 --help' for more information." >&2
6069 { (exit 1); exit 1; }; };;
5357 as_fn_error "ambiguous option: \`$1'
5358 Try \`$0 --help' for more information.";;
60705359 --help | --hel | -h )
60715360 $as_echo "$ac_cs_usage"; exit ;;
60725361 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
60745363 ac_cs_silent=: ;;
60755364
60765365 # This is an error.
6077 -*) { $as_echo "$as_me: error: unrecognized option: $1
6078 Try \`$0 --help' for more information." >&2
6079 { (exit 1); exit 1; }; } ;;
6080
6081 *) ac_config_targets="$ac_config_targets $1"
5366 -*) as_fn_error "unrecognized option: \`$1'
5367 Try \`$0 --help' for more information." ;;
5368
5369 *) as_fn_append ac_config_targets " $1"
60825370 ac_need_defaults=false ;;
60835371
60845372 esac
61335421 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
61345422 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
61355423
6136 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6137 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6138 { (exit 1); exit 1; }; };;
5424 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
61395425 esac
61405426 done
61415427
61625448 trap 'exit_status=$?
61635449 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
61645450 ' 0
6165 trap '{ (exit 1); exit 1; }' 1 2 13 15
5451 trap 'as_fn_exit 1' 1 2 13 15
61665452 }
61675453 # Create a (secure) tmp directory for tmp files.
61685454
61735459 {
61745460 tmp=./conf$$-$RANDOM
61755461 (umask 077 && mkdir "$tmp")
6176 } ||
6177 {
6178 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6179 { (exit 1); exit 1; }
6180 }
5462 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
61815463
61825464 # Set up the scripts for CONFIG_FILES section.
61835465 # No need to generate them if there are no CONFIG_FILES.
61855467 if test -n "$CONFIG_FILES"; then
61865468
61875469
6188 ac_cr='
6189 '
5470 ac_cr=`echo X | tr X '\015'`
5471 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5472 # But we know of no other shell where ac_cr would be empty at this
5473 # point, so we can use a bashism as a fallback.
5474 if test "x$ac_cr" = x; then
5475 eval ac_cr=\$\'\\r\'
5476 fi
61905477 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
61915478 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6192 ac_cs_awk_cr='\\r'
5479 ac_cs_awk_cr='\r'
61935480 else
61945481 ac_cs_awk_cr=$ac_cr
61955482 fi
62035490 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
62045491 echo "_ACEOF"
62055492 } >conf$$subs.sh ||
6206 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6207 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6208 { (exit 1); exit 1; }; }
5493 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
62095494 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
62105495 ac_delim='%!_!# '
62115496 for ac_last_try in false false false false false :; do
62125497 . ./conf$$subs.sh ||
6213 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6214 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6215 { (exit 1); exit 1; }; }
5498 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
62165499
62175500 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
62185501 if test $ac_delim_n = $ac_delim_num; then
62195502 break
62205503 elif $ac_last_try; then
6221 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6222 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6223 { (exit 1); exit 1; }; }
5504 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
62245505 else
62255506 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
62265507 fi
62425523 t delim
62435524 :nl
62445525 h
6245 s/\(.\{148\}\).*/\1/
5526 s/\(.\{148\}\)..*/\1/
62465527 t more1
62475528 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
62485529 p
62565537 t nl
62575538 :delim
62585539 h
6259 s/\(.\{148\}\).*/\1/
5540 s/\(.\{148\}\)..*/\1/
62605541 t more2
62615542 s/["\\]/\\&/g; s/^/"/; s/$/"/
62625543 p
63095590 else
63105591 cat
63115592 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6312 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6313 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6314 { (exit 1); exit 1; }; }
5593 || as_fn_error "could not setup config files machinery" "$LINENO" 5
63155594 _ACEOF
63165595
63175596 # VPATH may cause trouble with some makes, so we remove $(srcdir),
63525631 if test -z "$ac_t"; then
63535632 break
63545633 elif $ac_last_try; then
6355 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6356 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6357 { (exit 1); exit 1; }; }
5634 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
63585635 else
63595636 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
63605637 fi
64395716 _ACAWK
64405717 _ACEOF
64415718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6442 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6443 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6444 { (exit 1); exit 1; }; }
5719 as_fn_error "could not setup config headers machinery" "$LINENO" 5
64455720 fi # test -n "$CONFIG_HEADERS"
64465721
64475722
64545729 esac
64555730 case $ac_mode$ac_tag in
64565731 :[FHL]*:*);;
6457 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6458 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6459 { (exit 1); exit 1; }; };;
5732 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
64605733 :[FH]-) ac_tag=-:-;;
64615734 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
64625735 esac
64845757 [\\/$]*) false;;
64855758 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
64865759 esac ||
6487 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6488 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6489 { (exit 1); exit 1; }; };;
5760 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
64905761 esac
64915762 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6492 ac_file_inputs="$ac_file_inputs '$ac_f'"
5763 as_fn_append ac_file_inputs " '$ac_f'"
64935764 done
64945765
64955766 # Let's still pretend it is `configure' which instantiates (i.e., don't
65005771 `' by configure.'
65015772 if test x"$ac_file" != x-; then
65025773 configure_input="$ac_file. $configure_input"
6503 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
65045775 $as_echo "$as_me: creating $ac_file" >&6;}
65055776 fi
65065777 # Neutralize special characters interpreted by sed in replacement strings.
65135784
65145785 case $ac_tag in
65155786 *:-:* | *:-) cat >"$tmp/stdin" \
6516 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6517 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6518 { (exit 1); exit 1; }; } ;;
5787 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
65195788 esac
65205789 ;;
65215790 esac
65435812 q
65445813 }
65455814 s/.*/./; q'`
6546 { as_dir="$ac_dir"
6547 case $as_dir in #(
6548 -*) as_dir=./$as_dir;;
6549 esac
6550 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6551 as_dirs=
6552 while :; do
6553 case $as_dir in #(
6554 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6555 *) as_qdir=$as_dir;;
6556 esac
6557 as_dirs="'$as_qdir' $as_dirs"
6558 as_dir=`$as_dirname -- "$as_dir" ||
6559 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6560 X"$as_dir" : 'X\(//\)[^/]' \| \
6561 X"$as_dir" : 'X\(//\)$' \| \
6562 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6563 $as_echo X"$as_dir" |
6564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6565 s//\1/
6566 q
6567 }
6568 /^X\(\/\/\)[^/].*/{
6569 s//\1/
6570 q
6571 }
6572 /^X\(\/\/\)$/{
6573 s//\1/
6574 q
6575 }
6576 /^X\(\/\).*/{
6577 s//\1/
6578 q
6579 }
6580 s/.*/./; q'`
6581 test -d "$as_dir" && break
6582 done
6583 test -z "$as_dirs" || eval "mkdir $as_dirs"
6584 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6585 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6586 { (exit 1); exit 1; }; }; }
5815 as_dir="$ac_dir"; as_fn_mkdir_p
65875816 ac_builddir=.
65885817
65895818 case "$ac_dir" in
66405869 # If the template does not know about datarootdir, expand it.
66415870 # FIXME: This hack should be removed a few years after 2.60.
66425871 ac_datarootdir_hack=; ac_datarootdir_seen=
6643
66445872 ac_sed_dataroot='
66455873 /datarootdir/ {
66465874 p
66505878 /@docdir@/p
66515879 /@infodir@/p
66525880 /@localedir@/p
6653 /@mandir@/p
6654 '
5881 /@mandir@/p'
66555882 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
66565883 *datarootdir*) ac_datarootdir_seen=yes;;
66575884 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6658 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
66595886 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
66605887 _ACEOF
66615888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66655892 s&@infodir@&$infodir&g
66665893 s&@localedir@&$localedir&g
66675894 s&@mandir@&$mandir&g
6668 s&\\\${datarootdir}&$datarootdir&g' ;;
5895 s&\\\${datarootdir}&$datarootdir&g' ;;
66695896 esac
66705897 _ACEOF
66715898
66945921 $ac_datarootdir_hack
66955922 "
66965923 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6697 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6698 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6699 { (exit 1); exit 1; }; }
5924 || as_fn_error "could not create $ac_file" "$LINENO" 5
67005925
67015926 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67025927 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67035928 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6704 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67055930 which seems to be undefined. Please make sure it is defined." >&5
67065931 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67075932 which seems to be undefined. Please make sure it is defined." >&2;}
67115936 -) cat "$tmp/out" && rm -f "$tmp/out";;
67125937 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67135938 esac \
6714 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6715 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6716 { (exit 1); exit 1; }; }
5939 || as_fn_error "could not create $ac_file" "$LINENO" 5
67175940 ;;
67185941 :H)
67195942 #
67245947 $as_echo "/* $configure_input */" \
67255948 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67265949 } >"$tmp/config.h" \
6727 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6728 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6729 { (exit 1); exit 1; }; }
5950 || as_fn_error "could not create $ac_file" "$LINENO" 5
67305951 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6731 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67325953 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67335954 else
67345955 rm -f "$ac_file"
67355956 mv "$tmp/config.h" "$ac_file" \
6736 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6737 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6738 { (exit 1); exit 1; }; }
5957 || as_fn_error "could not create $ac_file" "$LINENO" 5
67395958 fi
67405959 else
67415960 $as_echo "/* $configure_input */" \
67425961 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6743 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6744 $as_echo "$as_me: error: could not create -" >&2;}
6745 { (exit 1); exit 1; }; }
5962 || as_fn_error "could not create -" "$LINENO" 5
67465963 fi
67475964 # Compute "$ac_file"'s index in $config_headers.
67485965 _am_arg="$ac_file"
67805997 s/.*/./; q'`/stamp-h$_am_stamp_count
67815998 ;;
67825999
6783 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6000 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67846001 $as_echo "$as_me: executing $ac_file commands" >&6;}
67856002 ;;
67866003 esac
67876004
67886005
67896006 case $ac_file$ac_mode in
6790 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6791 # Strip MF so we end up with the name of the file.
6792 mf=`echo "$mf" | sed -e 's/:.*$//'`
6793 # Check whether this is an Automake generated Makefile or not.
6794 # We used to match only the files named `Makefile.in', but
6795 # some people rename them; so instead we look at the file content.
6796 # Grep'ing the first line is not enough: some people post-process
6797 # each Makefile.in and add a new line on top of each file to say so.
6798 # Grep'ing the whole file is not good either: AIX grep has a line
6799 # limit of 2048, but all sed's we know have understand at least 4000.
6800 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6801 dirpart=`$as_dirname -- "$mf" ||
6007 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6008 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6009 # are listed without --file. Let's play safe and only enable the eval
6010 # if we detect the quoting.
6011 case $CONFIG_FILES in
6012 *\'*) eval set x "$CONFIG_FILES" ;;
6013 *) set x $CONFIG_FILES ;;
6014 esac
6015 shift
6016 for mf
6017 do
6018 # Strip MF so we end up with the name of the file.
6019 mf=`echo "$mf" | sed -e 's/:.*$//'`
6020 # Check whether this is an Automake generated Makefile or not.
6021 # We used to match only the files named `Makefile.in', but
6022 # some people rename them; so instead we look at the file content.
6023 # Grep'ing the first line is not enough: some people post-process
6024 # each Makefile.in and add a new line on top of each file to say so.
6025 # Grep'ing the whole file is not good either: AIX grep has a line
6026 # limit of 2048, but all sed's we know have understand at least 4000.
6027 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6028 dirpart=`$as_dirname -- "$mf" ||
68026029 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68036030 X"$mf" : 'X\(//\)[^/]' \| \
68046031 X"$mf" : 'X\(//\)$' \| \
68216048 q
68226049 }
68236050 s/.*/./; q'`
6824 else
6825 continue
6826 fi
6827 # Extract the definition of DEPDIR, am__include, and am__quote
6828 # from the Makefile without running `make'.
6829 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6830 test -z "$DEPDIR" && continue
6831 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6832 test -z "am__include" && continue
6833 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6834 # When using ansi2knr, U may be empty or an underscore; expand it
6835 U=`sed -n 's/^U = //p' < "$mf"`
6836 # Find all dependency output files, they are included files with
6837 # $(DEPDIR) in their names. We invoke sed twice because it is the
6838 # simplest approach to changing $(DEPDIR) to its actual value in the
6839 # expansion.
6840 for file in `sed -n "
6841 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6842 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6843 # Make sure the directory exists.
6844 test -f "$dirpart/$file" && continue
6845 fdir=`$as_dirname -- "$file" ||
6051 else
6052 continue
6053 fi
6054 # Extract the definition of DEPDIR, am__include, and am__quote
6055 # from the Makefile without running `make'.
6056 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6057 test -z "$DEPDIR" && continue
6058 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6059 test -z "am__include" && continue
6060 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6061 # When using ansi2knr, U may be empty or an underscore; expand it
6062 U=`sed -n 's/^U = //p' < "$mf"`
6063 # Find all dependency output files, they are included files with
6064 # $(DEPDIR) in their names. We invoke sed twice because it is the
6065 # simplest approach to changing $(DEPDIR) to its actual value in the
6066 # expansion.
6067 for file in `sed -n "
6068 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6069 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6070 # Make sure the directory exists.
6071 test -f "$dirpart/$file" && continue
6072 fdir=`$as_dirname -- "$file" ||
68466073 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68476074 X"$file" : 'X\(//\)[^/]' \| \
68486075 X"$file" : 'X\(//\)$' \| \
68656092 q
68666093 }
68676094 s/.*/./; q'`
6868 { as_dir=$dirpart/$fdir
6869 case $as_dir in #(
6870 -*) as_dir=./$as_dir;;
6871 esac
6872 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6873 as_dirs=
6874 while :; do
6875 case $as_dir in #(
6876 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6877 *) as_qdir=$as_dir;;
6878 esac
6879 as_dirs="'$as_qdir' $as_dirs"
6880 as_dir=`$as_dirname -- "$as_dir" ||
6881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6882 X"$as_dir" : 'X\(//\)[^/]' \| \
6883 X"$as_dir" : 'X\(//\)$' \| \
6884 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6885 $as_echo X"$as_dir" |
6886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6887 s//\1/
6888 q
6889 }
6890 /^X\(\/\/\)[^/].*/{
6891 s//\1/
6892 q
6893 }
6894 /^X\(\/\/\)$/{
6895 s//\1/
6896 q
6897 }
6898 /^X\(\/\).*/{
6899 s//\1/
6900 q
6901 }
6902 s/.*/./; q'`
6903 test -d "$as_dir" && break
6095 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6096 # echo "creating $dirpart/$file"
6097 echo '# dummy' > "$dirpart/$file"
69046098 done
6905 test -z "$as_dirs" || eval "mkdir $as_dirs"
6906 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6907 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6908 { (exit 1); exit 1; }; }; }
6909 # echo "creating $dirpart/$file"
6910 echo '# dummy' > "$dirpart/$file"
69116099 done
6912 done
6100 }
69136101 ;;
69146102
69156103 esac
69166104 done # for ac_tag
69176105
69186106
6919 { (exit 0); exit 0; }
6920 _ACEOF
6921 chmod +x $CONFIG_STATUS
6107 as_fn_exit 0
6108 _ACEOF
69226109 ac_clean_files=$ac_clean_files_save
69236110
69246111 test $ac_write_fail = 0 ||
6925 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6926 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6927 { (exit 1); exit 1; }; }
6112 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69286113
69296114
69306115 # configure is writing to config.log, and then calls config.status.
69456130 exec 5>>config.log
69466131 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69476132 # would make configure fail if this is the last instruction.
6948 $ac_cs_success || { (exit 1); exit 1; }
6133 $ac_cs_success || as_fn_exit $?
69496134 fi
69506135 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6951 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69526137 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69536138 fi
69546139
00 AC_INIT(squidview.cpp)
11 AM_CONFIG_HEADER(config.h)
2 AM_INIT_AUTOMAKE(squidview,0.73)
2 AM_INIT_AUTOMAKE(squidview,0.76)
33 AC_PROG_CXX
44 AC_PROG_INSTALL
55
3535 .PP
3636 .B Squidview
3737 is configured by the contents of the directory ~/.squidview/.
38 On first execution it creates the neccessary files. The Debian-version has been
38 On first execution it creates the necessary files. The Debian-version has been
3939 modified to match the default log-path of Debian's
4040 .B squid
4141 package
7474 void ShowHighLightMessage (const string& sText);
7575
7676
77 void print (const string& sText)
78 {
79 printf ("%s\n", sText.c_str());
80 }
81
82
7783 // is the text null?
7884 // this function fixed by Mike Reid
7985 bool NullText (const char* szText)
173179 }
174180
175181
182 bool RunProgramQuietly (const string& sCommand)
183 {
184 if (system ((sCommand + " 2>/dev/null").c_str()) == 0)
185 return true;
186 sStatusMessage = string ("Error running command: " + sCommand);
187 return false;
188 }
189
190
176191 /// execute a shell command
177 void RunProgram(const string& sCommand)
192 void RunProgramInConsole (const string& sCommand)
178193 {
179194 MyCls();
180195 curs_set (1);
181196 echo();
182197 nocbreak();
183198 endwin(); // suggested by endwin(3)
184 system (sCommand.c_str());
199 if (system (sCommand.c_str()))
200 sStatusMessage = string ("Error running command: " + sCommand);
185201 keypad (stdscr, TRUE);
186202 curs_set (0);
187203 noecho();
24962512 if (PromptForKey (sDispLine) == 'y')
24972513 {
24982514 sTemp = sViewer + " " +sPathToFiles + "/" + sRepFileName;
2499 RunProgram (sTemp);
2515 RunProgramInConsole (sTemp);
25002516 }
25012517 sStatusMessage = "Press 'n' for misc. operations you can do on "
25022518 + sRepFileName;
27732789 sLine += sUser + "\n\n";
27742790 else
27752791 sLine += "\"" + sUser + "\" who is " + sTemp + "\n\n";
2776 write (iOut, sLine.c_str(), sLine.length());
2792 if (write (iOut, sLine.c_str(), sLine.length()) < 0)
2793 sStatusMessage = "Can't write to " + sDest;
27772794
27782795 sLine = "";
27792796 for (;;)
28542871 if (bWrite || bSplitting)
28552872 {
28562873 sLine += "\n";
2857 write (iOut, sLine.c_str(), sLine.length());
2874 if (write (iOut, sLine.c_str(), sLine.length()) < 0)
2875 sStatusMessage = "Can't write to " + sDest;
28582876 }
28592877 sLine = "";
28602878 }
31213139 sTemp = "( cd " + sPathToFiles + " ; " +
31223140 "echo -e \"Current reports:\n\" ; " +
31233141 "ls -l *" + sReportExt + " ) | " + sViewer;
3124 RunProgram (sTemp);
3142 RunProgramQuietly (sTemp);
31253143 break;
31263144
31273145 case 'd':
31323150 break;
31333151 }
31343152 sTemp = "rm " + sFile;
3135 RunProgram (sTemp);
3153 RunProgramQuietly (sTemp);
31363154 sCurrentReport = "";
31373155 break;
31383156
31453163 else
31463164 {
31473165 sTemp = sViewer + " " + sFile;
3148 RunProgram (sTemp);
3166 RunProgramInConsole (sTemp);
31493167 }
31503168 break;
31513169
31583176 else
31593177 {
31603178 sTemp = sViewer + " " + sFilter;
3161 RunProgram (sTemp);
3179 RunProgramInConsole (sTemp);
31623180 }
31633181 break;
31643182
32323250 if (getch() == 'y')
32333251 {
32343252 sTemp = sViewer + " " + sPathToFiles + "/" + sDest;
3235 RunProgram (sTemp);
3253 RunProgramInConsole (sTemp);
32363254 }
32373255 }
32383256 else
32813299 "Press any key to begin";
32823300 getch();
32833301 sTemp = "pine -attach " + sFile + " " + sCurrentEmail;
3284 RunProgram (sTemp);
3302 RunProgramInConsole (sTemp);
32853303 break;
32863304
32873305 case 's':
33043322 {
33053323 con << "\nPress any key.";
33063324 getch();
3307 system ("clear");
3325 RunProgramInConsole ("clear");
33083326 }
33093327 }
33103328 }
39723990 }
39733991 }
39743992 else
3975 RunProgram (sViewer + " " + sHowToLink);
3993 RunProgramInConsole (sViewer + " " + sHowToLink);
39763994 }
39773995
39783996
53725390 endwin();
53735391 if (fReadingFile)
53745392 fclose (fReadingFile);
5375 // system ("clear");
53765393 exit (iSig);
53775394 }
53785395
53815398 static void SegFaultSig (int iSig)
53825399 {
53835400 endwin();
5384 system ("reset -Q ; clear");
5401 RunProgramInConsole ("reset -Q ; clear");
53855402 if (iSortFlag >= 1000)
53865403 printf ("Squidview: fault during STL sort()\n"
53875404 "code = %d\n"
54015418 }
54025419
54035420
5421 bool FileExists (const string &file)
5422 {
5423 return (access (file.c_str(), F_OK) == 0);
5424 }
5425
5426
5427 bool FileReadable (const string &file)
5428 {
5429 return (access (file.c_str(), R_OK) == 0);
5430 }
5431
5432
54045433 // is this the first run?
54055434 // if so create .squidview directory and make links
54065435 void CreateLinks()
54075436 {
5408 struct stat sStatTable;
54095437 char* szTemp;
54105438 int iTemp;
54115439 string sLog1, sLog2, sLog3, sHowToFile, sLogLocation;
54135441 szTemp = getenv ("HOME");
54145442 if (szTemp == 0)
54155443 {
5416 printf ("squidview: can't get your home directory, exiting\n");
5444 print ("squidview: can't get your home directory, exiting.");
54175445 exit (1);
54185446 }
5447
54195448 sHomeDir = szTemp;
54205449 sPathToFiles = sHomeDir + "/" + szSquidHome;
54215450
54285457 sSetFileName = sPathToFiles + "/squidview.conf";
54295458 sHowToLink = sPathToFiles + "/" + szHowToFile;
54305459 sHowToFile = string (SHAREDIR) + "/" + szHowToFile;
5431
5432 iTemp = stat (sPathToFiles.c_str(), &sStatTable);
5433 if (iTemp == 0)
5434 return;
5435
5436 printf ("Making .squidview directory and links....\n");
5460
5461 if (FileExists (sPathToFiles))
5462 {
5463 if (!FileReadable (sLogFile1))
5464 {
5465 print ("The squid log file cannot be read.");
5466 exit (1);
5467 }
5468 return; // all is well hopefully
5469 }
5470
5471 print ("Making .squidview directory and links...");
54375472
54385473 // bug fix contributed by Willi Mann: check for file existance, not size
54395474 sLogLocation = "";
5475 bool LogFileFound = false;
54405476 for (iTemp = 0; sLogLocations [iTemp] != ""; iTemp++)
5441 if (stat (sLogLocations [iTemp].c_str(), &sStatTable) == 0)
5477 if (FileExists (sLogLocations [iTemp]))
54425478 {
54435479 sLogLocation = sLogLocations [iTemp];
5480 LogFileFound = true;
54445481 break;
54455482 }
5446 if (sLogLocation == "")
5447 sLogLocation = sLogLocations [0];
5483
5484 if(!LogFileFound)
5485 sLogLocation = sLogLocations[0];
54485486
54495487 iTemp = 0;
54505488 for (;;)
54595497 }
54605498 if (iTemp == 0)
54615499 {
5462 printf ("Error encounted.\n");
5500 print ("~/.squidview/ setup errors. Exiting.");
54635501 exit (1);
54645502 }
5465 if (GetFileSize (sLogFile1) <= 0)
5466 {
5467 printf ("The squid log file doesn't exist or is of zero size.\n");
5468 printf ("You may need to manually adjust the symlinks in ~/.squidview\n");
5469 printf ("It was assumed that your access.log is at %s\n",
5470 sLogLocation.c_str());
5471
5472 // Don't exit if logfile is empty but does exist.
5473 if (stat (sLogLocation.c_str(), &sStatTable) != 0)
5474 {
5503
5504 if (!FileReadable (sLogFile1))
5505 {
5506 print ("The squid log file cannot be accessed at pre-programmed locations.");
5507 perror("The error was");
5508 print ("You may need to manually adjust the symlinks in ~/.squidview/");
5509 print ("You may need to give user permissions to log files, or add to a group (logout.)");
5510
54755511 #ifdef DEBIANIZED
5476 printf ("You may want to add your username to the group proxy.\n");
5512 print ("You may want to add your username to the group proxy.\n");
54775513 #endif
5478 exit (1);
5479 }
5514
5515 print ("Or, after admin adjustments delete ~/.squidview/ and re-run squidview.");
5516 exit (1);
54805517 }
54815518 }
54825519