Codebase list mtr / dd4c657
Import Upstream version 0.81 Samuel Henrique 5 years ago
9 changed file(s) with 4022 addition(s) and 7403 deletion(s). Raw diff Collapse all Expand all
0 # Makefile.in generated by automake 1.9.6 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 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.
1314
1415 @SET_MAKE@
1516
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
1817 VPATH = @srcdir@
1918 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
2020 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 top_builddir = .
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
2322 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 INSTALL = @INSTALL@
2523 install_sh_DATA = $(install_sh) -c -m 644
2624 install_sh_PROGRAM = $(install_sh) -c
2725 install_sh_SCRIPT = $(install_sh) -c
4543 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4644 $(ACLOCAL_M4)
4745 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
48 configure.lineno configure.status.lineno
46 configure.lineno config.status.lineno
4947 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
5048 CONFIG_HEADER = config.h
5149 CONFIG_CLEAN_FILES =
50 CONFIG_CLEAN_VPATH_FILES =
5251 am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"
53 sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
5452 PROGRAMS = $(sbin_PROGRAMS)
5553 am_mtr_OBJECTS = mtr.$(OBJEXT) net.$(OBJEXT) dns.$(OBJEXT) \
5654 raw.$(OBJEXT) split.$(OBJEXT) display.$(OBJEXT) \
5856 select.$(OBJEXT)
5957 mtr_OBJECTS = $(am_mtr_OBJECTS)
6058 mtr_LDADD = $(LDADD)
61 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
59 mtr_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(mtr_LDFLAGS) $(LDFLAGS) -o \
60 $@
61 DEFAULT_INCLUDES = -I.@am__isrc@
6262 depcomp = $(SHELL) $(top_srcdir)/depcomp
6363 am__depfiles_maybe = depfiles
64 am__mv = mv -f
6465 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
6566 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
6667 CCLD = $(CC)
6970 DIST_SOURCES = $(mtr_SOURCES) $(EXTRA_mtr_SOURCES)
7071 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
7172 html-recursive info-recursive install-data-recursive \
72 install-exec-recursive install-info-recursive \
73 install-recursive installcheck-recursive installdirs-recursive \
74 pdf-recursive ps-recursive uninstall-info-recursive \
75 uninstall-recursive
73 install-dvi-recursive install-exec-recursive \
74 install-html-recursive install-info-recursive \
75 install-pdf-recursive install-ps-recursive install-recursive \
76 installcheck-recursive installdirs-recursive pdf-recursive \
77 ps-recursive uninstall-recursive
78 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
79 am__vpath_adj = case $$p in \
80 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
81 *) f=$$p;; \
82 esac;
83 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
84 am__install_max = 40
85 am__nobase_strip_setup = \
86 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
87 am__nobase_strip = \
88 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
89 am__nobase_list = $(am__nobase_strip_setup); \
90 for p in $$list; do echo "$$p $$p"; done | \
91 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
92 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
93 if (++n[$$2] == $(am__install_max)) \
94 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
95 END { for (dir in files) print dir, files[dir] }'
96 am__base_list = \
97 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
98 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
7699 man8dir = $(mandir)/man8
77100 NROFF = nroff
78101 MANS = $(man_MANS)
102 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
103 distclean-recursive maintainer-clean-recursive
104 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
105 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
106 distdir dist dist-all distcheck
79107 ETAGS = etags
80108 CTAGS = ctags
81109 DIST_SUBDIRS = $(SUBDIRS)
83111 distdir = $(PACKAGE)-$(VERSION)
84112 top_distdir = $(distdir)
85113 am__remove_distdir = \
86 { test ! -d $(distdir) \
87 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
88 && rm -fr $(distdir); }; }
114 { test ! -d "$(distdir)" \
115 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
116 && rm -fr "$(distdir)"; }; }
117 am__relativize = \
118 dir0=`pwd`; \
119 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
120 sed_rest='s,^[^/]*/*,,'; \
121 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
122 sed_butlast='s,/*[^/]*$$,,'; \
123 while test -n "$$dir1"; do \
124 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
125 if test "$$first" != "."; then \
126 if test "$$first" = ".."; then \
127 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
128 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
129 else \
130 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
131 if test "$$first2" = "$$first"; then \
132 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
133 else \
134 dir2="../$$dir2"; \
135 fi; \
136 dir0="$$dir0"/"$$first"; \
137 fi; \
138 fi; \
139 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
140 done; \
141 reldir="$$dir2"
89142 DIST_ARCHIVES = $(distdir).tar.gz
90143 GZIP_ENV = --best
91144 distuninstallcheck_listfiles = find . -type f -print
92145 distcleancheck_listfiles = find . -type f -print
93146 ACLOCAL = @ACLOCAL@
94 AMDEP_FALSE = @AMDEP_FALSE@
95 AMDEP_TRUE = @AMDEP_TRUE@
96147 AMTAR = @AMTAR@
97148 AUTOCONF = @AUTOCONF@
98149 AUTOHEADER = @AUTOHEADER@
116167 GTK_CFLAGS = @GTK_CFLAGS@
117168 GTK_LIBS = @GTK_LIBS@
118169 GTK_OBJ = @GTK_OBJ@
170 INSTALL = @INSTALL@
119171 INSTALL_DATA = @INSTALL_DATA@
120172 INSTALL_PROGRAM = @INSTALL_PROGRAM@
121173 INSTALL_SCRIPT = @INSTALL_SCRIPT@
125177 LIBS = @LIBS@
126178 LTLIBOBJS = @LTLIBOBJS@
127179 MAKEINFO = @MAKEINFO@
180 MKDIR_P = @MKDIR_P@
128181 OBJEXT = @OBJEXT@
129182 PACKAGE = @PACKAGE@
130183 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
131184 PACKAGE_NAME = @PACKAGE_NAME@
132185 PACKAGE_STRING = @PACKAGE_STRING@
133186 PACKAGE_TARNAME = @PACKAGE_TARNAME@
187 PACKAGE_URL = @PACKAGE_URL@
134188 PACKAGE_VERSION = @PACKAGE_VERSION@
135189 PATH_SEPARATOR = @PATH_SEPARATOR@
136190 PKG_CONFIG = @PKG_CONFIG@
138192 SHELL = @SHELL@
139193 STRIP = @STRIP@
140194 VERSION = @VERSION@
195 abs_builddir = @abs_builddir@
196 abs_srcdir = @abs_srcdir@
197 abs_top_builddir = @abs_top_builddir@
198 abs_top_srcdir = @abs_top_srcdir@
141199 ac_ct_CC = @ac_ct_CC@
142 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
143 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
144200 am__include = @am__include@
145201 am__leading_dot = @am__leading_dot@
146202 am__quote = @am__quote@
148204 am__untar = @am__untar@
149205 bindir = @bindir@
150206 build_alias = @build_alias@
207 builddir = @builddir@
151208 datadir = @datadir@
152209 datarootdir = @datarootdir@
153210 docdir = @docdir@
171228 psdir = @psdir@
172229 sbindir = @sbindir@
173230 sharedstatedir = @sharedstatedir@
231 srcdir = @srcdir@
174232 sysconfdir = @sysconfdir@
175233 target_alias = @target_alias@
234 top_build_prefix = @top_build_prefix@
235 top_builddir = @top_builddir@
236 top_srcdir = @top_srcdir@
176237 SUBDIRS = img
177238 man_MANS = mtr.8
178239 mtr_SOURCES = mtr.c \
205266 @for dep in $?; do \
206267 case '$(am__configure_deps)' in \
207268 *$$dep*) \
208 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
209 cd $(srcdir) && $(AUTOMAKE) --foreign \
269 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
270 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
210271 && exit 0; \
211272 exit 1;; \
212273 esac; \
213274 done; \
214 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
215 cd $(top_srcdir) && \
216 $(AUTOMAKE) --foreign Makefile
275 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
276 $(am__cd) $(top_srcdir) && \
277 $(AUTOMAKE) --foreign Makefile
217278 .PRECIOUS: Makefile
218279 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
219280 @case '$?' in \
229290 $(SHELL) ./config.status --recheck
230291
231292 $(top_srcdir)/configure: $(am__configure_deps)
232 cd $(srcdir) && $(AUTOCONF)
293 $(am__cd) $(srcdir) && $(AUTOCONF)
233294 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
234 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
295 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
296 $(am__aclocal_m4_deps):
235297
236298 config.h: stamp-h1
237299 @if test ! -f $@; then \
238300 rm -f stamp-h1; \
239 $(MAKE) stamp-h1; \
301 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
240302 else :; fi
241303
242304 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
243305 @rm -f stamp-h1
244306 cd $(top_builddir) && $(SHELL) ./config.status config.h
245307 $(srcdir)/config.h.in: $(am__configure_deps)
246 cd $(top_srcdir) && $(AUTOHEADER)
308 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
247309 rm -f stamp-h1
248310 touch $@
249311
251313 -rm -f config.h stamp-h1
252314 install-sbinPROGRAMS: $(sbin_PROGRAMS)
253315 @$(NORMAL_INSTALL)
254 test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
255 @list='$(sbin_PROGRAMS)'; for p in $$list; do \
256 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
257 if test -f $$p \
258 ; then \
259 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
260 echo " $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
261 $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
262 else :; fi; \
263 done
316 test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
317 @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
318 for p in $$list; do echo "$$p $$p"; done | \
319 sed 's/$(EXEEXT)$$//' | \
320 while read p p1; do if test -f $$p; \
321 then echo "$$p"; echo "$$p"; else :; fi; \
322 done | \
323 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
324 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
325 sed 'N;N;N;s,\n, ,g' | \
326 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
327 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
328 if ($$2 == $$4) files[d] = files[d] " " $$1; \
329 else { print "f", $$3 "/" $$4, $$1; } } \
330 END { for (d in files) print "f", d, files[d] }' | \
331 while read type dir files; do \
332 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
333 test -z "$$files" || { \
334 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
335 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
336 } \
337 ; done
264338
265339 uninstall-sbinPROGRAMS:
266340 @$(NORMAL_UNINSTALL)
267 @list='$(sbin_PROGRAMS)'; for p in $$list; do \
268 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
269 echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
270 rm -f "$(DESTDIR)$(sbindir)/$$f"; \
271 done
341 @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
342 files=`for p in $$list; do echo "$$p"; done | \
343 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
344 -e 's/$$/$(EXEEXT)/' `; \
345 test -n "$$list" || exit 0; \
346 echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
347 cd "$(DESTDIR)$(sbindir)" && rm -f $$files
272348
273349 clean-sbinPROGRAMS:
274350 -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
275351 mtr$(EXEEXT): $(mtr_OBJECTS) $(mtr_DEPENDENCIES)
276352 @rm -f mtr$(EXEEXT)
277 $(LINK) $(mtr_LDFLAGS) $(mtr_OBJECTS) $(mtr_LDADD) $(LIBS)
353 $(mtr_LINK) $(mtr_OBJECTS) $(mtr_LDADD) $(LIBS)
278354
279355 mostlyclean-compile:
280356 -rm -f *.$(OBJEXT)
296372 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/split.Po@am__quote@
297373
298374 .c.o:
299 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
300 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
375 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
376 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
301377 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
302378 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
303379 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
304380
305381 .c.obj:
306 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
307 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
382 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
383 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
308384 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
309385 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
310386 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
311 uninstall-info-am:
312 install-man8: $(man8_MANS) $(man_MANS)
387 install-man8: $(man_MANS)
313388 @$(NORMAL_INSTALL)
314 test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
315 @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
316 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
317 for i in $$l2; do \
318 case "$$i" in \
319 *.8*) list="$$list $$i" ;; \
320 esac; \
389 test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
390 @list=''; test -n "$(man8dir)" || exit 0; \
391 { for i in $$list; do echo "$$i"; done; \
392 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
393 sed -n '/\.8[a-z]*$$/p'; \
394 } | while read p; do \
395 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
396 echo "$$d$$p"; echo "$$p"; \
397 done | \
398 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
399 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
400 sed 'N;N;s,\n, ,g' | { \
401 list=; while read file base inst; do \
402 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
403 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
404 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
405 fi; \
321406 done; \
322 for i in $$list; do \
323 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
324 else file=$$i; fi; \
325 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
326 case "$$ext" in \
327 8*) ;; \
328 *) ext='8' ;; \
329 esac; \
330 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
331 inst=`echo $$inst | sed -e 's/^.*\///'`; \
332 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
333 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
334 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
335 done
407 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
408 while read files; do \
409 test -z "$$files" || { \
410 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
411 $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
412 done; }
413
336414 uninstall-man8:
337415 @$(NORMAL_UNINSTALL)
338 @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
339 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
340 for i in $$l2; do \
341 case "$$i" in \
342 *.8*) list="$$list $$i" ;; \
343 esac; \
344 done; \
345 for i in $$list; do \
346 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
347 case "$$ext" in \
348 8*) ;; \
349 *) ext='8' ;; \
350 esac; \
351 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
352 inst=`echo $$inst | sed -e 's/^.*\///'`; \
353 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
354 echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
355 rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
356 done
416 @list=''; test -n "$(man8dir)" || exit 0; \
417 files=`{ for i in $$list; do echo "$$i"; done; \
418 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
419 sed -n '/\.8[a-z]*$$/p'; \
420 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
421 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
422 test -z "$$files" || { \
423 echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
424 cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
357425
358426 # This directory's subdirectories are mostly independent; you can cd
359427 # into them and run `make' without going through this Makefile.
362430 # (which will cause the Makefiles to be regenerated when you run `make');
363431 # (2) otherwise, pass the desired values on the `make' command line.
364432 $(RECURSIVE_TARGETS):
365 @failcom='exit 1'; \
433 @fail= failcom='exit 1'; \
366434 for f in x $$MAKEFLAGS; do \
367435 case $$f in \
368436 *=* | --[!k]*);; \
379447 else \
380448 local_target="$$target"; \
381449 fi; \
382 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
450 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
383451 || eval $$failcom; \
384452 done; \
385453 if test "$$dot_seen" = "no"; then \
386454 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
387455 fi; test -z "$$fail"
388456
389 mostlyclean-recursive clean-recursive distclean-recursive \
390 maintainer-clean-recursive:
391 @failcom='exit 1'; \
457 $(RECURSIVE_CLEAN_TARGETS):
458 @fail= failcom='exit 1'; \
392459 for f in x $$MAKEFLAGS; do \
393460 case $$f in \
394461 *=* | --[!k]*);; \
414481 else \
415482 local_target="$$target"; \
416483 fi; \
417 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
484 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
418485 || eval $$failcom; \
419486 done && test -z "$$fail"
420487 tags-recursive:
421488 list='$(SUBDIRS)'; for subdir in $$list; do \
422 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
489 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
423490 done
424491 ctags-recursive:
425492 list='$(SUBDIRS)'; for subdir in $$list; do \
426 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
493 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
427494 done
428495
429496 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
431498 unique=`for i in $$list; do \
432499 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
433500 done | \
434 $(AWK) ' { files[$$0] = 1; } \
435 END { for (i in files) print i; }'`; \
501 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
502 END { if (nonempty) { for (i in files) print i; }; }'`; \
436503 mkid -fID $$unique
437504 tags: TAGS
438505
439506 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
440507 $(TAGS_FILES) $(LISP)
441 tags=; \
508 set x; \
442509 here=`pwd`; \
443510 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
444511 include_option=--etags-include; \
450517 list='$(SUBDIRS)'; for subdir in $$list; do \
451518 if test "$$subdir" = .; then :; else \
452519 test ! -f $$subdir/TAGS || \
453 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
520 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
454521 fi; \
455522 done; \
456523 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
457524 unique=`for i in $$list; do \
458525 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
459526 done | \
460 $(AWK) ' { files[$$0] = 1; } \
461 END { for (i in files) print i; }'`; \
462 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
527 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
528 END { if (nonempty) { for (i in files) print i; }; }'`; \
529 shift; \
530 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
463531 test -n "$$unique" || unique=$$empty_fix; \
464 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
465 $$tags $$unique; \
532 if test $$# -gt 0; then \
533 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
534 "$$@" $$unique; \
535 else \
536 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
537 $$unique; \
538 fi; \
466539 fi
467540 ctags: CTAGS
468541 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
469542 $(TAGS_FILES) $(LISP)
470 tags=; \
471 here=`pwd`; \
472543 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
473544 unique=`for i in $$list; do \
474545 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
475546 done | \
476 $(AWK) ' { files[$$0] = 1; } \
477 END { for (i in files) print i; }'`; \
478 test -z "$(CTAGS_ARGS)$$tags$$unique" \
547 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
548 END { if (nonempty) { for (i in files) print i; }; }'`; \
549 test -z "$(CTAGS_ARGS)$$unique" \
479550 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
480 $$tags $$unique
551 $$unique
481552
482553 GTAGS:
483554 here=`$(am__cd) $(top_builddir) && pwd` \
484 && cd $(top_srcdir) \
485 && gtags -i $(GTAGS_ARGS) $$here
555 && $(am__cd) $(top_srcdir) \
556 && gtags -i $(GTAGS_ARGS) "$$here"
486557
487558 distclean-tags:
488559 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
489560
490561 distdir: $(DISTFILES)
491 $(am__remove_distdir)
492 mkdir $(distdir)
493 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
494 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
495 list='$(DISTFILES)'; for file in $$list; do \
496 case $$file in \
497 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
498 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
499 esac; \
562 @list='$(MANS)'; if test -n "$$list"; then \
563 list=`for p in $$list; do \
564 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
565 if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
566 if test -n "$$list" && \
567 grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
568 echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
569 grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
570 echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
571 echo " typically \`make maintainer-clean' will remove them" >&2; \
572 exit 1; \
573 else :; fi; \
574 else :; fi
575 $(am__remove_distdir)
576 test -d "$(distdir)" || mkdir "$(distdir)"
577 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
578 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
579 list='$(DISTFILES)'; \
580 dist_files=`for file in $$list; do echo $$file; done | \
581 sed -e "s|^$$srcdirstrip/||;t" \
582 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
583 case $$dist_files in \
584 */*) $(MKDIR_P) `echo "$$dist_files" | \
585 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
586 sort -u` ;; \
587 esac; \
588 for file in $$dist_files; do \
500589 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
501 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
502 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
503 dir="/$$dir"; \
504 $(mkdir_p) "$(distdir)$$dir"; \
590 if test -d $$d/$$file; then \
591 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
592 if test -d "$(distdir)/$$file"; then \
593 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
594 fi; \
595 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
596 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
597 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
598 fi; \
599 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
505600 else \
506 dir=''; \
507 fi; \
508 if test -d $$d/$$file; then \
509 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
510 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
511 fi; \
512 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
513 else \
514 test -f $(distdir)/$$file \
515 || cp -p $$d/$$file $(distdir)/$$file \
601 test -f "$(distdir)/$$file" \
602 || cp -p $$d/$$file "$(distdir)/$$file" \
516603 || exit 1; \
517604 fi; \
518605 done
519 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
606 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
520607 if test "$$subdir" = .; then :; else \
521608 test -d "$(distdir)/$$subdir" \
522 || $(mkdir_p) "$(distdir)/$$subdir" \
609 || $(MKDIR_P) "$(distdir)/$$subdir" \
523610 || exit 1; \
524 distdir=`$(am__cd) $(distdir) && pwd`; \
525 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
526 (cd $$subdir && \
611 fi; \
612 done
613 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
614 if test "$$subdir" = .; then :; else \
615 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
616 $(am__relativize); \
617 new_distdir=$$reldir; \
618 dir1=$$subdir; dir2="$(top_distdir)"; \
619 $(am__relativize); \
620 new_top_distdir=$$reldir; \
621 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
622 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
623 ($(am__cd) $$subdir && \
527624 $(MAKE) $(AM_MAKEFLAGS) \
528 top_distdir="$$top_distdir" \
529 distdir="$$distdir/$$subdir" \
625 top_distdir="$$new_top_distdir" \
626 distdir="$$new_distdir" \
627 am__remove_distdir=: \
628 am__skip_length_check=: \
629 am__skip_mode_fix=: \
530630 distdir) \
531631 || exit 1; \
532632 fi; \
533633 done
534 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
634 -test -n "$(am__skip_mode_fix)" \
635 || find "$(distdir)" -type d ! -perm -755 \
636 -exec chmod u+rwx,go+rx {} \; -o \
535637 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
536638 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
537 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
538 || chmod -R a+r $(distdir)
639 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
640 || chmod -R a+r "$(distdir)"
539641 dist-gzip: distdir
540642 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
541643 $(am__remove_distdir)
542644
543645 dist-bzip2: distdir
544646 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
647 $(am__remove_distdir)
648
649 dist-lzma: distdir
650 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
651 $(am__remove_distdir)
652
653 dist-xz: distdir
654 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
545655 $(am__remove_distdir)
546656
547657 dist-tarZ: distdir
567677 distcheck: dist
568678 case '$(DIST_ARCHIVES)' in \
569679 *.tar.gz*) \
570 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
680 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
571681 *.tar.bz2*) \
572 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
682 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
683 *.tar.lzma*) \
684 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
685 *.tar.xz*) \
686 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
573687 *.tar.Z*) \
574688 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
575689 *.shar.gz*) \
576 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
690 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
577691 *.zip*) \
578692 unzip $(distdir).zip ;;\
579693 esac
581695 mkdir $(distdir)/_build
582696 mkdir $(distdir)/_inst
583697 chmod a-w $(distdir)
698 test -d $(distdir)/_build || exit 0; \
584699 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
585700 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
586 && cd $(distdir)/_build \
701 && am__cwd=`pwd` \
702 && $(am__cd) $(distdir)/_build \
587703 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
588704 $(DISTCHECK_CONFIGURE_FLAGS) \
589705 && $(MAKE) $(AM_MAKEFLAGS) \
605721 && rm -rf "$$dc_destdir" \
606722 && $(MAKE) $(AM_MAKEFLAGS) dist \
607723 && rm -rf $(DIST_ARCHIVES) \
608 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
724 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
725 && cd "$$am__cwd" \
726 || exit 1
609727 $(am__remove_distdir)
610728 @(echo "$(distdir) archives ready for distribution: "; \
611729 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
612 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
730 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
613731 distuninstallcheck:
614 @cd $(distuninstallcheck_dir) \
732 @$(am__cd) '$(distuninstallcheck_dir)' \
615733 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
616734 || { echo "ERROR: files left after uninstall:" ; \
617735 if test -n "$(DESTDIR)"; then \
634752 installdirs: installdirs-recursive
635753 installdirs-am:
636754 for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"; do \
637 test -z "$$dir" || $(mkdir_p) "$$dir"; \
755 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
638756 done
639757 install: install-recursive
640758 install-exec: install-exec-recursive
656774
657775 distclean-generic:
658776 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
777 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
659778 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
660779
661780 maintainer-clean-generic:
678797
679798 html: html-recursive
680799
800 html-am:
801
681802 info: info-recursive
682803
683804 info-am:
684805
685806 install-data-am: install-man
807
808 install-dvi: install-dvi-recursive
809
810 install-dvi-am:
686811
687812 install-exec-am: install-sbinPROGRAMS
688813 @$(NORMAL_INSTALL)
689814 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
815 install-html: install-html-recursive
816
817 install-html-am:
690818
691819 install-info: install-info-recursive
692820
821 install-info-am:
822
693823 install-man: install-man8
824
825 install-pdf: install-pdf-recursive
826
827 install-pdf-am:
828
829 install-ps: install-ps-recursive
830
831 install-ps-am:
694832
695833 installcheck-am:
696834
713851
714852 ps-am:
715853
716 uninstall-am: uninstall-info-am uninstall-man uninstall-sbinPROGRAMS
717
718 uninstall-info: uninstall-info-recursive
854 uninstall-am: uninstall-man uninstall-sbinPROGRAMS
719855
720856 uninstall-man: uninstall-man8
721857
722 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
723 check-am clean clean-generic clean-recursive \
858 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
859 ctags-recursive install-am install-exec-am install-strip \
860 tags-recursive
861
862 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
863 all all-am am--refresh check check-am clean clean-generic \
724864 clean-sbinPROGRAMS ctags ctags-recursive dist dist-all \
725 dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip distcheck \
726 distclean distclean-compile distclean-generic distclean-hdr \
727 distclean-local distclean-recursive distclean-tags \
865 dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz \
866 dist-zip distcheck distclean distclean-compile \
867 distclean-generic distclean-hdr distclean-local distclean-tags \
728868 distcleancheck distdir distuninstallcheck dvi dvi-am html \
729869 html-am info info-am install install-am install-data \
730 install-data-am install-exec install-exec-am install-exec-hook \
870 install-data-am install-dvi install-dvi-am install-exec \
871 install-exec-am install-exec-hook install-html install-html-am \
731872 install-info install-info-am install-man install-man8 \
873 install-pdf install-pdf-am install-ps install-ps-am \
732874 install-sbinPROGRAMS install-strip installcheck \
733875 installcheck-am installdirs installdirs-am maintainer-clean \
734 maintainer-clean-generic maintainer-clean-recursive \
735 mostlyclean mostlyclean-compile mostlyclean-generic \
736 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
737 uninstall uninstall-am uninstall-info-am uninstall-man \
738 uninstall-man8 uninstall-sbinPROGRAMS
876 maintainer-clean-generic mostlyclean mostlyclean-compile \
877 mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
878 uninstall uninstall-am uninstall-man uninstall-man8 \
879 uninstall-sbinPROGRAMS
739880
740881 install-exec-hook:
741882 chmod u+s $(DESTDIR)$(sbindir)/mtr
742883 distclean-local:
743884 (sleep 3; cp Makefile.dist Makefile) &
744885 rm -f *.orig
886
745887 # Tell versions [3.59,3.63) of GNU make to not export all variables.
746888 # Otherwise a system limit (for SysV at least) may be exceeded.
747889 .NOEXPORT:
00 WHAT'S NEW?
1 V0.81 Fix for https://bugs.launchpad.net/mtr/+bug/776211
2 don't have time right now to integrate some submitted patches.
3 Sorry.
14 V0.80 Some compilation fixes for BSD by Jeremy Chadwick
25 <freebsd@jdc.parodius.com>
36 V0.78/0.79 some compilation fixes for BSD&others by
0 # generated automatically by aclocal 1.9.6 -*- 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 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.
99 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1010 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1111 # PARTICULAR PURPOSE.
12
13 m4_ifndef([AC_AUTOCONF_VERSION],
14 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
16 [m4_warning([this file was generated for autoconf 2.65.
17 You have another version of autoconf. It may work, but is not guaranteed to.
18 If you have problems, you may need to regenerate the build system entirely.
19 To do so, use the procedure documented by the package, typically `autoreconf'.])])
1220
1321 # Configure paths for GTK+
1422 # Owen Taylor 1997-2001
97105 int major, minor, micro;
98106 char *tmp_version;
99107
100 system ("touch conf.gtktest");
108 fclose (fopen ("conf.gtktest", "w"));
101109
102110 /* HP/UX 9 (%@#!) writes to sscanf strings */
103111 tmp_version = g_strdup("$min_gtk_version");
207215 rm -f conf.gtktest
208216 ])
209217
210 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
218 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
211219 #
212220 # This file is free software; the Free Software Foundation
213221 # gives unlimited permission to copy and/or distribute it,
217225 # ----------------------------
218226 # Automake X.Y traces this macro to ensure aclocal.m4 has been
219227 # generated from the m4 files accompanying Automake X.Y.
220 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
228 # (This private macro should not be called outside this file.)
229 AC_DEFUN([AM_AUTOMAKE_VERSION],
230 [am__api_version='1.11'
231 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
232 dnl require some minimum version. Point them to the right macro.
233 m4_if([$1], [1.11.1], [],
234 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
235 ])
236
237 # _AM_AUTOCONF_VERSION(VERSION)
238 # -----------------------------
239 # aclocal traces this macro to find the Autoconf version.
240 # This is a private macro too. Using m4_define simplifies
241 # the logic in aclocal, which can simply ignore this definition.
242 m4_define([_AM_AUTOCONF_VERSION], [])
221243
222244 # AM_SET_CURRENT_AUTOMAKE_VERSION
223245 # -------------------------------
224 # Call AM_AUTOMAKE_VERSION so it can be traced.
225 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
246 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
247 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
226248 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
227 [AM_AUTOMAKE_VERSION([1.9.6])])
249 [AM_AUTOMAKE_VERSION([1.11.1])dnl
250 m4_ifndef([AC_AUTOCONF_VERSION],
251 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
252 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
228253
229254 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
230255
281306
282307 # AM_CONDITIONAL -*- Autoconf -*-
283308
284 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
309 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
285310 # Free Software Foundation, Inc.
286311 #
287312 # This file is free software; the Free Software Foundation
288313 # gives unlimited permission to copy and/or distribute it,
289314 # with or without modifications, as long as this notice is preserved.
290315
291 # serial 7
316 # serial 9
292317
293318 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
294319 # -------------------------------------
297322 [AC_PREREQ(2.52)dnl
298323 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
299324 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
300 AC_SUBST([$1_TRUE])
301 AC_SUBST([$1_FALSE])
325 AC_SUBST([$1_TRUE])dnl
326 AC_SUBST([$1_FALSE])dnl
327 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
328 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
329 m4_define([_AM_COND_VALUE_$1], [$2])dnl
302330 if $2; then
303331 $1_TRUE=
304332 $1_FALSE='#'
312340 Usually this means the macro was only invoked conditionally.]])
313341 fi])])
314342
315
316 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
343 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
317344 # Free Software Foundation, Inc.
318345 #
319346 # This file is free software; the Free Software Foundation
320347 # gives unlimited permission to copy and/or distribute it,
321348 # with or without modifications, as long as this notice is preserved.
322349
323 # serial 8
350 # serial 10
324351
325352 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
326353 # written in clear, in which case automake, when reading aclocal.m4,
348375 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
349376 [$1], CXX, [depcc="$CXX" am_compiler_list=],
350377 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
378 [$1], UPC, [depcc="$UPC" am_compiler_list=],
351379 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
352380 [depcc="$$1" am_compiler_list=])
353381
376404 if test "$am_compiler_list" = ""; then
377405 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
378406 fi
407 am__universal=false
408 m4_case([$1], [CC],
409 [case " $depcc " in #(
410 *\ -arch\ *\ -arch\ *) am__universal=true ;;
411 esac],
412 [CXX],
413 [case " $depcc " in #(
414 *\ -arch\ *\ -arch\ *) am__universal=true ;;
415 esac])
416
379417 for depmode in $am_compiler_list; do
380418 # Setup a source with many dependencies, because some compilers
381419 # like to wrap large dependency lists on column 80 (with \), and
393431 done
394432 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
395433
434 # We check with `-c' and `-o' for the sake of the "dashmstdout"
435 # mode. It turns out that the SunPro C++ compiler does not properly
436 # handle `-M -o', and we need to detect this. Also, some Intel
437 # versions had trouble with output in subdirs
438 am__obj=sub/conftest.${OBJEXT-o}
439 am__minus_obj="-o $am__obj"
396440 case $depmode in
441 gcc)
442 # This depmode causes a compiler race in universal mode.
443 test "$am__universal" = false || continue
444 ;;
397445 nosideeffect)
398446 # after this tag, mechanisms are not by side-effect, so they'll
399447 # only be used when explicitly requested
403451 break
404452 fi
405453 ;;
454 msvisualcpp | msvcmsys)
455 # This compiler won't grok `-c -o', but also, the minuso test has
456 # not run yet. These depmodes are late enough in the game, and
457 # so weak that their functioning should not be impacted.
458 am__obj=conftest.${OBJEXT-o}
459 am__minus_obj=
460 ;;
406461 none) break ;;
407462 esac
408 # We check with `-c' and `-o' for the sake of the "dashmstdout"
409 # mode. It turns out that the SunPro C++ compiler does not properly
410 # handle `-M -o', and we need to detect this.
411463 if depmode=$depmode \
412 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
464 source=sub/conftest.c object=$am__obj \
413465 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
414 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
466 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
415467 >/dev/null 2>conftest.err &&
468 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
416469 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
417 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
470 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
418471 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
419472 # icc doesn't choke on unknown options, it will just issue warnings
420473 # or remarks (even with -Werror). So we grep stderr for any message
465518 AMDEPBACKSLASH='\'
466519 fi
467520 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
468 AC_SUBST([AMDEPBACKSLASH])
521 AC_SUBST([AMDEPBACKSLASH])dnl
522 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
469523 ])
470524
471525 # Generate code to set up dependency tracking. -*- Autoconf -*-
472526
473 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
527 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
474528 # Free Software Foundation, Inc.
475529 #
476530 # This file is free software; the Free Software Foundation
477531 # gives unlimited permission to copy and/or distribute it,
478532 # with or without modifications, as long as this notice is preserved.
479533
480 #serial 3
534 #serial 5
481535
482536 # _AM_OUTPUT_DEPENDENCY_COMMANDS
483537 # ------------------------------
484538 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
485 [for mf in $CONFIG_FILES; do
486 # Strip MF so we end up with the name of the file.
487 mf=`echo "$mf" | sed -e 's/:.*$//'`
488 # Check whether this is an Automake generated Makefile or not.
489 # We used to match only the files named `Makefile.in', but
490 # some people rename them; so instead we look at the file content.
491 # Grep'ing the first line is not enough: some people post-process
492 # each Makefile.in and add a new line on top of each file to say so.
493 # So let's grep whole file.
494 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
495 dirpart=`AS_DIRNAME("$mf")`
496 else
497 continue
498 fi
499 # Extract the definition of DEPDIR, am__include, and am__quote
500 # from the Makefile without running `make'.
501 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
502 test -z "$DEPDIR" && continue
503 am__include=`sed -n 's/^am__include = //p' < "$mf"`
504 test -z "am__include" && continue
505 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
506 # When using ansi2knr, U may be empty or an underscore; expand it
507 U=`sed -n 's/^U = //p' < "$mf"`
508 # Find all dependency output files, they are included files with
509 # $(DEPDIR) in their names. We invoke sed twice because it is the
510 # simplest approach to changing $(DEPDIR) to its actual value in the
511 # expansion.
512 for file in `sed -n "
513 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
514 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
515 # Make sure the directory exists.
516 test -f "$dirpart/$file" && continue
517 fdir=`AS_DIRNAME(["$file"])`
518 AS_MKDIR_P([$dirpart/$fdir])
519 # echo "creating $dirpart/$file"
520 echo '# dummy' > "$dirpart/$file"
539 [{
540 # Autoconf 2.62 quotes --file arguments for eval, but not when files
541 # are listed without --file. Let's play safe and only enable the eval
542 # if we detect the quoting.
543 case $CONFIG_FILES in
544 *\'*) eval set x "$CONFIG_FILES" ;;
545 *) set x $CONFIG_FILES ;;
546 esac
547 shift
548 for mf
549 do
550 # Strip MF so we end up with the name of the file.
551 mf=`echo "$mf" | sed -e 's/:.*$//'`
552 # Check whether this is an Automake generated Makefile or not.
553 # We used to match only the files named `Makefile.in', but
554 # some people rename them; so instead we look at the file content.
555 # Grep'ing the first line is not enough: some people post-process
556 # each Makefile.in and add a new line on top of each file to say so.
557 # Grep'ing the whole file is not good either: AIX grep has a line
558 # limit of 2048, but all sed's we know have understand at least 4000.
559 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
560 dirpart=`AS_DIRNAME("$mf")`
561 else
562 continue
563 fi
564 # Extract the definition of DEPDIR, am__include, and am__quote
565 # from the Makefile without running `make'.
566 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
567 test -z "$DEPDIR" && continue
568 am__include=`sed -n 's/^am__include = //p' < "$mf"`
569 test -z "am__include" && continue
570 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
571 # When using ansi2knr, U may be empty or an underscore; expand it
572 U=`sed -n 's/^U = //p' < "$mf"`
573 # Find all dependency output files, they are included files with
574 # $(DEPDIR) in their names. We invoke sed twice because it is the
575 # simplest approach to changing $(DEPDIR) to its actual value in the
576 # expansion.
577 for file in `sed -n "
578 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
579 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
580 # Make sure the directory exists.
581 test -f "$dirpart/$file" && continue
582 fdir=`AS_DIRNAME(["$file"])`
583 AS_MKDIR_P([$dirpart/$fdir])
584 # echo "creating $dirpart/$file"
585 echo '# dummy' > "$dirpart/$file"
586 done
521587 done
522 done
588 }
523589 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
524590
525591
538604
539605 # Do all the work for Automake. -*- Autoconf -*-
540606
541 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
542 # Free Software Foundation, Inc.
543 #
544 # This file is free software; the Free Software Foundation
545 # gives unlimited permission to copy and/or distribute it,
546 # with or without modifications, as long as this notice is preserved.
547
548 # serial 12
607 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
608 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
609 #
610 # This file is free software; the Free Software Foundation
611 # gives unlimited permission to copy and/or distribute it,
612 # with or without modifications, as long as this notice is preserved.
613
614 # serial 16
549615
550616 # This macro actually does too much. Some checks are only needed if
551617 # your package does certain things. But this isn't really a big deal.
562628 # arguments mandatory, and then we can depend on a new Autoconf
563629 # release and drop the old call support.
564630 AC_DEFUN([AM_INIT_AUTOMAKE],
565 [AC_PREREQ([2.58])dnl
631 [AC_PREREQ([2.62])dnl
566632 dnl Autoconf wants to disallow AM_ names. We explicitly allow
567633 dnl the ones we care about.
568634 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
569635 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
570636 AC_REQUIRE([AC_PROG_INSTALL])dnl
571 # test to see if srcdir already configured
572 if test "`cd $srcdir && pwd`" != "`pwd`" &&
573 test -f $srcdir/config.status; then
574 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
637 if test "`cd $srcdir && pwd`" != "`pwd`"; then
638 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
639 # is not polluted with repeated "-I."
640 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
641 # test to see if srcdir already configured
642 if test -f $srcdir/config.status; then
643 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
644 fi
575645 fi
576646
577647 # test whether we have cygpath
591661 AC_SUBST([PACKAGE], [$1])dnl
592662 AC_SUBST([VERSION], [$2])],
593663 [_AM_SET_OPTIONS([$1])dnl
664 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
665 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
666 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
594667 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
595668 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
596669
606679 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
607680 AM_MISSING_PROG(AUTOHEADER, autoheader)
608681 AM_MISSING_PROG(MAKEINFO, makeinfo)
609 AM_PROG_INSTALL_SH
610 AM_PROG_INSTALL_STRIP
682 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
683 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
611684 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
612685 # We need awk for the "check" target. The system "awk" is bad on
613686 # some platforms.
615688 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
616689 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
617690 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
618 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
619 [_AM_PROG_TAR([v7])])])
691 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
692 [_AM_PROG_TAR([v7])])])
620693 _AM_IF_OPTION([no-dependencies],,
621694 [AC_PROVIDE_IFELSE([AC_PROG_CC],
622 [_AM_DEPENDENCIES(CC)],
623 [define([AC_PROG_CC],
624 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
695 [_AM_DEPENDENCIES(CC)],
696 [define([AC_PROG_CC],
697 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
625698 AC_PROVIDE_IFELSE([AC_PROG_CXX],
626 [_AM_DEPENDENCIES(CXX)],
627 [define([AC_PROG_CXX],
628 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
629 ])
630 ])
699 [_AM_DEPENDENCIES(CXX)],
700 [define([AC_PROG_CXX],
701 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
702 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
703 [_AM_DEPENDENCIES(OBJC)],
704 [define([AC_PROG_OBJC],
705 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
706 ])
707 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
708 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
709 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
710 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
711 AC_CONFIG_COMMANDS_PRE(dnl
712 [m4_provide_if([_AM_COMPILER_EXEEXT],
713 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
714 ])
715
716 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
717 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
718 dnl mangled by Autoconf and run in a shell conditional statement.
719 m4_define([_AC_COMPILER_EXEEXT],
720 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
631721
632722
633723 # When config.status generates a header, we must update the stamp-h file.
639729 # our stamp files there.
640730 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
641731 [# Compute $1's index in $config_headers.
732 _am_arg=$1
642733 _am_stamp_count=1
643734 for _am_header in $config_headers :; do
644735 case $_am_header in
645 $1 | $1:* )
736 $_am_arg | $_am_arg:* )
646737 break ;;
647738 * )
648739 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
649740 esac
650741 done
651 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
652
653 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
742 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
743
744 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
654745 #
655746 # This file is free software; the Free Software Foundation
656747 # gives unlimited permission to copy and/or distribute it,
661752 # Define $install_sh.
662753 AC_DEFUN([AM_PROG_INSTALL_SH],
663754 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
664 install_sh=${install_sh-"$am_aux_dir/install-sh"}
755 if test x"${install_sh}" != xset; then
756 case $am_aux_dir in
757 *\ * | *\ *)
758 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
759 *)
760 install_sh="\${SHELL} $am_aux_dir/install-sh"
761 esac
762 fi
665763 AC_SUBST(install_sh)])
666764
667765 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
687785
688786 # Check to see how 'make' treats includes. -*- Autoconf -*-
689787
690 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
691 #
692 # This file is free software; the Free Software Foundation
693 # gives unlimited permission to copy and/or distribute it,
694 # with or without modifications, as long as this notice is preserved.
695
696 # serial 3
788 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
789 #
790 # This file is free software; the Free Software Foundation
791 # gives unlimited permission to copy and/or distribute it,
792 # with or without modifications, as long as this notice is preserved.
793
794 # serial 4
697795
698796 # AM_MAKE_INCLUDE()
699797 # -----------------
702800 [am_make=${MAKE-make}
703801 cat > confinc << 'END'
704802 am__doit:
705 @echo done
803 @echo this is the am__doit target
706804 .PHONY: am__doit
707805 END
708806 # If we don't find an include directive, just comment out the code.
712810 _am_result=none
713811 # First try GNU make style include.
714812 echo "include confinc" > confmf
715 # We grep out `Entering directory' and `Leaving directory'
716 # messages which can occur if `w' ends up in MAKEFLAGS.
717 # In particular we don't look at `^make:' because GNU make might
718 # be invoked under some other name (usually "gmake"), in which
719 # case it prints its new name instead of `make'.
720 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
721 am__include=include
722 am__quote=
723 _am_result=GNU
724 fi
813 # Ignore all kinds of additional output from `make'.
814 case `$am_make -s -f confmf 2> /dev/null` in #(
815 *the\ am__doit\ target*)
816 am__include=include
817 am__quote=
818 _am_result=GNU
819 ;;
820 esac
725821 # Now try BSD make style include.
726822 if test "$am__include" = "#"; then
727823 echo '.include "confinc"' > confmf
728 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
729 am__include=.include
730 am__quote="\""
731 _am_result=BSD
732 fi
824 case `$am_make -s -f confmf 2> /dev/null` in #(
825 *the\ am__doit\ target*)
826 am__include=.include
827 am__quote="\""
828 _am_result=BSD
829 ;;
830 esac
733831 fi
734832 AC_SUBST([am__include])
735833 AC_SUBST([am__quote])
739837
740838 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
741839
742 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
840 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
743841 # Free Software Foundation, Inc.
744842 #
745843 # This file is free software; the Free Software Foundation
746844 # gives unlimited permission to copy and/or distribute it,
747845 # with or without modifications, as long as this notice is preserved.
748846
749 # serial 4
847 # serial 6
750848
751849 # AM_MISSING_PROG(NAME, PROGRAM)
752850 # ------------------------------
762860 # If it does, set am_missing_run to use it, otherwise, to nothing.
763861 AC_DEFUN([AM_MISSING_HAS_RUN],
764862 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
765 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
863 AC_REQUIRE_AUX_FILE([missing])dnl
864 if test x"${MISSING+set}" != xset; then
865 case $am_aux_dir in
866 *\ * | *\ *)
867 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
868 *)
869 MISSING="\${SHELL} $am_aux_dir/missing" ;;
870 esac
871 fi
766872 # Use eval to expand $SHELL
767873 if eval "$MISSING --run true"; then
768874 am_missing_run="$MISSING --run "
772878 fi
773879 ])
774880
775 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
881 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
776882 #
777883 # This file is free software; the Free Software Foundation
778884 # gives unlimited permission to copy and/or distribute it,
780886
781887 # AM_PROG_MKDIR_P
782888 # ---------------
783 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
784 #
785 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
786 # created by `make install' are always world readable, even if the
787 # installer happens to have an overly restrictive umask (e.g. 077).
788 # This was a mistake. There are at least two reasons why we must not
789 # use `-m 0755':
790 # - it causes special bits like SGID to be ignored,
791 # - it may be too restrictive (some setups expect 775 directories).
792 #
793 # Do not use -m 0755 and let people choose whatever they expect by
794 # setting umask.
795 #
796 # We cannot accept any implementation of `mkdir' that recognizes `-p'.
797 # Some implementations (such as Solaris 8's) are not thread-safe: if a
798 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
799 # concurrently, both version can detect that a/ is missing, but only
800 # one can create it and the other will error out. Consequently we
801 # restrict ourselves to GNU make (using the --version option ensures
802 # this.)
889 # Check for `mkdir -p'.
803890 AC_DEFUN([AM_PROG_MKDIR_P],
804 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
805 # We used to keeping the `.' as first argument, in order to
806 # allow $(mkdir_p) to be used without argument. As in
807 # $(mkdir_p) $(somedir)
808 # where $(somedir) is conditionally defined. However this is wrong
809 # for two reasons:
810 # 1. if the package is installed by a user who cannot write `.'
811 # make install will fail,
812 # 2. the above comment should most certainly read
813 # $(mkdir_p) $(DESTDIR)$(somedir)
814 # so it does not work when $(somedir) is undefined and
815 # $(DESTDIR) is not.
816 # To support the latter case, we have to write
817 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
818 # so the `.' trick is pointless.
819 mkdir_p='mkdir -p --'
820 else
821 # On NextStep and OpenStep, the `mkdir' command does not
822 # recognize any option. It will interpret all options as
823 # directories to create, and then abort because `.' already
824 # exists.
825 for d in ./-p ./--version;
826 do
827 test -d $d && rmdir $d
828 done
829 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
830 if test -f "$ac_aux_dir/mkinstalldirs"; then
831 mkdir_p='$(mkinstalldirs)'
832 else
833 mkdir_p='$(install_sh) -d'
834 fi
835 fi
836 AC_SUBST([mkdir_p])])
891 [AC_PREREQ([2.60])dnl
892 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
893 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
894 dnl while keeping a definition of mkdir_p for backward compatibility.
895 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
896 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
897 dnl Makefile.ins that do not define MKDIR_P, so we do our own
898 dnl adjustment using top_builddir (which is defined more often than
899 dnl MKDIR_P).
900 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
901 case $mkdir_p in
902 [[\\/$]]* | ?:[[\\/]]*) ;;
903 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
904 esac
905 ])
837906
838907 # Helper functions for option handling. -*- Autoconf -*-
839908
840 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
841 #
842 # This file is free software; the Free Software Foundation
843 # gives unlimited permission to copy and/or distribute it,
844 # with or without modifications, as long as this notice is preserved.
845
846 # serial 3
909 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
910 #
911 # This file is free software; the Free Software Foundation
912 # gives unlimited permission to copy and/or distribute it,
913 # with or without modifications, as long as this notice is preserved.
914
915 # serial 4
847916
848917 # _AM_MANGLE_OPTION(NAME)
849918 # -----------------------
860929 # ----------------------------------
861930 # OPTIONS is a space-separated list of Automake options.
862931 AC_DEFUN([_AM_SET_OPTIONS],
863 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
932 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
864933
865934 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
866935 # -------------------------------------------
870939
871940 # Check to make sure that the build environment is sane. -*- Autoconf -*-
872941
873 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
942 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
874943 # Free Software Foundation, Inc.
875944 #
876945 # This file is free software; the Free Software Foundation
877946 # gives unlimited permission to copy and/or distribute it,
878947 # with or without modifications, as long as this notice is preserved.
879948
880 # serial 4
949 # serial 5
881950
882951 # AM_SANITY_CHECK
883952 # ---------------
886955 # Just in case
887956 sleep 1
888957 echo timestamp > conftest.file
958 # Reject unsafe characters in $srcdir or the absolute working directory
959 # name. Accept space and tab only in the latter.
960 am_lf='
961 '
962 case `pwd` in
963 *[[\\\"\#\$\&\'\`$am_lf]]*)
964 AC_MSG_ERROR([unsafe absolute working directory name]);;
965 esac
966 case $srcdir in
967 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
968 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
969 esac
970
889971 # Do `set' in a subshell so we don't clobber the current shell's
890972 # arguments. Must try -L first in case configure is actually a
891973 # symlink; some systems play weird games with the mod time of symlinks
892974 # (eg FreeBSD returns the mod time of the symlink's containing
893975 # directory).
894976 if (
895 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
977 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
896978 if test "$[*]" = "X"; then
897979 # -L didn't work.
898 set X `ls -t $srcdir/configure conftest.file`
980 set X `ls -t "$srcdir/configure" conftest.file`
899981 fi
900982 rm -f conftest.file
901983 if test "$[*]" != "X $srcdir/configure conftest.file" \
9451027 if test "$cross_compiling" != no; then
9461028 AC_CHECK_TOOL([STRIP], [strip], :)
9471029 fi
948 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1030 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9491031 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1032
1033 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1034 #
1035 # This file is free software; the Free Software Foundation
1036 # gives unlimited permission to copy and/or distribute it,
1037 # with or without modifications, as long as this notice is preserved.
1038
1039 # serial 2
1040
1041 # _AM_SUBST_NOTMAKE(VARIABLE)
1042 # ---------------------------
1043 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1044 # This macro is traced by Automake.
1045 AC_DEFUN([_AM_SUBST_NOTMAKE])
1046
1047 # AM_SUBST_NOTMAKE(VARIABLE)
1048 # ---------------------------
1049 # Public sister of _AM_SUBST_NOTMAKE.
1050 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
9501051
9511052 # Check how to create a tarball. -*- Autoconf -*-
9521053
126126 /* Define to the one symbol short name of this package. */
127127 #undef PACKAGE_TARNAME
128128
129 /* Define to the home page for this package. */
130 #undef PACKAGE_URL
131
129132 /* Define to the version of this package. */
130133 #undef PACKAGE_VERSION
131134
+0
-1058
config.status.lineno less more
0 #! /bin/sh
1 # Generated by configure.
2 # Run this file to recreate the current configuration.
3 # Compiler output produced by configure, useful for debugging
4 # configure, is in config.log if it exists.
5
6 debug=false
7 ac_cs_recheck=false
8 ac_cs_silent=false
9 SHELL=${CONFIG_SHELL-/bin/sh}
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
26 esac
27
28 fi
29
30
31
32
33 # PATH needs CR
34 # Avoid depending upon Character Ranges.
35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits='0123456789'
39 as_cr_alnum=$as_cr_Letters$as_cr_digits
40
41 # The user is always right.
42 if test "${PATH_SEPARATOR+set}" != set; then
43 echo "#! /bin/sh" >conf$$.sh
44 echo "exit 0" >>conf$$.sh
45 chmod +x conf$$.sh
46 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
47 PATH_SEPARATOR=';'
48 else
49 PATH_SEPARATOR=:
50 fi
51 rm -f conf$$.sh
52 fi
53
54 # Support unset when possible.
55 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
56 as_unset=unset
57 else
58 as_unset=false
59 fi
60
61
62 # IFS
63 # We need space, tab and new line, in precisely that order. Quoting is
64 # there to prevent editors from complaining about space-tab.
65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66 # splitting by setting IFS to empty value.)
67 as_nl='
68 '
69 IFS=" "" $as_nl"
70
71 # Find who we are. Look in the path if we contain no directory separator.
72 case $0 in
73 *[\\/]* ) as_myself=$0 ;;
74 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75 for as_dir in $PATH
76 do
77 IFS=$as_save_IFS
78 test -z "$as_dir" && as_dir=.
79 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80 done
81 IFS=$as_save_IFS
82
83 ;;
84 esac
85 # We did not find ourselves, most probably we were run as `sh COMMAND'
86 # in which case we are not to be found in the path.
87 if test "x$as_myself" = x; then
88 as_myself=$0
89 fi
90 if test ! -f "$as_myself"; then
91 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 { (exit 1); exit 1; }
93 fi
94
95 # Work around bugs in pre-3.0 UWIN ksh.
96 for as_var in ENV MAIL MAILPATH
97 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
98 done
99 PS1='$ '
100 PS2='> '
101 PS4='+ '
102
103 # NLS nuisances.
104 for as_var in \
105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107 LC_TELEPHONE LC_TIME
108 do
109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110 eval $as_var=C; export $as_var
111 else
112 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 fi
114 done
115
116 # Required to use basename.
117 if expr a : '\(a\)' >/dev/null 2>&1 &&
118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
119 as_expr=expr
120 else
121 as_expr=false
122 fi
123
124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
125 as_basename=basename
126 else
127 as_basename=false
128 fi
129
130
131 # Name of the executable.
132 as_me=`$as_basename -- "$0" ||
133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
134 X"$0" : 'X\(//\)$' \| \
135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 echo X/"$0" |
137 sed '/^.*\/\([^/][^/]*\)\/*$/{
138 s//\1/
139 q
140 }
141 /^X\/\(\/\/\)$/{
142 s//\1/
143 q
144 }
145 /^X\/\(\/\).*/{
146 s//\1/
147 q
148 }
149 s/.*/./; q'`
150
151 # CDPATH.
152 $as_unset CDPATH
153
154
155
156 as_lineno_1=157
157 as_lineno_2=158
158 test "x$as_lineno_1" != "x$as_lineno_2" &&
159 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
160
161 # Create $as_me.lineno as a copy of $as_myself, but with 162
162 # uniformly replaced by the line number. The first 'sed' inserts a
163 # line-number line after each line using 164; the second 'sed'
164 # does the real work. The second script uses 'N' to pair each
165 # line-number line with the line containing 166, and appends
166 # trailing '-' during substitution so that 167 is not a special
167 # case at line end.
168 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
169 # scripts with optimization help from Paolo Bonzini. Blame Lee
170 # E. McMahon (1931-1989) for sed's syntax. :-)
171 sed -n '
172 p
173 /[$]LINENO/=
174 ' <$as_myself |
175 sed '
176 s/[$]LINENO.*/&-/
177 t lineno
178 b
179 :lineno
180 N
181 :loop
182 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
183 t loop
184 s/-\n.*//
185 ' >$as_me.lineno &&
186 chmod +x "$as_me.lineno" ||
187 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
188 { (exit 1); exit 1; }; }
189
190 # Don't try to exec as it changes $[0], causing all sort of problems
191 # (the dirname of $[0] is not the place where we might find the
192 # original and so on. Autoconf is especially sensitive to this).
193 . "./$as_me.lineno"
194 # Exit status is that of the last command.
195 exit
196 }
197
198
199 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
200 as_dirname=dirname
201 else
202 as_dirname=false
203 fi
204
205 ECHO_C= ECHO_N= ECHO_T=
206 case `echo -n x` in
207 -n*)
208 case `echo 'x\c'` in
209 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
210 *) ECHO_C='\c';;
211 esac;;
212 *)
213 ECHO_N='-n';;
214 esac
215
216 if expr a : '\(a\)' >/dev/null 2>&1 &&
217 test "X`expr 00001 : '.*\(...\)'`" = X001; then
218 as_expr=expr
219 else
220 as_expr=false
221 fi
222
223 rm -f conf$$ conf$$.exe conf$$.file
224 if test -d conf$$.dir; then
225 rm -f conf$$.dir/conf$$.file
226 else
227 rm -f conf$$.dir
228 mkdir conf$$.dir
229 fi
230 echo >conf$$.file
231 if ln -s conf$$.file conf$$ 2>/dev/null; then
232 as_ln_s='ln -s'
233 # ... but there are two gotchas:
234 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
235 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
236 # In both cases, we have to default to `cp -p'.
237 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
238 as_ln_s='cp -p'
239 elif ln conf$$.file conf$$ 2>/dev/null; then
240 as_ln_s=ln
241 else
242 as_ln_s='cp -p'
243 fi
244 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
245 rmdir conf$$.dir 2>/dev/null
246
247 if mkdir -p . 2>/dev/null; then
248 as_mkdir_p=:
249 else
250 test -d ./-p && rmdir ./-p
251 as_mkdir_p=false
252 fi
253
254 if test -x / >/dev/null 2>&1; then
255 as_test_x='test -x'
256 else
257 if ls -dL / >/dev/null 2>&1; then
258 as_ls_L_option=L
259 else
260 as_ls_L_option=
261 fi
262 as_test_x='
263 eval sh -c '\''
264 if test -d "$1"; then
265 test -d "$1/.";
266 else
267 case $1 in
268 -*)set "./$1";;
269 esac;
270 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
271 ???[sx]*):;;*)false;;esac;fi
272 '\'' sh
273 '
274 fi
275 as_executable_p=$as_test_x
276
277 # Sed expression to map a string onto a valid CPP name.
278 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
279
280 # Sed expression to map a string onto a valid variable name.
281 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
282
283
284 exec 6>&1
285
286 # Save the log message, to keep $[0] and so on meaningful, and to
287 # report actual input values of CONFIG_FILES etc. instead of their
288 # values after options handling.
289 ac_log="
290 This file was extended by $as_me, which was
291 generated by GNU Autoconf 2.61. Invocation command line was
292
293 CONFIG_FILES = $CONFIG_FILES
294 CONFIG_HEADERS = $CONFIG_HEADERS
295 CONFIG_LINKS = $CONFIG_LINKS
296 CONFIG_COMMANDS = $CONFIG_COMMANDS
297 $ $0 $@
298
299 on `(hostname || uname -n) 2>/dev/null | sed 1q`
300 "
301
302 # Files that config.status was made for.
303 config_files=" Makefile img/Makefile"
304 config_headers=" config.h"
305 config_commands=" depfiles"
306
307 ac_cs_usage="\
308 \`$as_me' instantiates files from templates according to the
309 current configuration.
310
311 Usage: $0 [OPTIONS] [FILE]...
312
313 -h, --help print this help, then exit
314 -V, --version print version number and configuration settings, then exit
315 -q, --quiet do not print progress messages
316 -d, --debug don't remove temporary files
317 --recheck update $as_me by reconfiguring in the same conditions
318 --file=FILE[:TEMPLATE]
319 instantiate the configuration file FILE
320 --header=FILE[:TEMPLATE]
321 instantiate the configuration header FILE
322
323 Configuration files:
324 $config_files
325
326 Configuration headers:
327 $config_headers
328
329 Configuration commands:
330 $config_commands
331
332 Report bugs to <bug-autoconf@gnu.org>."
333
334 ac_cs_version="\
335 config.status
336 configured by ./configure, generated by GNU Autoconf 2.61,
337 with options \"\"
338
339 Copyright (C) 2006 Free Software Foundation, Inc.
340 This config.status script is free software; the Free Software Foundation
341 gives unlimited permission to copy, distribute and modify it."
342
343 ac_pwd='/home/wolff/mtr-0.76'
344 srcdir='.'
345 INSTALL='/usr/bin/install -c'
346 # If no file are specified by the user, then we need to provide default
347 # value. By we need to know if files were specified by the user.
348 ac_need_defaults=:
349 while test $# != 0
350 do
351 case $1 in
352 --*=*)
353 ac_option=`expr "X$1" : 'X\([^=]*\)='`
354 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
355 ac_shift=:
356 ;;
357 *)
358 ac_option=$1
359 ac_optarg=$2
360 ac_shift=shift
361 ;;
362 esac
363
364 case $ac_option in
365 # Handling of the options.
366 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
367 ac_cs_recheck=: ;;
368 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
369 echo "$ac_cs_version"; exit ;;
370 --debug | --debu | --deb | --de | --d | -d )
371 debug=: ;;
372 --file | --fil | --fi | --f )
373 $ac_shift
374 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
375 ac_need_defaults=false;;
376 --header | --heade | --head | --hea )
377 $ac_shift
378 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
379 ac_need_defaults=false;;
380 --he | --h)
381 # Conflict between --help and --header
382 { echo "$as_me: error: ambiguous option: $1
383 Try \`$0 --help' for more information." >&2
384 { (exit 1); exit 1; }; };;
385 --help | --hel | -h )
386 echo "$ac_cs_usage"; exit ;;
387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
388 | -silent | --silent | --silen | --sile | --sil | --si | --s)
389 ac_cs_silent=: ;;
390
391 # This is an error.
392 -*) { echo "$as_me: error: unrecognized option: $1
393 Try \`$0 --help' for more information." >&2
394 { (exit 1); exit 1; }; } ;;
395
396 *) ac_config_targets="$ac_config_targets $1"
397 ac_need_defaults=false ;;
398
399 esac
400 shift
401 done
402
403 ac_configure_extra_args=
404
405 if $ac_cs_silent; then
406 exec 6>/dev/null
407 ac_configure_extra_args="$ac_configure_extra_args --silent"
408 fi
409
410 if $ac_cs_recheck; then
411 echo "running CONFIG_SHELL=/bin/sh /bin/sh ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6
412 CONFIG_SHELL=/bin/sh
413 export CONFIG_SHELL
414 exec /bin/sh "./configure" $ac_configure_extra_args --no-create --no-recursion
415 fi
416
417 exec 5>>config.log
418 {
419 echo
420 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
421 ## Running $as_me. ##
422 _ASBOX
423 echo "$ac_log"
424 } >&5
425
426 #
427 # INIT-COMMANDS
428 #
429 AMDEP_TRUE="" ac_aux_dir="."
430
431
432 # Handling of arguments.
433 for ac_config_target in $ac_config_targets
434 do
435 case $ac_config_target in
436 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
437 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
438 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
439 "img/Makefile") CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
440
441 *) { { echo "$as_me:442: error: invalid argument: $ac_config_target" >&5
442 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
443 { (exit 1); exit 1; }; };;
444 esac
445 done
446
447
448 # If the user did not use the arguments to specify the items to instantiate,
449 # then the envvar interface is used. Set only those that are not.
450 # We use the long form for the default assignment because of an extremely
451 # bizarre bug on SunOS 4.1.3.
452 if $ac_need_defaults; then
453 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
454 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
455 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
456 fi
457
458 # Have a temporary directory for convenience. Make it in the build tree
459 # simply because there is no reason against having it here, and in addition,
460 # creating and moving files from /tmp can sometimes cause problems.
461 # Hook for its removal unless debugging.
462 # Note that there is a small window in which the directory will not be cleaned:
463 # after its creation but before its name has been assigned to `$tmp'.
464 $debug ||
465 {
466 tmp=
467 trap 'exit_status=$?
468 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
469 ' 0
470 trap '{ (exit 1); exit 1; }' 1 2 13 15
471 }
472 # Create a (secure) tmp directory for tmp files.
473
474 {
475 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
476 test -n "$tmp" && test -d "$tmp"
477 } ||
478 {
479 tmp=./conf$$-$RANDOM
480 (umask 077 && mkdir "$tmp")
481 } ||
482 {
483 echo "$me: cannot create a temporary directory in ." >&2
484 { (exit 1); exit 1; }
485 }
486
487 #
488 # Set up the sed scripts for CONFIG_FILES section.
489 #
490
491 # No need to generate the scripts if there are no CONFIG_FILES.
492 # This happens for instance when ./config.status config.h
493 if test -n "$CONFIG_FILES"; then
494
495 cat >"$tmp/subs-1.sed" <<\CEOF
496 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
497 s,@SHELL@,|#_!!_#|/bin/sh,g
498 s,@PATH_SEPARATOR@,|#_!!_#|:,g
499 s,@PACKAGE_NAME@,|#_!!_#|,g
500 s,@PACKAGE_TARNAME@,|#_!!_#|,g
501 s,@PACKAGE_VERSION@,|#_!!_#|,g
502 s,@PACKAGE_STRING@,|#_!!_#|,g
503 s,@PACKAGE_BUGREPORT@,|#_!!_#|,g
504 s,@exec_prefix@,|#_!!_#|${prefix},g
505 s,@prefix@,|#_!!_#|/usr/local,g
506 s,@program_transform_name@,|#_!!_#|s\,x\,x\,,g
507 s,@bindir@,|#_!!_#|${exec_prefix}/bin,g
508 s,@sbindir@,|#_!!_#|${exec_prefix}/sbin,g
509 s,@libexecdir@,|#_!!_#|${exec_prefix}/libexec,g
510 s,@datarootdir@,|#_!!_#|${prefix}/share,g
511 s,@datadir@,|#_!!_#|${datarootdir},g
512 s,@sysconfdir@,|#_!!_#|${prefix}/etc,g
513 s,@sharedstatedir@,|#_!!_#|${prefix}/com,g
514 s,@localstatedir@,|#_!!_#|${prefix}/var,g
515 s,@includedir@,|#_!!_#|${prefix}/include,g
516 s,@oldincludedir@,|#_!!_#|/usr/include,g
517 s,@docdir@,|#_!!_#|${datarootdir}/doc/${PACKAGE},g
518 s,@infodir@,|#_!!_#|${datarootdir}/info,g
519 s,@htmldir@,|#_!!_#|${docdir},g
520 s,@dvidir@,|#_!!_#|${docdir},g
521 s,@pdfdir@,|#_!!_#|${docdir},g
522 s,@psdir@,|#_!!_#|${docdir},g
523 s,@libdir@,|#_!!_#|${exec_prefix}/lib,g
524 s,@localedir@,|#_!!_#|${datarootdir}/locale,g
525 s,@mandir@,|#_!!_#|${datarootdir}/man,g
526 s,@DEFS@,|#_!!_#|-DHAVE_CONFIG_H,g
527 s,@ECHO_C@,|#_!!_#|,g
528 s,@ECHO_N@,|#_!!_#|-n,g
529 s,@ECHO_T@,|#_!!_#|,g
530 s,@LIBS@,|#_!!_#|-lresolv -lm -ltermcap -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm,g
531 s,@build_alias@,|#_!!_#|,g
532 s,@host_alias@,|#_!!_#|,g
533 s,@target_alias@,|#_!!_#|,g
534 s,@INSTALL_PROGRAM@,|#_!!_#|${INSTALL},g
535 s,@INSTALL_SCRIPT@,|#_!!_#|${INSTALL},g
536 s,@INSTALL_DATA@,|#_!!_#|${INSTALL} -m 644,g
537 s,@CYGPATH_W@,|#_!!_#|echo,g
538 s,@PACKAGE@,|#_!!_#|mtr,g
539 s,@VERSION@,|#_!!_#|0.76,g
540 s,@ACLOCAL@,|#_!!_#|${SHELL} /home/wolff/mtr-0.76/missing --run aclocal-1.9,g
541 s,@AUTOCONF@,|#_!!_#|${SHELL} /home/wolff/mtr-0.76/missing --run autoconf,g
542 s,@AUTOMAKE@,|#_!!_#|${SHELL} /home/wolff/mtr-0.76/missing --run automake-1.9,g
543 s,@AUTOHEADER@,|#_!!_#|${SHELL} /home/wolff/mtr-0.76/missing --run autoheader,g
544 s,@MAKEINFO@,|#_!!_#|${SHELL} /home/wolff/mtr-0.76/missing --run makeinfo,g
545 s,@install_sh@,|#_!!_#|/home/wolff/mtr-0.76/install-sh,g
546 s,@STRIP@,|#_!!_#|,g
547 s,@INSTALL_STRIP_PROGRAM@,|#_!!_#|${SHELL} $(install_sh) -c -s,g
548 s,@mkdir_p@,|#_!!_#|mkdir -p --,g
549 s,@AWK@,|#_!!_#|gawk,g
550 s,@SET_MAKE@,|#_!!_#|,g
551 s,@am__leading_dot@,|#_!!_#|.,g
552 s,@AMTAR@,|#_!!_#|${SHELL} /home/wolff/mtr-0.76/missing --run tar,g
553 s,@am__tar@,|#_!!_#|${AMTAR} chof - "$$tardir",g
554 s,@am__untar@,|#_!!_#|${AMTAR} xf -,g
555 s,@GTK_OBJ@,|#_!!_#|gtk.o,g
556 s,@CURSES_OBJ@,|#_!!_#|curses.o,g
557 s,@CC@,|#_!!_#|gcc,g
558 s,@CFLAGS@,|#_!!_#|-g -O2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -Wall -Wno-pointer-sign,g
559 s,@LDFLAGS@,|#_!!_#|,g
560 s,@CPPFLAGS@,|#_!!_#|,g
561 s,@ac_ct_CC@,|#_!!_#|gcc,g
562 s,@EXEEXT@,|#_!!_#|,g
563 s,@OBJEXT@,|#_!!_#|o,g
564 s,@DEPDIR@,|#_!!_#|.deps,g
565 s,@am__include@,|#_!!_#|include,g
566 s,@am__quote@,|#_!!_#|,g
567 s,@AMDEP_TRUE@,|#_!!_#|,g
568 s,@AMDEP_FALSE@,|#_!!_#|#,g
569 s,@AMDEPBACKSLASH@,|#_!!_#|\\,g
570 s,@CCDEPMODE@,|#_!!_#|depmode=gcc3,g
571 s,@am__fastdepCC_TRUE@,|#_!!_#|,g
572 s,@am__fastdepCC_FALSE@,|#_!!_#|#,g
573 s,@CPP@,|#_!!_#|gcc -E,g
574 s,@GREP@,|#_!!_#|/bin/grep,g
575 s,@EGREP@,|#_!!_#|/bin/grep -E,g
576 s,@PKG_CONFIG@,|#_!!_#|/usr/bin/pkg-config,g
577 s,@GTK_CFLAGS@,|#_!!_#|-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 ,g
578 s,@GTK_LIBS@,|#_!!_#|-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ,g
579 s,@LIBOBJS@,|#_!!_#|,g
580 s,@LTLIBOBJS@,|#_!!_#|,g
581 :end
582 s/|#_!!_#|//g
583 CEOF
584 fi # test -n "$CONFIG_FILES"
585
586
587 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
588 do
589 case $ac_tag in
590 :[FHLC]) ac_mode=$ac_tag; continue;;
591 esac
592 case $ac_mode$ac_tag in
593 :[FHL]*:*);;
594 :L* | :C*:*) { { echo "$as_me:595: error: Invalid tag $ac_tag." >&5
595 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
596 { (exit 1); exit 1; }; };;
597 :[FH]-) ac_tag=-:-;;
598 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
599 esac
600 ac_save_IFS=$IFS
601 IFS=:
602 set x $ac_tag
603 IFS=$ac_save_IFS
604 shift
605 ac_file=$1
606 shift
607
608 case $ac_mode in
609 :L) ac_source=$1;;
610 :[FH])
611 ac_file_inputs=
612 for ac_f
613 do
614 case $ac_f in
615 -) ac_f="$tmp/stdin";;
616 *) # Look for the file first in the build tree, then in the source tree
617 # (if the path is not absolute). The absolute path cannot be DOS-style,
618 # because $ac_f cannot contain `:'.
619 test -f "$ac_f" ||
620 case $ac_f in
621 [\\/$]*) false;;
622 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
623 esac ||
624 { { echo "$as_me:625: error: cannot find input file: $ac_f" >&5
625 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
626 { (exit 1); exit 1; }; };;
627 esac
628 ac_file_inputs="$ac_file_inputs $ac_f"
629 done
630
631 # Let's still pretend it is `configure' which instantiates (i.e., don't
632 # use $as_me), people would be surprised to read:
633 # /* config.h. Generated by config.status. */
634 configure_input="Generated from "`IFS=:
635 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
636 if test x"$ac_file" != x-; then
637 configure_input="$ac_file. $configure_input"
638 { echo "$as_me:639: creating $ac_file" >&5
639 echo "$as_me: creating $ac_file" >&6;}
640 fi
641
642 case $ac_tag in
643 *:-:* | *:-) cat >"$tmp/stdin";;
644 esac
645 ;;
646 esac
647
648 ac_dir=`$as_dirname -- "$ac_file" ||
649 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
650 X"$ac_file" : 'X\(//\)[^/]' \| \
651 X"$ac_file" : 'X\(//\)$' \| \
652 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
653 echo X"$ac_file" |
654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
655 s//\1/
656 q
657 }
658 /^X\(\/\/\)[^/].*/{
659 s//\1/
660 q
661 }
662 /^X\(\/\/\)$/{
663 s//\1/
664 q
665 }
666 /^X\(\/\).*/{
667 s//\1/
668 q
669 }
670 s/.*/./; q'`
671 { as_dir="$ac_dir"
672 case $as_dir in #(
673 -*) as_dir=./$as_dir;;
674 esac
675 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
676 as_dirs=
677 while :; do
678 case $as_dir in #(
679 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
680 *) as_qdir=$as_dir;;
681 esac
682 as_dirs="'$as_qdir' $as_dirs"
683 as_dir=`$as_dirname -- "$as_dir" ||
684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
685 X"$as_dir" : 'X\(//\)[^/]' \| \
686 X"$as_dir" : 'X\(//\)$' \| \
687 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
688 echo X"$as_dir" |
689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
690 s//\1/
691 q
692 }
693 /^X\(\/\/\)[^/].*/{
694 s//\1/
695 q
696 }
697 /^X\(\/\/\)$/{
698 s//\1/
699 q
700 }
701 /^X\(\/\).*/{
702 s//\1/
703 q
704 }
705 s/.*/./; q'`
706 test -d "$as_dir" && break
707 done
708 test -z "$as_dirs" || eval "mkdir $as_dirs"
709 } || test -d "$as_dir" || { { echo "$as_me:710: error: cannot create directory $as_dir" >&5
710 echo "$as_me: error: cannot create directory $as_dir" >&2;}
711 { (exit 1); exit 1; }; }; }
712 ac_builddir=.
713
714 case "$ac_dir" in
715 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
716 *)
717 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
718 # A ".." for each directory in $ac_dir_suffix.
719 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
720 case $ac_top_builddir_sub in
721 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
722 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
723 esac ;;
724 esac
725 ac_abs_top_builddir=$ac_pwd
726 ac_abs_builddir=$ac_pwd$ac_dir_suffix
727 # for backward compatibility:
728 ac_top_builddir=$ac_top_build_prefix
729
730 case $srcdir in
731 .) # We are building in place.
732 ac_srcdir=.
733 ac_top_srcdir=$ac_top_builddir_sub
734 ac_abs_top_srcdir=$ac_pwd ;;
735 [\\/]* | ?:[\\/]* ) # Absolute name.
736 ac_srcdir=$srcdir$ac_dir_suffix;
737 ac_top_srcdir=$srcdir
738 ac_abs_top_srcdir=$srcdir ;;
739 *) # Relative name.
740 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
741 ac_top_srcdir=$ac_top_build_prefix$srcdir
742 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
743 esac
744 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
745
746
747 case $ac_mode in
748 :F)
749 #
750 # CONFIG_FILE
751 #
752
753 case $INSTALL in
754 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
755 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
756 esac
757 # If the template does not know about datarootdir, expand it.
758 # FIXME: This hack should be removed a few years after 2.60.
759 ac_datarootdir_hack=; ac_datarootdir_seen=
760
761 case `sed -n '/datarootdir/ {
762 p
763 q
764 }
765 /@datadir@/p
766 /@docdir@/p
767 /@infodir@/p
768 /@localedir@/p
769 /@mandir@/p
770 ' $ac_file_inputs` in
771 *datarootdir*) ac_datarootdir_seen=yes;;
772 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
773 { echo "$as_me:774: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
774 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
775 ac_datarootdir_hack='
776 s&@datadir@&${datarootdir}&g
777 s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
778 s&@infodir@&${datarootdir}/info&g
779 s&@localedir@&${datarootdir}/locale&g
780 s&@mandir@&${datarootdir}/man&g
781 s&\${datarootdir}&${prefix}/share&g' ;;
782 esac
783 sed "/^[ ]*VPATH[ ]*=/{
784 s/:*\$(srcdir):*/:/
785 s/:*\${srcdir}:*/:/
786 s/:*@srcdir@:*/:/
787 s/^\([^=]*=[ ]*\):*/\1/
788 s/:*$//
789 s/^[^=]*=[ ]*$//
790 }
791
792 :t
793 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
794 s&@configure_input@&$configure_input&;t t
795 s&@top_builddir@&$ac_top_builddir_sub&;t t
796 s&@srcdir@&$ac_srcdir&;t t
797 s&@abs_srcdir@&$ac_abs_srcdir&;t t
798 s&@top_srcdir@&$ac_top_srcdir&;t t
799 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
800 s&@builddir@&$ac_builddir&;t t
801 s&@abs_builddir@&$ac_abs_builddir&;t t
802 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
803 s&@INSTALL@&$ac_INSTALL&;t t
804 $ac_datarootdir_hack
805 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
806
807 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
808 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
809 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
810 { echo "$as_me:811: WARNING: $ac_file contains a reference to the variable \`datarootdir'
811 which seems to be undefined. Please make sure it is defined." >&5
812 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
813 which seems to be undefined. Please make sure it is defined." >&2;}
814
815 rm -f "$tmp/stdin"
816 case $ac_file in
817 -) cat "$tmp/out"; rm -f "$tmp/out";;
818 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
819 esac
820 ;;
821 :H)
822 #
823 # CONFIG_HEADER
824 #
825 # First, check the format of the line:
826 cat >"$tmp/defines.sed" <<\CEOF
827 /^[ ]*#[ ]*undef[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[ ]*$/b def
828 /^[ ]*#[ ]*define[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[( ]/b def
829 b
830 :def
831 s/$/ /
832 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_NAME\)[ (].*,\1define\2 "" ,
833 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_TARNAME\)[ (].*,\1define\2 "" ,
834 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_VERSION\)[ (].*,\1define\2 "" ,
835 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_STRING\)[ (].*,\1define\2 "" ,
836 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_BUGREPORT\)[ (].*,\1define\2 "" ,
837 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE\)[ (].*,\1define\2 "mtr" ,
838 s,^\([ #]*\)[^ ]*\([ ]*VERSION\)[ (].*,\1define\2 "0.76" ,
839 s,^\([ #]*\)[^ ]*\([ ]*STDC_HEADERS\)[ (].*,\1define\2 1 ,
840 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_TYPES_H\)[ (].*,\1define\2 1 ,
841 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_STAT_H\)[ (].*,\1define\2 1 ,
842 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDLIB_H\)[ (].*,\1define\2 1 ,
843 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRING_H\)[ (].*,\1define\2 1 ,
844 s,^\([ #]*\)[^ ]*\([ ]*HAVE_MEMORY_H\)[ (].*,\1define\2 1 ,
845 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRINGS_H\)[ (].*,\1define\2 1 ,
846 s,^\([ #]*\)[^ ]*\([ ]*HAVE_INTTYPES_H\)[ (].*,\1define\2 1 ,
847 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDINT_H\)[ (].*,\1define\2 1 ,
848 s,^\([ #]*\)[^ ]*\([ ]*HAVE_UNISTD_H\)[ (].*,\1define\2 1 ,
849 s,^\([ #]*\)[^ ]*\([ ]*SIZEOF_UNSIGNED_CHAR\)[ (].*,\1define\2 1 ,
850 s,^\([ #]*\)[^ ]*\([ ]*SIZEOF_UNSIGNED_SHORT\)[ (].*,\1define\2 2 ,
851 s,^\([ #]*\)[^ ]*\([ ]*SIZEOF_UNSIGNED_INT\)[ (].*,\1define\2 4 ,
852 s,^\([ #]*\)[^ ]*\([ ]*SIZEOF_UNSIGNED_LONG\)[ (].*,\1define\2 4 ,
853 s,^\([ #]*\)[^ ]*\([ ]*HAVE_NCURSES_H\)[ (].*,\1define\2 1 ,
854 s,^\([ #]*\)[^ ]*\([ ]*HAVE_CURSES_H\)[ (].*,\1define\2 1 ,
855 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_TYPES_H\)[ (].*,\1define\2 1 ,
856 s,^\([ #]*\)[^ ]*\([ ]*HAVE_FCNTL_H\)[ (].*,\1define\2 1 ,
857 s,^\([ #]*\)[^ ]*\([ ]*HAVE_LIBTERMCAP\)[ (].*,\1define\2 1 ,
858 s,^\([ #]*\)[^ ]*\([ ]*HAVE_ATTRON\)[ (].*,\1define\2 1 ,
859 s,^\([ #]*\)[^ ]*\([ ]*HAVE_FCNTL\)[ (].*,\1define\2 1 ,
860 s,^\([ #]*\)[^ ]*\([ ]*HAVE_LIBM\)[ (].*,\1define\2 1 ,
861 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SETEUID\)[ (].*,\1define\2 1 ,
862 s,^\([ #]*\)[^ ]*\([ ]*HAVE_LIBRESOLV\)[ (].*,\1define\2 1 ,
863 s,^\([ #]*\)[^ ]*\([ ]*ENABLE_IPV6\)[ (].*,\1define\2 ,
864 s,^\([ #]*\)[^ ]*\([ ]*HAVE_DECL_ERRNO\)[ (].*,\1define\2 1 ,
865 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SOCKLEN_T\)[ (].*,\1define\2 ,
866 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRUCT_INADDR\)[ (].*,\1define\2 ,
867 s/ $//
868 s,^[ #]*u.*,/* & */,
869 CEOF
870 sed -f "$tmp/defines.sed" $ac_file_inputs >"$tmp/out1"
871 ac_result="$tmp/out1"
872 if test x"$ac_file" != x-; then
873 echo "/* $configure_input */" >"$tmp/config.h"
874 cat "$ac_result" >>"$tmp/config.h"
875 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
876 { echo "$as_me:877: $ac_file is unchanged" >&5
877 echo "$as_me: $ac_file is unchanged" >&6;}
878 else
879 rm -f $ac_file
880 mv "$tmp/config.h" $ac_file
881 fi
882 else
883 echo "/* $configure_input */"
884 cat "$ac_result"
885 fi
886 rm -f "$tmp/out12"
887 # Compute $ac_file's index in $config_headers.
888 _am_stamp_count=1
889 for _am_header in $config_headers :; do
890 case $_am_header in
891 $ac_file | $ac_file:* )
892 break ;;
893 * )
894 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
895 esac
896 done
897 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
898 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
899 X$ac_file : 'X\(//\)[^/]' \| \
900 X$ac_file : 'X\(//\)$' \| \
901 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
902 echo X$ac_file |
903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
904 s//\1/
905 q
906 }
907 /^X\(\/\/\)[^/].*/{
908 s//\1/
909 q
910 }
911 /^X\(\/\/\)$/{
912 s//\1/
913 q
914 }
915 /^X\(\/\).*/{
916 s//\1/
917 q
918 }
919 s/.*/./; q'`/stamp-h$_am_stamp_count
920 ;;
921
922 :C) { echo "$as_me:923: executing $ac_file commands" >&5
923 echo "$as_me: executing $ac_file commands" >&6;}
924 ;;
925 esac
926
927
928 case $ac_file$ac_mode in
929 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
930 # Strip MF so we end up with the name of the file.
931 mf=`echo "$mf" | sed -e 's/:.*$//'`
932 # Check whether this is an Automake generated Makefile or not.
933 # We used to match only the files named `Makefile.in', but
934 # some people rename them; so instead we look at the file content.
935 # Grep'ing the first line is not enough: some people post-process
936 # each Makefile.in and add a new line on top of each file to say so.
937 # So let's grep whole file.
938 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
939 dirpart=`$as_dirname -- "$mf" ||
940 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
941 X"$mf" : 'X\(//\)[^/]' \| \
942 X"$mf" : 'X\(//\)$' \| \
943 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
944 echo X"$mf" |
945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
946 s//\1/
947 q
948 }
949 /^X\(\/\/\)[^/].*/{
950 s//\1/
951 q
952 }
953 /^X\(\/\/\)$/{
954 s//\1/
955 q
956 }
957 /^X\(\/\).*/{
958 s//\1/
959 q
960 }
961 s/.*/./; q'`
962 else
963 continue
964 fi
965 # Extract the definition of DEPDIR, am__include, and am__quote
966 # from the Makefile without running `make'.
967 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
968 test -z "$DEPDIR" && continue
969 am__include=`sed -n 's/^am__include = //p' < "$mf"`
970 test -z "am__include" && continue
971 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
972 # When using ansi2knr, U may be empty or an underscore; expand it
973 U=`sed -n 's/^U = //p' < "$mf"`
974 # Find all dependency output files, they are included files with
975 # $(DEPDIR) in their names. We invoke sed twice because it is the
976 # simplest approach to changing $(DEPDIR) to its actual value in the
977 # expansion.
978 for file in `sed -n "
979 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
980 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
981 # Make sure the directory exists.
982 test -f "$dirpart/$file" && continue
983 fdir=`$as_dirname -- "$file" ||
984 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
985 X"$file" : 'X\(//\)[^/]' \| \
986 X"$file" : 'X\(//\)$' \| \
987 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
988 echo X"$file" |
989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
990 s//\1/
991 q
992 }
993 /^X\(\/\/\)[^/].*/{
994 s//\1/
995 q
996 }
997 /^X\(\/\/\)$/{
998 s//\1/
999 q
1000 }
1001 /^X\(\/\).*/{
1002 s//\1/
1003 q
1004 }
1005 s/.*/./; q'`
1006 { as_dir=$dirpart/$fdir
1007 case $as_dir in #(
1008 -*) as_dir=./$as_dir;;
1009 esac
1010 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1011 as_dirs=
1012 while :; do
1013 case $as_dir in #(
1014 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
1015 *) as_qdir=$as_dir;;
1016 esac
1017 as_dirs="'$as_qdir' $as_dirs"
1018 as_dir=`$as_dirname -- "$as_dir" ||
1019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1020 X"$as_dir" : 'X\(//\)[^/]' \| \
1021 X"$as_dir" : 'X\(//\)$' \| \
1022 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1023 echo X"$as_dir" |
1024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1025 s//\1/
1026 q
1027 }
1028 /^X\(\/\/\)[^/].*/{
1029 s//\1/
1030 q
1031 }
1032 /^X\(\/\/\)$/{
1033 s//\1/
1034 q
1035 }
1036 /^X\(\/\).*/{
1037 s//\1/
1038 q
1039 }
1040 s/.*/./; q'`
1041 test -d "$as_dir" && break
1042 done
1043 test -z "$as_dirs" || eval "mkdir $as_dirs"
1044 } || test -d "$as_dir" || { { echo "$as_me:1045: error: cannot create directory $as_dir" >&5
1045 echo "$as_me: error: cannot create directory $as_dir" >&2;}
1046 { (exit 1); exit 1; }; }; }
1047 # echo "creating $dirpart/$file"
1048 echo '# dummy' > "$dirpart/$file"
1049 done
1050 done
1051 ;;
1052
1053 esac
1054 done # for ac_tag
1055
1056
1057 { (exit 0); exit 0; }
+3395
-5983
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.61.
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 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=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1822 # is contrary to our usage. Disable this feature.
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
34
35 as_nl='
36 '
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
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
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
3872
3973 # The user is always right.
4074 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
43 chmod +x conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45 PATH_SEPARATOR=';'
46 else
47 PATH_SEPARATOR=:
48 fi
49 rm -f conf$$.sh
50 fi
51
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54 as_unset=unset
55 else
56 as_unset=false
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
5780 fi
5881
5982
6285 # there to prevent editors from complaining about space-tab.
6386 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6487 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
6788 IFS=" "" $as_nl"
6889
6990 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
91 case $0 in #((
7192 *[\\/]* ) as_myself=$0 ;;
7293 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 for as_dir in $PATH
7495 do
7596 IFS=$as_save_IFS
7697 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
79100 IFS=$as_save_IFS
80101
81102 ;;
86107 as_myself=$0
87108 fi
88109 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
96121 done
97122 PS1='$ '
98123 PS2='> '
99124 PS4='+ '
100125
101126 # NLS nuisances.
102 for as_var in \
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 LC_TELEPHONE LC_TIME
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
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
106185 do
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
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."
109229 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
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."
111234 fi
112 done
113
114 # Required to use basename.
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
115374 if expr a : '\(a\)' >/dev/null 2>&1 &&
116375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117376 as_expr=expr
125384 as_basename=false
126385 fi
127386
128
129 # 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
130393 as_me=`$as_basename -- "$0" ||
131394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132395 X"$0" : 'X\(//\)$' \| \
133396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
397 $as_echo X/"$0" |
135398 sed '/^.*\/\([^/][^/]*\)\/*$/{
136399 s//\1/
137400 q
146409 }
147410 s/.*/./; q'`
148411
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
158 fi
159
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
163 }
164 as_func_success () {
165 as_func_return 0
166 }
167 as_func_failure () {
168 as_func_return 1
169 }
170 as_func_ret_success () {
171 return 0
172 }
173 as_func_ret_failure () {
174 return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179 :
180 else
181 exitcode=1
182 echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191 :
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 :
204 else
205 exitcode=1
206 echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217 :
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 case $as_dir in
226 /*)
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
233
234
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in
248 *posix*) set -o posix ;;
249 esac
250
251 fi
252
253
254 :
255 _ASEOF
256 }; then
257 CONFIG_SHELL=$as_shell
258 as_have_required=yes
259 if { "$as_shell" 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 (as_func_return () {
277 (exit $1)
278 }
279 as_func_success () {
280 as_func_return 0
281 }
282 as_func_failure () {
283 as_func_return 1
284 }
285 as_func_ret_success () {
286 return 0
287 }
288 as_func_ret_failure () {
289 return 1
290 }
291
292 exitcode=0
293 if as_func_success; then
294 :
295 else
296 exitcode=1
297 echo as_func_success failed.
298 fi
299
300 if as_func_failure; then
301 exitcode=1
302 echo as_func_failure succeeded.
303 fi
304
305 if as_func_ret_success; then
306 :
307 else
308 exitcode=1
309 echo as_func_ret_success failed.
310 fi
311
312 if as_func_ret_failure; then
313 exitcode=1
314 echo as_func_ret_failure succeeded.
315 fi
316
317 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 :
319 else
320 exitcode=1
321 echo positional parameters were not saved.
322 fi
323
324 test $exitcode = 0) || { (exit 1); exit 1; }
325
326 (
327 as_lineno_1=$LINENO
328 as_lineno_2=$LINENO
329 test "x$as_lineno_1" != "x$as_lineno_2" &&
330 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
331
332 _ASEOF
333 }; then
334 break
335 fi
336
337 fi
338
339 done
340
341 if test "x$CONFIG_SHELL" != x; then
342 for as_var in BASH_ENV ENV
343 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
344 done
345 export CONFIG_SHELL
346 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 fi
348
349
350 if test $as_have_required = no; then
351 echo This script requires a shell more modern than all the
352 echo shells that I found on your system. Please install a
353 echo modern shell, or manually run the script under such a
354 echo shell if you do have one.
355 { (exit 1); exit 1; }
356 fi
357
358
359 fi
360
361 fi
362
363
364
365 (eval "as_func_return () {
366 (exit \$1)
367 }
368 as_func_success () {
369 as_func_return 0
370 }
371 as_func_failure () {
372 as_func_return 1
373 }
374 as_func_ret_success () {
375 return 0
376 }
377 as_func_ret_failure () {
378 return 1
379 }
380
381 exitcode=0
382 if as_func_success; then
383 :
384 else
385 exitcode=1
386 echo as_func_success failed.
387 fi
388
389 if as_func_failure; then
390 exitcode=1
391 echo as_func_failure succeeded.
392 fi
393
394 if as_func_ret_success; then
395 :
396 else
397 exitcode=1
398 echo as_func_ret_success failed.
399 fi
400
401 if as_func_ret_failure; then
402 exitcode=1
403 echo as_func_ret_failure succeeded.
404 fi
405
406 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 :
408 else
409 exitcode=1
410 echo positional parameters were not saved.
411 fi
412
413 test \$exitcode = 0") || {
414 echo No shell found that supports shell functions.
415 echo Please tell autoconf@gnu.org about your system,
416 echo including any error possibly output before this
417 echo message
418 }
419
420
421
422 as_lineno_1=$LINENO
423 as_lineno_2=$LINENO
424 test "x$as_lineno_1" != "x$as_lineno_2" &&
425 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
426
427 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
428 # uniformly replaced by the line number. The first 'sed' inserts a
429 # line-number line after each line using $LINENO; the second 'sed'
430 # does the real work. The second script uses 'N' to pair each
431 # line-number line with the line containing $LINENO, and appends
432 # trailing '-' during substitution so that $LINENO is not a special
433 # case at line end.
434 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
435 # scripts with optimization help from Paolo Bonzini. Blame Lee
436 # 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. :-)
437425 sed -n '
438426 p
439427 /[$]LINENO/=
450438 s/-\n.*//
451439 ' >$as_me.lineno &&
452440 chmod +x "$as_me.lineno" ||
453 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
454 { (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; }
455442
456443 # Don't try to exec as it changes $[0], causing all sort of problems
457444 # (the dirname of $[0] is not the place where we might find the
461448 exit
462449 }
463450
464
465 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466 as_dirname=dirname
467 else
468 as_dirname=false
469 fi
470
471451 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in
452 case `echo -n x` in #(((((
473453 -n*)
474 case `echo 'x\c'` in
454 case `echo 'xy\c'` in
475455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 *) ECHO_C='\c';;
456 xy) ECHO_C='\c';;
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
458 ECHO_T=' ';;
477459 esac;;
478460 *)
479461 ECHO_N='-n';;
480462 esac
481463
482 if expr a : '\(a\)' >/dev/null 2>&1 &&
483 test "X`expr 00001 : '.*\(...\)'`" = X001; then
484 as_expr=expr
485 else
486 as_expr=false
487 fi
488
489464 rm -f conf$$ conf$$.exe conf$$.file
490465 if test -d conf$$.dir; then
491466 rm -f conf$$.dir/conf$$.file
492467 else
493468 rm -f conf$$.dir
494 mkdir conf$$.dir
495 fi
496 echo >conf$$.file
497 if ln -s conf$$.file conf$$ 2>/dev/null; then
498 as_ln_s='ln -s'
499 # ... but there are two gotchas:
500 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
501 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
502 # In both cases, we have to default to `cp -p'.
503 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
469 mkdir conf$$.dir 2>/dev/null
470 fi
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 as_ln_s='ln -s'
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 as_ln_s='cp -p'
480 elif ln conf$$.file conf$$ 2>/dev/null; then
481 as_ln_s=ln
482 else
504483 as_ln_s='cp -p'
505 elif ln conf$$.file conf$$ 2>/dev/null; then
506 as_ln_s=ln
484 fi
507485 else
508486 as_ln_s='cp -p'
509487 fi
511489 rmdir conf$$.dir 2>/dev/null
512490
513491 if mkdir -p . 2>/dev/null; then
514 as_mkdir_p=:
492 as_mkdir_p='mkdir -p "$as_dir"'
515493 else
516494 test -d ./-p && rmdir ./-p
517495 as_mkdir_p=false
528506 as_test_x='
529507 eval sh -c '\''
530508 if test -d "$1"; then
531 test -d "$1/.";
509 test -d "$1/.";
532510 else
533 case $1 in
534 -*)set "./$1";;
511 case $1 in #(
512 -*)set "./$1";;
535513 esac;
536 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 #((
537515 ???[sx]*):;;*)false;;esac;fi
538516 '\'' sh
539517 '
547525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548526
549527
550
551 exec 7<&0 </dev/null 6>&1
528 test -n "$DJDIR" || exec 7<&0 </dev/null
529 exec 6>&1
552530
553531 # Name of the host.
554532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
566544 subdirs=
567545 MFLAGS=
568546 MAKEFLAGS=
569 SHELL=${CONFIG_SHELL-/bin/sh}
570547
571548 # Identity of this package.
572549 PACKAGE_NAME=
574551 PACKAGE_VERSION=
575552 PACKAGE_STRING=
576553 PACKAGE_BUGREPORT=
554 PACKAGE_URL=
577555
578556 ac_unique_file="mtr.c"
579557 # Factoring default headers for most tests.
612590 # include <unistd.h>
613591 #endif"
614592
615 ac_subst_vars='SHELL
593 ac_subst_vars='am__EXEEXT_FALSE
594 am__EXEEXT_TRUE
595 LTLIBOBJS
596 LIBOBJS
597 GTK_LIBS
598 GTK_CFLAGS
599 PKG_CONFIG
600 EGREP
601 GREP
602 CPP
603 am__fastdepCC_FALSE
604 am__fastdepCC_TRUE
605 CCDEPMODE
606 AMDEPBACKSLASH
607 AMDEP_FALSE
608 AMDEP_TRUE
609 am__quote
610 am__include
611 DEPDIR
612 OBJEXT
613 EXEEXT
614 ac_ct_CC
615 CPPFLAGS
616 LDFLAGS
617 CFLAGS
618 CC
619 CURSES_OBJ
620 GTK_OBJ
621 am__untar
622 am__tar
623 AMTAR
624 am__leading_dot
625 SET_MAKE
626 AWK
627 mkdir_p
628 MKDIR_P
629 INSTALL_STRIP_PROGRAM
630 STRIP
631 install_sh
632 MAKEINFO
633 AUTOHEADER
634 AUTOMAKE
635 AUTOCONF
636 ACLOCAL
637 VERSION
638 PACKAGE
639 CYGPATH_W
640 am__isrc
641 INSTALL_DATA
642 INSTALL_SCRIPT
643 INSTALL_PROGRAM
644 target_alias
645 host_alias
646 build_alias
647 LIBS
648 ECHO_T
649 ECHO_N
650 ECHO_C
651 DEFS
652 mandir
653 localedir
654 libdir
655 psdir
656 pdfdir
657 dvidir
658 htmldir
659 infodir
660 docdir
661 oldincludedir
662 includedir
663 localstatedir
664 sharedstatedir
665 sysconfdir
666 datadir
667 datarootdir
668 libexecdir
669 sbindir
670 bindir
671 program_transform_name
672 prefix
673 exec_prefix
674 PACKAGE_URL
675 PACKAGE_BUGREPORT
676 PACKAGE_STRING
677 PACKAGE_VERSION
678 PACKAGE_TARNAME
679 PACKAGE_NAME
616680 PATH_SEPARATOR
617 PACKAGE_NAME
618 PACKAGE_TARNAME
619 PACKAGE_VERSION
620 PACKAGE_STRING
621 PACKAGE_BUGREPORT
622 exec_prefix
623 prefix
624 program_transform_name
625 bindir
626 sbindir
627 libexecdir
628 datarootdir
629 datadir
630 sysconfdir
631 sharedstatedir
632 localstatedir
633 includedir
634 oldincludedir
635 docdir
636 infodir
637 htmldir
638 dvidir
639 pdfdir
640 psdir
641 libdir
642 localedir
643 mandir
644 DEFS
645 ECHO_C
646 ECHO_N
647 ECHO_T
648 LIBS
649 build_alias
650 host_alias
651 target_alias
652 INSTALL_PROGRAM
653 INSTALL_SCRIPT
654 INSTALL_DATA
655 CYGPATH_W
656 PACKAGE
657 VERSION
658 ACLOCAL
659 AUTOCONF
660 AUTOMAKE
661 AUTOHEADER
662 MAKEINFO
663 install_sh
664 STRIP
665 INSTALL_STRIP_PROGRAM
666 mkdir_p
667 AWK
668 SET_MAKE
669 am__leading_dot
670 AMTAR
671 am__tar
672 am__untar
673 GTK_OBJ
674 CURSES_OBJ
675 CC
676 CFLAGS
677 LDFLAGS
678 CPPFLAGS
679 ac_ct_CC
680 EXEEXT
681 OBJEXT
682 DEPDIR
683 am__include
684 am__quote
685 AMDEP_TRUE
686 AMDEP_FALSE
687 AMDEPBACKSLASH
688 CCDEPMODE
689 am__fastdepCC_TRUE
690 am__fastdepCC_FALSE
691 CPP
692 GREP
693 EGREP
694 PKG_CONFIG
695 GTK_CFLAGS
696 GTK_LIBS
697 LIBOBJS
698 LTLIBOBJS'
681 SHELL'
699682 ac_subst_files=''
683 ac_user_opts='
684 enable_option_checking
685 enable_dependency_tracking
686 with_gtk
687 enable_ipv6
688 enable_gtktest
689 '
700690 ac_precious_vars='build_alias
701691 host_alias
702692 target_alias
711701 # Initialize some variables set by options.
712702 ac_init_help=
713703 ac_init_version=false
704 ac_unrecognized_opts=
705 ac_unrecognized_sep=
714706 # The variables have the same names as the options, with
715707 # dashes changed to underlines.
716708 cache_file=/dev/null
809801 datarootdir=$ac_optarg ;;
810802
811803 -disable-* | --disable-*)
812 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813805 # Reject names that are not valid shell variable names.
814 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
815 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
816 { (exit 1); exit 1; }; }
817 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
818 eval enable_$ac_feature=no ;;
806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
807 as_fn_error "invalid feature name: $ac_useropt"
808 ac_useropt_orig=$ac_useropt
809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
810 case $ac_user_opts in
811 *"
812 "enable_$ac_useropt"
813 "*) ;;
814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
815 ac_unrecognized_sep=', ';;
816 esac
817 eval enable_$ac_useropt=no ;;
819818
820819 -docdir | --docdir | --docdi | --doc | --do)
821820 ac_prev=docdir ;;
828827 dvidir=$ac_optarg ;;
829828
830829 -enable-* | --enable-*)
831 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
830 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832831 # Reject names that are not valid shell variable names.
833 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
834 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
835 { (exit 1); exit 1; }; }
836 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
837 eval enable_$ac_feature=\$ac_optarg ;;
832 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
833 as_fn_error "invalid feature name: $ac_useropt"
834 ac_useropt_orig=$ac_useropt
835 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
836 case $ac_user_opts in
837 *"
838 "enable_$ac_useropt"
839 "*) ;;
840 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
841 ac_unrecognized_sep=', ';;
842 esac
843 eval enable_$ac_useropt=\$ac_optarg ;;
838844
839845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
840846 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10251031 ac_init_version=: ;;
10261032
10271033 -with-* | --with-*)
1028 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1034 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10291035 # Reject names that are not valid shell variable names.
1030 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1031 { echo "$as_me: error: invalid package name: $ac_package" >&2
1032 { (exit 1); exit 1; }; }
1033 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1034 eval with_$ac_package=\$ac_optarg ;;
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037 as_fn_error "invalid package name: $ac_useropt"
1038 ac_useropt_orig=$ac_useropt
1039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1041 *"
1042 "with_$ac_useropt"
1043 "*) ;;
1044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1045 ac_unrecognized_sep=', ';;
1046 esac
1047 eval with_$ac_useropt=\$ac_optarg ;;
10351048
10361049 -without-* | --without-*)
1037 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1050 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10381051 # Reject names that are not valid shell variable names.
1039 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040 { echo "$as_me: error: invalid package name: $ac_package" >&2
1041 { (exit 1); exit 1; }; }
1042 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1043 eval with_$ac_package=no ;;
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053 as_fn_error "invalid package name: $ac_useropt"
1054 ac_useropt_orig=$ac_useropt
1055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1057 *"
1058 "with_$ac_useropt"
1059 "*) ;;
1060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1061 ac_unrecognized_sep=', ';;
1062 esac
1063 eval with_$ac_useropt=no ;;
10441064
10451065 --x)
10461066 # Obsolete; use --with-x.
10601080 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10611081 x_libraries=$ac_optarg ;;
10621082
1063 -*) { echo "$as_me: error: unrecognized option: $ac_option
1064 Try \`$0 --help' for more information." >&2
1065 { (exit 1); exit 1; }; }
1083 -*) as_fn_error "unrecognized option: \`$ac_option'
1084 Try \`$0 --help' for more information."
10661085 ;;
10671086
10681087 *=*)
10691088 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10701089 # Reject names that are not valid shell variable names.
1071 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1072 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1073 { (exit 1); exit 1; }; }
1090 case $ac_envvar in #(
1091 '' | [0-9]* | *[!_$as_cr_alnum]* )
1092 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1093 esac
10741094 eval $ac_envvar=\$ac_optarg
10751095 export $ac_envvar ;;
10761096
10771097 *)
10781098 # FIXME: should be removed in autoconf 3.0.
1079 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1099 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10801100 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1081 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1101 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
10821102 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
10831103 ;;
10841104
10871107
10881108 if test -n "$ac_prev"; then
10891109 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1090 { echo "$as_me: error: missing argument to $ac_option" >&2
1091 { (exit 1); exit 1; }; }
1092 fi
1093
1094 # Be sure to have absolute directory names.
1110 as_fn_error "missing argument to $ac_option"
1111 fi
1112
1113 if test -n "$ac_unrecognized_opts"; then
1114 case $enable_option_checking in
1115 no) ;;
1116 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1117 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1118 esac
1119 fi
1120
1121 # Check all directory arguments for consistency.
10951122 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
10961123 datadir sysconfdir sharedstatedir localstatedir includedir \
10971124 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
10981125 libdir localedir mandir
10991126 do
11001127 eval ac_val=\$$ac_var
1128 # Remove trailing slashes.
1129 case $ac_val in
1130 */ )
1131 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1132 eval $ac_var=\$ac_val;;
1133 esac
1134 # Be sure to have absolute directory names.
11011135 case $ac_val in
11021136 [\\/$]* | ?:[\\/]* ) continue;;
11031137 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11041138 esac
1105 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1106 { (exit 1); exit 1; }; }
1139 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
11071140 done
11081141
11091142 # There might be people who depend on the old broken behavior: `$host'
11171150 if test "x$host_alias" != x; then
11181151 if test "x$build_alias" = x; then
11191152 cross_compiling=maybe
1120 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1153 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
11211154 If a cross compiler is detected then cross compile mode will be used." >&2
11221155 elif test "x$build_alias" != "x$host_alias"; then
11231156 cross_compiling=yes
11331166 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11341167 ac_ls_di=`ls -di .` &&
11351168 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1136 { echo "$as_me: error: Working directory cannot be determined" >&2
1137 { (exit 1); exit 1; }; }
1169 as_fn_error "working directory cannot be determined"
11381170 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1139 { echo "$as_me: error: pwd does not report name of working directory" >&2
1140 { (exit 1); exit 1; }; }
1171 as_fn_error "pwd does not report name of working directory"
11411172
11421173
11431174 # Find the source files, if location was not specified.
11441175 if test -z "$srcdir"; then
11451176 ac_srcdir_defaulted=yes
11461177 # Try the directory containing this script, then the parent directory.
1147 ac_confdir=`$as_dirname -- "$0" ||
1148 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1149 X"$0" : 'X\(//\)[^/]' \| \
1150 X"$0" : 'X\(//\)$' \| \
1151 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1152 echo X"$0" |
1178 ac_confdir=`$as_dirname -- "$as_myself" ||
1179 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1180 X"$as_myself" : 'X\(//\)[^/]' \| \
1181 X"$as_myself" : 'X\(//\)$' \| \
1182 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1183 $as_echo X"$as_myself" |
11531184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11541185 s//\1/
11551186 q
11761207 fi
11771208 if test ! -r "$srcdir/$ac_unique_file"; then
11781209 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1179 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1180 { (exit 1); exit 1; }; }
1210 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
11811211 fi
11821212 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11831213 ac_abs_confdir=`(
1184 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1185 { (exit 1); exit 1; }; }
1214 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
11861215 pwd)`
11871216 # When building in place, set srcdir=.
11881217 if test "$ac_abs_confdir" = "$ac_pwd"; then
12301259
12311260 Installation directories:
12321261 --prefix=PREFIX install architecture-independent files in PREFIX
1233 [$ac_default_prefix]
1262 [$ac_default_prefix]
12341263 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1235 [PREFIX]
1264 [PREFIX]
12361265
12371266 By default, \`make install' will install all the files in
12381267 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12421271 For better control, use the options below.
12431272
12441273 Fine tuning of the installation directories:
1245 --bindir=DIR user executables [EPREFIX/bin]
1246 --sbindir=DIR system admin executables [EPREFIX/sbin]
1247 --libexecdir=DIR program executables [EPREFIX/libexec]
1248 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1249 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1250 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1251 --libdir=DIR object code libraries [EPREFIX/lib]
1252 --includedir=DIR C header files [PREFIX/include]
1253 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1254 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1255 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1256 --infodir=DIR info documentation [DATAROOTDIR/info]
1257 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1258 --mandir=DIR man documentation [DATAROOTDIR/man]
1259 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1260 --htmldir=DIR html documentation [DOCDIR]
1261 --dvidir=DIR dvi documentation [DOCDIR]
1262 --pdfdir=DIR pdf documentation [DOCDIR]
1263 --psdir=DIR ps documentation [DOCDIR]
1274 --bindir=DIR user executables [EPREFIX/bin]
1275 --sbindir=DIR system admin executables [EPREFIX/sbin]
1276 --libexecdir=DIR program executables [EPREFIX/libexec]
1277 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1278 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1279 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1280 --libdir=DIR object code libraries [EPREFIX/lib]
1281 --includedir=DIR C header files [PREFIX/include]
1282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1285 --infodir=DIR info documentation [DATAROOTDIR/info]
1286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1287 --mandir=DIR man documentation [DATAROOTDIR/man]
1288 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1289 --htmldir=DIR html documentation [DOCDIR]
1290 --dvidir=DIR dvi documentation [DOCDIR]
1291 --pdfdir=DIR pdf documentation [DOCDIR]
1292 --psdir=DIR ps documentation [DOCDIR]
12641293 _ACEOF
12651294
12661295 cat <<\_ACEOF
12771306 cat <<\_ACEOF
12781307
12791308 Optional Features:
1309 --disable-option-checking ignore unrecognized --enable/--with options
12801310 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
12811311 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
12821312 --disable-dependency-tracking speeds up one-time build
12951325 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
12961326 nonstandard directory <lib dir>
12971327 LIBS libraries to pass to the linker, e.g. -l<library>
1298 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1328 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
12991329 you have headers in a nonstandard directory <include dir>
13001330 CPP C preprocessor
13011331
13021332 Use these variables to override the choices made by `configure' or to help
13031333 it to find libraries and programs with nonstandard names/locations.
13041334
1335 Report bugs to the package provider.
13051336 _ACEOF
13061337 ac_status=$?
13071338 fi
13091340 if test "$ac_init_help" = "recursive"; then
13101341 # If there are subdirs, report their specific --help.
13111342 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1312 test -d "$ac_dir" || continue
1343 test -d "$ac_dir" ||
1344 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1345 continue
13131346 ac_builddir=.
13141347
13151348 case "$ac_dir" in
13161349 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13171350 *)
1318 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1351 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13191352 # A ".." for each directory in $ac_dir_suffix.
1320 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1353 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13211354 case $ac_top_builddir_sub in
13221355 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13231356 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13531386 echo &&
13541387 $SHELL "$ac_srcdir/configure" --help=recursive
13551388 else
1356 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1389 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13571390 fi || ac_status=$?
13581391 cd "$ac_pwd" || { ac_status=$?; break; }
13591392 done
13631396 if $ac_init_version; then
13641397 cat <<\_ACEOF
13651398 configure
1366 generated by GNU Autoconf 2.61
1367
1368 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1369 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1399 generated by GNU Autoconf 2.65
1400
1401 Copyright (C) 2009 Free Software Foundation, Inc.
13701402 This configure script is free software; the Free Software Foundation
13711403 gives unlimited permission to copy, distribute and modify it.
13721404 _ACEOF
13731405 exit
13741406 fi
1407
1408 ## ------------------------ ##
1409 ## Autoconf initialization. ##
1410 ## ------------------------ ##
1411
1412 # ac_fn_c_try_compile LINENO
1413 # --------------------------
1414 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1415 ac_fn_c_try_compile ()
1416 {
1417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1418 rm -f conftest.$ac_objext
1419 if { { ac_try="$ac_compile"
1420 case "(($ac_try" in
1421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1422 *) ac_try_echo=$ac_try;;
1423 esac
1424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1425 $as_echo "$ac_try_echo"; } >&5
1426 (eval "$ac_compile") 2>conftest.err
1427 ac_status=$?
1428 if test -s conftest.err; then
1429 grep -v '^ *+' conftest.err >conftest.er1
1430 cat conftest.er1 >&5
1431 mv -f conftest.er1 conftest.err
1432 fi
1433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1434 test $ac_status = 0; } && {
1435 test -z "$ac_c_werror_flag" ||
1436 test ! -s conftest.err
1437 } && test -s conftest.$ac_objext; then :
1438 ac_retval=0
1439 else
1440 $as_echo "$as_me: failed program was:" >&5
1441 sed 's/^/| /' conftest.$ac_ext >&5
1442
1443 ac_retval=1
1444 fi
1445 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1446 as_fn_set_status $ac_retval
1447
1448 } # ac_fn_c_try_compile
1449
1450 # ac_fn_c_try_run LINENO
1451 # ----------------------
1452 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1453 # that executables *can* be run.
1454 ac_fn_c_try_run ()
1455 {
1456 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1457 if { { ac_try="$ac_link"
1458 case "(($ac_try" in
1459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1460 *) ac_try_echo=$ac_try;;
1461 esac
1462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1463 $as_echo "$ac_try_echo"; } >&5
1464 (eval "$ac_link") 2>&5
1465 ac_status=$?
1466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1467 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1468 { { case "(($ac_try" in
1469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1470 *) ac_try_echo=$ac_try;;
1471 esac
1472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1473 $as_echo "$ac_try_echo"; } >&5
1474 (eval "$ac_try") 2>&5
1475 ac_status=$?
1476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1477 test $ac_status = 0; }; }; then :
1478 ac_retval=0
1479 else
1480 $as_echo "$as_me: program exited with status $ac_status" >&5
1481 $as_echo "$as_me: failed program was:" >&5
1482 sed 's/^/| /' conftest.$ac_ext >&5
1483
1484 ac_retval=$ac_status
1485 fi
1486 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1487 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1488 as_fn_set_status $ac_retval
1489
1490 } # ac_fn_c_try_run
1491
1492 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1493 # --------------------------------------------
1494 # Tries to find the compile-time value of EXPR in a program that includes
1495 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1496 # computed
1497 ac_fn_c_compute_int ()
1498 {
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 if test "$cross_compiling" = yes; then
1501 # Depending upon the size, compute the lo and hi bounds.
1502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1503 /* end confdefs.h. */
1504 $4
1505 int
1506 main ()
1507 {
1508 static int test_array [1 - 2 * !(($2) >= 0)];
1509 test_array [0] = 0
1510
1511 ;
1512 return 0;
1513 }
1514 _ACEOF
1515 if ac_fn_c_try_compile "$LINENO"; then :
1516 ac_lo=0 ac_mid=0
1517 while :; do
1518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1519 /* end confdefs.h. */
1520 $4
1521 int
1522 main ()
1523 {
1524 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1525 test_array [0] = 0
1526
1527 ;
1528 return 0;
1529 }
1530 _ACEOF
1531 if ac_fn_c_try_compile "$LINENO"; then :
1532 ac_hi=$ac_mid; break
1533 else
1534 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1535 if test $ac_lo -le $ac_mid; then
1536 ac_lo= ac_hi=
1537 break
1538 fi
1539 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1540 fi
1541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1542 done
1543 else
1544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1545 /* end confdefs.h. */
1546 $4
1547 int
1548 main ()
1549 {
1550 static int test_array [1 - 2 * !(($2) < 0)];
1551 test_array [0] = 0
1552
1553 ;
1554 return 0;
1555 }
1556 _ACEOF
1557 if ac_fn_c_try_compile "$LINENO"; then :
1558 ac_hi=-1 ac_mid=-1
1559 while :; do
1560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1561 /* end confdefs.h. */
1562 $4
1563 int
1564 main ()
1565 {
1566 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1567 test_array [0] = 0
1568
1569 ;
1570 return 0;
1571 }
1572 _ACEOF
1573 if ac_fn_c_try_compile "$LINENO"; then :
1574 ac_lo=$ac_mid; break
1575 else
1576 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1577 if test $ac_mid -le $ac_hi; then
1578 ac_lo= ac_hi=
1579 break
1580 fi
1581 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1582 fi
1583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1584 done
1585 else
1586 ac_lo= ac_hi=
1587 fi
1588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1589 fi
1590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1591 # Binary search between lo and hi bounds.
1592 while test "x$ac_lo" != "x$ac_hi"; do
1593 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1595 /* end confdefs.h. */
1596 $4
1597 int
1598 main ()
1599 {
1600 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1601 test_array [0] = 0
1602
1603 ;
1604 return 0;
1605 }
1606 _ACEOF
1607 if ac_fn_c_try_compile "$LINENO"; then :
1608 ac_hi=$ac_mid
1609 else
1610 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1611 fi
1612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1613 done
1614 case $ac_lo in #((
1615 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1616 '') ac_retval=1 ;;
1617 esac
1618 else
1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620 /* end confdefs.h. */
1621 $4
1622 static long int longval () { return $2; }
1623 static unsigned long int ulongval () { return $2; }
1624 #include <stdio.h>
1625 #include <stdlib.h>
1626 int
1627 main ()
1628 {
1629
1630 FILE *f = fopen ("conftest.val", "w");
1631 if (! f)
1632 return 1;
1633 if (($2) < 0)
1634 {
1635 long int i = longval ();
1636 if (i != ($2))
1637 return 1;
1638 fprintf (f, "%ld", i);
1639 }
1640 else
1641 {
1642 unsigned long int i = ulongval ();
1643 if (i != ($2))
1644 return 1;
1645 fprintf (f, "%lu", i);
1646 }
1647 /* Do not output a trailing newline, as this causes \r\n confusion
1648 on some platforms. */
1649 return ferror (f) || fclose (f) != 0;
1650
1651 ;
1652 return 0;
1653 }
1654 _ACEOF
1655 if ac_fn_c_try_run "$LINENO"; then :
1656 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1657 else
1658 ac_retval=1
1659 fi
1660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1661 conftest.$ac_objext conftest.beam conftest.$ac_ext
1662 rm -f conftest.val
1663
1664 fi
1665 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1666 as_fn_set_status $ac_retval
1667
1668 } # ac_fn_c_compute_int
1669
1670 # ac_fn_c_try_cpp LINENO
1671 # ----------------------
1672 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1673 ac_fn_c_try_cpp ()
1674 {
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 if { { ac_try="$ac_cpp conftest.$ac_ext"
1677 case "(($ac_try" in
1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1680 esac
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1684 ac_status=$?
1685 if test -s conftest.err; then
1686 grep -v '^ *+' conftest.err >conftest.er1
1687 cat conftest.er1 >&5
1688 mv -f conftest.er1 conftest.err
1689 fi
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } >/dev/null && {
1692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1693 test ! -s conftest.err
1694 }; then :
1695 ac_retval=0
1696 else
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1699
1700 ac_retval=1
1701 fi
1702 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703 as_fn_set_status $ac_retval
1704
1705 } # ac_fn_c_try_cpp
1706
1707 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1708 # -------------------------------------------------------
1709 # Tests whether HEADER exists and can be compiled using the include files in
1710 # INCLUDES, setting the cache variable VAR accordingly.
1711 ac_fn_c_check_header_compile ()
1712 {
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1717 $as_echo_n "(cached) " >&6
1718 else
1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h. */
1721 $4
1722 #include <$2>
1723 _ACEOF
1724 if ac_fn_c_try_compile "$LINENO"; then :
1725 eval "$3=yes"
1726 else
1727 eval "$3=no"
1728 fi
1729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1730 fi
1731 eval ac_res=\$$3
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1735
1736 } # ac_fn_c_check_header_compile
1737
1738 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1739 # -------------------------------------------------------
1740 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1741 # the include files in INCLUDES and setting the cache variable VAR
1742 # accordingly.
1743 ac_fn_c_check_header_mongrel ()
1744 {
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1750 $as_echo_n "(cached) " >&6
1751 fi
1752 eval ac_res=\$$3
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1755 else
1756 # Is the header compilable?
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1758 $as_echo_n "checking $2 usability... " >&6; }
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1761 $4
1762 #include <$2>
1763 _ACEOF
1764 if ac_fn_c_try_compile "$LINENO"; then :
1765 ac_header_compiler=yes
1766 else
1767 ac_header_compiler=no
1768 fi
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1771 $as_echo "$ac_header_compiler" >&6; }
1772
1773 # Is the header present?
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1775 $as_echo_n "checking $2 presence... " >&6; }
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1778 #include <$2>
1779 _ACEOF
1780 if ac_fn_c_try_cpp "$LINENO"; then :
1781 ac_header_preproc=yes
1782 else
1783 ac_header_preproc=no
1784 fi
1785 rm -f conftest.err conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1787 $as_echo "$ac_header_preproc" >&6; }
1788
1789 # So? What about this header?
1790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1791 yes:no: )
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1793 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1795 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1796 ;;
1797 no:yes:* )
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1799 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1801 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1803 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1805 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1807 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1808 ;;
1809 esac
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811 $as_echo_n "checking for $2... " >&6; }
1812 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1813 $as_echo_n "(cached) " >&6
1814 else
1815 eval "$3=\$ac_header_compiler"
1816 fi
1817 eval ac_res=\$$3
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820 fi
1821 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1822
1823 } # ac_fn_c_check_header_mongrel
1824
1825 # ac_fn_c_try_link LINENO
1826 # -----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_c_try_link ()
1829 {
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext conftest$ac_exeext
1832 if { { ac_try="$ac_link"
1833 case "(($ac_try" in
1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1836 esac
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>conftest.err
1840 ac_status=$?
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1845 fi
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_c_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest$ac_exeext && {
1851 test "$cross_compiling" = yes ||
1852 $as_test_x conftest$ac_exeext
1853 }; then :
1854 ac_retval=0
1855 else
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1858
1859 ac_retval=1
1860 fi
1861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863 # interfere with the next link command; also delete a directory that is
1864 # left behind by Apple's compiler. We do this before executing the actions.
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 as_fn_set_status $ac_retval
1868
1869 } # ac_fn_c_try_link
1870
1871 # ac_fn_c_check_func LINENO FUNC VAR
1872 # ----------------------------------
1873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1874 ac_fn_c_check_func ()
1875 {
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1880 $as_echo_n "(cached) " >&6
1881 else
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1887
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1892
1893 #ifdef __STDC__
1894 # include <limits.h>
1895 #else
1896 # include <assert.h>
1897 #endif
1898
1899 #undef $2
1900
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1904 #ifdef __cplusplus
1905 extern "C"
1906 #endif
1907 char $2 ();
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1912 choke me
1913 #endif
1914
1915 int
1916 main ()
1917 {
1918 return $2 ();
1919 ;
1920 return 0;
1921 }
1922 _ACEOF
1923 if ac_fn_c_try_link "$LINENO"; then :
1924 eval "$3=yes"
1925 else
1926 eval "$3=no"
1927 fi
1928 rm -f core conftest.err conftest.$ac_objext \
1929 conftest$ac_exeext conftest.$ac_ext
1930 fi
1931 eval ac_res=\$$3
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1935
1936 } # ac_fn_c_check_func
1937
1938 # ac_fn_c_check_decl LINENO SYMBOL VAR
1939 # ------------------------------------
1940 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1941 ac_fn_c_check_decl ()
1942 {
1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1945 $as_echo_n "checking whether $2 is declared... " >&6; }
1946 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1947 $as_echo_n "(cached) " >&6
1948 else
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1951 $4
1952 int
1953 main ()
1954 {
1955 #ifndef $2
1956 (void) $2;
1957 #endif
1958
1959 ;
1960 return 0;
1961 }
1962 _ACEOF
1963 if ac_fn_c_try_compile "$LINENO"; then :
1964 eval "$3=yes"
1965 else
1966 eval "$3=no"
1967 fi
1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1969 fi
1970 eval ac_res=\$$3
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974
1975 } # ac_fn_c_check_decl
1976
1977 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1978 # -------------------------------------------
1979 # Tests whether TYPE exists after having included INCLUDES, setting cache
1980 # variable VAR accordingly.
1981 ac_fn_c_check_type ()
1982 {
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1987 $as_echo_n "(cached) " >&6
1988 else
1989 eval "$3=no"
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
1992 $4
1993 int
1994 main ()
1995 {
1996 if (sizeof ($2))
1997 return 0;
1998 ;
1999 return 0;
2000 }
2001 _ACEOF
2002 if ac_fn_c_try_compile "$LINENO"; then :
2003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h. */
2005 $4
2006 int
2007 main ()
2008 {
2009 if (sizeof (($2)))
2010 return 0;
2011 ;
2012 return 0;
2013 }
2014 _ACEOF
2015 if ac_fn_c_try_compile "$LINENO"; then :
2016
2017 else
2018 eval "$3=yes"
2019 fi
2020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2021 fi
2022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2023 fi
2024 eval ac_res=\$$3
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2026 $as_echo "$ac_res" >&6; }
2027 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2028
2029 } # ac_fn_c_check_type
13752030 cat >config.log <<_ACEOF
13762031 This file contains any messages produced by compilers while
13772032 running configure, to aid debugging if configure makes a mistake.
13782033
13792034 It was created by $as_me, which was
1380 generated by GNU Autoconf 2.61. Invocation command line was
2035 generated by GNU Autoconf 2.65. Invocation command line was
13812036
13822037 $ $0 $@
13832038
14132068 do
14142069 IFS=$as_save_IFS
14152070 test -z "$as_dir" && as_dir=.
1416 echo "PATH: $as_dir"
1417 done
2071 $as_echo "PATH: $as_dir"
2072 done
14182073 IFS=$as_save_IFS
14192074
14202075 } >&5
14482103 | -silent | --silent | --silen | --sile | --sil)
14492104 continue ;;
14502105 *\'*)
1451 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2106 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14522107 esac
14532108 case $ac_pass in
1454 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2109 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
14552110 2)
1456 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2111 as_fn_append ac_configure_args1 " '$ac_arg'"
14572112 if test $ac_must_keep_next = true; then
14582113 ac_must_keep_next=false # Got value, back to normal.
14592114 else
14692124 -* ) ac_must_keep_next=true ;;
14702125 esac
14712126 fi
1472 ac_configure_args="$ac_configure_args '$ac_arg'"
2127 as_fn_append ac_configure_args " '$ac_arg'"
14732128 ;;
14742129 esac
14752130 done
14762131 done
1477 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1478 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2132 { ac_configure_args0=; unset ac_configure_args0;}
2133 { ac_configure_args1=; unset ac_configure_args1;}
14792134
14802135 # When interrupted or exit'd, cleanup temporary files, and complete
14812136 # config.log. We remove comments because anyway the quotes in there
15002155 case $ac_val in #(
15012156 *${as_nl}*)
15022157 case $ac_var in #(
1503 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1504 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2158 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2159 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15052160 esac
15062161 case $ac_var in #(
15072162 _ | IFS | as_nl) ;; #(
1508 *) $as_unset $ac_var ;;
2163 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2164 *) { eval $ac_var=; unset $ac_var;} ;;
15092165 esac ;;
15102166 esac
15112167 done
15342190 do
15352191 eval ac_val=\$$ac_var
15362192 case $ac_val in
1537 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2193 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15382194 esac
1539 echo "$ac_var='\''$ac_val'\''"
2195 $as_echo "$ac_var='\''$ac_val'\''"
15402196 done | sort
15412197 echo
15422198
15512207 do
15522208 eval ac_val=\$$ac_var
15532209 case $ac_val in
1554 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2210 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15552211 esac
1556 echo "$ac_var='\''$ac_val'\''"
2212 $as_echo "$ac_var='\''$ac_val'\''"
15572213 done | sort
15582214 echo
15592215 fi
15692225 echo
15702226 fi
15712227 test "$ac_signal" != 0 &&
1572 echo "$as_me: caught signal $ac_signal"
1573 echo "$as_me: exit $exit_status"
2228 $as_echo "$as_me: caught signal $ac_signal"
2229 $as_echo "$as_me: exit $exit_status"
15742230 } >&5
15752231 rm -f core *.core core.conftest.* &&
15762232 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
15772233 exit $exit_status
15782234 ' 0
15792235 for ac_signal in 1 2 13 15; do
1580 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2236 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
15812237 done
15822238 ac_signal=0
15832239
15842240 # confdefs.h avoids OS command line length limits that DEFS can exceed.
15852241 rm -f -r conftest* confdefs.h
15862242
2243 $as_echo "/* confdefs.h */" > confdefs.h
2244
15872245 # Predefined preprocessor variables.
15882246
15892247 cat >>confdefs.h <<_ACEOF
15902248 #define PACKAGE_NAME "$PACKAGE_NAME"
15912249 _ACEOF
15922250
1593
15942251 cat >>confdefs.h <<_ACEOF
15952252 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
15962253 _ACEOF
15972254
1598
15992255 cat >>confdefs.h <<_ACEOF
16002256 #define PACKAGE_VERSION "$PACKAGE_VERSION"
16012257 _ACEOF
16022258
1603
16042259 cat >>confdefs.h <<_ACEOF
16052260 #define PACKAGE_STRING "$PACKAGE_STRING"
16062261 _ACEOF
16072262
1608
16092263 cat >>confdefs.h <<_ACEOF
16102264 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16112265 _ACEOF
16122266
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE_URL "$PACKAGE_URL"
2269 _ACEOF
2270
16132271
16142272 # Let the site file select an alternate cache file if it wants to.
1615 # Prefer explicitly selected file to automatically selected ones.
2273 # Prefer an explicitly selected file to automatically selected ones.
2274 ac_site_file1=NONE
2275 ac_site_file2=NONE
16162276 if test -n "$CONFIG_SITE"; then
1617 set x "$CONFIG_SITE"
2277 ac_site_file1=$CONFIG_SITE
16182278 elif test "x$prefix" != xNONE; then
1619 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1620 else
1621 set x "$ac_default_prefix/share/config.site" \
1622 "$ac_default_prefix/etc/config.site"
1623 fi
1624 shift
1625 for ac_site_file
2279 ac_site_file1=$prefix/share/config.site
2280 ac_site_file2=$prefix/etc/config.site
2281 else
2282 ac_site_file1=$ac_default_prefix/share/config.site
2283 ac_site_file2=$ac_default_prefix/etc/config.site
2284 fi
2285 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
16262286 do
1627 if test -r "$ac_site_file"; then
1628 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1629 echo "$as_me: loading site script $ac_site_file" >&6;}
2287 test "x$ac_site_file" = xNONE && continue
2288 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2290 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
16302291 sed 's/^/| /' "$ac_site_file" >&5
16312292 . "$ac_site_file"
16322293 fi
16332294 done
16342295
16352296 if test -r "$cache_file"; then
1636 # Some versions of bash will fail to source /dev/null (special
1637 # files actually), so we avoid doing that.
1638 if test -f "$cache_file"; then
1639 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1640 echo "$as_me: loading cache $cache_file" >&6;}
2297 # Some versions of bash will fail to source /dev/null (special files
2298 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2299 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2301 $as_echo "$as_me: loading cache $cache_file" >&6;}
16412302 case $cache_file in
16422303 [\\/]* | ?:[\\/]* ) . "$cache_file";;
16432304 *) . "./$cache_file";;
16442305 esac
16452306 fi
16462307 else
1647 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1648 echo "$as_me: creating cache $cache_file" >&6;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2309 $as_echo "$as_me: creating cache $cache_file" >&6;}
16492310 >$cache_file
16502311 fi
16512312
16592320 eval ac_new_val=\$ac_env_${ac_var}_value
16602321 case $ac_old_set,$ac_new_set in
16612322 set,)
1662 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1663 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2324 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
16642325 ac_cache_corrupted=: ;;
16652326 ,set)
1666 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1667 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2328 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
16682329 ac_cache_corrupted=: ;;
16692330 ,);;
16702331 *)
16712332 if test "x$ac_old_val" != "x$ac_new_val"; then
1672 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1673 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1674 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1675 echo "$as_me: former value: $ac_old_val" >&2;}
1676 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1677 echo "$as_me: current value: $ac_new_val" >&2;}
1678 ac_cache_corrupted=:
2333 # differences in whitespace do not lead to failure.
2334 ac_old_val_w=`echo x $ac_old_val`
2335 ac_new_val_w=`echo x $ac_new_val`
2336 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2338 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2339 ac_cache_corrupted=:
2340 else
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2342 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2343 eval $ac_var=\$ac_old_val
2344 fi
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2346 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2348 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
16792349 fi;;
16802350 esac
16812351 # Pass precious variables to config.status.
16822352 if test "$ac_new_set" = set; then
16832353 case $ac_new_val in
1684 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2354 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
16852355 *) ac_arg=$ac_var=$ac_new_val ;;
16862356 esac
16872357 case " $ac_configure_args " in
16882358 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1689 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2359 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
16902360 esac
16912361 fi
16922362 done
16932363 if $ac_cache_corrupted; then
1694 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1695 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1696 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1697 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1698 { (exit 1); exit 1; }; }
1699 fi
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2367 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2368 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2369 fi
2370 ## -------------------- ##
2371 ## Main body of script. ##
2372 ## -------------------- ##
17162373
17172374 ac_ext=c
17182375 ac_cpp='$CPP $CPPFLAGS'
17212378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17222379
17232380
1724 am__api_version="1.9"
2381 am__api_version='1.11'
2382
17252383 ac_aux_dir=
17262384 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1727 if test -f "$ac_dir/install-sh"; then
1728 ac_aux_dir=$ac_dir
1729 ac_install_sh="$ac_aux_dir/install-sh -c"
1730 break
1731 elif test -f "$ac_dir/install.sh"; then
1732 ac_aux_dir=$ac_dir
1733 ac_install_sh="$ac_aux_dir/install.sh -c"
1734 break
1735 elif test -f "$ac_dir/shtool"; then
1736 ac_aux_dir=$ac_dir
1737 ac_install_sh="$ac_aux_dir/shtool install -c"
1738 break
1739 fi
2385 for ac_t in install-sh install.sh shtool; do
2386 if test -f "$ac_dir/$ac_t"; then
2387 ac_aux_dir=$ac_dir
2388 ac_install_sh="$ac_aux_dir/$ac_t -c"
2389 break 2
2390 fi
2391 done
17402392 done
17412393 if test -z "$ac_aux_dir"; then
1742 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1743 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1744 { (exit 1); exit 1; }; }
2394 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
17452395 fi
17462396
17472397 # These three variables are undocumented and unsupported,
17662416 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
17672417 # OS/2's system install, which has a completely different semantic
17682418 # ./install, which can be erroneously created by make from ./install.sh.
1769 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1770 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2419 # Reject install programs that cannot install multiple files.
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2421 $as_echo_n "checking for a BSD-compatible install... " >&6; }
17712422 if test -z "$INSTALL"; then
1772 if test "${ac_cv_path_install+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 if test "${ac_cv_path_install+set}" = set; then :
2424 $as_echo_n "(cached) " >&6
17742425 else
17752426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17762427 for as_dir in $PATH
17772428 do
17782429 IFS=$as_save_IFS
17792430 test -z "$as_dir" && as_dir=.
1780 # Account for people who put trailing slashes in PATH elements.
1781 case $as_dir/ in
1782 ./ | .// | /cC/* | \
2431 # Account for people who put trailing slashes in PATH elements.
2432 case $as_dir/ in #((
2433 ./ | .// | /[cC]/* | \
17832434 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1784 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2435 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
17852436 /usr/ucb/* ) ;;
17862437 *)
17872438 # OSF1 and SCO ODT 3.0 have their own names for install.
17992450 # program-specific install script used by HP pwplus--don't use.
18002451 :
18012452 else
1802 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1803 break 3
2453 rm -rf conftest.one conftest.two conftest.dir
2454 echo one > conftest.one
2455 echo two > conftest.two
2456 mkdir conftest.dir
2457 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2458 test -s conftest.one && test -s conftest.two &&
2459 test -s conftest.dir/conftest.one &&
2460 test -s conftest.dir/conftest.two
2461 then
2462 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2463 break 3
2464 fi
18042465 fi
18052466 fi
18062467 done
18072468 done
18082469 ;;
18092470 esac
1810 done
2471
2472 done
18112473 IFS=$as_save_IFS
18122474
2475 rm -rf conftest.one conftest.two conftest.dir
18132476
18142477 fi
18152478 if test "${ac_cv_path_install+set}" = set; then
18222485 INSTALL=$ac_install_sh
18232486 fi
18242487 fi
1825 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1826 echo "${ECHO_T}$INSTALL" >&6; }
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2489 $as_echo "$INSTALL" >&6; }
18272490
18282491 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18292492 # It thinks the first close brace ends the variable substitution.
18332496
18342497 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18352498
1836 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1837 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2500 $as_echo_n "checking whether build environment is sane... " >&6; }
18382501 # Just in case
18392502 sleep 1
18402503 echo timestamp > conftest.file
2504 # Reject unsafe characters in $srcdir or the absolute working directory
2505 # name. Accept space and tab only in the latter.
2506 am_lf='
2507 '
2508 case `pwd` in
2509 *[\\\"\#\$\&\'\`$am_lf]*)
2510 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2511 esac
2512 case $srcdir in
2513 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2514 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2515 esac
2516
18412517 # Do `set' in a subshell so we don't clobber the current shell's
18422518 # arguments. Must try -L first in case configure is actually a
18432519 # symlink; some systems play weird games with the mod time of symlinks
18442520 # (eg FreeBSD returns the mod time of the symlink's containing
18452521 # directory).
18462522 if (
1847 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2523 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
18482524 if test "$*" = "X"; then
18492525 # -L didn't work.
1850 set X `ls -t $srcdir/configure conftest.file`
2526 set X `ls -t "$srcdir/configure" conftest.file`
18512527 fi
18522528 rm -f conftest.file
18532529 if test "$*" != "X $srcdir/configure conftest.file" \
18572533 # if, for instance, CONFIG_SHELL is bash and it inherits a
18582534 # broken ls alias from the environment. This has actually
18592535 # happened. Such a system could not be considered "sane".
1860 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1861 alias in your environment" >&5
1862 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1863 alias in your environment" >&2;}
1864 { (exit 1); exit 1; }; }
2536 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2537 alias in your environment" "$LINENO" 5
18652538 fi
18662539
18672540 test "$2" = conftest.file
18702543 # Ok.
18712544 :
18722545 else
1873 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1874 Check your system clock" >&5
1875 echo "$as_me: error: newly created file is older than distributed files!
1876 Check your system clock" >&2;}
1877 { (exit 1); exit 1; }; }
1878 fi
1879 { echo "$as_me:$LINENO: result: yes" >&5
1880 echo "${ECHO_T}yes" >&6; }
2546 as_fn_error "newly created file is older than distributed files!
2547 Check your system clock" "$LINENO" 5
2548 fi
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2550 $as_echo "yes" >&6; }
18812551 test "$program_prefix" != NONE &&
18822552 program_transform_name="s&^&$program_prefix&;$program_transform_name"
18832553 # Use a double $ so make ignores it.
18842554 test "$program_suffix" != NONE &&
18852555 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1886 # Double any \ or $. echo might interpret backslashes.
2556 # Double any \ or $.
18872557 # By default was `s,x,x', remove it if useless.
1888 cat <<\_ACEOF >conftest.sed
1889 s/[\\$]/&&/g;s/;s,x,x,$//
1890 _ACEOF
1891 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1892 rm -f conftest.sed
2558 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2559 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
18932560
18942561 # expand $ac_aux_dir to an absolute path
18952562 am_aux_dir=`cd $ac_aux_dir && pwd`
18962563
1897 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2564 if test x"${MISSING+set}" != xset; then
2565 case $am_aux_dir in
2566 *\ * | *\ *)
2567 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2568 *)
2569 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2570 esac
2571 fi
18982572 # Use eval to expand $SHELL
18992573 if eval "$MISSING --run true"; then
19002574 am_missing_run="$MISSING --run "
19012575 else
19022576 am_missing_run=
1903 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1904 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1905 fi
1906
1907 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1908 # We used to keeping the `.' as first argument, in order to
1909 # allow $(mkdir_p) to be used without argument. As in
1910 # $(mkdir_p) $(somedir)
1911 # where $(somedir) is conditionally defined. However this is wrong
1912 # for two reasons:
1913 # 1. if the package is installed by a user who cannot write `.'
1914 # make install will fail,
1915 # 2. the above comment should most certainly read
1916 # $(mkdir_p) $(DESTDIR)$(somedir)
1917 # so it does not work when $(somedir) is undefined and
1918 # $(DESTDIR) is not.
1919 # To support the latter case, we have to write
1920 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1921 # so the `.' trick is pointless.
1922 mkdir_p='mkdir -p --'
1923 else
1924 # On NextStep and OpenStep, the `mkdir' command does not
1925 # recognize any option. It will interpret all options as
1926 # directories to create, and then abort because `.' already
1927 # exists.
1928 for d in ./-p ./--version;
1929 do
1930 test -d $d && rmdir $d
1931 done
1932 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1933 if test -f "$ac_aux_dir/mkinstalldirs"; then
1934 mkdir_p='$(mkinstalldirs)'
1935 else
1936 mkdir_p='$(install_sh) -d'
1937 fi
1938 fi
1939
1940 for ac_prog in gawk mawk nawk awk
1941 do
1942 # Extract the first word of "$ac_prog", so it can be a program name with args.
1943 set dummy $ac_prog; ac_word=$2
1944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1946 if test "${ac_cv_prog_AWK+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 else
1949 if test -n "$AWK"; then
1950 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2578 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2579 fi
2580
2581 if test x"${install_sh}" != xset; then
2582 case $am_aux_dir in
2583 *\ * | *\ *)
2584 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2585 *)
2586 install_sh="\${SHELL} $am_aux_dir/install-sh"
2587 esac
2588 fi
2589
2590 # Installed binaries are usually stripped using `strip' when the user
2591 # run `make install-strip'. However `strip' might not be the right
2592 # tool to use in cross-compilation environments, therefore Automake
2593 # will honor the `STRIP' environment variable to overrule this program.
2594 if test "$cross_compiling" != no; then
2595 if test -n "$ac_tool_prefix"; then
2596 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2597 set dummy ${ac_tool_prefix}strip; ac_word=$2
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2599 $as_echo_n "checking for $ac_word... " >&6; }
2600 if test "${ac_cv_prog_STRIP+set}" = set; then :
2601 $as_echo_n "(cached) " >&6
2602 else
2603 if test -n "$STRIP"; then
2604 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19512605 else
19522606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19532607 for as_dir in $PATH
19542608 do
19552609 IFS=$as_save_IFS
19562610 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
2611 for ac_exec_ext in '' $ac_executable_extensions; do
19582612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1959 ac_cv_prog_AWK="$ac_prog"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19612615 break 2
19622616 fi
19632617 done
2618 done
2619 IFS=$as_save_IFS
2620
2621 fi
2622 fi
2623 STRIP=$ac_cv_prog_STRIP
2624 if test -n "$STRIP"; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2626 $as_echo "$STRIP" >&6; }
2627 else
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629 $as_echo "no" >&6; }
2630 fi
2631
2632
2633 fi
2634 if test -z "$ac_cv_prog_STRIP"; then
2635 ac_ct_STRIP=$STRIP
2636 # Extract the first word of "strip", so it can be a program name with args.
2637 set dummy strip; ac_word=$2
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2641 $as_echo_n "(cached) " >&6
2642 else
2643 if test -n "$ac_ct_STRIP"; then
2644 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2645 else
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 for as_dir in $PATH
2648 do
2649 IFS=$as_save_IFS
2650 test -z "$as_dir" && as_dir=.
2651 for ac_exec_ext in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653 ac_cv_prog_ac_ct_STRIP="strip"
2654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 break 2
2656 fi
19642657 done
2658 done
2659 IFS=$as_save_IFS
2660
2661 fi
2662 fi
2663 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2664 if test -n "$ac_ct_STRIP"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2666 $as_echo "$ac_ct_STRIP" >&6; }
2667 else
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2670 fi
2671
2672 if test "x$ac_ct_STRIP" = x; then
2673 STRIP=":"
2674 else
2675 case $cross_compiling:$ac_tool_warned in
2676 yes:)
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2679 ac_tool_warned=yes ;;
2680 esac
2681 STRIP=$ac_ct_STRIP
2682 fi
2683 else
2684 STRIP="$ac_cv_prog_STRIP"
2685 fi
2686
2687 fi
2688 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2689
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2691 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2692 if test -z "$MKDIR_P"; then
2693 if test "${ac_cv_path_mkdir+set}" = set; then :
2694 $as_echo_n "(cached) " >&6
2695 else
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2698 do
2699 IFS=$as_save_IFS
2700 test -z "$as_dir" && as_dir=.
2701 for ac_prog in mkdir gmkdir; do
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2704 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2705 'mkdir (GNU coreutils) '* | \
2706 'mkdir (coreutils) '* | \
2707 'mkdir (fileutils) '4.1*)
2708 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2709 break 3;;
2710 esac
2711 done
2712 done
2713 done
2714 IFS=$as_save_IFS
2715
2716 fi
2717
2718 test -d ./--version && rmdir ./--version
2719 if test "${ac_cv_path_mkdir+set}" = set; then
2720 MKDIR_P="$ac_cv_path_mkdir -p"
2721 else
2722 # As a last resort, use the slow shell script. Don't cache a
2723 # value for MKDIR_P within a source directory, because that will
2724 # break other packages using the cache if that directory is
2725 # removed, or if the value is a relative name.
2726 MKDIR_P="$ac_install_sh -d"
2727 fi
2728 fi
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2730 $as_echo "$MKDIR_P" >&6; }
2731
2732 mkdir_p="$MKDIR_P"
2733 case $mkdir_p in
2734 [\\/$]* | ?:[\\/]*) ;;
2735 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2736 esac
2737
2738 for ac_prog in gawk mawk nawk awk
2739 do
2740 # Extract the first word of "$ac_prog", so it can be a program name with args.
2741 set dummy $ac_prog; ac_word=$2
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2743 $as_echo_n "checking for $ac_word... " >&6; }
2744 if test "${ac_cv_prog_AWK+set}" = set; then :
2745 $as_echo_n "(cached) " >&6
2746 else
2747 if test -n "$AWK"; then
2748 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2749 else
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 for as_dir in $PATH
2752 do
2753 IFS=$as_save_IFS
2754 test -z "$as_dir" && as_dir=.
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757 ac_cv_prog_AWK="$ac_prog"
2758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2759 break 2
2760 fi
2761 done
2762 done
19652763 IFS=$as_save_IFS
19662764
19672765 fi
19682766 fi
19692767 AWK=$ac_cv_prog_AWK
19702768 if test -n "$AWK"; then
1971 { echo "$as_me:$LINENO: result: $AWK" >&5
1972 echo "${ECHO_T}$AWK" >&6; }
1973 else
1974 { echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6; }
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2770 $as_echo "$AWK" >&6; }
2771 else
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773 $as_echo "no" >&6; }
19762774 fi
19772775
19782776
19792777 test -n "$AWK" && break
19802778 done
19812779
1982 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1983 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1984 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1985 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2781 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2782 set x ${MAKE-make}
2783 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2784 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2785 $as_echo_n "(cached) " >&6
19872786 else
19882787 cat >conftest.make <<\_ACEOF
19892788 SHELL = /bin/sh
20002799 rm -f conftest.make
20012800 fi
20022801 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2003 { echo "$as_me:$LINENO: result: yes" >&5
2004 echo "${ECHO_T}yes" >&6; }
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2803 $as_echo "yes" >&6; }
20052804 SET_MAKE=
20062805 else
2007 { echo "$as_me:$LINENO: result: no" >&5
2008 echo "${ECHO_T}no" >&6; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 $as_echo "no" >&6; }
20092808 SET_MAKE="MAKE=${MAKE-make}"
20102809 fi
20112810
20182817 fi
20192818 rmdir .tst 2>/dev/null
20202819
2021 # test to see if srcdir already configured
2022 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2023 test -f $srcdir/config.status; then
2024 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2025 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2026 { (exit 1); exit 1; }; }
2820 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2821 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2822 # is not polluted with repeated "-I."
2823 am__isrc=' -I$(srcdir)'
2824 # test to see if srcdir already configured
2825 if test -f $srcdir/config.status; then
2826 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2827 fi
20272828 fi
20282829
20292830 # test whether we have cygpath
20382839
20392840 # Define the identity of the package.
20402841 PACKAGE=mtr
2041 VERSION=0.80
2842 VERSION=0.81
20422843
20432844
20442845 cat >>confdefs.h <<_ACEOF
20652866
20662867
20672868 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2068
2069 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2070
2071 # Installed binaries are usually stripped using `strip' when the user
2072 # run `make install-strip'. However `strip' might not be the right
2073 # tool to use in cross-compilation environments, therefore Automake
2074 # will honor the `STRIP' environment variable to overrule this program.
2075 if test "$cross_compiling" != no; then
2076 if test -n "$ac_tool_prefix"; then
2077 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2078 set dummy ${ac_tool_prefix}strip; ac_word=$2
2079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2081 if test "${ac_cv_prog_STRIP+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 else
2084 if test -n "$STRIP"; then
2085 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2086 else
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088 for as_dir in $PATH
2089 do
2090 IFS=$as_save_IFS
2091 test -z "$as_dir" && as_dir=.
2092 for ac_exec_ext in '' $ac_executable_extensions; do
2093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2094 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 break 2
2097 fi
2098 done
2099 done
2100 IFS=$as_save_IFS
2101
2102 fi
2103 fi
2104 STRIP=$ac_cv_prog_STRIP
2105 if test -n "$STRIP"; then
2106 { echo "$as_me:$LINENO: result: $STRIP" >&5
2107 echo "${ECHO_T}$STRIP" >&6; }
2108 else
2109 { echo "$as_me:$LINENO: result: no" >&5
2110 echo "${ECHO_T}no" >&6; }
2111 fi
2112
2113
2114 fi
2115 if test -z "$ac_cv_prog_STRIP"; then
2116 ac_ct_STRIP=$STRIP
2117 # Extract the first word of "strip", so it can be a program name with args.
2118 set dummy strip; ac_word=$2
2119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2121 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 else
2124 if test -n "$ac_ct_STRIP"; then
2125 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2126 else
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH
2129 do
2130 IFS=$as_save_IFS
2131 test -z "$as_dir" && as_dir=.
2132 for ac_exec_ext in '' $ac_executable_extensions; do
2133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2134 ac_cv_prog_ac_ct_STRIP="strip"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2136 break 2
2137 fi
2138 done
2139 done
2140 IFS=$as_save_IFS
2141
2142 fi
2143 fi
2144 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2145 if test -n "$ac_ct_STRIP"; then
2146 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2147 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2148 else
2149 { echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6; }
2151 fi
2152
2153 if test "x$ac_ct_STRIP" = x; then
2154 STRIP=":"
2155 else
2156 case $cross_compiling:$ac_tool_warned in
2157 yes:)
2158 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2159 whose name does not start with the host triplet. If you think this
2160 configuration is useful to you, please write to autoconf@gnu.org." >&5
2161 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2162 whose name does not start with the host triplet. If you think this
2163 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2164 ac_tool_warned=yes ;;
2165 esac
2166 STRIP=$ac_ct_STRIP
2167 fi
2168 else
2169 STRIP="$ac_cv_prog_STRIP"
2170 fi
2171
2172 fi
2173 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
21742869
21752870 # We need awk for the "check" target. The system "awk" is bad on
21762871 # some platforms.
22002895 if test -n "$ac_tool_prefix"; then
22012896 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
22022897 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2205 if test "${ac_cv_prog_CC+set}" = set; then
2206 echo $ECHO_N "(cached) $ECHO_C" >&6
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if test "${ac_cv_prog_CC+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
22072902 else
22082903 if test -n "$CC"; then
22092904 ac_cv_prog_CC="$CC" # Let the user override the test.
22132908 do
22142909 IFS=$as_save_IFS
22152910 test -z "$as_dir" && as_dir=.
2216 for ac_exec_ext in '' $ac_executable_extensions; do
2911 for ac_exec_ext in '' $ac_executable_extensions; do
22172912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22182913 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22202915 break 2
22212916 fi
22222917 done
2223 done
2918 done
22242919 IFS=$as_save_IFS
22252920
22262921 fi
22272922 fi
22282923 CC=$ac_cv_prog_CC
22292924 if test -n "$CC"; then
2230 { echo "$as_me:$LINENO: result: $CC" >&5
2231 echo "${ECHO_T}$CC" >&6; }
2232 else
2233 { echo "$as_me:$LINENO: result: no" >&5
2234 echo "${ECHO_T}no" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2926 $as_echo "$CC" >&6; }
2927 else
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
22352930 fi
22362931
22372932
22402935 ac_ct_CC=$CC
22412936 # Extract the first word of "gcc", so it can be a program name with args.
22422937 set dummy gcc; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2941 $as_echo_n "(cached) " >&6
22472942 else
22482943 if test -n "$ac_ct_CC"; then
22492944 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
22532948 do
22542949 IFS=$as_save_IFS
22552950 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2951 for ac_exec_ext in '' $ac_executable_extensions; do
22572952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22582953 ac_cv_prog_ac_ct_CC="gcc"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22602955 break 2
22612956 fi
22622957 done
2263 done
2958 done
22642959 IFS=$as_save_IFS
22652960
22662961 fi
22672962 fi
22682963 ac_ct_CC=$ac_cv_prog_ac_ct_CC
22692964 if test -n "$ac_ct_CC"; then
2270 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2271 echo "${ECHO_T}$ac_ct_CC" >&6; }
2272 else
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2966 $as_echo "$ac_ct_CC" >&6; }
2967 else
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
22752970 fi
22762971
22772972 if test "x$ac_ct_CC" = x; then
22792974 else
22802975 case $cross_compiling:$ac_tool_warned in
22812976 yes:)
2282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2283 whose name does not start with the host triplet. If you think this
2284 configuration is useful to you, please write to autoconf@gnu.org." >&5
2285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2286 whose name does not start with the host triplet. If you think this
2287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
22882979 ac_tool_warned=yes ;;
22892980 esac
22902981 CC=$ac_ct_CC
22972988 if test -n "$ac_tool_prefix"; then
22982989 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
22992990 set dummy ${ac_tool_prefix}cc; ac_word=$2
2300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2302 if test "${ac_cv_prog_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2992 $as_echo_n "checking for $ac_word... " >&6; }
2993 if test "${ac_cv_prog_CC+set}" = set; then :
2994 $as_echo_n "(cached) " >&6
23042995 else
23052996 if test -n "$CC"; then
23062997 ac_cv_prog_CC="$CC" # Let the user override the test.
23103001 do
23113002 IFS=$as_save_IFS
23123003 test -z "$as_dir" && as_dir=.
2313 for ac_exec_ext in '' $ac_executable_extensions; do
3004 for ac_exec_ext in '' $ac_executable_extensions; do
23143005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23153006 ac_cv_prog_CC="${ac_tool_prefix}cc"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23173008 break 2
23183009 fi
23193010 done
2320 done
3011 done
23213012 IFS=$as_save_IFS
23223013
23233014 fi
23243015 fi
23253016 CC=$ac_cv_prog_CC
23263017 if test -n "$CC"; then
2327 { echo "$as_me:$LINENO: result: $CC" >&5
2328 echo "${ECHO_T}$CC" >&6; }
2329 else
2330 { echo "$as_me:$LINENO: result: no" >&5
2331 echo "${ECHO_T}no" >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3019 $as_echo "$CC" >&6; }
3020 else
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
23323023 fi
23333024
23343025
23373028 if test -z "$CC"; then
23383029 # Extract the first word of "cc", so it can be a program name with args.
23393030 set dummy cc; ac_word=$2
2340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2342 if test "${ac_cv_prog_CC+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if test "${ac_cv_prog_CC+set}" = set; then :
3034 $as_echo_n "(cached) " >&6
23443035 else
23453036 if test -n "$CC"; then
23463037 ac_cv_prog_CC="$CC" # Let the user override the test.
23513042 do
23523043 IFS=$as_save_IFS
23533044 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do
3045 for ac_exec_ext in '' $ac_executable_extensions; do
23553046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23563047 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
23573048 ac_prog_rejected=yes
23583049 continue
23593050 fi
23603051 ac_cv_prog_CC="cc"
2361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23623053 break 2
23633054 fi
23643055 done
2365 done
3056 done
23663057 IFS=$as_save_IFS
23673058
23683059 if test $ac_prog_rejected = yes; then
23813072 fi
23823073 CC=$ac_cv_prog_CC
23833074 if test -n "$CC"; then
2384 { echo "$as_me:$LINENO: result: $CC" >&5
2385 echo "${ECHO_T}$CC" >&6; }
2386 else
2387 { echo "$as_me:$LINENO: result: no" >&5
2388 echo "${ECHO_T}no" >&6; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3076 $as_echo "$CC" >&6; }
3077 else
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
23893080 fi
23903081
23913082
23963087 do
23973088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23983089 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2401 if test "${ac_cv_prog_CC+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if test "${ac_cv_prog_CC+set}" = set; then :
3093 $as_echo_n "(cached) " >&6
24033094 else
24043095 if test -n "$CC"; then
24053096 ac_cv_prog_CC="$CC" # Let the user override the test.
24093100 do
24103101 IFS=$as_save_IFS
24113102 test -z "$as_dir" && as_dir=.
2412 for ac_exec_ext in '' $ac_executable_extensions; do
3103 for ac_exec_ext in '' $ac_executable_extensions; do
24133104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24143105 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24163107 break 2
24173108 fi
24183109 done
2419 done
3110 done
24203111 IFS=$as_save_IFS
24213112
24223113 fi
24233114 fi
24243115 CC=$ac_cv_prog_CC
24253116 if test -n "$CC"; then
2426 { echo "$as_me:$LINENO: result: $CC" >&5
2427 echo "${ECHO_T}$CC" >&6; }
2428 else
2429 { echo "$as_me:$LINENO: result: no" >&5
2430 echo "${ECHO_T}no" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3118 $as_echo "$CC" >&6; }
3119 else
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
24313122 fi
24323123
24333124
24403131 do
24413132 # Extract the first word of "$ac_prog", so it can be a program name with args.
24423133 set dummy $ac_prog; ac_word=$2
2443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3137 $as_echo_n "(cached) " >&6
24473138 else
24483139 if test -n "$ac_ct_CC"; then
24493140 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
24533144 do
24543145 IFS=$as_save_IFS
24553146 test -z "$as_dir" && as_dir=.
2456 for ac_exec_ext in '' $ac_executable_extensions; do
3147 for ac_exec_ext in '' $ac_executable_extensions; do
24573148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24583149 ac_cv_prog_ac_ct_CC="$ac_prog"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24603151 break 2
24613152 fi
24623153 done
2463 done
3154 done
24643155 IFS=$as_save_IFS
24653156
24663157 fi
24673158 fi
24683159 ac_ct_CC=$ac_cv_prog_ac_ct_CC
24693160 if test -n "$ac_ct_CC"; then
2470 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2471 echo "${ECHO_T}$ac_ct_CC" >&6; }
2472 else
2473 { echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3162 $as_echo "$ac_ct_CC" >&6; }
3163 else
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
24753166 fi
24763167
24773168
24833174 else
24843175 case $cross_compiling:$ac_tool_warned in
24853176 yes:)
2486 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2487 whose name does not start with the host triplet. If you think this
2488 configuration is useful to you, please write to autoconf@gnu.org." >&5
2489 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2490 whose name does not start with the host triplet. If you think this
2491 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24923179 ac_tool_warned=yes ;;
24933180 esac
24943181 CC=$ac_ct_CC
24983185 fi
24993186
25003187
2501 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2502 See \`config.log' for more details." >&5
2503 echo "$as_me: error: no acceptable C compiler found in \$PATH
2504 See \`config.log' for more details." >&2;}
2505 { (exit 1); exit 1; }; }
3188 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190 as_fn_error "no acceptable C compiler found in \$PATH
3191 See \`config.log' for more details." "$LINENO" 5; }
25063192
25073193 # Provide some information about the compiler.
2508 echo "$as_me:$LINENO: checking for C compiler version" >&5
2509 ac_compiler=`set X $ac_compile; echo $2`
2510 { (ac_try="$ac_compiler --version >&5"
3194 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3195 set X $ac_compile
3196 ac_compiler=$2
3197 for ac_option in --version -v -V -qversion; do
3198 { { ac_try="$ac_compiler $ac_option >&5"
25113199 case "(($ac_try" in
25123200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25133201 *) ac_try_echo=$ac_try;;
25143202 esac
2515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2516 (eval "$ac_compiler --version >&5") 2>&5
3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204 $as_echo "$ac_try_echo"; } >&5
3205 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
25173206 ac_status=$?
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); }
2520 { (ac_try="$ac_compiler -v >&5"
3207 if test -s conftest.err; then
3208 sed '10a\
3209 ... rest of stderr output deleted ...
3210 10q' conftest.err >conftest.er1
3211 cat conftest.er1 >&5
3212 fi
3213 rm -f conftest.er1 conftest.err
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215 test $ac_status = 0; }
3216 done
3217
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3220
3221 int
3222 main ()
3223 {
3224
3225 ;
3226 return 0;
3227 }
3228 _ACEOF
3229 ac_clean_files_save=$ac_clean_files
3230 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3231 # Try to create an executable without -o first, disregard a.out.
3232 # It will help us diagnose broken compilers, and finding out an intuition
3233 # of exeext.
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3235 $as_echo_n "checking whether the C compiler works... " >&6; }
3236 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3237
3238 # The possible output files:
3239 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3240
3241 ac_rmfiles=
3242 for ac_file in $ac_files
3243 do
3244 case $ac_file in
3245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3246 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3247 esac
3248 done
3249 rm -f $ac_rmfiles
3250
3251 if { { ac_try="$ac_link_default"
25213252 case "(($ac_try" in
25223253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25233254 *) ac_try_echo=$ac_try;;
25243255 esac
2525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2526 (eval "$ac_compiler -v >&5") 2>&5
2527 ac_status=$?
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }
2530 { (ac_try="$ac_compiler -V >&5"
2531 case "(($ac_try" in
2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2534 esac
2535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2536 (eval "$ac_compiler -V >&5") 2>&5
2537 ac_status=$?
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }
2540
2541 cat >conftest.$ac_ext <<_ACEOF
2542 /* confdefs.h. */
2543 _ACEOF
2544 cat confdefs.h >>conftest.$ac_ext
2545 cat >>conftest.$ac_ext <<_ACEOF
2546 /* end confdefs.h. */
2547
2548 int
2549 main ()
2550 {
2551
2552 ;
2553 return 0;
2554 }
2555 _ACEOF
2556 ac_clean_files_save=$ac_clean_files
2557 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2558 # Try to create an executable without -o first, disregard a.out.
2559 # It will help us diagnose broken compilers, and finding out an intuition
2560 # of exeext.
2561 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2562 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2563 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2564 #
2565 # List of possible output files, starting from the most likely.
2566 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2567 # only as a last resort. b.out is created by i960 compilers.
2568 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2569 #
2570 # The IRIX 6 linker writes into existing files which may not be
2571 # executable, retaining their permissions. Remove them first so a
2572 # subsequent execution test works.
2573 ac_rmfiles=
2574 for ac_file in $ac_files
2575 do
2576 case $ac_file in
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2578 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2579 esac
2580 done
2581 rm -f $ac_rmfiles
2582
2583 if { (ac_try="$ac_link_default"
2584 case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2587 esac
2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3257 $as_echo "$ac_try_echo"; } >&5
25893258 (eval "$ac_link_default") 2>&5
25903259 ac_status=$?
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; then
3260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3261 test $ac_status = 0; }; then :
25933262 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
25943263 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
25953264 # in a Makefile. We should not override ac_cv_exeext if it was cached,
25993268 do
26003269 test -f "$ac_file" || continue
26013270 case $ac_file in
2602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
26033272 ;;
26043273 [ab].out )
26053274 # We found the default executable, but exeext='' is most
26063275 # certainly right.
26073276 break;;
26083277 *.* )
2609 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3278 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
26103279 then :; else
26113280 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
26123281 fi
26253294 else
26263295 ac_file=''
26273296 fi
2628
2629 { echo "$as_me:$LINENO: result: $ac_file" >&5
2630 echo "${ECHO_T}$ac_file" >&6; }
2631 if test -z "$ac_file"; then
2632 echo "$as_me: failed program was:" >&5
3297 if test -z "$ac_file"; then :
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 $as_echo "$as_me: failed program was:" >&5
26333301 sed 's/^/| /' conftest.$ac_ext >&5
26343302
2635 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2636 See \`config.log' for more details." >&5
2637 echo "$as_me: error: C compiler cannot create executables
2638 See \`config.log' for more details." >&2;}
2639 { (exit 77); exit 77; }; }
2640 fi
2641
3303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3305 { as_fn_set_status 77
3306 as_fn_error "C compiler cannot create executables
3307 See \`config.log' for more details." "$LINENO" 5; }; }
3308 else
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3310 $as_echo "yes" >&6; }
3311 fi
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3313 $as_echo_n "checking for C compiler default output file name... " >&6; }
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3315 $as_echo "$ac_file" >&6; }
26423316 ac_exeext=$ac_cv_exeext
26433317
2644 # Check that the compiler produces executables we can run. If not, either
2645 # the compiler is broken, or we cross compile.
2646 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2647 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2648 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2649 # If not cross compiling, check that we can run a simple program.
2650 if test "$cross_compiling" != yes; then
2651 if { ac_try='./$ac_file'
2652 { (case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_try") 2>&5
2658 ac_status=$?
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; }; then
2661 cross_compiling=no
2662 else
2663 if test "$cross_compiling" = maybe; then
2664 cross_compiling=yes
2665 else
2666 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2667 If you meant to cross compile, use \`--host'.
2668 See \`config.log' for more details." >&5
2669 echo "$as_me: error: cannot run C compiled programs.
2670 If you meant to cross compile, use \`--host'.
2671 See \`config.log' for more details." >&2;}
2672 { (exit 1); exit 1; }; }
2673 fi
2674 fi
2675 fi
2676 { echo "$as_me:$LINENO: result: yes" >&5
2677 echo "${ECHO_T}yes" >&6; }
2678
2679 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3318 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
26803319 ac_clean_files=$ac_clean_files_save
2681 # Check that the compiler produces executables we can run. If not, either
2682 # the compiler is broken, or we cross compile.
2683 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2684 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2685 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2686 echo "${ECHO_T}$cross_compiling" >&6; }
2687
2688 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2689 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2690 if { (ac_try="$ac_link"
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3321 $as_echo_n "checking for suffix of executables... " >&6; }
3322 if { { ac_try="$ac_link"
26913323 case "(($ac_try" in
26923324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26933325 *) ac_try_echo=$ac_try;;
26943326 esac
2695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3328 $as_echo "$ac_try_echo"; } >&5
26963329 (eval "$ac_link") 2>&5
26973330 ac_status=$?
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; then
3331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3332 test $ac_status = 0; }; then :
27003333 # If both `conftest.exe' and `conftest' are `present' (well, observable)
27013334 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
27023335 # work properly (i.e., refer to `conftest.exe'), while it won't with
27043337 for ac_file in conftest.exe conftest conftest.*; do
27053338 test -f "$ac_file" || continue
27063339 case $ac_file in
2707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
27083341 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27093342 break;;
27103343 * ) break;;
27113344 esac
27123345 done
27133346 else
2714 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2715 See \`config.log' for more details." >&5
2716 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2717 See \`config.log' for more details." >&2;}
2718 { (exit 1); exit 1; }; }
2719 fi
2720
2721 rm -f conftest$ac_cv_exeext
2722 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2723 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error "cannot compute suffix of executables: cannot compile and link
3350 See \`config.log' for more details." "$LINENO" 5; }
3351 fi
3352 rm -f conftest conftest$ac_cv_exeext
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3354 $as_echo "$ac_cv_exeext" >&6; }
27243355
27253356 rm -f conftest.$ac_ext
27263357 EXEEXT=$ac_cv_exeext
27273358 ac_exeext=$EXEEXT
2728 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2729 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2730 if test "${ac_cv_objext+set}" = set; then
2731 echo $ECHO_N "(cached) $ECHO_C" >&6
2732 else
2733 cat >conftest.$ac_ext <<_ACEOF
2734 /* confdefs.h. */
2735 _ACEOF
2736 cat confdefs.h >>conftest.$ac_ext
2737 cat >>conftest.$ac_ext <<_ACEOF
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27383360 /* end confdefs.h. */
2739
3361 #include <stdio.h>
27403362 int
27413363 main ()
27423364 {
3365 FILE *f = fopen ("conftest.out", "w");
3366 return ferror (f) || fclose (f) != 0;
27433367
27443368 ;
27453369 return 0;
27463370 }
27473371 _ACEOF
2748 rm -f conftest.o conftest.obj
2749 if { (ac_try="$ac_compile"
3372 ac_clean_files="$ac_clean_files conftest.out"
3373 # Check that the compiler produces executables we can run. If not, either
3374 # the compiler is broken, or we cross compile.
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3376 $as_echo_n "checking whether we are cross compiling... " >&6; }
3377 if test "$cross_compiling" != yes; then
3378 { { ac_try="$ac_link"
27503379 case "(($ac_try" in
27513380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27523381 *) ac_try_echo=$ac_try;;
27533382 esac
2754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3384 $as_echo "$ac_try_echo"; } >&5
3385 (eval "$ac_link") 2>&5
3386 ac_status=$?
3387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3388 test $ac_status = 0; }
3389 if { ac_try='./conftest$ac_cv_exeext'
3390 { { case "(($ac_try" in
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3393 esac
3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3395 $as_echo "$ac_try_echo"; } >&5
3396 (eval "$ac_try") 2>&5
3397 ac_status=$?
3398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3399 test $ac_status = 0; }; }; then
3400 cross_compiling=no
3401 else
3402 if test "$cross_compiling" = maybe; then
3403 cross_compiling=yes
3404 else
3405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3407 as_fn_error "cannot run C compiled programs.
3408 If you meant to cross compile, use \`--host'.
3409 See \`config.log' for more details." "$LINENO" 5; }
3410 fi
3411 fi
3412 fi
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3414 $as_echo "$cross_compiling" >&6; }
3415
3416 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3417 ac_clean_files=$ac_clean_files_save
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3419 $as_echo_n "checking for suffix of object files... " >&6; }
3420 if test "${ac_cv_objext+set}" = set; then :
3421 $as_echo_n "(cached) " >&6
3422 else
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3425
3426 int
3427 main ()
3428 {
3429
3430 ;
3431 return 0;
3432 }
3433 _ACEOF
3434 rm -f conftest.o conftest.obj
3435 if { { ac_try="$ac_compile"
3436 case "(($ac_try" in
3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3439 esac
3440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3441 $as_echo "$ac_try_echo"; } >&5
27553442 (eval "$ac_compile") 2>&5
27563443 ac_status=$?
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; then
3444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3445 test $ac_status = 0; }; then :
27593446 for ac_file in conftest.o conftest.obj conftest.*; do
27603447 test -f "$ac_file" || continue;
27613448 case $ac_file in
2762 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
27633450 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
27643451 break;;
27653452 esac
27663453 done
27673454 else
2768 echo "$as_me: failed program was:" >&5
3455 $as_echo "$as_me: failed program was:" >&5
27693456 sed 's/^/| /' conftest.$ac_ext >&5
27703457
2771 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2772 See \`config.log' for more details." >&5
2773 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2774 See \`config.log' for more details." >&2;}
2775 { (exit 1); exit 1; }; }
2776 fi
2777
3458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3460 as_fn_error "cannot compute suffix of object files: cannot compile
3461 See \`config.log' for more details." "$LINENO" 5; }
3462 fi
27783463 rm -f conftest.$ac_cv_objext conftest.$ac_ext
27793464 fi
2780 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2781 echo "${ECHO_T}$ac_cv_objext" >&6; }
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3466 $as_echo "$ac_cv_objext" >&6; }
27823467 OBJEXT=$ac_cv_objext
27833468 ac_objext=$OBJEXT
2784 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2785 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2786 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2787 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 else
2789 cat >conftest.$ac_ext <<_ACEOF
2790 /* confdefs.h. */
2791 _ACEOF
2792 cat confdefs.h >>conftest.$ac_ext
2793 cat >>conftest.$ac_ext <<_ACEOF
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3470 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3471 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3472 $as_echo_n "(cached) " >&6
3473 else
3474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27943475 /* end confdefs.h. */
27953476
27963477 int
28043485 return 0;
28053486 }
28063487 _ACEOF
2807 rm -f conftest.$ac_objext
2808 if { (ac_try="$ac_compile"
2809 case "(($ac_try" in
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2812 esac
2813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2815 ac_status=$?
2816 grep -v '^ *+' conftest.er1 >conftest.err
2817 rm -f conftest.er1
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
3488 if ac_fn_c_try_compile "$LINENO"; then :
28243489 ac_compiler_gnu=yes
28253490 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2828
2829 ac_compiler_gnu=no
2830 fi
2831
3491 ac_compiler_gnu=no
3492 fi
28323493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28333494 ac_cv_c_compiler_gnu=$ac_compiler_gnu
28343495
28353496 fi
2836 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2837 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2838 GCC=`test $ac_compiler_gnu = yes && echo yes`
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3498 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3499 if test $ac_compiler_gnu = yes; then
3500 GCC=yes
3501 else
3502 GCC=
3503 fi
28393504 ac_test_CFLAGS=${CFLAGS+set}
28403505 ac_save_CFLAGS=$CFLAGS
2841 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2843 if test "${ac_cv_prog_cc_g+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3507 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3508 if test "${ac_cv_prog_cc_g+set}" = set; then :
3509 $as_echo_n "(cached) " >&6
28453510 else
28463511 ac_save_c_werror_flag=$ac_c_werror_flag
28473512 ac_c_werror_flag=yes
28483513 ac_cv_prog_cc_g=no
28493514 CFLAGS="-g"
2850 cat >conftest.$ac_ext <<_ACEOF
2851 /* confdefs.h. */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28553516 /* end confdefs.h. */
28563517
28573518 int
28623523 return 0;
28633524 }
28643525 _ACEOF
2865 rm -f conftest.$ac_objext
2866 if { (ac_try="$ac_compile"
2867 case "(($ac_try" in
2868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2869 *) ac_try_echo=$ac_try;;
2870 esac
2871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2872 (eval "$ac_compile") 2>conftest.er1
2873 ac_status=$?
2874 grep -v '^ *+' conftest.er1 >conftest.err
2875 rm -f conftest.er1
2876 cat conftest.err >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); } && {
2879 test -z "$ac_c_werror_flag" ||
2880 test ! -s conftest.err
2881 } && test -s conftest.$ac_objext; then
3526 if ac_fn_c_try_compile "$LINENO"; then :
28823527 ac_cv_prog_cc_g=yes
28833528 else
2884 echo "$as_me: failed program was:" >&5
2885 sed 's/^/| /' conftest.$ac_ext >&5
2886
2887 CFLAGS=""
2888 cat >conftest.$ac_ext <<_ACEOF
2889 /* confdefs.h. */
2890 _ACEOF
2891 cat confdefs.h >>conftest.$ac_ext
2892 cat >>conftest.$ac_ext <<_ACEOF
3529 CFLAGS=""
3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28933531 /* end confdefs.h. */
28943532
28953533 int
29003538 return 0;
29013539 }
29023540 _ACEOF
2903 rm -f conftest.$ac_objext
2904 if { (ac_try="$ac_compile"
2905 case "(($ac_try" in
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2908 esac
2909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910 (eval "$ac_compile") 2>conftest.er1
2911 ac_status=$?
2912 grep -v '^ *+' conftest.er1 >conftest.err
2913 rm -f conftest.er1
2914 cat conftest.err >&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); } && {
2917 test -z "$ac_c_werror_flag" ||
2918 test ! -s conftest.err
2919 } && test -s conftest.$ac_objext; then
2920 :
2921 else
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2924
2925 ac_c_werror_flag=$ac_save_c_werror_flag
3541 if ac_fn_c_try_compile "$LINENO"; then :
3542
3543 else
3544 ac_c_werror_flag=$ac_save_c_werror_flag
29263545 CFLAGS="-g"
2927 cat >conftest.$ac_ext <<_ACEOF
2928 /* confdefs.h. */
2929 _ACEOF
2930 cat confdefs.h >>conftest.$ac_ext
2931 cat >>conftest.$ac_ext <<_ACEOF
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29323547 /* end confdefs.h. */
29333548
29343549 int
29393554 return 0;
29403555 }
29413556 _ACEOF
2942 rm -f conftest.$ac_objext
2943 if { (ac_try="$ac_compile"
2944 case "(($ac_try" in
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2947 esac
2948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2949 (eval "$ac_compile") 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } && {
2956 test -z "$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2958 } && test -s conftest.$ac_objext; then
3557 if ac_fn_c_try_compile "$LINENO"; then :
29593558 ac_cv_prog_cc_g=yes
2960 else
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2963
2964
2965 fi
2966
3559 fi
29673560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29683561 fi
2969
29703562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29713563 fi
2972
29733564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29743565 ac_c_werror_flag=$ac_save_c_werror_flag
29753566 fi
2976 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2977 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3568 $as_echo "$ac_cv_prog_cc_g" >&6; }
29783569 if test "$ac_test_CFLAGS" = set; then
29793570 CFLAGS=$ac_save_CFLAGS
29803571 elif test $ac_cv_prog_cc_g = yes; then
29903581 CFLAGS=
29913582 fi
29923583 fi
2993 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2994 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2995 if test "${ac_cv_prog_cc_c89+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3585 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3586 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3587 $as_echo_n "(cached) " >&6
29973588 else
29983589 ac_cv_prog_cc_c89=no
29993590 ac_save_CC=$CC
3000 cat >conftest.$ac_ext <<_ACEOF
3001 /* confdefs.h. */
3002 _ACEOF
3003 cat confdefs.h >>conftest.$ac_ext
3004 cat >>conftest.$ac_ext <<_ACEOF
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30053592 /* end confdefs.h. */
30063593 #include <stdarg.h>
30073594 #include <stdio.h>
30583645 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
30593646 do
30603647 CC="$ac_save_CC $ac_arg"
3061 rm -f conftest.$ac_objext
3062 if { (ac_try="$ac_compile"
3063 case "(($ac_try" in
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3066 esac
3067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3068 (eval "$ac_compile") 2>conftest.er1
3069 ac_status=$?
3070 grep -v '^ *+' conftest.er1 >conftest.err
3071 rm -f conftest.er1
3072 cat conftest.err >&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } && {
3075 test -z "$ac_c_werror_flag" ||
3076 test ! -s conftest.err
3077 } && test -s conftest.$ac_objext; then
3648 if ac_fn_c_try_compile "$LINENO"; then :
30783649 ac_cv_prog_cc_c89=$ac_arg
3079 else
3080 echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3082
3083
3084 fi
3085
3650 fi
30863651 rm -f core conftest.err conftest.$ac_objext
30873652 test "x$ac_cv_prog_cc_c89" != "xno" && break
30883653 done
30933658 # AC_CACHE_VAL
30943659 case "x$ac_cv_prog_cc_c89" in
30953660 x)
3096 { echo "$as_me:$LINENO: result: none needed" >&5
3097 echo "${ECHO_T}none needed" >&6; } ;;
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3662 $as_echo "none needed" >&6; } ;;
30983663 xno)
3099 { echo "$as_me:$LINENO: result: unsupported" >&5
3100 echo "${ECHO_T}unsupported" >&6; } ;;
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3665 $as_echo "unsupported" >&6; } ;;
31013666 *)
31023667 CC="$CC $ac_cv_prog_cc_c89"
3103 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3104 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3669 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
31053670 esac
3106
3671 if test "x$ac_cv_prog_cc_c89" != xno; then :
3672
3673 fi
31073674
31083675 ac_ext=c
31093676 ac_cpp='$CPP $CPPFLAGS'
31183685 am_make=${MAKE-make}
31193686 cat > confinc << 'END'
31203687 am__doit:
3121 @echo done
3688 @echo this is the am__doit target
31223689 .PHONY: am__doit
31233690 END
31243691 # If we don't find an include directive, just comment out the code.
3125 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3126 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3693 $as_echo_n "checking for style of include used by $am_make... " >&6; }
31273694 am__include="#"
31283695 am__quote=
31293696 _am_result=none
31303697 # First try GNU make style include.
31313698 echo "include confinc" > confmf
3132 # We grep out `Entering directory' and `Leaving directory'
3133 # messages which can occur if `w' ends up in MAKEFLAGS.
3134 # In particular we don't look at `^make:' because GNU make might
3135 # be invoked under some other name (usually "gmake"), in which
3136 # case it prints its new name instead of `make'.
3137 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3138 am__include=include
3139 am__quote=
3140 _am_result=GNU
3141 fi
3699 # Ignore all kinds of additional output from `make'.
3700 case `$am_make -s -f confmf 2> /dev/null` in #(
3701 *the\ am__doit\ target*)
3702 am__include=include
3703 am__quote=
3704 _am_result=GNU
3705 ;;
3706 esac
31423707 # Now try BSD make style include.
31433708 if test "$am__include" = "#"; then
31443709 echo '.include "confinc"' > confmf
3145 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3146 am__include=.include
3147 am__quote="\""
3148 _am_result=BSD
3149 fi
3150 fi
3151
3152
3153 { echo "$as_me:$LINENO: result: $_am_result" >&5
3154 echo "${ECHO_T}$_am_result" >&6; }
3710 case `$am_make -s -f confmf 2> /dev/null` in #(
3711 *the\ am__doit\ target*)
3712 am__include=.include
3713 am__quote="\""
3714 _am_result=BSD
3715 ;;
3716 esac
3717 fi
3718
3719
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3721 $as_echo "$_am_result" >&6; }
31553722 rm -f confinc confmf
31563723
31573724 # Check whether --enable-dependency-tracking was given.
3158 if test "${enable_dependency_tracking+set}" = set; then
3725 if test "${enable_dependency_tracking+set}" = set; then :
31593726 enableval=$enable_dependency_tracking;
31603727 fi
31613728
31633730 am_depcomp="$ac_aux_dir/depcomp"
31643731 AMDEPBACKSLASH='\'
31653732 fi
3166
3167
3168 if test "x$enable_dependency_tracking" != xno; then
3733 if test "x$enable_dependency_tracking" != xno; then
31693734 AMDEP_TRUE=
31703735 AMDEP_FALSE='#'
31713736 else
31753740
31763741
31773742
3178
31793743 depcc="$CC" am_compiler_list=
31803744
3181 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3182 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3183 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3184 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3746 $as_echo_n "checking dependency style of $depcc... " >&6; }
3747 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
31853749 else
31863750 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
31873751 # We make a subdir and do the tests there. Otherwise we can end up
32063770 if test "$am_compiler_list" = ""; then
32073771 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
32083772 fi
3773 am__universal=false
3774 case " $depcc " in #(
3775 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3776 esac
3777
32093778 for depmode in $am_compiler_list; do
32103779 # Setup a source with many dependencies, because some compilers
32113780 # like to wrap large dependency lists on column 80 (with \), and
32233792 done
32243793 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
32253794
3795 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3796 # mode. It turns out that the SunPro C++ compiler does not properly
3797 # handle `-M -o', and we need to detect this. Also, some Intel
3798 # versions had trouble with output in subdirs
3799 am__obj=sub/conftest.${OBJEXT-o}
3800 am__minus_obj="-o $am__obj"
32263801 case $depmode in
3802 gcc)
3803 # This depmode causes a compiler race in universal mode.
3804 test "$am__universal" = false || continue
3805 ;;
32273806 nosideeffect)
32283807 # after this tag, mechanisms are not by side-effect, so they'll
32293808 # only be used when explicitly requested
32333812 break
32343813 fi
32353814 ;;
3815 msvisualcpp | msvcmsys)
3816 # This compiler won't grok `-c -o', but also, the minuso test has
3817 # not run yet. These depmodes are late enough in the game, and
3818 # so weak that their functioning should not be impacted.
3819 am__obj=conftest.${OBJEXT-o}
3820 am__minus_obj=
3821 ;;
32363822 none) break ;;
32373823 esac
3238 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3239 # mode. It turns out that the SunPro C++ compiler does not properly
3240 # handle `-M -o', and we need to detect this.
32413824 if depmode=$depmode \
3242 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3825 source=sub/conftest.c object=$am__obj \
32433826 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3244 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3827 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
32453828 >/dev/null 2>conftest.err &&
3829 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
32463830 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3247 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3831 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
32483832 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
32493833 # icc doesn't choke on unknown options, it will just issue warnings
32503834 # or remarks (even with -Werror). So we grep stderr for any message
32683852 fi
32693853
32703854 fi
3271 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3272 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3856 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
32733857 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
32743858
3275
3276
3277 if
3859 if
32783860 test "x$enable_dependency_tracking" != xno \
32793861 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
32803862 am__fastdepCC_TRUE=
32923874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32933875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3295 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3296 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3878 $as_echo_n "checking how to run the C preprocessor... " >&6; }
32973879 # On Suns, sometimes $CPP names a directory.
32983880 if test -n "$CPP" && test -d "$CPP"; then
32993881 CPP=
33003882 fi
33013883 if test -z "$CPP"; then
3302 if test "${ac_cv_prog_CPP+set}" = set; then
3303 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 if test "${ac_cv_prog_CPP+set}" = set; then :
3885 $as_echo_n "(cached) " >&6
33043886 else
33053887 # Double quotes because CPP needs to be expanded
33063888 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
33143896 # <limits.h> exists even on freestanding compilers.
33153897 # On the NeXT, cc -E runs the code through the compiler's parser,
33163898 # not just through cpp. "Syntax error" is here to catch this case.
3317 cat >conftest.$ac_ext <<_ACEOF
3318 /* confdefs.h. */
3319 _ACEOF
3320 cat confdefs.h >>conftest.$ac_ext
3321 cat >>conftest.$ac_ext <<_ACEOF
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33223900 /* end confdefs.h. */
33233901 #ifdef __STDC__
33243902 # include <limits.h>
33273905 #endif
33283906 Syntax error
33293907 _ACEOF
3330 if { (ac_try="$ac_cpp conftest.$ac_ext"
3331 case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3334 esac
3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3337 ac_status=$?
3338 grep -v '^ *+' conftest.er1 >conftest.err
3339 rm -f conftest.er1
3340 cat conftest.err >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } >/dev/null && {
3343 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3344 test ! -s conftest.err
3345 }; then
3346 :
3347 else
3348 echo "$as_me: failed program was:" >&5
3349 sed 's/^/| /' conftest.$ac_ext >&5
3350
3908 if ac_fn_c_try_cpp "$LINENO"; then :
3909
3910 else
33513911 # Broken: fails on valid input.
33523912 continue
33533913 fi
3354
33553914 rm -f conftest.err conftest.$ac_ext
33563915
33573916 # OK, works on sane cases. Now check whether nonexistent headers
33583917 # can be detected and how.
3359 cat >conftest.$ac_ext <<_ACEOF
3360 /* confdefs.h. */
3361 _ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33643919 /* end confdefs.h. */
33653920 #include <ac_nonexistent.h>
33663921 _ACEOF
3367 if { (ac_try="$ac_cpp conftest.$ac_ext"
3368 case "(($ac_try" in
3369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370 *) ac_try_echo=$ac_try;;
3371 esac
3372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3373 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3374 ac_status=$?
3375 grep -v '^ *+' conftest.er1 >conftest.err
3376 rm -f conftest.er1
3377 cat conftest.err >&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); } >/dev/null && {
3380 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3381 test ! -s conftest.err
3382 }; then
3922 if ac_fn_c_try_cpp "$LINENO"; then :
33833923 # Broken: success on invalid input.
33843924 continue
33853925 else
3386 echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3388
33893926 # Passes both tests.
33903927 ac_preproc_ok=:
33913928 break
33923929 fi
3393
33943930 rm -f conftest.err conftest.$ac_ext
33953931
33963932 done
33973933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
33983934 rm -f conftest.err conftest.$ac_ext
3399 if $ac_preproc_ok; then
3935 if $ac_preproc_ok; then :
34003936 break
34013937 fi
34023938
34083944 else
34093945 ac_cv_prog_CPP=$CPP
34103946 fi
3411 { echo "$as_me:$LINENO: result: $CPP" >&5
3412 echo "${ECHO_T}$CPP" >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3948 $as_echo "$CPP" >&6; }
34133949 ac_preproc_ok=false
34143950 for ac_c_preproc_warn_flag in '' yes
34153951 do
34193955 # <limits.h> exists even on freestanding compilers.
34203956 # On the NeXT, cc -E runs the code through the compiler's parser,
34213957 # not just through cpp. "Syntax error" is here to catch this case.
3422 cat >conftest.$ac_ext <<_ACEOF
3423 /* confdefs.h. */
3424 _ACEOF
3425 cat confdefs.h >>conftest.$ac_ext
3426 cat >>conftest.$ac_ext <<_ACEOF
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34273959 /* end confdefs.h. */
34283960 #ifdef __STDC__
34293961 # include <limits.h>
34323964 #endif
34333965 Syntax error
34343966 _ACEOF
3435 if { (ac_try="$ac_cpp conftest.$ac_ext"
3436 case "(($ac_try" in
3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3439 esac
3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3442 ac_status=$?
3443 grep -v '^ *+' conftest.er1 >conftest.err
3444 rm -f conftest.er1
3445 cat conftest.err >&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); } >/dev/null && {
3448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3449 test ! -s conftest.err
3450 }; then
3451 :
3452 else
3453 echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.$ac_ext >&5
3455
3967 if ac_fn_c_try_cpp "$LINENO"; then :
3968
3969 else
34563970 # Broken: fails on valid input.
34573971 continue
34583972 fi
3459
34603973 rm -f conftest.err conftest.$ac_ext
34613974
34623975 # OK, works on sane cases. Now check whether nonexistent headers
34633976 # can be detected and how.
3464 cat >conftest.$ac_ext <<_ACEOF
3465 /* confdefs.h. */
3466 _ACEOF
3467 cat confdefs.h >>conftest.$ac_ext
3468 cat >>conftest.$ac_ext <<_ACEOF
3977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34693978 /* end confdefs.h. */
34703979 #include <ac_nonexistent.h>
34713980 _ACEOF
3472 if { (ac_try="$ac_cpp conftest.$ac_ext"
3473 case "(($ac_try" in
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3476 esac
3477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3478 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3479 ac_status=$?
3480 grep -v '^ *+' conftest.er1 >conftest.err
3481 rm -f conftest.er1
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } >/dev/null && {
3485 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3486 test ! -s conftest.err
3487 }; then
3981 if ac_fn_c_try_cpp "$LINENO"; then :
34883982 # Broken: success on invalid input.
34893983 continue
34903984 else
3491 echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.$ac_ext >&5
3493
34943985 # Passes both tests.
34953986 ac_preproc_ok=:
34963987 break
34973988 fi
3498
34993989 rm -f conftest.err conftest.$ac_ext
35003990
35013991 done
35023992 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
35033993 rm -f conftest.err conftest.$ac_ext
3504 if $ac_preproc_ok; then
3505 :
3506 else
3507 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3508 See \`config.log' for more details." >&5
3509 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3510 See \`config.log' for more details." >&2;}
3511 { (exit 1); exit 1; }; }
3994 if $ac_preproc_ok; then :
3995
3996 else
3997 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3999 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4000 See \`config.log' for more details." "$LINENO" 5; }
35124001 fi
35134002
35144003 ac_ext=c
35184007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35194008
35204009
3521 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3522 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3523 if test "${ac_cv_path_GREP+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 else
3526 # Extract the first word of "grep ggrep" to use in msg output
3527 if test -z "$GREP"; then
3528 set dummy grep ggrep; ac_prog_name=$2
3529 if test "${ac_cv_path_GREP+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 else
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4011 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4012 if test "${ac_cv_path_GREP+set}" = set; then :
4013 $as_echo_n "(cached) " >&6
4014 else
4015 if test -z "$GREP"; then
35324016 ac_path_GREP_found=false
3533 # Loop through the user's path and test for each of PROGNAME-LIST
3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017 # Loop through the user's path and test for each of PROGNAME-LIST
4018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35354019 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
35364020 do
35374021 IFS=$as_save_IFS
35384022 test -z "$as_dir" && as_dir=.
3539 for ac_prog in grep ggrep; do
3540 for ac_exec_ext in '' $ac_executable_extensions; do
3541 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3542 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3543 # Check for GNU ac_path_GREP and select it if it is found.
4023 for ac_prog in grep ggrep; do
4024 for ac_exec_ext in '' $ac_executable_extensions; do
4025 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4026 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4027 # Check for GNU ac_path_GREP and select it if it is found.
35444028 # Check for GNU $ac_path_GREP
35454029 case `"$ac_path_GREP" --version 2>&1` in
35464030 *GNU*)
35474031 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
35484032 *)
35494033 ac_count=0
3550 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4034 $as_echo_n 0123456789 >"conftest.in"
35514035 while :
35524036 do
35534037 cat "conftest.in" "conftest.in" >"conftest.tmp"
35544038 mv "conftest.tmp" "conftest.in"
35554039 cp "conftest.in" "conftest.nl"
3556 echo 'GREP' >> "conftest.nl"
4040 $as_echo 'GREP' >> "conftest.nl"
35574041 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
35584042 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3559 ac_count=`expr $ac_count + 1`
4043 as_fn_arith $ac_count + 1 && ac_count=$as_val
35604044 if test $ac_count -gt ${ac_path_GREP_max-0}; then
35614045 # Best one so far, save it but keep looking for a better one
35624046 ac_cv_path_GREP="$ac_path_GREP"
35684052 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
35694053 esac
35704054
3571
3572 $ac_path_GREP_found && break 3
4055 $ac_path_GREP_found && break 3
4056 done
35734057 done
3574 done
3575
3576 done
4058 done
35774059 IFS=$as_save_IFS
3578
3579
3580 fi
3581
3582 GREP="$ac_cv_path_GREP"
3583 if test -z "$GREP"; then
3584 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3585 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3586 { (exit 1); exit 1; }; }
3587 fi
3588
4060 if test -z "$ac_cv_path_GREP"; then
4061 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4062 fi
35894063 else
35904064 ac_cv_path_GREP=$GREP
35914065 fi
35924066
3593
3594 fi
3595 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3596 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4067 fi
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4069 $as_echo "$ac_cv_path_GREP" >&6; }
35974070 GREP="$ac_cv_path_GREP"
35984071
35994072
3600 { echo "$as_me:$LINENO: checking for egrep" >&5
3601 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3602 if test "${ac_cv_path_EGREP+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4074 $as_echo_n "checking for egrep... " >&6; }
4075 if test "${ac_cv_path_EGREP+set}" = set; then :
4076 $as_echo_n "(cached) " >&6
36044077 else
36054078 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
36064079 then ac_cv_path_EGREP="$GREP -E"
36074080 else
3608 # Extract the first word of "egrep" to use in msg output
3609 if test -z "$EGREP"; then
3610 set dummy egrep; ac_prog_name=$2
3611 if test "${ac_cv_path_EGREP+set}" = set; then
3612 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 else
4081 if test -z "$EGREP"; then
36144082 ac_path_EGREP_found=false
3615 # Loop through the user's path and test for each of PROGNAME-LIST
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083 # Loop through the user's path and test for each of PROGNAME-LIST
4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36174085 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
36184086 do
36194087 IFS=$as_save_IFS
36204088 test -z "$as_dir" && as_dir=.
3621 for ac_prog in egrep; do
3622 for ac_exec_ext in '' $ac_executable_extensions; do
3623 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3624 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3625 # Check for GNU ac_path_EGREP and select it if it is found.
4089 for ac_prog in egrep; do
4090 for ac_exec_ext in '' $ac_executable_extensions; do
4091 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4092 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4093 # Check for GNU ac_path_EGREP and select it if it is found.
36264094 # Check for GNU $ac_path_EGREP
36274095 case `"$ac_path_EGREP" --version 2>&1` in
36284096 *GNU*)
36294097 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
36304098 *)
36314099 ac_count=0
3632 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4100 $as_echo_n 0123456789 >"conftest.in"
36334101 while :
36344102 do
36354103 cat "conftest.in" "conftest.in" >"conftest.tmp"
36364104 mv "conftest.tmp" "conftest.in"
36374105 cp "conftest.in" "conftest.nl"
3638 echo 'EGREP' >> "conftest.nl"
4106 $as_echo 'EGREP' >> "conftest.nl"
36394107 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
36404108 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3641 ac_count=`expr $ac_count + 1`
4109 as_fn_arith $ac_count + 1 && ac_count=$as_val
36424110 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
36434111 # Best one so far, save it but keep looking for a better one
36444112 ac_cv_path_EGREP="$ac_path_EGREP"
36504118 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
36514119 esac
36524120
3653
3654 $ac_path_EGREP_found && break 3
4121 $ac_path_EGREP_found && break 3
4122 done
36554123 done
3656 done
3657
3658 done
4124 done
36594125 IFS=$as_save_IFS
3660
3661
3662 fi
3663
3664 EGREP="$ac_cv_path_EGREP"
3665 if test -z "$EGREP"; then
3666 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3667 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
4126 if test -z "$ac_cv_path_EGREP"; then
4127 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4128 fi
36714129 else
36724130 ac_cv_path_EGREP=$EGREP
36734131 fi
36744132
3675
36764133 fi
36774134 fi
3678 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3679 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4136 $as_echo "$ac_cv_path_EGREP" >&6; }
36804137 EGREP="$ac_cv_path_EGREP"
36814138
36824139
3683 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3684 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3685 if test "${ac_cv_header_stdc+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 else
3688 cat >conftest.$ac_ext <<_ACEOF
3689 /* confdefs.h. */
3690 _ACEOF
3691 cat confdefs.h >>conftest.$ac_ext
3692 cat >>conftest.$ac_ext <<_ACEOF
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4141 $as_echo_n "checking for ANSI C header files... " >&6; }
4142 if test "${ac_cv_header_stdc+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36934146 /* end confdefs.h. */
36944147 #include <stdlib.h>
36954148 #include <stdarg.h>
37044157 return 0;
37054158 }
37064159 _ACEOF
3707 rm -f conftest.$ac_objext
3708 if { (ac_try="$ac_compile"
3709 case "(($ac_try" in
3710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3711 *) ac_try_echo=$ac_try;;
3712 esac
3713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3714 (eval "$ac_compile") 2>conftest.er1
3715 ac_status=$?
3716 grep -v '^ *+' conftest.er1 >conftest.err
3717 rm -f conftest.er1
3718 cat conftest.err >&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); } && {
3721 test -z "$ac_c_werror_flag" ||
3722 test ! -s conftest.err
3723 } && test -s conftest.$ac_objext; then
4160 if ac_fn_c_try_compile "$LINENO"; then :
37244161 ac_cv_header_stdc=yes
37254162 else
3726 echo "$as_me: failed program was:" >&5
3727 sed 's/^/| /' conftest.$ac_ext >&5
3728
3729 ac_cv_header_stdc=no
3730 fi
3731
4163 ac_cv_header_stdc=no
4164 fi
37324165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37334166
37344167 if test $ac_cv_header_stdc = yes; then
37354168 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3736 cat >conftest.$ac_ext <<_ACEOF
3737 /* confdefs.h. */
3738 _ACEOF
3739 cat confdefs.h >>conftest.$ac_ext
3740 cat >>conftest.$ac_ext <<_ACEOF
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37414170 /* end confdefs.h. */
37424171 #include <string.h>
37434172
37444173 _ACEOF
37454174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3746 $EGREP "memchr" >/dev/null 2>&1; then
3747 :
4175 $EGREP "memchr" >/dev/null 2>&1; then :
4176
37484177 else
37494178 ac_cv_header_stdc=no
37504179 fi
37544183
37554184 if test $ac_cv_header_stdc = yes; then
37564185 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3757 cat >conftest.$ac_ext <<_ACEOF
3758 /* confdefs.h. */
3759 _ACEOF
3760 cat confdefs.h >>conftest.$ac_ext
3761 cat >>conftest.$ac_ext <<_ACEOF
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37624187 /* end confdefs.h. */
37634188 #include <stdlib.h>
37644189
37654190 _ACEOF
37664191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3767 $EGREP "free" >/dev/null 2>&1; then
3768 :
4192 $EGREP "free" >/dev/null 2>&1; then :
4193
37694194 else
37704195 ac_cv_header_stdc=no
37714196 fi
37754200
37764201 if test $ac_cv_header_stdc = yes; then
37774202 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3778 if test "$cross_compiling" = yes; then
4203 if test "$cross_compiling" = yes; then :
37794204 :
37804205 else
3781 cat >conftest.$ac_ext <<_ACEOF
3782 /* confdefs.h. */
3783 _ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37864207 /* end confdefs.h. */
37874208 #include <ctype.h>
37884209 #include <stdlib.h>
38094230 return 0;
38104231 }
38114232 _ACEOF
3812 rm -f conftest$ac_exeext
3813 if { (ac_try="$ac_link"
3814 case "(($ac_try" in
3815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816 *) ac_try_echo=$ac_try;;
3817 esac
3818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3819 (eval "$ac_link") 2>&5
3820 ac_status=$?
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3823 { (case "(($ac_try" in
3824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825 *) ac_try_echo=$ac_try;;
3826 esac
3827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3828 (eval "$ac_try") 2>&5
3829 ac_status=$?
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; }; then
3832 :
3833 else
3834 echo "$as_me: program exited with status $ac_status" >&5
3835 echo "$as_me: failed program was:" >&5
3836 sed 's/^/| /' conftest.$ac_ext >&5
3837
3838 ( exit $ac_status )
3839 ac_cv_header_stdc=no
3840 fi
3841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3842 fi
3843
3844
3845 fi
3846 fi
3847 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3848 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4233 if ac_fn_c_try_run "$LINENO"; then :
4234
4235 else
4236 ac_cv_header_stdc=no
4237 fi
4238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4239 conftest.$ac_objext conftest.beam conftest.$ac_ext
4240 fi
4241
4242 fi
4243 fi
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4245 $as_echo "$ac_cv_header_stdc" >&6; }
38494246 if test $ac_cv_header_stdc = yes; then
38504247
3851 cat >>confdefs.h <<\_ACEOF
3852 #define STDC_HEADERS 1
3853 _ACEOF
4248 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
38544249
38554250 fi
38564251
38574252 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3858
3859
3860
3861
3862
3863
3864
3865
3866
38674253 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
38684254 inttypes.h stdint.h unistd.h
3869 do
3870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3871 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3873 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 else
3876 cat >conftest.$ac_ext <<_ACEOF
3877 /* confdefs.h. */
3878 _ACEOF
3879 cat confdefs.h >>conftest.$ac_ext
3880 cat >>conftest.$ac_ext <<_ACEOF
3881 /* end confdefs.h. */
3882 $ac_includes_default
3883
3884 #include <$ac_header>
3885 _ACEOF
3886 rm -f conftest.$ac_objext
3887 if { (ac_try="$ac_compile"
3888 case "(($ac_try" in
3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3891 esac
3892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3893 (eval "$ac_compile") 2>conftest.er1
3894 ac_status=$?
3895 grep -v '^ *+' conftest.er1 >conftest.err
3896 rm -f conftest.er1
3897 cat conftest.err >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); } && {
3900 test -z "$ac_c_werror_flag" ||
3901 test ! -s conftest.err
3902 } && test -s conftest.$ac_objext; then
3903 eval "$as_ac_Header=yes"
3904 else
3905 echo "$as_me: failed program was:" >&5
3906 sed 's/^/| /' conftest.$ac_ext >&5
3907
3908 eval "$as_ac_Header=no"
3909 fi
3910
3911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3912 fi
3913 ac_res=`eval echo '${'$as_ac_Header'}'`
3914 { echo "$as_me:$LINENO: result: $ac_res" >&5
3915 echo "${ECHO_T}$ac_res" >&6; }
3916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4255 do :
4256 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4257 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4258 "
4259 eval as_val=\$$as_ac_Header
4260 if test "x$as_val" = x""yes; then :
39174261 cat >>confdefs.h <<_ACEOF
3918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4262 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
39194263 _ACEOF
39204264
39214265 fi
39224266
39234267 done
39244268
3925
3926 { echo "$as_me:$LINENO: checking for unsigned char" >&5
3927 echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6; }
3928 if test "${ac_cv_type_unsigned_char+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 else
3931 cat >conftest.$ac_ext <<_ACEOF
3932 /* confdefs.h. */
3933 _ACEOF
3934 cat confdefs.h >>conftest.$ac_ext
3935 cat >>conftest.$ac_ext <<_ACEOF
3936 /* end confdefs.h. */
3937 $ac_includes_default
3938 typedef unsigned char ac__type_new_;
3939 int
3940 main ()
3941 {
3942 if ((ac__type_new_ *) 0)
3943 return 0;
3944 if (sizeof (ac__type_new_))
3945 return 0;
3946 ;
3947 return 0;
3948 }
3949 _ACEOF
3950 rm -f conftest.$ac_objext
3951 if { (ac_try="$ac_compile"
3952 case "(($ac_try" in
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3955 esac
3956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3957 (eval "$ac_compile") 2>conftest.er1
3958 ac_status=$?
3959 grep -v '^ *+' conftest.er1 >conftest.err
3960 rm -f conftest.er1
3961 cat conftest.err >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } && {
3964 test -z "$ac_c_werror_flag" ||
3965 test ! -s conftest.err
3966 } && test -s conftest.$ac_objext; then
3967 ac_cv_type_unsigned_char=yes
3968 else
3969 echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.$ac_ext >&5
3971
3972 ac_cv_type_unsigned_char=no
3973 fi
3974
3975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3976 fi
3977 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
3978 echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6; }
39794269
39804270 # The cast to long int works around a bug in the HP C Compiler
39814271 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
39824272 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
39834273 # This bug is HP SR number 8606223364.
3984 { echo "$as_me:$LINENO: checking size of unsigned char" >&5
3985 echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6; }
3986 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3988 else
3989 if test "$cross_compiling" = yes; then
3990 # Depending upon the size, compute the lo and hi bounds.
3991 cat >conftest.$ac_ext <<_ACEOF
3992 /* confdefs.h. */
3993 _ACEOF
3994 cat confdefs.h >>conftest.$ac_ext
3995 cat >>conftest.$ac_ext <<_ACEOF
3996 /* end confdefs.h. */
3997 $ac_includes_default
3998 typedef unsigned char ac__type_sizeof_;
3999 int
4000 main ()
4001 {
4002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4003 test_array [0] = 0
4004
4005 ;
4006 return 0;
4007 }
4008 _ACEOF
4009 rm -f conftest.$ac_objext
4010 if { (ac_try="$ac_compile"
4011 case "(($ac_try" in
4012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013 *) ac_try_echo=$ac_try;;
4014 esac
4015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4016 (eval "$ac_compile") 2>conftest.er1
4017 ac_status=$?
4018 grep -v '^ *+' conftest.er1 >conftest.err
4019 rm -f conftest.er1
4020 cat conftest.err >&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); } && {
4023 test -z "$ac_c_werror_flag" ||
4024 test ! -s conftest.err
4025 } && test -s conftest.$ac_objext; then
4026 ac_lo=0 ac_mid=0
4027 while :; do
4028 cat >conftest.$ac_ext <<_ACEOF
4029 /* confdefs.h. */
4030 _ACEOF
4031 cat confdefs.h >>conftest.$ac_ext
4032 cat >>conftest.$ac_ext <<_ACEOF
4033 /* end confdefs.h. */
4034 $ac_includes_default
4035 typedef unsigned char ac__type_sizeof_;
4036 int
4037 main ()
4038 {
4039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4040 test_array [0] = 0
4041
4042 ;
4043 return 0;
4044 }
4045 _ACEOF
4046 rm -f conftest.$ac_objext
4047 if { (ac_try="$ac_compile"
4048 case "(($ac_try" in
4049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050 *) ac_try_echo=$ac_try;;
4051 esac
4052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4053 (eval "$ac_compile") 2>conftest.er1
4054 ac_status=$?
4055 grep -v '^ *+' conftest.er1 >conftest.err
4056 rm -f conftest.er1
4057 cat conftest.err >&5
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); } && {
4060 test -z "$ac_c_werror_flag" ||
4061 test ! -s conftest.err
4062 } && test -s conftest.$ac_objext; then
4063 ac_hi=$ac_mid; break
4064 else
4065 echo "$as_me: failed program was:" >&5
4066 sed 's/^/| /' conftest.$ac_ext >&5
4067
4068 ac_lo=`expr $ac_mid + 1`
4069 if test $ac_lo -le $ac_mid; then
4070 ac_lo= ac_hi=
4071 break
4072 fi
4073 ac_mid=`expr 2 '*' $ac_mid + 1`
4074 fi
4075
4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4077 done
4078 else
4079 echo "$as_me: failed program was:" >&5
4080 sed 's/^/| /' conftest.$ac_ext >&5
4081
4082 cat >conftest.$ac_ext <<_ACEOF
4083 /* confdefs.h. */
4084 _ACEOF
4085 cat confdefs.h >>conftest.$ac_ext
4086 cat >>conftest.$ac_ext <<_ACEOF
4087 /* end confdefs.h. */
4088 $ac_includes_default
4089 typedef unsigned char ac__type_sizeof_;
4090 int
4091 main ()
4092 {
4093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4094 test_array [0] = 0
4095
4096 ;
4097 return 0;
4098 }
4099 _ACEOF
4100 rm -f conftest.$ac_objext
4101 if { (ac_try="$ac_compile"
4102 case "(($ac_try" in
4103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4105 esac
4106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4107 (eval "$ac_compile") 2>conftest.er1
4108 ac_status=$?
4109 grep -v '^ *+' conftest.er1 >conftest.err
4110 rm -f conftest.er1
4111 cat conftest.err >&5
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); } && {
4114 test -z "$ac_c_werror_flag" ||
4115 test ! -s conftest.err
4116 } && test -s conftest.$ac_objext; then
4117 ac_hi=-1 ac_mid=-1
4118 while :; do
4119 cat >conftest.$ac_ext <<_ACEOF
4120 /* confdefs.h. */
4121 _ACEOF
4122 cat confdefs.h >>conftest.$ac_ext
4123 cat >>conftest.$ac_ext <<_ACEOF
4124 /* end confdefs.h. */
4125 $ac_includes_default
4126 typedef unsigned char ac__type_sizeof_;
4127 int
4128 main ()
4129 {
4130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4131 test_array [0] = 0
4132
4133 ;
4134 return 0;
4135 }
4136 _ACEOF
4137 rm -f conftest.$ac_objext
4138 if { (ac_try="$ac_compile"
4139 case "(($ac_try" in
4140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4141 *) ac_try_echo=$ac_try;;
4142 esac
4143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4144 (eval "$ac_compile") 2>conftest.er1
4145 ac_status=$?
4146 grep -v '^ *+' conftest.er1 >conftest.err
4147 rm -f conftest.er1
4148 cat conftest.err >&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); } && {
4151 test -z "$ac_c_werror_flag" ||
4152 test ! -s conftest.err
4153 } && test -s conftest.$ac_objext; then
4154 ac_lo=$ac_mid; break
4155 else
4156 echo "$as_me: failed program was:" >&5
4157 sed 's/^/| /' conftest.$ac_ext >&5
4158
4159 ac_hi=`expr '(' $ac_mid ')' - 1`
4160 if test $ac_mid -le $ac_hi; then
4161 ac_lo= ac_hi=
4162 break
4163 fi
4164 ac_mid=`expr 2 '*' $ac_mid`
4165 fi
4166
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4168 done
4169 else
4170 echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4172
4173 ac_lo= ac_hi=
4174 fi
4175
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 fi
4178
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 # Binary search between lo and hi bounds.
4181 while test "x$ac_lo" != "x$ac_hi"; do
4182 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4183 cat >conftest.$ac_ext <<_ACEOF
4184 /* confdefs.h. */
4185 _ACEOF
4186 cat confdefs.h >>conftest.$ac_ext
4187 cat >>conftest.$ac_ext <<_ACEOF
4188 /* end confdefs.h. */
4189 $ac_includes_default
4190 typedef unsigned char ac__type_sizeof_;
4191 int
4192 main ()
4193 {
4194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4195 test_array [0] = 0
4196
4197 ;
4198 return 0;
4199 }
4200 _ACEOF
4201 rm -f conftest.$ac_objext
4202 if { (ac_try="$ac_compile"
4203 case "(($ac_try" in
4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4206 esac
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_compile") 2>conftest.er1
4209 ac_status=$?
4210 grep -v '^ *+' conftest.er1 >conftest.err
4211 rm -f conftest.er1
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } && {
4215 test -z "$ac_c_werror_flag" ||
4216 test ! -s conftest.err
4217 } && test -s conftest.$ac_objext; then
4218 ac_hi=$ac_mid
4219 else
4220 echo "$as_me: failed program was:" >&5
4221 sed 's/^/| /' conftest.$ac_ext >&5
4222
4223 ac_lo=`expr '(' $ac_mid ')' + 1`
4224 fi
4225
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 done
4228 case $ac_lo in
4229 ?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
4230 '') if test "$ac_cv_type_unsigned_char" = yes; then
4231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
4232 See \`config.log' for more details." >&5
4233 echo "$as_me: error: cannot compute sizeof (unsigned char)
4234 See \`config.log' for more details." >&2;}
4235 { (exit 77); exit 77; }; }
4236 else
4237 ac_cv_sizeof_unsigned_char=0
4238 fi ;;
4239 esac
4240 else
4241 cat >conftest.$ac_ext <<_ACEOF
4242 /* confdefs.h. */
4243 _ACEOF
4244 cat confdefs.h >>conftest.$ac_ext
4245 cat >>conftest.$ac_ext <<_ACEOF
4246 /* end confdefs.h. */
4247 $ac_includes_default
4248 typedef unsigned char ac__type_sizeof_;
4249 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4250 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4251 #include <stdio.h>
4252 #include <stdlib.h>
4253 int
4254 main ()
4255 {
4256
4257 FILE *f = fopen ("conftest.val", "w");
4258 if (! f)
4259 return 1;
4260 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4261 {
4262 long int i = longval ();
4263 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4264 return 1;
4265 fprintf (f, "%ld\n", i);
4266 }
4267 else
4268 {
4269 unsigned long int i = ulongval ();
4270 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4271 return 1;
4272 fprintf (f, "%lu\n", i);
4273 }
4274 return ferror (f) || fclose (f) != 0;
4275
4276 ;
4277 return 0;
4278 }
4279 _ACEOF
4280 rm -f conftest$ac_exeext
4281 if { (ac_try="$ac_link"
4282 case "(($ac_try" in
4283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4285 esac
4286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4287 (eval "$ac_link") 2>&5
4288 ac_status=$?
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4291 { (case "(($ac_try" in
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4294 esac
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_try") 2>&5
4297 ac_status=$?
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); }; }; then
4300 ac_cv_sizeof_unsigned_char=`cat conftest.val`
4301 else
4302 echo "$as_me: program exited with status $ac_status" >&5
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.$ac_ext >&5
4305
4306 ( exit $ac_status )
4307 if test "$ac_cv_type_unsigned_char" = yes; then
4308 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
4309 See \`config.log' for more details." >&5
4310 echo "$as_me: error: cannot compute sizeof (unsigned char)
4311 See \`config.log' for more details." >&2;}
4312 { (exit 77); exit 77; }; }
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char" >&5
4275 $as_echo_n "checking size of unsigned char... " >&6; }
4276 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then :
4277 $as_echo_n "(cached) " >&6
4278 else
4279 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char))" "ac_cv_sizeof_unsigned_char" "$ac_includes_default"; then :
4280
4281 else
4282 if test "$ac_cv_type_unsigned_char" = yes; then
4283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4285 { as_fn_set_status 77
4286 as_fn_error "cannot compute sizeof (unsigned char)
4287 See \`config.log' for more details." "$LINENO" 5; }; }
43134288 else
43144289 ac_cv_sizeof_unsigned_char=0
43154290 fi
43164291 fi
4317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4318 fi
4319 rm -f conftest.val
4320 fi
4321 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
4322 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6; }
4292
4293 fi
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char" >&5
4295 $as_echo "$ac_cv_sizeof_unsigned_char" >&6; }
43234296
43244297
43254298
43274300 #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
43284301 _ACEOF
43294302
4330
4331 { echo "$as_me:$LINENO: checking for unsigned short" >&5
4332 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
4333 if test "${ac_cv_type_unsigned_short+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 else
4336 cat >conftest.$ac_ext <<_ACEOF
4337 /* confdefs.h. */
4338 _ACEOF
4339 cat confdefs.h >>conftest.$ac_ext
4340 cat >>conftest.$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4342 $ac_includes_default
4343 typedef unsigned short ac__type_new_;
4344 int
4345 main ()
4346 {
4347 if ((ac__type_new_ *) 0)
4348 return 0;
4349 if (sizeof (ac__type_new_))
4350 return 0;
4351 ;
4352 return 0;
4353 }
4354 _ACEOF
4355 rm -f conftest.$ac_objext
4356 if { (ac_try="$ac_compile"
4357 case "(($ac_try" in
4358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359 *) ac_try_echo=$ac_try;;
4360 esac
4361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4362 (eval "$ac_compile") 2>conftest.er1
4363 ac_status=$?
4364 grep -v '^ *+' conftest.er1 >conftest.err
4365 rm -f conftest.er1
4366 cat conftest.err >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } && {
4369 test -z "$ac_c_werror_flag" ||
4370 test ! -s conftest.err
4371 } && test -s conftest.$ac_objext; then
4372 ac_cv_type_unsigned_short=yes
4373 else
4374 echo "$as_me: failed program was:" >&5
4375 sed 's/^/| /' conftest.$ac_ext >&5
4376
4377 ac_cv_type_unsigned_short=no
4378 fi
4379
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4381 fi
4382 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
4383 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
43844303
43854304 # The cast to long int works around a bug in the HP C Compiler
43864305 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
43874306 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
43884307 # This bug is HP SR number 8606223364.
4389 { echo "$as_me:$LINENO: checking size of unsigned short" >&5
4390 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
4391 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 else
4394 if test "$cross_compiling" = yes; then
4395 # Depending upon the size, compute the lo and hi bounds.
4396 cat >conftest.$ac_ext <<_ACEOF
4397 /* confdefs.h. */
4398 _ACEOF
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4402 $ac_includes_default
4403 typedef unsigned short ac__type_sizeof_;
4404 int
4405 main ()
4406 {
4407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4408 test_array [0] = 0
4409
4410 ;
4411 return 0;
4412 }
4413 _ACEOF
4414 rm -f conftest.$ac_objext
4415 if { (ac_try="$ac_compile"
4416 case "(($ac_try" in
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4419 esac
4420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4421 (eval "$ac_compile") 2>conftest.er1
4422 ac_status=$?
4423 grep -v '^ *+' conftest.er1 >conftest.err
4424 rm -f conftest.er1
4425 cat conftest.err >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); } && {
4428 test -z "$ac_c_werror_flag" ||
4429 test ! -s conftest.err
4430 } && test -s conftest.$ac_objext; then
4431 ac_lo=0 ac_mid=0
4432 while :; do
4433 cat >conftest.$ac_ext <<_ACEOF
4434 /* confdefs.h. */
4435 _ACEOF
4436 cat confdefs.h >>conftest.$ac_ext
4437 cat >>conftest.$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4439 $ac_includes_default
4440 typedef unsigned short ac__type_sizeof_;
4441 int
4442 main ()
4443 {
4444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4445 test_array [0] = 0
4446
4447 ;
4448 return 0;
4449 }
4450 _ACEOF
4451 rm -f conftest.$ac_objext
4452 if { (ac_try="$ac_compile"
4453 case "(($ac_try" in
4454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455 *) ac_try_echo=$ac_try;;
4456 esac
4457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4458 (eval "$ac_compile") 2>conftest.er1
4459 ac_status=$?
4460 grep -v '^ *+' conftest.er1 >conftest.err
4461 rm -f conftest.er1
4462 cat conftest.err >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); } && {
4465 test -z "$ac_c_werror_flag" ||
4466 test ! -s conftest.err
4467 } && test -s conftest.$ac_objext; then
4468 ac_hi=$ac_mid; break
4469 else
4470 echo "$as_me: failed program was:" >&5
4471 sed 's/^/| /' conftest.$ac_ext >&5
4472
4473 ac_lo=`expr $ac_mid + 1`
4474 if test $ac_lo -le $ac_mid; then
4475 ac_lo= ac_hi=
4476 break
4477 fi
4478 ac_mid=`expr 2 '*' $ac_mid + 1`
4479 fi
4480
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482 done
4483 else
4484 echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.$ac_ext >&5
4486
4487 cat >conftest.$ac_ext <<_ACEOF
4488 /* confdefs.h. */
4489 _ACEOF
4490 cat confdefs.h >>conftest.$ac_ext
4491 cat >>conftest.$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4493 $ac_includes_default
4494 typedef unsigned short ac__type_sizeof_;
4495 int
4496 main ()
4497 {
4498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4499 test_array [0] = 0
4500
4501 ;
4502 return 0;
4503 }
4504 _ACEOF
4505 rm -f conftest.$ac_objext
4506 if { (ac_try="$ac_compile"
4507 case "(($ac_try" in
4508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509 *) ac_try_echo=$ac_try;;
4510 esac
4511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4512 (eval "$ac_compile") 2>conftest.er1
4513 ac_status=$?
4514 grep -v '^ *+' conftest.er1 >conftest.err
4515 rm -f conftest.er1
4516 cat conftest.err >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); } && {
4519 test -z "$ac_c_werror_flag" ||
4520 test ! -s conftest.err
4521 } && test -s conftest.$ac_objext; then
4522 ac_hi=-1 ac_mid=-1
4523 while :; do
4524 cat >conftest.$ac_ext <<_ACEOF
4525 /* confdefs.h. */
4526 _ACEOF
4527 cat confdefs.h >>conftest.$ac_ext
4528 cat >>conftest.$ac_ext <<_ACEOF
4529 /* end confdefs.h. */
4530 $ac_includes_default
4531 typedef unsigned short ac__type_sizeof_;
4532 int
4533 main ()
4534 {
4535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4536 test_array [0] = 0
4537
4538 ;
4539 return 0;
4540 }
4541 _ACEOF
4542 rm -f conftest.$ac_objext
4543 if { (ac_try="$ac_compile"
4544 case "(($ac_try" in
4545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546 *) ac_try_echo=$ac_try;;
4547 esac
4548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4549 (eval "$ac_compile") 2>conftest.er1
4550 ac_status=$?
4551 grep -v '^ *+' conftest.er1 >conftest.err
4552 rm -f conftest.er1
4553 cat conftest.err >&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); } && {
4556 test -z "$ac_c_werror_flag" ||
4557 test ! -s conftest.err
4558 } && test -s conftest.$ac_objext; then
4559 ac_lo=$ac_mid; break
4560 else
4561 echo "$as_me: failed program was:" >&5
4562 sed 's/^/| /' conftest.$ac_ext >&5
4563
4564 ac_hi=`expr '(' $ac_mid ')' - 1`
4565 if test $ac_mid -le $ac_hi; then
4566 ac_lo= ac_hi=
4567 break
4568 fi
4569 ac_mid=`expr 2 '*' $ac_mid`
4570 fi
4571
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 done
4574 else
4575 echo "$as_me: failed program was:" >&5
4576 sed 's/^/| /' conftest.$ac_ext >&5
4577
4578 ac_lo= ac_hi=
4579 fi
4580
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 fi
4583
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 # Binary search between lo and hi bounds.
4586 while test "x$ac_lo" != "x$ac_hi"; do
4587 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4588 cat >conftest.$ac_ext <<_ACEOF
4589 /* confdefs.h. */
4590 _ACEOF
4591 cat confdefs.h >>conftest.$ac_ext
4592 cat >>conftest.$ac_ext <<_ACEOF
4593 /* end confdefs.h. */
4594 $ac_includes_default
4595 typedef unsigned short ac__type_sizeof_;
4596 int
4597 main ()
4598 {
4599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4600 test_array [0] = 0
4601
4602 ;
4603 return 0;
4604 }
4605 _ACEOF
4606 rm -f conftest.$ac_objext
4607 if { (ac_try="$ac_compile"
4608 case "(($ac_try" in
4609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610 *) ac_try_echo=$ac_try;;
4611 esac
4612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4613 (eval "$ac_compile") 2>conftest.er1
4614 ac_status=$?
4615 grep -v '^ *+' conftest.er1 >conftest.err
4616 rm -f conftest.er1
4617 cat conftest.err >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); } && {
4620 test -z "$ac_c_werror_flag" ||
4621 test ! -s conftest.err
4622 } && test -s conftest.$ac_objext; then
4623 ac_hi=$ac_mid
4624 else
4625 echo "$as_me: failed program was:" >&5
4626 sed 's/^/| /' conftest.$ac_ext >&5
4627
4628 ac_lo=`expr '(' $ac_mid ')' + 1`
4629 fi
4630
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4632 done
4633 case $ac_lo in
4634 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
4635 '') if test "$ac_cv_type_unsigned_short" = yes; then
4636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
4637 See \`config.log' for more details." >&5
4638 echo "$as_me: error: cannot compute sizeof (unsigned short)
4639 See \`config.log' for more details." >&2;}
4640 { (exit 77); exit 77; }; }
4641 else
4642 ac_cv_sizeof_unsigned_short=0
4643 fi ;;
4644 esac
4645 else
4646 cat >conftest.$ac_ext <<_ACEOF
4647 /* confdefs.h. */
4648 _ACEOF
4649 cat confdefs.h >>conftest.$ac_ext
4650 cat >>conftest.$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4652 $ac_includes_default
4653 typedef unsigned short ac__type_sizeof_;
4654 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4655 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4656 #include <stdio.h>
4657 #include <stdlib.h>
4658 int
4659 main ()
4660 {
4661
4662 FILE *f = fopen ("conftest.val", "w");
4663 if (! f)
4664 return 1;
4665 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4666 {
4667 long int i = longval ();
4668 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4669 return 1;
4670 fprintf (f, "%ld\n", i);
4671 }
4672 else
4673 {
4674 unsigned long int i = ulongval ();
4675 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4676 return 1;
4677 fprintf (f, "%lu\n", i);
4678 }
4679 return ferror (f) || fclose (f) != 0;
4680
4681 ;
4682 return 0;
4683 }
4684 _ACEOF
4685 rm -f conftest$ac_exeext
4686 if { (ac_try="$ac_link"
4687 case "(($ac_try" in
4688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4690 esac
4691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval "$ac_link") 2>&5
4693 ac_status=$?
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4696 { (case "(($ac_try" in
4697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698 *) ac_try_echo=$ac_try;;
4699 esac
4700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4701 (eval "$ac_try") 2>&5
4702 ac_status=$?
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); }; }; then
4705 ac_cv_sizeof_unsigned_short=`cat conftest.val`
4706 else
4707 echo "$as_me: program exited with status $ac_status" >&5
4708 echo "$as_me: failed program was:" >&5
4709 sed 's/^/| /' conftest.$ac_ext >&5
4710
4711 ( exit $ac_status )
4712 if test "$ac_cv_type_unsigned_short" = yes; then
4713 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
4714 See \`config.log' for more details." >&5
4715 echo "$as_me: error: cannot compute sizeof (unsigned short)
4716 See \`config.log' for more details." >&2;}
4717 { (exit 77); exit 77; }; }
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
4309 $as_echo_n "checking size of unsigned short... " >&6; }
4310 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then :
4311 $as_echo_n "(cached) " >&6
4312 else
4313 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
4314
4315 else
4316 if test "$ac_cv_type_unsigned_short" = yes; then
4317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4319 { as_fn_set_status 77
4320 as_fn_error "cannot compute sizeof (unsigned short)
4321 See \`config.log' for more details." "$LINENO" 5; }; }
47184322 else
47194323 ac_cv_sizeof_unsigned_short=0
47204324 fi
47214325 fi
4722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4723 fi
4724 rm -f conftest.val
4725 fi
4726 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
4727 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
4326
4327 fi
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
4329 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
47284330
47294331
47304332
47324334 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
47334335 _ACEOF
47344336
4735
4736 { echo "$as_me:$LINENO: checking for unsigned int" >&5
4737 echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
4738 if test "${ac_cv_type_unsigned_int+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 else
4741 cat >conftest.$ac_ext <<_ACEOF
4742 /* confdefs.h. */
4743 _ACEOF
4744 cat confdefs.h >>conftest.$ac_ext
4745 cat >>conftest.$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4747 $ac_includes_default
4748 typedef unsigned int ac__type_new_;
4749 int
4750 main ()
4751 {
4752 if ((ac__type_new_ *) 0)
4753 return 0;
4754 if (sizeof (ac__type_new_))
4755 return 0;
4756 ;
4757 return 0;
4758 }
4759 _ACEOF
4760 rm -f conftest.$ac_objext
4761 if { (ac_try="$ac_compile"
4762 case "(($ac_try" in
4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4764 *) ac_try_echo=$ac_try;;
4765 esac
4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4767 (eval "$ac_compile") 2>conftest.er1
4768 ac_status=$?
4769 grep -v '^ *+' conftest.er1 >conftest.err
4770 rm -f conftest.er1
4771 cat conftest.err >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && {
4774 test -z "$ac_c_werror_flag" ||
4775 test ! -s conftest.err
4776 } && test -s conftest.$ac_objext; then
4777 ac_cv_type_unsigned_int=yes
4778 else
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.$ac_ext >&5
4781
4782 ac_cv_type_unsigned_int=no
4783 fi
4784
4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786 fi
4787 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
4788 echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
47894337
47904338 # The cast to long int works around a bug in the HP C Compiler
47914339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
47924340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
47934341 # This bug is HP SR number 8606223364.
4794 { echo "$as_me:$LINENO: checking size of unsigned int" >&5
4795 echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
4796 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
4797 echo $ECHO_N "(cached) $ECHO_C" >&6
4798 else
4799 if test "$cross_compiling" = yes; then
4800 # Depending upon the size, compute the lo and hi bounds.
4801 cat >conftest.$ac_ext <<_ACEOF
4802 /* confdefs.h. */
4803 _ACEOF
4804 cat confdefs.h >>conftest.$ac_ext
4805 cat >>conftest.$ac_ext <<_ACEOF
4806 /* end confdefs.h. */
4807 $ac_includes_default
4808 typedef unsigned int ac__type_sizeof_;
4809 int
4810 main ()
4811 {
4812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4813 test_array [0] = 0
4814
4815 ;
4816 return 0;
4817 }
4818 _ACEOF
4819 rm -f conftest.$ac_objext
4820 if { (ac_try="$ac_compile"
4821 case "(($ac_try" in
4822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823 *) ac_try_echo=$ac_try;;
4824 esac
4825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4826 (eval "$ac_compile") 2>conftest.er1
4827 ac_status=$?
4828 grep -v '^ *+' conftest.er1 >conftest.err
4829 rm -f conftest.er1
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } && {
4833 test -z "$ac_c_werror_flag" ||
4834 test ! -s conftest.err
4835 } && test -s conftest.$ac_objext; then
4836 ac_lo=0 ac_mid=0
4837 while :; do
4838 cat >conftest.$ac_ext <<_ACEOF
4839 /* confdefs.h. */
4840 _ACEOF
4841 cat confdefs.h >>conftest.$ac_ext
4842 cat >>conftest.$ac_ext <<_ACEOF
4843 /* end confdefs.h. */
4844 $ac_includes_default
4845 typedef unsigned int ac__type_sizeof_;
4846 int
4847 main ()
4848 {
4849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4850 test_array [0] = 0
4851
4852 ;
4853 return 0;
4854 }
4855 _ACEOF
4856 rm -f conftest.$ac_objext
4857 if { (ac_try="$ac_compile"
4858 case "(($ac_try" in
4859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4860 *) ac_try_echo=$ac_try;;
4861 esac
4862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4863 (eval "$ac_compile") 2>conftest.er1
4864 ac_status=$?
4865 grep -v '^ *+' conftest.er1 >conftest.err
4866 rm -f conftest.er1
4867 cat conftest.err >&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); } && {
4870 test -z "$ac_c_werror_flag" ||
4871 test ! -s conftest.err
4872 } && test -s conftest.$ac_objext; then
4873 ac_hi=$ac_mid; break
4874 else
4875 echo "$as_me: failed program was:" >&5
4876 sed 's/^/| /' conftest.$ac_ext >&5
4877
4878 ac_lo=`expr $ac_mid + 1`
4879 if test $ac_lo -le $ac_mid; then
4880 ac_lo= ac_hi=
4881 break
4882 fi
4883 ac_mid=`expr 2 '*' $ac_mid + 1`
4884 fi
4885
4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4887 done
4888 else
4889 echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4891
4892 cat >conftest.$ac_ext <<_ACEOF
4893 /* confdefs.h. */
4894 _ACEOF
4895 cat confdefs.h >>conftest.$ac_ext
4896 cat >>conftest.$ac_ext <<_ACEOF
4897 /* end confdefs.h. */
4898 $ac_includes_default
4899 typedef unsigned int ac__type_sizeof_;
4900 int
4901 main ()
4902 {
4903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4904 test_array [0] = 0
4905
4906 ;
4907 return 0;
4908 }
4909 _ACEOF
4910 rm -f conftest.$ac_objext
4911 if { (ac_try="$ac_compile"
4912 case "(($ac_try" in
4913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4914 *) ac_try_echo=$ac_try;;
4915 esac
4916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4917 (eval "$ac_compile") 2>conftest.er1
4918 ac_status=$?
4919 grep -v '^ *+' conftest.er1 >conftest.err
4920 rm -f conftest.er1
4921 cat conftest.err >&5
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); } && {
4924 test -z "$ac_c_werror_flag" ||
4925 test ! -s conftest.err
4926 } && test -s conftest.$ac_objext; then
4927 ac_hi=-1 ac_mid=-1
4928 while :; do
4929 cat >conftest.$ac_ext <<_ACEOF
4930 /* confdefs.h. */
4931 _ACEOF
4932 cat confdefs.h >>conftest.$ac_ext
4933 cat >>conftest.$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4935 $ac_includes_default
4936 typedef unsigned int ac__type_sizeof_;
4937 int
4938 main ()
4939 {
4940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4941 test_array [0] = 0
4942
4943 ;
4944 return 0;
4945 }
4946 _ACEOF
4947 rm -f conftest.$ac_objext
4948 if { (ac_try="$ac_compile"
4949 case "(($ac_try" in
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;;
4952 esac
4953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954 (eval "$ac_compile") 2>conftest.er1
4955 ac_status=$?
4956 grep -v '^ *+' conftest.er1 >conftest.err
4957 rm -f conftest.er1
4958 cat conftest.err >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } && {
4961 test -z "$ac_c_werror_flag" ||
4962 test ! -s conftest.err
4963 } && test -s conftest.$ac_objext; then
4964 ac_lo=$ac_mid; break
4965 else
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.$ac_ext >&5
4968
4969 ac_hi=`expr '(' $ac_mid ')' - 1`
4970 if test $ac_mid -le $ac_hi; then
4971 ac_lo= ac_hi=
4972 break
4973 fi
4974 ac_mid=`expr 2 '*' $ac_mid`
4975 fi
4976
4977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4978 done
4979 else
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4982
4983 ac_lo= ac_hi=
4984 fi
4985
4986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4987 fi
4988
4989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4990 # Binary search between lo and hi bounds.
4991 while test "x$ac_lo" != "x$ac_hi"; do
4992 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4993 cat >conftest.$ac_ext <<_ACEOF
4994 /* confdefs.h. */
4995 _ACEOF
4996 cat confdefs.h >>conftest.$ac_ext
4997 cat >>conftest.$ac_ext <<_ACEOF
4998 /* end confdefs.h. */
4999 $ac_includes_default
5000 typedef unsigned int ac__type_sizeof_;
5001 int
5002 main ()
5003 {
5004 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5005 test_array [0] = 0
5006
5007 ;
5008 return 0;
5009 }
5010 _ACEOF
5011 rm -f conftest.$ac_objext
5012 if { (ac_try="$ac_compile"
5013 case "(($ac_try" in
5014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5015 *) ac_try_echo=$ac_try;;
5016 esac
5017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5018 (eval "$ac_compile") 2>conftest.er1
5019 ac_status=$?
5020 grep -v '^ *+' conftest.er1 >conftest.err
5021 rm -f conftest.er1
5022 cat conftest.err >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } && {
5025 test -z "$ac_c_werror_flag" ||
5026 test ! -s conftest.err
5027 } && test -s conftest.$ac_objext; then
5028 ac_hi=$ac_mid
5029 else
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.$ac_ext >&5
5032
5033 ac_lo=`expr '(' $ac_mid ')' + 1`
5034 fi
5035
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 done
5038 case $ac_lo in
5039 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
5040 '') if test "$ac_cv_type_unsigned_int" = yes; then
5041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
5042 See \`config.log' for more details." >&5
5043 echo "$as_me: error: cannot compute sizeof (unsigned int)
5044 See \`config.log' for more details." >&2;}
5045 { (exit 77); exit 77; }; }
5046 else
5047 ac_cv_sizeof_unsigned_int=0
5048 fi ;;
5049 esac
5050 else
5051 cat >conftest.$ac_ext <<_ACEOF
5052 /* confdefs.h. */
5053 _ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5057 $ac_includes_default
5058 typedef unsigned int ac__type_sizeof_;
5059 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5060 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5061 #include <stdio.h>
5062 #include <stdlib.h>
5063 int
5064 main ()
5065 {
5066
5067 FILE *f = fopen ("conftest.val", "w");
5068 if (! f)
5069 return 1;
5070 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5071 {
5072 long int i = longval ();
5073 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5074 return 1;
5075 fprintf (f, "%ld\n", i);
5076 }
5077 else
5078 {
5079 unsigned long int i = ulongval ();
5080 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5081 return 1;
5082 fprintf (f, "%lu\n", i);
5083 }
5084 return ferror (f) || fclose (f) != 0;
5085
5086 ;
5087 return 0;
5088 }
5089 _ACEOF
5090 rm -f conftest$ac_exeext
5091 if { (ac_try="$ac_link"
5092 case "(($ac_try" in
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5095 esac
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097 (eval "$ac_link") 2>&5
5098 ac_status=$?
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5101 { (case "(($ac_try" in
5102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5103 *) ac_try_echo=$ac_try;;
5104 esac
5105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5106 (eval "$ac_try") 2>&5
5107 ac_status=$?
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5110 ac_cv_sizeof_unsigned_int=`cat conftest.val`
5111 else
5112 echo "$as_me: program exited with status $ac_status" >&5
5113 echo "$as_me: failed program was:" >&5
5114 sed 's/^/| /' conftest.$ac_ext >&5
5115
5116 ( exit $ac_status )
5117 if test "$ac_cv_type_unsigned_int" = yes; then
5118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
5119 See \`config.log' for more details." >&5
5120 echo "$as_me: error: cannot compute sizeof (unsigned int)
5121 See \`config.log' for more details." >&2;}
5122 { (exit 77); exit 77; }; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
4343 $as_echo_n "checking size of unsigned int... " >&6; }
4344 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
4348
4349 else
4350 if test "$ac_cv_type_unsigned_int" = yes; then
4351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4353 { as_fn_set_status 77
4354 as_fn_error "cannot compute sizeof (unsigned int)
4355 See \`config.log' for more details." "$LINENO" 5; }; }
51234356 else
51244357 ac_cv_sizeof_unsigned_int=0
51254358 fi
51264359 fi
5127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5128 fi
5129 rm -f conftest.val
5130 fi
5131 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
5132 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
4360
4361 fi
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
4363 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
51334364
51344365
51354366
51374368 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
51384369 _ACEOF
51394370
5140
5141 { echo "$as_me:$LINENO: checking for unsigned long" >&5
5142 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
5143 if test "${ac_cv_type_unsigned_long+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 else
5146 cat >conftest.$ac_ext <<_ACEOF
5147 /* confdefs.h. */
5148 _ACEOF
5149 cat confdefs.h >>conftest.$ac_ext
5150 cat >>conftest.$ac_ext <<_ACEOF
5151 /* end confdefs.h. */
5152 $ac_includes_default
5153 typedef unsigned long ac__type_new_;
5154 int
5155 main ()
5156 {
5157 if ((ac__type_new_ *) 0)
5158 return 0;
5159 if (sizeof (ac__type_new_))
5160 return 0;
5161 ;
5162 return 0;
5163 }
5164 _ACEOF
5165 rm -f conftest.$ac_objext
5166 if { (ac_try="$ac_compile"
5167 case "(($ac_try" in
5168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5169 *) ac_try_echo=$ac_try;;
5170 esac
5171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5172 (eval "$ac_compile") 2>conftest.er1
5173 ac_status=$?
5174 grep -v '^ *+' conftest.er1 >conftest.err
5175 rm -f conftest.er1
5176 cat conftest.err >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } && {
5179 test -z "$ac_c_werror_flag" ||
5180 test ! -s conftest.err
5181 } && test -s conftest.$ac_objext; then
5182 ac_cv_type_unsigned_long=yes
5183 else
5184 echo "$as_me: failed program was:" >&5
5185 sed 's/^/| /' conftest.$ac_ext >&5
5186
5187 ac_cv_type_unsigned_long=no
5188 fi
5189
5190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5191 fi
5192 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
5193 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
51944371
51954372 # The cast to long int works around a bug in the HP C Compiler
51964373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
51974374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
51984375 # This bug is HP SR number 8606223364.
5199 { echo "$as_me:$LINENO: checking size of unsigned long" >&5
5200 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
5201 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
5202 echo $ECHO_N "(cached) $ECHO_C" >&6
5203 else
5204 if test "$cross_compiling" = yes; then
5205 # Depending upon the size, compute the lo and hi bounds.
5206 cat >conftest.$ac_ext <<_ACEOF
5207 /* confdefs.h. */
5208 _ACEOF
5209 cat confdefs.h >>conftest.$ac_ext
5210 cat >>conftest.$ac_ext <<_ACEOF
5211 /* end confdefs.h. */
5212 $ac_includes_default
5213 typedef unsigned long ac__type_sizeof_;
5214 int
5215 main ()
5216 {
5217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5218 test_array [0] = 0
5219
5220 ;
5221 return 0;
5222 }
5223 _ACEOF
5224 rm -f conftest.$ac_objext
5225 if { (ac_try="$ac_compile"
5226 case "(($ac_try" in
5227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228 *) ac_try_echo=$ac_try;;
5229 esac
5230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5231 (eval "$ac_compile") 2>conftest.er1
5232 ac_status=$?
5233 grep -v '^ *+' conftest.er1 >conftest.err
5234 rm -f conftest.er1
5235 cat conftest.err >&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } && {
5238 test -z "$ac_c_werror_flag" ||
5239 test ! -s conftest.err
5240 } && test -s conftest.$ac_objext; then
5241 ac_lo=0 ac_mid=0
5242 while :; do
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 typedef unsigned long ac__type_sizeof_;
5251 int
5252 main ()
5253 {
5254 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5255 test_array [0] = 0
5256
5257 ;
5258 return 0;
5259 }
5260 _ACEOF
5261 rm -f conftest.$ac_objext
5262 if { (ac_try="$ac_compile"
5263 case "(($ac_try" in
5264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265 *) ac_try_echo=$ac_try;;
5266 esac
5267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5268 (eval "$ac_compile") 2>conftest.er1
5269 ac_status=$?
5270 grep -v '^ *+' conftest.er1 >conftest.err
5271 rm -f conftest.er1
5272 cat conftest.err >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); } && {
5275 test -z "$ac_c_werror_flag" ||
5276 test ! -s conftest.err
5277 } && test -s conftest.$ac_objext; then
5278 ac_hi=$ac_mid; break
5279 else
5280 echo "$as_me: failed program was:" >&5
5281 sed 's/^/| /' conftest.$ac_ext >&5
5282
5283 ac_lo=`expr $ac_mid + 1`
5284 if test $ac_lo -le $ac_mid; then
5285 ac_lo= ac_hi=
5286 break
5287 fi
5288 ac_mid=`expr 2 '*' $ac_mid + 1`
5289 fi
5290
5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5292 done
5293 else
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.$ac_ext >&5
5296
5297 cat >conftest.$ac_ext <<_ACEOF
5298 /* confdefs.h. */
5299 _ACEOF
5300 cat confdefs.h >>conftest.$ac_ext
5301 cat >>conftest.$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5303 $ac_includes_default
5304 typedef unsigned long ac__type_sizeof_;
5305 int
5306 main ()
5307 {
5308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5309 test_array [0] = 0
5310
5311 ;
5312 return 0;
5313 }
5314 _ACEOF
5315 rm -f conftest.$ac_objext
5316 if { (ac_try="$ac_compile"
5317 case "(($ac_try" in
5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5319 *) ac_try_echo=$ac_try;;
5320 esac
5321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5322 (eval "$ac_compile") 2>conftest.er1
5323 ac_status=$?
5324 grep -v '^ *+' conftest.er1 >conftest.err
5325 rm -f conftest.er1
5326 cat conftest.err >&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); } && {
5329 test -z "$ac_c_werror_flag" ||
5330 test ! -s conftest.err
5331 } && test -s conftest.$ac_objext; then
5332 ac_hi=-1 ac_mid=-1
5333 while :; do
5334 cat >conftest.$ac_ext <<_ACEOF
5335 /* confdefs.h. */
5336 _ACEOF
5337 cat confdefs.h >>conftest.$ac_ext
5338 cat >>conftest.$ac_ext <<_ACEOF
5339 /* end confdefs.h. */
5340 $ac_includes_default
5341 typedef unsigned long ac__type_sizeof_;
5342 int
5343 main ()
5344 {
5345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5346 test_array [0] = 0
5347
5348 ;
5349 return 0;
5350 }
5351 _ACEOF
5352 rm -f conftest.$ac_objext
5353 if { (ac_try="$ac_compile"
5354 case "(($ac_try" in
5355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5356 *) ac_try_echo=$ac_try;;
5357 esac
5358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5359 (eval "$ac_compile") 2>conftest.er1
5360 ac_status=$?
5361 grep -v '^ *+' conftest.er1 >conftest.err
5362 rm -f conftest.er1
5363 cat conftest.err >&5
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); } && {
5366 test -z "$ac_c_werror_flag" ||
5367 test ! -s conftest.err
5368 } && test -s conftest.$ac_objext; then
5369 ac_lo=$ac_mid; break
5370 else
5371 echo "$as_me: failed program was:" >&5
5372 sed 's/^/| /' conftest.$ac_ext >&5
5373
5374 ac_hi=`expr '(' $ac_mid ')' - 1`
5375 if test $ac_mid -le $ac_hi; then
5376 ac_lo= ac_hi=
5377 break
5378 fi
5379 ac_mid=`expr 2 '*' $ac_mid`
5380 fi
5381
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5383 done
5384 else
5385 echo "$as_me: failed program was:" >&5
5386 sed 's/^/| /' conftest.$ac_ext >&5
5387
5388 ac_lo= ac_hi=
5389 fi
5390
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 fi
5393
5394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 # Binary search between lo and hi bounds.
5396 while test "x$ac_lo" != "x$ac_hi"; do
5397 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5398 cat >conftest.$ac_ext <<_ACEOF
5399 /* confdefs.h. */
5400 _ACEOF
5401 cat confdefs.h >>conftest.$ac_ext
5402 cat >>conftest.$ac_ext <<_ACEOF
5403 /* end confdefs.h. */
5404 $ac_includes_default
5405 typedef unsigned long ac__type_sizeof_;
5406 int
5407 main ()
5408 {
5409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5410 test_array [0] = 0
5411
5412 ;
5413 return 0;
5414 }
5415 _ACEOF
5416 rm -f conftest.$ac_objext
5417 if { (ac_try="$ac_compile"
5418 case "(($ac_try" in
5419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5420 *) ac_try_echo=$ac_try;;
5421 esac
5422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5423 (eval "$ac_compile") 2>conftest.er1
5424 ac_status=$?
5425 grep -v '^ *+' conftest.er1 >conftest.err
5426 rm -f conftest.er1
5427 cat conftest.err >&5
5428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5429 (exit $ac_status); } && {
5430 test -z "$ac_c_werror_flag" ||
5431 test ! -s conftest.err
5432 } && test -s conftest.$ac_objext; then
5433 ac_hi=$ac_mid
5434 else
5435 echo "$as_me: failed program was:" >&5
5436 sed 's/^/| /' conftest.$ac_ext >&5
5437
5438 ac_lo=`expr '(' $ac_mid ')' + 1`
5439 fi
5440
5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5442 done
5443 case $ac_lo in
5444 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
5445 '') if test "$ac_cv_type_unsigned_long" = yes; then
5446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
5447 See \`config.log' for more details." >&5
5448 echo "$as_me: error: cannot compute sizeof (unsigned long)
5449 See \`config.log' for more details." >&2;}
5450 { (exit 77); exit 77; }; }
5451 else
5452 ac_cv_sizeof_unsigned_long=0
5453 fi ;;
5454 esac
5455 else
5456 cat >conftest.$ac_ext <<_ACEOF
5457 /* confdefs.h. */
5458 _ACEOF
5459 cat confdefs.h >>conftest.$ac_ext
5460 cat >>conftest.$ac_ext <<_ACEOF
5461 /* end confdefs.h. */
5462 $ac_includes_default
5463 typedef unsigned long ac__type_sizeof_;
5464 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5465 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5466 #include <stdio.h>
5467 #include <stdlib.h>
5468 int
5469 main ()
5470 {
5471
5472 FILE *f = fopen ("conftest.val", "w");
5473 if (! f)
5474 return 1;
5475 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5476 {
5477 long int i = longval ();
5478 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5479 return 1;
5480 fprintf (f, "%ld\n", i);
5481 }
5482 else
5483 {
5484 unsigned long int i = ulongval ();
5485 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5486 return 1;
5487 fprintf (f, "%lu\n", i);
5488 }
5489 return ferror (f) || fclose (f) != 0;
5490
5491 ;
5492 return 0;
5493 }
5494 _ACEOF
5495 rm -f conftest$ac_exeext
5496 if { (ac_try="$ac_link"
5497 case "(($ac_try" in
5498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5499 *) ac_try_echo=$ac_try;;
5500 esac
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_link") 2>&5
5503 ac_status=$?
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5506 { (case "(($ac_try" in
5507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5509 esac
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_try") 2>&5
5512 ac_status=$?
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; }; then
5515 ac_cv_sizeof_unsigned_long=`cat conftest.val`
5516 else
5517 echo "$as_me: program exited with status $ac_status" >&5
5518 echo "$as_me: failed program was:" >&5
5519 sed 's/^/| /' conftest.$ac_ext >&5
5520
5521 ( exit $ac_status )
5522 if test "$ac_cv_type_unsigned_long" = yes; then
5523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
5524 See \`config.log' for more details." >&5
5525 echo "$as_me: error: cannot compute sizeof (unsigned long)
5526 See \`config.log' for more details." >&2;}
5527 { (exit 77); exit 77; }; }
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
4377 $as_echo_n "checking size of unsigned long... " >&6; }
4378 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
4382
4383 else
4384 if test "$ac_cv_type_unsigned_long" = yes; then
4385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4387 { as_fn_set_status 77
4388 as_fn_error "cannot compute sizeof (unsigned long)
4389 See \`config.log' for more details." "$LINENO" 5; }; }
55284390 else
55294391 ac_cv_sizeof_unsigned_long=0
55304392 fi
55314393 fi
5532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5533 fi
5534 rm -f conftest.val
5535 fi
5536 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
5537 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
4394
4395 fi
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
4397 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
55384398
55394399
55404400
55444404
55454405
55464406
5547
5548
5549
5550
5551
5552
55534407 for ac_header in ncurses.h ncurses/curses.h curses.h cursesX.h sys/types.h fcntl.h
5554 do
5555 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5560 echo $ECHO_N "(cached) $ECHO_C" >&6
5561 fi
5562 ac_res=`eval echo '${'$as_ac_Header'}'`
5563 { echo "$as_me:$LINENO: result: $ac_res" >&5
5564 echo "${ECHO_T}$ac_res" >&6; }
5565 else
5566 # Is the header compilable?
5567 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5569 cat >conftest.$ac_ext <<_ACEOF
5570 /* confdefs.h. */
5571 _ACEOF
5572 cat confdefs.h >>conftest.$ac_ext
5573 cat >>conftest.$ac_ext <<_ACEOF
5574 /* end confdefs.h. */
5575 $ac_includes_default
5576 #include <$ac_header>
5577 _ACEOF
5578 rm -f conftest.$ac_objext
5579 if { (ac_try="$ac_compile"
5580 case "(($ac_try" in
5581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5582 *) ac_try_echo=$ac_try;;
5583 esac
5584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5585 (eval "$ac_compile") 2>conftest.er1
5586 ac_status=$?
5587 grep -v '^ *+' conftest.er1 >conftest.err
5588 rm -f conftest.er1
5589 cat conftest.err >&5
5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591 (exit $ac_status); } && {
5592 test -z "$ac_c_werror_flag" ||
5593 test ! -s conftest.err
5594 } && test -s conftest.$ac_objext; then
5595 ac_header_compiler=yes
5596 else
5597 echo "$as_me: failed program was:" >&5
5598 sed 's/^/| /' conftest.$ac_ext >&5
5599
5600 ac_header_compiler=no
5601 fi
5602
5603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5604 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5605 echo "${ECHO_T}$ac_header_compiler" >&6; }
5606
5607 # Is the header present?
5608 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5609 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5610 cat >conftest.$ac_ext <<_ACEOF
5611 /* confdefs.h. */
5612 _ACEOF
5613 cat confdefs.h >>conftest.$ac_ext
5614 cat >>conftest.$ac_ext <<_ACEOF
5615 /* end confdefs.h. */
5616 #include <$ac_header>
5617 _ACEOF
5618 if { (ac_try="$ac_cpp conftest.$ac_ext"
5619 case "(($ac_try" in
5620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5621 *) ac_try_echo=$ac_try;;
5622 esac
5623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5625 ac_status=$?
5626 grep -v '^ *+' conftest.er1 >conftest.err
5627 rm -f conftest.er1
5628 cat conftest.err >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } >/dev/null && {
5631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5632 test ! -s conftest.err
5633 }; then
5634 ac_header_preproc=yes
5635 else
5636 echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.$ac_ext >&5
5638
5639 ac_header_preproc=no
5640 fi
5641
5642 rm -f conftest.err conftest.$ac_ext
5643 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5644 echo "${ECHO_T}$ac_header_preproc" >&6; }
5645
5646 # So? What about this header?
5647 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5648 yes:no: )
5649 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5650 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5652 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5653 ac_header_preproc=yes
5654 ;;
5655 no:yes:* )
5656 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5657 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5658 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5659 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5660 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5661 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5662 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5663 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5665 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5666 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5667 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5668
5669 ;;
5670 esac
5671 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5674 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 else
5676 eval "$as_ac_Header=\$ac_header_preproc"
5677 fi
5678 ac_res=`eval echo '${'$as_ac_Header'}'`
5679 { echo "$as_me:$LINENO: result: $ac_res" >&5
5680 echo "${ECHO_T}$ac_res" >&6; }
5681
5682 fi
5683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4408 do :
4409 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4410 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4411 eval as_val=\$$as_ac_Header
4412 if test "x$as_val" = x""yes; then :
56844413 cat >>confdefs.h <<_ACEOF
5685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4414 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
56864415 _ACEOF
56874416
56884417 fi
56894418
56904419 done
56914420
5692
5693
5694
56954421 for ac_header in socket.h sys/socket.h sys/xti.h
5696 do
5697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5699 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5702 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 fi
5704 ac_res=`eval echo '${'$as_ac_Header'}'`
5705 { echo "$as_me:$LINENO: result: $ac_res" >&5
5706 echo "${ECHO_T}$ac_res" >&6; }
5707 else
5708 # Is the header compilable?
5709 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5711 cat >conftest.$ac_ext <<_ACEOF
5712 /* confdefs.h. */
5713 _ACEOF
5714 cat confdefs.h >>conftest.$ac_ext
5715 cat >>conftest.$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5717 $ac_includes_default
5718 #include <$ac_header>
5719 _ACEOF
5720 rm -f conftest.$ac_objext
5721 if { (ac_try="$ac_compile"
5722 case "(($ac_try" in
5723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5724 *) ac_try_echo=$ac_try;;
5725 esac
5726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5727 (eval "$ac_compile") 2>conftest.er1
5728 ac_status=$?
5729 grep -v '^ *+' conftest.er1 >conftest.err
5730 rm -f conftest.er1
5731 cat conftest.err >&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); } && {
5734 test -z "$ac_c_werror_flag" ||
5735 test ! -s conftest.err
5736 } && test -s conftest.$ac_objext; then
5737 ac_header_compiler=yes
5738 else
5739 echo "$as_me: failed program was:" >&5
5740 sed 's/^/| /' conftest.$ac_ext >&5
5741
5742 ac_header_compiler=no
5743 fi
5744
5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5746 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5747 echo "${ECHO_T}$ac_header_compiler" >&6; }
5748
5749 # Is the header present?
5750 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5752 cat >conftest.$ac_ext <<_ACEOF
5753 /* confdefs.h. */
5754 _ACEOF
5755 cat confdefs.h >>conftest.$ac_ext
5756 cat >>conftest.$ac_ext <<_ACEOF
5757 /* end confdefs.h. */
5758 #include <$ac_header>
5759 _ACEOF
5760 if { (ac_try="$ac_cpp conftest.$ac_ext"
5761 case "(($ac_try" in
5762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5763 *) ac_try_echo=$ac_try;;
5764 esac
5765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5767 ac_status=$?
5768 grep -v '^ *+' conftest.er1 >conftest.err
5769 rm -f conftest.er1
5770 cat conftest.err >&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); } >/dev/null && {
5773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5774 test ! -s conftest.err
5775 }; then
5776 ac_header_preproc=yes
5777 else
5778 echo "$as_me: failed program was:" >&5
5779 sed 's/^/| /' conftest.$ac_ext >&5
5780
5781 ac_header_preproc=no
5782 fi
5783
5784 rm -f conftest.err conftest.$ac_ext
5785 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5786 echo "${ECHO_T}$ac_header_preproc" >&6; }
5787
5788 # So? What about this header?
5789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5790 yes:no: )
5791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5795 ac_header_preproc=yes
5796 ;;
5797 no:yes:* )
5798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5810
5811 ;;
5812 esac
5813 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 else
5818 eval "$as_ac_Header=\$ac_header_preproc"
5819 fi
5820 ac_res=`eval echo '${'$as_ac_Header'}'`
5821 { echo "$as_me:$LINENO: result: $ac_res" >&5
5822 echo "${ECHO_T}$ac_res" >&6; }
5823
5824 fi
5825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4422 do :
4423 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4424 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4425 eval as_val=\$$as_ac_Header
4426 if test "x$as_val" = x""yes; then :
58264427 cat >>confdefs.h <<_ACEOF
5827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58284429 _ACEOF
58294430
58304431 fi
58394440 # We don't refer to any symbols in termcap, but -lcurses on SunOS does.
58404441 # We have to trust the linker not to mess things up... (It should not
58414442 # pull in anything if we don't refer to anything in the lib).
5842
5843 { echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
5844 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6; }
5845 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
5846 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
4444 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
4445 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then :
4446 $as_echo_n "(cached) " >&6
58474447 else
58484448 ac_check_lib_save_LIBS=$LIBS
58494449 LIBS="-ltermcap $LIBS"
5850 cat >conftest.$ac_ext <<_ACEOF
5851 /* confdefs.h. */
5852 _ACEOF
5853 cat confdefs.h >>conftest.$ac_ext
5854 cat >>conftest.$ac_ext <<_ACEOF
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58554451 /* end confdefs.h. */
58564452
58574453 /* Override any GCC internal prototype to avoid an error.
58694465 return 0;
58704466 }
58714467 _ACEOF
5872 rm -f conftest.$ac_objext conftest$ac_exeext
5873 if { (ac_try="$ac_link"
5874 case "(($ac_try" in
5875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5876 *) ac_try_echo=$ac_try;;
5877 esac
5878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5879 (eval "$ac_link") 2>conftest.er1
5880 ac_status=$?
5881 grep -v '^ *+' conftest.er1 >conftest.err
5882 rm -f conftest.er1
5883 cat conftest.err >&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); } && {
5886 test -z "$ac_c_werror_flag" ||
5887 test ! -s conftest.err
5888 } && test -s conftest$ac_exeext &&
5889 $as_test_x conftest$ac_exeext; then
4468 if ac_fn_c_try_link "$LINENO"; then :
58904469 ac_cv_lib_termcap_tgetent=yes
58914470 else
5892 echo "$as_me: failed program was:" >&5
5893 sed 's/^/| /' conftest.$ac_ext >&5
5894
5895 ac_cv_lib_termcap_tgetent=no
5896 fi
5897
5898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5899 conftest$ac_exeext conftest.$ac_ext
4471 ac_cv_lib_termcap_tgetent=no
4472 fi
4473 rm -f core conftest.err conftest.$ac_objext \
4474 conftest$ac_exeext conftest.$ac_ext
59004475 LIBS=$ac_check_lib_save_LIBS
59014476 fi
5902 { echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
5903 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6; }
5904 if test $ac_cv_lib_termcap_tgetent = yes; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
4478 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
4479 if test "x$ac_cv_lib_termcap_tgetent" = x""yes; then :
59054480 cat >>confdefs.h <<_ACEOF
59064481 #define HAVE_LIBTERMCAP 1
59074482 _ACEOF
59114486 fi
59124487
59134488
5914 { echo "$as_me:$LINENO: checking for initscr" >&5
5915 echo $ECHO_N "checking for initscr... $ECHO_C" >&6; }
5916 if test "${ac_cv_func_initscr+set}" = set; then
5917 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 else
5919 cat >conftest.$ac_ext <<_ACEOF
5920 /* confdefs.h. */
5921 _ACEOF
5922 cat confdefs.h >>conftest.$ac_ext
5923 cat >>conftest.$ac_ext <<_ACEOF
5924 /* end confdefs.h. */
5925 /* Define initscr to an innocuous variant, in case <limits.h> declares initscr.
5926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5927 #define initscr innocuous_initscr
5928
5929 /* System header to define __stub macros and hopefully few prototypes,
5930 which can conflict with char initscr (); below.
5931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5932 <limits.h> exists even on freestanding compilers. */
5933
5934 #ifdef __STDC__
5935 # include <limits.h>
5936 #else
5937 # include <assert.h>
5938 #endif
5939
5940 #undef initscr
5941
5942 /* Override any GCC internal prototype to avoid an error.
5943 Use char because int might match the return type of a GCC
5944 builtin and then its argument prototype would still apply. */
5945 #ifdef __cplusplus
5946 extern "C"
5947 #endif
5948 char initscr ();
5949 /* The GNU C library defines this for functions which it implements
5950 to always fail with ENOSYS. Some functions are actually named
5951 something starting with __ and the normal name is an alias. */
5952 #if defined __stub_initscr || defined __stub___initscr
5953 choke me
5954 #endif
5955
5956 int
5957 main ()
5958 {
5959 return initscr ();
5960 ;
5961 return 0;
5962 }
5963 _ACEOF
5964 rm -f conftest.$ac_objext conftest$ac_exeext
5965 if { (ac_try="$ac_link"
5966 case "(($ac_try" in
5967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5968 *) ac_try_echo=$ac_try;;
5969 esac
5970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5971 (eval "$ac_link") 2>conftest.er1
5972 ac_status=$?
5973 grep -v '^ *+' conftest.er1 >conftest.err
5974 rm -f conftest.er1
5975 cat conftest.err >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); } && {
5978 test -z "$ac_c_werror_flag" ||
5979 test ! -s conftest.err
5980 } && test -s conftest$ac_exeext &&
5981 $as_test_x conftest$ac_exeext; then
5982 ac_cv_func_initscr=yes
5983 else
5984 echo "$as_me: failed program was:" >&5
5985 sed 's/^/| /' conftest.$ac_ext >&5
5986
5987 ac_cv_func_initscr=no
5988 fi
5989
5990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5991 conftest$ac_exeext conftest.$ac_ext
5992 fi
5993 { echo "$as_me:$LINENO: result: $ac_cv_func_initscr" >&5
5994 echo "${ECHO_T}$ac_cv_func_initscr" >&6; }
5995 if test $ac_cv_func_initscr = yes; then
5996 :
5997 else
5998
5999 { echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
6000 echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
6001 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 ac_fn_c_check_func "$LINENO" "initscr" "ac_cv_func_initscr"
4490 if test "x$ac_cv_func_initscr" = x""yes; then :
4491
4492 else
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
4494 $as_echo_n "checking for initscr in -lncurses... " >&6; }
4495 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then :
4496 $as_echo_n "(cached) " >&6
60034497 else
60044498 ac_check_lib_save_LIBS=$LIBS
60054499 LIBS="-lncurses $LIBS"
6006 cat >conftest.$ac_ext <<_ACEOF
6007 /* confdefs.h. */
6008 _ACEOF
6009 cat confdefs.h >>conftest.$ac_ext
6010 cat >>conftest.$ac_ext <<_ACEOF
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60114501 /* end confdefs.h. */
60124502
60134503 /* Override any GCC internal prototype to avoid an error.
60254515 return 0;
60264516 }
60274517 _ACEOF
6028 rm -f conftest.$ac_objext conftest$ac_exeext
6029 if { (ac_try="$ac_link"
6030 case "(($ac_try" in
6031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6032 *) ac_try_echo=$ac_try;;
6033 esac
6034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6035 (eval "$ac_link") 2>conftest.er1
6036 ac_status=$?
6037 grep -v '^ *+' conftest.er1 >conftest.err
6038 rm -f conftest.er1
6039 cat conftest.err >&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); } && {
6042 test -z "$ac_c_werror_flag" ||
6043 test ! -s conftest.err
6044 } && test -s conftest$ac_exeext &&
6045 $as_test_x conftest$ac_exeext; then
4518 if ac_fn_c_try_link "$LINENO"; then :
60464519 ac_cv_lib_ncurses_initscr=yes
60474520 else
6048 echo "$as_me: failed program was:" >&5
6049 sed 's/^/| /' conftest.$ac_ext >&5
6050
6051 ac_cv_lib_ncurses_initscr=no
6052 fi
6053
6054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6055 conftest$ac_exeext conftest.$ac_ext
4521 ac_cv_lib_ncurses_initscr=no
4522 fi
4523 rm -f core conftest.err conftest.$ac_objext \
4524 conftest$ac_exeext conftest.$ac_ext
60564525 LIBS=$ac_check_lib_save_LIBS
60574526 fi
6058 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
6059 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
6060 if test $ac_cv_lib_ncurses_initscr = yes; then
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
4528 $as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
4529 if test "x$ac_cv_lib_ncurses_initscr" = x""yes; then :
60614530 cat >>confdefs.h <<_ACEOF
60624531 #define HAVE_LIBNCURSES 1
60634532 _ACEOF
60654534 LIBS="-lncurses $LIBS"
60664535
60674536 else
6068
6069 { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
6070 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
6071 if test "${ac_cv_lib_curses_initscr+set}" = set; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5
4538 $as_echo_n "checking for initscr in -lcurses... " >&6; }
4539 if test "${ac_cv_lib_curses_initscr+set}" = set; then :
4540 $as_echo_n "(cached) " >&6
60734541 else
60744542 ac_check_lib_save_LIBS=$LIBS
60754543 LIBS="-lcurses $LIBS"
6076 cat >conftest.$ac_ext <<_ACEOF
6077 /* confdefs.h. */
6078 _ACEOF
6079 cat confdefs.h >>conftest.$ac_ext
6080 cat >>conftest.$ac_ext <<_ACEOF
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60814545 /* end confdefs.h. */
60824546
60834547 /* Override any GCC internal prototype to avoid an error.
60954559 return 0;
60964560 }
60974561 _ACEOF
6098 rm -f conftest.$ac_objext conftest$ac_exeext
6099 if { (ac_try="$ac_link"
6100 case "(($ac_try" in
6101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6102 *) ac_try_echo=$ac_try;;
6103 esac
6104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6105 (eval "$ac_link") 2>conftest.er1
6106 ac_status=$?
6107 grep -v '^ *+' conftest.er1 >conftest.err
6108 rm -f conftest.er1
6109 cat conftest.err >&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } && {
6112 test -z "$ac_c_werror_flag" ||
6113 test ! -s conftest.err
6114 } && test -s conftest$ac_exeext &&
6115 $as_test_x conftest$ac_exeext; then
4562 if ac_fn_c_try_link "$LINENO"; then :
61164563 ac_cv_lib_curses_initscr=yes
61174564 else
6118 echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.$ac_ext >&5
6120
6121 ac_cv_lib_curses_initscr=no
6122 fi
6123
6124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6125 conftest$ac_exeext conftest.$ac_ext
4565 ac_cv_lib_curses_initscr=no
4566 fi
4567 rm -f core conftest.err conftest.$ac_objext \
4568 conftest$ac_exeext conftest.$ac_ext
61264569 LIBS=$ac_check_lib_save_LIBS
61274570 fi
6128 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
6129 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
6130 if test $ac_cv_lib_curses_initscr = yes; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5
4572 $as_echo "$ac_cv_lib_curses_initscr" >&6; }
4573 if test "x$ac_cv_lib_curses_initscr" = x""yes; then :
61314574 cat >>confdefs.h <<_ACEOF
61324575 #define HAVE_LIBCURSES 1
61334576 _ACEOF
61354578 LIBS="-lcurses $LIBS"
61364579
61374580 else
6138
6139 { echo "$as_me:$LINENO: checking for initscr in -lcursesX" >&5
6140 echo $ECHO_N "checking for initscr in -lcursesX... $ECHO_C" >&6; }
6141 if test "${ac_cv_lib_cursesX_initscr+set}" = set; then
6142 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcursesX" >&5
4582 $as_echo_n "checking for initscr in -lcursesX... " >&6; }
4583 if test "${ac_cv_lib_cursesX_initscr+set}" = set; then :
4584 $as_echo_n "(cached) " >&6
61434585 else
61444586 ac_check_lib_save_LIBS=$LIBS
61454587 LIBS="-lcursesX $LIBS"
6146 cat >conftest.$ac_ext <<_ACEOF
6147 /* confdefs.h. */
6148 _ACEOF
6149 cat confdefs.h >>conftest.$ac_ext
6150 cat >>conftest.$ac_ext <<_ACEOF
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61514589 /* end confdefs.h. */
61524590
61534591 /* Override any GCC internal prototype to avoid an error.
61654603 return 0;
61664604 }
61674605 _ACEOF
6168 rm -f conftest.$ac_objext conftest$ac_exeext
6169 if { (ac_try="$ac_link"
6170 case "(($ac_try" in
6171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6172 *) ac_try_echo=$ac_try;;
6173 esac
6174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6175 (eval "$ac_link") 2>conftest.er1
6176 ac_status=$?
6177 grep -v '^ *+' conftest.er1 >conftest.err
6178 rm -f conftest.er1
6179 cat conftest.err >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); } && {
6182 test -z "$ac_c_werror_flag" ||
6183 test ! -s conftest.err
6184 } && test -s conftest$ac_exeext &&
6185 $as_test_x conftest$ac_exeext; then
4606 if ac_fn_c_try_link "$LINENO"; then :
61864607 ac_cv_lib_cursesX_initscr=yes
61874608 else
6188 echo "$as_me: failed program was:" >&5
6189 sed 's/^/| /' conftest.$ac_ext >&5
6190
6191 ac_cv_lib_cursesX_initscr=no
6192 fi
6193
6194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6195 conftest$ac_exeext conftest.$ac_ext
4609 ac_cv_lib_cursesX_initscr=no
4610 fi
4611 rm -f core conftest.err conftest.$ac_objext \
4612 conftest$ac_exeext conftest.$ac_ext
61964613 LIBS=$ac_check_lib_save_LIBS
61974614 fi
6198 { echo "$as_me:$LINENO: result: $ac_cv_lib_cursesX_initscr" >&5
6199 echo "${ECHO_T}$ac_cv_lib_cursesX_initscr" >&6; }
6200 if test $ac_cv_lib_cursesX_initscr = yes; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cursesX_initscr" >&5
4616 $as_echo "$ac_cv_lib_cursesX_initscr" >&6; }
4617 if test "x$ac_cv_lib_cursesX_initscr" = x""yes; then :
62014618 cat >>confdefs.h <<_ACEOF
62024619 #define HAVE_LIBCURSESX 1
62034620 _ACEOF
62054622 LIBS="-lcursesX $LIBS"
62064623
62074624 else
6208 { echo "$as_me:$LINENO: WARNING: Building without curses display support" >&5
6209 echo "$as_me: WARNING: Building without curses display support" >&2;}
6210
6211 cat >>confdefs.h <<\_ACEOF
6212 #define NO_CURSES 1
6213 _ACEOF
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building without curses display support" >&5
4626 $as_echo "$as_me: WARNING: Building without curses display support" >&2;}
4627
4628 $as_echo "#define NO_CURSES 1" >>confdefs.h
62144629
62154630 CURSES_OBJ=
62164631 fi
62224637 fi
62234638
62244639
6225
6226
62274640 for ac_func in attron fcntl
6228 do
6229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6233 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 else
6235 cat >conftest.$ac_ext <<_ACEOF
6236 /* confdefs.h. */
6237 _ACEOF
6238 cat confdefs.h >>conftest.$ac_ext
6239 cat >>conftest.$ac_ext <<_ACEOF
6240 /* end confdefs.h. */
6241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6243 #define $ac_func innocuous_$ac_func
6244
6245 /* System header to define __stub macros and hopefully few prototypes,
6246 which can conflict with char $ac_func (); below.
6247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6248 <limits.h> exists even on freestanding compilers. */
6249
6250 #ifdef __STDC__
6251 # include <limits.h>
6252 #else
6253 # include <assert.h>
6254 #endif
6255
6256 #undef $ac_func
6257
6258 /* Override any GCC internal prototype to avoid an error.
6259 Use char because int might match the return type of a GCC
6260 builtin and then its argument prototype would still apply. */
6261 #ifdef __cplusplus
6262 extern "C"
6263 #endif
6264 char $ac_func ();
6265 /* The GNU C library defines this for functions which it implements
6266 to always fail with ENOSYS. Some functions are actually named
6267 something starting with __ and the normal name is an alias. */
6268 #if defined __stub_$ac_func || defined __stub___$ac_func
6269 choke me
6270 #endif
6271
6272 int
6273 main ()
6274 {
6275 return $ac_func ();
6276 ;
6277 return 0;
6278 }
6279 _ACEOF
6280 rm -f conftest.$ac_objext conftest$ac_exeext
6281 if { (ac_try="$ac_link"
6282 case "(($ac_try" in
6283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6284 *) ac_try_echo=$ac_try;;
6285 esac
6286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6287 (eval "$ac_link") 2>conftest.er1
6288 ac_status=$?
6289 grep -v '^ *+' conftest.er1 >conftest.err
6290 rm -f conftest.er1
6291 cat conftest.err >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && {
6294 test -z "$ac_c_werror_flag" ||
6295 test ! -s conftest.err
6296 } && test -s conftest$ac_exeext &&
6297 $as_test_x conftest$ac_exeext; then
6298 eval "$as_ac_var=yes"
6299 else
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6302
6303 eval "$as_ac_var=no"
6304 fi
6305
6306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6307 conftest$ac_exeext conftest.$ac_ext
6308 fi
6309 ac_res=`eval echo '${'$as_ac_var'}'`
6310 { echo "$as_me:$LINENO: result: $ac_res" >&5
6311 echo "${ECHO_T}$ac_res" >&6; }
6312 if test `eval echo '${'$as_ac_var'}'` = yes; then
4641 do :
4642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4644 eval as_val=\$$as_ac_var
4645 if test "x$as_val" = x""yes; then :
63134646 cat >>confdefs.h <<_ACEOF
6314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63154648 _ACEOF
63164649
63174650 fi
63184651 done
63194652
63204653
6321
6322 { echo "$as_me:$LINENO: checking for floor in -lm" >&5
6323 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6; }
6324 if test "${ac_cv_lib_m_floor+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
4655 $as_echo_n "checking for floor in -lm... " >&6; }
4656 if test "${ac_cv_lib_m_floor+set}" = set; then :
4657 $as_echo_n "(cached) " >&6
63264658 else
63274659 ac_check_lib_save_LIBS=$LIBS
63284660 LIBS="-lm $LIBS"
6329 cat >conftest.$ac_ext <<_ACEOF
6330 /* confdefs.h. */
6331 _ACEOF
6332 cat confdefs.h >>conftest.$ac_ext
6333 cat >>conftest.$ac_ext <<_ACEOF
4661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63344662 /* end confdefs.h. */
63354663
63364664 /* Override any GCC internal prototype to avoid an error.
63484676 return 0;
63494677 }
63504678 _ACEOF
6351 rm -f conftest.$ac_objext conftest$ac_exeext
6352 if { (ac_try="$ac_link"
6353 case "(($ac_try" in
6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6355 *) ac_try_echo=$ac_try;;
6356 esac
6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6358 (eval "$ac_link") 2>conftest.er1
6359 ac_status=$?
6360 grep -v '^ *+' conftest.er1 >conftest.err
6361 rm -f conftest.er1
6362 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } && {
6365 test -z "$ac_c_werror_flag" ||
6366 test ! -s conftest.err
6367 } && test -s conftest$ac_exeext &&
6368 $as_test_x conftest$ac_exeext; then
4679 if ac_fn_c_try_link "$LINENO"; then :
63694680 ac_cv_lib_m_floor=yes
63704681 else
6371 echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6373
6374 ac_cv_lib_m_floor=no
6375 fi
6376
6377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6378 conftest$ac_exeext conftest.$ac_ext
4682 ac_cv_lib_m_floor=no
4683 fi
4684 rm -f core conftest.err conftest.$ac_objext \
4685 conftest$ac_exeext conftest.$ac_ext
63794686 LIBS=$ac_check_lib_save_LIBS
63804687 fi
6381 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
6382 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6; }
6383 if test $ac_cv_lib_m_floor = yes; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
4689 $as_echo "$ac_cv_lib_m_floor" >&6; }
4690 if test "x$ac_cv_lib_m_floor" = x""yes; then :
63844691 cat >>confdefs.h <<_ACEOF
63854692 #define HAVE_LIBM 1
63864693 _ACEOF
63884695 LIBS="-lm $LIBS"
63894696
63904697 else
6391 { { echo "$as_me:$LINENO: error: No math library found" >&5
6392 echo "$as_me: error: No math library found" >&2;}
6393 { (exit 1); exit 1; }; }
4698 as_fn_error "No math library found" "$LINENO" 5
63944699 fi
63954700
63964701
63974702
63984703 # Check whether --with-gtk was given.
6399 if test "${with_gtk+set}" = set; then
4704 if test "${with_gtk+set}" = set; then :
64004705 withval=$with_gtk; WANTS_GTK=$withval
64014706 else
64024707 WANTS_GTK=yes
64044709
64054710
64064711 # Check whether --enable-ipv6 was given.
6407 if test "${enable_ipv6+set}" = set; then
4712 if test "${enable_ipv6+set}" = set; then :
64084713 enableval=$enable_ipv6; WANTS_IPV6=$enableval
64094714 else
64104715 WANTS_IPV6=yes
64134718
64144719 if test "x$WANTS_GTK" = "xyes"; then
64154720 # Check whether --enable-gtktest was given.
6416 if test "${enable_gtktest+set}" = set; then
4721 if test "${enable_gtktest+set}" = set; then :
64174722 enableval=$enable_gtktest;
64184723 else
64194724 enable_gtktest=yes
64344739
64354740 # Extract the first word of "pkg-config", so it can be a program name with args.
64364741 set dummy pkg-config; ac_word=$2
6437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6439 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6440 echo $ECHO_N "(cached) $ECHO_C" >&6
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4743 $as_echo_n "checking for $ac_word... " >&6; }
4744 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4745 $as_echo_n "(cached) " >&6
64414746 else
64424747 case $PKG_CONFIG in
64434748 [\\/]* | ?:[\\/]*)
64494754 do
64504755 IFS=$as_save_IFS
64514756 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
4757 for ac_exec_ext in '' $ac_executable_extensions; do
64534758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64544759 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64564761 break 2
64574762 fi
64584763 done
6459 done
4764 done
64604765 IFS=$as_save_IFS
64614766
64624767 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
64654770 fi
64664771 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
64674772 if test -n "$PKG_CONFIG"; then
6468 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6469 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6470 else
6471 { echo "$as_me:$LINENO: result: no" >&5
6472 echo "${ECHO_T}no" >&6; }
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4774 $as_echo "$PKG_CONFIG" >&6; }
4775 else
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
64734778 fi
64744779
64754780
64874792 fi
64884793
64894794 min_gtk_version=2.6.0
6490 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
6491 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
4796 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
64924797
64934798 if test x$PKG_CONFIG != xno ; then
64944799 ## don't try to run the test against uninstalled libtool libs
65194824 CFLAGS="$CFLAGS $GTK_CFLAGS"
65204825 LIBS="$GTK_LIBS $LIBS"
65214826 rm -f conf.gtktest
6522 if test "$cross_compiling" = yes; then
4827 if test "$cross_compiling" = yes; then :
65234828 echo $ac_n "cross compiling; assumed OK... $ac_c"
65244829 else
6525 cat >conftest.$ac_ext <<_ACEOF
6526 /* confdefs.h. */
6527 _ACEOF
6528 cat confdefs.h >>conftest.$ac_ext
6529 cat >>conftest.$ac_ext <<_ACEOF
4830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65304831 /* end confdefs.h. */
65314832
65324833 #include <gtk/gtk.h>
65394840 int major, minor, micro;
65404841 char *tmp_version;
65414842
6542 system ("touch conf.gtktest");
4843 fclose (fopen ("conf.gtktest", "w"));
65434844
65444845 /* HP/UX 9 (%@#!) writes to sscanf strings */
65454846 tmp_version = g_strdup("$min_gtk_version");
66014902 }
66024903
66034904 _ACEOF
6604 rm -f conftest$ac_exeext
6605 if { (ac_try="$ac_link"
6606 case "(($ac_try" in
6607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6608 *) ac_try_echo=$ac_try;;
6609 esac
6610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6611 (eval "$ac_link") 2>&5
6612 ac_status=$?
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6615 { (case "(($ac_try" in
6616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6617 *) ac_try_echo=$ac_try;;
6618 esac
6619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6620 (eval "$ac_try") 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; }; then
6624 :
6625 else
6626 echo "$as_me: program exited with status $ac_status" >&5
6627 echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.$ac_ext >&5
6629
6630 ( exit $ac_status )
6631 no_gtk=yes
6632 fi
6633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6634 fi
6635
4905 if ac_fn_c_try_run "$LINENO"; then :
4906
4907 else
4908 no_gtk=yes
4909 fi
4910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4911 conftest.$ac_objext conftest.beam conftest.$ac_ext
4912 fi
66364913
66374914 CFLAGS="$ac_save_CFLAGS"
66384915 LIBS="$ac_save_LIBS"
66394916 fi
66404917 fi
66414918 if test "x$no_gtk" = x ; then
6642 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
6643 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
4920 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
66444921 CFLAGS="$CFLAGS $GTK_CFLAGS"
66454922 LIBS="$LIBS $GTK_LIBS -lm"
66464923 else
6647 { echo "$as_me:$LINENO: result: no" >&5
6648 echo "${ECHO_T}no" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
66494926 if test "$PKG_CONFIG" = "no" ; then
66504927 echo "*** A new enough version of pkg-config was not found."
66514928 echo "*** See http://pkgconfig.sourceforge.net"
66584935 ac_save_LIBS="$LIBS"
66594936 CFLAGS="$CFLAGS $GTK_CFLAGS"
66604937 LIBS="$LIBS $GTK_LIBS"
6661 cat >conftest.$ac_ext <<_ACEOF
6662 /* confdefs.h. */
6663 _ACEOF
6664 cat confdefs.h >>conftest.$ac_ext
6665 cat >>conftest.$ac_ext <<_ACEOF
4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66664939 /* end confdefs.h. */
66674940
66684941 #include <gtk/gtk.h>
66764949 return 0;
66774950 }
66784951 _ACEOF
6679 rm -f conftest.$ac_objext conftest$ac_exeext
6680 if { (ac_try="$ac_link"
6681 case "(($ac_try" in
6682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6683 *) ac_try_echo=$ac_try;;
6684 esac
6685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6686 (eval "$ac_link") 2>conftest.er1
6687 ac_status=$?
6688 grep -v '^ *+' conftest.er1 >conftest.err
6689 rm -f conftest.er1
6690 cat conftest.err >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); } && {
6693 test -z "$ac_c_werror_flag" ||
6694 test ! -s conftest.err
6695 } && test -s conftest$ac_exeext &&
6696 $as_test_x conftest$ac_exeext; then
4952 if ac_fn_c_try_link "$LINENO"; then :
66974953 echo "*** The test program compiled, but did not run. This usually means"
66984954 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
66994955 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
67044960 echo "*** If you have an old version installed, it is best to remove it, although"
67054961 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
67064962 else
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.$ac_ext >&5
6709
6710 echo "*** The test program failed to compile or link. See the file config.log for the"
4963 echo "*** The test program failed to compile or link. See the file config.log for the"
67114964 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
67124965 fi
6713
6714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6715 conftest$ac_exeext conftest.$ac_ext
4966 rm -f core conftest.err conftest.$ac_objext \
4967 conftest$ac_exeext conftest.$ac_ext
67164968 CFLAGS="$ac_save_CFLAGS"
67174969 LIBS="$ac_save_LIBS"
67184970 fi
67194971 fi
67204972 GTK_CFLAGS=""
67214973 GTK_LIBS=""
6722 { echo "$as_me:$LINENO: WARNING: Building without GTK2 display support" >&5
6723 echo "$as_me: WARNING: Building without GTK2 display support" >&2;}
6724
6725 cat >>confdefs.h <<\_ACEOF
6726 #define NO_GTK 1
6727 _ACEOF
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building without GTK2 display support" >&5
4975 $as_echo "$as_me: WARNING: Building without GTK2 display support" >&2;}
4976
4977 $as_echo "#define NO_GTK 1" >>confdefs.h
67284978
67294979 GTK_OBJ=""
67304980 fi
67334983 rm -f conf.gtktest
67344984
67354985 else
6736 cat >>confdefs.h <<\_ACEOF
6737 #define NO_GTK 1
6738 _ACEOF
4986 $as_echo "#define NO_GTK 1" >>confdefs.h
67394987
67404988 GTK_OBJ=""
67414989 fi
67424990
6743 { echo "$as_me:$LINENO: checking for socket" >&5
6744 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
6745 if test "${ac_cv_func_socket+set}" = set; then
6746 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 else
6748 cat >conftest.$ac_ext <<_ACEOF
6749 /* confdefs.h. */
6750 _ACEOF
6751 cat confdefs.h >>conftest.$ac_ext
6752 cat >>conftest.$ac_ext <<_ACEOF
6753 /* end confdefs.h. */
6754 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
6755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6756 #define socket innocuous_socket
6757
6758 /* System header to define __stub macros and hopefully few prototypes,
6759 which can conflict with char socket (); below.
6760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6761 <limits.h> exists even on freestanding compilers. */
6762
6763 #ifdef __STDC__
6764 # include <limits.h>
6765 #else
6766 # include <assert.h>
6767 #endif
6768
6769 #undef socket
6770
6771 /* Override any GCC internal prototype to avoid an error.
6772 Use char because int might match the return type of a GCC
6773 builtin and then its argument prototype would still apply. */
6774 #ifdef __cplusplus
6775 extern "C"
6776 #endif
6777 char socket ();
6778 /* The GNU C library defines this for functions which it implements
6779 to always fail with ENOSYS. Some functions are actually named
6780 something starting with __ and the normal name is an alias. */
6781 #if defined __stub_socket || defined __stub___socket
6782 choke me
6783 #endif
6784
6785 int
6786 main ()
6787 {
6788 return socket ();
6789 ;
6790 return 0;
6791 }
6792 _ACEOF
6793 rm -f conftest.$ac_objext conftest$ac_exeext
6794 if { (ac_try="$ac_link"
6795 case "(($ac_try" in
6796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6797 *) ac_try_echo=$ac_try;;
6798 esac
6799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6800 (eval "$ac_link") 2>conftest.er1
6801 ac_status=$?
6802 grep -v '^ *+' conftest.er1 >conftest.err
6803 rm -f conftest.er1
6804 cat conftest.err >&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); } && {
6807 test -z "$ac_c_werror_flag" ||
6808 test ! -s conftest.err
6809 } && test -s conftest$ac_exeext &&
6810 $as_test_x conftest$ac_exeext; then
6811 ac_cv_func_socket=yes
6812 else
6813 echo "$as_me: failed program was:" >&5
6814 sed 's/^/| /' conftest.$ac_ext >&5
6815
6816 ac_cv_func_socket=no
6817 fi
6818
6819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6820 conftest$ac_exeext conftest.$ac_ext
6821 fi
6822 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
6823 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
6824 if test $ac_cv_func_socket = yes; then
6825 :
6826 else
6827
6828 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
6829 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
6830 if test "${ac_cv_lib_socket_socket+set}" = set; then
6831 echo $ECHO_N "(cached) $ECHO_C" >&6
4991 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
4992 if test "x$ac_cv_func_socket" = x""yes; then :
4993
4994 else
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
4996 $as_echo_n "checking for socket in -lsocket... " >&6; }
4997 if test "${ac_cv_lib_socket_socket+set}" = set; then :
4998 $as_echo_n "(cached) " >&6
68324999 else
68335000 ac_check_lib_save_LIBS=$LIBS
68345001 LIBS="-lsocket $LIBS"
6835 cat >conftest.$ac_ext <<_ACEOF
6836 /* confdefs.h. */
6837 _ACEOF
6838 cat confdefs.h >>conftest.$ac_ext
6839 cat >>conftest.$ac_ext <<_ACEOF
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68405003 /* end confdefs.h. */
68415004
68425005 /* Override any GCC internal prototype to avoid an error.
68545017 return 0;
68555018 }
68565019 _ACEOF
6857 rm -f conftest.$ac_objext conftest$ac_exeext
6858 if { (ac_try="$ac_link"
6859 case "(($ac_try" in
6860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6861 *) ac_try_echo=$ac_try;;
6862 esac
6863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6864 (eval "$ac_link") 2>conftest.er1
6865 ac_status=$?
6866 grep -v '^ *+' conftest.er1 >conftest.err
6867 rm -f conftest.er1
6868 cat conftest.err >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); } && {
6871 test -z "$ac_c_werror_flag" ||
6872 test ! -s conftest.err
6873 } && test -s conftest$ac_exeext &&
6874 $as_test_x conftest$ac_exeext; then
5020 if ac_fn_c_try_link "$LINENO"; then :
68755021 ac_cv_lib_socket_socket=yes
68765022 else
6877 echo "$as_me: failed program was:" >&5
6878 sed 's/^/| /' conftest.$ac_ext >&5
6879
6880 ac_cv_lib_socket_socket=no
6881 fi
6882
6883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6884 conftest$ac_exeext conftest.$ac_ext
5023 ac_cv_lib_socket_socket=no
5024 fi
5025 rm -f core conftest.err conftest.$ac_objext \
5026 conftest$ac_exeext conftest.$ac_ext
68855027 LIBS=$ac_check_lib_save_LIBS
68865028 fi
6887 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
6888 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
6889 if test $ac_cv_lib_socket_socket = yes; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
5030 $as_echo "$ac_cv_lib_socket_socket" >&6; }
5031 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
68905032 cat >>confdefs.h <<_ACEOF
68915033 #define HAVE_LIBSOCKET 1
68925034 _ACEOF
68945036 LIBS="-lsocket $LIBS"
68955037
68965038 else
6897 { { echo "$as_me:$LINENO: error: No socket library found" >&5
6898 echo "$as_me: error: No socket library found" >&2;}
6899 { (exit 1); exit 1; }; }
6900 fi
6901
6902 fi
6903
6904
6905 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
6906 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
6907 if test "${ac_cv_func_gethostbyname+set}" = set; then
6908 echo $ECHO_N "(cached) $ECHO_C" >&6
6909 else
6910 cat >conftest.$ac_ext <<_ACEOF
6911 /* confdefs.h. */
6912 _ACEOF
6913 cat confdefs.h >>conftest.$ac_ext
6914 cat >>conftest.$ac_ext <<_ACEOF
6915 /* end confdefs.h. */
6916 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
6917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6918 #define gethostbyname innocuous_gethostbyname
6919
6920 /* System header to define __stub macros and hopefully few prototypes,
6921 which can conflict with char gethostbyname (); below.
6922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6923 <limits.h> exists even on freestanding compilers. */
6924
6925 #ifdef __STDC__
6926 # include <limits.h>
6927 #else
6928 # include <assert.h>
6929 #endif
6930
6931 #undef gethostbyname
6932
6933 /* Override any GCC internal prototype to avoid an error.
6934 Use char because int might match the return type of a GCC
6935 builtin and then its argument prototype would still apply. */
6936 #ifdef __cplusplus
6937 extern "C"
6938 #endif
6939 char gethostbyname ();
6940 /* The GNU C library defines this for functions which it implements
6941 to always fail with ENOSYS. Some functions are actually named
6942 something starting with __ and the normal name is an alias. */
6943 #if defined __stub_gethostbyname || defined __stub___gethostbyname
6944 choke me
6945 #endif
6946
6947 int
6948 main ()
6949 {
6950 return gethostbyname ();
6951 ;
6952 return 0;
6953 }
6954 _ACEOF
6955 rm -f conftest.$ac_objext conftest$ac_exeext
6956 if { (ac_try="$ac_link"
6957 case "(($ac_try" in
6958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6959 *) ac_try_echo=$ac_try;;
6960 esac
6961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6962 (eval "$ac_link") 2>conftest.er1
6963 ac_status=$?
6964 grep -v '^ *+' conftest.er1 >conftest.err
6965 rm -f conftest.er1
6966 cat conftest.err >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); } && {
6969 test -z "$ac_c_werror_flag" ||
6970 test ! -s conftest.err
6971 } && test -s conftest$ac_exeext &&
6972 $as_test_x conftest$ac_exeext; then
6973 ac_cv_func_gethostbyname=yes
6974 else
6975 echo "$as_me: failed program was:" >&5
6976 sed 's/^/| /' conftest.$ac_ext >&5
6977
6978 ac_cv_func_gethostbyname=no
6979 fi
6980
6981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6982 conftest$ac_exeext conftest.$ac_ext
6983 fi
6984 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6985 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
6986 if test $ac_cv_func_gethostbyname = yes; then
6987 :
6988 else
6989
6990 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6991 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
6992 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6993 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 as_fn_error "No socket library found" "$LINENO" 5
5040 fi
5041
5042 fi
5043
5044
5045 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5046 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
5047
5048 else
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5050 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5051 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
5052 $as_echo_n "(cached) " >&6
69945053 else
69955054 ac_check_lib_save_LIBS=$LIBS
69965055 LIBS="-lnsl $LIBS"
6997 cat >conftest.$ac_ext <<_ACEOF
6998 /* confdefs.h. */
6999 _ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70025057 /* end confdefs.h. */
70035058
70045059 /* Override any GCC internal prototype to avoid an error.
70165071 return 0;
70175072 }
70185073 _ACEOF
7019 rm -f conftest.$ac_objext conftest$ac_exeext
7020 if { (ac_try="$ac_link"
7021 case "(($ac_try" in
7022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7023 *) ac_try_echo=$ac_try;;
7024 esac
7025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7026 (eval "$ac_link") 2>conftest.er1
7027 ac_status=$?
7028 grep -v '^ *+' conftest.er1 >conftest.err
7029 rm -f conftest.er1
7030 cat conftest.err >&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); } && {
7033 test -z "$ac_c_werror_flag" ||
7034 test ! -s conftest.err
7035 } && test -s conftest$ac_exeext &&
7036 $as_test_x conftest$ac_exeext; then
5074 if ac_fn_c_try_link "$LINENO"; then :
70375075 ac_cv_lib_nsl_gethostbyname=yes
70385076 else
7039 echo "$as_me: failed program was:" >&5
7040 sed 's/^/| /' conftest.$ac_ext >&5
7041
7042 ac_cv_lib_nsl_gethostbyname=no
7043 fi
7044
7045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7046 conftest$ac_exeext conftest.$ac_ext
5077 ac_cv_lib_nsl_gethostbyname=no
5078 fi
5079 rm -f core conftest.err conftest.$ac_objext \
5080 conftest$ac_exeext conftest.$ac_ext
70475081 LIBS=$ac_check_lib_save_LIBS
70485082 fi
7049 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7050 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7051 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5084 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5085 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
70525086 cat >>confdefs.h <<_ACEOF
70535087 #define HAVE_LIBNSL 1
70545088 _ACEOF
70565090 LIBS="-lnsl $LIBS"
70575091
70585092 else
7059 { { echo "$as_me:$LINENO: error: No nameservice library found" >&5
7060 echo "$as_me: error: No nameservice library found" >&2;}
7061 { (exit 1); exit 1; }; }
5093 as_fn_error "No nameservice library found" "$LINENO" 5
70625094 fi
70635095
70645096 fi
70685100 # AC_CHECK_LIB(bind, res_init, ,
70695101 # AC_CHECK_LIB(resolv, res_init, , AC_MSG_ERROR(No resolver library found))))
70705102
7071
70725103 for ac_func in seteuid
7073 do
7074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7075 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7077 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7078 echo $ECHO_N "(cached) $ECHO_C" >&6
7079 else
7080 cat >conftest.$ac_ext <<_ACEOF
7081 /* confdefs.h. */
7082 _ACEOF
7083 cat confdefs.h >>conftest.$ac_ext
7084 cat >>conftest.$ac_ext <<_ACEOF
7085 /* end confdefs.h. */
7086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7088 #define $ac_func innocuous_$ac_func
7089
7090 /* System header to define __stub macros and hopefully few prototypes,
7091 which can conflict with char $ac_func (); below.
7092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7093 <limits.h> exists even on freestanding compilers. */
7094
7095 #ifdef __STDC__
7096 # include <limits.h>
7097 #else
7098 # include <assert.h>
7099 #endif
7100
7101 #undef $ac_func
7102
7103 /* Override any GCC internal prototype to avoid an error.
7104 Use char because int might match the return type of a GCC
7105 builtin and then its argument prototype would still apply. */
7106 #ifdef __cplusplus
7107 extern "C"
7108 #endif
7109 char $ac_func ();
7110 /* The GNU C library defines this for functions which it implements
7111 to always fail with ENOSYS. Some functions are actually named
7112 something starting with __ and the normal name is an alias. */
7113 #if defined __stub_$ac_func || defined __stub___$ac_func
7114 choke me
7115 #endif
7116
7117 int
7118 main ()
7119 {
7120 return $ac_func ();
7121 ;
7122 return 0;
7123 }
7124 _ACEOF
7125 rm -f conftest.$ac_objext conftest$ac_exeext
7126 if { (ac_try="$ac_link"
7127 case "(($ac_try" in
7128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7129 *) ac_try_echo=$ac_try;;
7130 esac
7131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7132 (eval "$ac_link") 2>conftest.er1
7133 ac_status=$?
7134 grep -v '^ *+' conftest.er1 >conftest.err
7135 rm -f conftest.er1
7136 cat conftest.err >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); } && {
7139 test -z "$ac_c_werror_flag" ||
7140 test ! -s conftest.err
7141 } && test -s conftest$ac_exeext &&
7142 $as_test_x conftest$ac_exeext; then
7143 eval "$as_ac_var=yes"
7144 else
7145 echo "$as_me: failed program was:" >&5
7146 sed 's/^/| /' conftest.$ac_ext >&5
7147
7148 eval "$as_ac_var=no"
7149 fi
7150
7151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7152 conftest$ac_exeext conftest.$ac_ext
7153 fi
7154 ac_res=`eval echo '${'$as_ac_var'}'`
7155 { echo "$as_me:$LINENO: result: $ac_res" >&5
7156 echo "${ECHO_T}$ac_res" >&6; }
7157 if test `eval echo '${'$as_ac_var'}'` = yes; then
5104 do :
5105 ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
5106 if test "x$ac_cv_func_seteuid" = x""yes; then :
71585107 cat >>confdefs.h <<_ACEOF
7159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5108 #define HAVE_SETEUID 1
71605109 _ACEOF
71615110
71625111 fi
71645113
71655114 # AC_CHECK_FUNC(setuid, , AC_MSG_ERROR (I Need either seteuid or setuid))
71665115
7167 { echo "$as_me:$LINENO: checking for res_mkquery" >&5
7168 echo $ECHO_N "checking for res_mkquery... $ECHO_C" >&6; }
7169 if test "${ac_cv_func_res_mkquery+set}" = set; then
7170 echo $ECHO_N "(cached) $ECHO_C" >&6
7171 else
7172 cat >conftest.$ac_ext <<_ACEOF
7173 /* confdefs.h. */
7174 _ACEOF
7175 cat confdefs.h >>conftest.$ac_ext
7176 cat >>conftest.$ac_ext <<_ACEOF
7177 /* end confdefs.h. */
7178 /* Define res_mkquery to an innocuous variant, in case <limits.h> declares res_mkquery.
7179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7180 #define res_mkquery innocuous_res_mkquery
7181
7182 /* System header to define __stub macros and hopefully few prototypes,
7183 which can conflict with char res_mkquery (); below.
7184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7185 <limits.h> exists even on freestanding compilers. */
7186
7187 #ifdef __STDC__
7188 # include <limits.h>
7189 #else
7190 # include <assert.h>
7191 #endif
7192
7193 #undef res_mkquery
7194
7195 /* Override any GCC internal prototype to avoid an error.
7196 Use char because int might match the return type of a GCC
7197 builtin and then its argument prototype would still apply. */
7198 #ifdef __cplusplus
7199 extern "C"
7200 #endif
7201 char res_mkquery ();
7202 /* The GNU C library defines this for functions which it implements
7203 to always fail with ENOSYS. Some functions are actually named
7204 something starting with __ and the normal name is an alias. */
7205 #if defined __stub_res_mkquery || defined __stub___res_mkquery
7206 choke me
7207 #endif
7208
7209 int
7210 main ()
7211 {
7212 return res_mkquery ();
7213 ;
7214 return 0;
7215 }
7216 _ACEOF
7217 rm -f conftest.$ac_objext conftest$ac_exeext
7218 if { (ac_try="$ac_link"
7219 case "(($ac_try" in
7220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7221 *) ac_try_echo=$ac_try;;
7222 esac
7223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7224 (eval "$ac_link") 2>conftest.er1
7225 ac_status=$?
7226 grep -v '^ *+' conftest.er1 >conftest.err
7227 rm -f conftest.er1
7228 cat conftest.err >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } && {
7231 test -z "$ac_c_werror_flag" ||
7232 test ! -s conftest.err
7233 } && test -s conftest$ac_exeext &&
7234 $as_test_x conftest$ac_exeext; then
7235 ac_cv_func_res_mkquery=yes
7236 else
7237 echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.$ac_ext >&5
7239
7240 ac_cv_func_res_mkquery=no
7241 fi
7242
7243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7244 conftest$ac_exeext conftest.$ac_ext
7245 fi
7246 { echo "$as_me:$LINENO: result: $ac_cv_func_res_mkquery" >&5
7247 echo "${ECHO_T}$ac_cv_func_res_mkquery" >&6; }
7248 if test $ac_cv_func_res_mkquery = yes; then
7249 :
7250 else
7251
7252 { echo "$as_me:$LINENO: checking for res_mkquery in -lbind" >&5
7253 echo $ECHO_N "checking for res_mkquery in -lbind... $ECHO_C" >&6; }
7254 if test "${ac_cv_lib_bind_res_mkquery+set}" = set; then
7255 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 ac_fn_c_check_func "$LINENO" "res_mkquery" "ac_cv_func_res_mkquery"
5117 if test "x$ac_cv_func_res_mkquery" = x""yes; then :
5118
5119 else
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_mkquery in -lbind" >&5
5121 $as_echo_n "checking for res_mkquery in -lbind... " >&6; }
5122 if test "${ac_cv_lib_bind_res_mkquery+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
72565124 else
72575125 ac_check_lib_save_LIBS=$LIBS
72585126 LIBS="-lbind $LIBS"
7259 cat >conftest.$ac_ext <<_ACEOF
7260 /* confdefs.h. */
7261 _ACEOF
7262 cat confdefs.h >>conftest.$ac_ext
7263 cat >>conftest.$ac_ext <<_ACEOF
5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72645128 /* end confdefs.h. */
72655129
72665130 /* Override any GCC internal prototype to avoid an error.
72785142 return 0;
72795143 }
72805144 _ACEOF
7281 rm -f conftest.$ac_objext conftest$ac_exeext
7282 if { (ac_try="$ac_link"
7283 case "(($ac_try" in
7284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7285 *) ac_try_echo=$ac_try;;
7286 esac
7287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7288 (eval "$ac_link") 2>conftest.er1
7289 ac_status=$?
7290 grep -v '^ *+' conftest.er1 >conftest.err
7291 rm -f conftest.er1
7292 cat conftest.err >&5
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); } && {
7295 test -z "$ac_c_werror_flag" ||
7296 test ! -s conftest.err
7297 } && test -s conftest$ac_exeext &&
7298 $as_test_x conftest$ac_exeext; then
5145 if ac_fn_c_try_link "$LINENO"; then :
72995146 ac_cv_lib_bind_res_mkquery=yes
73005147 else
7301 echo "$as_me: failed program was:" >&5
7302 sed 's/^/| /' conftest.$ac_ext >&5
7303
7304 ac_cv_lib_bind_res_mkquery=no
7305 fi
7306
7307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7308 conftest$ac_exeext conftest.$ac_ext
5148 ac_cv_lib_bind_res_mkquery=no
5149 fi
5150 rm -f core conftest.err conftest.$ac_objext \
5151 conftest$ac_exeext conftest.$ac_ext
73095152 LIBS=$ac_check_lib_save_LIBS
73105153 fi
7311 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_mkquery" >&5
7312 echo "${ECHO_T}$ac_cv_lib_bind_res_mkquery" >&6; }
7313 if test $ac_cv_lib_bind_res_mkquery = yes; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_res_mkquery" >&5
5155 $as_echo "$ac_cv_lib_bind_res_mkquery" >&6; }
5156 if test "x$ac_cv_lib_bind_res_mkquery" = x""yes; then :
73145157 cat >>confdefs.h <<_ACEOF
73155158 #define HAVE_LIBBIND 1
73165159 _ACEOF
73185161 LIBS="-lbind $LIBS"
73195162
73205163 else
7321
7322 { echo "$as_me:$LINENO: checking for res_mkquery in -lresolv" >&5
7323 echo $ECHO_N "checking for res_mkquery in -lresolv... $ECHO_C" >&6; }
7324 if test "${ac_cv_lib_resolv_res_mkquery+set}" = set; then
7325 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_mkquery in -lresolv" >&5
5165 $as_echo_n "checking for res_mkquery in -lresolv... " >&6; }
5166 if test "${ac_cv_lib_resolv_res_mkquery+set}" = set; then :
5167 $as_echo_n "(cached) " >&6
73265168 else
73275169 ac_check_lib_save_LIBS=$LIBS
73285170 LIBS="-lresolv $LIBS"
7329 cat >conftest.$ac_ext <<_ACEOF
7330 /* confdefs.h. */
7331 _ACEOF
7332 cat confdefs.h >>conftest.$ac_ext
7333 cat >>conftest.$ac_ext <<_ACEOF
5171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73345172 /* end confdefs.h. */
73355173
73365174 /* Override any GCC internal prototype to avoid an error.
73485186 return 0;
73495187 }
73505188 _ACEOF
7351 rm -f conftest.$ac_objext conftest$ac_exeext
7352 if { (ac_try="$ac_link"
7353 case "(($ac_try" in
7354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7355 *) ac_try_echo=$ac_try;;
7356 esac
7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 (eval "$ac_link") 2>conftest.er1
7359 ac_status=$?
7360 grep -v '^ *+' conftest.er1 >conftest.err
7361 rm -f conftest.er1
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } && {
7365 test -z "$ac_c_werror_flag" ||
7366 test ! -s conftest.err
7367 } && test -s conftest$ac_exeext &&
7368 $as_test_x conftest$ac_exeext; then
5189 if ac_fn_c_try_link "$LINENO"; then :
73695190 ac_cv_lib_resolv_res_mkquery=yes
73705191 else
7371 echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.$ac_ext >&5
7373
7374 ac_cv_lib_resolv_res_mkquery=no
7375 fi
7376
7377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7378 conftest$ac_exeext conftest.$ac_ext
5192 ac_cv_lib_resolv_res_mkquery=no
5193 fi
5194 rm -f core conftest.err conftest.$ac_objext \
5195 conftest$ac_exeext conftest.$ac_ext
73795196 LIBS=$ac_check_lib_save_LIBS
73805197 fi
7381 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_mkquery" >&5
7382 echo "${ECHO_T}$ac_cv_lib_resolv_res_mkquery" >&6; }
7383 if test $ac_cv_lib_resolv_res_mkquery = yes; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_mkquery" >&5
5199 $as_echo "$ac_cv_lib_resolv_res_mkquery" >&6; }
5200 if test "x$ac_cv_lib_resolv_res_mkquery" = x""yes; then :
73845201 cat >>confdefs.h <<_ACEOF
73855202 #define HAVE_LIBRESOLV 1
73865203 _ACEOF
73885205 LIBS="-lresolv $LIBS"
73895206
73905207 else
7391
7392 { echo "$as_me:$LINENO: checking for __res_mkquery in -lresolv" >&5
7393 echo $ECHO_N "checking for __res_mkquery in -lresolv... $ECHO_C" >&6; }
7394 if test "${ac_cv_lib_resolv___res_mkquery+set}" = set; then
7395 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_mkquery in -lresolv" >&5
5209 $as_echo_n "checking for __res_mkquery in -lresolv... " >&6; }
5210 if test "${ac_cv_lib_resolv___res_mkquery+set}" = set; then :
5211 $as_echo_n "(cached) " >&6
73965212 else
73975213 ac_check_lib_save_LIBS=$LIBS
73985214 LIBS="-lresolv $LIBS"
7399 cat >conftest.$ac_ext <<_ACEOF
7400 /* confdefs.h. */
7401 _ACEOF
7402 cat confdefs.h >>conftest.$ac_ext
7403 cat >>conftest.$ac_ext <<_ACEOF
5215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74045216 /* end confdefs.h. */
74055217
74065218 /* Override any GCC internal prototype to avoid an error.
74185230 return 0;
74195231 }
74205232 _ACEOF
7421 rm -f conftest.$ac_objext conftest$ac_exeext
7422 if { (ac_try="$ac_link"
7423 case "(($ac_try" in
7424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7425 *) ac_try_echo=$ac_try;;
7426 esac
7427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7428 (eval "$ac_link") 2>conftest.er1
7429 ac_status=$?
7430 grep -v '^ *+' conftest.er1 >conftest.err
7431 rm -f conftest.er1
7432 cat conftest.err >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); } && {
7435 test -z "$ac_c_werror_flag" ||
7436 test ! -s conftest.err
7437 } && test -s conftest$ac_exeext &&
7438 $as_test_x conftest$ac_exeext; then
5233 if ac_fn_c_try_link "$LINENO"; then :
74395234 ac_cv_lib_resolv___res_mkquery=yes
74405235 else
7441 echo "$as_me: failed program was:" >&5
7442 sed 's/^/| /' conftest.$ac_ext >&5
7443
7444 ac_cv_lib_resolv___res_mkquery=no
7445 fi
7446
7447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7448 conftest$ac_exeext conftest.$ac_ext
5236 ac_cv_lib_resolv___res_mkquery=no
5237 fi
5238 rm -f core conftest.err conftest.$ac_objext \
5239 conftest$ac_exeext conftest.$ac_ext
74495240 LIBS=$ac_check_lib_save_LIBS
74505241 fi
7451 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_mkquery" >&5
7452 echo "${ECHO_T}$ac_cv_lib_resolv___res_mkquery" >&6; }
7453 if test $ac_cv_lib_resolv___res_mkquery = yes; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv___res_mkquery" >&5
5243 $as_echo "$ac_cv_lib_resolv___res_mkquery" >&6; }
5244 if test "x$ac_cv_lib_resolv___res_mkquery" = x""yes; then :
74545245 cat >>confdefs.h <<_ACEOF
74555246 #define HAVE_LIBRESOLV 1
74565247 _ACEOF
74585249 LIBS="-lresolv $LIBS"
74595250
74605251 else
7461 { { echo "$as_me:$LINENO: error: No resolver library found" >&5
7462 echo "$as_me: error: No resolver library found" >&2;}
7463 { (exit 1); exit 1; }; }
5252 as_fn_error "No resolver library found" "$LINENO" 5
74645253 fi
74655254
74665255 fi
74755264 # removing it hurts your OS.... -- REW
74765265 #LIBS="$LIBS -lresolv"
74775266
7478 { echo "$as_me:$LINENO: checking for herror" >&5
7479 echo $ECHO_N "checking for herror... $ECHO_C" >&6; }
7480 if test "${ac_cv_func_herror+set}" = set; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 else
7483 cat >conftest.$ac_ext <<_ACEOF
7484 /* confdefs.h. */
7485 _ACEOF
7486 cat confdefs.h >>conftest.$ac_ext
7487 cat >>conftest.$ac_ext <<_ACEOF
7488 /* end confdefs.h. */
7489 /* Define herror to an innocuous variant, in case <limits.h> declares herror.
7490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7491 #define herror innocuous_herror
7492
7493 /* System header to define __stub macros and hopefully few prototypes,
7494 which can conflict with char herror (); below.
7495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7496 <limits.h> exists even on freestanding compilers. */
7497
7498 #ifdef __STDC__
7499 # include <limits.h>
7500 #else
7501 # include <assert.h>
7502 #endif
7503
7504 #undef herror
7505
7506 /* Override any GCC internal prototype to avoid an error.
7507 Use char because int might match the return type of a GCC
7508 builtin and then its argument prototype would still apply. */
7509 #ifdef __cplusplus
7510 extern "C"
7511 #endif
7512 char herror ();
7513 /* The GNU C library defines this for functions which it implements
7514 to always fail with ENOSYS. Some functions are actually named
7515 something starting with __ and the normal name is an alias. */
7516 #if defined __stub_herror || defined __stub___herror
7517 choke me
7518 #endif
7519
7520 int
7521 main ()
7522 {
7523 return herror ();
7524 ;
7525 return 0;
7526 }
7527 _ACEOF
7528 rm -f conftest.$ac_objext conftest$ac_exeext
7529 if { (ac_try="$ac_link"
7530 case "(($ac_try" in
7531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7532 *) ac_try_echo=$ac_try;;
7533 esac
7534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7535 (eval "$ac_link") 2>conftest.er1
7536 ac_status=$?
7537 grep -v '^ *+' conftest.er1 >conftest.err
7538 rm -f conftest.er1
7539 cat conftest.err >&5
7540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541 (exit $ac_status); } && {
7542 test -z "$ac_c_werror_flag" ||
7543 test ! -s conftest.err
7544 } && test -s conftest$ac_exeext &&
7545 $as_test_x conftest$ac_exeext; then
7546 ac_cv_func_herror=yes
7547 else
7548 echo "$as_me: failed program was:" >&5
7549 sed 's/^/| /' conftest.$ac_ext >&5
7550
7551 ac_cv_func_herror=no
7552 fi
7553
7554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7555 conftest$ac_exeext conftest.$ac_ext
7556 fi
7557 { echo "$as_me:$LINENO: result: $ac_cv_func_herror" >&5
7558 echo "${ECHO_T}$ac_cv_func_herror" >&6; }
7559 if test $ac_cv_func_herror = yes; then
7560 :
7561 else
7562
7563 cat >>confdefs.h <<\_ACEOF
7564 #define NO_HERROR 1
7565 _ACEOF
7566
7567 fi
7568
7569 { echo "$as_me:$LINENO: checking for strerror" >&5
7570 echo $ECHO_N "checking for strerror... $ECHO_C" >&6; }
7571 if test "${ac_cv_func_strerror+set}" = set; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 else
7574 cat >conftest.$ac_ext <<_ACEOF
7575 /* confdefs.h. */
7576 _ACEOF
7577 cat confdefs.h >>conftest.$ac_ext
7578 cat >>conftest.$ac_ext <<_ACEOF
7579 /* end confdefs.h. */
7580 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
7581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7582 #define strerror innocuous_strerror
7583
7584 /* System header to define __stub macros and hopefully few prototypes,
7585 which can conflict with char strerror (); below.
7586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7587 <limits.h> exists even on freestanding compilers. */
7588
7589 #ifdef __STDC__
7590 # include <limits.h>
7591 #else
7592 # include <assert.h>
7593 #endif
7594
7595 #undef strerror
7596
7597 /* Override any GCC internal prototype to avoid an error.
7598 Use char because int might match the return type of a GCC
7599 builtin and then its argument prototype would still apply. */
7600 #ifdef __cplusplus
7601 extern "C"
7602 #endif
7603 char strerror ();
7604 /* The GNU C library defines this for functions which it implements
7605 to always fail with ENOSYS. Some functions are actually named
7606 something starting with __ and the normal name is an alias. */
7607 #if defined __stub_strerror || defined __stub___strerror
7608 choke me
7609 #endif
7610
7611 int
7612 main ()
7613 {
7614 return strerror ();
7615 ;
7616 return 0;
7617 }
7618 _ACEOF
7619 rm -f conftest.$ac_objext conftest$ac_exeext
7620 if { (ac_try="$ac_link"
7621 case "(($ac_try" in
7622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7623 *) ac_try_echo=$ac_try;;
7624 esac
7625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7626 (eval "$ac_link") 2>conftest.er1
7627 ac_status=$?
7628 grep -v '^ *+' conftest.er1 >conftest.err
7629 rm -f conftest.er1
7630 cat conftest.err >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); } && {
7633 test -z "$ac_c_werror_flag" ||
7634 test ! -s conftest.err
7635 } && test -s conftest$ac_exeext &&
7636 $as_test_x conftest$ac_exeext; then
7637 ac_cv_func_strerror=yes
7638 else
7639 echo "$as_me: failed program was:" >&5
7640 sed 's/^/| /' conftest.$ac_ext >&5
7641
7642 ac_cv_func_strerror=no
7643 fi
7644
7645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7646 conftest$ac_exeext conftest.$ac_ext
7647 fi
7648 { echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
7649 echo "${ECHO_T}$ac_cv_func_strerror" >&6; }
7650 if test $ac_cv_func_strerror = yes; then
7651 :
7652 else
7653
7654 cat >>confdefs.h <<\_ACEOF
7655 #define NO_STRERROR 1
7656 _ACEOF
7657
7658 fi
7659
7660
7661 { echo "$as_me:$LINENO: checking for getaddrinfo" >&5
7662 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
7663 if test "${ac_cv_func_getaddrinfo+set}" = set; then
7664 echo $ECHO_N "(cached) $ECHO_C" >&6
7665 else
7666 cat >conftest.$ac_ext <<_ACEOF
7667 /* confdefs.h. */
7668 _ACEOF
7669 cat confdefs.h >>conftest.$ac_ext
7670 cat >>conftest.$ac_ext <<_ACEOF
7671 /* end confdefs.h. */
7672 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
7673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7674 #define getaddrinfo innocuous_getaddrinfo
7675
7676 /* System header to define __stub macros and hopefully few prototypes,
7677 which can conflict with char getaddrinfo (); below.
7678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7679 <limits.h> exists even on freestanding compilers. */
7680
7681 #ifdef __STDC__
7682 # include <limits.h>
7683 #else
7684 # include <assert.h>
7685 #endif
7686
7687 #undef getaddrinfo
7688
7689 /* Override any GCC internal prototype to avoid an error.
7690 Use char because int might match the return type of a GCC
7691 builtin and then its argument prototype would still apply. */
7692 #ifdef __cplusplus
7693 extern "C"
7694 #endif
7695 char getaddrinfo ();
7696 /* The GNU C library defines this for functions which it implements
7697 to always fail with ENOSYS. Some functions are actually named
7698 something starting with __ and the normal name is an alias. */
7699 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
7700 choke me
7701 #endif
7702
7703 int
7704 main ()
7705 {
7706 return getaddrinfo ();
7707 ;
7708 return 0;
7709 }
7710 _ACEOF
7711 rm -f conftest.$ac_objext conftest$ac_exeext
7712 if { (ac_try="$ac_link"
7713 case "(($ac_try" in
7714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7715 *) ac_try_echo=$ac_try;;
7716 esac
7717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7718 (eval "$ac_link") 2>conftest.er1
7719 ac_status=$?
7720 grep -v '^ *+' conftest.er1 >conftest.err
7721 rm -f conftest.er1
7722 cat conftest.err >&5
7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724 (exit $ac_status); } && {
7725 test -z "$ac_c_werror_flag" ||
7726 test ! -s conftest.err
7727 } && test -s conftest$ac_exeext &&
7728 $as_test_x conftest$ac_exeext; then
7729 ac_cv_func_getaddrinfo=yes
7730 else
7731 echo "$as_me: failed program was:" >&5
7732 sed 's/^/| /' conftest.$ac_ext >&5
7733
7734 ac_cv_func_getaddrinfo=no
7735 fi
7736
7737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7738 conftest$ac_exeext conftest.$ac_ext
7739 fi
7740 { echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
7741 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
7742 if test $ac_cv_func_getaddrinfo = yes; then
5267 ac_fn_c_check_func "$LINENO" "herror" "ac_cv_func_herror"
5268 if test "x$ac_cv_func_herror" = x""yes; then :
5269
5270 else
5271
5272 $as_echo "#define NO_HERROR 1" >>confdefs.h
5273
5274 fi
5275
5276 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
5277 if test "x$ac_cv_func_strerror" = x""yes; then :
5278
5279 else
5280
5281 $as_echo "#define NO_STRERROR 1" >>confdefs.h
5282
5283 fi
5284
5285
5286 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
5287 if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
77435288 if test "$WANTS_IPV6" = "yes"; then
77445289
7745 cat >>confdefs.h <<\_ACEOF
7746 #define ENABLE_IPV6
7747 _ACEOF
7748
7749 fi
7750 fi
7751
7752
7753 { echo "$as_me:$LINENO: checking whether errno is declared" >&5
7754 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6; }
7755 if test "${ac_cv_have_decl_errno+set}" = set; then
7756 echo $ECHO_N "(cached) $ECHO_C" >&6
7757 else
7758 cat >conftest.$ac_ext <<_ACEOF
7759 /* confdefs.h. */
7760 _ACEOF
7761 cat confdefs.h >>conftest.$ac_ext
7762 cat >>conftest.$ac_ext <<_ACEOF
7763 /* end confdefs.h. */
7764
5290 $as_echo "#define ENABLE_IPV6 /**/" >>confdefs.h
5291
5292 fi
5293 fi
5294
5295
5296 ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "
77655297 #include <errno.h>
77665298 #include <sys/errno.h>
77675299
7768
7769 int
7770 main ()
7771 {
7772 #ifndef errno
7773 (void) errno;
7774 #endif
7775
7776 ;
7777 return 0;
7778 }
7779 _ACEOF
7780 rm -f conftest.$ac_objext
7781 if { (ac_try="$ac_compile"
7782 case "(($ac_try" in
7783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7784 *) ac_try_echo=$ac_try;;
7785 esac
7786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7787 (eval "$ac_compile") 2>conftest.er1
7788 ac_status=$?
7789 grep -v '^ *+' conftest.er1 >conftest.err
7790 rm -f conftest.er1
7791 cat conftest.err >&5
7792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 (exit $ac_status); } && {
7794 test -z "$ac_c_werror_flag" ||
7795 test ! -s conftest.err
7796 } && test -s conftest.$ac_objext; then
7797 ac_cv_have_decl_errno=yes
7798 else
7799 echo "$as_me: failed program was:" >&5
7800 sed 's/^/| /' conftest.$ac_ext >&5
7801
7802 ac_cv_have_decl_errno=no
7803 fi
7804
7805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7806 fi
7807 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
7808 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6; }
7809 if test $ac_cv_have_decl_errno = yes; then
5300 "
5301 if test "x$ac_cv_have_decl_errno" = x""yes; then :
5302 ac_have_decl=1
5303 else
5304 ac_have_decl=0
5305 fi
78105306
78115307 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_DECL_ERRNO 1
7813 _ACEOF
7814
7815
7816 else
7817 cat >>confdefs.h <<_ACEOF
7818 #define HAVE_DECL_ERRNO 0
7819 _ACEOF
7820
7821
7822 fi
7823
7824
7825
7826 { echo "$as_me:$LINENO: checking for socklen_t" >&5
7827 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
7828 if test "${ac_cv_type_socklen_t+set}" = set; then
7829 echo $ECHO_N "(cached) $ECHO_C" >&6
7830 else
7831 cat >conftest.$ac_ext <<_ACEOF
7832 /* confdefs.h. */
7833 _ACEOF
7834 cat confdefs.h >>conftest.$ac_ext
7835 cat >>conftest.$ac_ext <<_ACEOF
7836 /* end confdefs.h. */
7837
5308 #define HAVE_DECL_ERRNO $ac_have_decl
5309 _ACEOF
5310
5311
5312 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
78385313 #include <netinet/in.h>
78395314 #ifdef HAVE_SOCKET_H
78405315 #include <socket.h>
78435318 #include <sys/socket.h>
78445319 #endif
78455320
7846
7847 typedef socklen_t ac__type_new_;
7848 int
7849 main ()
7850 {
7851 if ((ac__type_new_ *) 0)
7852 return 0;
7853 if (sizeof (ac__type_new_))
7854 return 0;
7855 ;
7856 return 0;
7857 }
7858 _ACEOF
7859 rm -f conftest.$ac_objext
7860 if { (ac_try="$ac_compile"
7861 case "(($ac_try" in
7862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7863 *) ac_try_echo=$ac_try;;
7864 esac
7865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7866 (eval "$ac_compile") 2>conftest.er1
7867 ac_status=$?
7868 grep -v '^ *+' conftest.er1 >conftest.err
7869 rm -f conftest.er1
7870 cat conftest.err >&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } && {
7873 test -z "$ac_c_werror_flag" ||
7874 test ! -s conftest.err
7875 } && test -s conftest.$ac_objext; then
7876 ac_cv_type_socklen_t=yes
7877 else
7878 echo "$as_me: failed program was:" >&5
7879 sed 's/^/| /' conftest.$ac_ext >&5
7880
7881 ac_cv_type_socklen_t=no
7882 fi
7883
7884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7885 fi
7886 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7887 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
7888 if test $ac_cv_type_socklen_t = yes; then
7889
7890 cat >>confdefs.h <<\_ACEOF
7891 #define HAVE_SOCKLEN_T
7892 _ACEOF
7893
7894 fi
7895
7896
7897 { echo "$as_me:$LINENO: checking for struct in_addr" >&5
7898 echo $ECHO_N "checking for struct in_addr... $ECHO_C" >&6; }
7899 if test "${ac_cv_type_struct_in_addr+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 else
7902 cat >conftest.$ac_ext <<_ACEOF
7903 /* confdefs.h. */
7904 _ACEOF
7905 cat confdefs.h >>conftest.$ac_ext
7906 cat >>conftest.$ac_ext <<_ACEOF
7907 /* end confdefs.h. */
7908
5321 "
5322 if test "x$ac_cv_type_socklen_t" = x""yes; then :
5323
5324 $as_echo "#define HAVE_SOCKLEN_T /**/" >>confdefs.h
5325
5326 fi
5327
5328
5329 ac_fn_c_check_type "$LINENO" "struct in_addr" "ac_cv_type_struct_in_addr" "
79095330 #include <netinet/in.h>
79105331
7911
7912 typedef struct in_addr ac__type_new_;
7913 int
7914 main ()
7915 {
7916 if ((ac__type_new_ *) 0)
7917 return 0;
7918 if (sizeof (ac__type_new_))
7919 return 0;
7920 ;
7921 return 0;
7922 }
7923 _ACEOF
7924 rm -f conftest.$ac_objext
7925 if { (ac_try="$ac_compile"
7926 case "(($ac_try" in
7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7929 esac
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_compile") 2>conftest.er1
7932 ac_status=$?
7933 grep -v '^ *+' conftest.er1 >conftest.err
7934 rm -f conftest.er1
7935 cat conftest.err >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } && {
7938 test -z "$ac_c_werror_flag" ||
7939 test ! -s conftest.err
7940 } && test -s conftest.$ac_objext; then
7941 ac_cv_type_struct_in_addr=yes
7942 else
7943 echo "$as_me: failed program was:" >&5
7944 sed 's/^/| /' conftest.$ac_ext >&5
7945
7946 ac_cv_type_struct_in_addr=no
7947 fi
7948
7949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7950 fi
7951 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_in_addr" >&5
7952 echo "${ECHO_T}$ac_cv_type_struct_in_addr" >&6; }
7953 if test $ac_cv_type_struct_in_addr = yes; then
7954
7955 cat >>confdefs.h <<\_ACEOF
7956 #define HAVE_STRUCT_INADDR
7957 _ACEOF
7958
7959 fi
7960
7961
7962 { echo "$as_me:$LINENO: checking for C flags to get more warnings" >&5
7963 echo $ECHO_N "checking for C flags to get more warnings... $ECHO_C" >&6; }
5332 "
5333 if test "x$ac_cv_type_struct_in_addr" = x""yes; then :
5334
5335 $as_echo "#define HAVE_STRUCT_INADDR /**/" >>confdefs.h
5336
5337 fi
5338
5339
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C flags to get more warnings" >&5
5341 $as_echo_n "checking for C flags to get more warnings... " >&6; }
79645342 ac_save_CFLAGS="$CFLAGS"
79655343 if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
79665344 warning_CFLAGS="-Wall"
79675345 # Check if compiler supports -Wno-pointer-sign and add it if supports
79685346 CFLAGS_saved="$CFLAGS"
79695347 CFLAGS="$CFLAGS -Wno-pointer-sign"
7970 cat >conftest.$ac_ext <<_ACEOF
7971 /* confdefs.h. */
7972 _ACEOF
7973 cat confdefs.h >>conftest.$ac_ext
7974 cat >>conftest.$ac_ext <<_ACEOF
5348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79755349 /* end confdefs.h. */
7976 int foo;
7977 _ACEOF
7978 rm -f conftest.$ac_objext
7979 if { (ac_try="$ac_compile"
7980 case "(($ac_try" in
7981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7982 *) ac_try_echo=$ac_try;;
7983 esac
7984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7985 (eval "$ac_compile") 2>conftest.er1
7986 ac_status=$?
7987 grep -v '^ *+' conftest.er1 >conftest.err
7988 rm -f conftest.er1
7989 cat conftest.err >&5
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); } && {
7992 test -z "$ac_c_werror_flag" ||
7993 test ! -s conftest.err
7994 } && test -s conftest.$ac_objext; then
5350 int foo;
5351 _ACEOF
5352 if ac_fn_c_try_compile "$LINENO"; then :
79955353 warning_CFLAGS="${warning_CFLAGS} -Wno-pointer-sign"
7996 else
7997 echo "$as_me: failed program was:" >&5
7998 sed 's/^/| /' conftest.$ac_ext >&5
7999
8000
8001 fi
8002
5354 fi
80035355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80045356 CFLAGS="$CFLAGS_saved"
80055357 else
80065358 case "$host_os" in
80075359 irix*)
80085360 CFLAGS="$CFLAGS -fullwarn"
8009 cat >conftest.$ac_ext <<_ACEOF
8010 /* confdefs.h. */
8011 _ACEOF
8012 cat confdefs.h >>conftest.$ac_ext
8013 cat >>conftest.$ac_ext <<_ACEOF
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80145362 /* end confdefs.h. */
80155363 #include <stdio.h>
80165364 int
80215369 return 0;
80225370 }
80235371 _ACEOF
8024 rm -f conftest.$ac_objext
8025 if { (ac_try="$ac_compile"
8026 case "(($ac_try" in
8027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8028 *) ac_try_echo=$ac_try;;
8029 esac
8030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8031 (eval "$ac_compile") 2>conftest.er1
8032 ac_status=$?
8033 grep -v '^ *+' conftest.er1 >conftest.err
8034 rm -f conftest.er1
8035 cat conftest.err >&5
8036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8037 (exit $ac_status); } && {
8038 test -z "$ac_c_werror_flag" ||
8039 test ! -s conftest.err
8040 } && test -s conftest.$ac_objext; then
5372 if ac_fn_c_try_compile "$LINENO"; then :
80415373 warning_CFLAGS="-fullwarn"
8042 else
8043 echo "$as_me: failed program was:" >&5
8044 sed 's/^/| /' conftest.$ac_ext >&5
8045
8046
8047 fi
8048
5374 fi
80495375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80505376 ;;
80515377
80525378 sunos*)
80535379 if "$CC" = "acc" ; then
80545380 CFLAGS="$CFLAGS -vc"
8055 cat >conftest.$ac_ext <<_ACEOF
8056 /* confdefs.h. */
8057 _ACEOF
8058 cat confdefs.h >>conftest.$ac_ext
8059 cat >>conftest.$ac_ext <<_ACEOF
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80605382 /* end confdefs.h. */
80615383 #include <stdio.h>
80625384 int
80675389 return 0;
80685390 }
80695391 _ACEOF
8070 rm -f conftest.$ac_objext
8071 if { (ac_try="$ac_compile"
8072 case "(($ac_try" in
8073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8074 *) ac_try_echo=$ac_try;;
8075 esac
8076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8077 (eval "$ac_compile") 2>conftest.er1
8078 ac_status=$?
8079 grep -v '^ *+' conftest.er1 >conftest.err
8080 rm -f conftest.er1
8081 cat conftest.err >&5
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); } && {
8084 test -z "$ac_c_werror_flag" ||
8085 test ! -s conftest.err
8086 } && test -s conftest.$ac_objext; then
5392 if ac_fn_c_try_compile "$LINENO"; then :
80875393 warning_CFLAGS="-vc"
8088 else
8089 echo "$as_me: failed program was:" >&5
8090 sed 's/^/| /' conftest.$ac_ext >&5
8091
8092
8093 fi
8094
5394 fi
80955395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80965396 fi
80975397 ;;
81035403 fi
81045404 CFLAGS="$ac_save_CFLAGS"
81055405 if test "$warning_CFLAGS" = "none" ; then
8106 { echo "$as_me:$LINENO: result: none" >&5
8107 echo "${ECHO_T}none" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5407 $as_echo "none" >&6; }
81085408 else
81095409 CFLAGS="$CFLAGS $warning_CFLAGS"
8110 { echo "$as_me:$LINENO: result: $warning_CFLAGS" >&5
8111 echo "${ECHO_T}$warning_CFLAGS" >&6; }
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_CFLAGS" >&5
5411 $as_echo "$warning_CFLAGS" >&6; }
81125412 fi
81135413
81145414
81455445 case $ac_val in #(
81465446 *${as_nl}*)
81475447 case $ac_var in #(
8148 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8149 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5448 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5449 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81505450 esac
81515451 case $ac_var in #(
81525452 _ | IFS | as_nl) ;; #(
8153 *) $as_unset $ac_var ;;
5453 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5454 *) { eval $ac_var=; unset $ac_var;} ;;
81545455 esac ;;
81555456 esac
81565457 done
81585459 (set) 2>&1 |
81595460 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81605461 *${as_nl}ac_space=\ *)
8161 # `set' does not quote correctly, so add quotes (double-quote
8162 # substitution turns \\\\ into \\, and sed turns \\ into \).
5462 # `set' does not quote correctly, so add quotes: double-quote
5463 # substitution turns \\\\ into \\, and sed turns \\ into \.
81635464 sed -n \
81645465 "s/'/'\\\\''/g;
81655466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81825483 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81835484 if test -w "$cache_file"; then
81845485 test "x$cache_file" != "x/dev/null" &&
8185 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8186 echo "$as_me: updating cache $cache_file" >&6;}
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5487 $as_echo "$as_me: updating cache $cache_file" >&6;}
81875488 cat confcache >$cache_file
81885489 else
8189 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8190 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5491 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81915492 fi
81925493 fi
81935494 rm -f confcache
82035504 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
82045505 # 1. Remove the extension, and $U if already installed.
82055506 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8206 ac_i=`echo "$ac_i" | sed "$ac_script"`
5507 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
82075508 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
82085509 # will be set to the directory where LIBOBJS objects are built.
8209 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8210 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5510 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5511 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
82115512 done
82125513 LIBOBJS=$ac_libobjs
82135514
82145515 LTLIBOBJS=$ac_ltlibobjs
82155516
82165517
5518 if test -n "$EXEEXT"; then
5519 am__EXEEXT_TRUE=
5520 am__EXEEXT_FALSE='#'
5521 else
5522 am__EXEEXT_TRUE='#'
5523 am__EXEEXT_FALSE=
5524 fi
5525
82175526 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8218 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8219 Usually this means the macro was only invoked conditionally." >&5
8220 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8221 Usually this means the macro was only invoked conditionally." >&2;}
8222 { (exit 1); exit 1; }; }
5527 as_fn_error "conditional \"AMDEP\" was never defined.
5528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82235529 fi
82245530 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8225 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8226 Usually this means the macro was only invoked conditionally." >&5
8227 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8228 Usually this means the macro was only invoked conditionally." >&2;}
8229 { (exit 1); exit 1; }; }
5531 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82305533 fi
82315534
82325535 : ${CONFIG_STATUS=./config.status}
5536 ac_write_fail=0
82335537 ac_clean_files_save=$ac_clean_files
82345538 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8235 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8236 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8237 cat >$CONFIG_STATUS <<_ACEOF
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5540 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5541 as_write_fail=0
5542 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82385543 #! $SHELL
82395544 # Generated by $as_me.
82405545 # Run this file to recreate the current configuration.
82445549 debug=false
82455550 ac_cs_recheck=false
82465551 ac_cs_silent=false
5552
82475553 SHELL=\${CONFIG_SHELL-$SHELL}
8248 _ACEOF
8249
8250 cat >>$CONFIG_STATUS <<\_ACEOF
8251 ## --------------------- ##
8252 ## M4sh Initialization. ##
8253 ## --------------------- ##
5554 export SHELL
5555 _ASEOF
5556 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5557 ## -------------------- ##
5558 ## M4sh Initialization. ##
5559 ## -------------------- ##
82545560
82555561 # Be more Bourne compatible
82565562 DUALCASE=1; export DUALCASE # for MKS sh
8257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5563 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82585564 emulate sh
82595565 NULLCMD=:
8260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5566 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82615567 # is contrary to our usage. Disable this feature.
82625568 alias -g '${1+"$@"}'='"$@"'
82635569 setopt NO_GLOB_SUBST
82645570 else
8265 case `(set -o) 2>/dev/null` in
8266 *posix*) set -o posix ;;
5571 case `(set -o) 2>/dev/null` in #(
5572 *posix*) :
5573 set -o posix ;; #(
5574 *) :
5575 ;;
82675576 esac
8268
8269 fi
8270
8271
8272
8273
8274 # PATH needs CR
8275 # Avoid depending upon Character Ranges.
8276 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8277 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8278 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8279 as_cr_digits='0123456789'
8280 as_cr_alnum=$as_cr_Letters$as_cr_digits
5577 fi
5578
5579
5580 as_nl='
5581 '
5582 export as_nl
5583 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5584 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5585 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5586 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5587 # Prefer a ksh shell builtin over an external printf program on Solaris,
5588 # but without wasting forks for bash or zsh.
5589 if test -z "$BASH_VERSION$ZSH_VERSION" \
5590 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5591 as_echo='print -r --'
5592 as_echo_n='print -rn --'
5593 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5594 as_echo='printf %s\n'
5595 as_echo_n='printf %s'
5596 else
5597 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5598 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5599 as_echo_n='/usr/ucb/echo -n'
5600 else
5601 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5602 as_echo_n_body='eval
5603 arg=$1;
5604 case $arg in #(
5605 *"$as_nl"*)
5606 expr "X$arg" : "X\\(.*\\)$as_nl";
5607 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5608 esac;
5609 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5610 '
5611 export as_echo_n_body
5612 as_echo_n='sh -c $as_echo_n_body as_echo'
5613 fi
5614 export as_echo_body
5615 as_echo='sh -c $as_echo_body as_echo'
5616 fi
82815617
82825618 # The user is always right.
82835619 if test "${PATH_SEPARATOR+set}" != set; then
8284 echo "#! /bin/sh" >conf$$.sh
8285 echo "exit 0" >>conf$$.sh
8286 chmod +x conf$$.sh
8287 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8288 PATH_SEPARATOR=';'
8289 else
8290 PATH_SEPARATOR=:
8291 fi
8292 rm -f conf$$.sh
8293 fi
8294
8295 # Support unset when possible.
8296 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8297 as_unset=unset
8298 else
8299 as_unset=false
5620 PATH_SEPARATOR=:
5621 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5622 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5623 PATH_SEPARATOR=';'
5624 }
83005625 fi
83015626
83025627
83055630 # there to prevent editors from complaining about space-tab.
83065631 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
83075632 # splitting by setting IFS to empty value.)
8308 as_nl='
8309 '
83105633 IFS=" "" $as_nl"
83115634
83125635 # Find who we are. Look in the path if we contain no directory separator.
8313 case $0 in
5636 case $0 in #((
83145637 *[\\/]* ) as_myself=$0 ;;
83155638 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
83165639 for as_dir in $PATH
83175640 do
83185641 IFS=$as_save_IFS
83195642 test -z "$as_dir" && as_dir=.
8320 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8321 done
5643 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5644 done
83225645 IFS=$as_save_IFS
83235646
83245647 ;;
83295652 as_myself=$0
83305653 fi
83315654 if test ! -f "$as_myself"; then
8332 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8333 { (exit 1); exit 1; }
8334 fi
8335
8336 # Work around bugs in pre-3.0 UWIN ksh.
8337 for as_var in ENV MAIL MAILPATH
8338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5655 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5656 exit 1
5657 fi
5658
5659 # Unset variables that we do not need and which cause bugs (e.g. in
5660 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5661 # suppresses any "Segmentation fault" message there. '((' could
5662 # trigger a bug in pdksh 5.2.14.
5663 for as_var in BASH_ENV ENV MAIL MAILPATH
5664 do eval test x\${$as_var+set} = xset \
5665 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
83395666 done
83405667 PS1='$ '
83415668 PS2='> '
83425669 PS4='+ '
83435670
83445671 # NLS nuisances.
8345 for as_var in \
8346 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8347 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8348 LC_TELEPHONE LC_TIME
8349 do
8350 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8351 eval $as_var=C; export $as_var
8352 else
8353 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5672 LC_ALL=C
5673 export LC_ALL
5674 LANGUAGE=C
5675 export LANGUAGE
5676
5677 # CDPATH.
5678 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5679
5680
5681 # as_fn_error ERROR [LINENO LOG_FD]
5682 # ---------------------------------
5683 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5684 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5685 # script with status $?, using 1 if that was 0.
5686 as_fn_error ()
5687 {
5688 as_status=$?; test $as_status -eq 0 && as_status=1
5689 if test "$3"; then
5690 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5691 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
83545692 fi
8355 done
8356
8357 # Required to use basename.
5693 $as_echo "$as_me: error: $1" >&2
5694 as_fn_exit $as_status
5695 } # as_fn_error
5696
5697
5698 # as_fn_set_status STATUS
5699 # -----------------------
5700 # Set $? to STATUS, without forking.
5701 as_fn_set_status ()
5702 {
5703 return $1
5704 } # as_fn_set_status
5705
5706 # as_fn_exit STATUS
5707 # -----------------
5708 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5709 as_fn_exit ()
5710 {
5711 set +e
5712 as_fn_set_status $1
5713 exit $1
5714 } # as_fn_exit
5715
5716 # as_fn_unset VAR
5717 # ---------------
5718 # Portably unset VAR.
5719 as_fn_unset ()
5720 {
5721 { eval $1=; unset $1;}
5722 }
5723 as_unset=as_fn_unset
5724 # as_fn_append VAR VALUE
5725 # ----------------------
5726 # Append the text in VALUE to the end of the definition contained in VAR. Take
5727 # advantage of any shell optimizations that allow amortized linear growth over
5728 # repeated appends, instead of the typical quadratic growth present in naive
5729 # implementations.
5730 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5731 eval 'as_fn_append ()
5732 {
5733 eval $1+=\$2
5734 }'
5735 else
5736 as_fn_append ()
5737 {
5738 eval $1=\$$1\$2
5739 }
5740 fi # as_fn_append
5741
5742 # as_fn_arith ARG...
5743 # ------------------
5744 # Perform arithmetic evaluation on the ARGs, and store the result in the
5745 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5746 # must be portable across $(()) and expr.
5747 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5748 eval 'as_fn_arith ()
5749 {
5750 as_val=$(( $* ))
5751 }'
5752 else
5753 as_fn_arith ()
5754 {
5755 as_val=`expr "$@" || test $? -eq 1`
5756 }
5757 fi # as_fn_arith
5758
5759
83585760 if expr a : '\(a\)' >/dev/null 2>&1 &&
83595761 test "X`expr 00001 : '.*\(...\)'`" = X001; then
83605762 as_expr=expr
83685770 as_basename=false
83695771 fi
83705772
8371
8372 # Name of the executable.
5773 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5774 as_dirname=dirname
5775 else
5776 as_dirname=false
5777 fi
5778
83735779 as_me=`$as_basename -- "$0" ||
83745780 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
83755781 X"$0" : 'X\(//\)$' \| \
83765782 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8377 echo X/"$0" |
5783 $as_echo X/"$0" |
83785784 sed '/^.*\/\([^/][^/]*\)\/*$/{
83795785 s//\1/
83805786 q
83895795 }
83905796 s/.*/./; q'`
83915797
8392 # CDPATH.
8393 $as_unset CDPATH
8394
8395
8396
8397 as_lineno_1=$LINENO
8398 as_lineno_2=$LINENO
8399 test "x$as_lineno_1" != "x$as_lineno_2" &&
8400 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8401
8402 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8403 # uniformly replaced by the line number. The first 'sed' inserts a
8404 # line-number line after each line using $LINENO; the second 'sed'
8405 # does the real work. The second script uses 'N' to pair each
8406 # line-number line with the line containing $LINENO, and appends
8407 # trailing '-' during substitution so that $LINENO is not a special
8408 # case at line end.
8409 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8410 # scripts with optimization help from Paolo Bonzini. Blame Lee
8411 # E. McMahon (1931-1989) for sed's syntax. :-)
8412 sed -n '
8413 p
8414 /[$]LINENO/=
8415 ' <$as_myself |
8416 sed '
8417 s/[$]LINENO.*/&-/
8418 t lineno
8419 b
8420 :lineno
8421 N
8422 :loop
8423 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8424 t loop
8425 s/-\n.*//
8426 ' >$as_me.lineno &&
8427 chmod +x "$as_me.lineno" ||
8428 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8429 { (exit 1); exit 1; }; }
8430
8431 # Don't try to exec as it changes $[0], causing all sort of problems
8432 # (the dirname of $[0] is not the place where we might find the
8433 # original and so on. Autoconf is especially sensitive to this).
8434 . "./$as_me.lineno"
8435 # Exit status is that of the last command.
8436 exit
8437 }
8438
8439
8440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8441 as_dirname=dirname
8442 else
8443 as_dirname=false
8444 fi
5798 # Avoid depending upon Character Ranges.
5799 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5800 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5801 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5802 as_cr_digits='0123456789'
5803 as_cr_alnum=$as_cr_Letters$as_cr_digits
84455804
84465805 ECHO_C= ECHO_N= ECHO_T=
8447 case `echo -n x` in
5806 case `echo -n x` in #(((((
84485807 -n*)
8449 case `echo 'x\c'` in
5808 case `echo 'xy\c'` in
84505809 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8451 *) ECHO_C='\c';;
5810 xy) ECHO_C='\c';;
5811 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5812 ECHO_T=' ';;
84525813 esac;;
84535814 *)
84545815 ECHO_N='-n';;
84555816 esac
84565817
8457 if expr a : '\(a\)' >/dev/null 2>&1 &&
8458 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8459 as_expr=expr
8460 else
8461 as_expr=false
8462 fi
8463
84645818 rm -f conf$$ conf$$.exe conf$$.file
84655819 if test -d conf$$.dir; then
84665820 rm -f conf$$.dir/conf$$.file
84675821 else
84685822 rm -f conf$$.dir
8469 mkdir conf$$.dir
8470 fi
8471 echo >conf$$.file
8472 if ln -s conf$$.file conf$$ 2>/dev/null; then
8473 as_ln_s='ln -s'
8474 # ... but there are two gotchas:
8475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8477 # In both cases, we have to default to `cp -p'.
8478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5823 mkdir conf$$.dir 2>/dev/null
5824 fi
5825 if (echo >conf$$.file) 2>/dev/null; then
5826 if ln -s conf$$.file conf$$ 2>/dev/null; then
5827 as_ln_s='ln -s'
5828 # ... but there are two gotchas:
5829 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5830 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5831 # In both cases, we have to default to `cp -p'.
5832 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5833 as_ln_s='cp -p'
5834 elif ln conf$$.file conf$$ 2>/dev/null; then
5835 as_ln_s=ln
5836 else
84795837 as_ln_s='cp -p'
8480 elif ln conf$$.file conf$$ 2>/dev/null; then
8481 as_ln_s=ln
5838 fi
84825839 else
84835840 as_ln_s='cp -p'
84845841 fi
84855842 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
84865843 rmdir conf$$.dir 2>/dev/null
84875844
8488 if mkdir -p . 2>/dev/null; then
8489 as_mkdir_p=:
8490 else
8491 test -d ./-p && rmdir ./-p
8492 as_mkdir_p=false
8493 fi
8494
8495 if test -x / >/dev/null 2>&1; then
8496 as_test_x='test -x'
8497 else
8498 if ls -dL / >/dev/null 2>&1; then
8499 as_ls_L_option=L
8500 else
8501 as_ls_L_option=
8502 fi
8503 as_test_x='
8504 eval sh -c '\''
8505 if test -d "$1"; then
8506 test -d "$1/.";
8507 else
8508 case $1 in
8509 -*)set "./$1";;
8510 esac;
8511 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8512 ???[sx]*):;;*)false;;esac;fi
8513 '\'' sh
8514 '
8515 fi
8516 as_executable_p=$as_test_x
8517
8518 # Sed expression to map a string onto a valid CPP name.
8519 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8520
8521 # Sed expression to map a string onto a valid variable name.
8522 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8523
8524
8525 exec 6>&1
8526
8527 # Save the log message, to keep $[0] and so on meaningful, and to
8528 # report actual input values of CONFIG_FILES etc. instead of their
8529 # values after options handling.
8530 ac_log="
8531 This file was extended by $as_me, which was
8532 generated by GNU Autoconf 2.61. Invocation command line was
8533
8534 CONFIG_FILES = $CONFIG_FILES
8535 CONFIG_HEADERS = $CONFIG_HEADERS
8536 CONFIG_LINKS = $CONFIG_LINKS
8537 CONFIG_COMMANDS = $CONFIG_COMMANDS
8538 $ $0 $@
8539
8540 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8541 "
8542
8543 _ACEOF
8544
8545 cat >>$CONFIG_STATUS <<_ACEOF
8546 # Files that config.status was made for.
8547 config_files="$ac_config_files"
8548 config_headers="$ac_config_headers"
8549 config_commands="$ac_config_commands"
8550
8551 _ACEOF
8552
8553 cat >>$CONFIG_STATUS <<\_ACEOF
8554 ac_cs_usage="\
8555 \`$as_me' instantiates files from templates according to the
8556 current configuration.
8557
8558 Usage: $0 [OPTIONS] [FILE]...
8559
8560 -h, --help print this help, then exit
8561 -V, --version print version number and configuration settings, then exit
8562 -q, --quiet do not print progress messages
8563 -d, --debug don't remove temporary files
8564 --recheck update $as_me by reconfiguring in the same conditions
8565 --file=FILE[:TEMPLATE]
8566 instantiate the configuration file FILE
8567 --header=FILE[:TEMPLATE]
8568 instantiate the configuration header FILE
8569
8570 Configuration files:
8571 $config_files
8572
8573 Configuration headers:
8574 $config_headers
8575
8576 Configuration commands:
8577 $config_commands
8578
8579 Report bugs to <bug-autoconf@gnu.org>."
8580
8581 _ACEOF
8582 cat >>$CONFIG_STATUS <<_ACEOF
8583 ac_cs_version="\\
8584 config.status
8585 configured by $0, generated by GNU Autoconf 2.61,
8586 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8587
8588 Copyright (C) 2006 Free Software Foundation, Inc.
8589 This config.status script is free software; the Free Software Foundation
8590 gives unlimited permission to copy, distribute and modify it."
8591
8592 ac_pwd='$ac_pwd'
8593 srcdir='$srcdir'
8594 INSTALL='$INSTALL'
8595 _ACEOF
8596
8597 cat >>$CONFIG_STATUS <<\_ACEOF
8598 # If no file are specified by the user, then we need to provide default
8599 # value. By we need to know if files were specified by the user.
8600 ac_need_defaults=:
8601 while test $# != 0
8602 do
8603 case $1 in
8604 --*=*)
8605 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8606 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8607 ac_shift=:
8608 ;;
8609 *)
8610 ac_option=$1
8611 ac_optarg=$2
8612 ac_shift=shift
8613 ;;
8614 esac
8615
8616 case $ac_option in
8617 # Handling of the options.
8618 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8619 ac_cs_recheck=: ;;
8620 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8621 echo "$ac_cs_version"; exit ;;
8622 --debug | --debu | --deb | --de | --d | -d )
8623 debug=: ;;
8624 --file | --fil | --fi | --f )
8625 $ac_shift
8626 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8627 ac_need_defaults=false;;
8628 --header | --heade | --head | --hea )
8629 $ac_shift
8630 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8631 ac_need_defaults=false;;
8632 --he | --h)
8633 # Conflict between --help and --header
8634 { echo "$as_me: error: ambiguous option: $1
8635 Try \`$0 --help' for more information." >&2
8636 { (exit 1); exit 1; }; };;
8637 --help | --hel | -h )
8638 echo "$ac_cs_usage"; exit ;;
8639 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8640 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8641 ac_cs_silent=: ;;
8642
8643 # This is an error.
8644 -*) { echo "$as_me: error: unrecognized option: $1
8645 Try \`$0 --help' for more information." >&2
8646 { (exit 1); exit 1; }; } ;;
8647
8648 *) ac_config_targets="$ac_config_targets $1"
8649 ac_need_defaults=false ;;
8650
8651 esac
8652 shift
8653 done
8654
8655 ac_configure_extra_args=
8656
8657 if $ac_cs_silent; then
8658 exec 6>/dev/null
8659 ac_configure_extra_args="$ac_configure_extra_args --silent"
8660 fi
8661
8662 _ACEOF
8663 cat >>$CONFIG_STATUS <<_ACEOF
8664 if \$ac_cs_recheck; then
8665 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8666 CONFIG_SHELL=$SHELL
8667 export CONFIG_SHELL
8668 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8669 fi
8670
8671 _ACEOF
8672 cat >>$CONFIG_STATUS <<\_ACEOF
8673 exec 5>>config.log
5845
5846 # as_fn_mkdir_p
5847 # -------------
5848 # Create "$as_dir" as a directory, including parents if necessary.
5849 as_fn_mkdir_p ()
86745850 {
8675 echo
8676 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8677 ## Running $as_me. ##
8678 _ASBOX
8679 echo "$ac_log"
8680 } >&5
8681
8682 _ACEOF
8683 cat >>$CONFIG_STATUS <<_ACEOF
8684 #
8685 # INIT-COMMANDS
8686 #
8687 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8688
8689 _ACEOF
8690
8691 cat >>$CONFIG_STATUS <<\_ACEOF
8692
8693 # Handling of arguments.
8694 for ac_config_target in $ac_config_targets
8695 do
8696 case $ac_config_target in
8697 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8698 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8699 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8700 "img/Makefile") CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
8701
8702 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8703 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8704 { (exit 1); exit 1; }; };;
8705 esac
8706 done
8707
8708
8709 # If the user did not use the arguments to specify the items to instantiate,
8710 # then the envvar interface is used. Set only those that are not.
8711 # We use the long form for the default assignment because of an extremely
8712 # bizarre bug on SunOS 4.1.3.
8713 if $ac_need_defaults; then
8714 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8715 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8716 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8717 fi
8718
8719 # Have a temporary directory for convenience. Make it in the build tree
8720 # simply because there is no reason against having it here, and in addition,
8721 # creating and moving files from /tmp can sometimes cause problems.
8722 # Hook for its removal unless debugging.
8723 # Note that there is a small window in which the directory will not be cleaned:
8724 # after its creation but before its name has been assigned to `$tmp'.
8725 $debug ||
8726 {
8727 tmp=
8728 trap 'exit_status=$?
8729 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8730 ' 0
8731 trap '{ (exit 1); exit 1; }' 1 2 13 15
8732 }
8733 # Create a (secure) tmp directory for tmp files.
8734
8735 {
8736 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8737 test -n "$tmp" && test -d "$tmp"
8738 } ||
8739 {
8740 tmp=./conf$$-$RANDOM
8741 (umask 077 && mkdir "$tmp")
8742 } ||
8743 {
8744 echo "$me: cannot create a temporary directory in ." >&2
8745 { (exit 1); exit 1; }
8746 }
8747
8748 #
8749 # Set up the sed scripts for CONFIG_FILES section.
8750 #
8751
8752 # No need to generate the scripts if there are no CONFIG_FILES.
8753 # This happens for instance when ./config.status config.h
8754 if test -n "$CONFIG_FILES"; then
8755
8756 _ACEOF
8757
8758
8759
8760 ac_delim='%!_!# '
8761 for ac_last_try in false false false false false :; do
8762 cat >conf$$subs.sed <<_ACEOF
8763 SHELL!$SHELL$ac_delim
8764 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8765 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8766 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8767 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8768 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8769 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8770 exec_prefix!$exec_prefix$ac_delim
8771 prefix!$prefix$ac_delim
8772 program_transform_name!$program_transform_name$ac_delim
8773 bindir!$bindir$ac_delim
8774 sbindir!$sbindir$ac_delim
8775 libexecdir!$libexecdir$ac_delim
8776 datarootdir!$datarootdir$ac_delim
8777 datadir!$datadir$ac_delim
8778 sysconfdir!$sysconfdir$ac_delim
8779 sharedstatedir!$sharedstatedir$ac_delim
8780 localstatedir!$localstatedir$ac_delim
8781 includedir!$includedir$ac_delim
8782 oldincludedir!$oldincludedir$ac_delim
8783 docdir!$docdir$ac_delim
8784 infodir!$infodir$ac_delim
8785 htmldir!$htmldir$ac_delim
8786 dvidir!$dvidir$ac_delim
8787 pdfdir!$pdfdir$ac_delim
8788 psdir!$psdir$ac_delim
8789 libdir!$libdir$ac_delim
8790 localedir!$localedir$ac_delim
8791 mandir!$mandir$ac_delim
8792 DEFS!$DEFS$ac_delim
8793 ECHO_C!$ECHO_C$ac_delim
8794 ECHO_N!$ECHO_N$ac_delim
8795 ECHO_T!$ECHO_T$ac_delim
8796 LIBS!$LIBS$ac_delim
8797 build_alias!$build_alias$ac_delim
8798 host_alias!$host_alias$ac_delim
8799 target_alias!$target_alias$ac_delim
8800 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8801 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8802 INSTALL_DATA!$INSTALL_DATA$ac_delim
8803 CYGPATH_W!$CYGPATH_W$ac_delim
8804 PACKAGE!$PACKAGE$ac_delim
8805 VERSION!$VERSION$ac_delim
8806 ACLOCAL!$ACLOCAL$ac_delim
8807 AUTOCONF!$AUTOCONF$ac_delim
8808 AUTOMAKE!$AUTOMAKE$ac_delim
8809 AUTOHEADER!$AUTOHEADER$ac_delim
8810 MAKEINFO!$MAKEINFO$ac_delim
8811 install_sh!$install_sh$ac_delim
8812 STRIP!$STRIP$ac_delim
8813 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8814 mkdir_p!$mkdir_p$ac_delim
8815 AWK!$AWK$ac_delim
8816 SET_MAKE!$SET_MAKE$ac_delim
8817 am__leading_dot!$am__leading_dot$ac_delim
8818 AMTAR!$AMTAR$ac_delim
8819 am__tar!$am__tar$ac_delim
8820 am__untar!$am__untar$ac_delim
8821 GTK_OBJ!$GTK_OBJ$ac_delim
8822 CURSES_OBJ!$CURSES_OBJ$ac_delim
8823 CC!$CC$ac_delim
8824 CFLAGS!$CFLAGS$ac_delim
8825 LDFLAGS!$LDFLAGS$ac_delim
8826 CPPFLAGS!$CPPFLAGS$ac_delim
8827 ac_ct_CC!$ac_ct_CC$ac_delim
8828 EXEEXT!$EXEEXT$ac_delim
8829 OBJEXT!$OBJEXT$ac_delim
8830 DEPDIR!$DEPDIR$ac_delim
8831 am__include!$am__include$ac_delim
8832 am__quote!$am__quote$ac_delim
8833 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8834 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8835 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8836 CCDEPMODE!$CCDEPMODE$ac_delim
8837 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8838 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8839 CPP!$CPP$ac_delim
8840 GREP!$GREP$ac_delim
8841 EGREP!$EGREP$ac_delim
8842 PKG_CONFIG!$PKG_CONFIG$ac_delim
8843 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
8844 GTK_LIBS!$GTK_LIBS$ac_delim
8845 LIBOBJS!$LIBOBJS$ac_delim
8846 LTLIBOBJS!$LTLIBOBJS$ac_delim
8847 _ACEOF
8848
8849 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
8850 break
8851 elif $ac_last_try; then
8852 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8853 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8854 { (exit 1); exit 1; }; }
8855 else
8856 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8857 fi
8858 done
8859
8860 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8861 if test -n "$ac_eof"; then
8862 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8863 ac_eof=`expr $ac_eof + 1`
8864 fi
8865
8866 cat >>$CONFIG_STATUS <<_ACEOF
8867 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8869 _ACEOF
8870 sed '
8871 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8872 s/^/s,@/; s/!/@,|#_!!_#|/
8873 :n
8874 t n
8875 s/'"$ac_delim"'$/,g/; t
8876 s/$/\\/; p
8877 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8878 ' >>$CONFIG_STATUS <conf$$subs.sed
8879 rm -f conf$$subs.sed
8880 cat >>$CONFIG_STATUS <<_ACEOF
8881 :end
8882 s/|#_!!_#|//g
8883 CEOF$ac_eof
8884 _ACEOF
8885
8886
8887 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8888 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8889 # trailing colons and then remove the whole line if VPATH becomes empty
8890 # (actually we leave an empty line to preserve line numbers).
8891 if test "x$srcdir" = x.; then
8892 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8893 s/:*\$(srcdir):*/:/
8894 s/:*\${srcdir}:*/:/
8895 s/:*@srcdir@:*/:/
8896 s/^\([^=]*=[ ]*\):*/\1/
8897 s/:*$//
8898 s/^[^=]*=[ ]*$//
8899 }'
8900 fi
8901
8902 cat >>$CONFIG_STATUS <<\_ACEOF
8903 fi # test -n "$CONFIG_FILES"
8904
8905
8906 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
8907 do
8908 case $ac_tag in
8909 :[FHLC]) ac_mode=$ac_tag; continue;;
8910 esac
8911 case $ac_mode$ac_tag in
8912 :[FHL]*:*);;
8913 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8914 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8915 { (exit 1); exit 1; }; };;
8916 :[FH]-) ac_tag=-:-;;
8917 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8918 esac
8919 ac_save_IFS=$IFS
8920 IFS=:
8921 set x $ac_tag
8922 IFS=$ac_save_IFS
8923 shift
8924 ac_file=$1
8925 shift
8926
8927 case $ac_mode in
8928 :L) ac_source=$1;;
8929 :[FH])
8930 ac_file_inputs=
8931 for ac_f
8932 do
8933 case $ac_f in
8934 -) ac_f="$tmp/stdin";;
8935 *) # Look for the file first in the build tree, then in the source tree
8936 # (if the path is not absolute). The absolute path cannot be DOS-style,
8937 # because $ac_f cannot contain `:'.
8938 test -f "$ac_f" ||
8939 case $ac_f in
8940 [\\/$]*) false;;
8941 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8942 esac ||
8943 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8944 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8945 { (exit 1); exit 1; }; };;
8946 esac
8947 ac_file_inputs="$ac_file_inputs $ac_f"
8948 done
8949
8950 # Let's still pretend it is `configure' which instantiates (i.e., don't
8951 # use $as_me), people would be surprised to read:
8952 # /* config.h. Generated by config.status. */
8953 configure_input="Generated from "`IFS=:
8954 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8955 if test x"$ac_file" != x-; then
8956 configure_input="$ac_file. $configure_input"
8957 { echo "$as_me:$LINENO: creating $ac_file" >&5
8958 echo "$as_me: creating $ac_file" >&6;}
8959 fi
8960
8961 case $ac_tag in
8962 *:-:* | *:-) cat >"$tmp/stdin";;
8963 esac
8964 ;;
8965 esac
8966
8967 ac_dir=`$as_dirname -- "$ac_file" ||
8968 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8969 X"$ac_file" : 'X\(//\)[^/]' \| \
8970 X"$ac_file" : 'X\(//\)$' \| \
8971 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8972 echo X"$ac_file" |
8973 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8974 s//\1/
8975 q
8976 }
8977 /^X\(\/\/\)[^/].*/{
8978 s//\1/
8979 q
8980 }
8981 /^X\(\/\/\)$/{
8982 s//\1/
8983 q
8984 }
8985 /^X\(\/\).*/{
8986 s//\1/
8987 q
8988 }
8989 s/.*/./; q'`
8990 { as_dir="$ac_dir"
5851
89915852 case $as_dir in #(
89925853 -*) as_dir=./$as_dir;;
89935854 esac
8994 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5855 test -d "$as_dir" || eval $as_mkdir_p || {
89955856 as_dirs=
89965857 while :; do
89975858 case $as_dir in #(
8998 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5859 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
89995860 *) as_qdir=$as_dir;;
90005861 esac
90015862 as_dirs="'$as_qdir' $as_dirs"
90045865 X"$as_dir" : 'X\(//\)[^/]' \| \
90055866 X"$as_dir" : 'X\(//\)$' \| \
90065867 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9007 echo X"$as_dir" |
5868 $as_echo X"$as_dir" |
90085869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
90095870 s//\1/
90105871 q
90255886 test -d "$as_dir" && break
90265887 done
90275888 test -z "$as_dirs" || eval "mkdir $as_dirs"
9028 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9029 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9030 { (exit 1); exit 1; }; }; }
5889 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5890
5891
5892 } # as_fn_mkdir_p
5893 if mkdir -p . 2>/dev/null; then
5894 as_mkdir_p='mkdir -p "$as_dir"'
5895 else
5896 test -d ./-p && rmdir ./-p
5897 as_mkdir_p=false
5898 fi
5899
5900 if test -x / >/dev/null 2>&1; then
5901 as_test_x='test -x'
5902 else
5903 if ls -dL / >/dev/null 2>&1; then
5904 as_ls_L_option=L
5905 else
5906 as_ls_L_option=
5907 fi
5908 as_test_x='
5909 eval sh -c '\''
5910 if test -d "$1"; then
5911 test -d "$1/.";
5912 else
5913 case $1 in #(
5914 -*)set "./$1";;
5915 esac;
5916 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5917 ???[sx]*):;;*)false;;esac;fi
5918 '\'' sh
5919 '
5920 fi
5921 as_executable_p=$as_test_x
5922
5923 # Sed expression to map a string onto a valid CPP name.
5924 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5925
5926 # Sed expression to map a string onto a valid variable name.
5927 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5928
5929
5930 exec 6>&1
5931 ## ----------------------------------- ##
5932 ## Main body of $CONFIG_STATUS script. ##
5933 ## ----------------------------------- ##
5934 _ASEOF
5935 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5936
5937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5938 # Save the log message, to keep $0 and so on meaningful, and to
5939 # report actual input values of CONFIG_FILES etc. instead of their
5940 # values after options handling.
5941 ac_log="
5942 This file was extended by $as_me, which was
5943 generated by GNU Autoconf 2.65. Invocation command line was
5944
5945 CONFIG_FILES = $CONFIG_FILES
5946 CONFIG_HEADERS = $CONFIG_HEADERS
5947 CONFIG_LINKS = $CONFIG_LINKS
5948 CONFIG_COMMANDS = $CONFIG_COMMANDS
5949 $ $0 $@
5950
5951 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5952 "
5953
5954 _ACEOF
5955
5956 case $ac_config_files in *"
5957 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5958 esac
5959
5960 case $ac_config_headers in *"
5961 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5962 esac
5963
5964
5965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5966 # Files that config.status was made for.
5967 config_files="$ac_config_files"
5968 config_headers="$ac_config_headers"
5969 config_commands="$ac_config_commands"
5970
5971 _ACEOF
5972
5973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5974 ac_cs_usage="\
5975 \`$as_me' instantiates files and other configuration actions
5976 from templates according to the current configuration. Unless the files
5977 and actions are specified as TAGs, all are instantiated by default.
5978
5979 Usage: $0 [OPTION]... [TAG]...
5980
5981 -h, --help print this help, then exit
5982 -V, --version print version number and configuration settings, then exit
5983 --config print configuration, then exit
5984 -q, --quiet, --silent
5985 do not print progress messages
5986 -d, --debug don't remove temporary files
5987 --recheck update $as_me by reconfiguring in the same conditions
5988 --file=FILE[:TEMPLATE]
5989 instantiate the configuration file FILE
5990 --header=FILE[:TEMPLATE]
5991 instantiate the configuration header FILE
5992
5993 Configuration files:
5994 $config_files
5995
5996 Configuration headers:
5997 $config_headers
5998
5999 Configuration commands:
6000 $config_commands
6001
6002 Report bugs to the package provider."
6003
6004 _ACEOF
6005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6006 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6007 ac_cs_version="\\
6008 config.status
6009 configured by $0, generated by GNU Autoconf 2.65,
6010 with options \\"\$ac_cs_config\\"
6011
6012 Copyright (C) 2009 Free Software Foundation, Inc.
6013 This config.status script is free software; the Free Software Foundation
6014 gives unlimited permission to copy, distribute and modify it."
6015
6016 ac_pwd='$ac_pwd'
6017 srcdir='$srcdir'
6018 INSTALL='$INSTALL'
6019 MKDIR_P='$MKDIR_P'
6020 AWK='$AWK'
6021 test -n "\$AWK" || AWK=awk
6022 _ACEOF
6023
6024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6025 # The default lists apply if the user does not specify any file.
6026 ac_need_defaults=:
6027 while test $# != 0
6028 do
6029 case $1 in
6030 --*=*)
6031 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6032 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6033 ac_shift=:
6034 ;;
6035 *)
6036 ac_option=$1
6037 ac_optarg=$2
6038 ac_shift=shift
6039 ;;
6040 esac
6041
6042 case $ac_option in
6043 # Handling of the options.
6044 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6045 ac_cs_recheck=: ;;
6046 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6047 $as_echo "$ac_cs_version"; exit ;;
6048 --config | --confi | --conf | --con | --co | --c )
6049 $as_echo "$ac_cs_config"; exit ;;
6050 --debug | --debu | --deb | --de | --d | -d )
6051 debug=: ;;
6052 --file | --fil | --fi | --f )
6053 $ac_shift
6054 case $ac_optarg in
6055 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6056 esac
6057 as_fn_append CONFIG_FILES " '$ac_optarg'"
6058 ac_need_defaults=false;;
6059 --header | --heade | --head | --hea )
6060 $ac_shift
6061 case $ac_optarg in
6062 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6063 esac
6064 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6065 ac_need_defaults=false;;
6066 --he | --h)
6067 # Conflict between --help and --header
6068 as_fn_error "ambiguous option: \`$1'
6069 Try \`$0 --help' for more information.";;
6070 --help | --hel | -h )
6071 $as_echo "$ac_cs_usage"; exit ;;
6072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6073 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6074 ac_cs_silent=: ;;
6075
6076 # This is an error.
6077 -*) as_fn_error "unrecognized option: \`$1'
6078 Try \`$0 --help' for more information." ;;
6079
6080 *) as_fn_append ac_config_targets " $1"
6081 ac_need_defaults=false ;;
6082
6083 esac
6084 shift
6085 done
6086
6087 ac_configure_extra_args=
6088
6089 if $ac_cs_silent; then
6090 exec 6>/dev/null
6091 ac_configure_extra_args="$ac_configure_extra_args --silent"
6092 fi
6093
6094 _ACEOF
6095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6096 if \$ac_cs_recheck; then
6097 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6098 shift
6099 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6100 CONFIG_SHELL='$SHELL'
6101 export CONFIG_SHELL
6102 exec "\$@"
6103 fi
6104
6105 _ACEOF
6106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6107 exec 5>>config.log
6108 {
6109 echo
6110 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6111 ## Running $as_me. ##
6112 _ASBOX
6113 $as_echo "$ac_log"
6114 } >&5
6115
6116 _ACEOF
6117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6118 #
6119 # INIT-COMMANDS
6120 #
6121 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6122
6123 _ACEOF
6124
6125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6126
6127 # Handling of arguments.
6128 for ac_config_target in $ac_config_targets
6129 do
6130 case $ac_config_target in
6131 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6132 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6133 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6134 "img/Makefile") CONFIG_FILES="$CONFIG_FILES img/Makefile" ;;
6135
6136 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6137 esac
6138 done
6139
6140
6141 # If the user did not use the arguments to specify the items to instantiate,
6142 # then the envvar interface is used. Set only those that are not.
6143 # We use the long form for the default assignment because of an extremely
6144 # bizarre bug on SunOS 4.1.3.
6145 if $ac_need_defaults; then
6146 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6147 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6148 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6149 fi
6150
6151 # Have a temporary directory for convenience. Make it in the build tree
6152 # simply because there is no reason against having it here, and in addition,
6153 # creating and moving files from /tmp can sometimes cause problems.
6154 # Hook for its removal unless debugging.
6155 # Note that there is a small window in which the directory will not be cleaned:
6156 # after its creation but before its name has been assigned to `$tmp'.
6157 $debug ||
6158 {
6159 tmp=
6160 trap 'exit_status=$?
6161 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6162 ' 0
6163 trap 'as_fn_exit 1' 1 2 13 15
6164 }
6165 # Create a (secure) tmp directory for tmp files.
6166
6167 {
6168 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6169 test -n "$tmp" && test -d "$tmp"
6170 } ||
6171 {
6172 tmp=./conf$$-$RANDOM
6173 (umask 077 && mkdir "$tmp")
6174 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6175
6176 # Set up the scripts for CONFIG_FILES section.
6177 # No need to generate them if there are no CONFIG_FILES.
6178 # This happens for instance with `./config.status config.h'.
6179 if test -n "$CONFIG_FILES"; then
6180
6181
6182 ac_cr=`echo X | tr X '\015'`
6183 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6184 # But we know of no other shell where ac_cr would be empty at this
6185 # point, so we can use a bashism as a fallback.
6186 if test "x$ac_cr" = x; then
6187 eval ac_cr=\$\'\\r\'
6188 fi
6189 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6190 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6191 ac_cs_awk_cr='\r'
6192 else
6193 ac_cs_awk_cr=$ac_cr
6194 fi
6195
6196 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6197 _ACEOF
6198
6199
6200 {
6201 echo "cat >conf$$subs.awk <<_ACEOF" &&
6202 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6203 echo "_ACEOF"
6204 } >conf$$subs.sh ||
6205 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6206 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6207 ac_delim='%!_!# '
6208 for ac_last_try in false false false false false :; do
6209 . ./conf$$subs.sh ||
6210 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6211
6212 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6213 if test $ac_delim_n = $ac_delim_num; then
6214 break
6215 elif $ac_last_try; then
6216 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6217 else
6218 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6219 fi
6220 done
6221 rm -f conf$$subs.sh
6222
6223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6224 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6225 _ACEOF
6226 sed -n '
6227 h
6228 s/^/S["/; s/!.*/"]=/
6229 p
6230 g
6231 s/^[^!]*!//
6232 :repl
6233 t repl
6234 s/'"$ac_delim"'$//
6235 t delim
6236 :nl
6237 h
6238 s/\(.\{148\}\)..*/\1/
6239 t more1
6240 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6241 p
6242 n
6243 b repl
6244 :more1
6245 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6246 p
6247 g
6248 s/.\{148\}//
6249 t nl
6250 :delim
6251 h
6252 s/\(.\{148\}\)..*/\1/
6253 t more2
6254 s/["\\]/\\&/g; s/^/"/; s/$/"/
6255 p
6256 b
6257 :more2
6258 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6259 p
6260 g
6261 s/.\{148\}//
6262 t delim
6263 ' <conf$$subs.awk | sed '
6264 /^[^""]/{
6265 N
6266 s/\n//
6267 }
6268 ' >>$CONFIG_STATUS || ac_write_fail=1
6269 rm -f conf$$subs.awk
6270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6271 _ACAWK
6272 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6273 for (key in S) S_is_set[key] = 1
6274 FS = ""
6275
6276 }
6277 {
6278 line = $ 0
6279 nfields = split(line, field, "@")
6280 substed = 0
6281 len = length(field[1])
6282 for (i = 2; i < nfields; i++) {
6283 key = field[i]
6284 keylen = length(key)
6285 if (S_is_set[key]) {
6286 value = S[key]
6287 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6288 len += length(value) + length(field[++i])
6289 substed = 1
6290 } else
6291 len += 1 + keylen
6292 }
6293
6294 print line
6295 }
6296
6297 _ACAWK
6298 _ACEOF
6299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6300 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6301 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6302 else
6303 cat
6304 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6305 || as_fn_error "could not setup config files machinery" "$LINENO" 5
6306 _ACEOF
6307
6308 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6309 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6310 # trailing colons and then remove the whole line if VPATH becomes empty
6311 # (actually we leave an empty line to preserve line numbers).
6312 if test "x$srcdir" = x.; then
6313 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6314 s/:*\$(srcdir):*/:/
6315 s/:*\${srcdir}:*/:/
6316 s/:*@srcdir@:*/:/
6317 s/^\([^=]*=[ ]*\):*/\1/
6318 s/:*$//
6319 s/^[^=]*=[ ]*$//
6320 }'
6321 fi
6322
6323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6324 fi # test -n "$CONFIG_FILES"
6325
6326 # Set up the scripts for CONFIG_HEADERS section.
6327 # No need to generate them if there are no CONFIG_HEADERS.
6328 # This happens for instance with `./config.status Makefile'.
6329 if test -n "$CONFIG_HEADERS"; then
6330 cat >"$tmp/defines.awk" <<\_ACAWK ||
6331 BEGIN {
6332 _ACEOF
6333
6334 # Transform confdefs.h into an awk script `defines.awk', embedded as
6335 # here-document in config.status, that substitutes the proper values into
6336 # config.h.in to produce config.h.
6337
6338 # Create a delimiter string that does not exist in confdefs.h, to ease
6339 # handling of long lines.
6340 ac_delim='%!_!# '
6341 for ac_last_try in false false :; do
6342 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6343 if test -z "$ac_t"; then
6344 break
6345 elif $ac_last_try; then
6346 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6347 else
6348 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6349 fi
6350 done
6351
6352 # For the awk script, D is an array of macro values keyed by name,
6353 # likewise P contains macro parameters if any. Preserve backslash
6354 # newline sequences.
6355
6356 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6357 sed -n '
6358 s/.\{148\}/&'"$ac_delim"'/g
6359 t rset
6360 :rset
6361 s/^[ ]*#[ ]*define[ ][ ]*/ /
6362 t def
6363 d
6364 :def
6365 s/\\$//
6366 t bsnl
6367 s/["\\]/\\&/g
6368 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6369 D["\1"]=" \3"/p
6370 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6371 d
6372 :bsnl
6373 s/["\\]/\\&/g
6374 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6375 D["\1"]=" \3\\\\\\n"\\/p
6376 t cont
6377 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6378 t cont
6379 d
6380 :cont
6381 n
6382 s/.\{148\}/&'"$ac_delim"'/g
6383 t clear
6384 :clear
6385 s/\\$//
6386 t bsnlc
6387 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6388 d
6389 :bsnlc
6390 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6391 b cont
6392 ' <confdefs.h | sed '
6393 s/'"$ac_delim"'/"\\\
6394 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6395
6396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6397 for (key in D) D_is_set[key] = 1
6398 FS = ""
6399 }
6400 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6401 line = \$ 0
6402 split(line, arg, " ")
6403 if (arg[1] == "#") {
6404 defundef = arg[2]
6405 mac1 = arg[3]
6406 } else {
6407 defundef = substr(arg[1], 2)
6408 mac1 = arg[2]
6409 }
6410 split(mac1, mac2, "(") #)
6411 macro = mac2[1]
6412 prefix = substr(line, 1, index(line, defundef) - 1)
6413 if (D_is_set[macro]) {
6414 # Preserve the white space surrounding the "#".
6415 print prefix "define", macro P[macro] D[macro]
6416 next
6417 } else {
6418 # Replace #undef with comments. This is necessary, for example,
6419 # in the case of _POSIX_SOURCE, which is predefined and required
6420 # on some systems where configure will not decide to define it.
6421 if (defundef == "undef") {
6422 print "/*", prefix defundef, macro, "*/"
6423 next
6424 }
6425 }
6426 }
6427 { print }
6428 _ACAWK
6429 _ACEOF
6430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6431 as_fn_error "could not setup config headers machinery" "$LINENO" 5
6432 fi # test -n "$CONFIG_HEADERS"
6433
6434
6435 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6436 shift
6437 for ac_tag
6438 do
6439 case $ac_tag in
6440 :[FHLC]) ac_mode=$ac_tag; continue;;
6441 esac
6442 case $ac_mode$ac_tag in
6443 :[FHL]*:*);;
6444 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6445 :[FH]-) ac_tag=-:-;;
6446 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6447 esac
6448 ac_save_IFS=$IFS
6449 IFS=:
6450 set x $ac_tag
6451 IFS=$ac_save_IFS
6452 shift
6453 ac_file=$1
6454 shift
6455
6456 case $ac_mode in
6457 :L) ac_source=$1;;
6458 :[FH])
6459 ac_file_inputs=
6460 for ac_f
6461 do
6462 case $ac_f in
6463 -) ac_f="$tmp/stdin";;
6464 *) # Look for the file first in the build tree, then in the source tree
6465 # (if the path is not absolute). The absolute path cannot be DOS-style,
6466 # because $ac_f cannot contain `:'.
6467 test -f "$ac_f" ||
6468 case $ac_f in
6469 [\\/$]*) false;;
6470 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6471 esac ||
6472 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6473 esac
6474 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6475 as_fn_append ac_file_inputs " '$ac_f'"
6476 done
6477
6478 # Let's still pretend it is `configure' which instantiates (i.e., don't
6479 # use $as_me), people would be surprised to read:
6480 # /* config.h. Generated by config.status. */
6481 configure_input='Generated from '`
6482 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6483 `' by configure.'
6484 if test x"$ac_file" != x-; then
6485 configure_input="$ac_file. $configure_input"
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6487 $as_echo "$as_me: creating $ac_file" >&6;}
6488 fi
6489 # Neutralize special characters interpreted by sed in replacement strings.
6490 case $configure_input in #(
6491 *\&* | *\|* | *\\* )
6492 ac_sed_conf_input=`$as_echo "$configure_input" |
6493 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6494 *) ac_sed_conf_input=$configure_input;;
6495 esac
6496
6497 case $ac_tag in
6498 *:-:* | *:-) cat >"$tmp/stdin" \
6499 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6500 esac
6501 ;;
6502 esac
6503
6504 ac_dir=`$as_dirname -- "$ac_file" ||
6505 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6506 X"$ac_file" : 'X\(//\)[^/]' \| \
6507 X"$ac_file" : 'X\(//\)$' \| \
6508 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6509 $as_echo X"$ac_file" |
6510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6511 s//\1/
6512 q
6513 }
6514 /^X\(\/\/\)[^/].*/{
6515 s//\1/
6516 q
6517 }
6518 /^X\(\/\/\)$/{
6519 s//\1/
6520 q
6521 }
6522 /^X\(\/\).*/{
6523 s//\1/
6524 q
6525 }
6526 s/.*/./; q'`
6527 as_dir="$ac_dir"; as_fn_mkdir_p
90316528 ac_builddir=.
90326529
90336530 case "$ac_dir" in
90346531 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
90356532 *)
9036 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6533 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
90376534 # A ".." for each directory in $ac_dir_suffix.
9038 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6535 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
90396536 case $ac_top_builddir_sub in
90406537 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
90416538 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
90736570 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
90746571 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
90756572 esac
9076 _ACEOF
9077
9078 cat >>$CONFIG_STATUS <<\_ACEOF
6573 ac_MKDIR_P=$MKDIR_P
6574 case $MKDIR_P in
6575 [\\/$]* | ?:[\\/]* ) ;;
6576 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6577 esac
6578 _ACEOF
6579
6580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
90796581 # If the template does not know about datarootdir, expand it.
90806582 # FIXME: This hack should be removed a few years after 2.60.
90816583 ac_datarootdir_hack=; ac_datarootdir_seen=
9082
9083 case `sed -n '/datarootdir/ {
6584 ac_sed_dataroot='
6585 /datarootdir/ {
90846586 p
90856587 q
90866588 }
90886590 /@docdir@/p
90896591 /@infodir@/p
90906592 /@localedir@/p
9091 /@mandir@/p
9092 ' $ac_file_inputs` in
6593 /@mandir@/p'
6594 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
90936595 *datarootdir*) ac_datarootdir_seen=yes;;
90946596 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9095 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9096 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9097 _ACEOF
9098 cat >>$CONFIG_STATUS <<_ACEOF
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6598 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6599 _ACEOF
6600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
90996601 ac_datarootdir_hack='
91006602 s&@datadir@&$datadir&g
91016603 s&@docdir@&$docdir&g
91026604 s&@infodir@&$infodir&g
91036605 s&@localedir@&$localedir&g
91046606 s&@mandir@&$mandir&g
9105 s&\\\${datarootdir}&$datarootdir&g' ;;
6607 s&\\\${datarootdir}&$datarootdir&g' ;;
91066608 esac
91076609 _ACEOF
91086610
91096611 # Neutralize VPATH when `$srcdir' = `.'.
91106612 # Shell code in configure.ac might set extrasub.
91116613 # FIXME: do we really want to maintain this feature?
9112 cat >>$CONFIG_STATUS <<_ACEOF
9113 sed "$ac_vpsub
6614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6615 ac_sed_extra="$ac_vpsub
91146616 $extrasub
91156617 _ACEOF
9116 cat >>$CONFIG_STATUS <<\_ACEOF
6618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
91176619 :t
91186620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9119 s&@configure_input@&$configure_input&;t t
6621 s|@configure_input@|$ac_sed_conf_input|;t t
91206622 s&@top_builddir@&$ac_top_builddir_sub&;t t
6623 s&@top_build_prefix@&$ac_top_build_prefix&;t t
91216624 s&@srcdir@&$ac_srcdir&;t t
91226625 s&@abs_srcdir@&$ac_abs_srcdir&;t t
91236626 s&@top_srcdir@&$ac_top_srcdir&;t t
91266629 s&@abs_builddir@&$ac_abs_builddir&;t t
91276630 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
91286631 s&@INSTALL@&$ac_INSTALL&;t t
6632 s&@MKDIR_P@&$ac_MKDIR_P&;t t
91296633 $ac_datarootdir_hack
9130 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6634 "
6635 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6636 || as_fn_error "could not create $ac_file" "$LINENO" 5
91316637
91326638 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
91336639 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
91346640 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9135 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
91366642 which seems to be undefined. Please make sure it is defined." >&5
9137 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6643 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
91386644 which seems to be undefined. Please make sure it is defined." >&2;}
91396645
91406646 rm -f "$tmp/stdin"
91416647 case $ac_file in
9142 -) cat "$tmp/out"; rm -f "$tmp/out";;
9143 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9144 esac
6648 -) cat "$tmp/out" && rm -f "$tmp/out";;
6649 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6650 esac \
6651 || as_fn_error "could not create $ac_file" "$LINENO" 5
91456652 ;;
91466653 :H)
91476654 #
91486655 # CONFIG_HEADER
91496656 #
9150 _ACEOF
9151
9152 # Transform confdefs.h into a sed script `conftest.defines', that
9153 # substitutes the proper values into config.h.in to produce config.h.
9154 rm -f conftest.defines conftest.tail
9155 # First, append a space to every undef/define line, to ease matching.
9156 echo 's/$/ /' >conftest.defines
9157 # Then, protect against being on the right side of a sed subst, or in
9158 # an unquoted here document, in config.status. If some macros were
9159 # called several times there might be several #defines for the same
9160 # symbol, which is useless. But do not sort them, since the last
9161 # AC_DEFINE must be honored.
9162 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9163 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9164 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9165 # PARAMS is the parameter list in the macro definition--in most cases, it's
9166 # just an empty string.
9167 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9168 ac_dB='\\)[ (].*,\\1define\\2'
9169 ac_dC=' '
9170 ac_dD=' ,'
9171
9172 uniq confdefs.h |
9173 sed -n '
9174 t rset
9175 :rset
9176 s/^[ ]*#[ ]*define[ ][ ]*//
9177 t ok
9178 d
9179 :ok
9180 s/[\\&,]/\\&/g
9181 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9182 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9183 ' >>conftest.defines
9184
9185 # Remove the space that was appended to ease matching.
9186 # Then replace #undef with comments. This is necessary, for
9187 # example, in the case of _POSIX_SOURCE, which is predefined and required
9188 # on some systems where configure will not decide to define it.
9189 # (The regexp can be short, since the line contains either #define or #undef.)
9190 echo 's/ $//
9191 s,^[ #]*u.*,/* & */,' >>conftest.defines
9192
9193 # Break up conftest.defines:
9194 ac_max_sed_lines=50
9195
9196 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9197 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9198 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9199 # et cetera.
9200 ac_in='$ac_file_inputs'
9201 ac_out='"$tmp/out1"'
9202 ac_nxt='"$tmp/out2"'
9203
9204 while :
9205 do
9206 # Write a here document:
9207 cat >>$CONFIG_STATUS <<_ACEOF
9208 # First, check the format of the line:
9209 cat >"\$tmp/defines.sed" <<\\CEOF
9210 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9211 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9212 b
9213 :def
9214 _ACEOF
9215 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9216 echo 'CEOF
9217 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9218 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9219 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9220 grep . conftest.tail >/dev/null || break
9221 rm -f conftest.defines
9222 mv conftest.tail conftest.defines
9223 done
9224 rm -f conftest.defines conftest.tail
9225
9226 echo "ac_result=$ac_in" >>$CONFIG_STATUS
9227 cat >>$CONFIG_STATUS <<\_ACEOF
92286657 if test x"$ac_file" != x-; then
9229 echo "/* $configure_input */" >"$tmp/config.h"
9230 cat "$ac_result" >>"$tmp/config.h"
9231 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9232 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9233 echo "$as_me: $ac_file is unchanged" >&6;}
6658 {
6659 $as_echo "/* $configure_input */" \
6660 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6661 } >"$tmp/config.h" \
6662 || as_fn_error "could not create $ac_file" "$LINENO" 5
6663 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6665 $as_echo "$as_me: $ac_file is unchanged" >&6;}
92346666 else
9235 rm -f $ac_file
9236 mv "$tmp/config.h" $ac_file
6667 rm -f "$ac_file"
6668 mv "$tmp/config.h" "$ac_file" \
6669 || as_fn_error "could not create $ac_file" "$LINENO" 5
92376670 fi
92386671 else
9239 echo "/* $configure_input */"
9240 cat "$ac_result"
6672 $as_echo "/* $configure_input */" \
6673 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6674 || as_fn_error "could not create -" "$LINENO" 5
92416675 fi
9242 rm -f "$tmp/out12"
9243 # Compute $ac_file's index in $config_headers.
6676 # Compute "$ac_file"'s index in $config_headers.
6677 _am_arg="$ac_file"
92446678 _am_stamp_count=1
92456679 for _am_header in $config_headers :; do
92466680 case $_am_header in
9247 $ac_file | $ac_file:* )
6681 $_am_arg | $_am_arg:* )
92486682 break ;;
92496683 * )
92506684 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
92516685 esac
92526686 done
9253 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
9254 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9255 X$ac_file : 'X\(//\)[^/]' \| \
9256 X$ac_file : 'X\(//\)$' \| \
9257 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
9258 echo X$ac_file |
6687 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6688 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6689 X"$_am_arg" : 'X\(//\)[^/]' \| \
6690 X"$_am_arg" : 'X\(//\)$' \| \
6691 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6692 $as_echo X"$_am_arg" |
92596693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
92606694 s//\1/
92616695 q
92756709 s/.*/./; q'`/stamp-h$_am_stamp_count
92766710 ;;
92776711
9278 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9279 echo "$as_me: executing $ac_file commands" >&6;}
6712 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6713 $as_echo "$as_me: executing $ac_file commands" >&6;}
92806714 ;;
92816715 esac
92826716
92836717
92846718 case $ac_file$ac_mode in
9285 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9286 # Strip MF so we end up with the name of the file.
9287 mf=`echo "$mf" | sed -e 's/:.*$//'`
9288 # Check whether this is an Automake generated Makefile or not.
9289 # We used to match only the files named `Makefile.in', but
9290 # some people rename them; so instead we look at the file content.
9291 # Grep'ing the first line is not enough: some people post-process
9292 # each Makefile.in and add a new line on top of each file to say so.
9293 # So let's grep whole file.
9294 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9295 dirpart=`$as_dirname -- "$mf" ||
6719 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6720 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6721 # are listed without --file. Let's play safe and only enable the eval
6722 # if we detect the quoting.
6723 case $CONFIG_FILES in
6724 *\'*) eval set x "$CONFIG_FILES" ;;
6725 *) set x $CONFIG_FILES ;;
6726 esac
6727 shift
6728 for mf
6729 do
6730 # Strip MF so we end up with the name of the file.
6731 mf=`echo "$mf" | sed -e 's/:.*$//'`
6732 # Check whether this is an Automake generated Makefile or not.
6733 # We used to match only the files named `Makefile.in', but
6734 # some people rename them; so instead we look at the file content.
6735 # Grep'ing the first line is not enough: some people post-process
6736 # each Makefile.in and add a new line on top of each file to say so.
6737 # Grep'ing the whole file is not good either: AIX grep has a line
6738 # limit of 2048, but all sed's we know have understand at least 4000.
6739 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6740 dirpart=`$as_dirname -- "$mf" ||
92966741 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
92976742 X"$mf" : 'X\(//\)[^/]' \| \
92986743 X"$mf" : 'X\(//\)$' \| \
92996744 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9300 echo X"$mf" |
6745 $as_echo X"$mf" |
93016746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
93026747 s//\1/
93036748 q
93156760 q
93166761 }
93176762 s/.*/./; q'`
9318 else
9319 continue
9320 fi
9321 # Extract the definition of DEPDIR, am__include, and am__quote
9322 # from the Makefile without running `make'.
9323 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9324 test -z "$DEPDIR" && continue
9325 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9326 test -z "am__include" && continue
9327 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9328 # When using ansi2knr, U may be empty or an underscore; expand it
9329 U=`sed -n 's/^U = //p' < "$mf"`
9330 # Find all dependency output files, they are included files with
9331 # $(DEPDIR) in their names. We invoke sed twice because it is the
9332 # simplest approach to changing $(DEPDIR) to its actual value in the
9333 # expansion.
9334 for file in `sed -n "
9335 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9336 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9337 # Make sure the directory exists.
9338 test -f "$dirpart/$file" && continue
9339 fdir=`$as_dirname -- "$file" ||
6763 else
6764 continue
6765 fi
6766 # Extract the definition of DEPDIR, am__include, and am__quote
6767 # from the Makefile without running `make'.
6768 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6769 test -z "$DEPDIR" && continue
6770 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6771 test -z "am__include" && continue
6772 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6773 # When using ansi2knr, U may be empty or an underscore; expand it
6774 U=`sed -n 's/^U = //p' < "$mf"`
6775 # Find all dependency output files, they are included files with
6776 # $(DEPDIR) in their names. We invoke sed twice because it is the
6777 # simplest approach to changing $(DEPDIR) to its actual value in the
6778 # expansion.
6779 for file in `sed -n "
6780 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6781 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6782 # Make sure the directory exists.
6783 test -f "$dirpart/$file" && continue
6784 fdir=`$as_dirname -- "$file" ||
93406785 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
93416786 X"$file" : 'X\(//\)[^/]' \| \
93426787 X"$file" : 'X\(//\)$' \| \
93436788 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9344 echo X"$file" |
6789 $as_echo X"$file" |
93456790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
93466791 s//\1/
93476792 q
93596804 q
93606805 }
93616806 s/.*/./; q'`
9362 { as_dir=$dirpart/$fdir
9363 case $as_dir in #(
9364 -*) as_dir=./$as_dir;;
9365 esac
9366 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9367 as_dirs=
9368 while :; do
9369 case $as_dir in #(
9370 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9371 *) as_qdir=$as_dir;;
9372 esac
9373 as_dirs="'$as_qdir' $as_dirs"
9374 as_dir=`$as_dirname -- "$as_dir" ||
9375 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9376 X"$as_dir" : 'X\(//\)[^/]' \| \
9377 X"$as_dir" : 'X\(//\)$' \| \
9378 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9379 echo X"$as_dir" |
9380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9381 s//\1/
9382 q
9383 }
9384 /^X\(\/\/\)[^/].*/{
9385 s//\1/
9386 q
9387 }
9388 /^X\(\/\/\)$/{
9389 s//\1/
9390 q
9391 }
9392 /^X\(\/\).*/{
9393 s//\1/
9394 q
9395 }
9396 s/.*/./; q'`
9397 test -d "$as_dir" && break
6807 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6808 # echo "creating $dirpart/$file"
6809 echo '# dummy' > "$dirpart/$file"
93986810 done
9399 test -z "$as_dirs" || eval "mkdir $as_dirs"
9400 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9401 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9402 { (exit 1); exit 1; }; }; }
9403 # echo "creating $dirpart/$file"
9404 echo '# dummy' > "$dirpart/$file"
94056811 done
9406 done
6812 }
94076813 ;;
94086814
94096815 esac
94106816 done # for ac_tag
94116817
94126818
9413 { (exit 0); exit 0; }
9414 _ACEOF
9415 chmod +x $CONFIG_STATUS
6819 as_fn_exit 0
6820 _ACEOF
94166821 ac_clean_files=$ac_clean_files_save
6822
6823 test $ac_write_fail = 0 ||
6824 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
94176825
94186826
94196827 # configure is writing to config.log, and then calls config.status.
94346842 exec 5>>config.log
94356843 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
94366844 # would make configure fail if this is the last instruction.
9437 $ac_cs_success || { (exit 1); exit 1; }
9438 fi
9439
9440
6845 $ac_cs_success || as_fn_exit $?
6846 fi
6847 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6849 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6850 fi
6851
6852
00 AC_INIT(mtr.c)
1 AM_INIT_AUTOMAKE(mtr, 0.80)
1 AM_INIT_AUTOMAKE(mtr, 0.81)
22
33
44 AC_SUBST(GTK_OBJ)
8585 PACKAGE_NAME = @PACKAGE_NAME@
8686 PACKAGE_STRING = @PACKAGE_STRING@
8787 PACKAGE_TARNAME = @PACKAGE_TARNAME@
88 PACKAGE_URL = @PACKAGE_URL@
8889 PACKAGE_VERSION = @PACKAGE_VERSION@
8990 PATH_SEPARATOR = @PATH_SEPARATOR@
9091 PKG_CONFIG = @PKG_CONFIG@
4242 int display_offset = 0;
4343
4444
45 #define GRACETIME (5 * 1000*1000)
46
4547 void select_loop(void) {
4648 fd_set readfd;
4749 int anyset = 0;
5052 int NumPing = 0;
5153 int paused = 0;
5254 struct timeval lasttime, thistime, selecttime;
55 struct timeval startgrace, stopgrace;
5356 int dt;
5457 int rv;
58 int graceperiod = 0;
59
5560
5661 gettimeofday(&lasttime, NULL);
5762
8691 selecttime.tv_usec = 0;
8792
8893 rv = select(maxfd, (void *)&readfd, NULL, NULL, &selecttime);
89
9094 } else {
9195 if(Interactive) display_redraw();
9296
96100 (thistime.tv_sec == lasttime.tv_sec + intervaltime.tv_sec &&
97101 thistime.tv_usec >= lasttime.tv_usec + intervaltime.tv_usec)) {
98102 lasttime = thistime;
99 if(NumPing >= MaxPing && (!Interactive || ForceMaxPing))
100 return;
101 if (net_send_batch())
102 NumPing++;
103 if (!graceperiod) {
104 if(NumPing >= MaxPing && (!Interactive || ForceMaxPing)) {
105 graceperiod=1;
106 startgrace=thistime;
107 //gettimeofday (&startgrace, NULL);
108 }
109 if (net_send_batch())
110 NumPing++;
111 }
112 }
113 if (graceperiod) {
114 // gettimeofday(&thistime, NULL);
115 dt = (thistime.tv_usec - startgrace.tv_usec) +
116 1000000 * (thistime.tv_sec - startgrace.tv_sec);
117 if (dt > GRACETIME) return;
103118 }
104119
105120 selecttime.tv_usec = (thistime.tv_usec - lasttime.tv_usec);