Browse code

autoconf/automakeのバージョンを上げた

Masanobu Yasui authored on 2012/08/04 01:54:43
Showing 7 changed files
... ...
@@ -1,3 +1,6 @@
1
+1.3.3:
2
+ - 通信量が多い時に刺さることがある不具合を修正
3
+
1 4
 1.3.2:
2 5
  - cオプション使用時に終了できなくなる場合がある不具合を修正
3 6
 
... ...
@@ -1,8 +1,9 @@
1
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
1
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
2 2
 # @configure_input@
3 3
 
4 4
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
5
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6
+# Inc.
6 7
 # This Makefile.in is free software; the Free Software Foundation
7 8
 # gives unlimited permission to copy and/or distribute it,
8 9
 # with or without modifications, as long as this notice is preserved.
... ...
@@ -16,8 +17,9 @@
16 16
 
17 17
 VPATH = @srcdir@
18 18
 pkgdatadir = $(datadir)/@PACKAGE@
19
-pkglibdir = $(libdir)/@PACKAGE@
20 19
 pkgincludedir = $(includedir)/@PACKAGE@
20
+pkglibdir = $(libdir)/@PACKAGE@
21
+pkglibexecdir = $(libexecdir)/@PACKAGE@
21 22
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22 23
 install_sh_DATA = $(install_sh) -c -m 644
23 24
 install_sh_PROGRAM = $(install_sh) -c
... ...
@@ -38,7 +40,7 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
38 38
 	$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
39 39
 	depcomp install-sh missing
40 40
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41
-am__aclocal_m4_deps = $(top_srcdir)/configure.in
41
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
42 42
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43 43
 	$(ACLOCAL_M4)
44 44
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
... ...
@@ -46,9 +48,8 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
46 46
 mkinstalldirs = $(install_sh) -d
47 47
 CONFIG_HEADER = config.h
48 48
 CONFIG_CLEAN_FILES =
49
+CONFIG_CLEAN_VPATH_FILES =
49 50
 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)"
50
-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
51
-sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
52 51
 PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
53 52
 am_makuosan_OBJECTS = makuosan.$(OBJEXT) common.$(OBJEXT) \
54 53
 	mexec.$(OBJEXT) minit.$(OBJEXT) mexit.$(OBJEXT) \
... ...
@@ -61,6 +62,7 @@ msync_LDADD = $(LDADD)
61 61
 DEFAULT_INCLUDES = -I.@am__isrc@
62 62
 depcomp = $(SHELL) $(top_srcdir)/depcomp
63 63
 am__depfiles_maybe = depfiles
64
+am__mv = mv -f
64 65
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
65 66
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
66 67
 CCLD = $(CC)
... ...
@@ -73,9 +75,9 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
73 73
 distdir = $(PACKAGE)-$(VERSION)
74 74
 top_distdir = $(distdir)
75 75
 am__remove_distdir = \
76
-  { test ! -d $(distdir) \
77
-    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
78
-         && rm -fr $(distdir); }; }
76
+  { test ! -d "$(distdir)" \
77
+    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
78
+         && rm -fr "$(distdir)"; }; }
79 79
 DIST_ARCHIVES = $(distdir).tar.gz
80 80
 GZIP_ENV = --best
81 81
 distuninstallcheck_listfiles = find . -type f -print
... ...
@@ -118,6 +120,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
118 118
 PACKAGE_NAME = @PACKAGE_NAME@
119 119
 PACKAGE_STRING = @PACKAGE_STRING@
120 120
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
121
+PACKAGE_URL = @PACKAGE_URL@
121 122
 PACKAGE_VERSION = @PACKAGE_VERSION@
122 123
 PATH_SEPARATOR = @PATH_SEPARATOR@
123 124
 SET_MAKE = @SET_MAKE@
... ...
@@ -163,6 +166,7 @@ sharedstatedir = @sharedstatedir@
163 163
 srcdir = @srcdir@
164 164
 sysconfdir = @sysconfdir@
165 165
 target_alias = @target_alias@
166
+top_build_prefix = @top_build_prefix@
166 167
 top_builddir = @top_builddir@
167 168
 top_srcdir = @top_srcdir@
168 169
 makuosan_SOURCES = makuosan.c common.c mexec.c minit.c mexit.c mrecv.c msend.c xprint.c makuosan.h
... ...
@@ -179,15 +183,15 @@ $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
179 179
 	@for dep in $?; do \
180 180
 	  case '$(am__configure_deps)' in \
181 181
 	    *$$dep*) \
182
-	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
183
-	      cd $(srcdir) && $(AUTOMAKE) --gnu  \
182
+	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
183
+	      $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
184 184
 		&& exit 0; \
185 185
 	      exit 1;; \
186 186
 	  esac; \
187 187
 	done; \
188
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
189
-	cd $(top_srcdir) && \
190
-	  $(AUTOMAKE) --gnu  Makefile
188
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
189
+	$(am__cd) $(top_srcdir) && \
190
+	  $(AUTOMAKE) --gnu Makefile
191 191
 .PRECIOUS: Makefile
192 192
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
193 193
 	@case '$?' in \
... ...
@@ -203,9 +207,10 @@ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENC
203 203
 	$(SHELL) ./config.status --recheck
204 204
 
205 205
 $(top_srcdir)/configure:  $(am__configure_deps)
206
-	cd $(srcdir) && $(AUTOCONF)
206
+	$(am__cd) $(srcdir) && $(AUTOCONF)
207 207
 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
208
-	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
208
+	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
209
+$(am__aclocal_m4_deps):
209 210
 
210 211
 config.h: stamp-h1
211 212
 	@if test ! -f $@; then \
... ...
@@ -217,7 +222,7 @@ stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
217 217
 	@rm -f stamp-h1
218 218
 	cd $(top_builddir) && $(SHELL) ./config.status config.h
219 219
 $(srcdir)/config.h.in:  $(am__configure_deps) 
220
-	cd $(top_srcdir) && $(AUTOHEADER)
220
+	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
221 221
 	rm -f stamp-h1
222 222
 	touch $@
223 223
 
... ...
@@ -226,46 +231,74 @@ distclean-hdr:
226 226
 install-binPROGRAMS: $(bin_PROGRAMS)
227 227
 	@$(NORMAL_INSTALL)
228 228
 	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
229
-	@list='$(bin_PROGRAMS)'; for p in $$list; do \
230
-	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
231
-	  if test -f $$p \
232
-	  ; then \
233
-	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
234
-	   echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
235
-	   $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
236
-	  else :; fi; \
237
-	done
229
+	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
230
+	for p in $$list; do echo "$$p $$p"; done | \
231
+	sed 's/$(EXEEXT)$$//' | \
232
+	while read p p1; do if test -f $$p; \
233
+	  then echo "$$p"; echo "$$p"; else :; fi; \
234
+	done | \
235
+	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
236
+	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
237
+	sed 'N;N;N;s,\n, ,g' | \
238
+	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
239
+	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
240
+	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
241
+	    else { print "f", $$3 "/" $$4, $$1; } } \
242
+	  END { for (d in files) print "f", d, files[d] }' | \
243
+	while read type dir files; do \
244
+	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
245
+	    test -z "$$files" || { \
246
+	      echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
247
+	      $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
248
+	    } \
249
+	; done
238 250
 
239 251
 uninstall-binPROGRAMS:
240 252
 	@$(NORMAL_UNINSTALL)
241
-	@list='$(bin_PROGRAMS)'; for p in $$list; do \
242
-	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
243
-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
244
-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
245
-	done
253
+	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
254
+	files=`for p in $$list; do echo "$$p"; done | \
255
+	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
256
+	      -e 's/$$/$(EXEEXT)/' `; \
257
+	test -n "$$list" || exit 0; \
258
+	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
259
+	cd "$(DESTDIR)$(bindir)" && rm -f $$files
246 260
 
247 261
 clean-binPROGRAMS:
248 262
 	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
249 263
 install-sbinPROGRAMS: $(sbin_PROGRAMS)
250 264
 	@$(NORMAL_INSTALL)
251 265
 	test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
252
-	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
253
-	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
254
-	  if test -f $$p \
255
-	  ; then \
256
-	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
257
-	   echo " $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
258
-	   $(INSTALL_PROGRAM_ENV) $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
259
-	  else :; fi; \
260
-	done
266
+	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
267
+	for p in $$list; do echo "$$p $$p"; done | \
268
+	sed 's/$(EXEEXT)$$//' | \
269
+	while read p p1; do if test -f $$p; \
270
+	  then echo "$$p"; echo "$$p"; else :; fi; \
271
+	done | \
272
+	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
273
+	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
274
+	sed 'N;N;N;s,\n, ,g' | \
275
+	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
276
+	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
277
+	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
278
+	    else { print "f", $$3 "/" $$4, $$1; } } \
279
+	  END { for (d in files) print "f", d, files[d] }' | \
280
+	while read type dir files; do \
281
+	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
282
+	    test -z "$$files" || { \
283
+	      echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
284
+	      $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
285
+	    } \
286
+	; done
261 287
 
262 288
 uninstall-sbinPROGRAMS:
263 289
 	@$(NORMAL_UNINSTALL)
264
-	@list='$(sbin_PROGRAMS)'; for p in $$list; do \
265
-	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
266
-	  echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
267
-	  rm -f "$(DESTDIR)$(sbindir)/$$f"; \
268
-	done
290
+	@list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
291
+	files=`for p in $$list; do echo "$$p"; done | \
292
+	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
293
+	      -e 's/$$/$(EXEEXT)/' `; \
294
+	test -n "$$list" || exit 0; \
295
+	echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
296
+	cd "$(DESTDIR)$(sbindir)" && rm -f $$files
269 297
 
270 298
 clean-sbinPROGRAMS:
271 299
 	-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
... ...
@@ -294,14 +327,14 @@ distclean-compile:
294 294
 
295 295
 .c.o:
296 296
 @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
297
-@am__fastdepCC_TRUE@	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
297
+@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
298 298
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
299 299
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
300 300
 @am__fastdepCC_FALSE@	$(COMPILE) -c $<
301 301
 
302 302
 .c.obj:
303 303
 @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
304
-@am__fastdepCC_TRUE@	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
304
+@am__fastdepCC_TRUE@	$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
305 305
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
306 306
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
307 307
 @am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
... ...
@@ -311,14 +344,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
311 311
 	unique=`for i in $$list; do \
312 312
 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
313 313
 	  done | \
314
-	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
314
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
315 315
 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
316 316
 	mkid -fID $$unique
317 317
 tags: TAGS
318 318
 
319 319
 TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
320 320
 		$(TAGS_FILES) $(LISP)
321
-	tags=; \
321
+	set x; \
322 322
 	here=`pwd`; \
323 323
 	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
324 324
 	unique=`for i in $$list; do \
... ...
@@ -326,36 +359,41 @@ TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
326 326
 	  done | \
327 327
 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
328 328
 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
329
-	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
329
+	shift; \
330
+	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
330 331
 	  test -n "$$unique" || unique=$$empty_fix; \
331
-	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
332
-	    $$tags $$unique; \
332
+	  if test $$# -gt 0; then \
333
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
334
+	      "$$@" $$unique; \
335
+	  else \
336
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
337
+	      $$unique; \
338
+	  fi; \
333 339
 	fi
334 340
 ctags: CTAGS
335 341
 CTAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
336 342
 		$(TAGS_FILES) $(LISP)
337
-	tags=; \
338 343
 	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
339 344
 	unique=`for i in $$list; do \
340 345
 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
341 346
 	  done | \
342 347
 	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
343 348
 	      END { if (nonempty) { for (i in files) print i; }; }'`; \
344
-	test -z "$(CTAGS_ARGS)$$tags$$unique" \
349
+	test -z "$(CTAGS_ARGS)$$unique" \
345 350
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
346
-	     $$tags $$unique
351
+	     $$unique
347 352
 
348 353
 GTAGS:
349 354
 	here=`$(am__cd) $(top_builddir) && pwd` \
350
-	  && cd $(top_srcdir) \
351
-	  && gtags -i $(GTAGS_ARGS) $$here
355
+	  && $(am__cd) $(top_srcdir) \
356
+	  && gtags -i $(GTAGS_ARGS) "$$here"
352 357
 
353 358
 distclean-tags:
354 359
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
355 360
 
356 361
 distdir: $(DISTFILES)
357 362
 	$(am__remove_distdir)
358
-	test -d $(distdir) || mkdir $(distdir)
363
+	test -d "$(distdir)" || mkdir "$(distdir)"
359 364
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
360 365
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
361 366
 	list='$(DISTFILES)'; \
... ...
@@ -371,21 +409,27 @@ distdir: $(DISTFILES)
371 371
 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
372 372
 	  if test -d $$d/$$file; then \
373 373
 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
374
+	    if test -d "$(distdir)/$$file"; then \
375
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
376
+	    fi; \
374 377
 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
375
-	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
378
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
379
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
376 380
 	    fi; \
377
-	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
381
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
378 382
 	  else \
379
-	    test -f $(distdir)/$$file \
380
-	    || cp -p $$d/$$file $(distdir)/$$file \
383
+	    test -f "$(distdir)/$$file" \
384
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
381 385
 	    || exit 1; \
382 386
 	  fi; \
383 387
 	done
384
-	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
388
+	-test -n "$(am__skip_mode_fix)" \
389
+	|| find "$(distdir)" -type d ! -perm -755 \
390
+		-exec chmod u+rwx,go+rx {} \; -o \
385 391
 	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
386 392
 	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
387 393
 	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
388
-	|| chmod -R a+r $(distdir)
394
+	|| chmod -R a+r "$(distdir)"
389 395
 dist-gzip: distdir
390 396
 	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
391 397
 	$(am__remove_distdir)
... ...
@@ -398,6 +442,10 @@ dist-lzma: distdir
398 398
 	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
399 399
 	$(am__remove_distdir)
400 400
 
401
+dist-xz: distdir
402
+	tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
403
+	$(am__remove_distdir)
404
+
401 405
 dist-tarZ: distdir
402 406
 	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
403 407
 	$(am__remove_distdir)
... ...
@@ -421,15 +469,17 @@ dist dist-all: distdir
421 421
 distcheck: dist
422 422
 	case '$(DIST_ARCHIVES)' in \
423 423
 	*.tar.gz*) \
424
-	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
424
+	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
425 425
 	*.tar.bz2*) \
426
-	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
426
+	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
427 427
 	*.tar.lzma*) \
428
-	  unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
428
+	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
429
+	*.tar.xz*) \
430
+	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
429 431
 	*.tar.Z*) \
430 432
 	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
431 433
 	*.shar.gz*) \
432
-	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
434
+	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
433 435
 	*.zip*) \
434 436
 	  unzip $(distdir).zip ;;\
435 437
 	esac
... ...
@@ -437,9 +487,11 @@ distcheck: dist
437 437
 	mkdir $(distdir)/_build
438 438
 	mkdir $(distdir)/_inst
439 439
 	chmod a-w $(distdir)
440
+	test -d $(distdir)/_build || exit 0; \
440 441
 	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
441 442
 	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
442
-	  && cd $(distdir)/_build \
443
+	  && am__cwd=`pwd` \
444
+	  && $(am__cd) $(distdir)/_build \
443 445
 	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
444 446
 	    $(DISTCHECK_CONFIGURE_FLAGS) \
445 447
 	  && $(MAKE) $(AM_MAKEFLAGS) \
... ...
@@ -461,13 +513,15 @@ distcheck: dist
461 461
 	  && rm -rf "$$dc_destdir" \
462 462
 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
463 463
 	  && rm -rf $(DIST_ARCHIVES) \
464
-	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
464
+	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
465
+	  && cd "$$am__cwd" \
466
+	  || exit 1
465 467
 	$(am__remove_distdir)
466 468
 	@(echo "$(distdir) archives ready for distribution: "; \
467 469
 	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
468 470
 	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
469 471
 distuninstallcheck:
470
-	@cd $(distuninstallcheck_dir) \
472
+	@$(am__cd) '$(distuninstallcheck_dir)' \
471 473
 	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
472 474
 	   || { echo "ERROR: files left after uninstall:" ; \
473 475
 	        if test -n "$(DESTDIR)"; then \
... ...
@@ -511,6 +565,7 @@ clean-generic:
511 511
 
512 512
 distclean-generic:
513 513
 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
514
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
514 515
 
515 516
 maintainer-clean-generic:
516 517
 	@echo "This command is intended for maintainers to use"
... ...
@@ -533,6 +588,8 @@ dvi-am:
533 533
 
534 534
 html: html-am
535 535
 
536
+html-am:
537
+
536 538
 info: info-am
537 539
 
538 540
 info-am:
... ...
@@ -541,18 +598,28 @@ install-data-am:
541 541
 
542 542
 install-dvi: install-dvi-am
543 543
 
544
+install-dvi-am:
545
+
544 546
 install-exec-am: install-binPROGRAMS install-sbinPROGRAMS
545 547
 
546 548
 install-html: install-html-am
547 549
 
550
+install-html-am:
551
+
548 552
 install-info: install-info-am
549 553
 
554
+install-info-am:
555
+
550 556
 install-man:
551 557
 
552 558
 install-pdf: install-pdf-am
553 559
 
560
+install-pdf-am:
561
+
554 562
 install-ps: install-ps-am
555 563
 
564
+install-ps-am:
565
+
556 566
 installcheck-am:
557 567
 
558 568
 maintainer-clean: maintainer-clean-am
... ...
@@ -576,12 +643,12 @@ ps-am:
576 576
 
577 577
 uninstall-am: uninstall-binPROGRAMS uninstall-sbinPROGRAMS
578 578
 
579
-.MAKE: install-am install-strip
579
+.MAKE: all install-am install-strip
580 580
 
581 581
 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
582 582
 	clean-binPROGRAMS clean-generic clean-sbinPROGRAMS ctags dist \
583 583
 	dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \
584
-	dist-zip distcheck distclean distclean-compile \
584
+	dist-xz dist-zip distcheck distclean distclean-compile \
585 585
 	distclean-generic distclean-hdr distclean-tags distcleancheck \
586 586
 	distdir distuninstallcheck dvi dvi-am html html-am info \
587 587
 	info-am install install-am install-binPROGRAMS install-data \
... ...
@@ -594,6 +661,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-sbinPROGRAMS
594 594
 	mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
595 595
 	uninstall-am uninstall-binPROGRAMS uninstall-sbinPROGRAMS
596 596
 
597
+
597 598
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
598 599
 # Otherwise a system limit (for SysV at least) may be exceeded.
599 600
 .NOEXPORT:
... ...
@@ -1,7 +1,7 @@
1
-# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
1
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2 2
 
3 3
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
-# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
4
+# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
5 5
 # This file is free software; the Free Software Foundation
6 6
 # gives unlimited permission to copy and/or distribute it,
7 7
 # with or without modifications, as long as this notice is preserved.
... ...
@@ -13,13 +13,13 @@
13 13
 
14 14
 m4_ifndef([AC_AUTOCONF_VERSION],
15 15
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
-m4_if(AC_AUTOCONF_VERSION, [2.61],,
17
-[m4_warning([this file was generated for autoconf 2.61.
16
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17
+[m4_warning([this file was generated for autoconf 2.67.
18 18
 You have another version of autoconf.  It may work, but is not guaranteed to.
19 19
 If you have problems, you may need to regenerate the build system entirely.
20 20
 To do so, use the procedure documented by the package, typically `autoreconf'.])])
21 21
 
22
-# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
22
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
23 23
 #
24 24
 # This file is free software; the Free Software Foundation
25 25
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -31,10 +31,10 @@ To do so, use the procedure documented by the package, typically `autoreconf'.])
31 31
 # generated from the m4 files accompanying Automake X.Y.
32 32
 # (This private macro should not be called outside this file.)
33 33
 AC_DEFUN([AM_AUTOMAKE_VERSION],
34
-[am__api_version='1.10'
34
+[am__api_version='1.11'
35 35
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36 36
 dnl require some minimum version.  Point them to the right macro.
37
-m4_if([$1], [1.10.1], [],
37
+m4_if([$1], [1.11.1], [],
38 38
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39 39
 ])
40 40
 
... ...
@@ -48,12 +48,12 @@ m4_define([_AM_AUTOCONF_VERSION], [])
48 48
 # AM_SET_CURRENT_AUTOMAKE_VERSION
49 49
 # -------------------------------
50 50
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
51
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52 52
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
-[AM_AUTOMAKE_VERSION([1.10.1])dnl
53
+[AM_AUTOMAKE_VERSION([1.11.1])dnl
54 54
 m4_ifndef([AC_AUTOCONF_VERSION],
55 55
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
-_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
56
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57 57
 
58 58
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
59 59
 
... ...
@@ -110,14 +110,14 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
110 110
 
111 111
 # AM_CONDITIONAL                                            -*- Autoconf -*-
112 112
 
113
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
113
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
114 114
 # Free Software Foundation, Inc.
115 115
 #
116 116
 # This file is free software; the Free Software Foundation
117 117
 # gives unlimited permission to copy and/or distribute it,
118 118
 # with or without modifications, as long as this notice is preserved.
119 119
 
120
-# serial 8
120
+# serial 9
121 121
 
122 122
 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
123 123
 # -------------------------------------
... ...
@@ -130,6 +130,7 @@ AC_SUBST([$1_TRUE])dnl
130 130
 AC_SUBST([$1_FALSE])dnl
131 131
 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
132 132
 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
133
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
133 134
 if $2; then
134 135
   $1_TRUE=
135 136
   $1_FALSE='#'
... ...
@@ -143,14 +144,14 @@ AC_CONFIG_COMMANDS_PRE(
143 143
 Usually this means the macro was only invoked conditionally.]])
144 144
 fi])])
145 145
 
146
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
146
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
147 147
 # Free Software Foundation, Inc.
148 148
 #
149 149
 # This file is free software; the Free Software Foundation
150 150
 # gives unlimited permission to copy and/or distribute it,
151 151
 # with or without modifications, as long as this notice is preserved.
152 152
 
153
-# serial 9
153
+# serial 10
154 154
 
155 155
 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156 156
 # written in clear, in which case automake, when reading aclocal.m4,
... ...
@@ -207,6 +208,16 @@ AC_CACHE_CHECK([dependency style of $depcc],
207 207
   if test "$am_compiler_list" = ""; then
208 208
      am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
209 209
   fi
210
+  am__universal=false
211
+  m4_case([$1], [CC],
212
+    [case " $depcc " in #(
213
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
214
+     esac],
215
+    [CXX],
216
+    [case " $depcc " in #(
217
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
218
+     esac])
219
+
210 220
   for depmode in $am_compiler_list; do
211 221
     # Setup a source with many dependencies, because some compilers
212 222
     # like to wrap large dependency lists on column 80 (with \), and
... ...
@@ -224,7 +235,17 @@ AC_CACHE_CHECK([dependency style of $depcc],
224 224
     done
225 225
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
226 226
 
227
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
228
+    # mode.  It turns out that the SunPro C++ compiler does not properly
229
+    # handle `-M -o', and we need to detect this.  Also, some Intel
230
+    # versions had trouble with output in subdirs
231
+    am__obj=sub/conftest.${OBJEXT-o}
232
+    am__minus_obj="-o $am__obj"
227 233
     case $depmode in
234
+    gcc)
235
+      # This depmode causes a compiler race in universal mode.
236
+      test "$am__universal" = false || continue
237
+      ;;
228 238
     nosideeffect)
229 239
       # after this tag, mechanisms are not by side-effect, so they'll
230 240
       # only be used when explicitly requested
... ...
@@ -234,19 +255,23 @@ AC_CACHE_CHECK([dependency style of $depcc],
234 234
 	break
235 235
       fi
236 236
       ;;
237
+    msvisualcpp | msvcmsys)
238
+      # This compiler won't grok `-c -o', but also, the minuso test has
239
+      # not run yet.  These depmodes are late enough in the game, and
240
+      # so weak that their functioning should not be impacted.
241
+      am__obj=conftest.${OBJEXT-o}
242
+      am__minus_obj=
243
+      ;;
237 244
     none) break ;;
238 245
     esac
239
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
240
-    # mode.  It turns out that the SunPro C++ compiler does not properly
241
-    # handle `-M -o', and we need to detect this.
242 246
     if depmode=$depmode \
243
-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
247
+       source=sub/conftest.c object=$am__obj \
244 248
        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
245
-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
249
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
246 250
          >/dev/null 2>conftest.err &&
247 251
        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
248 252
        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
249
-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
253
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
250 254
        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
251 255
       # icc doesn't choke on unknown options, it will just issue warnings
252 256
       # or remarks (even with -Werror).  So we grep stderr for any message
... ...
@@ -303,57 +328,68 @@ _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
303 303
 
304 304
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
305 305
 
306
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
306
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
307 307
 # Free Software Foundation, Inc.
308 308
 #
309 309
 # This file is free software; the Free Software Foundation
310 310
 # gives unlimited permission to copy and/or distribute it,
311 311
 # with or without modifications, as long as this notice is preserved.
312 312
 
313
-#serial 3
313
+#serial 5
314 314
 
315 315
 # _AM_OUTPUT_DEPENDENCY_COMMANDS
316 316
 # ------------------------------
317 317
 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
318
-[for mf in $CONFIG_FILES; do
319
-  # Strip MF so we end up with the name of the file.
320
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
321
-  # Check whether this is an Automake generated Makefile or not.
322
-  # We used to match only the files named `Makefile.in', but
323
-  # some people rename them; so instead we look at the file content.
324
-  # Grep'ing the first line is not enough: some people post-process
325
-  # each Makefile.in and add a new line on top of each file to say so.
326
-  # Grep'ing the whole file is not good either: AIX grep has a line
327
-  # limit of 2048, but all sed's we know have understand at least 4000.
328
-  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
329
-    dirpart=`AS_DIRNAME("$mf")`
330
-  else
331
-    continue
332
-  fi
333
-  # Extract the definition of DEPDIR, am__include, and am__quote
334
-  # from the Makefile without running `make'.
335
-  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
336
-  test -z "$DEPDIR" && continue
337
-  am__include=`sed -n 's/^am__include = //p' < "$mf"`
338
-  test -z "am__include" && continue
339
-  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
340
-  # When using ansi2knr, U may be empty or an underscore; expand it
341
-  U=`sed -n 's/^U = //p' < "$mf"`
342
-  # Find all dependency output files, they are included files with
343
-  # $(DEPDIR) in their names.  We invoke sed twice because it is the
344
-  # simplest approach to changing $(DEPDIR) to its actual value in the
345
-  # expansion.
346
-  for file in `sed -n "
347
-    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
348
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
349
-    # Make sure the directory exists.
350
-    test -f "$dirpart/$file" && continue
351
-    fdir=`AS_DIRNAME(["$file"])`
352
-    AS_MKDIR_P([$dirpart/$fdir])
353
-    # echo "creating $dirpart/$file"
354
-    echo '# dummy' > "$dirpart/$file"
318
+[{
319
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
320
+  # are listed without --file.  Let's play safe and only enable the eval
321
+  # if we detect the quoting.
322
+  case $CONFIG_FILES in
323
+  *\'*) eval set x "$CONFIG_FILES" ;;
324
+  *)   set x $CONFIG_FILES ;;
325
+  esac
326
+  shift
327
+  for mf
328
+  do
329
+    # Strip MF so we end up with the name of the file.
330
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
331
+    # Check whether this is an Automake generated Makefile or not.
332
+    # We used to match only the files named `Makefile.in', but
333
+    # some people rename them; so instead we look at the file content.
334
+    # Grep'ing the first line is not enough: some people post-process
335
+    # each Makefile.in and add a new line on top of each file to say so.
336
+    # Grep'ing the whole file is not good either: AIX grep has a line
337
+    # limit of 2048, but all sed's we know have understand at least 4000.
338
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
339
+      dirpart=`AS_DIRNAME("$mf")`
340
+    else
341
+      continue
342
+    fi
343
+    # Extract the definition of DEPDIR, am__include, and am__quote
344
+    # from the Makefile without running `make'.
345
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
346
+    test -z "$DEPDIR" && continue
347
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
348
+    test -z "am__include" && continue
349
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
350
+    # When using ansi2knr, U may be empty or an underscore; expand it
351
+    U=`sed -n 's/^U = //p' < "$mf"`
352
+    # Find all dependency output files, they are included files with
353
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
354
+    # simplest approach to changing $(DEPDIR) to its actual value in the
355
+    # expansion.
356
+    for file in `sed -n "
357
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
358
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
359
+      # Make sure the directory exists.
360
+      test -f "$dirpart/$file" && continue
361
+      fdir=`AS_DIRNAME(["$file"])`
362
+      AS_MKDIR_P([$dirpart/$fdir])
363
+      # echo "creating $dirpart/$file"
364
+      echo '# dummy' > "$dirpart/$file"
365
+    done
355 366
   done
356
-done
367
+}
357 368
 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
358 369
 
359 370
 
... ...
@@ -373,13 +409,13 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
373 373
 # Do all the work for Automake.                             -*- Autoconf -*-
374 374
 
375 375
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
376
-# 2005, 2006, 2008 Free Software Foundation, Inc.
376
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
377 377
 #
378 378
 # This file is free software; the Free Software Foundation
379 379
 # gives unlimited permission to copy and/or distribute it,
380 380
 # with or without modifications, as long as this notice is preserved.
381 381
 
382
-# serial 13
382
+# serial 16
383 383
 
384 384
 # This macro actually does too much.  Some checks are only needed if
385 385
 # your package does certain things.  But this isn't really a big deal.
... ...
@@ -396,7 +432,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
396 396
 # arguments mandatory, and then we can depend on a new Autoconf
397 397
 # release and drop the old call support.
398 398
 AC_DEFUN([AM_INIT_AUTOMAKE],
399
-[AC_PREREQ([2.60])dnl
399
+[AC_PREREQ([2.62])dnl
400 400
 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
401 401
 dnl the ones we care about.
402 402
 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
... ...
@@ -447,8 +483,8 @@ AM_MISSING_PROG(AUTOCONF, autoconf)
447 447
 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
448 448
 AM_MISSING_PROG(AUTOHEADER, autoheader)
449 449
 AM_MISSING_PROG(MAKEINFO, makeinfo)
450
-AM_PROG_INSTALL_SH
451
-AM_PROG_INSTALL_STRIP
450
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
451
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
452 452
 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
453 453
 # We need awk for the "check" target.  The system "awk" is bad on
454 454
 # some platforms.
... ...
@@ -456,24 +492,37 @@ AC_REQUIRE([AC_PROG_AWK])dnl
456 456
 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
457 457
 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
458 458
 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
459
-              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
460
-	      		     [_AM_PROG_TAR([v7])])])
459
+	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
460
+			     [_AM_PROG_TAR([v7])])])
461 461
 _AM_IF_OPTION([no-dependencies],,
462 462
 [AC_PROVIDE_IFELSE([AC_PROG_CC],
463
-                  [_AM_DEPENDENCIES(CC)],
464
-                  [define([AC_PROG_CC],
465
-                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
463
+		  [_AM_DEPENDENCIES(CC)],
464
+		  [define([AC_PROG_CC],
465
+			  defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
466 466
 AC_PROVIDE_IFELSE([AC_PROG_CXX],
467
-                  [_AM_DEPENDENCIES(CXX)],
468
-                  [define([AC_PROG_CXX],
469
-                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
467
+		  [_AM_DEPENDENCIES(CXX)],
468
+		  [define([AC_PROG_CXX],
469
+			  defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
470 470
 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
471
-                  [_AM_DEPENDENCIES(OBJC)],
472
-                  [define([AC_PROG_OBJC],
473
-                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
471
+		  [_AM_DEPENDENCIES(OBJC)],
472
+		  [define([AC_PROG_OBJC],
473
+			  defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
474 474
 ])
475
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
476
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
477
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
478
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
479
+AC_CONFIG_COMMANDS_PRE(dnl
480
+[m4_provide_if([_AM_COMPILER_EXEEXT],
481
+  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
475 482
 ])
476 483
 
484
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
485
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
486
+dnl mangled by Autoconf and run in a shell conditional statement.
487
+m4_define([_AC_COMPILER_EXEEXT],
488
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
489
+
477 490
 
478 491
 # When config.status generates a header, we must update the stamp-h file.
479 492
 # This file resides in the same directory as the config header
... ...
@@ -496,7 +545,7 @@ for _am_header in $config_headers :; do
496 496
 done
497 497
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
498 498
 
499
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
499
+# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
500 500
 #
501 501
 # This file is free software; the Free Software Foundation
502 502
 # gives unlimited permission to copy and/or distribute it,
... ...
@@ -507,7 +556,14 @@ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
507 507
 # Define $install_sh.
508 508
 AC_DEFUN([AM_PROG_INSTALL_SH],
509 509
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
510
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
510
+if test x"${install_sh}" != xset; then
511
+  case $am_aux_dir in
512
+  *\ * | *\	*)
513
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
514
+  *)
515
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
516
+  esac
517
+fi
511 518
 AC_SUBST(install_sh)])
512 519
 
513 520
 # Copyright (C) 2003, 2005  Free Software Foundation, Inc.
... ...
@@ -533,13 +589,13 @@ AC_SUBST([am__leading_dot])])
533 533
 
534 534
 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
535 535
 
536
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
536
+# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
537 537
 #
538 538
 # This file is free software; the Free Software Foundation
539 539
 # gives unlimited permission to copy and/or distribute it,
540 540
 # with or without modifications, as long as this notice is preserved.
541 541
 
542
-# serial 3
542
+# serial 4
543 543
 
544 544
 # AM_MAKE_INCLUDE()
545 545
 # -----------------
... ...
@@ -548,7 +604,7 @@ AC_DEFUN([AM_MAKE_INCLUDE],
548 548
 [am_make=${MAKE-make}
549 549
 cat > confinc << 'END'
550 550
 am__doit:
551
-	@echo done
551
+	@echo this is the am__doit target
552 552
 .PHONY: am__doit
553 553
 END
554 554
 # If we don't find an include directive, just comment out the code.
... ...
@@ -558,24 +614,24 @@ am__quote=
558 558
 _am_result=none
559 559
 # First try GNU make style include.
560 560
 echo "include confinc" > confmf
561
-# We grep out `Entering directory' and `Leaving directory'
562
-# messages which can occur if `w' ends up in MAKEFLAGS.
563
-# In particular we don't look at `^make:' because GNU make might
564
-# be invoked under some other name (usually "gmake"), in which
565
-# case it prints its new name instead of `make'.
566
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
567
-   am__include=include
568
-   am__quote=
569
-   _am_result=GNU
570
-fi
561
+# Ignore all kinds of additional output from `make'.
562
+case `$am_make -s -f confmf 2> /dev/null` in #(
563
+*the\ am__doit\ target*)
564
+  am__include=include
565
+  am__quote=
566
+  _am_result=GNU
567
+  ;;
568
+esac
571 569
 # Now try BSD make style include.
572 570
 if test "$am__include" = "#"; then
573 571
    echo '.include "confinc"' > confmf
574
-   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
575
-      am__include=.include
576
-      am__quote="\""
577
-      _am_result=BSD
578
-   fi
572
+   case `$am_make -s -f confmf 2> /dev/null` in #(
573
+   *the\ am__doit\ target*)
574
+     am__include=.include
575
+     am__quote="\""
576
+     _am_result=BSD
577
+     ;;
578
+   esac
579 579
 fi
580 580
 AC_SUBST([am__include])
581 581
 AC_SUBST([am__quote])
... ...
@@ -585,14 +641,14 @@ rm -f confinc confmf
585 585
 
586 586
 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
587 587
 
588
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
588
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
589 589
 # Free Software Foundation, Inc.
590 590
 #
591 591
 # This file is free software; the Free Software Foundation
592 592
 # gives unlimited permission to copy and/or distribute it,
593 593
 # with or without modifications, as long as this notice is preserved.
594 594
 
595
-# serial 5
595
+# serial 6
596 596
 
597 597
 # AM_MISSING_PROG(NAME, PROGRAM)
598 598
 # ------------------------------
... ...
@@ -609,7 +665,14 @@ AC_SUBST($1)])
609 609
 AC_DEFUN([AM_MISSING_HAS_RUN],
610 610
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
611 611
 AC_REQUIRE_AUX_FILE([missing])dnl
612
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
612
+if test x"${MISSING+set}" != xset; then
613
+  case $am_aux_dir in
614
+  *\ * | *\	*)
615
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
616
+  *)
617
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
618
+  esac
619
+fi
613 620
 # Use eval to expand $SHELL
614 621
 if eval "$MISSING --run true"; then
615 622
   am_missing_run="$MISSING --run "
... ...
@@ -647,13 +710,13 @@ esac
647 647
 
648 648
 # Helper functions for option handling.                     -*- Autoconf -*-
649 649
 
650
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
650
+# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
651 651
 #
652 652
 # This file is free software; the Free Software Foundation
653 653
 # gives unlimited permission to copy and/or distribute it,
654 654
 # with or without modifications, as long as this notice is preserved.
655 655
 
656
-# serial 3
656
+# serial 4
657 657
 
658 658
 # _AM_MANGLE_OPTION(NAME)
659 659
 # -----------------------
... ...
@@ -670,7 +733,7 @@ AC_DEFUN([_AM_SET_OPTION],
670 670
 # ----------------------------------
671 671
 # OPTIONS is a space-separated list of Automake options.
672 672
 AC_DEFUN([_AM_SET_OPTIONS],
673
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
673
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
674 674
 
675 675
 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
676 676
 # -------------------------------------------
... ...
@@ -680,14 +743,14 @@ AC_DEFUN([_AM_IF_OPTION],
680 680
 
681 681
 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
682 682
 
683
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
683
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
684 684
 # Free Software Foundation, Inc.
685 685
 #
686 686
 # This file is free software; the Free Software Foundation
687 687
 # gives unlimited permission to copy and/or distribute it,
688 688
 # with or without modifications, as long as this notice is preserved.
689 689
 
690
-# serial 4
690
+# serial 5
691 691
 
692 692
 # AM_SANITY_CHECK
693 693
 # ---------------
... ...
@@ -696,16 +759,29 @@ AC_DEFUN([AM_SANITY_CHECK],
696 696
 # Just in case
697 697
 sleep 1
698 698
 echo timestamp > conftest.file
699
+# Reject unsafe characters in $srcdir or the absolute working directory
700
+# name.  Accept space and tab only in the latter.
701
+am_lf='
702
+'
703
+case `pwd` in
704
+  *[[\\\"\#\$\&\'\`$am_lf]]*)
705
+    AC_MSG_ERROR([unsafe absolute working directory name]);;
706
+esac
707
+case $srcdir in
708
+  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
709
+    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
710
+esac
711
+
699 712
 # Do `set' in a subshell so we don't clobber the current shell's
700 713
 # arguments.  Must try -L first in case configure is actually a
701 714
 # symlink; some systems play weird games with the mod time of symlinks
702 715
 # (eg FreeBSD returns the mod time of the symlink's containing
703 716
 # directory).
704 717
 if (
705
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
718
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
706 719
    if test "$[*]" = "X"; then
707 720
       # -L didn't work.
708
-      set X `ls -t $srcdir/configure conftest.file`
721
+      set X `ls -t "$srcdir/configure" conftest.file`
709 722
    fi
710 723
    rm -f conftest.file
711 724
    if test "$[*]" != "X $srcdir/configure conftest.file" \
... ...
@@ -758,18 +834,25 @@ fi
758 758
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
759 759
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
760 760
 
761
-# Copyright (C) 2006  Free Software Foundation, Inc.
761
+# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
762 762
 #
763 763
 # This file is free software; the Free Software Foundation
764 764
 # gives unlimited permission to copy and/or distribute it,
765 765
 # with or without modifications, as long as this notice is preserved.
766 766
 
767
+# serial 2
768
+
767 769
 # _AM_SUBST_NOTMAKE(VARIABLE)
768 770
 # ---------------------------
769 771
 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
770 772
 # This macro is traced by Automake.
771 773
 AC_DEFUN([_AM_SUBST_NOTMAKE])
772 774
 
775
+# AM_SUBST_NOTMAKE(VARIABLE)
776
+# ---------------------------
777
+# Public sister of _AM_SUBST_NOTMAKE.
778
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
779
+
773 780
 # Check how to create a tarball.                            -*- Autoconf -*-
774 781
 
775 782
 # Copyright (C) 2004, 2005  Free Software Foundation, Inc.
... ...
@@ -1,4 +1,4 @@
1
-/* config.h.in.  Generated from configure.in by autoheader.  */
1
+/* config.h.in.  Generated from configure.ac by autoheader.  */
2 2
 
3 3
 /* Define to 1 if the `closedir' function returns void instead of `int'. */
4 4
 #undef CLOSEDIR_VOID
... ...
@@ -44,9 +44,6 @@
44 44
 /* Define to 1 if you have the `fork' function. */
45 45
 #undef HAVE_FORK
46 46
 
47
-/* Define to 1 if you have the `ftime' function. */
48
-#undef HAVE_FTIME
49
-
50 47
 /* Define to 1 if you have the `getcwd' function. */
51 48
 #undef HAVE_GETCWD
52 49
 
... ...
@@ -65,6 +62,9 @@
65 65
 /* Define to 1 if you have the <inttypes.h> header file. */
66 66
 #undef HAVE_INTTYPES_H
67 67
 
68
+/* Define to 1 if you have the `lchown' function. */
69
+#undef HAVE_LCHOWN
70
+
68 71
 /* Define to 1 if you have the `crypto' library (-lcrypto). */
69 72
 #undef HAVE_LIBCRYPTO
70 73
 
... ...
@@ -146,12 +146,21 @@
146 146
 /* Define to 1 if you have the <stdlib.h> header file. */
147 147
 #undef HAVE_STDLIB_H
148 148
 
149
+/* Define to 1 if you have the `strchr' function. */
150
+#undef HAVE_STRCHR
151
+
152
+/* Define to 1 if you have the `strerror' function. */
153
+#undef HAVE_STRERROR
154
+
149 155
 /* Define to 1 if you have the <strings.h> header file. */
150 156
 #undef HAVE_STRINGS_H
151 157
 
152 158
 /* Define to 1 if you have the <string.h> header file. */
153 159
 #undef HAVE_STRING_H
154 160
 
161
+/* Define to 1 if `st_rdev' is a member of `struct stat'. */
162
+#undef HAVE_STRUCT_STAT_ST_RDEV
163
+
155 164
 /* Define to 1 if you have the <syslog.h> header file. */
156 165
 #undef HAVE_SYSLOG_H
157 166
 
... ...
@@ -184,6 +193,9 @@
184 184
 /* Define to 1 if you have the `tzset' function. */
185 185
 #undef HAVE_TZSET
186 186
 
187
+/* Define to 1 if you have the `uname' function. */
188
+#undef HAVE_UNAME
189
+
187 190
 /* Define to 1 if you have the <unistd.h> header file. */
188 191
 #undef HAVE_UNISTD_H
189 192
 
... ...
@@ -239,6 +251,9 @@
239 239
 /* Define to the one symbol short name of this package. */
240 240
 #undef PACKAGE_TARNAME
241 241
 
242
+/* Define to the home page for this package. */
243
+#undef PACKAGE_URL
244
+
242 245
 /* Define to the version of this package. */
243 246
 #undef PACKAGE_VERSION
244 247
 
... ...
@@ -262,22 +277,21 @@
262 262
 /* Define to 1 if you have the ANSI C header files. */
263 263
 #undef STDC_HEADERS
264 264
 
265
-/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
266
-#undef TIME_WITH_SYS_TIME
267
-
268
-/* Define to 1 if your <sys/time.h> declares `struct tm'. */
269
-#undef TM_IN_SYS_TIME
270
-
271 265
 /* Version number of package */
272 266
 #undef VERSION
273 267
 
274 268
 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
275
-   <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the
269
+   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
276 270
    #define below would cause a syntax error. */
277 271
 #undef _UINT32_T
278 272
 
273
+/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
274
+   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
275
+   #define below would cause a syntax error. */
276
+#undef _UINT64_T
277
+
279 278
 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
280
-   <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the
279
+   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
281 280
    #define below would cause a syntax error. */
282 281
 #undef _UINT8_T
283 282
 
... ...
@@ -308,6 +322,9 @@
308 308
 /* Define to rpl_realloc if the replacement function should be used. */
309 309
 #undef realloc
310 310
 
311
+/* Define to `unsigned int' if <sys/types.h> does not define. */
312
+#undef size_t
313
+
311 314
 /* Define to `int' if <sys/types.h> does not define. */
312 315
 #undef ssize_t
313 316
 
... ...
@@ -322,6 +339,10 @@
322 322
    such a type exists and the standard includes do not define it. */
323 323
 #undef uint32_t
324 324
 
325
+/* Define to the type of an unsigned integer type of width exactly 64 bits if
326
+   such a type exists and the standard includes do not define it. */
327
+#undef uint64_t
328
+
325 329
 /* Define to the type of an unsigned integer type of width exactly 8 bits if
326 330
    such a type exists and the standard includes do not define it. */
327 331
 #undef uint8_t
... ...
@@ -1,62 +1,85 @@
1 1
 #! /bin/sh
2 2
 # Guess values for system-dependent variables and create Makefiles.
3
-# Generated by GNU Autoconf 2.61 for makuosan 1.3.2.
3
+# Generated by GNU Autoconf 2.67 for makuosan 1.3.3.
4 4
 #
5 5
 # Report bugs to <info-makuosan@klab.jp>.
6 6
 #
7
+#
7 8
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
+# Foundation, Inc.
11
+#
12
+#
9 13
 # This configure script is free software; the Free Software Foundation
10 14
 # gives unlimited permission to copy, distribute and modify it.
11
-## --------------------- ##
12
-## M4sh Initialization.  ##
13
-## --------------------- ##
15
+## -------------------- ##
16
+## M4sh Initialization. ##
17
+## -------------------- ##
14 18
 
15 19
 # Be more Bourne compatible
16 20
 DUALCASE=1; export DUALCASE # for MKS sh
17
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 22
   emulate sh
19 23
   NULLCMD=:
20
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 25
   # is contrary to our usage.  Disable this feature.
22 26
   alias -g '${1+"$@"}'='"$@"'
23 27
   setopt NO_GLOB_SUBST
24 28
 else
25
-  case `(set -o) 2>/dev/null` in
26
-  *posix*) set -o posix ;;
29
+  case `(set -o) 2>/dev/null` in #(
30
+  *posix*) :
31
+    set -o posix ;; #(
32
+  *) :
33
+     ;;
27 34
 esac
28
-
29 35
 fi
30 36
 
31 37
 
32
-
33
-
34
-# PATH needs CR
35
-# Avoid depending upon Character Ranges.
36
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
-as_cr_digits='0123456789'
40
-as_cr_alnum=$as_cr_Letters$as_cr_digits
41
-
42
-# The user is always right.
43
-if test "${PATH_SEPARATOR+set}" != set; then
44
-  echo "#! /bin/sh" >conf$$.sh
45
-  echo  "exit 0"   >>conf$$.sh
46
-  chmod +x conf$$.sh
47
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
-    PATH_SEPARATOR=';'
38
+as_nl='
39
+'
40
+export as_nl
41
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
+# Prefer a ksh shell builtin over an external printf program on Solaris,
46
+# but without wasting forks for bash or zsh.
47
+if test -z "$BASH_VERSION$ZSH_VERSION" \
48
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
+  as_echo='print -r --'
50
+  as_echo_n='print -rn --'
51
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
+  as_echo='printf %s\n'
53
+  as_echo_n='printf %s'
54
+else
55
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
+    as_echo_n='/usr/ucb/echo -n'
49 58
   else
50
-    PATH_SEPARATOR=:
59
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
+    as_echo_n_body='eval
61
+      arg=$1;
62
+      case $arg in #(
63
+      *"$as_nl"*)
64
+	expr "X$arg" : "X\\(.*\\)$as_nl";
65
+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
+      esac;
67
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
+    '
69
+    export as_echo_n_body
70
+    as_echo_n='sh -c $as_echo_n_body as_echo'
51 71
   fi
52
-  rm -f conf$$.sh
72
+  export as_echo_body
73
+  as_echo='sh -c $as_echo_body as_echo'
53 74
 fi
54 75
 
55
-# Support unset when possible.
56
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57
-  as_unset=unset
58
-else
59
-  as_unset=false
76
+# The user is always right.
77
+if test "${PATH_SEPARATOR+set}" != set; then
78
+  PATH_SEPARATOR=:
79
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
+      PATH_SEPARATOR=';'
82
+  }
60 83
 fi
61 84
 
62 85
 
... ...
@@ -65,20 +88,18 @@ fi
65 65
 # there to prevent editors from complaining about space-tab.
66 66
 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 67
 # splitting by setting IFS to empty value.)
68
-as_nl='
69
-'
70 68
 IFS=" ""	$as_nl"
71 69
 
72 70
 # Find who we are.  Look in the path if we contain no directory separator.
73
-case $0 in
71
+case $0 in #((
74 72
   *[\\/]* ) as_myself=$0 ;;
75 73
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 74
 for as_dir in $PATH
77 75
 do
78 76
   IFS=$as_save_IFS
79 77
   test -z "$as_dir" && as_dir=.
80
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81
-done
78
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
+  done
82 80
 IFS=$as_save_IFS
83 81
 
84 82
      ;;
... ...
@@ -89,354 +110,322 @@ if test "x$as_myself" = x; then
89 89
   as_myself=$0
90 90
 fi
91 91
 if test ! -f "$as_myself"; then
92
-  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
-  { (exit 1); exit 1; }
92
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
+  exit 1
94 94
 fi
95 95
 
96
-# Work around bugs in pre-3.0 UWIN ksh.
97
-for as_var in ENV MAIL MAILPATH
98
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
96
+# Unset variables that we do not need and which cause bugs (e.g. in
97
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
98
+# suppresses any "Segmentation fault" message there.  '((' could
99
+# trigger a bug in pdksh 5.2.14.
100
+for as_var in BASH_ENV ENV MAIL MAILPATH
101
+do eval test x\${$as_var+set} = xset \
102
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
99 103
 done
100 104
 PS1='$ '
101 105
 PS2='> '
102 106
 PS4='+ '
103 107
 
104 108
 # NLS nuisances.
105
-for as_var in \
106
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
-  LC_TELEPHONE LC_TIME
109
-do
110
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
-    eval $as_var=C; export $as_var
112
-  else
113
-    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
-  fi
115
-done
116
-
117
-# Required to use basename.
118
-if expr a : '\(a\)' >/dev/null 2>&1 &&
119
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120
-  as_expr=expr
121
-else
122
-  as_expr=false
123
-fi
124
-
125
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126
-  as_basename=basename
127
-else
128
-  as_basename=false
129
-fi
130
-
131
-
132
-# Name of the executable.
133
-as_me=`$as_basename -- "$0" ||
134
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
-	 X"$0" : 'X\(//\)$' \| \
136
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
-echo X/"$0" |
138
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
-	    s//\1/
140
-	    q
141
-	  }
142
-	  /^X\/\(\/\/\)$/{
143
-	    s//\1/
144
-	    q
145
-	  }
146
-	  /^X\/\(\/\).*/{
147
-	    s//\1/
148
-	    q
149
-	  }
150
-	  s/.*/./; q'`
109
+LC_ALL=C
110
+export LC_ALL
111
+LANGUAGE=C
112
+export LANGUAGE
151 113
 
152 114
 # CDPATH.
153
-$as_unset CDPATH
154
-
115
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
155 116
 
156 117
 if test "x$CONFIG_SHELL" = x; then
157
-  if (eval ":") 2>/dev/null; then
158
-  as_have_required=yes
118
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
119
+  emulate sh
120
+  NULLCMD=:
121
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
122
+  # is contrary to our usage.  Disable this feature.
123
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
124
+  setopt NO_GLOB_SUBST
159 125
 else
160
-  as_have_required=no
126
+  case \`(set -o) 2>/dev/null\` in #(
127
+  *posix*) :
128
+    set -o posix ;; #(
129
+  *) :
130
+     ;;
131
+esac
161 132
 fi
162
-
163
-  if test $as_have_required = yes && 	 (eval ":
164
-(as_func_return () {
165
-  (exit \$1)
166
-}
167
-as_func_success () {
168
-  as_func_return 0
169
-}
170
-as_func_failure () {
171
-  as_func_return 1
172
-}
173
-as_func_ret_success () {
174
-  return 0
175
-}
176
-as_func_ret_failure () {
177
-  return 1
178
-}
133
+"
134
+  as_required="as_fn_return () { (exit \$1); }
135
+as_fn_success () { as_fn_return 0; }
136
+as_fn_failure () { as_fn_return 1; }
137
+as_fn_ret_success () { return 0; }
138
+as_fn_ret_failure () { return 1; }
179 139
 
180 140
 exitcode=0
181
-if as_func_success; then
182
-  :
183
-else
184
-  exitcode=1
185
-  echo as_func_success failed.
186
-fi
187
-
188
-if as_func_failure; then
189
-  exitcode=1
190
-  echo as_func_failure succeeded.
191
-fi
192
-
193
-if as_func_ret_success; then
194
-  :
195
-else
196
-  exitcode=1
197
-  echo as_func_ret_success failed.
198
-fi
199
-
200
-if as_func_ret_failure; then
201
-  exitcode=1
202
-  echo as_func_ret_failure succeeded.
203
-fi
204
-
205
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206
-  :
141
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
142
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
143
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
144
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
145
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
146
+
147
+else
148
+  exitcode=1; echo positional parameters were not saved.
149
+fi
150
+test x\$exitcode = x0 || exit 1"
151
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
152
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
153
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
154
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
155
+test \$(( 1 + 1 )) = 2 || exit 1"
156
+  if (eval "$as_required") 2>/dev/null; then :
157
+  as_have_required=yes
207 158
 else
208
-  exitcode=1
209
-  echo positional parameters were not saved.
159
+  as_have_required=no
210 160
 fi
161
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
211 162
 
212
-test \$exitcode = 0) || { (exit 1); exit 1; }
213
-
214
-(
215
-  as_lineno_1=\$LINENO
216
-  as_lineno_2=\$LINENO
217
-  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
-  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
-") 2> /dev/null; then
220
-  :
221 163
 else
222
-  as_candidate_shells=
223
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
164
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
165
+as_found=false
224 166
 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 167
 do
226 168
   IFS=$as_save_IFS
227 169
   test -z "$as_dir" && as_dir=.
228
-  case $as_dir in
170
+  as_found=:
171
+  case $as_dir in #(
229 172
 	 /*)
230 173
 	   for as_base in sh bash ksh sh5; do
231
-	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
174
+	     # Try only shells that exist, to save several forks.
175
+	     as_shell=$as_dir/$as_base
176
+	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
177
+		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
178
+  CONFIG_SHELL=$as_shell as_have_required=yes
179
+		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
180
+  break 2
181
+fi
182
+fi
232 183
 	   done;;
233 184
        esac
185
+  as_found=false
234 186
 done
187
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
188
+	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
189
+  CONFIG_SHELL=$SHELL as_have_required=yes
190
+fi; }
235 191
 IFS=$as_save_IFS
236 192
 
237 193
 
238
-      for as_shell in $as_candidate_shells $SHELL; do
239
-	 # Try only shells that exist, to save several forks.
240
-	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
-		{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
-  emulate sh
244
-  NULLCMD=:
245
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
-  # is contrary to our usage.  Disable this feature.
247
-  alias -g '${1+"$@"}'='"$@"'
248
-  setopt NO_GLOB_SUBST
249
-else
250
-  case `(set -o) 2>/dev/null` in
251
-  *posix*) set -o posix ;;
252
-esac
253
-
194
+      if test "x$CONFIG_SHELL" != x; then :
195
+  # We cannot yet assume a decent shell, so we have to provide a
196
+	# neutralization value for shells without unset; and this also
197
+	# works around shells that cannot unset nonexistent variables.
198
+	BASH_ENV=/dev/null
199
+	ENV=/dev/null
200
+	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
201
+	export CONFIG_SHELL
202
+	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
254 203
 fi
255 204
 
256
-
257
-:
258
-_ASEOF
259
-}; then
260
-  CONFIG_SHELL=$as_shell
261
-	       as_have_required=yes
262
-	       if { "$as_shell" 2> /dev/null <<\_ASEOF
263
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
-  emulate sh
265
-  NULLCMD=:
266
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
-  # is contrary to our usage.  Disable this feature.
268
-  alias -g '${1+"$@"}'='"$@"'
269
-  setopt NO_GLOB_SUBST
270
-else
271
-  case `(set -o) 2>/dev/null` in
272
-  *posix*) set -o posix ;;
273
-esac
274
-
205
+    if test x$as_have_required = xno; then :
206
+  $as_echo "$0: This script requires a shell more modern than all"
207
+  $as_echo "$0: the shells that I found on your system."
208
+  if test x${ZSH_VERSION+set} = xset ; then
209
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
210
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
211
+  else
212
+    $as_echo "$0: Please tell bug-autoconf@gnu.org and
213
+$0: info-makuosan@klab.jp about your system, including any
214
+$0: error possibly output before this message. Then install
215
+$0: a modern shell, or manually run the script under such a
216
+$0: shell if you do have one."
217
+  fi
218
+  exit 1
275 219
 fi
220
+fi
221
+fi
222
+SHELL=${CONFIG_SHELL-/bin/sh}
223
+export SHELL
224
+# Unset more variables known to interfere with behavior of common tools.
225
+CLICOLOR_FORCE= GREP_OPTIONS=
226
+unset CLICOLOR_FORCE GREP_OPTIONS
276 227
 
277
-
278
-:
279
-(as_func_return () {
280
-  (exit $1)
281
-}
282
-as_func_success () {
283
-  as_func_return 0
284
-}
285
-as_func_failure () {
286
-  as_func_return 1
287
-}
288
-as_func_ret_success () {
289
-  return 0
290
-}
291
-as_func_ret_failure () {
292
-  return 1
228
+## --------------------- ##
229
+## M4sh Shell Functions. ##
230
+## --------------------- ##
231
+# as_fn_unset VAR
232
+# ---------------
233
+# Portably unset VAR.
234
+as_fn_unset ()
235
+{
236
+  { eval $1=; unset $1;}
293 237
 }
238
+as_unset=as_fn_unset
294 239
 
295
-exitcode=0
296
-if as_func_success; then
297
-  :
298
-else
299
-  exitcode=1
300
-  echo as_func_success failed.
301
-fi
240
+# as_fn_set_status STATUS
241
+# -----------------------
242
+# Set $? to STATUS, without forking.
243
+as_fn_set_status ()
244
+{
245
+  return $1
246
+} # as_fn_set_status
302 247
 
303
-if as_func_failure; then
304
-  exitcode=1
305
-  echo as_func_failure succeeded.
306
-fi
248
+# as_fn_exit STATUS
249
+# -----------------
250
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
251
+as_fn_exit ()
252
+{
253
+  set +e
254
+  as_fn_set_status $1
255
+  exit $1
256
+} # as_fn_exit
257
+
258
+# as_fn_mkdir_p
259
+# -------------
260
+# Create "$as_dir" as a directory, including parents if necessary.
261
+as_fn_mkdir_p ()
262
+{
307 263
 
308
-if as_func_ret_success; then
309
-  :
264
+  case $as_dir in #(
265
+  -*) as_dir=./$as_dir;;
266
+  esac
267
+  test -d "$as_dir" || eval $as_mkdir_p || {
268
+    as_dirs=
269
+    while :; do
270
+      case $as_dir in #(
271
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
272
+      *) as_qdir=$as_dir;;
273
+      esac
274
+      as_dirs="'$as_qdir' $as_dirs"
275
+      as_dir=`$as_dirname -- "$as_dir" ||
276
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
277
+	 X"$as_dir" : 'X\(//\)[^/]' \| \
278
+	 X"$as_dir" : 'X\(//\)$' \| \
279
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
280
+$as_echo X"$as_dir" |
281
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
282
+	    s//\1/
283
+	    q
284
+	  }
285
+	  /^X\(\/\/\)[^/].*/{
286
+	    s//\1/
287
+	    q
288
+	  }
289
+	  /^X\(\/\/\)$/{
290
+	    s//\1/
291
+	    q
292
+	  }
293
+	  /^X\(\/\).*/{
294
+	    s//\1/
295
+	    q
296
+	  }
297
+	  s/.*/./; q'`
298
+      test -d "$as_dir" && break
299
+    done
300
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
301
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
302
+
303
+
304
+} # as_fn_mkdir_p
305
+# as_fn_append VAR VALUE
306
+# ----------------------
307
+# Append the text in VALUE to the end of the definition contained in VAR. Take
308
+# advantage of any shell optimizations that allow amortized linear growth over
309
+# repeated appends, instead of the typical quadratic growth present in naive
310
+# implementations.
311
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
312
+  eval 'as_fn_append ()
313
+  {
314
+    eval $1+=\$2
315
+  }'
310 316
 else
311
-  exitcode=1
312
-  echo as_func_ret_success failed.
313
-fi
314
-
315
-if as_func_ret_failure; then
316
-  exitcode=1
317
-  echo as_func_ret_failure succeeded.
318
-fi
319
-
320
-if ( set x; as_func_ret_success y && test x = "$1" ); then
321
-  :
317
+  as_fn_append ()
318
+  {
319
+    eval $1=\$$1\$2
320
+  }
321
+fi # as_fn_append
322
+
323
+# as_fn_arith ARG...
324
+# ------------------
325
+# Perform arithmetic evaluation on the ARGs, and store the result in the
326
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
327
+# must be portable across $(()) and expr.
328
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
329
+  eval 'as_fn_arith ()
330
+  {
331
+    as_val=$(( $* ))
332
+  }'
322 333
 else
323
-  exitcode=1
324
-  echo positional parameters were not saved.
325
-fi
326
-
327
-test $exitcode = 0) || { (exit 1); exit 1; }
328
-
329
-(
330
-  as_lineno_1=$LINENO
331
-  as_lineno_2=$LINENO
332
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
333
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
-
335
-_ASEOF
336
-}; then
337
-  break
338
-fi
339
-
340
-fi
341
-
342
-      done
343
-
344
-      if test "x$CONFIG_SHELL" != x; then
345
-  for as_var in BASH_ENV ENV
346
-        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
-        done
348
-        export CONFIG_SHELL
349
-        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
-fi
351
-
352
-
353
-    if test $as_have_required = no; then
354
-  echo This script requires a shell more modern than all the
355
-      echo shells that I found on your system.  Please install a
356
-      echo modern shell, or manually run the script under such a
357
-      echo shell if you do have one.
358
-      { (exit 1); exit 1; }
359
-fi
360
-
361
-
362
-fi
363
-
364
-fi
365
-
334
+  as_fn_arith ()
335
+  {
336
+    as_val=`expr "$@" || test $? -eq 1`
337
+  }
338
+fi # as_fn_arith
366 339
 
367 340
 
368
-(eval "as_func_return () {
369
-  (exit \$1)
370
-}
371
-as_func_success () {
372
-  as_func_return 0
373
-}
374
-as_func_failure () {
375
-  as_func_return 1
376
-}
377
-as_func_ret_success () {
378
-  return 0
379
-}
380
-as_func_ret_failure () {
381
-  return 1
382
-}
341
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
342
+# ----------------------------------------
343
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
344
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
345
+# script with STATUS, using 1 if that was 0.
346
+as_fn_error ()
347
+{
348
+  as_status=$1; test $as_status -eq 0 && as_status=1
349
+  if test "$4"; then
350
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
351
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
352
+  fi
353
+  $as_echo "$as_me: error: $2" >&2
354
+  as_fn_exit $as_status
355
+} # as_fn_error
383 356
 
384
-exitcode=0
385
-if as_func_success; then
386
-  :
357
+if expr a : '\(a\)' >/dev/null 2>&1 &&
358
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
359
+  as_expr=expr
387 360
 else
388
-  exitcode=1
389
-  echo as_func_success failed.
390
-fi
391
-
392
-if as_func_failure; then
393
-  exitcode=1
394
-  echo as_func_failure succeeded.
361
+  as_expr=false
395 362
 fi
396 363
 
397
-if as_func_ret_success; then
398
-  :
364
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
365
+  as_basename=basename
399 366
 else
400
-  exitcode=1
401
-  echo as_func_ret_success failed.
402
-fi
403
-
404
-if as_func_ret_failure; then
405
-  exitcode=1
406
-  echo as_func_ret_failure succeeded.
367
+  as_basename=false
407 368
 fi
408 369
 
409
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
-  :
370
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
371
+  as_dirname=dirname
411 372
 else
412
-  exitcode=1
413
-  echo positional parameters were not saved.
373
+  as_dirname=false
414 374
 fi
415 375
 
416
-test \$exitcode = 0") || {
417
-  echo No shell found that supports shell functions.
418
-  echo Please tell autoconf@gnu.org about your system,
419
-  echo including any error possibly output before this
420
-  echo message
421
-}
422
-
376
+as_me=`$as_basename -- "$0" ||
377
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
378
+	 X"$0" : 'X\(//\)$' \| \
379
+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
380
+$as_echo X/"$0" |
381
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
382
+	    s//\1/
383
+	    q
384
+	  }
385
+	  /^X\/\(\/\/\)$/{
386
+	    s//\1/
387
+	    q
388
+	  }
389
+	  /^X\/\(\/\).*/{
390
+	    s//\1/
391
+	    q
392
+	  }
393
+	  s/.*/./; q'`
423 394
 
395
+# Avoid depending upon Character Ranges.
396
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
397
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
398
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
399
+as_cr_digits='0123456789'
400
+as_cr_alnum=$as_cr_Letters$as_cr_digits
424 401
 
425
-  as_lineno_1=$LINENO
426
-  as_lineno_2=$LINENO
427
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
428
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429 402
 
430
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
-  # uniformly replaced by the line number.  The first 'sed' inserts a
432
-  # line-number line after each line using $LINENO; the second 'sed'
433
-  # does the real work.  The second script uses 'N' to pair each
434
-  # line-number line with the line containing $LINENO, and appends
435
-  # trailing '-' during substitution so that $LINENO is not a special
436
-  # case at line end.
437
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
403
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
404
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
405
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
406
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
407
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
440 408
   sed -n '
441 409
     p
442 410
     /[$]LINENO/=
... ...
@@ -453,8 +442,7 @@ test \$exitcode = 0") || {
453 453
       s/-\n.*//
454 454
     ' >$as_me.lineno &&
455 455
   chmod +x "$as_me.lineno" ||
456
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
-   { (exit 1); exit 1; }; }
456
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
458 457
 
459 458
   # Don't try to exec as it changes $[0], causing all sort of problems
460 459
   # (the dirname of $[0] is not the place where we might find the
... ...
@@ -464,49 +452,40 @@ test \$exitcode = 0") || {
464 464
   exit
465 465
 }
466 466
 
467
-
468
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469
-  as_dirname=dirname
470
-else
471
-  as_dirname=false
472
-fi
473
-
474 467
 ECHO_C= ECHO_N= ECHO_T=
475
-case `echo -n x` in
468
+case `echo -n x` in #(((((
476 469
 -n*)
477
-  case `echo 'x\c'` in
470
+  case `echo 'xy\c'` in
478 471
   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
479
-  *)   ECHO_C='\c';;
472
+  xy)  ECHO_C='\c';;
473
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
474
+       ECHO_T='	';;
480 475
   esac;;
481 476
 *)
482 477
   ECHO_N='-n';;
483 478
 esac
484 479
 
485
-if expr a : '\(a\)' >/dev/null 2>&1 &&
486
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
-  as_expr=expr
488
-else
489
-  as_expr=false
490
-fi
491
-
492 480
 rm -f conf$$ conf$$.exe conf$$.file
493 481
 if test -d conf$$.dir; then
494 482
   rm -f conf$$.dir/conf$$.file
495 483
 else
496 484
   rm -f conf$$.dir
497
-  mkdir conf$$.dir
498
-fi
499
-echo >conf$$.file
500
-if ln -s conf$$.file conf$$ 2>/dev/null; then
501
-  as_ln_s='ln -s'
502
-  # ... but there are two gotchas:
503
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
-  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
-  # In both cases, we have to default to `cp -p'.
506
-  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485
+  mkdir conf$$.dir 2>/dev/null
486
+fi
487
+if (echo >conf$$.file) 2>/dev/null; then
488
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
489
+    as_ln_s='ln -s'
490
+    # ... but there are two gotchas:
491
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
492
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
493
+    # In both cases, we have to default to `cp -p'.
494
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
495
+      as_ln_s='cp -p'
496
+  elif ln conf$$.file conf$$ 2>/dev/null; then
497
+    as_ln_s=ln
498
+  else
507 499
     as_ln_s='cp -p'
508
-elif ln conf$$.file conf$$ 2>/dev/null; then
509
-  as_ln_s=ln
500
+  fi
510 501
 else
511 502
   as_ln_s='cp -p'
512 503
 fi
... ...
@@ -514,7 +493,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 514
 rmdir conf$$.dir 2>/dev/null
515 515
 
516 516
 if mkdir -p . 2>/dev/null; then
517
-  as_mkdir_p=:
517
+  as_mkdir_p='mkdir -p "$as_dir"'
518 518
 else
519 519
   test -d ./-p && rmdir ./-p
520 520
   as_mkdir_p=false
... ...
@@ -531,12 +510,12 @@ else
531 531
   as_test_x='
532 532
     eval sh -c '\''
533 533
       if test -d "$1"; then
534
-        test -d "$1/.";
534
+	test -d "$1/.";
535 535
       else
536
-	case $1 in
537
-        -*)set "./$1";;
536
+	case $1 in #(
537
+	-*)set "./$1";;
538 538
 	esac;
539
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
539
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
540 540
 	???[sx]*):;;*)false;;esac;fi
541 541
     '\'' sh
542 542
   '
... ...
@@ -550,11 +529,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 550
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551 551
 
552 552
 
553
-
554
-exec 7<&0 </dev/null 6>&1
553
+test -n "$DJDIR" || exec 7<&0 </dev/null
554
+exec 6>&1
555 555
 
556 556
 # Name of the host.
557
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558 558
 # so uname gets run too.
559 559
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 560
 
... ...
@@ -569,16 +548,16 @@ cross_compiling=no
569 569
 subdirs=
570 570
 MFLAGS=
571 571
 MAKEFLAGS=
572
-SHELL=${CONFIG_SHELL-/bin/sh}
573 572
 
574 573
 # Identity of this package.
575 574
 PACKAGE_NAME='makuosan'
576 575
 PACKAGE_TARNAME='makuosan'
577
-PACKAGE_VERSION='1.3.2'
578
-PACKAGE_STRING='makuosan 1.3.2'
576
+PACKAGE_VERSION='1.3.3'
577
+PACKAGE_STRING='makuosan 1.3.3'
579 578
 PACKAGE_BUGREPORT='info-makuosan@klab.jp'
579
+PACKAGE_URL=''
580 580
 
581
-ac_unique_file="makuosan.c"
581
+ac_unique_file="common.c"
582 582
 # Factoring default headers for most tests.
583 583
 ac_includes_default="\
584 584
 #include <stdio.h>
... ...
@@ -616,88 +595,96 @@ ac_includes_default="\
616 616
 #endif"
617 617
 
618 618
 ac_header_list=
619
-ac_subst_vars='SHELL
620
-PATH_SEPARATOR
621
-PACKAGE_NAME
622
-PACKAGE_TARNAME
623
-PACKAGE_VERSION
624
-PACKAGE_STRING
625
-PACKAGE_BUGREPORT
626
-exec_prefix
627
-prefix
628
-program_transform_name
629
-bindir
630
-sbindir
631
-libexecdir
632
-datarootdir
633
-datadir
634
-sysconfdir
635
-sharedstatedir
636
-localstatedir
637
-includedir
638
-oldincludedir
639
-docdir
640
-infodir
641
-htmldir
642
-dvidir
643
-pdfdir
644
-psdir
645
-libdir
646
-localedir
647
-mandir
648
-DEFS
649
-ECHO_C
650
-ECHO_N
651
-ECHO_T
652
-LIBS
653
-build_alias
654
-host_alias
655
-target_alias
656
-INSTALL_PROGRAM
657
-INSTALL_SCRIPT
658
-INSTALL_DATA
659
-am__isrc
660
-CYGPATH_W
661
-PACKAGE
662
-VERSION
663
-ACLOCAL
664
-AUTOCONF
665
-AUTOMAKE
666
-AUTOHEADER
667
-MAKEINFO
668
-install_sh
669
-STRIP
670
-INSTALL_STRIP_PROGRAM
671
-mkdir_p
672
-AWK
673
-SET_MAKE
674
-am__leading_dot
675
-AMTAR
676
-am__tar
677
-am__untar
678
-CFLAGS
619
+ac_subst_vars='am__EXEEXT_FALSE
620
+am__EXEEXT_TRUE
621
+LTLIBOBJS
622
+LIBOBJS
623
+ALLOCA
624
+EGREP
625
+GREP
626
+CPP
627
+am__fastdepCC_FALSE
628
+am__fastdepCC_TRUE
629
+CCDEPMODE
630
+AMDEPBACKSLASH
631
+AMDEP_FALSE
632
+AMDEP_TRUE
633
+am__quote
634
+am__include
635
+DEPDIR
636
+OBJEXT
637
+EXEEXT
638
+ac_ct_CC
679 639
 CPPFLAGS
680
-CC
681 640
 LDFLAGS
682
-ac_ct_CC
683
-EXEEXT
684
-OBJEXT
685
-DEPDIR
686
-am__include
687
-am__quote
688
-AMDEP_TRUE
689
-AMDEP_FALSE
690
-AMDEPBACKSLASH
691
-CCDEPMODE
692
-am__fastdepCC_TRUE
693
-am__fastdepCC_FALSE
694
-CPP
695
-GREP
696
-EGREP
697
-ALLOCA
698
-LIBOBJS
699
-LTLIBOBJS'
641
+CFLAGS
642
+CC
643
+am__untar
644
+am__tar
645
+AMTAR
646
+am__leading_dot
647
+SET_MAKE
648
+AWK
649
+mkdir_p
650
+MKDIR_P
651
+INSTALL_STRIP_PROGRAM
652
+STRIP
653
+install_sh
654
+MAKEINFO
655
+AUTOHEADER
656
+AUTOMAKE
657
+AUTOCONF
658
+ACLOCAL
659
+VERSION
660
+PACKAGE
661
+CYGPATH_W
662
+am__isrc
663
+INSTALL_DATA
664
+INSTALL_SCRIPT
665
+INSTALL_PROGRAM
666
+target_alias
667
+host_alias
668
+build_alias
669
+LIBS
670
+ECHO_T
671
+ECHO_N
672
+ECHO_C
673
+DEFS
674
+mandir
675
+localedir
676
+libdir
677
+psdir
678
+pdfdir
679
+dvidir
680
+htmldir
681
+infodir
682
+docdir
683
+oldincludedir
684
+includedir
685
+localstatedir
686
+sharedstatedir
687
+sysconfdir
688
+datadir
689
+datarootdir
690
+libexecdir
691
+sbindir
692
+bindir
693
+program_transform_name
694
+prefix
695
+exec_prefix
696
+PACKAGE_URL
697
+PACKAGE_BUGREPORT
698
+PACKAGE_STRING
699
+PACKAGE_VERSION
700
+PACKAGE_TARNAME
701
+PACKAGE_NAME
702
+PATH_SEPARATOR
703
+SHELL'
700 704
 ac_subst_files=''
705
+ac_user_opts='
706
+enable_option_checking
707
+enable_dependency_tracking
708
+'
701 709
       ac_precious_vars='build_alias
702 710
 host_alias
703 711
 target_alias
... ...
@@ -712,6 +699,8 @@ CPP'
712 712
 # Initialize some variables set by options.
713 713
 ac_init_help=
714 714
 ac_init_version=false
715
+ac_unrecognized_opts=
716
+ac_unrecognized_sep=
715 717
 # The variables have the same names as the options, with
716 718
 # dashes changed to underlines.
717 719
 cache_file=/dev/null
... ...
@@ -767,8 +756,9 @@ do
767 767
   fi
768 768
 
769 769
   case $ac_option in
770
-  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
771
-  *)	ac_optarg=yes ;;
770
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
771
+  *=)   ac_optarg= ;;
772
+  *)    ac_optarg=yes ;;
772 773
   esac
773 774
 
774 775
   # Accept the important Cygnus configure options, so we can diagnose typos.
... ...
@@ -810,13 +800,20 @@ do
810 810
     datarootdir=$ac_optarg ;;
811 811
 
812 812
   -disable-* | --disable-*)
813
-    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
814 814
     # Reject names that are not valid shell variable names.
815
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
816
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
817
-   { (exit 1); exit 1; }; }
818
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
819
-    eval enable_$ac_feature=no ;;
815
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
816
+      as_fn_error $? "invalid feature name: $ac_useropt"
817
+    ac_useropt_orig=$ac_useropt
818
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
819
+    case $ac_user_opts in
820
+      *"
821
+"enable_$ac_useropt"
822
+"*) ;;
823
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
824
+	 ac_unrecognized_sep=', ';;
825
+    esac
826
+    eval enable_$ac_useropt=no ;;
820 827
 
821 828
   -docdir | --docdir | --docdi | --doc | --do)
822 829
     ac_prev=docdir ;;
... ...
@@ -829,13 +826,20 @@ do
829 829
     dvidir=$ac_optarg ;;
830 830
 
831 831
   -enable-* | --enable-*)
832
-    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 833
     # Reject names that are not valid shell variable names.
834
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
835
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
836
-   { (exit 1); exit 1; }; }
837
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
838
-    eval enable_$ac_feature=\$ac_optarg ;;
834
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835
+      as_fn_error $? "invalid feature name: $ac_useropt"
836
+    ac_useropt_orig=$ac_useropt
837
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
838
+    case $ac_user_opts in
839
+      *"
840
+"enable_$ac_useropt"
841
+"*) ;;
842
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
843
+	 ac_unrecognized_sep=', ';;
844
+    esac
845
+    eval enable_$ac_useropt=\$ac_optarg ;;
839 846
 
840 847
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
841 848
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
... ...
@@ -1026,22 +1030,36 @@ do
1026 1026
     ac_init_version=: ;;
1027 1027
 
1028 1028
   -with-* | --with-*)
1029
-    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1029
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1030 1030
     # Reject names that are not valid shell variable names.
1031
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1032
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
1033
-   { (exit 1); exit 1; }; }
1034
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1035
-    eval with_$ac_package=\$ac_optarg ;;
1031
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032
+      as_fn_error $? "invalid package name: $ac_useropt"
1033
+    ac_useropt_orig=$ac_useropt
1034
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035
+    case $ac_user_opts in
1036
+      *"
1037
+"with_$ac_useropt"
1038
+"*) ;;
1039
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1040
+	 ac_unrecognized_sep=', ';;
1041
+    esac
1042
+    eval with_$ac_useropt=\$ac_optarg ;;
1036 1043
 
1037 1044
   -without-* | --without-*)
1038
-    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1045
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1039 1046
     # Reject names that are not valid shell variable names.
1040
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
1042
-   { (exit 1); exit 1; }; }
1043
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1044
-    eval with_$ac_package=no ;;
1047
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048
+      as_fn_error $? "invalid package name: $ac_useropt"
1049
+    ac_useropt_orig=$ac_useropt
1050
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051
+    case $ac_user_opts in
1052
+      *"
1053
+"with_$ac_useropt"
1054
+"*) ;;
1055
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1056
+	 ac_unrecognized_sep=', ';;
1057
+    esac
1058
+    eval with_$ac_useropt=no ;;
1045 1059
 
1046 1060
   --x)
1047 1061
     # Obsolete; use --with-x.
... ...
@@ -1061,25 +1079,25 @@ do
1061 1061
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1062 1062
     x_libraries=$ac_optarg ;;
1063 1063
 
1064
-  -*) { echo "$as_me: error: unrecognized option: $ac_option
1065
-Try \`$0 --help' for more information." >&2
1066
-   { (exit 1); exit 1; }; }
1064
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1065
+Try \`$0 --help' for more information"
1067 1066
     ;;
1068 1067
 
1069 1068
   *=*)
1070 1069
     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 1070
     # Reject names that are not valid shell variable names.
1072
-    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1073
-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1074
-   { (exit 1); exit 1; }; }
1071
+    case $ac_envvar in #(
1072
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
1073
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1074
+    esac
1075 1075
     eval $ac_envvar=\$ac_optarg
1076 1076
     export $ac_envvar ;;
1077 1077
 
1078 1078
   *)
1079 1079
     # FIXME: should be removed in autoconf 3.0.
1080
-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1080
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081 1081
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1082
-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1082
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083 1083
     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1084 1084
     ;;
1085 1085
 
... ...
@@ -1088,23 +1106,36 @@ done
1088 1088
 
1089 1089
 if test -n "$ac_prev"; then
1090 1090
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1091
-  { echo "$as_me: error: missing argument to $ac_option" >&2
1092
-   { (exit 1); exit 1; }; }
1091
+  as_fn_error $? "missing argument to $ac_option"
1093 1092
 fi
1094 1093
 
1095
-# Be sure to have absolute directory names.
1094
+if test -n "$ac_unrecognized_opts"; then
1095
+  case $enable_option_checking in
1096
+    no) ;;
1097
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1098
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1099
+  esac
1100
+fi
1101
+
1102
+# Check all directory arguments for consistency.
1096 1103
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097 1104
 		datadir sysconfdir sharedstatedir localstatedir includedir \
1098 1105
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099 1106
 		libdir localedir mandir
1100 1107
 do
1101 1108
   eval ac_val=\$$ac_var
1109
+  # Remove trailing slashes.
1110
+  case $ac_val in
1111
+    */ )
1112
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1113
+      eval $ac_var=\$ac_val;;
1114
+  esac
1115
+  # Be sure to have absolute directory names.
1102 1116
   case $ac_val in
1103 1117
     [\\/$]* | ?:[\\/]* )  continue;;
1104 1118
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1105 1119
   esac
1106
-  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1107
-   { (exit 1); exit 1; }; }
1120
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1108 1121
 done
1109 1122
 
1110 1123
 # There might be people who depend on the old broken behavior: `$host'
... ...
@@ -1118,8 +1149,8 @@ target=$target_alias
1118 1118
 if test "x$host_alias" != x; then
1119 1119
   if test "x$build_alias" = x; then
1120 1120
     cross_compiling=maybe
1121
-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1122
-    If a cross compiler is detected then cross compile mode will be used." >&2
1121
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1122
+    If a cross compiler is detected then cross compile mode will be used" >&2
1123 1123
   elif test "x$build_alias" != "x$host_alias"; then
1124 1124
     cross_compiling=yes
1125 1125
   fi
... ...
@@ -1134,23 +1165,21 @@ test "$silent" = yes && exec 6>/dev/null
1134 1134
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1135 1135
 ac_ls_di=`ls -di .` &&
1136 1136
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1137
-  { echo "$as_me: error: Working directory cannot be determined" >&2
1138
-   { (exit 1); exit 1; }; }
1137
+  as_fn_error $? "working directory cannot be determined"
1139 1138
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1140
-  { echo "$as_me: error: pwd does not report name of working directory" >&2
1141
-   { (exit 1); exit 1; }; }
1139
+  as_fn_error $? "pwd does not report name of working directory"
1142 1140
 
1143 1141
 
1144 1142
 # Find the source files, if location was not specified.
1145 1143
 if test -z "$srcdir"; then
1146 1144
   ac_srcdir_defaulted=yes
1147 1145
   # Try the directory containing this script, then the parent directory.
1148
-  ac_confdir=`$as_dirname -- "$0" ||
1149
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150
-	 X"$0" : 'X\(//\)[^/]' \| \
1151
-	 X"$0" : 'X\(//\)$' \| \
1152
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1153
-echo X"$0" |
1146
+  ac_confdir=`$as_dirname -- "$as_myself" ||
1147
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1148
+	 X"$as_myself" : 'X\(//\)[^/]' \| \
1149
+	 X"$as_myself" : 'X\(//\)$' \| \
1150
+	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1151
+$as_echo X"$as_myself" |
1154 1152
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1155 1153
 	    s//\1/
1156 1154
 	    q
... ...
@@ -1177,13 +1206,11 @@ else
1177 1177
 fi
1178 1178
 if test ! -r "$srcdir/$ac_unique_file"; then
1179 1179
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180
-  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1181
-   { (exit 1); exit 1; }; }
1180
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1182 1181
 fi
1183 1182
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1184 1183
 ac_abs_confdir=`(
1185
-	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1186
-   { (exit 1); exit 1; }; }
1184
+	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1187 1185
 	pwd)`
1188 1186
 # When building in place, set srcdir=.
1189 1187
 if test "$ac_abs_confdir" = "$ac_pwd"; then
... ...
@@ -1209,7 +1236,7 @@ if test "$ac_init_help" = "long"; then
1209 1209
   # Omit some internal or obsolete options to make the list less imposing.
1210 1210
   # This message is too long to be a string in the A/UX 3.1 sh.
1211 1211
   cat <<_ACEOF
1212
-\`configure' configures makuosan 1.3.2 to adapt to many kinds of systems.
1212
+\`configure' configures makuosan 1.3.3 to adapt to many kinds of systems.
1213 1213
 
1214 1214
 Usage: $0 [OPTION]... [VAR=VALUE]...
1215 1215
 
... ...
@@ -1223,7 +1250,7 @@ Configuration:
1223 1223
       --help=short        display options specific to this package
1224 1224
       --help=recursive    display the short help of all the included packages
1225 1225
   -V, --version           display version information and exit
1226
-  -q, --quiet, --silent   do not print \`checking...' messages
1226
+  -q, --quiet, --silent   do not print \`checking ...' messages
1227 1227
       --cache-file=FILE   cache test results in FILE [disabled]
1228 1228
   -C, --config-cache      alias for \`--cache-file=config.cache'
1229 1229
   -n, --no-create         do not create output files
... ...
@@ -1231,9 +1258,9 @@ Configuration:
1231 1231
 
1232 1232
 Installation directories:
1233 1233
   --prefix=PREFIX         install architecture-independent files in PREFIX
1234
-			  [$ac_default_prefix]
1234
+                          [$ac_default_prefix]
1235 1235
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1236
-			  [PREFIX]
1236
+                          [PREFIX]
1237 1237
 
1238 1238
 By default, \`make install' will install all the files in
1239 1239
 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
... ...
@@ -1243,25 +1270,25 @@ for instance \`--prefix=\$HOME'.
1243 1243
 For better control, use the options below.
1244 1244
 
1245 1245
 Fine tuning of the installation directories:
1246
-  --bindir=DIR           user executables [EPREFIX/bin]
1247
-  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1248
-  --libexecdir=DIR       program executables [EPREFIX/libexec]
1249
-  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1250
-  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1251
-  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1252
-  --libdir=DIR           object code libraries [EPREFIX/lib]
1253
-  --includedir=DIR       C header files [PREFIX/include]
1254
-  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1255
-  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1256
-  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1257
-  --infodir=DIR          info documentation [DATAROOTDIR/info]
1258
-  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1259
-  --mandir=DIR           man documentation [DATAROOTDIR/man]
1260
-  --docdir=DIR           documentation root [DATAROOTDIR/doc/makuosan]
1261
-  --htmldir=DIR          html documentation [DOCDIR]
1262
-  --dvidir=DIR           dvi documentation [DOCDIR]
1263
-  --pdfdir=DIR           pdf documentation [DOCDIR]
1264
-  --psdir=DIR            ps documentation [DOCDIR]
1246
+  --bindir=DIR            user executables [EPREFIX/bin]
1247
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1248
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
1249
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1250
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1251
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1252
+  --libdir=DIR            object code libraries [EPREFIX/lib]
1253
+  --includedir=DIR        C header files [PREFIX/include]
1254
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1255
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1256
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1257
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
1258
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1259
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
1260
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/makuosan]
1261
+  --htmldir=DIR           html documentation [DOCDIR]
1262
+  --dvidir=DIR            dvi documentation [DOCDIR]
1263
+  --pdfdir=DIR            pdf documentation [DOCDIR]
1264
+  --psdir=DIR             ps documentation [DOCDIR]
1265 1265
 _ACEOF
1266 1266
 
1267 1267
   cat <<\_ACEOF
... ...
@@ -1275,14 +1302,14 @@ fi
1275 1275
 
1276 1276
 if test -n "$ac_init_help"; then
1277 1277
   case $ac_init_help in
1278
-     short | recursive ) echo "Configuration of makuosan 1.3.2:";;
1278
+     short | recursive ) echo "Configuration of makuosan 1.3.3:";;
1279 1279
    esac
1280 1280
   cat <<\_ACEOF
1281 1281
 
1282 1282
 Optional Features:
1283
+  --disable-option-checking  ignore unrecognized --enable/--with options
1283 1284
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1284 1285
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1285
-  --enable-debug	enable debuging
1286 1286
   --disable-dependency-tracking  speeds up one-time build
1287 1287
   --enable-dependency-tracking   do not reject slow dependency extractors
1288 1288
 
... ...
@@ -1292,7 +1319,7 @@ Some influential environment variables:
1292 1292
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1293 1293
               nonstandard directory <lib dir>
1294 1294
   LIBS        libraries to pass to the linker, e.g. -l<library>
1295
-  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1295
+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1296 1296
               you have headers in a nonstandard directory <include dir>
1297 1297
   CPP         C preprocessor
1298 1298
 
... ...
@@ -1307,15 +1334,17 @@ fi
1307 1307
 if test "$ac_init_help" = "recursive"; then
1308 1308
   # If there are subdirs, report their specific --help.
1309 1309
   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1310
-    test -d "$ac_dir" || continue
1310
+    test -d "$ac_dir" ||
1311
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1312
+      continue
1311 1313
     ac_builddir=.
1312 1314
 
1313 1315
 case "$ac_dir" in
1314 1316
 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 1317
 *)
1316
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1318
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1317 1319
   # A ".." for each directory in $ac_dir_suffix.
1318
-  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1320
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1319 1321
   case $ac_top_builddir_sub in
1320 1322
   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321 1323
   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
... ...
@@ -1351,7 +1380,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1351 1351
       echo &&
1352 1352
       $SHELL "$ac_srcdir/configure" --help=recursive
1353 1353
     else
1354
-      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1354
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1355 1355
     fi || ac_status=$?
1356 1356
     cd "$ac_pwd" || { ac_status=$?; break; }
1357 1357
   done
... ...
@@ -1360,22 +1389,587 @@ fi
1360 1360
 test -n "$ac_init_help" && exit $ac_status
1361 1361
 if $ac_init_version; then
1362 1362
   cat <<\_ACEOF
1363
-makuosan configure 1.3.2
1364
-generated by GNU Autoconf 2.61
1363
+makuosan configure 1.3.3
1364
+generated by GNU Autoconf 2.67
1365 1365
 
1366
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1367
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1366
+Copyright (C) 2010 Free Software Foundation, Inc.
1368 1367
 This configure script is free software; the Free Software Foundation
1369 1368
 gives unlimited permission to copy, distribute and modify it.
1370 1369
 _ACEOF
1371 1370
   exit
1372 1371
 fi
1372
+
1373
+## ------------------------ ##
1374
+## Autoconf initialization. ##
1375
+## ------------------------ ##
1376
+
1377
+# ac_fn_c_try_compile LINENO
1378
+# --------------------------
1379
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1380
+ac_fn_c_try_compile ()
1381
+{
1382
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1383
+  rm -f conftest.$ac_objext
1384
+  if { { ac_try="$ac_compile"
1385
+case "(($ac_try" in
1386
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1387
+  *) ac_try_echo=$ac_try;;
1388
+esac
1389
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1390
+$as_echo "$ac_try_echo"; } >&5
1391
+  (eval "$ac_compile") 2>conftest.err
1392
+  ac_status=$?
1393
+  if test -s conftest.err; then
1394
+    grep -v '^ *+' conftest.err >conftest.er1
1395
+    cat conftest.er1 >&5
1396
+    mv -f conftest.er1 conftest.err
1397
+  fi
1398
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1399
+  test $ac_status = 0; } && {
1400
+	 test -z "$ac_c_werror_flag" ||
1401
+	 test ! -s conftest.err
1402
+       } && test -s conftest.$ac_objext; then :
1403
+  ac_retval=0
1404
+else
1405
+  $as_echo "$as_me: failed program was:" >&5
1406
+sed 's/^/| /' conftest.$ac_ext >&5
1407
+
1408
+	ac_retval=1
1409
+fi
1410
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1411
+  as_fn_set_status $ac_retval
1412
+
1413
+} # ac_fn_c_try_compile
1414
+
1415
+# ac_fn_c_try_link LINENO
1416
+# -----------------------
1417
+# Try to link conftest.$ac_ext, and return whether this succeeded.
1418
+ac_fn_c_try_link ()
1419
+{
1420
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1421
+  rm -f conftest.$ac_objext conftest$ac_exeext
1422
+  if { { ac_try="$ac_link"
1423
+case "(($ac_try" in
1424
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1425
+  *) ac_try_echo=$ac_try;;
1426
+esac
1427
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1428
+$as_echo "$ac_try_echo"; } >&5
1429
+  (eval "$ac_link") 2>conftest.err
1430
+  ac_status=$?
1431
+  if test -s conftest.err; then
1432
+    grep -v '^ *+' conftest.err >conftest.er1
1433
+    cat conftest.er1 >&5
1434
+    mv -f conftest.er1 conftest.err
1435
+  fi
1436
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1437
+  test $ac_status = 0; } && {
1438
+	 test -z "$ac_c_werror_flag" ||
1439
+	 test ! -s conftest.err
1440
+       } && test -s conftest$ac_exeext && {
1441
+	 test "$cross_compiling" = yes ||
1442
+	 $as_test_x conftest$ac_exeext
1443
+       }; then :
1444
+  ac_retval=0
1445
+else
1446
+  $as_echo "$as_me: failed program was:" >&5
1447
+sed 's/^/| /' conftest.$ac_ext >&5
1448
+
1449
+	ac_retval=1
1450
+fi
1451
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1452
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1453
+  # interfere with the next link command; also delete a directory that is
1454
+  # left behind by Apple's compiler.  We do this before executing the actions.
1455
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1456
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1457
+  as_fn_set_status $ac_retval
1458
+
1459
+} # ac_fn_c_try_link
1460
+
1461
+# ac_fn_c_try_cpp LINENO
1462
+# ----------------------
1463
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1464
+ac_fn_c_try_cpp ()
1465
+{
1466
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.err
1475
+  ac_status=$?
1476
+  if test -s conftest.err; then
1477
+    grep -v '^ *+' conftest.err >conftest.er1
1478
+    cat conftest.er1 >&5
1479
+    mv -f conftest.er1 conftest.err
1480
+  fi
1481
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1482
+  test $ac_status = 0; } > conftest.i && {
1483
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1484
+	 test ! -s conftest.err
1485
+       }; then :
1486
+  ac_retval=0
1487
+else
1488
+  $as_echo "$as_me: failed program was:" >&5
1489
+sed 's/^/| /' conftest.$ac_ext >&5
1490
+
1491
+    ac_retval=1
1492
+fi
1493
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1494
+  as_fn_set_status $ac_retval
1495
+
1496
+} # ac_fn_c_try_cpp
1497
+
1498
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1499
+# -------------------------------------------------------
1500
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1501
+# the include files in INCLUDES and setting the cache variable VAR
1502
+# accordingly.
1503
+ac_fn_c_check_header_mongrel ()
1504
+{
1505
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506
+  if eval "test \"\${$3+set}\"" = set; then :
1507
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1508
+$as_echo_n "checking for $2... " >&6; }
1509
+if eval "test \"\${$3+set}\"" = set; then :
1510
+  $as_echo_n "(cached) " >&6
1511
+fi
1512
+eval ac_res=\$$3
1513
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1514
+$as_echo "$ac_res" >&6; }
1515
+else
1516
+  # Is the header compilable?
1517
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1518
+$as_echo_n "checking $2 usability... " >&6; }
1519
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1520
+/* end confdefs.h.  */
1521
+$4
1522
+#include <$2>
1523
+_ACEOF
1524
+if ac_fn_c_try_compile "$LINENO"; then :
1525
+  ac_header_compiler=yes
1526
+else
1527
+  ac_header_compiler=no
1528
+fi
1529
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1530
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1531
+$as_echo "$ac_header_compiler" >&6; }
1532
+
1533
+# Is the header present?
1534
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1535
+$as_echo_n "checking $2 presence... " >&6; }
1536
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1537
+/* end confdefs.h.  */
1538
+#include <$2>
1539
+_ACEOF
1540
+if ac_fn_c_try_cpp "$LINENO"; then :
1541
+  ac_header_preproc=yes
1542
+else
1543
+  ac_header_preproc=no
1544
+fi
1545
+rm -f conftest.err conftest.i conftest.$ac_ext
1546
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1547
+$as_echo "$ac_header_preproc" >&6; }
1548
+
1549
+# So?  What about this header?
1550
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1551
+  yes:no: )
1552
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1553
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1554
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1555
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1556
+    ;;
1557
+  no:yes:* )
1558
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1559
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1560
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1561
+$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1562
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1563
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1564
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1565
+$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1566
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1567
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1568
+( $as_echo "## ------------------------------------ ##
1569
+## Report this to info-makuosan@klab.jp ##
1570
+## ------------------------------------ ##"
1571
+     ) | sed "s/^/$as_me: WARNING:     /" >&2
1572
+    ;;
1573
+esac
1574
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1575
+$as_echo_n "checking for $2... " >&6; }
1576
+if eval "test \"\${$3+set}\"" = set; then :
1577
+  $as_echo_n "(cached) " >&6
1578
+else
1579
+  eval "$3=\$ac_header_compiler"
1580
+fi
1581
+eval ac_res=\$$3
1582
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1583
+$as_echo "$ac_res" >&6; }
1584
+fi
1585
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1586
+
1587
+} # ac_fn_c_check_header_mongrel
1588
+
1589
+# ac_fn_c_try_run LINENO
1590
+# ----------------------
1591
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1592
+# that executables *can* be run.
1593
+ac_fn_c_try_run ()
1594
+{
1595
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596
+  if { { ac_try="$ac_link"
1597
+case "(($ac_try" in
1598
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599
+  *) ac_try_echo=$ac_try;;
1600
+esac
1601
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602
+$as_echo "$ac_try_echo"; } >&5
1603
+  (eval "$ac_link") 2>&5
1604
+  ac_status=$?
1605
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606
+  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1607
+  { { case "(($ac_try" in
1608
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1609
+  *) ac_try_echo=$ac_try;;
1610
+esac
1611
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1612
+$as_echo "$ac_try_echo"; } >&5
1613
+  (eval "$ac_try") 2>&5
1614
+  ac_status=$?
1615
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616
+  test $ac_status = 0; }; }; then :
1617
+  ac_retval=0
1618
+else
1619
+  $as_echo "$as_me: program exited with status $ac_status" >&5
1620
+       $as_echo "$as_me: failed program was:" >&5
1621
+sed 's/^/| /' conftest.$ac_ext >&5
1622
+
1623
+       ac_retval=$ac_status
1624
+fi
1625
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1626
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1627
+  as_fn_set_status $ac_retval
1628
+
1629
+} # ac_fn_c_try_run
1630
+
1631
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1632
+# -------------------------------------------------------
1633
+# Tests whether HEADER exists and can be compiled using the include files in
1634
+# INCLUDES, setting the cache variable VAR accordingly.
1635
+ac_fn_c_check_header_compile ()
1636
+{
1637
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1639
+$as_echo_n "checking for $2... " >&6; }
1640
+if eval "test \"\${$3+set}\"" = set; then :
1641
+  $as_echo_n "(cached) " >&6
1642
+else
1643
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1644
+/* end confdefs.h.  */
1645
+$4
1646
+#include <$2>
1647
+_ACEOF
1648
+if ac_fn_c_try_compile "$LINENO"; then :
1649
+  eval "$3=yes"
1650
+else
1651
+  eval "$3=no"
1652
+fi
1653
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1654
+fi
1655
+eval ac_res=\$$3
1656
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1657
+$as_echo "$ac_res" >&6; }
1658
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1659
+
1660
+} # ac_fn_c_check_header_compile
1661
+
1662
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1663
+# -------------------------------------------
1664
+# Tests whether TYPE exists after having included INCLUDES, setting cache
1665
+# variable VAR accordingly.
1666
+ac_fn_c_check_type ()
1667
+{
1668
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1670
+$as_echo_n "checking for $2... " >&6; }
1671
+if eval "test \"\${$3+set}\"" = set; then :
1672
+  $as_echo_n "(cached) " >&6
1673
+else
1674
+  eval "$3=no"
1675
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1676
+/* end confdefs.h.  */
1677
+$4
1678
+int
1679
+main ()
1680
+{
1681
+if (sizeof ($2))
1682
+	 return 0;
1683
+  ;
1684
+  return 0;
1685
+}
1686
+_ACEOF
1687
+if ac_fn_c_try_compile "$LINENO"; then :
1688
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689
+/* end confdefs.h.  */
1690
+$4
1691
+int
1692
+main ()
1693
+{
1694
+if (sizeof (($2)))
1695
+	    return 0;
1696
+  ;
1697
+  return 0;
1698
+}
1699
+_ACEOF
1700
+if ac_fn_c_try_compile "$LINENO"; then :
1701
+
1702
+else
1703
+  eval "$3=yes"
1704
+fi
1705
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1706
+fi
1707
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1708
+fi
1709
+eval ac_res=\$$3
1710
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1711
+$as_echo "$ac_res" >&6; }
1712
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1713
+
1714
+} # ac_fn_c_check_type
1715
+
1716
+# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1717
+# ----------------------------------------------------
1718
+# Tries to find if the field MEMBER exists in type AGGR, after including
1719
+# INCLUDES, setting cache variable VAR accordingly.
1720
+ac_fn_c_check_member ()
1721
+{
1722
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1724
+$as_echo_n "checking for $2.$3... " >&6; }
1725
+if eval "test \"\${$4+set}\"" = set; then :
1726
+  $as_echo_n "(cached) " >&6
1727
+else
1728
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1729
+/* end confdefs.h.  */
1730
+$5
1731
+int
1732
+main ()
1733
+{
1734
+static $2 ac_aggr;
1735
+if (ac_aggr.$3)
1736
+return 0;
1737
+  ;
1738
+  return 0;
1739
+}
1740
+_ACEOF
1741
+if ac_fn_c_try_compile "$LINENO"; then :
1742
+  eval "$4=yes"
1743
+else
1744
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745
+/* end confdefs.h.  */
1746
+$5
1747
+int
1748
+main ()
1749
+{
1750
+static $2 ac_aggr;
1751
+if (sizeof ac_aggr.$3)
1752
+return 0;
1753
+  ;
1754
+  return 0;
1755
+}
1756
+_ACEOF
1757
+if ac_fn_c_try_compile "$LINENO"; then :
1758
+  eval "$4=yes"
1759
+else
1760
+  eval "$4=no"
1761
+fi
1762
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1763
+fi
1764
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1765
+fi
1766
+eval ac_res=\$$4
1767
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768
+$as_echo "$ac_res" >&6; }
1769
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770
+
1771
+} # ac_fn_c_check_member
1772
+
1773
+# ac_fn_c_find_uintX_t LINENO BITS VAR
1774
+# ------------------------------------
1775
+# Finds an unsigned integer type with width BITS, setting cache variable VAR
1776
+# accordingly.
1777
+ac_fn_c_find_uintX_t ()
1778
+{
1779
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1781
+$as_echo_n "checking for uint$2_t... " >&6; }
1782
+if eval "test \"\${$3+set}\"" = set; then :
1783
+  $as_echo_n "(cached) " >&6
1784
+else
1785
+  eval "$3=no"
1786
+     # Order is important - never check a type that is potentially smaller
1787
+     # than half of the expected target width.
1788
+     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1789
+	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1790
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791
+/* end confdefs.h.  */
1792
+$ac_includes_default
1793
+int
1794
+main ()
1795
+{
1796
+static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1797
+test_array [0] = 0
1798
+
1799
+  ;
1800
+  return 0;
1801
+}
1802
+_ACEOF
1803
+if ac_fn_c_try_compile "$LINENO"; then :
1804
+  case $ac_type in #(
1805
+  uint$2_t) :
1806
+    eval "$3=yes" ;; #(
1807
+  *) :
1808
+    eval "$3=\$ac_type" ;;
1809
+esac
1810
+fi
1811
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812
+       if eval test \"x\$"$3"\" = x"no"; then :
1813
+
1814
+else
1815
+  break
1816
+fi
1817
+     done
1818
+fi
1819
+eval ac_res=\$$3
1820
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821
+$as_echo "$ac_res" >&6; }
1822
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823
+
1824
+} # ac_fn_c_find_uintX_t
1825
+
1826
+# ac_fn_c_check_func LINENO FUNC VAR
1827
+# ----------------------------------
1828
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
1829
+ac_fn_c_check_func ()
1830
+{
1831
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833
+$as_echo_n "checking for $2... " >&6; }
1834
+if eval "test \"\${$3+set}\"" = set; then :
1835
+  $as_echo_n "(cached) " >&6
1836
+else
1837
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838
+/* end confdefs.h.  */
1839
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1840
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1841
+#define $2 innocuous_$2
1842
+
1843
+/* System header to define __stub macros and hopefully few prototypes,
1844
+    which can conflict with char $2 (); below.
1845
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1846
+    <limits.h> exists even on freestanding compilers.  */
1847
+
1848
+#ifdef __STDC__
1849
+# include <limits.h>
1850
+#else
1851
+# include <assert.h>
1852
+#endif
1853
+
1854
+#undef $2
1855
+
1856
+/* Override any GCC internal prototype to avoid an error.
1857
+   Use char because int might match the return type of a GCC
1858
+   builtin and then its argument prototype would still apply.  */
1859
+#ifdef __cplusplus
1860
+extern "C"
1861
+#endif
1862
+char $2 ();
1863
+/* The GNU C library defines this for functions which it implements
1864
+    to always fail with ENOSYS.  Some functions are actually named
1865
+    something starting with __ and the normal name is an alias.  */
1866
+#if defined __stub_$2 || defined __stub___$2
1867
+choke me
1868
+#endif
1869
+
1870
+int
1871
+main ()
1872
+{
1873
+return $2 ();
1874
+  ;
1875
+  return 0;
1876
+}
1877
+_ACEOF
1878
+if ac_fn_c_try_link "$LINENO"; then :
1879
+  eval "$3=yes"
1880
+else
1881
+  eval "$3=no"
1882
+fi
1883
+rm -f core conftest.err conftest.$ac_objext \
1884
+    conftest$ac_exeext conftest.$ac_ext
1885
+fi
1886
+eval ac_res=\$$3
1887
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888
+$as_echo "$ac_res" >&6; }
1889
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1890
+
1891
+} # ac_fn_c_check_func
1892
+
1893
+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1894
+# ---------------------------------------------
1895
+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1896
+# accordingly.
1897
+ac_fn_c_check_decl ()
1898
+{
1899
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900
+  as_decl_name=`echo $2|sed 's/ *(.*//'`
1901
+  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1902
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1903
+$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1904
+if eval "test \"\${$3+set}\"" = set; then :
1905
+  $as_echo_n "(cached) " >&6
1906
+else
1907
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908
+/* end confdefs.h.  */
1909
+$4
1910
+int
1911
+main ()
1912
+{
1913
+#ifndef $as_decl_name
1914
+#ifdef __cplusplus
1915
+  (void) $as_decl_use;
1916
+#else
1917
+  (void) $as_decl_name;
1918
+#endif
1919
+#endif
1920
+
1921
+  ;
1922
+  return 0;
1923
+}
1924
+_ACEOF
1925
+if ac_fn_c_try_compile "$LINENO"; then :
1926
+  eval "$3=yes"
1927
+else
1928
+  eval "$3=no"
1929
+fi
1930
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931
+fi
1932
+eval ac_res=\$$3
1933
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934
+$as_echo "$ac_res" >&6; }
1935
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1936
+
1937
+} # ac_fn_c_check_decl
1373 1938
 cat >config.log <<_ACEOF
1374 1939
 This file contains any messages produced by compilers while
1375 1940
 running configure, to aid debugging if configure makes a mistake.
1376 1941
 
1377
-It was created by makuosan $as_me 1.3.2, which was
1378
-generated by GNU Autoconf 2.61.  Invocation command line was
1942
+It was created by makuosan $as_me 1.3.3, which was
1943
+generated by GNU Autoconf 2.67.  Invocation command line was
1379 1944
 
1380 1945
   $ $0 $@
1381 1946
 
... ...
@@ -1411,8 +2005,8 @@ for as_dir in $PATH
1411 1411
 do
1412 1412
   IFS=$as_save_IFS
1413 1413
   test -z "$as_dir" && as_dir=.
1414
-  echo "PATH: $as_dir"
1415
-done
1414
+    $as_echo "PATH: $as_dir"
1415
+  done
1416 1416
 IFS=$as_save_IFS
1417 1417
 
1418 1418
 } >&5
... ...
@@ -1446,12 +2040,12 @@ do
1446 1446
     | -silent | --silent | --silen | --sile | --sil)
1447 1447
       continue ;;
1448 1448
     *\'*)
1449
-      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1449
+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1450 1450
     esac
1451 1451
     case $ac_pass in
1452
-    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1452
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1453 1453
     2)
1454
-      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1454
+      as_fn_append ac_configure_args1 " '$ac_arg'"
1455 1455
       if test $ac_must_keep_next = true; then
1456 1456
 	ac_must_keep_next=false # Got value, back to normal.
1457 1457
       else
... ...
@@ -1467,13 +2061,13 @@ do
1467 1467
 	  -* ) ac_must_keep_next=true ;;
1468 1468
 	esac
1469 1469
       fi
1470
-      ac_configure_args="$ac_configure_args '$ac_arg'"
1470
+      as_fn_append ac_configure_args " '$ac_arg'"
1471 1471
       ;;
1472 1472
     esac
1473 1473
   done
1474 1474
 done
1475
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1476
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1475
+{ ac_configure_args0=; unset ac_configure_args0;}
1476
+{ ac_configure_args1=; unset ac_configure_args1;}
1477 1477
 
1478 1478
 # When interrupted or exit'd, cleanup temporary files, and complete
1479 1479
 # config.log.  We remove comments because anyway the quotes in there
... ...
@@ -1485,11 +2079,9 @@ trap 'exit_status=$?
1485 1485
   {
1486 1486
     echo
1487 1487
 
1488
-    cat <<\_ASBOX
1489
-## ---------------- ##
1488
+    $as_echo "## ---------------- ##
1490 1489
 ## Cache variables. ##
1491
-## ---------------- ##
1492
-_ASBOX
1490
+## ---------------- ##"
1493 1491
     echo
1494 1492
     # The following way of writing the cache mishandles newlines in values,
1495 1493
 (
... ...
@@ -1498,12 +2090,13 @@ _ASBOX
1498 1498
     case $ac_val in #(
1499 1499
     *${as_nl}*)
1500 1500
       case $ac_var in #(
1501
-      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1502
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1501
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1502
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1503 1503
       esac
1504 1504
       case $ac_var in #(
1505 1505
       _ | IFS | as_nl) ;; #(
1506
-      *) $as_unset $ac_var ;;
1506
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1507
+      *) { eval $ac_var=; unset $ac_var;} ;;
1507 1508
       esac ;;
1508 1509
     esac
1509 1510
   done
... ...
@@ -1522,132 +2115,140 @@ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1522 1522
 )
1523 1523
     echo
1524 1524
 
1525
-    cat <<\_ASBOX
1526
-## ----------------- ##
1525
+    $as_echo "## ----------------- ##
1527 1526
 ## Output variables. ##
1528
-## ----------------- ##
1529
-_ASBOX
1527
+## ----------------- ##"
1530 1528
     echo
1531 1529
     for ac_var in $ac_subst_vars
1532 1530
     do
1533 1531
       eval ac_val=\$$ac_var
1534 1532
       case $ac_val in
1535
-      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1533
+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1536 1534
       esac
1537
-      echo "$ac_var='\''$ac_val'\''"
1535
+      $as_echo "$ac_var='\''$ac_val'\''"
1538 1536
     done | sort
1539 1537
     echo
1540 1538
 
1541 1539
     if test -n "$ac_subst_files"; then
1542
-      cat <<\_ASBOX
1543
-## ------------------- ##
1540
+      $as_echo "## ------------------- ##
1544 1541
 ## File substitutions. ##
1545
-## ------------------- ##
1546
-_ASBOX
1542
+## ------------------- ##"
1547 1543
       echo
1548 1544
       for ac_var in $ac_subst_files
1549 1545
       do
1550 1546
 	eval ac_val=\$$ac_var
1551 1547
 	case $ac_val in
1552
-	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1548
+	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1553 1549
 	esac
1554
-	echo "$ac_var='\''$ac_val'\''"
1550
+	$as_echo "$ac_var='\''$ac_val'\''"
1555 1551
       done | sort
1556 1552
       echo
1557 1553
     fi
1558 1554
 
1559 1555
     if test -s confdefs.h; then
1560
-      cat <<\_ASBOX
1561
-## ----------- ##
1556
+      $as_echo "## ----------- ##
1562 1557
 ## confdefs.h. ##
1563
-## ----------- ##
1564
-_ASBOX
1558
+## ----------- ##"
1565 1559
       echo
1566 1560
       cat confdefs.h
1567 1561
       echo
1568 1562
     fi
1569 1563
     test "$ac_signal" != 0 &&
1570
-      echo "$as_me: caught signal $ac_signal"
1571
-    echo "$as_me: exit $exit_status"
1564
+      $as_echo "$as_me: caught signal $ac_signal"
1565
+    $as_echo "$as_me: exit $exit_status"
1572 1566
   } >&5
1573 1567
   rm -f core *.core core.conftest.* &&
1574 1568
     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1575 1569
     exit $exit_status
1576 1570
 ' 0
1577 1571
 for ac_signal in 1 2 13 15; do
1578
-  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1572
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1579 1573
 done
1580 1574
 ac_signal=0
1581 1575
 
1582 1576
 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1583 1577
 rm -f -r conftest* confdefs.h
1584 1578
 
1579
+$as_echo "/* confdefs.h */" > confdefs.h
1580
+
1585 1581
 # Predefined preprocessor variables.
1586 1582
 
1587 1583
 cat >>confdefs.h <<_ACEOF
1588 1584
 #define PACKAGE_NAME "$PACKAGE_NAME"
1589 1585
 _ACEOF
1590 1586
 
1591
-
1592 1587
 cat >>confdefs.h <<_ACEOF
1593 1588
 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1594 1589
 _ACEOF
1595 1590
 
1596
-
1597 1591
 cat >>confdefs.h <<_ACEOF
1598 1592
 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1599 1593
 _ACEOF
1600 1594
 
1601
-
1602 1595
 cat >>confdefs.h <<_ACEOF
1603 1596
 #define PACKAGE_STRING "$PACKAGE_STRING"
1604 1597
 _ACEOF
1605 1598
 
1606
-
1607 1599
 cat >>confdefs.h <<_ACEOF
1608 1600
 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1609 1601
 _ACEOF
1610 1602
 
1603
+cat >>confdefs.h <<_ACEOF
1604
+#define PACKAGE_URL "$PACKAGE_URL"
1605
+_ACEOF
1606
+
1611 1607
 
1612 1608
 # Let the site file select an alternate cache file if it wants to.
1613
-# Prefer explicitly selected file to automatically selected ones.
1609
+# Prefer an explicitly selected file to automatically selected ones.
1610
+ac_site_file1=NONE
1611
+ac_site_file2=NONE
1614 1612
 if test -n "$CONFIG_SITE"; then
1615
-  set x "$CONFIG_SITE"
1613
+  # We do not want a PATH search for config.site.
1614
+  case $CONFIG_SITE in #((
1615
+    -*)  ac_site_file1=./$CONFIG_SITE;;
1616
+    */*) ac_site_file1=$CONFIG_SITE;;
1617
+    *)   ac_site_file1=./$CONFIG_SITE;;
1618
+  esac
1616 1619
 elif test "x$prefix" != xNONE; then
1617
-  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1620
+  ac_site_file1=$prefix/share/config.site
1621
+  ac_site_file2=$prefix/etc/config.site
1618 1622
 else
1619
-  set x "$ac_default_prefix/share/config.site" \
1620
-	"$ac_default_prefix/etc/config.site"
1623
+  ac_site_file1=$ac_default_prefix/share/config.site
1624
+  ac_site_file2=$ac_default_prefix/etc/config.site
1621 1625
 fi
1622
-shift
1623
-for ac_site_file
1626
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1624 1627
 do
1625
-  if test -r "$ac_site_file"; then
1626
-    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1627
-echo "$as_me: loading site script $ac_site_file" >&6;}
1628
+  test "x$ac_site_file" = xNONE && continue
1629
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1630
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1631
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1628 1632
     sed 's/^/| /' "$ac_site_file" >&5
1629
-    . "$ac_site_file"
1633
+    . "$ac_site_file" \
1634
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1635
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1636
+as_fn_error $? "failed to load site script $ac_site_file
1637
+See \`config.log' for more details" "$LINENO" 5 ; }
1630 1638
   fi
1631 1639
 done
1632 1640
 
1633 1641
 if test -r "$cache_file"; then
1634
-  # Some versions of bash will fail to source /dev/null (special
1635
-  # files actually), so we avoid doing that.
1636
-  if test -f "$cache_file"; then
1637
-    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1638
-echo "$as_me: loading cache $cache_file" >&6;}
1642
+  # Some versions of bash will fail to source /dev/null (special files
1643
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1644
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1645
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1646
+$as_echo "$as_me: loading cache $cache_file" >&6;}
1639 1647
     case $cache_file in
1640 1648
       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1641 1649
       *)                      . "./$cache_file";;
1642 1650
     esac
1643 1651
   fi
1644 1652
 else
1645
-  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1646
-echo "$as_me: creating cache $cache_file" >&6;}
1653
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1654
+$as_echo "$as_me: creating cache $cache_file" >&6;}
1647 1655
   >$cache_file
1648 1656
 fi
1649 1657
 
1650
-ac_header_list="$ac_header_list utime.h"
1658
+as_fn_append ac_header_list " utime.h"
1651 1659
 # Check that the precious variables saved in the cache have kept the same
1652 1660
 # value.
1653 1661
 ac_cache_corrupted=false
... ...
@@ -1658,68 +2259,56 @@ for ac_var in $ac_precious_vars; do
1658 1658
   eval ac_new_val=\$ac_env_${ac_var}_value
1659 1659
   case $ac_old_set,$ac_new_set in
1660 1660
     set,)
1661
-      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1662
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1661
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1662
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1663 1663
       ac_cache_corrupted=: ;;
1664 1664
     ,set)
1665
-      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1666
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1665
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1666
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1667 1667
       ac_cache_corrupted=: ;;
1668 1668
     ,);;
1669 1669
     *)
1670 1670
       if test "x$ac_old_val" != "x$ac_new_val"; then
1671
-	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1672
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1673
-	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1674
-echo "$as_me:   former value:  $ac_old_val" >&2;}
1675
-	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1676
-echo "$as_me:   current value: $ac_new_val" >&2;}
1677
-	ac_cache_corrupted=:
1671
+	# differences in whitespace do not lead to failure.
1672
+	ac_old_val_w=`echo x $ac_old_val`
1673
+	ac_new_val_w=`echo x $ac_new_val`
1674
+	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1675
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1676
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1677
+	  ac_cache_corrupted=:
1678
+	else
1679
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1680
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1681
+	  eval $ac_var=\$ac_old_val
1682
+	fi
1683
+	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1684
+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1685
+	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1686
+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1678 1687
       fi;;
1679 1688
   esac
1680 1689
   # Pass precious variables to config.status.
1681 1690
   if test "$ac_new_set" = set; then
1682 1691
     case $ac_new_val in
1683
-    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1692
+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1684 1693
     *) ac_arg=$ac_var=$ac_new_val ;;
1685 1694
     esac
1686 1695
     case " $ac_configure_args " in
1687 1696
       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1688
-      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1697
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1689 1698
     esac
1690 1699
   fi
1691 1700
 done
1692 1701
 if $ac_cache_corrupted; then
1693
-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1694
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1695
-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1696
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1697
-   { (exit 1); exit 1; }; }
1702
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1703
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1704
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1705
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1706
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1698 1707
 fi
1699
-
1700
-
1701
-
1702
-
1703
-
1704
-
1705
-
1706
-
1707
-
1708
-
1709
-
1710
-
1711
-
1712
-
1713
-
1714
-
1715
-
1716
-
1717
-
1718
-
1719
-
1720
-
1721
-
1722
-
1708
+## -------------------- ##
1709
+## Main body of script. ##
1710
+## -------------------- ##
1723 1711
 
1724 1712
 ac_ext=c
1725 1713
 ac_cpp='$CPP $CPPFLAGS'
... ...
@@ -1728,7 +2317,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
1728 1728
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1729 1729
 
1730 1730
 
1731
-am__api_version='1.10'
1731
+am__api_version='1.11'
1732 1732
 
1733 1733
 ac_aux_dir=
1734 1734
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
... ...
@@ -1747,9 +2336,7 @@ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1747 1747
   fi
1748 1748
 done
1749 1749
 if test -z "$ac_aux_dir"; then
1750
-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1751
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1752
-   { (exit 1); exit 1; }; }
1750
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1753 1751
 fi
1754 1752
 
1755 1753
 # These three variables are undocumented and unsupported,
... ...
@@ -1774,22 +2361,23 @@ ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1774 1774
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1775 1775
 # OS/2's system install, which has a completely different semantic
1776 1776
 # ./install, which can be erroneously created by make from ./install.sh.
1777
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1778
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1777
+# Reject install programs that cannot install multiple files.
1778
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1779
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
1779 1780
 if test -z "$INSTALL"; then
1780
-if test "${ac_cv_path_install+set}" = set; then
1781
-  echo $ECHO_N "(cached) $ECHO_C" >&6
1781
+if test "${ac_cv_path_install+set}" = set; then :
1782
+  $as_echo_n "(cached) " >&6
1782 1783
 else
1783 1784
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784 1785
 for as_dir in $PATH
1785 1786
 do
1786 1787
   IFS=$as_save_IFS
1787 1788
   test -z "$as_dir" && as_dir=.
1788
-  # Account for people who put trailing slashes in PATH elements.
1789
-case $as_dir/ in
1790
-  ./ | .// | /cC/* | \
1789
+    # Account for people who put trailing slashes in PATH elements.
1790
+case $as_dir/ in #((
1791
+  ./ | .// | /[cC]/* | \
1791 1792
   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1792
-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1793
+  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1793 1794
   /usr/ucb/* ) ;;
1794 1795
   *)
1795 1796
     # OSF1 and SCO ODT 3.0 have their own names for install.
... ...
@@ -1807,17 +2395,29 @@ case $as_dir/ in
1807 1807
 	    # program-specific install script used by HP pwplus--don't use.
1808 1808
 	    :
1809 1809
 	  else
1810
-	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1811
-	    break 3
1810
+	    rm -rf conftest.one conftest.two conftest.dir
1811
+	    echo one > conftest.one
1812
+	    echo two > conftest.two
1813
+	    mkdir conftest.dir
1814
+	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1815
+	      test -s conftest.one && test -s conftest.two &&
1816
+	      test -s conftest.dir/conftest.one &&
1817
+	      test -s conftest.dir/conftest.two
1818
+	    then
1819
+	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1820
+	      break 3
1821
+	    fi
1812 1822
 	  fi
1813 1823
 	fi
1814 1824
       done
1815 1825
     done
1816 1826
     ;;
1817 1827
 esac
1818
-done
1828
+
1829
+  done
1819 1830
 IFS=$as_save_IFS
1820 1831
 
1832
+rm -rf conftest.one conftest.two conftest.dir
1821 1833
 
1822 1834
 fi
1823 1835
   if test "${ac_cv_path_install+set}" = set; then
... ...
@@ -1830,8 +2430,8 @@ fi
1830 1830
     INSTALL=$ac_install_sh
1831 1831
   fi
1832 1832
 fi
1833
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1834
-echo "${ECHO_T}$INSTALL" >&6; }
1833
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1834
+$as_echo "$INSTALL" >&6; }
1835 1835
 
1836 1836
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1837 1837
 # It thinks the first close brace ends the variable substitution.
... ...
@@ -1841,21 +2441,34 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1841 1841
 
1842 1842
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1843 1843
 
1844
-{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1845
-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1844
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1845
+$as_echo_n "checking whether build environment is sane... " >&6; }
1846 1846
 # Just in case
1847 1847
 sleep 1
1848 1848
 echo timestamp > conftest.file
1849
+# Reject unsafe characters in $srcdir or the absolute working directory
1850
+# name.  Accept space and tab only in the latter.
1851
+am_lf='
1852
+'
1853
+case `pwd` in
1854
+  *[\\\"\#\$\&\'\`$am_lf]*)
1855
+    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
1856
+esac
1857
+case $srcdir in
1858
+  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1859
+    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
1860
+esac
1861
+
1849 1862
 # Do `set' in a subshell so we don't clobber the current shell's
1850 1863
 # arguments.  Must try -L first in case configure is actually a
1851 1864
 # symlink; some systems play weird games with the mod time of symlinks
1852 1865
 # (eg FreeBSD returns the mod time of the symlink's containing
1853 1866
 # directory).
1854 1867
 if (
1855
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1868
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1856 1869
    if test "$*" = "X"; then
1857 1870
       # -L didn't work.
1858
-      set X `ls -t $srcdir/configure conftest.file`
1871
+      set X `ls -t "$srcdir/configure" conftest.file`
1859 1872
    fi
1860 1873
    rm -f conftest.file
1861 1874
    if test "$*" != "X $srcdir/configure conftest.file" \
... ...
@@ -1865,11 +2478,8 @@ if (
1865 1865
       # if, for instance, CONFIG_SHELL is bash and it inherits a
1866 1866
       # broken ls alias from the environment.  This has actually
1867 1867
       # happened.  Such a system could not be considered "sane".
1868
-      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1869
-alias in your environment" >&5
1870
-echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1871
-alias in your environment" >&2;}
1872
-   { (exit 1); exit 1; }; }
1868
+      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1869
+alias in your environment" "$LINENO" 5
1873 1870
    fi
1874 1871
 
1875 1872
    test "$2" = conftest.file
... ...
@@ -1878,52 +2488,162 @@ then
1878 1878
    # Ok.
1879 1879
    :
1880 1880
 else
1881
-   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1882
-Check your system clock" >&5
1883
-echo "$as_me: error: newly created file is older than distributed files!
1884
-Check your system clock" >&2;}
1885
-   { (exit 1); exit 1; }; }
1881
+   as_fn_error $? "newly created file is older than distributed files!
1882
+Check your system clock" "$LINENO" 5
1886 1883
 fi
1887
-{ echo "$as_me:$LINENO: result: yes" >&5
1888
-echo "${ECHO_T}yes" >&6; }
1884
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1885
+$as_echo "yes" >&6; }
1889 1886
 test "$program_prefix" != NONE &&
1890 1887
   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1891 1888
 # Use a double $ so make ignores it.
1892 1889
 test "$program_suffix" != NONE &&
1893 1890
   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1894
-# Double any \ or $.  echo might interpret backslashes.
1891
+# Double any \ or $.
1895 1892
 # By default was `s,x,x', remove it if useless.
1896
-cat <<\_ACEOF >conftest.sed
1897
-s/[\\$]/&&/g;s/;s,x,x,$//
1898
-_ACEOF
1899
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1900
-rm -f conftest.sed
1893
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1894
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1901 1895
 
1902 1896
 # expand $ac_aux_dir to an absolute path
1903 1897
 am_aux_dir=`cd $ac_aux_dir && pwd`
1904 1898
 
1905
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1899
+if test x"${MISSING+set}" != xset; then
1900
+  case $am_aux_dir in
1901
+  *\ * | *\	*)
1902
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1903
+  *)
1904
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
1905
+  esac
1906
+fi
1906 1907
 # Use eval to expand $SHELL
1907 1908
 if eval "$MISSING --run true"; then
1908 1909
   am_missing_run="$MISSING --run "
1909 1910
 else
1910 1911
   am_missing_run=
1911
-  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1912
-echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1912
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1913
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1913 1914
 fi
1914 1915
 
1915
-{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1916
-echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1916
+if test x"${install_sh}" != xset; then
1917
+  case $am_aux_dir in
1918
+  *\ * | *\	*)
1919
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1920
+  *)
1921
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
1922
+  esac
1923
+fi
1924
+
1925
+# Installed binaries are usually stripped using `strip' when the user
1926
+# run `make install-strip'.  However `strip' might not be the right
1927
+# tool to use in cross-compilation environments, therefore Automake
1928
+# will honor the `STRIP' environment variable to overrule this program.
1929
+if test "$cross_compiling" != no; then
1930
+  if test -n "$ac_tool_prefix"; then
1931
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1932
+set dummy ${ac_tool_prefix}strip; ac_word=$2
1933
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1934
+$as_echo_n "checking for $ac_word... " >&6; }
1935
+if test "${ac_cv_prog_STRIP+set}" = set; then :
1936
+  $as_echo_n "(cached) " >&6
1937
+else
1938
+  if test -n "$STRIP"; then
1939
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1940
+else
1941
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942
+for as_dir in $PATH
1943
+do
1944
+  IFS=$as_save_IFS
1945
+  test -z "$as_dir" && as_dir=.
1946
+    for ac_exec_ext in '' $ac_executable_extensions; do
1947
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1948
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1949
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1950
+    break 2
1951
+  fi
1952
+done
1953
+  done
1954
+IFS=$as_save_IFS
1955
+
1956
+fi
1957
+fi
1958
+STRIP=$ac_cv_prog_STRIP
1959
+if test -n "$STRIP"; then
1960
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1961
+$as_echo "$STRIP" >&6; }
1962
+else
1963
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1964
+$as_echo "no" >&6; }
1965
+fi
1966
+
1967
+
1968
+fi
1969
+if test -z "$ac_cv_prog_STRIP"; then
1970
+  ac_ct_STRIP=$STRIP
1971
+  # Extract the first word of "strip", so it can be a program name with args.
1972
+set dummy strip; ac_word=$2
1973
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1974
+$as_echo_n "checking for $ac_word... " >&6; }
1975
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1976
+  $as_echo_n "(cached) " >&6
1977
+else
1978
+  if test -n "$ac_ct_STRIP"; then
1979
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1980
+else
1981
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982
+for as_dir in $PATH
1983
+do
1984
+  IFS=$as_save_IFS
1985
+  test -z "$as_dir" && as_dir=.
1986
+    for ac_exec_ext in '' $ac_executable_extensions; do
1987
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1988
+    ac_cv_prog_ac_ct_STRIP="strip"
1989
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1990
+    break 2
1991
+  fi
1992
+done
1993
+  done
1994
+IFS=$as_save_IFS
1995
+
1996
+fi
1997
+fi
1998
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1999
+if test -n "$ac_ct_STRIP"; then
2000
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2001
+$as_echo "$ac_ct_STRIP" >&6; }
2002
+else
2003
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2004
+$as_echo "no" >&6; }
2005
+fi
2006
+
2007
+  if test "x$ac_ct_STRIP" = x; then
2008
+    STRIP=":"
2009
+  else
2010
+    case $cross_compiling:$ac_tool_warned in
2011
+yes:)
2012
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2013
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2014
+ac_tool_warned=yes ;;
2015
+esac
2016
+    STRIP=$ac_ct_STRIP
2017
+  fi
2018
+else
2019
+  STRIP="$ac_cv_prog_STRIP"
2020
+fi
2021
+
2022
+fi
2023
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2024
+
2025
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2026
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1917 2027
 if test -z "$MKDIR_P"; then
1918
-  if test "${ac_cv_path_mkdir+set}" = set; then
1919
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2028
+  if test "${ac_cv_path_mkdir+set}" = set; then :
2029
+  $as_echo_n "(cached) " >&6
1920 2030
 else
1921 2031
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922 2032
 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1923 2033
 do
1924 2034
   IFS=$as_save_IFS
1925 2035
   test -z "$as_dir" && as_dir=.
1926
-  for ac_prog in mkdir gmkdir; do
2036
+    for ac_prog in mkdir gmkdir; do
1927 2037
 	 for ac_exec_ext in '' $ac_executable_extensions; do
1928 2038
 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1929 2039
 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
... ...
@@ -1935,11 +2655,12 @@ do
1935 1935
 	   esac
1936 1936
 	 done
1937 1937
        done
1938
-done
1938
+  done
1939 1939
 IFS=$as_save_IFS
1940 1940
 
1941 1941
 fi
1942 1942
 
1943
+  test -d ./--version && rmdir ./--version
1943 1944
   if test "${ac_cv_path_mkdir+set}" = set; then
1944 1945
     MKDIR_P="$ac_cv_path_mkdir -p"
1945 1946
   else
... ...
@@ -1947,12 +2668,11 @@ fi
1947 1947
     # value for MKDIR_P within a source directory, because that will
1948 1948
     # break other packages using the cache if that directory is
1949 1949
     # removed, or if the value is a relative name.
1950
-    test -d ./--version && rmdir ./--version
1951 1950
     MKDIR_P="$ac_install_sh -d"
1952 1951
   fi
1953 1952
 fi
1954
-{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1955
-echo "${ECHO_T}$MKDIR_P" >&6; }
1953
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
1954
+$as_echo "$MKDIR_P" >&6; }
1956 1955
 
1957 1956
 mkdir_p="$MKDIR_P"
1958 1957
 case $mkdir_p in
... ...
@@ -1964,10 +2684,10 @@ for ac_prog in gawk mawk nawk awk
1964 1964
 do
1965 1965
   # Extract the first word of "$ac_prog", so it can be a program name with args.
1966 1966
 set dummy $ac_prog; ac_word=$2
1967
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1968
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1969
-if test "${ac_cv_prog_AWK+set}" = set; then
1970
-  echo $ECHO_N "(cached) $ECHO_C" >&6
1967
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1968
+$as_echo_n "checking for $ac_word... " >&6; }
1969
+if test "${ac_cv_prog_AWK+set}" = set; then :
1970
+  $as_echo_n "(cached) " >&6
1971 1971
 else
1972 1972
   if test -n "$AWK"; then
1973 1973
   ac_cv_prog_AWK="$AWK" # Let the user override the test.
... ...
@@ -1977,43 +2697,44 @@ for as_dir in $PATH
1977 1977
 do
1978 1978
   IFS=$as_save_IFS
1979 1979
   test -z "$as_dir" && as_dir=.
1980
-  for ac_exec_ext in '' $ac_executable_extensions; do
1980
+    for ac_exec_ext in '' $ac_executable_extensions; do
1981 1981
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1982 1982
     ac_cv_prog_AWK="$ac_prog"
1983
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 1984
     break 2
1985 1985
   fi
1986 1986
 done
1987
-done
1987
+  done
1988 1988
 IFS=$as_save_IFS
1989 1989
 
1990 1990
 fi
1991 1991
 fi
1992 1992
 AWK=$ac_cv_prog_AWK
1993 1993
 if test -n "$AWK"; then
1994
-  { echo "$as_me:$LINENO: result: $AWK" >&5
1995
-echo "${ECHO_T}$AWK" >&6; }
1994
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
1995
+$as_echo "$AWK" >&6; }
1996 1996
 else
1997
-  { echo "$as_me:$LINENO: result: no" >&5
1998
-echo "${ECHO_T}no" >&6; }
1997
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1998
+$as_echo "no" >&6; }
1999 1999
 fi
2000 2000
 
2001 2001
 
2002 2002
   test -n "$AWK" && break
2003 2003
 done
2004 2004
 
2005
-{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2006
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2007
-set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2008
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2009
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2005
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2006
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2007
+set x ${MAKE-make}
2008
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2009
+if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2010
+  $as_echo_n "(cached) " >&6
2010 2011
 else
2011 2012
   cat >conftest.make <<\_ACEOF
2012 2013
 SHELL = /bin/sh
2013 2014
 all:
2014 2015
 	@echo '@@@%%%=$(MAKE)=@@@%%%'
2015 2016
 _ACEOF
2016
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2017
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2017 2018
 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2018 2019
   *@@@%%%=?*=@@@%%%*)
2019 2020
     eval ac_cv_prog_make_${ac_make}_set=yes;;
... ...
@@ -2023,12 +2744,12 @@ esac
2023 2023
 rm -f conftest.make
2024 2024
 fi
2025 2025
 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2026
-  { echo "$as_me:$LINENO: result: yes" >&5
2027
-echo "${ECHO_T}yes" >&6; }
2026
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2027
+$as_echo "yes" >&6; }
2028 2028
   SET_MAKE=
2029 2029
 else
2030
-  { echo "$as_me:$LINENO: result: no" >&5
2031
-echo "${ECHO_T}no" >&6; }
2030
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2031
+$as_echo "no" >&6; }
2032 2032
   SET_MAKE="MAKE=${MAKE-make}"
2033 2033
 fi
2034 2034
 
... ...
@@ -2047,9 +2768,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"; then
2047 2047
   am__isrc=' -I$(srcdir)'
2048 2048
   # test to see if srcdir already configured
2049 2049
   if test -f $srcdir/config.status; then
2050
-    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2051
-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2052
-   { (exit 1); exit 1; }; }
2050
+    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2053 2051
   fi
2054 2052
 fi
2055 2053
 
... ...
@@ -2065,7 +2784,7 @@ fi
2065 2065
 
2066 2066
 # Define the identity of the package.
2067 2067
  PACKAGE='makuosan'
2068
- VERSION='1.3.2'
2068
+ VERSION='1.3.3'
2069 2069
 
2070 2070
 
2071 2071
 cat >>confdefs.h <<_ACEOF
... ...
@@ -2093,112 +2812,6 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2093 2093
 
2094 2094
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2095 2095
 
2096
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2097
-
2098
-# Installed binaries are usually stripped using `strip' when the user
2099
-# run `make install-strip'.  However `strip' might not be the right
2100
-# tool to use in cross-compilation environments, therefore Automake
2101
-# will honor the `STRIP' environment variable to overrule this program.
2102
-if test "$cross_compiling" != no; then
2103
-  if test -n "$ac_tool_prefix"; then
2104
-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2105
-set dummy ${ac_tool_prefix}strip; ac_word=$2
2106
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2107
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2108
-if test "${ac_cv_prog_STRIP+set}" = set; then
2109
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2110
-else
2111
-  if test -n "$STRIP"; then
2112
-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2113
-else
2114
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115
-for as_dir in $PATH
2116
-do
2117
-  IFS=$as_save_IFS
2118
-  test -z "$as_dir" && as_dir=.
2119
-  for ac_exec_ext in '' $ac_executable_extensions; do
2120
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2121
-    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2122
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123
-    break 2
2124
-  fi
2125
-done
2126
-done
2127
-IFS=$as_save_IFS
2128
-
2129
-fi
2130
-fi
2131
-STRIP=$ac_cv_prog_STRIP
2132
-if test -n "$STRIP"; then
2133
-  { echo "$as_me:$LINENO: result: $STRIP" >&5
2134
-echo "${ECHO_T}$STRIP" >&6; }
2135
-else
2136
-  { echo "$as_me:$LINENO: result: no" >&5
2137
-echo "${ECHO_T}no" >&6; }
2138
-fi
2139
-
2140
-
2141
-fi
2142
-if test -z "$ac_cv_prog_STRIP"; then
2143
-  ac_ct_STRIP=$STRIP
2144
-  # Extract the first word of "strip", so it can be a program name with args.
2145
-set dummy strip; ac_word=$2
2146
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2147
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2148
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2149
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2150
-else
2151
-  if test -n "$ac_ct_STRIP"; then
2152
-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2153
-else
2154
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155
-for as_dir in $PATH
2156
-do
2157
-  IFS=$as_save_IFS
2158
-  test -z "$as_dir" && as_dir=.
2159
-  for ac_exec_ext in '' $ac_executable_extensions; do
2160
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161
-    ac_cv_prog_ac_ct_STRIP="strip"
2162
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163
-    break 2
2164
-  fi
2165
-done
2166
-done
2167
-IFS=$as_save_IFS
2168
-
2169
-fi
2170
-fi
2171
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2172
-if test -n "$ac_ct_STRIP"; then
2173
-  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2174
-echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2175
-else
2176
-  { echo "$as_me:$LINENO: result: no" >&5
2177
-echo "${ECHO_T}no" >&6; }
2178
-fi
2179
-
2180
-  if test "x$ac_ct_STRIP" = x; then
2181
-    STRIP=":"
2182
-  else
2183
-    case $cross_compiling:$ac_tool_warned in
2184
-yes:)
2185
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2186
-whose name does not start with the host triplet.  If you think this
2187
-configuration is useful to you, please write to autoconf@gnu.org." >&5
2188
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2189
-whose name does not start with the host triplet.  If you think this
2190
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2191
-ac_tool_warned=yes ;;
2192
-esac
2193
-    STRIP=$ac_ct_STRIP
2194
-  fi
2195
-else
2196
-  STRIP="$ac_cv_prog_STRIP"
2197
-fi
2198
-
2199
-fi
2200
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2201
-
2202 2096
 # We need awk for the "check" target.  The system "awk" is bad on
2203 2097
 # some platforms.
2204 2098
 # Always define AMTAR for backward compatibility.
... ...
@@ -2214,15 +2827,6 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2214 2214
 
2215 2215
 ac_config_headers="$ac_config_headers config.h"
2216 2216
 
2217
-# Check whether --enable-debug was given.
2218
-if test "${enable_debug+set}" = set; then
2219
-  enableval=$enable_debug; CFLAGS="$CFLAGS -g"
2220
-                      CPPFLAGS="$CPPFLAGS -DMAKUO_DEBUG"
2221
-fi
2222
-
2223
-
2224
-
2225
-CFLAGS="-O3 $CFLAGS"
2226 2217
 
2227 2218
 # Checks for programs.
2228 2219
 ac_ext=c
... ...
@@ -2233,10 +2837,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 2233
 if test -n "$ac_tool_prefix"; then
2234 2234
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2235 2235
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2236
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2237
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2238
-if test "${ac_cv_prog_CC+set}" = set; then
2239
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2236
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2237
+$as_echo_n "checking for $ac_word... " >&6; }
2238
+if test "${ac_cv_prog_CC+set}" = set; then :
2239
+  $as_echo_n "(cached) " >&6
2240 2240
 else
2241 2241
   if test -n "$CC"; then
2242 2242
   ac_cv_prog_CC="$CC" # Let the user override the test.
... ...
@@ -2246,25 +2850,25 @@ for as_dir in $PATH
2246 2246
 do
2247 2247
   IFS=$as_save_IFS
2248 2248
   test -z "$as_dir" && as_dir=.
2249
-  for ac_exec_ext in '' $ac_executable_extensions; do
2249
+    for ac_exec_ext in '' $ac_executable_extensions; do
2250 2250
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 2251
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2252
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 2253
     break 2
2254 2254
   fi
2255 2255
 done
2256
-done
2256
+  done
2257 2257
 IFS=$as_save_IFS
2258 2258
 
2259 2259
 fi
2260 2260
 fi
2261 2261
 CC=$ac_cv_prog_CC
2262 2262
 if test -n "$CC"; then
2263
-  { echo "$as_me:$LINENO: result: $CC" >&5
2264
-echo "${ECHO_T}$CC" >&6; }
2263
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2264
+$as_echo "$CC" >&6; }
2265 2265
 else
2266
-  { echo "$as_me:$LINENO: result: no" >&5
2267
-echo "${ECHO_T}no" >&6; }
2266
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2267
+$as_echo "no" >&6; }
2268 2268
 fi
2269 2269
 
2270 2270
 
... ...
@@ -2273,10 +2877,10 @@ if test -z "$ac_cv_prog_CC"; then
2273 2273
   ac_ct_CC=$CC
2274 2274
   # Extract the first word of "gcc", so it can be a program name with args.
2275 2275
 set dummy gcc; ac_word=$2
2276
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2277
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2278
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2279
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2276
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2277
+$as_echo_n "checking for $ac_word... " >&6; }
2278
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2279
+  $as_echo_n "(cached) " >&6
2280 2280
 else
2281 2281
   if test -n "$ac_ct_CC"; then
2282 2282
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
... ...
@@ -2286,25 +2890,25 @@ for as_dir in $PATH
2286 2286
 do
2287 2287
   IFS=$as_save_IFS
2288 2288
   test -z "$as_dir" && as_dir=.
2289
-  for ac_exec_ext in '' $ac_executable_extensions; do
2289
+    for ac_exec_ext in '' $ac_executable_extensions; do
2290 2290
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 2291
     ac_cv_prog_ac_ct_CC="gcc"
2292
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 2293
     break 2
2294 2294
   fi
2295 2295
 done
2296
-done
2296
+  done
2297 2297
 IFS=$as_save_IFS
2298 2298
 
2299 2299
 fi
2300 2300
 fi
2301 2301
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2302 2302
 if test -n "$ac_ct_CC"; then
2303
-  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2304
-echo "${ECHO_T}$ac_ct_CC" >&6; }
2303
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2304
+$as_echo "$ac_ct_CC" >&6; }
2305 2305
 else
2306
-  { echo "$as_me:$LINENO: result: no" >&5
2307
-echo "${ECHO_T}no" >&6; }
2306
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2307
+$as_echo "no" >&6; }
2308 2308
 fi
2309 2309
 
2310 2310
   if test "x$ac_ct_CC" = x; then
... ...
@@ -2312,12 +2916,8 @@ fi
2312 2312
   else
2313 2313
     case $cross_compiling:$ac_tool_warned in
2314 2314
 yes:)
2315
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2316
-whose name does not start with the host triplet.  If you think this
2317
-configuration is useful to you, please write to autoconf@gnu.org." >&5
2318
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2319
-whose name does not start with the host triplet.  If you think this
2320
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2315
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2316
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2321 2317
 ac_tool_warned=yes ;;
2322 2318
 esac
2323 2319
     CC=$ac_ct_CC
... ...
@@ -2330,10 +2930,10 @@ if test -z "$CC"; then
2330 2330
           if test -n "$ac_tool_prefix"; then
2331 2331
     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2332 2332
 set dummy ${ac_tool_prefix}cc; ac_word=$2
2333
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2334
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2335
-if test "${ac_cv_prog_CC+set}" = set; then
2336
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2333
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2334
+$as_echo_n "checking for $ac_word... " >&6; }
2335
+if test "${ac_cv_prog_CC+set}" = set; then :
2336
+  $as_echo_n "(cached) " >&6
2337 2337
 else
2338 2338
   if test -n "$CC"; then
2339 2339
   ac_cv_prog_CC="$CC" # Let the user override the test.
... ...
@@ -2343,25 +2943,25 @@ for as_dir in $PATH
2343 2343
 do
2344 2344
   IFS=$as_save_IFS
2345 2345
   test -z "$as_dir" && as_dir=.
2346
-  for ac_exec_ext in '' $ac_executable_extensions; do
2346
+    for ac_exec_ext in '' $ac_executable_extensions; do
2347 2347
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348 2348
     ac_cv_prog_CC="${ac_tool_prefix}cc"
2349
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 2350
     break 2
2351 2351
   fi
2352 2352
 done
2353
-done
2353
+  done
2354 2354
 IFS=$as_save_IFS
2355 2355
 
2356 2356
 fi
2357 2357
 fi
2358 2358
 CC=$ac_cv_prog_CC
2359 2359
 if test -n "$CC"; then
2360
-  { echo "$as_me:$LINENO: result: $CC" >&5
2361
-echo "${ECHO_T}$CC" >&6; }
2360
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2361
+$as_echo "$CC" >&6; }
2362 2362
 else
2363
-  { echo "$as_me:$LINENO: result: no" >&5
2364
-echo "${ECHO_T}no" >&6; }
2363
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2364
+$as_echo "no" >&6; }
2365 2365
 fi
2366 2366
 
2367 2367
 
... ...
@@ -2370,10 +2970,10 @@ fi
2370 2370
 if test -z "$CC"; then
2371 2371
   # Extract the first word of "cc", so it can be a program name with args.
2372 2372
 set dummy cc; ac_word=$2
2373
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2374
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2375
-if test "${ac_cv_prog_CC+set}" = set; then
2376
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2373
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2374
+$as_echo_n "checking for $ac_word... " >&6; }
2375
+if test "${ac_cv_prog_CC+set}" = set; then :
2376
+  $as_echo_n "(cached) " >&6
2377 2377
 else
2378 2378
   if test -n "$CC"; then
2379 2379
   ac_cv_prog_CC="$CC" # Let the user override the test.
... ...
@@ -2384,18 +2984,18 @@ for as_dir in $PATH
2384 2384
 do
2385 2385
   IFS=$as_save_IFS
2386 2386
   test -z "$as_dir" && as_dir=.
2387
-  for ac_exec_ext in '' $ac_executable_extensions; do
2387
+    for ac_exec_ext in '' $ac_executable_extensions; do
2388 2388
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 2389
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2390 2390
        ac_prog_rejected=yes
2391 2391
        continue
2392 2392
      fi
2393 2393
     ac_cv_prog_CC="cc"
2394
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2395 2395
     break 2
2396 2396
   fi
2397 2397
 done
2398
-done
2398
+  done
2399 2399
 IFS=$as_save_IFS
2400 2400
 
2401 2401
 if test $ac_prog_rejected = yes; then
... ...
@@ -2414,11 +3014,11 @@ fi
2414 2414
 fi
2415 2415
 CC=$ac_cv_prog_CC
2416 2416
 if test -n "$CC"; then
2417
-  { echo "$as_me:$LINENO: result: $CC" >&5
2418
-echo "${ECHO_T}$CC" >&6; }
2417
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2418
+$as_echo "$CC" >&6; }
2419 2419
 else
2420
-  { echo "$as_me:$LINENO: result: no" >&5
2421
-echo "${ECHO_T}no" >&6; }
2420
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2421
+$as_echo "no" >&6; }
2422 2422
 fi
2423 2423
 
2424 2424
 
... ...
@@ -2429,10 +3029,10 @@ if test -z "$CC"; then
2429 2429
   do
2430 2430
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2431 2431
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2432
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2433
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2434
-if test "${ac_cv_prog_CC+set}" = set; then
2435
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2432
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433
+$as_echo_n "checking for $ac_word... " >&6; }
2434
+if test "${ac_cv_prog_CC+set}" = set; then :
2435
+  $as_echo_n "(cached) " >&6
2436 2436
 else
2437 2437
   if test -n "$CC"; then
2438 2438
   ac_cv_prog_CC="$CC" # Let the user override the test.
... ...
@@ -2442,25 +3042,25 @@ for as_dir in $PATH
2442 2442
 do
2443 2443
   IFS=$as_save_IFS
2444 2444
   test -z "$as_dir" && as_dir=.
2445
-  for ac_exec_ext in '' $ac_executable_extensions; do
2445
+    for ac_exec_ext in '' $ac_executable_extensions; do
2446 2446
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 2447
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2448
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2448
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 2449
     break 2
2450 2450
   fi
2451 2451
 done
2452
-done
2452
+  done
2453 2453
 IFS=$as_save_IFS
2454 2454
 
2455 2455
 fi
2456 2456
 fi
2457 2457
 CC=$ac_cv_prog_CC
2458 2458
 if test -n "$CC"; then
2459
-  { echo "$as_me:$LINENO: result: $CC" >&5
2460
-echo "${ECHO_T}$CC" >&6; }
2459
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2460
+$as_echo "$CC" >&6; }
2461 2461
 else
2462
-  { echo "$as_me:$LINENO: result: no" >&5
2463
-echo "${ECHO_T}no" >&6; }
2462
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2463
+$as_echo "no" >&6; }
2464 2464
 fi
2465 2465
 
2466 2466
 
... ...
@@ -2473,10 +3073,10 @@ if test -z "$CC"; then
2473 2473
 do
2474 2474
   # Extract the first word of "$ac_prog", so it can be a program name with args.
2475 2475
 set dummy $ac_prog; ac_word=$2
2476
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2477
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2478
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2479
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2476
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2477
+$as_echo_n "checking for $ac_word... " >&6; }
2478
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2479
+  $as_echo_n "(cached) " >&6
2480 2480
 else
2481 2481
   if test -n "$ac_ct_CC"; then
2482 2482
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
... ...
@@ -2486,25 +3086,25 @@ for as_dir in $PATH
2486 2486
 do
2487 2487
   IFS=$as_save_IFS
2488 2488
   test -z "$as_dir" && as_dir=.
2489
-  for ac_exec_ext in '' $ac_executable_extensions; do
2489
+    for ac_exec_ext in '' $ac_executable_extensions; do
2490 2490
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2491 2491
     ac_cv_prog_ac_ct_CC="$ac_prog"
2492
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2492
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 2493
     break 2
2494 2494
   fi
2495 2495
 done
2496
-done
2496
+  done
2497 2497
 IFS=$as_save_IFS
2498 2498
 
2499 2499
 fi
2500 2500
 fi
2501 2501
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2502 2502
 if test -n "$ac_ct_CC"; then
2503
-  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2504
-echo "${ECHO_T}$ac_ct_CC" >&6; }
2503
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2504
+$as_echo "$ac_ct_CC" >&6; }
2505 2505
 else
2506
-  { echo "$as_me:$LINENO: result: no" >&5
2507
-echo "${ECHO_T}no" >&6; }
2506
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2507
+$as_echo "no" >&6; }
2508 2508
 fi
2509 2509
 
2510 2510
 
... ...
@@ -2516,12 +3116,8 @@ done
2516 2516
   else
2517 2517
     case $cross_compiling:$ac_tool_warned in
2518 2518
 yes:)
2519
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2520
-whose name does not start with the host triplet.  If you think this
2521
-configuration is useful to you, please write to autoconf@gnu.org." >&5
2522
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2523
-whose name does not start with the host triplet.  If you think this
2524
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2519
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2520
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2525 2521
 ac_tool_warned=yes ;;
2526 2522
 esac
2527 2523
     CC=$ac_ct_CC
... ...
@@ -2531,51 +3127,37 @@ fi
2531 2531
 fi
2532 2532
 
2533 2533
 
2534
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2535
-See \`config.log' for more details." >&5
2536
-echo "$as_me: error: no acceptable C compiler found in \$PATH
2537
-See \`config.log' for more details." >&2;}
2538
-   { (exit 1); exit 1; }; }
2534
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2535
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2536
+as_fn_error $? "no acceptable C compiler found in \$PATH
2537
+See \`config.log' for more details" "$LINENO" 5 ; }
2539 2538
 
2540 2539
 # Provide some information about the compiler.
2541
-echo "$as_me:$LINENO: checking for C compiler version" >&5
2542
-ac_compiler=`set X $ac_compile; echo $2`
2543
-{ (ac_try="$ac_compiler --version >&5"
2544
-case "(($ac_try" in
2545
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546
-  *) ac_try_echo=$ac_try;;
2547
-esac
2548
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2549
-  (eval "$ac_compiler --version >&5") 2>&5
2550
-  ac_status=$?
2551
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552
-  (exit $ac_status); }
2553
-{ (ac_try="$ac_compiler -v >&5"
2554
-case "(($ac_try" in
2555
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556
-  *) ac_try_echo=$ac_try;;
2557
-esac
2558
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2559
-  (eval "$ac_compiler -v >&5") 2>&5
2560
-  ac_status=$?
2561
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562
-  (exit $ac_status); }
2563
-{ (ac_try="$ac_compiler -V >&5"
2540
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2541
+set X $ac_compile
2542
+ac_compiler=$2
2543
+for ac_option in --version -v -V -qversion; do
2544
+  { { ac_try="$ac_compiler $ac_option >&5"
2564 2545
 case "(($ac_try" in
2565 2546
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 2547
   *) ac_try_echo=$ac_try;;
2567 2548
 esac
2568
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569
-  (eval "$ac_compiler -V >&5") 2>&5
2549
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2550
+$as_echo "$ac_try_echo"; } >&5
2551
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2570 2552
   ac_status=$?
2571
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572
-  (exit $ac_status); }
2553
+  if test -s conftest.err; then
2554
+    sed '10a\
2555
+... rest of stderr output deleted ...
2556
+         10q' conftest.err >conftest.er1
2557
+    cat conftest.er1 >&5
2558
+  fi
2559
+  rm -f conftest.er1 conftest.err
2560
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561
+  test $ac_status = 0; }
2562
+done
2573 2563
 
2574
-cat >conftest.$ac_ext <<_ACEOF
2575
-/* confdefs.h.  */
2576
-_ACEOF
2577
-cat confdefs.h >>conftest.$ac_ext
2578
-cat >>conftest.$ac_ext <<_ACEOF
2564
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 2565
 /* end confdefs.h.  */
2580 2566
 
2581 2567
 int
... ...
@@ -2587,42 +3169,38 @@ main ()
2587 2587
 }
2588 2588
 _ACEOF
2589 2589
 ac_clean_files_save=$ac_clean_files
2590
-ac_clean_files="$ac_clean_files a.out a.exe b.out"
2590
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2591 2591
 # Try to create an executable without -o first, disregard a.out.
2592 2592
 # It will help us diagnose broken compilers, and finding out an intuition
2593 2593
 # of exeext.
2594
-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2595
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2596
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2597
-#
2598
-# List of possible output files, starting from the most likely.
2599
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2600
-# only as a last resort.  b.out is created by i960 compilers.
2601
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2602
-#
2603
-# The IRIX 6 linker writes into existing files which may not be
2604
-# executable, retaining their permissions.  Remove them first so a
2605
-# subsequent execution test works.
2594
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2595
+$as_echo_n "checking whether the C compiler works... " >&6; }
2596
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2597
+
2598
+# The possible output files:
2599
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2600
+
2606 2601
 ac_rmfiles=
2607 2602
 for ac_file in $ac_files
2608 2603
 do
2609 2604
   case $ac_file in
2610
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2605
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2611 2606
     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2612 2607
   esac
2613 2608
 done
2614 2609
 rm -f $ac_rmfiles
2615 2610
 
2616
-if { (ac_try="$ac_link_default"
2611
+if { { ac_try="$ac_link_default"
2617 2612
 case "(($ac_try" in
2618 2613
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 2614
   *) ac_try_echo=$ac_try;;
2620 2615
 esac
2621
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2616
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617
+$as_echo "$ac_try_echo"; } >&5
2622 2618
   (eval "$ac_link_default") 2>&5
2623 2619
   ac_status=$?
2624
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625
-  (exit $ac_status); }; then
2620
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621
+  test $ac_status = 0; }; then :
2626 2622
   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2627 2623
 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2628 2624
 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
... ...
@@ -2632,14 +3210,14 @@ for ac_file in $ac_files ''
2632 2632
 do
2633 2633
   test -f "$ac_file" || continue
2634 2634
   case $ac_file in
2635
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2635
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2636 2636
 	;;
2637 2637
     [ab].out )
2638 2638
 	# We found the default executable, but exeext='' is most
2639 2639
 	# certainly right.
2640 2640
 	break;;
2641 2641
     *.* )
2642
-        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2642
+	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2643 2643
 	then :; else
2644 2644
 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2645 2645
 	fi
... ...
@@ -2658,78 +3236,41 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
2658 2658
 else
2659 2659
   ac_file=''
2660 2660
 fi
2661
-
2662
-{ echo "$as_me:$LINENO: result: $ac_file" >&5
2663
-echo "${ECHO_T}$ac_file" >&6; }
2664
-if test -z "$ac_file"; then
2665
-  echo "$as_me: failed program was:" >&5
2661
+if test -z "$ac_file"; then :
2662
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2663
+$as_echo "no" >&6; }
2664
+$as_echo "$as_me: failed program was:" >&5
2666 2665
 sed 's/^/| /' conftest.$ac_ext >&5
2667 2666
 
2668
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2669
-See \`config.log' for more details." >&5
2670
-echo "$as_me: error: C compiler cannot create executables
2671
-See \`config.log' for more details." >&2;}
2672
-   { (exit 77); exit 77; }; }
2667
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2668
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2669
+as_fn_error 77 "C compiler cannot create executables
2670
+See \`config.log' for more details" "$LINENO" 5 ; }
2671
+else
2672
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2673
+$as_echo "yes" >&6; }
2673 2674
 fi
2674
-
2675
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2676
+$as_echo_n "checking for C compiler default output file name... " >&6; }
2677
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2678
+$as_echo "$ac_file" >&6; }
2675 2679
 ac_exeext=$ac_cv_exeext
2676 2680
 
2677
-# Check that the compiler produces executables we can run.  If not, either
2678
-# the compiler is broken, or we cross compile.
2679
-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2680
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2681
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2682
-# If not cross compiling, check that we can run a simple program.
2683
-if test "$cross_compiling" != yes; then
2684
-  if { ac_try='./$ac_file'
2685
-  { (case "(($ac_try" in
2686
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687
-  *) ac_try_echo=$ac_try;;
2688
-esac
2689
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690
-  (eval "$ac_try") 2>&5
2691
-  ac_status=$?
2692
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693
-  (exit $ac_status); }; }; then
2694
-    cross_compiling=no
2695
-  else
2696
-    if test "$cross_compiling" = maybe; then
2697
-	cross_compiling=yes
2698
-    else
2699
-	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2700
-If you meant to cross compile, use \`--host'.
2701
-See \`config.log' for more details." >&5
2702
-echo "$as_me: error: cannot run C compiled programs.
2703
-If you meant to cross compile, use \`--host'.
2704
-See \`config.log' for more details." >&2;}
2705
-   { (exit 1); exit 1; }; }
2706
-    fi
2707
-  fi
2708
-fi
2709
-{ echo "$as_me:$LINENO: result: yes" >&5
2710
-echo "${ECHO_T}yes" >&6; }
2711
-
2712
-rm -f a.out a.exe conftest$ac_cv_exeext b.out
2681
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2713 2682
 ac_clean_files=$ac_clean_files_save
2714
-# Check that the compiler produces executables we can run.  If not, either
2715
-# the compiler is broken, or we cross compile.
2716
-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2717
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2718
-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2719
-echo "${ECHO_T}$cross_compiling" >&6; }
2720
-
2721
-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2722
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2723
-if { (ac_try="$ac_link"
2683
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2684
+$as_echo_n "checking for suffix of executables... " >&6; }
2685
+if { { ac_try="$ac_link"
2724 2686
 case "(($ac_try" in
2725 2687
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 2688
   *) ac_try_echo=$ac_try;;
2727 2689
 esac
2728
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691
+$as_echo "$ac_try_echo"; } >&5
2729 2692
   (eval "$ac_link") 2>&5
2730 2693
   ac_status=$?
2731
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732
-  (exit $ac_status); }; then
2694
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695
+  test $ac_status = 0; }; then :
2733 2696
   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2734 2697
 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2735 2698
 # work properly (i.e., refer to `conftest.exe'), while it won't with
... ...
@@ -2737,37 +3278,90 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2737 2737
 for ac_file in conftest.exe conftest conftest.*; do
2738 2738
   test -f "$ac_file" || continue
2739 2739
   case $ac_file in
2740
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2740
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2741 2741
     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2742 2742
 	  break;;
2743 2743
     * ) break;;
2744 2744
   esac
2745 2745
 done
2746 2746
 else
2747
-  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2748
-See \`config.log' for more details." >&5
2749
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2750
-See \`config.log' for more details." >&2;}
2751
-   { (exit 1); exit 1; }; }
2747
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2748
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2749
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2750
+See \`config.log' for more details" "$LINENO" 5 ; }
2752 2751
 fi
2753
-
2754
-rm -f conftest$ac_cv_exeext
2755
-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2756
-echo "${ECHO_T}$ac_cv_exeext" >&6; }
2752
+rm -f conftest conftest$ac_cv_exeext
2753
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2754
+$as_echo "$ac_cv_exeext" >&6; }
2757 2755
 
2758 2756
 rm -f conftest.$ac_ext
2759 2757
 EXEEXT=$ac_cv_exeext
2760 2758
 ac_exeext=$EXEEXT
2761
-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2762
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2763
-if test "${ac_cv_objext+set}" = set; then
2764
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2765
-else
2766
-  cat >conftest.$ac_ext <<_ACEOF
2767
-/* confdefs.h.  */
2759
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760
+/* end confdefs.h.  */
2761
+#include <stdio.h>
2762
+int
2763
+main ()
2764
+{
2765
+FILE *f = fopen ("conftest.out", "w");
2766
+ return ferror (f) || fclose (f) != 0;
2767
+
2768
+  ;
2769
+  return 0;
2770
+}
2768 2771
 _ACEOF
2769
-cat confdefs.h >>conftest.$ac_ext
2770
-cat >>conftest.$ac_ext <<_ACEOF
2772
+ac_clean_files="$ac_clean_files conftest.out"
2773
+# Check that the compiler produces executables we can run.  If not, either
2774
+# the compiler is broken, or we cross compile.
2775
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2776
+$as_echo_n "checking whether we are cross compiling... " >&6; }
2777
+if test "$cross_compiling" != yes; then
2778
+  { { ac_try="$ac_link"
2779
+case "(($ac_try" in
2780
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781
+  *) ac_try_echo=$ac_try;;
2782
+esac
2783
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2784
+$as_echo "$ac_try_echo"; } >&5
2785
+  (eval "$ac_link") 2>&5
2786
+  ac_status=$?
2787
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2788
+  test $ac_status = 0; }
2789
+  if { ac_try='./conftest$ac_cv_exeext'
2790
+  { { case "(($ac_try" in
2791
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792
+  *) ac_try_echo=$ac_try;;
2793
+esac
2794
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2795
+$as_echo "$ac_try_echo"; } >&5
2796
+  (eval "$ac_try") 2>&5
2797
+  ac_status=$?
2798
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2799
+  test $ac_status = 0; }; }; then
2800
+    cross_compiling=no
2801
+  else
2802
+    if test "$cross_compiling" = maybe; then
2803
+	cross_compiling=yes
2804
+    else
2805
+	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2806
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2807
+as_fn_error $? "cannot run C compiled programs.
2808
+If you meant to cross compile, use \`--host'.
2809
+See \`config.log' for more details" "$LINENO" 5 ; }
2810
+    fi
2811
+  fi
2812
+fi
2813
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2814
+$as_echo "$cross_compiling" >&6; }
2815
+
2816
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2817
+ac_clean_files=$ac_clean_files_save
2818
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2819
+$as_echo_n "checking for suffix of object files... " >&6; }
2820
+if test "${ac_cv_objext+set}" = set; then :
2821
+  $as_echo_n "(cached) " >&6
2822
+else
2823
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2771 2824
 /* end confdefs.h.  */
2772 2825
 
2773 2826
 int
... ...
@@ -2779,51 +3373,46 @@ main ()
2779 2779
 }
2780 2780
 _ACEOF
2781 2781
 rm -f conftest.o conftest.obj
2782
-if { (ac_try="$ac_compile"
2782
+if { { ac_try="$ac_compile"
2783 2783
 case "(($ac_try" in
2784 2784
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 2785
   *) ac_try_echo=$ac_try;;
2786 2786
 esac
2787
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2788
+$as_echo "$ac_try_echo"; } >&5
2788 2789
   (eval "$ac_compile") 2>&5
2789 2790
   ac_status=$?
2790
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791
-  (exit $ac_status); }; then
2791
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2792
+  test $ac_status = 0; }; then :
2792 2793
   for ac_file in conftest.o conftest.obj conftest.*; do
2793 2794
   test -f "$ac_file" || continue;
2794 2795
   case $ac_file in
2795
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2796
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2796 2797
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2797 2798
        break;;
2798 2799
   esac
2799 2800
 done
2800 2801
 else
2801
-  echo "$as_me: failed program was:" >&5
2802
+  $as_echo "$as_me: failed program was:" >&5
2802 2803
 sed 's/^/| /' conftest.$ac_ext >&5
2803 2804
 
2804
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2805
-See \`config.log' for more details." >&5
2806
-echo "$as_me: error: cannot compute suffix of object files: cannot compile
2807
-See \`config.log' for more details." >&2;}
2808
-   { (exit 1); exit 1; }; }
2805
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2806
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2807
+as_fn_error $? "cannot compute suffix of object files: cannot compile
2808
+See \`config.log' for more details" "$LINENO" 5 ; }
2809 2809
 fi
2810
-
2811 2810
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2812 2811
 fi
2813
-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2814
-echo "${ECHO_T}$ac_cv_objext" >&6; }
2812
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2813
+$as_echo "$ac_cv_objext" >&6; }
2815 2814
 OBJEXT=$ac_cv_objext
2816 2815
 ac_objext=$OBJEXT
2817
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2818
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2819
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
2820
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2816
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2817
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2818
+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2819
+  $as_echo_n "(cached) " >&6
2821 2820
 else
2822
-  cat >conftest.$ac_ext <<_ACEOF
2823
-/* confdefs.h.  */
2824
-_ACEOF
2825
-cat confdefs.h >>conftest.$ac_ext
2826
-cat >>conftest.$ac_ext <<_ACEOF
2821
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2827 2822
 /* end confdefs.h.  */
2828 2823
 
2829 2824
 int
... ...
@@ -2837,54 +3426,34 @@ main ()
2837 2837
   return 0;
2838 2838
 }
2839 2839
 _ACEOF
2840
-rm -f conftest.$ac_objext
2841
-if { (ac_try="$ac_compile"
2842
-case "(($ac_try" in
2843
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844
-  *) ac_try_echo=$ac_try;;
2845
-esac
2846
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2847
-  (eval "$ac_compile") 2>conftest.er1
2848
-  ac_status=$?
2849
-  grep -v '^ *+' conftest.er1 >conftest.err
2850
-  rm -f conftest.er1
2851
-  cat conftest.err >&5
2852
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853
-  (exit $ac_status); } && {
2854
-	 test -z "$ac_c_werror_flag" ||
2855
-	 test ! -s conftest.err
2856
-       } && test -s conftest.$ac_objext; then
2840
+if ac_fn_c_try_compile "$LINENO"; then :
2857 2841
   ac_compiler_gnu=yes
2858 2842
 else
2859
-  echo "$as_me: failed program was:" >&5
2860
-sed 's/^/| /' conftest.$ac_ext >&5
2861
-
2862
-	ac_compiler_gnu=no
2843
+  ac_compiler_gnu=no
2863 2844
 fi
2864
-
2865 2845
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 2846
 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2867 2847
 
2868 2848
 fi
2869
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2870
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2871
-GCC=`test $ac_compiler_gnu = yes && echo yes`
2849
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2850
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2851
+if test $ac_compiler_gnu = yes; then
2852
+  GCC=yes
2853
+else
2854
+  GCC=
2855
+fi
2872 2856
 ac_test_CFLAGS=${CFLAGS+set}
2873 2857
 ac_save_CFLAGS=$CFLAGS
2874
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2875
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2876
-if test "${ac_cv_prog_cc_g+set}" = set; then
2877
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2858
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2859
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
2860
+if test "${ac_cv_prog_cc_g+set}" = set; then :
2861
+  $as_echo_n "(cached) " >&6
2878 2862
 else
2879 2863
   ac_save_c_werror_flag=$ac_c_werror_flag
2880 2864
    ac_c_werror_flag=yes
2881 2865
    ac_cv_prog_cc_g=no
2882 2866
    CFLAGS="-g"
2883
-   cat >conftest.$ac_ext <<_ACEOF
2884
-/* confdefs.h.  */
2885
-_ACEOF
2886
-cat confdefs.h >>conftest.$ac_ext
2887
-cat >>conftest.$ac_ext <<_ACEOF
2867
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 2868
 /* end confdefs.h.  */
2889 2869
 
2890 2870
 int
... ...
@@ -2895,34 +3464,11 @@ main ()
2895 2895
   return 0;
2896 2896
 }
2897 2897
 _ACEOF
2898
-rm -f conftest.$ac_objext
2899
-if { (ac_try="$ac_compile"
2900
-case "(($ac_try" in
2901
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902
-  *) ac_try_echo=$ac_try;;
2903
-esac
2904
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905
-  (eval "$ac_compile") 2>conftest.er1
2906
-  ac_status=$?
2907
-  grep -v '^ *+' conftest.er1 >conftest.err
2908
-  rm -f conftest.er1
2909
-  cat conftest.err >&5
2910
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911
-  (exit $ac_status); } && {
2912
-	 test -z "$ac_c_werror_flag" ||
2913
-	 test ! -s conftest.err
2914
-       } && test -s conftest.$ac_objext; then
2898
+if ac_fn_c_try_compile "$LINENO"; then :
2915 2899
   ac_cv_prog_cc_g=yes
2916 2900
 else
2917
-  echo "$as_me: failed program was:" >&5
2918
-sed 's/^/| /' conftest.$ac_ext >&5
2919
-
2920
-	CFLAGS=""
2921
-      cat >conftest.$ac_ext <<_ACEOF
2922
-/* confdefs.h.  */
2923
-_ACEOF
2924
-cat confdefs.h >>conftest.$ac_ext
2925
-cat >>conftest.$ac_ext <<_ACEOF
2901
+  CFLAGS=""
2902
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 2903
 /* end confdefs.h.  */
2927 2904
 
2928 2905
 int
... ...
@@ -2933,35 +3479,12 @@ main ()
2933 2933
   return 0;
2934 2934
 }
2935 2935
 _ACEOF
2936
-rm -f conftest.$ac_objext
2937
-if { (ac_try="$ac_compile"
2938
-case "(($ac_try" in
2939
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940
-  *) ac_try_echo=$ac_try;;
2941
-esac
2942
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2943
-  (eval "$ac_compile") 2>conftest.er1
2944
-  ac_status=$?
2945
-  grep -v '^ *+' conftest.er1 >conftest.err
2946
-  rm -f conftest.er1
2947
-  cat conftest.err >&5
2948
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949
-  (exit $ac_status); } && {
2950
-	 test -z "$ac_c_werror_flag" ||
2951
-	 test ! -s conftest.err
2952
-       } && test -s conftest.$ac_objext; then
2953
-  :
2954
-else
2955
-  echo "$as_me: failed program was:" >&5
2956
-sed 's/^/| /' conftest.$ac_ext >&5
2936
+if ac_fn_c_try_compile "$LINENO"; then :
2957 2937
 
2958
-	ac_c_werror_flag=$ac_save_c_werror_flag
2938
+else
2939
+  ac_c_werror_flag=$ac_save_c_werror_flag
2959 2940
 	 CFLAGS="-g"
2960
-	 cat >conftest.$ac_ext <<_ACEOF
2961
-/* confdefs.h.  */
2962
-_ACEOF
2963
-cat confdefs.h >>conftest.$ac_ext
2964
-cat >>conftest.$ac_ext <<_ACEOF
2941
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 2942
 /* end confdefs.h.  */
2966 2943
 
2967 2944
 int
... ...
@@ -2972,42 +3495,18 @@ main ()
2972 2972
   return 0;
2973 2973
 }
2974 2974
 _ACEOF
2975
-rm -f conftest.$ac_objext
2976
-if { (ac_try="$ac_compile"
2977
-case "(($ac_try" in
2978
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979
-  *) ac_try_echo=$ac_try;;
2980
-esac
2981
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2982
-  (eval "$ac_compile") 2>conftest.er1
2983
-  ac_status=$?
2984
-  grep -v '^ *+' conftest.er1 >conftest.err
2985
-  rm -f conftest.er1
2986
-  cat conftest.err >&5
2987
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988
-  (exit $ac_status); } && {
2989
-	 test -z "$ac_c_werror_flag" ||
2990
-	 test ! -s conftest.err
2991
-       } && test -s conftest.$ac_objext; then
2975
+if ac_fn_c_try_compile "$LINENO"; then :
2992 2976
   ac_cv_prog_cc_g=yes
2993
-else
2994
-  echo "$as_me: failed program was:" >&5
2995
-sed 's/^/| /' conftest.$ac_ext >&5
2996
-
2997
-
2998 2977
 fi
2999
-
3000 2978
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3001 2979
 fi
3002
-
3003 2980
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3004 2981
 fi
3005
-
3006 2982
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 2983
    ac_c_werror_flag=$ac_save_c_werror_flag
3008 2984
 fi
3009
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3010
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2985
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2986
+$as_echo "$ac_cv_prog_cc_g" >&6; }
3011 2987
 if test "$ac_test_CFLAGS" = set; then
3012 2988
   CFLAGS=$ac_save_CFLAGS
3013 2989
 elif test $ac_cv_prog_cc_g = yes; then
... ...
@@ -3023,18 +3522,14 @@ else
3023 3023
     CFLAGS=
3024 3024
   fi
3025 3025
 fi
3026
-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3027
-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3028
-if test "${ac_cv_prog_cc_c89+set}" = set; then
3029
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3026
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3027
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3028
+if test "${ac_cv_prog_cc_c89+set}" = set; then :
3029
+  $as_echo_n "(cached) " >&6
3030 3030
 else
3031 3031
   ac_cv_prog_cc_c89=no
3032 3032
 ac_save_CC=$CC
3033
-cat >conftest.$ac_ext <<_ACEOF
3034
-/* confdefs.h.  */
3035
-_ACEOF
3036
-cat confdefs.h >>conftest.$ac_ext
3037
-cat >>conftest.$ac_ext <<_ACEOF
3033
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3038 3034
 /* end confdefs.h.  */
3039 3035
 #include <stdarg.h>
3040 3036
 #include <stdio.h>
... ...
@@ -3091,31 +3586,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3091 3091
 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3092 3092
 do
3093 3093
   CC="$ac_save_CC $ac_arg"
3094
-  rm -f conftest.$ac_objext
3095
-if { (ac_try="$ac_compile"
3096
-case "(($ac_try" in
3097
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098
-  *) ac_try_echo=$ac_try;;
3099
-esac
3100
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101
-  (eval "$ac_compile") 2>conftest.er1
3102
-  ac_status=$?
3103
-  grep -v '^ *+' conftest.er1 >conftest.err
3104
-  rm -f conftest.er1
3105
-  cat conftest.err >&5
3106
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107
-  (exit $ac_status); } && {
3108
-	 test -z "$ac_c_werror_flag" ||
3109
-	 test ! -s conftest.err
3110
-       } && test -s conftest.$ac_objext; then
3094
+  if ac_fn_c_try_compile "$LINENO"; then :
3111 3095
   ac_cv_prog_cc_c89=$ac_arg
3112
-else
3113
-  echo "$as_me: failed program was:" >&5
3114
-sed 's/^/| /' conftest.$ac_ext >&5
3115
-
3116
-
3117 3096
 fi
3118
-
3119 3097
 rm -f core conftest.err conftest.$ac_objext
3120 3098
   test "x$ac_cv_prog_cc_c89" != "xno" && break
3121 3099
 done
... ...
@@ -3126,17 +3599,19 @@ fi
3126 3126
 # AC_CACHE_VAL
3127 3127
 case "x$ac_cv_prog_cc_c89" in
3128 3128
   x)
3129
-    { echo "$as_me:$LINENO: result: none needed" >&5
3130
-echo "${ECHO_T}none needed" >&6; } ;;
3129
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3130
+$as_echo "none needed" >&6; } ;;
3131 3131
   xno)
3132
-    { echo "$as_me:$LINENO: result: unsupported" >&5
3133
-echo "${ECHO_T}unsupported" >&6; } ;;
3132
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3133
+$as_echo "unsupported" >&6; } ;;
3134 3134
   *)
3135 3135
     CC="$CC $ac_cv_prog_cc_c89"
3136
-    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3137
-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3136
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3137
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3138 3138
 esac
3139
+if test "x$ac_cv_prog_cc_c89" != xno; then :
3139 3140
 
3141
+fi
3140 3142
 
3141 3143
 ac_ext=c
3142 3144
 ac_cpp='$CPP $CPPFLAGS'
... ...
@@ -3151,44 +3626,44 @@ ac_config_commands="$ac_config_commands depfiles"
3151 3151
 am_make=${MAKE-make}
3152 3152
 cat > confinc << 'END'
3153 3153
 am__doit:
3154
-	@echo done
3154
+	@echo this is the am__doit target
3155 3155
 .PHONY: am__doit
3156 3156
 END
3157 3157
 # If we don't find an include directive, just comment out the code.
3158
-{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3159
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3158
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3159
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
3160 3160
 am__include="#"
3161 3161
 am__quote=
3162 3162
 _am_result=none
3163 3163
 # First try GNU make style include.
3164 3164
 echo "include confinc" > confmf
3165
-# We grep out `Entering directory' and `Leaving directory'
3166
-# messages which can occur if `w' ends up in MAKEFLAGS.
3167
-# In particular we don't look at `^make:' because GNU make might
3168
-# be invoked under some other name (usually "gmake"), in which
3169
-# case it prints its new name instead of `make'.
3170
-if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3171
-   am__include=include
3172
-   am__quote=
3173
-   _am_result=GNU
3174
-fi
3165
+# Ignore all kinds of additional output from `make'.
3166
+case `$am_make -s -f confmf 2> /dev/null` in #(
3167
+*the\ am__doit\ target*)
3168
+  am__include=include
3169
+  am__quote=
3170
+  _am_result=GNU
3171
+  ;;
3172
+esac
3175 3173
 # Now try BSD make style include.
3176 3174
 if test "$am__include" = "#"; then
3177 3175
    echo '.include "confinc"' > confmf
3178
-   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3179
-      am__include=.include
3180
-      am__quote="\""
3181
-      _am_result=BSD
3182
-   fi
3176
+   case `$am_make -s -f confmf 2> /dev/null` in #(
3177
+   *the\ am__doit\ target*)
3178
+     am__include=.include
3179
+     am__quote="\""
3180
+     _am_result=BSD
3181
+     ;;
3182
+   esac
3183 3183
 fi
3184 3184
 
3185 3185
 
3186
-{ echo "$as_me:$LINENO: result: $_am_result" >&5
3187
-echo "${ECHO_T}$_am_result" >&6; }
3186
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3187
+$as_echo "$_am_result" >&6; }
3188 3188
 rm -f confinc confmf
3189 3189
 
3190 3190
 # Check whether --enable-dependency-tracking was given.
3191
-if test "${enable_dependency_tracking+set}" = set; then
3191
+if test "${enable_dependency_tracking+set}" = set; then :
3192 3192
   enableval=$enable_dependency_tracking;
3193 3193
 fi
3194 3194
 
... ...
@@ -3208,10 +3683,10 @@ fi
3208 3208
 
3209 3209
 depcc="$CC"   am_compiler_list=
3210 3210
 
3211
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3212
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3213
-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3214
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3211
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3212
+$as_echo_n "checking dependency style of $depcc... " >&6; }
3213
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3214
+  $as_echo_n "(cached) " >&6
3215 3215
 else
3216 3216
   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3217 3217
   # We make a subdir and do the tests there.  Otherwise we can end up
... ...
@@ -3236,6 +3711,11 @@ else
3236 3236
   if test "$am_compiler_list" = ""; then
3237 3237
      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3238 3238
   fi
3239
+  am__universal=false
3240
+  case " $depcc " in #(
3241
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3242
+     esac
3243
+
3239 3244
   for depmode in $am_compiler_list; do
3240 3245
     # Setup a source with many dependencies, because some compilers
3241 3246
     # like to wrap large dependency lists on column 80 (with \), and
... ...
@@ -3253,7 +3733,17 @@ else
3253 3253
     done
3254 3254
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3255 3255
 
3256
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3257
+    # mode.  It turns out that the SunPro C++ compiler does not properly
3258
+    # handle `-M -o', and we need to detect this.  Also, some Intel
3259
+    # versions had trouble with output in subdirs
3260
+    am__obj=sub/conftest.${OBJEXT-o}
3261
+    am__minus_obj="-o $am__obj"
3256 3262
     case $depmode in
3263
+    gcc)
3264
+      # This depmode causes a compiler race in universal mode.
3265
+      test "$am__universal" = false || continue
3266
+      ;;
3257 3267
     nosideeffect)
3258 3268
       # after this tag, mechanisms are not by side-effect, so they'll
3259 3269
       # only be used when explicitly requested
... ...
@@ -3263,19 +3753,23 @@ else
3263 3263
 	break
3264 3264
       fi
3265 3265
       ;;
3266
+    msvisualcpp | msvcmsys)
3267
+      # This compiler won't grok `-c -o', but also, the minuso test has
3268
+      # not run yet.  These depmodes are late enough in the game, and
3269
+      # so weak that their functioning should not be impacted.
3270
+      am__obj=conftest.${OBJEXT-o}
3271
+      am__minus_obj=
3272
+      ;;
3266 3273
     none) break ;;
3267 3274
     esac
3268
-    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3269
-    # mode.  It turns out that the SunPro C++ compiler does not properly
3270
-    # handle `-M -o', and we need to detect this.
3271 3275
     if depmode=$depmode \
3272
-       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3276
+       source=sub/conftest.c object=$am__obj \
3273 3277
        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3274
-       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3278
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3275 3279
          >/dev/null 2>conftest.err &&
3276 3280
        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3277 3281
        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3278
-       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3282
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3279 3283
        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3280 3284
       # icc doesn't choke on unknown options, it will just issue warnings
3281 3285
       # or remarks (even with -Werror).  So we grep stderr for any message
... ...
@@ -3299,8 +3793,8 @@ else
3299 3299
 fi
3300 3300
 
3301 3301
 fi
3302
-{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3303
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3302
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3303
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3304 3304
 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3305 3305
 
3306 3306
  if
... ...
@@ -3314,102 +3808,17 @@ else
3314 3314
 fi
3315 3315
 
3316 3316
 
3317
-# Find a good install program.  We prefer a C program (faster),
3318
-# so one script is as good as another.  But avoid the broken or
3319
-# incompatible versions:
3320
-# SysV /etc/install, /usr/sbin/install
3321
-# SunOS /usr/etc/install
3322
-# IRIX /sbin/install
3323
-# AIX /bin/install
3324
-# AmigaOS /C/install, which installs bootblocks on floppy discs
3325
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3326
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3327
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3328
-# OS/2's system install, which has a completely different semantic
3329
-# ./install, which can be erroneously created by make from ./install.sh.
3330
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3331
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3332
-if test -z "$INSTALL"; then
3333
-if test "${ac_cv_path_install+set}" = set; then
3334
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3335
-else
3336
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337
-for as_dir in $PATH
3338
-do
3339
-  IFS=$as_save_IFS
3340
-  test -z "$as_dir" && as_dir=.
3341
-  # Account for people who put trailing slashes in PATH elements.
3342
-case $as_dir/ in
3343
-  ./ | .// | /cC/* | \
3344
-  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3345
-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3346
-  /usr/ucb/* ) ;;
3347
-  *)
3348
-    # OSF1 and SCO ODT 3.0 have their own names for install.
3349
-    # Don't use installbsd from OSF since it installs stuff as root
3350
-    # by default.
3351
-    for ac_prog in ginstall scoinst install; do
3352
-      for ac_exec_ext in '' $ac_executable_extensions; do
3353
-	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3354
-	  if test $ac_prog = install &&
3355
-	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3356
-	    # AIX install.  It has an incompatible calling convention.
3357
-	    :
3358
-	  elif test $ac_prog = install &&
3359
-	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3360
-	    # program-specific install script used by HP pwplus--don't use.
3361
-	    :
3362
-	  else
3363
-	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3364
-	    break 3
3365
-	  fi
3366
-	fi
3367
-      done
3368
-    done
3369
-    ;;
3370
-esac
3371
-done
3372
-IFS=$as_save_IFS
3373
-
3374
-
3375
-fi
3376
-  if test "${ac_cv_path_install+set}" = set; then
3377
-    INSTALL=$ac_cv_path_install
3378
-  else
3379
-    # As a last resort, use the slow shell script.  Don't cache a
3380
-    # value for INSTALL within a source directory, because that will
3381
-    # break other packages using the cache if that directory is
3382
-    # removed, or if the value is a relative name.
3383
-    INSTALL=$ac_install_sh
3384
-  fi
3385
-fi
3386
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3387
-echo "${ECHO_T}$INSTALL" >&6; }
3388
-
3389
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3390
-# It thinks the first close brace ends the variable substitution.
3391
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3392
-
3393
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3394
-
3395
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3396
-
3397 3317
 
3398 3318
 # Checks for libraries.
3399 3319
 
3400
-
3401
-{ echo "$as_me:$LINENO: checking for MD5_Init in -lcrypto" >&5
3402
-echo $ECHO_N "checking for MD5_Init in -lcrypto... $ECHO_C" >&6; }
3403
-if test "${ac_cv_lib_crypto_MD5_Init+set}" = set; then
3404
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3320
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5_Init in -lcrypto" >&5
3321
+$as_echo_n "checking for MD5_Init in -lcrypto... " >&6; }
3322
+if test "${ac_cv_lib_crypto_MD5_Init+set}" = set; then :
3323
+  $as_echo_n "(cached) " >&6
3405 3324
 else
3406 3325
   ac_check_lib_save_LIBS=$LIBS
3407 3326
 LIBS="-lcrypto  $LIBS"
3408
-cat >conftest.$ac_ext <<_ACEOF
3409
-/* confdefs.h.  */
3410
-_ACEOF
3411
-cat confdefs.h >>conftest.$ac_ext
3412
-cat >>conftest.$ac_ext <<_ACEOF
3327
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 3328
 /* end confdefs.h.  */
3414 3329
 
3415 3330
 /* Override any GCC internal prototype to avoid an error.
... ...
@@ -3427,39 +3836,18 @@ return MD5_Init ();
3427 3427
   return 0;
3428 3428
 }
3429 3429
 _ACEOF
3430
-rm -f conftest.$ac_objext conftest$ac_exeext
3431
-if { (ac_try="$ac_link"
3432
-case "(($ac_try" in
3433
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434
-  *) ac_try_echo=$ac_try;;
3435
-esac
3436
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3437
-  (eval "$ac_link") 2>conftest.er1
3438
-  ac_status=$?
3439
-  grep -v '^ *+' conftest.er1 >conftest.err
3440
-  rm -f conftest.er1
3441
-  cat conftest.err >&5
3442
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443
-  (exit $ac_status); } && {
3444
-	 test -z "$ac_c_werror_flag" ||
3445
-	 test ! -s conftest.err
3446
-       } && test -s conftest$ac_exeext &&
3447
-       $as_test_x conftest$ac_exeext; then
3430
+if ac_fn_c_try_link "$LINENO"; then :
3448 3431
   ac_cv_lib_crypto_MD5_Init=yes
3449 3432
 else
3450
-  echo "$as_me: failed program was:" >&5
3451
-sed 's/^/| /' conftest.$ac_ext >&5
3452
-
3453
-	ac_cv_lib_crypto_MD5_Init=no
3433
+  ac_cv_lib_crypto_MD5_Init=no
3454 3434
 fi
3455
-
3456
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3457
-      conftest$ac_exeext conftest.$ac_ext
3435
+rm -f core conftest.err conftest.$ac_objext \
3436
+    conftest$ac_exeext conftest.$ac_ext
3458 3437
 LIBS=$ac_check_lib_save_LIBS
3459 3438
 fi
3460
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5_Init" >&5
3461
-echo "${ECHO_T}$ac_cv_lib_crypto_MD5_Init" >&6; }
3462
-if test $ac_cv_lib_crypto_MD5_Init = yes; then
3439
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5_Init" >&5
3440
+$as_echo "$ac_cv_lib_crypto_MD5_Init" >&6; }
3441
+if test "x$ac_cv_lib_crypto_MD5_Init" = x""yes; then :
3463 3442
   cat >>confdefs.h <<_ACEOF
3464 3443
 #define HAVE_LIBCRYPTO 1
3465 3444
 _ACEOF
... ...
@@ -3468,19 +3856,14 @@ _ACEOF
3468 3468
 
3469 3469
 fi
3470 3470
 
3471
-
3472
-{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3473
-echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
3474
-if test "${ac_cv_lib_socket_socket+set}" = set; then
3475
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3471
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
3472
+$as_echo_n "checking for socket in -lsocket... " >&6; }
3473
+if test "${ac_cv_lib_socket_socket+set}" = set; then :
3474
+  $as_echo_n "(cached) " >&6
3476 3475
 else
3477 3476
   ac_check_lib_save_LIBS=$LIBS
3478 3477
 LIBS="-lsocket  $LIBS"
3479
-cat >conftest.$ac_ext <<_ACEOF
3480
-/* confdefs.h.  */
3481
-_ACEOF
3482
-cat confdefs.h >>conftest.$ac_ext
3483
-cat >>conftest.$ac_ext <<_ACEOF
3478
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 3479
 /* end confdefs.h.  */
3485 3480
 
3486 3481
 /* Override any GCC internal prototype to avoid an error.
... ...
@@ -3498,39 +3881,18 @@ return socket ();
3498 3498
   return 0;
3499 3499
 }
3500 3500
 _ACEOF
3501
-rm -f conftest.$ac_objext conftest$ac_exeext
3502
-if { (ac_try="$ac_link"
3503
-case "(($ac_try" in
3504
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505
-  *) ac_try_echo=$ac_try;;
3506
-esac
3507
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3508
-  (eval "$ac_link") 2>conftest.er1
3509
-  ac_status=$?
3510
-  grep -v '^ *+' conftest.er1 >conftest.err
3511
-  rm -f conftest.er1
3512
-  cat conftest.err >&5
3513
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514
-  (exit $ac_status); } && {
3515
-	 test -z "$ac_c_werror_flag" ||
3516
-	 test ! -s conftest.err
3517
-       } && test -s conftest$ac_exeext &&
3518
-       $as_test_x conftest$ac_exeext; then
3501
+if ac_fn_c_try_link "$LINENO"; then :
3519 3502
   ac_cv_lib_socket_socket=yes
3520 3503
 else
3521
-  echo "$as_me: failed program was:" >&5
3522
-sed 's/^/| /' conftest.$ac_ext >&5
3523
-
3524
-	ac_cv_lib_socket_socket=no
3504
+  ac_cv_lib_socket_socket=no
3525 3505
 fi
3526
-
3527
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3528
-      conftest$ac_exeext conftest.$ac_ext
3506
+rm -f core conftest.err conftest.$ac_objext \
3507
+    conftest$ac_exeext conftest.$ac_ext
3529 3508
 LIBS=$ac_check_lib_save_LIBS
3530 3509
 fi
3531
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3532
-echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
3533
-if test $ac_cv_lib_socket_socket = yes; then
3510
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
3511
+$as_echo "$ac_cv_lib_socket_socket" >&6; }
3512
+if test "x$ac_cv_lib_socket_socket" = x""yes; then :
3534 3513
   cat >>confdefs.h <<_ACEOF
3535 3514
 #define HAVE_LIBSOCKET 1
3536 3515
 _ACEOF
... ...
@@ -3539,19 +3901,14 @@ _ACEOF
3539 3539
 
3540 3540
 fi
3541 3541
 
3542
-
3543
-{ echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
3544
-echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
3545
-if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
3546
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3542
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
3543
+$as_echo_n "checking for inet_addr in -lnsl... " >&6; }
3544
+if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
3545
+  $as_echo_n "(cached) " >&6
3547 3546
 else
3548 3547
   ac_check_lib_save_LIBS=$LIBS
3549 3548
 LIBS="-lnsl  $LIBS"
3550
-cat >conftest.$ac_ext <<_ACEOF
3551
-/* confdefs.h.  */
3552
-_ACEOF
3553
-cat confdefs.h >>conftest.$ac_ext
3554
-cat >>conftest.$ac_ext <<_ACEOF
3549
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 3550
 /* end confdefs.h.  */
3556 3551
 
3557 3552
 /* Override any GCC internal prototype to avoid an error.
... ...
@@ -3569,39 +3926,18 @@ return inet_addr ();
3569 3569
   return 0;
3570 3570
 }
3571 3571
 _ACEOF
3572
-rm -f conftest.$ac_objext conftest$ac_exeext
3573
-if { (ac_try="$ac_link"
3574
-case "(($ac_try" in
3575
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3576
-  *) ac_try_echo=$ac_try;;
3577
-esac
3578
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3579
-  (eval "$ac_link") 2>conftest.er1
3580
-  ac_status=$?
3581
-  grep -v '^ *+' conftest.er1 >conftest.err
3582
-  rm -f conftest.er1
3583
-  cat conftest.err >&5
3584
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585
-  (exit $ac_status); } && {
3586
-	 test -z "$ac_c_werror_flag" ||
3587
-	 test ! -s conftest.err
3588
-       } && test -s conftest$ac_exeext &&
3589
-       $as_test_x conftest$ac_exeext; then
3572
+if ac_fn_c_try_link "$LINENO"; then :
3590 3573
   ac_cv_lib_nsl_inet_addr=yes
3591 3574
 else
3592
-  echo "$as_me: failed program was:" >&5
3593
-sed 's/^/| /' conftest.$ac_ext >&5
3594
-
3595
-	ac_cv_lib_nsl_inet_addr=no
3575
+  ac_cv_lib_nsl_inet_addr=no
3596 3576
 fi
3597
-
3598
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3599
-      conftest$ac_exeext conftest.$ac_ext
3577
+rm -f core conftest.err conftest.$ac_objext \
3578
+    conftest$ac_exeext conftest.$ac_ext
3600 3579
 LIBS=$ac_check_lib_save_LIBS
3601 3580
 fi
3602
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
3603
-echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
3604
-if test $ac_cv_lib_nsl_inet_addr = yes; then
3581
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
3582
+$as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
3583
+if test "x$ac_cv_lib_nsl_inet_addr" = x""yes; then :
3605 3584
   cat >>confdefs.h <<_ACEOF
3606 3585
 #define HAVE_LIBNSL 1
3607 3586
 _ACEOF
... ...
@@ -3612,261 +3948,20 @@ fi
3612 3612
 
3613 3613
 
3614 3614
 # Checks for header files.
3615
-
3616
-
3617
-
3618
-
3619
-
3620
-ac_header_dirent=no
3621
-for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3622
-  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3623
-{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3624
-echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
3625
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3626
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3627
-else
3628
-  cat >conftest.$ac_ext <<_ACEOF
3629
-/* confdefs.h.  */
3630
-_ACEOF
3631
-cat confdefs.h >>conftest.$ac_ext
3632
-cat >>conftest.$ac_ext <<_ACEOF
3633
-/* end confdefs.h.  */
3634
-#include <sys/types.h>
3635
-#include <$ac_hdr>
3636
-
3637
-int
3638
-main ()
3639
-{
3640
-if ((DIR *) 0)
3641
-return 0;
3642
-  ;
3643
-  return 0;
3644
-}
3645
-_ACEOF
3646
-rm -f conftest.$ac_objext
3647
-if { (ac_try="$ac_compile"
3648
-case "(($ac_try" in
3649
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650
-  *) ac_try_echo=$ac_try;;
3651
-esac
3652
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3653
-  (eval "$ac_compile") 2>conftest.er1
3654
-  ac_status=$?
3655
-  grep -v '^ *+' conftest.er1 >conftest.err
3656
-  rm -f conftest.er1
3657
-  cat conftest.err >&5
3658
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659
-  (exit $ac_status); } && {
3660
-	 test -z "$ac_c_werror_flag" ||
3661
-	 test ! -s conftest.err
3662
-       } && test -s conftest.$ac_objext; then
3663
-  eval "$as_ac_Header=yes"
3664
-else
3665
-  echo "$as_me: failed program was:" >&5
3666
-sed 's/^/| /' conftest.$ac_ext >&5
3667
-
3668
-	eval "$as_ac_Header=no"
3669
-fi
3670
-
3671
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3672
-fi
3673
-ac_res=`eval echo '${'$as_ac_Header'}'`
3674
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
3675
-echo "${ECHO_T}$ac_res" >&6; }
3676
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
3677
-  cat >>confdefs.h <<_ACEOF
3678
-#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3679
-_ACEOF
3680
-
3681
-ac_header_dirent=$ac_hdr; break
3682
-fi
3683
-
3684
-done
3685
-# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3686
-if test $ac_header_dirent = dirent.h; then
3687
-  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3688
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3689
-if test "${ac_cv_search_opendir+set}" = set; then
3690
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3691
-else
3692
-  ac_func_search_save_LIBS=$LIBS
3693
-cat >conftest.$ac_ext <<_ACEOF
3694
-/* confdefs.h.  */
3695
-_ACEOF
3696
-cat confdefs.h >>conftest.$ac_ext
3697
-cat >>conftest.$ac_ext <<_ACEOF
3698
-/* end confdefs.h.  */
3699
-
3700
-/* Override any GCC internal prototype to avoid an error.
3701
-   Use char because int might match the return type of a GCC
3702
-   builtin and then its argument prototype would still apply.  */
3703
-#ifdef __cplusplus
3704
-extern "C"
3705
-#endif
3706
-char opendir ();
3707
-int
3708
-main ()
3709
-{
3710
-return opendir ();
3711
-  ;
3712
-  return 0;
3713
-}
3714
-_ACEOF
3715
-for ac_lib in '' dir; do
3716
-  if test -z "$ac_lib"; then
3717
-    ac_res="none required"
3718
-  else
3719
-    ac_res=-l$ac_lib
3720
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3721
-  fi
3722
-  rm -f conftest.$ac_objext conftest$ac_exeext
3723
-if { (ac_try="$ac_link"
3724
-case "(($ac_try" in
3725
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726
-  *) ac_try_echo=$ac_try;;
3727
-esac
3728
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3729
-  (eval "$ac_link") 2>conftest.er1
3730
-  ac_status=$?
3731
-  grep -v '^ *+' conftest.er1 >conftest.err
3732
-  rm -f conftest.er1
3733
-  cat conftest.err >&5
3734
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735
-  (exit $ac_status); } && {
3736
-	 test -z "$ac_c_werror_flag" ||
3737
-	 test ! -s conftest.err
3738
-       } && test -s conftest$ac_exeext &&
3739
-       $as_test_x conftest$ac_exeext; then
3740
-  ac_cv_search_opendir=$ac_res
3741
-else
3742
-  echo "$as_me: failed program was:" >&5
3743
-sed 's/^/| /' conftest.$ac_ext >&5
3744
-
3745
-
3746
-fi
3747
-
3748
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3749
-      conftest$ac_exeext
3750
-  if test "${ac_cv_search_opendir+set}" = set; then
3751
-  break
3752
-fi
3753
-done
3754
-if test "${ac_cv_search_opendir+set}" = set; then
3755
-  :
3756
-else
3757
-  ac_cv_search_opendir=no
3758
-fi
3759
-rm conftest.$ac_ext
3760
-LIBS=$ac_func_search_save_LIBS
3761
-fi
3762
-{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3763
-echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3764
-ac_res=$ac_cv_search_opendir
3765
-if test "$ac_res" != no; then
3766
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3767
-
3768
-fi
3769
-
3770
-else
3771
-  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3772
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3773
-if test "${ac_cv_search_opendir+set}" = set; then
3774
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3775
-else
3776
-  ac_func_search_save_LIBS=$LIBS
3777
-cat >conftest.$ac_ext <<_ACEOF
3778
-/* confdefs.h.  */
3779
-_ACEOF
3780
-cat confdefs.h >>conftest.$ac_ext
3781
-cat >>conftest.$ac_ext <<_ACEOF
3782
-/* end confdefs.h.  */
3783
-
3784
-/* Override any GCC internal prototype to avoid an error.
3785
-   Use char because int might match the return type of a GCC
3786
-   builtin and then its argument prototype would still apply.  */
3787
-#ifdef __cplusplus
3788
-extern "C"
3789
-#endif
3790
-char opendir ();
3791
-int
3792
-main ()
3793
-{
3794
-return opendir ();
3795
-  ;
3796
-  return 0;
3797
-}
3798
-_ACEOF
3799
-for ac_lib in '' x; do
3800
-  if test -z "$ac_lib"; then
3801
-    ac_res="none required"
3802
-  else
3803
-    ac_res=-l$ac_lib
3804
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3805
-  fi
3806
-  rm -f conftest.$ac_objext conftest$ac_exeext
3807
-if { (ac_try="$ac_link"
3808
-case "(($ac_try" in
3809
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810
-  *) ac_try_echo=$ac_try;;
3811
-esac
3812
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3813
-  (eval "$ac_link") 2>conftest.er1
3814
-  ac_status=$?
3815
-  grep -v '^ *+' conftest.er1 >conftest.err
3816
-  rm -f conftest.er1
3817
-  cat conftest.err >&5
3818
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819
-  (exit $ac_status); } && {
3820
-	 test -z "$ac_c_werror_flag" ||
3821
-	 test ! -s conftest.err
3822
-       } && test -s conftest$ac_exeext &&
3823
-       $as_test_x conftest$ac_exeext; then
3824
-  ac_cv_search_opendir=$ac_res
3825
-else
3826
-  echo "$as_me: failed program was:" >&5
3827
-sed 's/^/| /' conftest.$ac_ext >&5
3828
-
3829
-
3830
-fi
3831
-
3832
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3833
-      conftest$ac_exeext
3834
-  if test "${ac_cv_search_opendir+set}" = set; then
3835
-  break
3836
-fi
3837
-done
3838
-if test "${ac_cv_search_opendir+set}" = set; then
3839
-  :
3840
-else
3841
-  ac_cv_search_opendir=no
3842
-fi
3843
-rm conftest.$ac_ext
3844
-LIBS=$ac_func_search_save_LIBS
3845
-fi
3846
-{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3847
-echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3848
-ac_res=$ac_cv_search_opendir
3849
-if test "$ac_res" != no; then
3850
-  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3851
-
3852
-fi
3853
-
3854
-fi
3855
-
3856 3615
 ac_ext=c
3857 3616
 ac_cpp='$CPP $CPPFLAGS'
3858 3617
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3859 3618
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3860 3619
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3861
-{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3862
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3620
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3621
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
3863 3622
 # On Suns, sometimes $CPP names a directory.
3864 3623
 if test -n "$CPP" && test -d "$CPP"; then
3865 3624
   CPP=
3866 3625
 fi
3867 3626
 if test -z "$CPP"; then
3868
-  if test "${ac_cv_prog_CPP+set}" = set; then
3869
-  echo $ECHO_N "(cached) $ECHO_C" >&6
3627
+  if test "${ac_cv_prog_CPP+set}" = set; then :
3628
+  $as_echo_n "(cached) " >&6
3870 3629
 else
3871 3630
       # Double quotes because CPP needs to be expanded
3872 3631
     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
... ...
@@ -3880,11 +3975,7 @@ do
3880 3880
   # <limits.h> exists even on freestanding compilers.
3881 3881
   # On the NeXT, cc -E runs the code through the compiler's parser,
3882 3882
   # not just through cpp. "Syntax error" is here to catch this case.
3883
-  cat >conftest.$ac_ext <<_ACEOF
3884
-/* confdefs.h.  */
3885
-_ACEOF
3886
-cat confdefs.h >>conftest.$ac_ext
3887
-cat >>conftest.$ac_ext <<_ACEOF
3883
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 3884
 /* end confdefs.h.  */
3889 3885
 #ifdef __STDC__
3890 3886
 # include <limits.h>
... ...
@@ -3893,76 +3984,34 @@ cat >>conftest.$ac_ext <<_ACEOF
3893 3893
 #endif
3894 3894
 		     Syntax error
3895 3895
 _ACEOF
3896
-if { (ac_try="$ac_cpp conftest.$ac_ext"
3897
-case "(($ac_try" in
3898
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3899
-  *) ac_try_echo=$ac_try;;
3900
-esac
3901
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3902
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3903
-  ac_status=$?
3904
-  grep -v '^ *+' conftest.er1 >conftest.err
3905
-  rm -f conftest.er1
3906
-  cat conftest.err >&5
3907
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908
-  (exit $ac_status); } >/dev/null && {
3909
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3910
-	 test ! -s conftest.err
3911
-       }; then
3912
-  :
3913
-else
3914
-  echo "$as_me: failed program was:" >&5
3915
-sed 's/^/| /' conftest.$ac_ext >&5
3896
+if ac_fn_c_try_cpp "$LINENO"; then :
3916 3897
 
3898
+else
3917 3899
   # Broken: fails on valid input.
3918 3900
 continue
3919 3901
 fi
3920
-
3921
-rm -f conftest.err conftest.$ac_ext
3902
+rm -f conftest.err conftest.i conftest.$ac_ext
3922 3903
 
3923 3904
   # OK, works on sane cases.  Now check whether nonexistent headers
3924 3905
   # can be detected and how.
3925
-  cat >conftest.$ac_ext <<_ACEOF
3926
-/* confdefs.h.  */
3927
-_ACEOF
3928
-cat confdefs.h >>conftest.$ac_ext
3929
-cat >>conftest.$ac_ext <<_ACEOF
3906
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930 3907
 /* end confdefs.h.  */
3931 3908
 #include <ac_nonexistent.h>
3932 3909
 _ACEOF
3933
-if { (ac_try="$ac_cpp conftest.$ac_ext"
3934
-case "(($ac_try" in
3935
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936
-  *) ac_try_echo=$ac_try;;
3937
-esac
3938
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3939
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3940
-  ac_status=$?
3941
-  grep -v '^ *+' conftest.er1 >conftest.err
3942
-  rm -f conftest.er1
3943
-  cat conftest.err >&5
3944
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945
-  (exit $ac_status); } >/dev/null && {
3946
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3947
-	 test ! -s conftest.err
3948
-       }; then
3910
+if ac_fn_c_try_cpp "$LINENO"; then :
3949 3911
   # Broken: success on invalid input.
3950 3912
 continue
3951 3913
 else
3952
-  echo "$as_me: failed program was:" >&5
3953
-sed 's/^/| /' conftest.$ac_ext >&5
3954
-
3955 3914
   # Passes both tests.
3956 3915
 ac_preproc_ok=:
3957 3916
 break
3958 3917
 fi
3959
-
3960
-rm -f conftest.err conftest.$ac_ext
3918
+rm -f conftest.err conftest.i conftest.$ac_ext
3961 3919
 
3962 3920
 done
3963 3921
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3964
-rm -f conftest.err conftest.$ac_ext
3965
-if $ac_preproc_ok; then
3922
+rm -f conftest.i conftest.err conftest.$ac_ext
3923
+if $ac_preproc_ok; then :
3966 3924
   break
3967 3925
 fi
3968 3926
 
... ...
@@ -3974,8 +4023,8 @@ fi
3974 3974
 else
3975 3975
   ac_cv_prog_CPP=$CPP
3976 3976
 fi
3977
-{ echo "$as_me:$LINENO: result: $CPP" >&5
3978
-echo "${ECHO_T}$CPP" >&6; }
3977
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3978
+$as_echo "$CPP" >&6; }
3979 3979
 ac_preproc_ok=false
3980 3980
 for ac_c_preproc_warn_flag in '' yes
3981 3981
 do
... ...
@@ -3985,11 +4034,7 @@ do
3985 3985
   # <limits.h> exists even on freestanding compilers.
3986 3986
   # On the NeXT, cc -E runs the code through the compiler's parser,
3987 3987
   # not just through cpp. "Syntax error" is here to catch this case.
3988
-  cat >conftest.$ac_ext <<_ACEOF
3989
-/* confdefs.h.  */
3990
-_ACEOF
3991
-cat confdefs.h >>conftest.$ac_ext
3992
-cat >>conftest.$ac_ext <<_ACEOF
3988
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993 3989
 /* end confdefs.h.  */
3994 3990
 #ifdef __STDC__
3995 3991
 # include <limits.h>
... ...
@@ -3998,83 +4043,40 @@ cat >>conftest.$ac_ext <<_ACEOF
3998 3998
 #endif
3999 3999
 		     Syntax error
4000 4000
 _ACEOF
4001
-if { (ac_try="$ac_cpp conftest.$ac_ext"
4002
-case "(($ac_try" in
4003
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004
-  *) ac_try_echo=$ac_try;;
4005
-esac
4006
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4008
-  ac_status=$?
4009
-  grep -v '^ *+' conftest.er1 >conftest.err
4010
-  rm -f conftest.er1
4011
-  cat conftest.err >&5
4012
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013
-  (exit $ac_status); } >/dev/null && {
4014
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4015
-	 test ! -s conftest.err
4016
-       }; then
4017
-  :
4018
-else
4019
-  echo "$as_me: failed program was:" >&5
4020
-sed 's/^/| /' conftest.$ac_ext >&5
4001
+if ac_fn_c_try_cpp "$LINENO"; then :
4021 4002
 
4003
+else
4022 4004
   # Broken: fails on valid input.
4023 4005
 continue
4024 4006
 fi
4025
-
4026
-rm -f conftest.err conftest.$ac_ext
4007
+rm -f conftest.err conftest.i conftest.$ac_ext
4027 4008
 
4028 4009
   # OK, works on sane cases.  Now check whether nonexistent headers
4029 4010
   # can be detected and how.
4030
-  cat >conftest.$ac_ext <<_ACEOF
4031
-/* confdefs.h.  */
4032
-_ACEOF
4033
-cat confdefs.h >>conftest.$ac_ext
4034
-cat >>conftest.$ac_ext <<_ACEOF
4011
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 4012
 /* end confdefs.h.  */
4036 4013
 #include <ac_nonexistent.h>
4037 4014
 _ACEOF
4038
-if { (ac_try="$ac_cpp conftest.$ac_ext"
4039
-case "(($ac_try" in
4040
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041
-  *) ac_try_echo=$ac_try;;
4042
-esac
4043
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4044
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4045
-  ac_status=$?
4046
-  grep -v '^ *+' conftest.er1 >conftest.err
4047
-  rm -f conftest.er1
4048
-  cat conftest.err >&5
4049
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050
-  (exit $ac_status); } >/dev/null && {
4051
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4052
-	 test ! -s conftest.err
4053
-       }; then
4015
+if ac_fn_c_try_cpp "$LINENO"; then :
4054 4016
   # Broken: success on invalid input.
4055 4017
 continue
4056 4018
 else
4057
-  echo "$as_me: failed program was:" >&5
4058
-sed 's/^/| /' conftest.$ac_ext >&5
4059
-
4060 4019
   # Passes both tests.
4061 4020
 ac_preproc_ok=:
4062 4021
 break
4063 4022
 fi
4064
-
4065
-rm -f conftest.err conftest.$ac_ext
4023
+rm -f conftest.err conftest.i conftest.$ac_ext
4066 4024
 
4067 4025
 done
4068 4026
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4069
-rm -f conftest.err conftest.$ac_ext
4070
-if $ac_preproc_ok; then
4071
-  :
4027
+rm -f conftest.i conftest.err conftest.$ac_ext
4028
+if $ac_preproc_ok; then :
4029
+
4072 4030
 else
4073
-  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4074
-See \`config.log' for more details." >&5
4075
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4076
-See \`config.log' for more details." >&2;}
4077
-   { (exit 1); exit 1; }; }
4031
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4032
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4033
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4034
+See \`config.log' for more details" "$LINENO" 5 ; }
4078 4035
 fi
4079 4036
 
4080 4037
 ac_ext=c
... ...
@@ -4084,45 +4086,40 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
4084 4084
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4085 4085
 
4086 4086
 
4087
-{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4088
-echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4089
-if test "${ac_cv_path_GREP+set}" = set; then
4090
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4091
-else
4092
-  # Extract the first word of "grep ggrep" to use in msg output
4093
-if test -z "$GREP"; then
4094
-set dummy grep ggrep; ac_prog_name=$2
4095
-if test "${ac_cv_path_GREP+set}" = set; then
4096
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4087
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4088
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4089
+if test "${ac_cv_path_GREP+set}" = set; then :
4090
+  $as_echo_n "(cached) " >&6
4097 4091
 else
4092
+  if test -z "$GREP"; then
4098 4093
   ac_path_GREP_found=false
4099
-# Loop through the user's path and test for each of PROGNAME-LIST
4100
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094
+  # Loop through the user's path and test for each of PROGNAME-LIST
4095
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4101 4096
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4102 4097
 do
4103 4098
   IFS=$as_save_IFS
4104 4099
   test -z "$as_dir" && as_dir=.
4105
-  for ac_prog in grep ggrep; do
4106
-  for ac_exec_ext in '' $ac_executable_extensions; do
4107
-    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4108
-    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4109
-    # Check for GNU ac_path_GREP and select it if it is found.
4100
+    for ac_prog in grep ggrep; do
4101
+    for ac_exec_ext in '' $ac_executable_extensions; do
4102
+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4103
+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4104
+# Check for GNU ac_path_GREP and select it if it is found.
4110 4105
   # Check for GNU $ac_path_GREP
4111 4106
 case `"$ac_path_GREP" --version 2>&1` in
4112 4107
 *GNU*)
4113 4108
   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4114 4109
 *)
4115 4110
   ac_count=0
4116
-  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4111
+  $as_echo_n 0123456789 >"conftest.in"
4117 4112
   while :
4118 4113
   do
4119 4114
     cat "conftest.in" "conftest.in" >"conftest.tmp"
4120 4115
     mv "conftest.tmp" "conftest.in"
4121 4116
     cp "conftest.in" "conftest.nl"
4122
-    echo 'GREP' >> "conftest.nl"
4117
+    $as_echo 'GREP' >> "conftest.nl"
4123 4118
     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4124 4119
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4125
-    ac_count=`expr $ac_count + 1`
4120
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
4126 4121
     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4127 4122
       # Best one so far, save it but keep looking for a better one
4128 4123
       ac_cv_path_GREP="$ac_path_GREP"
... ...
@@ -4134,77 +4131,61 @@ case `"$ac_path_GREP" --version 2>&1` in
4134 4134
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4135 4135
 esac
4136 4136
 
4137
-
4138
-    $ac_path_GREP_found && break 3
4137
+      $ac_path_GREP_found && break 3
4138
+    done
4139
+  done
4139 4140
   done
4140
-done
4141
-
4142
-done
4143 4141
 IFS=$as_save_IFS
4144
-
4145
-
4146
-fi
4147
-
4148
-GREP="$ac_cv_path_GREP"
4149
-if test -z "$GREP"; then
4150
-  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4151
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4152
-   { (exit 1); exit 1; }; }
4153
-fi
4154
-
4142
+  if test -z "$ac_cv_path_GREP"; then
4143
+    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4144
+  fi
4155 4145
 else
4156 4146
   ac_cv_path_GREP=$GREP
4157 4147
 fi
4158 4148
 
4159
-
4160 4149
 fi
4161
-{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4162
-echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4150
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4151
+$as_echo "$ac_cv_path_GREP" >&6; }
4163 4152
  GREP="$ac_cv_path_GREP"
4164 4153
 
4165 4154
 
4166
-{ echo "$as_me:$LINENO: checking for egrep" >&5
4167
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4168
-if test "${ac_cv_path_EGREP+set}" = set; then
4169
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4155
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4156
+$as_echo_n "checking for egrep... " >&6; }
4157
+if test "${ac_cv_path_EGREP+set}" = set; then :
4158
+  $as_echo_n "(cached) " >&6
4170 4159
 else
4171 4160
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4172 4161
    then ac_cv_path_EGREP="$GREP -E"
4173 4162
    else
4174
-     # Extract the first word of "egrep" to use in msg output
4175
-if test -z "$EGREP"; then
4176
-set dummy egrep; ac_prog_name=$2
4177
-if test "${ac_cv_path_EGREP+set}" = set; then
4178
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4179
-else
4163
+     if test -z "$EGREP"; then
4180 4164
   ac_path_EGREP_found=false
4181
-# Loop through the user's path and test for each of PROGNAME-LIST
4182
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165
+  # Loop through the user's path and test for each of PROGNAME-LIST
4166
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4183 4167
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4184 4168
 do
4185 4169
   IFS=$as_save_IFS
4186 4170
   test -z "$as_dir" && as_dir=.
4187
-  for ac_prog in egrep; do
4188
-  for ac_exec_ext in '' $ac_executable_extensions; do
4189
-    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4190
-    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4191
-    # Check for GNU ac_path_EGREP and select it if it is found.
4171
+    for ac_prog in egrep; do
4172
+    for ac_exec_ext in '' $ac_executable_extensions; do
4173
+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4174
+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4175
+# Check for GNU ac_path_EGREP and select it if it is found.
4192 4176
   # Check for GNU $ac_path_EGREP
4193 4177
 case `"$ac_path_EGREP" --version 2>&1` in
4194 4178
 *GNU*)
4195 4179
   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4196 4180
 *)
4197 4181
   ac_count=0
4198
-  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4182
+  $as_echo_n 0123456789 >"conftest.in"
4199 4183
   while :
4200 4184
   do
4201 4185
     cat "conftest.in" "conftest.in" >"conftest.tmp"
4202 4186
     mv "conftest.tmp" "conftest.in"
4203 4187
     cp "conftest.in" "conftest.nl"
4204
-    echo 'EGREP' >> "conftest.nl"
4188
+    $as_echo 'EGREP' >> "conftest.nl"
4205 4189
     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4206 4190
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4207
-    ac_count=`expr $ac_count + 1`
4191
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
4208 4192
     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4209 4193
       # Best one so far, save it but keep looking for a better one
4210 4194
       ac_cv_path_EGREP="$ac_path_EGREP"
... ...
@@ -4216,46 +4197,31 @@ case `"$ac_path_EGREP" --version 2>&1` in
4216 4216
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4217 4217
 esac
4218 4218
 
4219
-
4220
-    $ac_path_EGREP_found && break 3
4219
+      $ac_path_EGREP_found && break 3
4220
+    done
4221
+  done
4221 4222
   done
4222
-done
4223
-
4224
-done
4225 4223
 IFS=$as_save_IFS
4226
-
4227
-
4228
-fi
4229
-
4230
-EGREP="$ac_cv_path_EGREP"
4231
-if test -z "$EGREP"; then
4232
-  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4233
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4234
-   { (exit 1); exit 1; }; }
4235
-fi
4236
-
4224
+  if test -z "$ac_cv_path_EGREP"; then
4225
+    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4226
+  fi
4237 4227
 else
4238 4228
   ac_cv_path_EGREP=$EGREP
4239 4229
 fi
4240 4230
 
4241
-
4242 4231
    fi
4243 4232
 fi
4244
-{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4245
-echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4233
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4234
+$as_echo "$ac_cv_path_EGREP" >&6; }
4246 4235
  EGREP="$ac_cv_path_EGREP"
4247 4236
 
4248 4237
 
4249
-{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4250
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4251
-if test "${ac_cv_header_stdc+set}" = set; then
4252
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4238
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4239
+$as_echo_n "checking for ANSI C header files... " >&6; }
4240
+if test "${ac_cv_header_stdc+set}" = set; then :
4241
+  $as_echo_n "(cached) " >&6
4253 4242
 else
4254
-  cat >conftest.$ac_ext <<_ACEOF
4255
-/* confdefs.h.  */
4256
-_ACEOF
4257
-cat confdefs.h >>conftest.$ac_ext
4258
-cat >>conftest.$ac_ext <<_ACEOF
4243
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 4244
 /* end confdefs.h.  */
4260 4245
 #include <stdlib.h>
4261 4246
 #include <stdarg.h>
... ...
@@ -4270,47 +4236,23 @@ main ()
4270 4270
   return 0;
4271 4271
 }
4272 4272
 _ACEOF
4273
-rm -f conftest.$ac_objext
4274
-if { (ac_try="$ac_compile"
4275
-case "(($ac_try" in
4276
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4277
-  *) ac_try_echo=$ac_try;;
4278
-esac
4279
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4280
-  (eval "$ac_compile") 2>conftest.er1
4281
-  ac_status=$?
4282
-  grep -v '^ *+' conftest.er1 >conftest.err
4283
-  rm -f conftest.er1
4284
-  cat conftest.err >&5
4285
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286
-  (exit $ac_status); } && {
4287
-	 test -z "$ac_c_werror_flag" ||
4288
-	 test ! -s conftest.err
4289
-       } && test -s conftest.$ac_objext; then
4273
+if ac_fn_c_try_compile "$LINENO"; then :
4290 4274
   ac_cv_header_stdc=yes
4291 4275
 else
4292
-  echo "$as_me: failed program was:" >&5
4293
-sed 's/^/| /' conftest.$ac_ext >&5
4294
-
4295
-	ac_cv_header_stdc=no
4276
+  ac_cv_header_stdc=no
4296 4277
 fi
4297
-
4298 4278
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4299 4279
 
4300 4280
 if test $ac_cv_header_stdc = yes; then
4301 4281
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4302
-  cat >conftest.$ac_ext <<_ACEOF
4303
-/* confdefs.h.  */
4304
-_ACEOF
4305
-cat confdefs.h >>conftest.$ac_ext
4306
-cat >>conftest.$ac_ext <<_ACEOF
4282
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 4283
 /* end confdefs.h.  */
4308 4284
 #include <string.h>
4309 4285
 
4310 4286
 _ACEOF
4311 4287
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4312
-  $EGREP "memchr" >/dev/null 2>&1; then
4313
-  :
4288
+  $EGREP "memchr" >/dev/null 2>&1; then :
4289
+
4314 4290
 else
4315 4291
   ac_cv_header_stdc=no
4316 4292
 fi
... ...
@@ -4320,18 +4262,14 @@ fi
4320 4320
 
4321 4321
 if test $ac_cv_header_stdc = yes; then
4322 4322
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4323
-  cat >conftest.$ac_ext <<_ACEOF
4324
-/* confdefs.h.  */
4325
-_ACEOF
4326
-cat confdefs.h >>conftest.$ac_ext
4327
-cat >>conftest.$ac_ext <<_ACEOF
4323
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 4324
 /* end confdefs.h.  */
4329 4325
 #include <stdlib.h>
4330 4326
 
4331 4327
 _ACEOF
4332 4328
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4333
-  $EGREP "free" >/dev/null 2>&1; then
4334
-  :
4329
+  $EGREP "free" >/dev/null 2>&1; then :
4330
+
4335 4331
 else
4336 4332
   ac_cv_header_stdc=no
4337 4333
 fi
... ...
@@ -4341,14 +4279,10 @@ fi
4341 4341
 
4342 4342
 if test $ac_cv_header_stdc = yes; then
4343 4343
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4344
-  if test "$cross_compiling" = yes; then
4344
+  if test "$cross_compiling" = yes; then :
4345 4345
   :
4346 4346
 else
4347
-  cat >conftest.$ac_ext <<_ACEOF
4348
-/* confdefs.h.  */
4349
-_ACEOF
4350
-cat confdefs.h >>conftest.$ac_ext
4351
-cat >>conftest.$ac_ext <<_ACEOF
4347
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 4348
 /* end confdefs.h.  */
4353 4349
 #include <ctype.h>
4354 4350
 #include <stdlib.h>
... ...
@@ -4375,113 +4309,35 @@ main ()
4375 4375
   return 0;
4376 4376
 }
4377 4377
 _ACEOF
4378
-rm -f conftest$ac_exeext
4379
-if { (ac_try="$ac_link"
4380
-case "(($ac_try" in
4381
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4382
-  *) ac_try_echo=$ac_try;;
4383
-esac
4384
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4385
-  (eval "$ac_link") 2>&5
4386
-  ac_status=$?
4387
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4389
-  { (case "(($ac_try" in
4390
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391
-  *) ac_try_echo=$ac_try;;
4392
-esac
4393
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4394
-  (eval "$ac_try") 2>&5
4395
-  ac_status=$?
4396
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397
-  (exit $ac_status); }; }; then
4398
-  :
4399
-else
4400
-  echo "$as_me: program exited with status $ac_status" >&5
4401
-echo "$as_me: failed program was:" >&5
4402
-sed 's/^/| /' conftest.$ac_ext >&5
4378
+if ac_fn_c_try_run "$LINENO"; then :
4403 4379
 
4404
-( exit $ac_status )
4405
-ac_cv_header_stdc=no
4380
+else
4381
+  ac_cv_header_stdc=no
4406 4382
 fi
4407
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4383
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4384
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
4408 4385
 fi
4409 4386
 
4410
-
4411 4387
 fi
4412 4388
 fi
4413
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4414
-echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4389
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4390
+$as_echo "$ac_cv_header_stdc" >&6; }
4415 4391
 if test $ac_cv_header_stdc = yes; then
4416 4392
 
4417
-cat >>confdefs.h <<\_ACEOF
4418
-#define STDC_HEADERS 1
4419
-_ACEOF
4393
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4420 4394
 
4421 4395
 fi
4422 4396
 
4423 4397
 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4424
-
4425
-
4426
-
4427
-
4428
-
4429
-
4430
-
4431
-
4432
-
4433 4398
 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4434 4399
 		  inttypes.h stdint.h unistd.h
4435
-do
4436
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4437
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4438
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4439
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4440
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4441
-else
4442
-  cat >conftest.$ac_ext <<_ACEOF
4443
-/* confdefs.h.  */
4444
-_ACEOF
4445
-cat confdefs.h >>conftest.$ac_ext
4446
-cat >>conftest.$ac_ext <<_ACEOF
4447
-/* end confdefs.h.  */
4448
-$ac_includes_default
4449
-
4450
-#include <$ac_header>
4451
-_ACEOF
4452
-rm -f conftest.$ac_objext
4453
-if { (ac_try="$ac_compile"
4454
-case "(($ac_try" in
4455
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4456
-  *) ac_try_echo=$ac_try;;
4457
-esac
4458
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4459
-  (eval "$ac_compile") 2>conftest.er1
4460
-  ac_status=$?
4461
-  grep -v '^ *+' conftest.er1 >conftest.err
4462
-  rm -f conftest.er1
4463
-  cat conftest.err >&5
4464
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465
-  (exit $ac_status); } && {
4466
-	 test -z "$ac_c_werror_flag" ||
4467
-	 test ! -s conftest.err
4468
-       } && test -s conftest.$ac_objext; then
4469
-  eval "$as_ac_Header=yes"
4470
-else
4471
-  echo "$as_me: failed program was:" >&5
4472
-sed 's/^/| /' conftest.$ac_ext >&5
4473
-
4474
-	eval "$as_ac_Header=no"
4475
-fi
4476
-
4477
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478
-fi
4479
-ac_res=`eval echo '${'$as_ac_Header'}'`
4480
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4481
-echo "${ECHO_T}$ac_res" >&6; }
4482
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
4400
+do :
4401
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4402
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4403
+"
4404
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4483 4405
   cat >>confdefs.h <<_ACEOF
4484
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4406
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4485 4407
 _ACEOF
4486 4408
 
4487 4409
 fi
... ...
@@ -4489,331 +4345,48 @@ fi
4489 4489
 done
4490 4490
 
4491 4491
 
4492
-
4493
-
4494
-for ac_header in openssl/md5.h openssl/blowfish.h
4495
-do
4496
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4497
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4498
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4499
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4500
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4501
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4502
-fi
4503
-ac_res=`eval echo '${'$as_ac_Header'}'`
4504
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4505
-echo "${ECHO_T}$ac_res" >&6; }
4506
-else
4507
-  # Is the header compilable?
4508
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4509
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4510
-cat >conftest.$ac_ext <<_ACEOF
4511
-/* confdefs.h.  */
4512
-_ACEOF
4513
-cat confdefs.h >>conftest.$ac_ext
4514
-cat >>conftest.$ac_ext <<_ACEOF
4515
-/* end confdefs.h.  */
4516
-$ac_includes_default
4517
-#include <$ac_header>
4518
-_ACEOF
4519
-rm -f conftest.$ac_objext
4520
-if { (ac_try="$ac_compile"
4521
-case "(($ac_try" in
4522
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523
-  *) ac_try_echo=$ac_try;;
4524
-esac
4525
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4526
-  (eval "$ac_compile") 2>conftest.er1
4527
-  ac_status=$?
4528
-  grep -v '^ *+' conftest.er1 >conftest.err
4529
-  rm -f conftest.er1
4530
-  cat conftest.err >&5
4531
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532
-  (exit $ac_status); } && {
4533
-	 test -z "$ac_c_werror_flag" ||
4534
-	 test ! -s conftest.err
4535
-       } && test -s conftest.$ac_objext; then
4536
-  ac_header_compiler=yes
4537
-else
4538
-  echo "$as_me: failed program was:" >&5
4539
-sed 's/^/| /' conftest.$ac_ext >&5
4540
-
4541
-	ac_header_compiler=no
4542
-fi
4543
-
4544
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4546
-echo "${ECHO_T}$ac_header_compiler" >&6; }
4547
-
4548
-# Is the header present?
4549
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4550
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4551
-cat >conftest.$ac_ext <<_ACEOF
4552
-/* confdefs.h.  */
4553
-_ACEOF
4554
-cat confdefs.h >>conftest.$ac_ext
4555
-cat >>conftest.$ac_ext <<_ACEOF
4556
-/* end confdefs.h.  */
4557
-#include <$ac_header>
4558
-_ACEOF
4559
-if { (ac_try="$ac_cpp conftest.$ac_ext"
4560
-case "(($ac_try" in
4561
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562
-  *) ac_try_echo=$ac_try;;
4563
-esac
4564
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4566
-  ac_status=$?
4567
-  grep -v '^ *+' conftest.er1 >conftest.err
4568
-  rm -f conftest.er1
4569
-  cat conftest.err >&5
4570
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571
-  (exit $ac_status); } >/dev/null && {
4572
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4573
-	 test ! -s conftest.err
4574
-       }; then
4575
-  ac_header_preproc=yes
4576
-else
4577
-  echo "$as_me: failed program was:" >&5
4578
-sed 's/^/| /' conftest.$ac_ext >&5
4579
-
4580
-  ac_header_preproc=no
4581
-fi
4582
-
4583
-rm -f conftest.err conftest.$ac_ext
4584
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4585
-echo "${ECHO_T}$ac_header_preproc" >&6; }
4586
-
4587
-# So?  What about this header?
4588
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4589
-  yes:no: )
4590
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4591
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4592
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4593
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4594
-    ac_header_preproc=yes
4595
-    ;;
4596
-  no:yes:* )
4597
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4598
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4599
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4600
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4601
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4602
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4603
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4604
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4605
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4606
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4607
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4608
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4609
-    ( cat <<\_ASBOX
4610
-## ------------------------------------ ##
4611
-## Report this to info-makuosan@klab.jp ##
4612
-## ------------------------------------ ##
4613
-_ASBOX
4614
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
4615
-    ;;
4616
-esac
4617
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4618
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4619
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4620
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4621
-else
4622
-  eval "$as_ac_Header=\$ac_header_preproc"
4623
-fi
4624
-ac_res=`eval echo '${'$as_ac_Header'}'`
4625
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4626
-echo "${ECHO_T}$ac_res" >&6; }
4627
-
4628
-fi
4629
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
4492
+for ac_header in arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h utime.h
4493
+do :
4494
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4495
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4496
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4630 4497
   cat >>confdefs.h <<_ACEOF
4631
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4498
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4632 4499
 _ACEOF
4633 4500
 
4634
-else
4635
-  { { echo "$as_me:$LINENO: error: Can't found openssl header file" >&5
4636
-echo "$as_me: error: Can't found openssl header file" >&2;}
4637
-   { (exit 1); exit 1; }; }
4638 4501
 fi
4639 4502
 
4640 4503
 done
4641 4504
 
4642
-
4643
-
4644
-
4645
-
4646
-
4647
-
4648
-
4649
-
4650
-
4651
-
4652
-
4653
-
4654
-
4655
-for ac_header in arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h utime.h
4656
-do
4657
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4658
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4659
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4660
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4661
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4662
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4663
-fi
4664
-ac_res=`eval echo '${'$as_ac_Header'}'`
4665
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4666
-echo "${ECHO_T}$ac_res" >&6; }
4667
-else
4668
-  # Is the header compilable?
4669
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4670
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4671
-cat >conftest.$ac_ext <<_ACEOF
4672
-/* confdefs.h.  */
4673
-_ACEOF
4674
-cat confdefs.h >>conftest.$ac_ext
4675
-cat >>conftest.$ac_ext <<_ACEOF
4676
-/* end confdefs.h.  */
4677
-$ac_includes_default
4678
-#include <$ac_header>
4679
-_ACEOF
4680
-rm -f conftest.$ac_objext
4681
-if { (ac_try="$ac_compile"
4682
-case "(($ac_try" in
4683
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4684
-  *) ac_try_echo=$ac_try;;
4685
-esac
4686
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4687
-  (eval "$ac_compile") 2>conftest.er1
4688
-  ac_status=$?
4689
-  grep -v '^ *+' conftest.er1 >conftest.err
4690
-  rm -f conftest.er1
4691
-  cat conftest.err >&5
4692
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693
-  (exit $ac_status); } && {
4694
-	 test -z "$ac_c_werror_flag" ||
4695
-	 test ! -s conftest.err
4696
-       } && test -s conftest.$ac_objext; then
4697
-  ac_header_compiler=yes
4698
-else
4699
-  echo "$as_me: failed program was:" >&5
4700
-sed 's/^/| /' conftest.$ac_ext >&5
4701
-
4702
-	ac_header_compiler=no
4703
-fi
4704
-
4705
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4706
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4707
-echo "${ECHO_T}$ac_header_compiler" >&6; }
4708
-
4709
-# Is the header present?
4710
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4711
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4712
-cat >conftest.$ac_ext <<_ACEOF
4713
-/* confdefs.h.  */
4714
-_ACEOF
4715
-cat confdefs.h >>conftest.$ac_ext
4716
-cat >>conftest.$ac_ext <<_ACEOF
4717
-/* end confdefs.h.  */
4718
-#include <$ac_header>
4719
-_ACEOF
4720
-if { (ac_try="$ac_cpp conftest.$ac_ext"
4721
-case "(($ac_try" in
4722
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723
-  *) ac_try_echo=$ac_try;;
4724
-esac
4725
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4727
-  ac_status=$?
4728
-  grep -v '^ *+' conftest.er1 >conftest.err
4729
-  rm -f conftest.er1
4730
-  cat conftest.err >&5
4731
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732
-  (exit $ac_status); } >/dev/null && {
4733
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4734
-	 test ! -s conftest.err
4735
-       }; then
4736
-  ac_header_preproc=yes
4737
-else
4738
-  echo "$as_me: failed program was:" >&5
4739
-sed 's/^/| /' conftest.$ac_ext >&5
4740
-
4741
-  ac_header_preproc=no
4742
-fi
4743
-
4744
-rm -f conftest.err conftest.$ac_ext
4745
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4746
-echo "${ECHO_T}$ac_header_preproc" >&6; }
4747
-
4748
-# So?  What about this header?
4749
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4750
-  yes:no: )
4751
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4752
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4753
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4754
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4755
-    ac_header_preproc=yes
4756
-    ;;
4757
-  no:yes:* )
4758
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4759
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4760
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4761
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4762
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4763
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4764
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4765
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4766
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4767
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4768
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4769
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4770
-    ( cat <<\_ASBOX
4771
-## ------------------------------------ ##
4772
-## Report this to info-makuosan@klab.jp ##
4773
-## ------------------------------------ ##
4774
-_ASBOX
4775
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
4776
-    ;;
4777
-esac
4778
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4779
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4780
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4781
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4782
-else
4783
-  eval "$as_ac_Header=\$ac_header_preproc"
4784
-fi
4785
-ac_res=`eval echo '${'$as_ac_Header'}'`
4786
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4787
-echo "${ECHO_T}$ac_res" >&6; }
4788
-
4789
-fi
4790
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
4505
+for ac_header in openssl/md5.h openssl/blowfish.h
4506
+do :
4507
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4508
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4509
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4791 4510
   cat >>confdefs.h <<_ACEOF
4792
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4511
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4793 4512
 _ACEOF
4794 4513
 
4514
+else
4515
+  as_fn_error $? "Can't found openssl header file" "$LINENO" 5
4795 4516
 fi
4796 4517
 
4797 4518
 done
4798 4519
 
4799 4520
 
4800 4521
 # Checks for typedefs, structures, and compiler characteristics.
4801
-{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
4802
-echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
4803
-if test "${ac_cv_type_uid_t+set}" = set; then
4804
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4522
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4523
+$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4524
+if test "${ac_cv_type_uid_t+set}" = set; then :
4525
+  $as_echo_n "(cached) " >&6
4805 4526
 else
4806
-  cat >conftest.$ac_ext <<_ACEOF
4807
-/* confdefs.h.  */
4808
-_ACEOF
4809
-cat confdefs.h >>conftest.$ac_ext
4810
-cat >>conftest.$ac_ext <<_ACEOF
4527
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 4528
 /* end confdefs.h.  */
4812 4529
 #include <sys/types.h>
4813 4530
 
4814 4531
 _ACEOF
4815 4532
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4816
-  $EGREP "uid_t" >/dev/null 2>&1; then
4533
+  $EGREP "uid_t" >/dev/null 2>&1; then :
4817 4534
   ac_cv_type_uid_t=yes
4818 4535
 else
4819 4536
   ac_cv_type_uid_t=no
... ...
@@ -4821,76 +4394,20 @@ fi
4821 4821
 rm -f conftest*
4822 4822
 
4823 4823
 fi
4824
-{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
4825
-echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
4824
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4825
+$as_echo "$ac_cv_type_uid_t" >&6; }
4826 4826
 if test $ac_cv_type_uid_t = no; then
4827 4827
 
4828
-cat >>confdefs.h <<\_ACEOF
4829
-#define uid_t int
4830
-_ACEOF
4828
+$as_echo "#define uid_t int" >>confdefs.h
4831 4829
 
4832 4830
 
4833
-cat >>confdefs.h <<\_ACEOF
4834
-#define gid_t int
4835
-_ACEOF
4831
+$as_echo "#define gid_t int" >>confdefs.h
4836 4832
 
4837 4833
 fi
4838 4834
 
4839
-{ echo "$as_me:$LINENO: checking for mode_t" >&5
4840
-echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
4841
-if test "${ac_cv_type_mode_t+set}" = set; then
4842
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4843
-else
4844
-  cat >conftest.$ac_ext <<_ACEOF
4845
-/* confdefs.h.  */
4846
-_ACEOF
4847
-cat confdefs.h >>conftest.$ac_ext
4848
-cat >>conftest.$ac_ext <<_ACEOF
4849
-/* end confdefs.h.  */
4850
-$ac_includes_default
4851
-typedef mode_t ac__type_new_;
4852
-int
4853
-main ()
4854
-{
4855
-if ((ac__type_new_ *) 0)
4856
-  return 0;
4857
-if (sizeof (ac__type_new_))
4858
-  return 0;
4859
-  ;
4860
-  return 0;
4861
-}
4862
-_ACEOF
4863
-rm -f conftest.$ac_objext
4864
-if { (ac_try="$ac_compile"
4865
-case "(($ac_try" in
4866
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4867
-  *) ac_try_echo=$ac_try;;
4868
-esac
4869
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4870
-  (eval "$ac_compile") 2>conftest.er1
4871
-  ac_status=$?
4872
-  grep -v '^ *+' conftest.er1 >conftest.err
4873
-  rm -f conftest.er1
4874
-  cat conftest.err >&5
4875
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876
-  (exit $ac_status); } && {
4877
-	 test -z "$ac_c_werror_flag" ||
4878
-	 test ! -s conftest.err
4879
-       } && test -s conftest.$ac_objext; then
4880
-  ac_cv_type_mode_t=yes
4881
-else
4882
-  echo "$as_me: failed program was:" >&5
4883
-sed 's/^/| /' conftest.$ac_ext >&5
4884
-
4885
-	ac_cv_type_mode_t=no
4886
-fi
4835
+ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
4836
+if test "x$ac_cv_type_mode_t" = x""yes; then :
4887 4837
 
4888
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4889
-fi
4890
-{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
4891
-echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
4892
-if test $ac_cv_type_mode_t = yes; then
4893
-  :
4894 4838
 else
4895 4839
 
4896 4840
 cat >>confdefs.h <<_ACEOF
... ...
@@ -4899,61 +4416,9 @@ _ACEOF
4899 4899
 
4900 4900
 fi
4901 4901
 
4902
-{ echo "$as_me:$LINENO: checking for off_t" >&5
4903
-echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
4904
-if test "${ac_cv_type_off_t+set}" = set; then
4905
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4906
-else
4907
-  cat >conftest.$ac_ext <<_ACEOF
4908
-/* confdefs.h.  */
4909
-_ACEOF
4910
-cat confdefs.h >>conftest.$ac_ext
4911
-cat >>conftest.$ac_ext <<_ACEOF
4912
-/* end confdefs.h.  */
4913
-$ac_includes_default
4914
-typedef off_t ac__type_new_;
4915
-int
4916
-main ()
4917
-{
4918
-if ((ac__type_new_ *) 0)
4919
-  return 0;
4920
-if (sizeof (ac__type_new_))
4921
-  return 0;
4922
-  ;
4923
-  return 0;
4924
-}
4925
-_ACEOF
4926
-rm -f conftest.$ac_objext
4927
-if { (ac_try="$ac_compile"
4928
-case "(($ac_try" in
4929
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4930
-  *) ac_try_echo=$ac_try;;
4931
-esac
4932
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4933
-  (eval "$ac_compile") 2>conftest.er1
4934
-  ac_status=$?
4935
-  grep -v '^ *+' conftest.er1 >conftest.err
4936
-  rm -f conftest.er1
4937
-  cat conftest.err >&5
4938
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939
-  (exit $ac_status); } && {
4940
-	 test -z "$ac_c_werror_flag" ||
4941
-	 test ! -s conftest.err
4942
-       } && test -s conftest.$ac_objext; then
4943
-  ac_cv_type_off_t=yes
4944
-else
4945
-  echo "$as_me: failed program was:" >&5
4946
-sed 's/^/| /' conftest.$ac_ext >&5
4902
+ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4903
+if test "x$ac_cv_type_off_t" = x""yes; then :
4947 4904
 
4948
-	ac_cv_type_off_t=no
4949
-fi
4950
-
4951
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4952
-fi
4953
-{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4954
-echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
4955
-if test $ac_cv_type_off_t = yes; then
4956
-  :
4957 4905
 else
4958 4906
 
4959 4907
 cat >>confdefs.h <<_ACEOF
... ...
@@ -4962,253 +4427,40 @@ _ACEOF
4962 4962
 
4963 4963
 fi
4964 4964
 
4965
-{ echo "$as_me:$LINENO: checking for ssize_t" >&5
4966
-echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
4967
-if test "${ac_cv_type_ssize_t+set}" = set; then
4968
-  echo $ECHO_N "(cached) $ECHO_C" >&6
4969
-else
4970
-  cat >conftest.$ac_ext <<_ACEOF
4971
-/* confdefs.h.  */
4972
-_ACEOF
4973
-cat confdefs.h >>conftest.$ac_ext
4974
-cat >>conftest.$ac_ext <<_ACEOF
4975
-/* end confdefs.h.  */
4976
-$ac_includes_default
4977
-typedef ssize_t ac__type_new_;
4978
-int
4979
-main ()
4980
-{
4981
-if ((ac__type_new_ *) 0)
4982
-  return 0;
4983
-if (sizeof (ac__type_new_))
4984
-  return 0;
4985
-  ;
4986
-  return 0;
4987
-}
4988
-_ACEOF
4989
-rm -f conftest.$ac_objext
4990
-if { (ac_try="$ac_compile"
4991
-case "(($ac_try" in
4992
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4993
-  *) ac_try_echo=$ac_try;;
4994
-esac
4995
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4996
-  (eval "$ac_compile") 2>conftest.er1
4997
-  ac_status=$?
4998
-  grep -v '^ *+' conftest.er1 >conftest.err
4999
-  rm -f conftest.er1
5000
-  cat conftest.err >&5
5001
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002
-  (exit $ac_status); } && {
5003
-	 test -z "$ac_c_werror_flag" ||
5004
-	 test ! -s conftest.err
5005
-       } && test -s conftest.$ac_objext; then
5006
-  ac_cv_type_ssize_t=yes
5007
-else
5008
-  echo "$as_me: failed program was:" >&5
5009
-sed 's/^/| /' conftest.$ac_ext >&5
4965
+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4966
+if test "x$ac_cv_type_size_t" = x""yes; then :
5010 4967
 
5011
-	ac_cv_type_ssize_t=no
5012
-fi
5013
-
5014
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015
-fi
5016
-{ echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
5017
-echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
5018
-if test $ac_cv_type_ssize_t = yes; then
5019
-  :
5020 4968
 else
5021 4969
 
5022 4970
 cat >>confdefs.h <<_ACEOF
5023
-#define ssize_t int
4971
+#define size_t unsigned int
5024 4972
 _ACEOF
5025 4973
 
5026 4974
 fi
5027 4975
 
5028
-{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5029
-echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5030
-if test "${ac_cv_header_time+set}" = set; then
5031
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5032
-else
5033
-  cat >conftest.$ac_ext <<_ACEOF
5034
-/* confdefs.h.  */
5035
-_ACEOF
5036
-cat confdefs.h >>conftest.$ac_ext
5037
-cat >>conftest.$ac_ext <<_ACEOF
5038
-/* end confdefs.h.  */
5039
-#include <sys/types.h>
5040
-#include <sys/time.h>
5041
-#include <time.h>
4976
+ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4977
+if test "x$ac_cv_type_ssize_t" = x""yes; then :
5042 4978
 
5043
-int
5044
-main ()
5045
-{
5046
-if ((struct tm *) 0)
5047
-return 0;
5048
-  ;
5049
-  return 0;
5050
-}
5051
-_ACEOF
5052
-rm -f conftest.$ac_objext
5053
-if { (ac_try="$ac_compile"
5054
-case "(($ac_try" in
5055
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056
-  *) ac_try_echo=$ac_try;;
5057
-esac
5058
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059
-  (eval "$ac_compile") 2>conftest.er1
5060
-  ac_status=$?
5061
-  grep -v '^ *+' conftest.er1 >conftest.err
5062
-  rm -f conftest.er1
5063
-  cat conftest.err >&5
5064
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065
-  (exit $ac_status); } && {
5066
-	 test -z "$ac_c_werror_flag" ||
5067
-	 test ! -s conftest.err
5068
-       } && test -s conftest.$ac_objext; then
5069
-  ac_cv_header_time=yes
5070 4979
 else
5071
-  echo "$as_me: failed program was:" >&5
5072
-sed 's/^/| /' conftest.$ac_ext >&5
5073
-
5074
-	ac_cv_header_time=no
5075
-fi
5076
-
5077
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5078
-fi
5079
-{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5080
-echo "${ECHO_T}$ac_cv_header_time" >&6; }
5081
-if test $ac_cv_header_time = yes; then
5082 4980
 
5083
-cat >>confdefs.h <<\_ACEOF
5084
-#define TIME_WITH_SYS_TIME 1
4981
+cat >>confdefs.h <<_ACEOF
4982
+#define ssize_t int
5085 4983
 _ACEOF
5086 4984
 
5087 4985
 fi
5088 4986
 
5089
-{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5090
-echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
5091
-if test "${ac_cv_struct_tm+set}" = set; then
5092
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5093
-else
5094
-  cat >conftest.$ac_ext <<_ACEOF
5095
-/* confdefs.h.  */
5096
-_ACEOF
5097
-cat confdefs.h >>conftest.$ac_ext
5098
-cat >>conftest.$ac_ext <<_ACEOF
5099
-/* end confdefs.h.  */
5100
-#include <sys/types.h>
5101
-#include <time.h>
4987
+ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
4988
+if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
5102 4989
 
5103
-int
5104
-main ()
5105
-{
5106
-struct tm tm;
5107
-				     int *p = &tm.tm_sec;
5108
- 				     return !p;
5109
-  ;
5110
-  return 0;
5111
-}
4990
+cat >>confdefs.h <<_ACEOF
4991
+#define HAVE_STRUCT_STAT_ST_RDEV 1
5112 4992
 _ACEOF
5113
-rm -f conftest.$ac_objext
5114
-if { (ac_try="$ac_compile"
5115
-case "(($ac_try" in
5116
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5117
-  *) ac_try_echo=$ac_try;;
5118
-esac
5119
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5120
-  (eval "$ac_compile") 2>conftest.er1
5121
-  ac_status=$?
5122
-  grep -v '^ *+' conftest.er1 >conftest.err
5123
-  rm -f conftest.er1
5124
-  cat conftest.err >&5
5125
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126
-  (exit $ac_status); } && {
5127
-	 test -z "$ac_c_werror_flag" ||
5128
-	 test ! -s conftest.err
5129
-       } && test -s conftest.$ac_objext; then
5130
-  ac_cv_struct_tm=time.h
5131
-else
5132
-  echo "$as_me: failed program was:" >&5
5133
-sed 's/^/| /' conftest.$ac_ext >&5
5134 4993
 
5135
-	ac_cv_struct_tm=sys/time.h
5136
-fi
5137 4994
 
5138
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5139 4995
 fi
5140
-{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5141
-echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
5142
-if test $ac_cv_struct_tm = sys/time.h; then
5143
-
5144
-cat >>confdefs.h <<\_ACEOF
5145
-#define TM_IN_SYS_TIME 1
5146
-_ACEOF
5147
-
5148
-fi
5149
-
5150
-
5151
-  { echo "$as_me:$LINENO: checking for uint16_t" >&5
5152
-echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
5153
-if test "${ac_cv_c_uint16_t+set}" = set; then
5154
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5155
-else
5156
-  ac_cv_c_uint16_t=no
5157
-     for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
5158
-	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5159
-       cat >conftest.$ac_ext <<_ACEOF
5160
-/* confdefs.h.  */
5161
-_ACEOF
5162
-cat confdefs.h >>conftest.$ac_ext
5163
-cat >>conftest.$ac_ext <<_ACEOF
5164
-/* end confdefs.h.  */
5165
-$ac_includes_default
5166
-int
5167
-main ()
5168
-{
5169
-static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
5170
-test_array [0] = 0
5171 4996
 
5172
-  ;
5173
-  return 0;
5174
-}
5175
-_ACEOF
5176
-rm -f conftest.$ac_objext
5177
-if { (ac_try="$ac_compile"
5178
-case "(($ac_try" in
5179
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5180
-  *) ac_try_echo=$ac_try;;
5181
-esac
5182
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5183
-  (eval "$ac_compile") 2>conftest.er1
5184
-  ac_status=$?
5185
-  grep -v '^ *+' conftest.er1 >conftest.err
5186
-  rm -f conftest.er1
5187
-  cat conftest.err >&5
5188
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189
-  (exit $ac_status); } && {
5190
-	 test -z "$ac_c_werror_flag" ||
5191
-	 test ! -s conftest.err
5192
-       } && test -s conftest.$ac_objext; then
5193
-  case $ac_type in
5194
-  uint16_t) ac_cv_c_uint16_t=yes ;;
5195
-  *) ac_cv_c_uint16_t=$ac_type ;;
5196
-esac
5197
-
5198
-else
5199
-  echo "$as_me: failed program was:" >&5
5200
-sed 's/^/| /' conftest.$ac_ext >&5
5201
-
5202
-
5203
-fi
5204
-
5205
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206
-       test "$ac_cv_c_uint16_t" != no && break
5207
-     done
5208
-fi
5209
-{ echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
5210
-echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; }
5211
-  case $ac_cv_c_uint16_t in #(
4997
+ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
4998
+case $ac_cv_c_uint16_t in #(
5212 4999
   no|yes) ;; #(
5213 5000
   *)
5214 5001
 
... ...
@@ -5219,74 +4471,12 @@ _ACEOF
5219 5219
 ;;
5220 5220
   esac
5221 5221
 
5222
-
5223
-  { echo "$as_me:$LINENO: checking for uint32_t" >&5
5224
-echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
5225
-if test "${ac_cv_c_uint32_t+set}" = set; then
5226
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5227
-else
5228
-  ac_cv_c_uint32_t=no
5229
-     for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
5230
-	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5231
-       cat >conftest.$ac_ext <<_ACEOF
5232
-/* confdefs.h.  */
5233
-_ACEOF
5234
-cat confdefs.h >>conftest.$ac_ext
5235
-cat >>conftest.$ac_ext <<_ACEOF
5236
-/* end confdefs.h.  */
5237
-$ac_includes_default
5238
-int
5239
-main ()
5240
-{
5241
-static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
5242
-test_array [0] = 0
5243
-
5244
-  ;
5245
-  return 0;
5246
-}
5247
-_ACEOF
5248
-rm -f conftest.$ac_objext
5249
-if { (ac_try="$ac_compile"
5250
-case "(($ac_try" in
5251
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5252
-  *) ac_try_echo=$ac_try;;
5253
-esac
5254
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5255
-  (eval "$ac_compile") 2>conftest.er1
5256
-  ac_status=$?
5257
-  grep -v '^ *+' conftest.er1 >conftest.err
5258
-  rm -f conftest.er1
5259
-  cat conftest.err >&5
5260
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261
-  (exit $ac_status); } && {
5262
-	 test -z "$ac_c_werror_flag" ||
5263
-	 test ! -s conftest.err
5264
-       } && test -s conftest.$ac_objext; then
5265
-  case $ac_type in
5266
-  uint32_t) ac_cv_c_uint32_t=yes ;;
5267
-  *) ac_cv_c_uint32_t=$ac_type ;;
5268
-esac
5269
-
5270
-else
5271
-  echo "$as_me: failed program was:" >&5
5272
-sed 's/^/| /' conftest.$ac_ext >&5
5273
-
5274
-
5275
-fi
5276
-
5277
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278
-       test "$ac_cv_c_uint32_t" != no && break
5279
-     done
5280
-fi
5281
-{ echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
5282
-echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; }
5283
-  case $ac_cv_c_uint32_t in #(
5222
+ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
5223
+case $ac_cv_c_uint32_t in #(
5284 5224
   no|yes) ;; #(
5285 5225
   *)
5286 5226
 
5287
-cat >>confdefs.h <<\_ACEOF
5288
-#define _UINT32_T 1
5289
-_ACEOF
5227
+$as_echo "#define _UINT32_T 1" >>confdefs.h
5290 5228
 
5291 5229
 
5292 5230
 cat >>confdefs.h <<_ACEOF
... ...
@@ -5295,74 +4485,26 @@ _ACEOF
5295 5295
 ;;
5296 5296
   esac
5297 5297
 
5298
+ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
5299
+case $ac_cv_c_uint64_t in #(
5300
+  no|yes) ;; #(
5301
+  *)
5298 5302
 
5299
-  { echo "$as_me:$LINENO: checking for uint8_t" >&5
5300
-echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
5301
-if test "${ac_cv_c_uint8_t+set}" = set; then
5302
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5303
-else
5304
-  ac_cv_c_uint8_t=no
5305
-     for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
5306
-	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5307
-       cat >conftest.$ac_ext <<_ACEOF
5308
-/* confdefs.h.  */
5309
-_ACEOF
5310
-cat confdefs.h >>conftest.$ac_ext
5311
-cat >>conftest.$ac_ext <<_ACEOF
5312
-/* end confdefs.h.  */
5313
-$ac_includes_default
5314
-int
5315
-main ()
5316
-{
5317
-static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
5318
-test_array [0] = 0
5319
-
5320
-  ;
5321
-  return 0;
5322
-}
5323
-_ACEOF
5324
-rm -f conftest.$ac_objext
5325
-if { (ac_try="$ac_compile"
5326
-case "(($ac_try" in
5327
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5328
-  *) ac_try_echo=$ac_try;;
5329
-esac
5330
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5331
-  (eval "$ac_compile") 2>conftest.er1
5332
-  ac_status=$?
5333
-  grep -v '^ *+' conftest.er1 >conftest.err
5334
-  rm -f conftest.er1
5335
-  cat conftest.err >&5
5336
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337
-  (exit $ac_status); } && {
5338
-	 test -z "$ac_c_werror_flag" ||
5339
-	 test ! -s conftest.err
5340
-       } && test -s conftest.$ac_objext; then
5341
-  case $ac_type in
5342
-  uint8_t) ac_cv_c_uint8_t=yes ;;
5343
-  *) ac_cv_c_uint8_t=$ac_type ;;
5344
-esac
5345
-
5346
-else
5347
-  echo "$as_me: failed program was:" >&5
5348
-sed 's/^/| /' conftest.$ac_ext >&5
5303
+$as_echo "#define _UINT64_T 1" >>confdefs.h
5349 5304
 
5350 5305
 
5351
-fi
5306
+cat >>confdefs.h <<_ACEOF
5307
+#define uint64_t $ac_cv_c_uint64_t
5308
+_ACEOF
5309
+;;
5310
+  esac
5352 5311
 
5353
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5354
-       test "$ac_cv_c_uint8_t" != no && break
5355
-     done
5356
-fi
5357
-{ echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
5358
-echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; }
5359
-  case $ac_cv_c_uint8_t in #(
5312
+ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
5313
+case $ac_cv_c_uint8_t in #(
5360 5314
   no|yes) ;; #(
5361 5315
   *)
5362 5316
 
5363
-cat >>confdefs.h <<\_ACEOF
5364
-#define _UINT8_T 1
5365
-_ACEOF
5317
+$as_echo "#define _UINT8_T 1" >>confdefs.h
5366 5318
 
5367 5319
 
5368 5320
 cat >>confdefs.h <<_ACEOF
... ...
@@ -5375,162 +4517,26 @@ _ACEOF
5375 5375
 # Checks for library functions.
5376 5376
 
5377 5377
 for ac_header in unistd.h
5378
-do
5379
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5380
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5381
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5382
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5383
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5384
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5385
-fi
5386
-ac_res=`eval echo '${'$as_ac_Header'}'`
5387
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5388
-echo "${ECHO_T}$ac_res" >&6; }
5389
-else
5390
-  # Is the header compilable?
5391
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5392
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5393
-cat >conftest.$ac_ext <<_ACEOF
5394
-/* confdefs.h.  */
5395
-_ACEOF
5396
-cat confdefs.h >>conftest.$ac_ext
5397
-cat >>conftest.$ac_ext <<_ACEOF
5398
-/* end confdefs.h.  */
5399
-$ac_includes_default
5400
-#include <$ac_header>
5401
-_ACEOF
5402
-rm -f conftest.$ac_objext
5403
-if { (ac_try="$ac_compile"
5404
-case "(($ac_try" in
5405
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5406
-  *) ac_try_echo=$ac_try;;
5407
-esac
5408
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5409
-  (eval "$ac_compile") 2>conftest.er1
5410
-  ac_status=$?
5411
-  grep -v '^ *+' conftest.er1 >conftest.err
5412
-  rm -f conftest.er1
5413
-  cat conftest.err >&5
5414
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415
-  (exit $ac_status); } && {
5416
-	 test -z "$ac_c_werror_flag" ||
5417
-	 test ! -s conftest.err
5418
-       } && test -s conftest.$ac_objext; then
5419
-  ac_header_compiler=yes
5420
-else
5421
-  echo "$as_me: failed program was:" >&5
5422
-sed 's/^/| /' conftest.$ac_ext >&5
5423
-
5424
-	ac_header_compiler=no
5425
-fi
5426
-
5427
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5428
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5429
-echo "${ECHO_T}$ac_header_compiler" >&6; }
5430
-
5431
-# Is the header present?
5432
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5433
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5434
-cat >conftest.$ac_ext <<_ACEOF
5435
-/* confdefs.h.  */
5436
-_ACEOF
5437
-cat confdefs.h >>conftest.$ac_ext
5438
-cat >>conftest.$ac_ext <<_ACEOF
5439
-/* end confdefs.h.  */
5440
-#include <$ac_header>
5441
-_ACEOF
5442
-if { (ac_try="$ac_cpp conftest.$ac_ext"
5443
-case "(($ac_try" in
5444
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5445
-  *) ac_try_echo=$ac_try;;
5446
-esac
5447
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5448
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5449
-  ac_status=$?
5450
-  grep -v '^ *+' conftest.er1 >conftest.err
5451
-  rm -f conftest.er1
5452
-  cat conftest.err >&5
5453
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454
-  (exit $ac_status); } >/dev/null && {
5455
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5456
-	 test ! -s conftest.err
5457
-       }; then
5458
-  ac_header_preproc=yes
5459
-else
5460
-  echo "$as_me: failed program was:" >&5
5461
-sed 's/^/| /' conftest.$ac_ext >&5
5462
-
5463
-  ac_header_preproc=no
5464
-fi
5465
-
5466
-rm -f conftest.err conftest.$ac_ext
5467
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5468
-echo "${ECHO_T}$ac_header_preproc" >&6; }
5469
-
5470
-# So?  What about this header?
5471
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5472
-  yes:no: )
5473
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5474
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5475
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5476
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5477
-    ac_header_preproc=yes
5478
-    ;;
5479
-  no:yes:* )
5480
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5481
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5482
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5483
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5484
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5485
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5486
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5487
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5488
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5489
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5490
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5491
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5492
-    ( cat <<\_ASBOX
5493
-## ------------------------------------ ##
5494
-## Report this to info-makuosan@klab.jp ##
5495
-## ------------------------------------ ##
5496
-_ASBOX
5497
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
5498
-    ;;
5499
-esac
5500
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5501
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5502
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5503
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5504
-else
5505
-  eval "$as_ac_Header=\$ac_header_preproc"
5506
-fi
5507
-ac_res=`eval echo '${'$as_ac_Header'}'`
5508
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5509
-echo "${ECHO_T}$ac_res" >&6; }
5510
-
5511
-fi
5512
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
5378
+do :
5379
+  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
5380
+if test "x$ac_cv_header_unistd_h" = x""yes; then :
5513 5381
   cat >>confdefs.h <<_ACEOF
5514
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5382
+#define HAVE_UNISTD_H 1
5515 5383
 _ACEOF
5516 5384
 
5517 5385
 fi
5518 5386
 
5519 5387
 done
5520 5388
 
5521
-{ echo "$as_me:$LINENO: checking for working chown" >&5
5522
-echo $ECHO_N "checking for working chown... $ECHO_C" >&6; }
5523
-if test "${ac_cv_func_chown_works+set}" = set; then
5524
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5389
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
5390
+$as_echo_n "checking for working chown... " >&6; }
5391
+if test "${ac_cv_func_chown_works+set}" = set; then :
5392
+  $as_echo_n "(cached) " >&6
5525 5393
 else
5526
-  if test "$cross_compiling" = yes; then
5394
+  if test "$cross_compiling" = yes; then :
5527 5395
   ac_cv_func_chown_works=no
5528 5396
 else
5529
-  cat >conftest.$ac_ext <<_ACEOF
5530
-/* confdefs.h.  */
5531
-_ACEOF
5532
-cat confdefs.h >>conftest.$ac_ext
5533
-cat >>conftest.$ac_ext <<_ACEOF
5397
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5534 5398
 /* end confdefs.h.  */
5535 5399
 $ac_includes_default
5536 5400
 #include <fcntl.h>
... ...
@@ -5555,65 +4561,193 @@ main ()
5555 5555
   return 0;
5556 5556
 }
5557 5557
 _ACEOF
5558
-rm -f conftest$ac_exeext
5559
-if { (ac_try="$ac_link"
5560
-case "(($ac_try" in
5561
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5562
-  *) ac_try_echo=$ac_try;;
5563
-esac
5564
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5565
-  (eval "$ac_link") 2>&5
5566
-  ac_status=$?
5567
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5569
-  { (case "(($ac_try" in
5570
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5571
-  *) ac_try_echo=$ac_try;;
5572
-esac
5573
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5574
-  (eval "$ac_try") 2>&5
5575
-  ac_status=$?
5576
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577
-  (exit $ac_status); }; }; then
5558
+if ac_fn_c_try_run "$LINENO"; then :
5578 5559
   ac_cv_func_chown_works=yes
5579 5560
 else
5580
-  echo "$as_me: program exited with status $ac_status" >&5
5581
-echo "$as_me: failed program was:" >&5
5582
-sed 's/^/| /' conftest.$ac_ext >&5
5583
-
5584
-( exit $ac_status )
5585
-ac_cv_func_chown_works=no
5561
+  ac_cv_func_chown_works=no
5586 5562
 fi
5587
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5563
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5564
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
5588 5565
 fi
5589 5566
 
5590
-
5591 5567
 rm -f conftest.chown
5592 5568
 
5593 5569
 fi
5594
-{ echo "$as_me:$LINENO: result: $ac_cv_func_chown_works" >&5
5595
-echo "${ECHO_T}$ac_cv_func_chown_works" >&6; }
5570
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
5571
+$as_echo "$ac_cv_func_chown_works" >&6; }
5596 5572
 if test $ac_cv_func_chown_works = yes; then
5597 5573
 
5598
-cat >>confdefs.h <<\_ACEOF
5599
-#define HAVE_CHOWN 1
5574
+$as_echo "#define HAVE_CHOWN 1" >>confdefs.h
5575
+
5576
+fi
5577
+
5578
+ac_header_dirent=no
5579
+for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5580
+  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5581
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5582
+$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5583
+if eval "test \"\${$as_ac_Header+set}\"" = set; then :
5584
+  $as_echo_n "(cached) " >&6
5585
+else
5586
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5587
+/* end confdefs.h.  */
5588
+#include <sys/types.h>
5589
+#include <$ac_hdr>
5590
+
5591
+int
5592
+main ()
5593
+{
5594
+if ((DIR *) 0)
5595
+return 0;
5596
+  ;
5597
+  return 0;
5598
+}
5599
+_ACEOF
5600
+if ac_fn_c_try_compile "$LINENO"; then :
5601
+  eval "$as_ac_Header=yes"
5602
+else
5603
+  eval "$as_ac_Header=no"
5604
+fi
5605
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5606
+fi
5607
+eval ac_res=\$$as_ac_Header
5608
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5609
+$as_echo "$ac_res" >&6; }
5610
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5611
+  cat >>confdefs.h <<_ACEOF
5612
+#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5600 5613
 _ACEOF
5601 5614
 
5615
+ac_header_dirent=$ac_hdr; break
5602 5616
 fi
5603 5617
 
5604
-{ echo "$as_me:$LINENO: checking whether closedir returns void" >&5
5605
-echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
5606
-if test "${ac_cv_func_closedir_void+set}" = set; then
5607
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5618
+done
5619
+# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5620
+if test $ac_header_dirent = dirent.h; then
5621
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5622
+$as_echo_n "checking for library containing opendir... " >&6; }
5623
+if test "${ac_cv_search_opendir+set}" = set; then :
5624
+  $as_echo_n "(cached) " >&6
5608 5625
 else
5609
-  if test "$cross_compiling" = yes; then
5610
-  ac_cv_func_closedir_void=yes
5626
+  ac_func_search_save_LIBS=$LIBS
5627
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5628
+/* end confdefs.h.  */
5629
+
5630
+/* Override any GCC internal prototype to avoid an error.
5631
+   Use char because int might match the return type of a GCC
5632
+   builtin and then its argument prototype would still apply.  */
5633
+#ifdef __cplusplus
5634
+extern "C"
5635
+#endif
5636
+char opendir ();
5637
+int
5638
+main ()
5639
+{
5640
+return opendir ();
5641
+  ;
5642
+  return 0;
5643
+}
5644
+_ACEOF
5645
+for ac_lib in '' dir; do
5646
+  if test -z "$ac_lib"; then
5647
+    ac_res="none required"
5648
+  else
5649
+    ac_res=-l$ac_lib
5650
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5651
+  fi
5652
+  if ac_fn_c_try_link "$LINENO"; then :
5653
+  ac_cv_search_opendir=$ac_res
5654
+fi
5655
+rm -f core conftest.err conftest.$ac_objext \
5656
+    conftest$ac_exeext
5657
+  if test "${ac_cv_search_opendir+set}" = set; then :
5658
+  break
5659
+fi
5660
+done
5661
+if test "${ac_cv_search_opendir+set}" = set; then :
5662
+
5663
+else
5664
+  ac_cv_search_opendir=no
5665
+fi
5666
+rm conftest.$ac_ext
5667
+LIBS=$ac_func_search_save_LIBS
5668
+fi
5669
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5670
+$as_echo "$ac_cv_search_opendir" >&6; }
5671
+ac_res=$ac_cv_search_opendir
5672
+if test "$ac_res" != no; then :
5673
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5674
+
5675
+fi
5676
+
5611 5677
 else
5612
-  cat >conftest.$ac_ext <<_ACEOF
5613
-/* confdefs.h.  */
5678
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5679
+$as_echo_n "checking for library containing opendir... " >&6; }
5680
+if test "${ac_cv_search_opendir+set}" = set; then :
5681
+  $as_echo_n "(cached) " >&6
5682
+else
5683
+  ac_func_search_save_LIBS=$LIBS
5684
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5685
+/* end confdefs.h.  */
5686
+
5687
+/* Override any GCC internal prototype to avoid an error.
5688
+   Use char because int might match the return type of a GCC
5689
+   builtin and then its argument prototype would still apply.  */
5690
+#ifdef __cplusplus
5691
+extern "C"
5692
+#endif
5693
+char opendir ();
5694
+int
5695
+main ()
5696
+{
5697
+return opendir ();
5698
+  ;
5699
+  return 0;
5700
+}
5614 5701
 _ACEOF
5615
-cat confdefs.h >>conftest.$ac_ext
5616
-cat >>conftest.$ac_ext <<_ACEOF
5702
+for ac_lib in '' x; do
5703
+  if test -z "$ac_lib"; then
5704
+    ac_res="none required"
5705
+  else
5706
+    ac_res=-l$ac_lib
5707
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5708
+  fi
5709
+  if ac_fn_c_try_link "$LINENO"; then :
5710
+  ac_cv_search_opendir=$ac_res
5711
+fi
5712
+rm -f core conftest.err conftest.$ac_objext \
5713
+    conftest$ac_exeext
5714
+  if test "${ac_cv_search_opendir+set}" = set; then :
5715
+  break
5716
+fi
5717
+done
5718
+if test "${ac_cv_search_opendir+set}" = set; then :
5719
+
5720
+else
5721
+  ac_cv_search_opendir=no
5722
+fi
5723
+rm conftest.$ac_ext
5724
+LIBS=$ac_func_search_save_LIBS
5725
+fi
5726
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5727
+$as_echo "$ac_cv_search_opendir" >&6; }
5728
+ac_res=$ac_cv_search_opendir
5729
+if test "$ac_res" != no; then :
5730
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5731
+
5732
+fi
5733
+
5734
+fi
5735
+
5736
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
5737
+$as_echo_n "checking whether closedir returns void... " >&6; }
5738
+if test "${ac_cv_func_closedir_void+set}" = set; then :
5739
+  $as_echo_n "(cached) " >&6
5740
+else
5741
+  if test "$cross_compiling" = yes; then :
5742
+  ac_cv_func_closedir_void=yes
5743
+else
5744
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617 5745
 /* end confdefs.h.  */
5618 5746
 $ac_includes_default
5619 5747
 #include <$ac_header_dirent>
... ...
@@ -5629,60 +4763,30 @@ return closedir (opendir (".")) != 0;
5629 5629
   return 0;
5630 5630
 }
5631 5631
 _ACEOF
5632
-rm -f conftest$ac_exeext
5633
-if { (ac_try="$ac_link"
5634
-case "(($ac_try" in
5635
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5636
-  *) ac_try_echo=$ac_try;;
5637
-esac
5638
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5639
-  (eval "$ac_link") 2>&5
5640
-  ac_status=$?
5641
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5643
-  { (case "(($ac_try" in
5644
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5645
-  *) ac_try_echo=$ac_try;;
5646
-esac
5647
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5648
-  (eval "$ac_try") 2>&5
5649
-  ac_status=$?
5650
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651
-  (exit $ac_status); }; }; then
5632
+if ac_fn_c_try_run "$LINENO"; then :
5652 5633
   ac_cv_func_closedir_void=no
5653 5634
 else
5654
-  echo "$as_me: program exited with status $ac_status" >&5
5655
-echo "$as_me: failed program was:" >&5
5656
-sed 's/^/| /' conftest.$ac_ext >&5
5657
-
5658
-( exit $ac_status )
5659
-ac_cv_func_closedir_void=yes
5635
+  ac_cv_func_closedir_void=yes
5660 5636
 fi
5661
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5637
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5638
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
5662 5639
 fi
5663 5640
 
5664
-
5665 5641
 fi
5666
-{ echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
5667
-echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
5642
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
5643
+$as_echo "$ac_cv_func_closedir_void" >&6; }
5668 5644
 if test $ac_cv_func_closedir_void = yes; then
5669 5645
 
5670
-cat >>confdefs.h <<\_ACEOF
5671
-#define CLOSEDIR_VOID 1
5672
-_ACEOF
5646
+$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
5673 5647
 
5674 5648
 fi
5675 5649
 
5676
-{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5677
-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5678
-if test "${ac_cv_c_const+set}" = set; then
5679
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5650
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5651
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5652
+if test "${ac_cv_c_const+set}" = set; then :
5653
+  $as_echo_n "(cached) " >&6
5680 5654
 else
5681
-  cat >conftest.$ac_ext <<_ACEOF
5682
-/* confdefs.h.  */
5683
-_ACEOF
5684
-cat confdefs.h >>conftest.$ac_ext
5685
-cat >>conftest.$ac_ext <<_ACEOF
5655
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5686 5656
 /* end confdefs.h.  */
5687 5657
 
5688 5658
 int
... ...
@@ -5742,55 +4846,29 @@ main ()
5742 5742
   return 0;
5743 5743
 }
5744 5744
 _ACEOF
5745
-rm -f conftest.$ac_objext
5746
-if { (ac_try="$ac_compile"
5747
-case "(($ac_try" in
5748
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5749
-  *) ac_try_echo=$ac_try;;
5750
-esac
5751
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5752
-  (eval "$ac_compile") 2>conftest.er1
5753
-  ac_status=$?
5754
-  grep -v '^ *+' conftest.er1 >conftest.err
5755
-  rm -f conftest.er1
5756
-  cat conftest.err >&5
5757
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758
-  (exit $ac_status); } && {
5759
-	 test -z "$ac_c_werror_flag" ||
5760
-	 test ! -s conftest.err
5761
-       } && test -s conftest.$ac_objext; then
5745
+if ac_fn_c_try_compile "$LINENO"; then :
5762 5746
   ac_cv_c_const=yes
5763 5747
 else
5764
-  echo "$as_me: failed program was:" >&5
5765
-sed 's/^/| /' conftest.$ac_ext >&5
5766
-
5767
-	ac_cv_c_const=no
5748
+  ac_cv_c_const=no
5768 5749
 fi
5769
-
5770 5750
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5771 5751
 fi
5772
-{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5773
-echo "${ECHO_T}$ac_cv_c_const" >&6; }
5752
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5753
+$as_echo "$ac_cv_c_const" >&6; }
5774 5754
 if test $ac_cv_c_const = no; then
5775 5755
 
5776
-cat >>confdefs.h <<\_ACEOF
5777
-#define const
5778
-_ACEOF
5756
+$as_echo "#define const /**/" >>confdefs.h
5779 5757
 
5780 5758
 fi
5781 5759
 
5782 5760
 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5783 5761
 # for constant arguments.  Useless!
5784
-{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
5785
-echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
5786
-if test "${ac_cv_working_alloca_h+set}" = set; then
5787
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5762
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5763
+$as_echo_n "checking for working alloca.h... " >&6; }
5764
+if test "${ac_cv_working_alloca_h+set}" = set; then :
5765
+  $as_echo_n "(cached) " >&6
5788 5766
 else
5789
-  cat >conftest.$ac_ext <<_ACEOF
5790
-/* confdefs.h.  */
5791
-_ACEOF
5792
-cat confdefs.h >>conftest.$ac_ext
5793
-cat >>conftest.$ac_ext <<_ACEOF
5767
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 5768
 /* end confdefs.h.  */
5795 5769
 #include <alloca.h>
5796 5770
 int
... ...
@@ -5802,55 +4880,28 @@ char *p = (char *) alloca (2 * sizeof (int));
5802 5802
   return 0;
5803 5803
 }
5804 5804
 _ACEOF
5805
-rm -f conftest.$ac_objext conftest$ac_exeext
5806
-if { (ac_try="$ac_link"
5807
-case "(($ac_try" in
5808
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5809
-  *) ac_try_echo=$ac_try;;
5810
-esac
5811
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5812
-  (eval "$ac_link") 2>conftest.er1
5813
-  ac_status=$?
5814
-  grep -v '^ *+' conftest.er1 >conftest.err
5815
-  rm -f conftest.er1
5816
-  cat conftest.err >&5
5817
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818
-  (exit $ac_status); } && {
5819
-	 test -z "$ac_c_werror_flag" ||
5820
-	 test ! -s conftest.err
5821
-       } && test -s conftest$ac_exeext &&
5822
-       $as_test_x conftest$ac_exeext; then
5805
+if ac_fn_c_try_link "$LINENO"; then :
5823 5806
   ac_cv_working_alloca_h=yes
5824 5807
 else
5825
-  echo "$as_me: failed program was:" >&5
5826
-sed 's/^/| /' conftest.$ac_ext >&5
5827
-
5828
-	ac_cv_working_alloca_h=no
5808
+  ac_cv_working_alloca_h=no
5829 5809
 fi
5830
-
5831
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5832
-      conftest$ac_exeext conftest.$ac_ext
5810
+rm -f core conftest.err conftest.$ac_objext \
5811
+    conftest$ac_exeext conftest.$ac_ext
5833 5812
 fi
5834
-{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5835
-echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
5813
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5814
+$as_echo "$ac_cv_working_alloca_h" >&6; }
5836 5815
 if test $ac_cv_working_alloca_h = yes; then
5837 5816
 
5838
-cat >>confdefs.h <<\_ACEOF
5839
-#define HAVE_ALLOCA_H 1
5840
-_ACEOF
5817
+$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5841 5818
 
5842 5819
 fi
5843 5820
 
5844
-{ echo "$as_me:$LINENO: checking for alloca" >&5
5845
-echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
5846
-if test "${ac_cv_func_alloca_works+set}" = set; then
5847
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5821
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5822
+$as_echo_n "checking for alloca... " >&6; }
5823
+if test "${ac_cv_func_alloca_works+set}" = set; then :
5824
+  $as_echo_n "(cached) " >&6
5848 5825
 else
5849
-  cat >conftest.$ac_ext <<_ACEOF
5850
-/* confdefs.h.  */
5851
-_ACEOF
5852
-cat confdefs.h >>conftest.$ac_ext
5853
-cat >>conftest.$ac_ext <<_ACEOF
5826
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5854 5827
 /* end confdefs.h.  */
5855 5828
 #ifdef __GNUC__
5856 5829
 # define alloca __builtin_alloca
... ...
@@ -5882,43 +4933,20 @@ char *p = (char *) alloca (1);
5882 5882
   return 0;
5883 5883
 }
5884 5884
 _ACEOF
5885
-rm -f conftest.$ac_objext conftest$ac_exeext
5886
-if { (ac_try="$ac_link"
5887
-case "(($ac_try" in
5888
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5889
-  *) ac_try_echo=$ac_try;;
5890
-esac
5891
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5892
-  (eval "$ac_link") 2>conftest.er1
5893
-  ac_status=$?
5894
-  grep -v '^ *+' conftest.er1 >conftest.err
5895
-  rm -f conftest.er1
5896
-  cat conftest.err >&5
5897
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898
-  (exit $ac_status); } && {
5899
-	 test -z "$ac_c_werror_flag" ||
5900
-	 test ! -s conftest.err
5901
-       } && test -s conftest$ac_exeext &&
5902
-       $as_test_x conftest$ac_exeext; then
5885
+if ac_fn_c_try_link "$LINENO"; then :
5903 5886
   ac_cv_func_alloca_works=yes
5904 5887
 else
5905
-  echo "$as_me: failed program was:" >&5
5906
-sed 's/^/| /' conftest.$ac_ext >&5
5907
-
5908
-	ac_cv_func_alloca_works=no
5888
+  ac_cv_func_alloca_works=no
5909 5889
 fi
5910
-
5911
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5912
-      conftest$ac_exeext conftest.$ac_ext
5890
+rm -f core conftest.err conftest.$ac_objext \
5891
+    conftest$ac_exeext conftest.$ac_ext
5913 5892
 fi
5914
-{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5915
-echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
5893
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5894
+$as_echo "$ac_cv_func_alloca_works" >&6; }
5916 5895
 
5917 5896
 if test $ac_cv_func_alloca_works = yes; then
5918 5897
 
5919
-cat >>confdefs.h <<\_ACEOF
5920
-#define HAVE_ALLOCA 1
5921
-_ACEOF
5898
+$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5922 5899
 
5923 5900
 else
5924 5901
   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
... ...
@@ -5928,21 +4956,15 @@ else
5928 5928
 
5929 5929
 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5930 5930
 
5931
-cat >>confdefs.h <<\_ACEOF
5932
-#define C_ALLOCA 1
5933
-_ACEOF
5931
+$as_echo "#define C_ALLOCA 1" >>confdefs.h
5934 5932
 
5935 5933
 
5936
-{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5937
-echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
5938
-if test "${ac_cv_os_cray+set}" = set; then
5939
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5934
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5935
+$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5936
+if test "${ac_cv_os_cray+set}" = set; then :
5937
+  $as_echo_n "(cached) " >&6
5940 5938
 else
5941
-  cat >conftest.$ac_ext <<_ACEOF
5942
-/* confdefs.h.  */
5943
-_ACEOF
5944
-cat confdefs.h >>conftest.$ac_ext
5945
-cat >>conftest.$ac_ext <<_ACEOF
5939
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5946 5940
 /* end confdefs.h.  */
5947 5941
 #if defined CRAY && ! defined CRAY2
5948 5942
 webecray
... ...
@@ -5952,7 +4974,7 @@ wenotbecray
5952 5952
 
5953 5953
 _ACEOF
5954 5954
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5955
-  $EGREP "webecray" >/dev/null 2>&1; then
5955
+  $EGREP "webecray" >/dev/null 2>&1; then :
5956 5956
   ac_cv_os_cray=yes
5957 5957
 else
5958 5958
   ac_cv_os_cray=no
... ...
@@ -5960,94 +4982,13 @@ fi
5960 5960
 rm -f conftest*
5961 5961
 
5962 5962
 fi
5963
-{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5964
-echo "${ECHO_T}$ac_cv_os_cray" >&6; }
5963
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5964
+$as_echo "$ac_cv_os_cray" >&6; }
5965 5965
 if test $ac_cv_os_cray = yes; then
5966 5966
   for ac_func in _getb67 GETB67 getb67; do
5967
-    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5968
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5969
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5970
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5971
-  echo $ECHO_N "(cached) $ECHO_C" >&6
5972
-else
5973
-  cat >conftest.$ac_ext <<_ACEOF
5974
-/* confdefs.h.  */
5975
-_ACEOF
5976
-cat confdefs.h >>conftest.$ac_ext
5977
-cat >>conftest.$ac_ext <<_ACEOF
5978
-/* end confdefs.h.  */
5979
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5980
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5981
-#define $ac_func innocuous_$ac_func
5982
-
5983
-/* System header to define __stub macros and hopefully few prototypes,
5984
-    which can conflict with char $ac_func (); below.
5985
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5986
-    <limits.h> exists even on freestanding compilers.  */
5987
-
5988
-#ifdef __STDC__
5989
-# include <limits.h>
5990
-#else
5991
-# include <assert.h>
5992
-#endif
5993
-
5994
-#undef $ac_func
5995
-
5996
-/* Override any GCC internal prototype to avoid an error.
5997
-   Use char because int might match the return type of a GCC
5998
-   builtin and then its argument prototype would still apply.  */
5999
-#ifdef __cplusplus
6000
-extern "C"
6001
-#endif
6002
-char $ac_func ();
6003
-/* The GNU C library defines this for functions which it implements
6004
-    to always fail with ENOSYS.  Some functions are actually named
6005
-    something starting with __ and the normal name is an alias.  */
6006
-#if defined __stub_$ac_func || defined __stub___$ac_func
6007
-choke me
6008
-#endif
6009
-
6010
-int
6011
-main ()
6012
-{
6013
-return $ac_func ();
6014
-  ;
6015
-  return 0;
6016
-}
6017
-_ACEOF
6018
-rm -f conftest.$ac_objext conftest$ac_exeext
6019
-if { (ac_try="$ac_link"
6020
-case "(($ac_try" in
6021
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6022
-  *) ac_try_echo=$ac_try;;
6023
-esac
6024
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6025
-  (eval "$ac_link") 2>conftest.er1
6026
-  ac_status=$?
6027
-  grep -v '^ *+' conftest.er1 >conftest.err
6028
-  rm -f conftest.er1
6029
-  cat conftest.err >&5
6030
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031
-  (exit $ac_status); } && {
6032
-	 test -z "$ac_c_werror_flag" ||
6033
-	 test ! -s conftest.err
6034
-       } && test -s conftest$ac_exeext &&
6035
-       $as_test_x conftest$ac_exeext; then
6036
-  eval "$as_ac_var=yes"
6037
-else
6038
-  echo "$as_me: failed program was:" >&5
6039
-sed 's/^/| /' conftest.$ac_ext >&5
6040
-
6041
-	eval "$as_ac_var=no"
6042
-fi
6043
-
6044
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6045
-      conftest$ac_exeext conftest.$ac_ext
6046
-fi
6047
-ac_res=`eval echo '${'$as_ac_var'}'`
6048
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6049
-echo "${ECHO_T}$ac_res" >&6; }
6050
-if test `eval echo '${'$as_ac_var'}'` = yes; then
5967
+    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5968
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5969
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6051 5970
 
6052 5971
 cat >>confdefs.h <<_ACEOF
6053 5972
 #define CRAY_STACKSEG_END $ac_func
... ...
@@ -6059,19 +5000,15 @@ fi
6059 6059
   done
6060 6060
 fi
6061 6061
 
6062
-{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6063
-echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
6064
-if test "${ac_cv_c_stack_direction+set}" = set; then
6065
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6062
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6063
+$as_echo_n "checking stack direction for C alloca... " >&6; }
6064
+if test "${ac_cv_c_stack_direction+set}" = set; then :
6065
+  $as_echo_n "(cached) " >&6
6066 6066
 else
6067
-  if test "$cross_compiling" = yes; then
6067
+  if test "$cross_compiling" = yes; then :
6068 6068
   ac_cv_c_stack_direction=0
6069 6069
 else
6070
-  cat >conftest.$ac_ext <<_ACEOF
6071
-/* confdefs.h.  */
6072
-_ACEOF
6073
-cat confdefs.h >>conftest.$ac_ext
6074
-cat >>conftest.$ac_ext <<_ACEOF
6070
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6075 6071
 /* end confdefs.h.  */
6076 6072
 $ac_includes_default
6077 6073
 int
... ...
@@ -6094,43 +5031,18 @@ main ()
6094 6094
   return find_stack_direction () < 0;
6095 6095
 }
6096 6096
 _ACEOF
6097
-rm -f conftest$ac_exeext
6098
-if { (ac_try="$ac_link"
6099
-case "(($ac_try" in
6100
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6101
-  *) ac_try_echo=$ac_try;;
6102
-esac
6103
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6104
-  (eval "$ac_link") 2>&5
6105
-  ac_status=$?
6106
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6108
-  { (case "(($ac_try" in
6109
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6110
-  *) ac_try_echo=$ac_try;;
6111
-esac
6112
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6113
-  (eval "$ac_try") 2>&5
6114
-  ac_status=$?
6115
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116
-  (exit $ac_status); }; }; then
6097
+if ac_fn_c_try_run "$LINENO"; then :
6117 6098
   ac_cv_c_stack_direction=1
6118 6099
 else
6119
-  echo "$as_me: program exited with status $ac_status" >&5
6120
-echo "$as_me: failed program was:" >&5
6121
-sed 's/^/| /' conftest.$ac_ext >&5
6122
-
6123
-( exit $ac_status )
6124
-ac_cv_c_stack_direction=-1
6100
+  ac_cv_c_stack_direction=-1
6125 6101
 fi
6126
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6102
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6103
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
6127 6104
 fi
6128 6105
 
6129
-
6130 6106
 fi
6131
-{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6132
-echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
6133
-
6107
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6108
+$as_echo "$ac_cv_c_stack_direction" >&6; }
6134 6109
 cat >>confdefs.h <<_ACEOF
6135 6110
 #define STACK_DIRECTION $ac_cv_c_stack_direction
6136 6111
 _ACEOF
... ...
@@ -6138,16 +5050,12 @@ _ACEOF
6138 6138
 
6139 6139
 fi
6140 6140
 
6141
-{ echo "$as_me:$LINENO: checking for mbstate_t" >&5
6142
-echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
6143
-if test "${ac_cv_type_mbstate_t+set}" = set; then
6144
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6141
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
6142
+$as_echo_n "checking for mbstate_t... " >&6; }
6143
+if test "${ac_cv_type_mbstate_t+set}" = set; then :
6144
+  $as_echo_n "(cached) " >&6
6145 6145
 else
6146
-  cat >conftest.$ac_ext <<_ACEOF
6147
-/* confdefs.h.  */
6148
-_ACEOF
6149
-cat confdefs.h >>conftest.$ac_ext
6150
-cat >>conftest.$ac_ext <<_ACEOF
6146
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6151 6147
 /* end confdefs.h.  */
6152 6148
 $ac_includes_default
6153 6149
 #	    include <wchar.h>
... ...
@@ -6159,65 +5067,37 @@ mbstate_t x; return sizeof x;
6159 6159
   return 0;
6160 6160
 }
6161 6161
 _ACEOF
6162
-rm -f conftest.$ac_objext
6163
-if { (ac_try="$ac_compile"
6164
-case "(($ac_try" in
6165
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6166
-  *) ac_try_echo=$ac_try;;
6167
-esac
6168
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6169
-  (eval "$ac_compile") 2>conftest.er1
6170
-  ac_status=$?
6171
-  grep -v '^ *+' conftest.er1 >conftest.err
6172
-  rm -f conftest.er1
6173
-  cat conftest.err >&5
6174
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175
-  (exit $ac_status); } && {
6176
-	 test -z "$ac_c_werror_flag" ||
6177
-	 test ! -s conftest.err
6178
-       } && test -s conftest.$ac_objext; then
6162
+if ac_fn_c_try_compile "$LINENO"; then :
6179 6163
   ac_cv_type_mbstate_t=yes
6180 6164
 else
6181
-  echo "$as_me: failed program was:" >&5
6182
-sed 's/^/| /' conftest.$ac_ext >&5
6183
-
6184
-	ac_cv_type_mbstate_t=no
6165
+  ac_cv_type_mbstate_t=no
6185 6166
 fi
6186
-
6187 6167
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6188 6168
 fi
6189
-{ echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
6190
-echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
6169
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
6170
+$as_echo "$ac_cv_type_mbstate_t" >&6; }
6191 6171
    if test $ac_cv_type_mbstate_t = yes; then
6192 6172
 
6193
-cat >>confdefs.h <<\_ACEOF
6194
-#define HAVE_MBSTATE_T 1
6195
-_ACEOF
6173
+$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
6196 6174
 
6197 6175
    else
6198 6176
 
6199
-cat >>confdefs.h <<\_ACEOF
6200
-#define mbstate_t int
6201
-_ACEOF
6177
+$as_echo "#define mbstate_t int" >>confdefs.h
6202 6178
 
6203 6179
    fi
6204
-{ echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5
6205
-echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6; }
6206
-if test "${ac_cv_func_fnmatch_works+set}" = set; then
6207
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6180
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5
6181
+$as_echo_n "checking for working POSIX fnmatch... " >&6; }
6182
+if test "${ac_cv_func_fnmatch_works+set}" = set; then :
6183
+  $as_echo_n "(cached) " >&6
6208 6184
 else
6209 6185
   # Some versions of Solaris, SCO, and the GNU C Library
6210 6186
    # have a broken or incompatible fnmatch.
6211 6187
    # So we run a test program.  If we are cross-compiling, take no chance.
6212 6188
    # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
6213
-   if test "$cross_compiling" = yes; then
6189
+   if test "$cross_compiling" = yes; then :
6214 6190
   ac_cv_func_fnmatch_works=cross
6215 6191
 else
6216
-  cat >conftest.$ac_ext <<_ACEOF
6217
-/* confdefs.h.  */
6218
-_ACEOF
6219
-cat confdefs.h >>conftest.$ac_ext
6220
-cat >>conftest.$ac_ext <<_ACEOF
6192
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6221 6193
 /* end confdefs.h.  */
6222 6194
 #include <fnmatch.h>
6223 6195
 #	   define y(a, b, c) (fnmatch (a, b, c) == 0)
... ...
@@ -6238,350 +5118,51 @@ return
6238 6238
   return 0;
6239 6239
 }
6240 6240
 _ACEOF
6241
-rm -f conftest$ac_exeext
6242
-if { (ac_try="$ac_link"
6243
-case "(($ac_try" in
6244
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6245
-  *) ac_try_echo=$ac_try;;
6246
-esac
6247
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6248
-  (eval "$ac_link") 2>&5
6249
-  ac_status=$?
6250
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6252
-  { (case "(($ac_try" in
6253
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6254
-  *) ac_try_echo=$ac_try;;
6255
-esac
6256
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6257
-  (eval "$ac_try") 2>&5
6258
-  ac_status=$?
6259
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260
-  (exit $ac_status); }; }; then
6241
+if ac_fn_c_try_run "$LINENO"; then :
6261 6242
   ac_cv_func_fnmatch_works=yes
6262 6243
 else
6263
-  echo "$as_me: program exited with status $ac_status" >&5
6264
-echo "$as_me: failed program was:" >&5
6265
-sed 's/^/| /' conftest.$ac_ext >&5
6266
-
6267
-( exit $ac_status )
6268
-ac_cv_func_fnmatch_works=no
6244
+  ac_cv_func_fnmatch_works=no
6269 6245
 fi
6270
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6246
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6247
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
6271 6248
 fi
6272 6249
 
6273
-
6274 6250
 fi
6275
-{ echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5
6276
-echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6; }
6277
-if test $ac_cv_func_fnmatch_works = yes; then
6251
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
6252
+$as_echo "$ac_cv_func_fnmatch_works" >&6; }
6253
+if test $ac_cv_func_fnmatch_works = yes; then :
6278 6254
   rm -f "$ac_config_libobj_dir/fnmatch.h"
6279 6255
 else
6280
-  { echo "$as_me:$LINENO: checking whether getenv is declared" >&5
6281
-echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
6282
-if test "${ac_cv_have_decl_getenv+set}" = set; then
6283
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6256
+  ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
6257
+if test "x$ac_cv_have_decl_getenv" = x""yes; then :
6258
+  ac_have_decl=1
6284 6259
 else
6285
-  cat >conftest.$ac_ext <<_ACEOF
6286
-/* confdefs.h.  */
6287
-_ACEOF
6288
-cat confdefs.h >>conftest.$ac_ext
6289
-cat >>conftest.$ac_ext <<_ACEOF
6290
-/* end confdefs.h.  */
6291
-$ac_includes_default
6292
-int
6293
-main ()
6294
-{
6295
-#ifndef getenv
6296
-  (void) getenv;
6297
-#endif
6298
-
6299
-  ;
6300
-  return 0;
6301
-}
6302
-_ACEOF
6303
-rm -f conftest.$ac_objext
6304
-if { (ac_try="$ac_compile"
6305
-case "(($ac_try" in
6306
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6307
-  *) ac_try_echo=$ac_try;;
6308
-esac
6309
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6310
-  (eval "$ac_compile") 2>conftest.er1
6311
-  ac_status=$?
6312
-  grep -v '^ *+' conftest.er1 >conftest.err
6313
-  rm -f conftest.er1
6314
-  cat conftest.err >&5
6315
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316
-  (exit $ac_status); } && {
6317
-	 test -z "$ac_c_werror_flag" ||
6318
-	 test ! -s conftest.err
6319
-       } && test -s conftest.$ac_objext; then
6320
-  ac_cv_have_decl_getenv=yes
6321
-else
6322
-  echo "$as_me: failed program was:" >&5
6323
-sed 's/^/| /' conftest.$ac_ext >&5
6324
-
6325
-	ac_cv_have_decl_getenv=no
6260
+  ac_have_decl=0
6326 6261
 fi
6327 6262
 
6328
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6329
-fi
6330
-{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
6331
-echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
6332
-if test $ac_cv_have_decl_getenv = yes; then
6333
-
6334 6263
 cat >>confdefs.h <<_ACEOF
6335
-#define HAVE_DECL_GETENV 1
6264
+#define HAVE_DECL_GETENV $ac_have_decl
6336 6265
 _ACEOF
6337 6266
 
6338
-
6339
-else
6340
-  cat >>confdefs.h <<_ACEOF
6341
-#define HAVE_DECL_GETENV 0
6342
-_ACEOF
6343
-
6344
-
6345
-fi
6346
-
6347
-
6348
-
6349
-
6350
-
6351
-
6352 6267
 for ac_func in btowc mbsrtowcs mempcpy wmempcpy
6353
-do
6354
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6355
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6356
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6357
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6358
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6359
-else
6360
-  cat >conftest.$ac_ext <<_ACEOF
6361
-/* confdefs.h.  */
6362
-_ACEOF
6363
-cat confdefs.h >>conftest.$ac_ext
6364
-cat >>conftest.$ac_ext <<_ACEOF
6365
-/* end confdefs.h.  */
6366
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6367
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6368
-#define $ac_func innocuous_$ac_func
6369
-
6370
-/* System header to define __stub macros and hopefully few prototypes,
6371
-    which can conflict with char $ac_func (); below.
6372
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6373
-    <limits.h> exists even on freestanding compilers.  */
6374
-
6375
-#ifdef __STDC__
6376
-# include <limits.h>
6377
-#else
6378
-# include <assert.h>
6379
-#endif
6380
-
6381
-#undef $ac_func
6382
-
6383
-/* Override any GCC internal prototype to avoid an error.
6384
-   Use char because int might match the return type of a GCC
6385
-   builtin and then its argument prototype would still apply.  */
6386
-#ifdef __cplusplus
6387
-extern "C"
6388
-#endif
6389
-char $ac_func ();
6390
-/* The GNU C library defines this for functions which it implements
6391
-    to always fail with ENOSYS.  Some functions are actually named
6392
-    something starting with __ and the normal name is an alias.  */
6393
-#if defined __stub_$ac_func || defined __stub___$ac_func
6394
-choke me
6395
-#endif
6396
-
6397
-int
6398
-main ()
6399
-{
6400
-return $ac_func ();
6401
-  ;
6402
-  return 0;
6403
-}
6404
-_ACEOF
6405
-rm -f conftest.$ac_objext conftest$ac_exeext
6406
-if { (ac_try="$ac_link"
6407
-case "(($ac_try" in
6408
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6409
-  *) ac_try_echo=$ac_try;;
6410
-esac
6411
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6412
-  (eval "$ac_link") 2>conftest.er1
6413
-  ac_status=$?
6414
-  grep -v '^ *+' conftest.er1 >conftest.err
6415
-  rm -f conftest.er1
6416
-  cat conftest.err >&5
6417
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418
-  (exit $ac_status); } && {
6419
-	 test -z "$ac_c_werror_flag" ||
6420
-	 test ! -s conftest.err
6421
-       } && test -s conftest$ac_exeext &&
6422
-       $as_test_x conftest$ac_exeext; then
6423
-  eval "$as_ac_var=yes"
6424
-else
6425
-  echo "$as_me: failed program was:" >&5
6426
-sed 's/^/| /' conftest.$ac_ext >&5
6427
-
6428
-	eval "$as_ac_var=no"
6429
-fi
6430
-
6431
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6432
-      conftest$ac_exeext conftest.$ac_ext
6433
-fi
6434
-ac_res=`eval echo '${'$as_ac_var'}'`
6435
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6436
-echo "${ECHO_T}$ac_res" >&6; }
6437
-if test `eval echo '${'$as_ac_var'}'` = yes; then
6268
+do :
6269
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6270
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6271
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6438 6272
   cat >>confdefs.h <<_ACEOF
6439
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6273
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6440 6274
 _ACEOF
6441 6275
 
6442 6276
 fi
6443 6277
 done
6444 6278
 
6445
-
6446
-
6447 6279
 for ac_header in wchar.h wctype.h
6448
-do
6449
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6450
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6451
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6452
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6453
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6454
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6455
-fi
6456
-ac_res=`eval echo '${'$as_ac_Header'}'`
6457
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6458
-echo "${ECHO_T}$ac_res" >&6; }
6459
-else
6460
-  # Is the header compilable?
6461
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6462
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6463
-cat >conftest.$ac_ext <<_ACEOF
6464
-/* confdefs.h.  */
6465
-_ACEOF
6466
-cat confdefs.h >>conftest.$ac_ext
6467
-cat >>conftest.$ac_ext <<_ACEOF
6468
-/* end confdefs.h.  */
6469
-$ac_includes_default
6470
-#include <$ac_header>
6471
-_ACEOF
6472
-rm -f conftest.$ac_objext
6473
-if { (ac_try="$ac_compile"
6474
-case "(($ac_try" in
6475
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6476
-  *) ac_try_echo=$ac_try;;
6477
-esac
6478
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6479
-  (eval "$ac_compile") 2>conftest.er1
6480
-  ac_status=$?
6481
-  grep -v '^ *+' conftest.er1 >conftest.err
6482
-  rm -f conftest.er1
6483
-  cat conftest.err >&5
6484
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485
-  (exit $ac_status); } && {
6486
-	 test -z "$ac_c_werror_flag" ||
6487
-	 test ! -s conftest.err
6488
-       } && test -s conftest.$ac_objext; then
6489
-  ac_header_compiler=yes
6490
-else
6491
-  echo "$as_me: failed program was:" >&5
6492
-sed 's/^/| /' conftest.$ac_ext >&5
6493
-
6494
-	ac_header_compiler=no
6495
-fi
6496
-
6497
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6498
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6499
-echo "${ECHO_T}$ac_header_compiler" >&6; }
6500
-
6501
-# Is the header present?
6502
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6503
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6504
-cat >conftest.$ac_ext <<_ACEOF
6505
-/* confdefs.h.  */
6506
-_ACEOF
6507
-cat confdefs.h >>conftest.$ac_ext
6508
-cat >>conftest.$ac_ext <<_ACEOF
6509
-/* end confdefs.h.  */
6510
-#include <$ac_header>
6511
-_ACEOF
6512
-if { (ac_try="$ac_cpp conftest.$ac_ext"
6513
-case "(($ac_try" in
6514
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6515
-  *) ac_try_echo=$ac_try;;
6516
-esac
6517
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6518
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6519
-  ac_status=$?
6520
-  grep -v '^ *+' conftest.er1 >conftest.err
6521
-  rm -f conftest.er1
6522
-  cat conftest.err >&5
6523
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524
-  (exit $ac_status); } >/dev/null && {
6525
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6526
-	 test ! -s conftest.err
6527
-       }; then
6528
-  ac_header_preproc=yes
6529
-else
6530
-  echo "$as_me: failed program was:" >&5
6531
-sed 's/^/| /' conftest.$ac_ext >&5
6532
-
6533
-  ac_header_preproc=no
6534
-fi
6535
-
6536
-rm -f conftest.err conftest.$ac_ext
6537
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6538
-echo "${ECHO_T}$ac_header_preproc" >&6; }
6539
-
6540
-# So?  What about this header?
6541
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6542
-  yes:no: )
6543
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6544
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6545
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6546
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6547
-    ac_header_preproc=yes
6548
-    ;;
6549
-  no:yes:* )
6550
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6551
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6552
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6553
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6554
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6555
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6556
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6557
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6558
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6559
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6560
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6561
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6562
-    ( cat <<\_ASBOX
6563
-## ------------------------------------ ##
6564
-## Report this to info-makuosan@klab.jp ##
6565
-## ------------------------------------ ##
6566
-_ASBOX
6567
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
6568
-    ;;
6569
-esac
6570
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6571
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6572
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6573
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6574
-else
6575
-  eval "$as_ac_Header=\$ac_header_preproc"
6576
-fi
6577
-ac_res=`eval echo '${'$as_ac_Header'}'`
6578
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6579
-echo "${ECHO_T}$ac_res" >&6; }
6580
-
6581
-fi
6582
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
6280
+do :
6281
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6282
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6283
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6583 6284
   cat >>confdefs.h <<_ACEOF
6584
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6285
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6585 6286
 _ACEOF
6586 6287
 
6587 6288
 fi
... ...
@@ -6597,70 +5178,15 @@ esac
6597 6597
 ac_config_links="$ac_config_links $ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h"
6598 6598
 
6599 6599
 
6600
-cat >>confdefs.h <<\_ACEOF
6601
-#define fnmatch rpl_fnmatch
6602
-_ACEOF
6600
+$as_echo "#define fnmatch rpl_fnmatch" >>confdefs.h
6603 6601
 
6604 6602
 
6605 6603
 fi
6606 6604
 
6607 6605
 
6606
+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6607
+if test "x$ac_cv_type_pid_t" = x""yes; then :
6608 6608
 
6609
-{ echo "$as_me:$LINENO: checking for pid_t" >&5
6610
-echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
6611
-if test "${ac_cv_type_pid_t+set}" = set; then
6612
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6613
-else
6614
-  cat >conftest.$ac_ext <<_ACEOF
6615
-/* confdefs.h.  */
6616
-_ACEOF
6617
-cat confdefs.h >>conftest.$ac_ext
6618
-cat >>conftest.$ac_ext <<_ACEOF
6619
-/* end confdefs.h.  */
6620
-$ac_includes_default
6621
-typedef pid_t ac__type_new_;
6622
-int
6623
-main ()
6624
-{
6625
-if ((ac__type_new_ *) 0)
6626
-  return 0;
6627
-if (sizeof (ac__type_new_))
6628
-  return 0;
6629
-  ;
6630
-  return 0;
6631
-}
6632
-_ACEOF
6633
-rm -f conftest.$ac_objext
6634
-if { (ac_try="$ac_compile"
6635
-case "(($ac_try" in
6636
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6637
-  *) ac_try_echo=$ac_try;;
6638
-esac
6639
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6640
-  (eval "$ac_compile") 2>conftest.er1
6641
-  ac_status=$?
6642
-  grep -v '^ *+' conftest.er1 >conftest.err
6643
-  rm -f conftest.er1
6644
-  cat conftest.err >&5
6645
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646
-  (exit $ac_status); } && {
6647
-	 test -z "$ac_c_werror_flag" ||
6648
-	 test ! -s conftest.err
6649
-       } && test -s conftest.$ac_objext; then
6650
-  ac_cv_type_pid_t=yes
6651
-else
6652
-  echo "$as_me: failed program was:" >&5
6653
-sed 's/^/| /' conftest.$ac_ext >&5
6654
-
6655
-	ac_cv_type_pid_t=no
6656
-fi
6657
-
6658
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6659
-fi
6660
-{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6661
-echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
6662
-if test $ac_cv_type_pid_t = yes; then
6663
-  :
6664 6609
 else
6665 6610
 
6666 6611
 cat >>confdefs.h <<_ACEOF
... ...
@@ -6669,260 +5195,40 @@ _ACEOF
6669 6669
 
6670 6670
 fi
6671 6671
 
6672
-
6673 6672
 for ac_header in vfork.h
6674
-do
6675
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6676
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6677
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6678
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6679
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6680
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6681
-fi
6682
-ac_res=`eval echo '${'$as_ac_Header'}'`
6683
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6684
-echo "${ECHO_T}$ac_res" >&6; }
6685
-else
6686
-  # Is the header compilable?
6687
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6688
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6689
-cat >conftest.$ac_ext <<_ACEOF
6690
-/* confdefs.h.  */
6691
-_ACEOF
6692
-cat confdefs.h >>conftest.$ac_ext
6693
-cat >>conftest.$ac_ext <<_ACEOF
6694
-/* end confdefs.h.  */
6695
-$ac_includes_default
6696
-#include <$ac_header>
6697
-_ACEOF
6698
-rm -f conftest.$ac_objext
6699
-if { (ac_try="$ac_compile"
6700
-case "(($ac_try" in
6701
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6702
-  *) ac_try_echo=$ac_try;;
6703
-esac
6704
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6705
-  (eval "$ac_compile") 2>conftest.er1
6706
-  ac_status=$?
6707
-  grep -v '^ *+' conftest.er1 >conftest.err
6708
-  rm -f conftest.er1
6709
-  cat conftest.err >&5
6710
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711
-  (exit $ac_status); } && {
6712
-	 test -z "$ac_c_werror_flag" ||
6713
-	 test ! -s conftest.err
6714
-       } && test -s conftest.$ac_objext; then
6715
-  ac_header_compiler=yes
6716
-else
6717
-  echo "$as_me: failed program was:" >&5
6718
-sed 's/^/| /' conftest.$ac_ext >&5
6719
-
6720
-	ac_header_compiler=no
6721
-fi
6722
-
6723
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6724
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6725
-echo "${ECHO_T}$ac_header_compiler" >&6; }
6726
-
6727
-# Is the header present?
6728
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6729
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6730
-cat >conftest.$ac_ext <<_ACEOF
6731
-/* confdefs.h.  */
6732
-_ACEOF
6733
-cat confdefs.h >>conftest.$ac_ext
6734
-cat >>conftest.$ac_ext <<_ACEOF
6735
-/* end confdefs.h.  */
6736
-#include <$ac_header>
6737
-_ACEOF
6738
-if { (ac_try="$ac_cpp conftest.$ac_ext"
6739
-case "(($ac_try" in
6740
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6741
-  *) ac_try_echo=$ac_try;;
6742
-esac
6743
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6744
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6745
-  ac_status=$?
6746
-  grep -v '^ *+' conftest.er1 >conftest.err
6747
-  rm -f conftest.er1
6748
-  cat conftest.err >&5
6749
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750
-  (exit $ac_status); } >/dev/null && {
6751
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6752
-	 test ! -s conftest.err
6753
-       }; then
6754
-  ac_header_preproc=yes
6755
-else
6756
-  echo "$as_me: failed program was:" >&5
6757
-sed 's/^/| /' conftest.$ac_ext >&5
6758
-
6759
-  ac_header_preproc=no
6760
-fi
6761
-
6762
-rm -f conftest.err conftest.$ac_ext
6763
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6764
-echo "${ECHO_T}$ac_header_preproc" >&6; }
6765
-
6766
-# So?  What about this header?
6767
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6768
-  yes:no: )
6769
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6770
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6771
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6772
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6773
-    ac_header_preproc=yes
6774
-    ;;
6775
-  no:yes:* )
6776
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6777
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6778
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6779
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6780
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6781
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6782
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6783
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6784
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6785
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6786
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6787
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6788
-    ( cat <<\_ASBOX
6789
-## ------------------------------------ ##
6790
-## Report this to info-makuosan@klab.jp ##
6791
-## ------------------------------------ ##
6792
-_ASBOX
6793
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
6794
-    ;;
6795
-esac
6796
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6797
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6798
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6799
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6800
-else
6801
-  eval "$as_ac_Header=\$ac_header_preproc"
6802
-fi
6803
-ac_res=`eval echo '${'$as_ac_Header'}'`
6804
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6805
-echo "${ECHO_T}$ac_res" >&6; }
6806
-
6807
-fi
6808
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
6673
+do :
6674
+  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
6675
+if test "x$ac_cv_header_vfork_h" = x""yes; then :
6809 6676
   cat >>confdefs.h <<_ACEOF
6810
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6677
+#define HAVE_VFORK_H 1
6811 6678
 _ACEOF
6812 6679
 
6813 6680
 fi
6814 6681
 
6815 6682
 done
6816 6683
 
6817
-
6818
-
6819 6684
 for ac_func in fork vfork
6820
-do
6821
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6822
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6823
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6824
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6825
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6826
-else
6827
-  cat >conftest.$ac_ext <<_ACEOF
6828
-/* confdefs.h.  */
6829
-_ACEOF
6830
-cat confdefs.h >>conftest.$ac_ext
6831
-cat >>conftest.$ac_ext <<_ACEOF
6832
-/* end confdefs.h.  */
6833
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6834
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6835
-#define $ac_func innocuous_$ac_func
6836
-
6837
-/* System header to define __stub macros and hopefully few prototypes,
6838
-    which can conflict with char $ac_func (); below.
6839
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6840
-    <limits.h> exists even on freestanding compilers.  */
6841
-
6842
-#ifdef __STDC__
6843
-# include <limits.h>
6844
-#else
6845
-# include <assert.h>
6846
-#endif
6847
-
6848
-#undef $ac_func
6849
-
6850
-/* Override any GCC internal prototype to avoid an error.
6851
-   Use char because int might match the return type of a GCC
6852
-   builtin and then its argument prototype would still apply.  */
6853
-#ifdef __cplusplus
6854
-extern "C"
6855
-#endif
6856
-char $ac_func ();
6857
-/* The GNU C library defines this for functions which it implements
6858
-    to always fail with ENOSYS.  Some functions are actually named
6859
-    something starting with __ and the normal name is an alias.  */
6860
-#if defined __stub_$ac_func || defined __stub___$ac_func
6861
-choke me
6862
-#endif
6863
-
6864
-int
6865
-main ()
6866
-{
6867
-return $ac_func ();
6868
-  ;
6869
-  return 0;
6870
-}
6871
-_ACEOF
6872
-rm -f conftest.$ac_objext conftest$ac_exeext
6873
-if { (ac_try="$ac_link"
6874
-case "(($ac_try" in
6875
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6876
-  *) ac_try_echo=$ac_try;;
6877
-esac
6878
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6879
-  (eval "$ac_link") 2>conftest.er1
6880
-  ac_status=$?
6881
-  grep -v '^ *+' conftest.er1 >conftest.err
6882
-  rm -f conftest.er1
6883
-  cat conftest.err >&5
6884
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885
-  (exit $ac_status); } && {
6886
-	 test -z "$ac_c_werror_flag" ||
6887
-	 test ! -s conftest.err
6888
-       } && test -s conftest$ac_exeext &&
6889
-       $as_test_x conftest$ac_exeext; then
6890
-  eval "$as_ac_var=yes"
6891
-else
6892
-  echo "$as_me: failed program was:" >&5
6893
-sed 's/^/| /' conftest.$ac_ext >&5
6894
-
6895
-	eval "$as_ac_var=no"
6896
-fi
6897
-
6898
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6899
-      conftest$ac_exeext conftest.$ac_ext
6900
-fi
6901
-ac_res=`eval echo '${'$as_ac_var'}'`
6902
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6903
-echo "${ECHO_T}$ac_res" >&6; }
6904
-if test `eval echo '${'$as_ac_var'}'` = yes; then
6685
+do :
6686
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6687
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6688
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6905 6689
   cat >>confdefs.h <<_ACEOF
6906
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6690
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6907 6691
 _ACEOF
6908 6692
 
6909 6693
 fi
6910 6694
 done
6911 6695
 
6912 6696
 if test "x$ac_cv_func_fork" = xyes; then
6913
-  { echo "$as_me:$LINENO: checking for working fork" >&5
6914
-echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
6915
-if test "${ac_cv_func_fork_works+set}" = set; then
6916
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6697
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
6698
+$as_echo_n "checking for working fork... " >&6; }
6699
+if test "${ac_cv_func_fork_works+set}" = set; then :
6700
+  $as_echo_n "(cached) " >&6
6917 6701
 else
6918
-  if test "$cross_compiling" = yes; then
6702
+  if test "$cross_compiling" = yes; then :
6919 6703
   ac_cv_func_fork_works=cross
6920 6704
 else
6921
-  cat >conftest.$ac_ext <<_ACEOF
6922
-/* confdefs.h.  */
6923
-_ACEOF
6924
-cat confdefs.h >>conftest.$ac_ext
6925
-cat >>conftest.$ac_ext <<_ACEOF
6705
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6926 6706
 /* end confdefs.h.  */
6927 6707
 $ac_includes_default
6928 6708
 int
... ...
@@ -6936,42 +5242,18 @@ main ()
6936 6936
   return 0;
6937 6937
 }
6938 6938
 _ACEOF
6939
-rm -f conftest$ac_exeext
6940
-if { (ac_try="$ac_link"
6941
-case "(($ac_try" in
6942
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6943
-  *) ac_try_echo=$ac_try;;
6944
-esac
6945
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6946
-  (eval "$ac_link") 2>&5
6947
-  ac_status=$?
6948
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6950
-  { (case "(($ac_try" in
6951
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6952
-  *) ac_try_echo=$ac_try;;
6953
-esac
6954
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6955
-  (eval "$ac_try") 2>&5
6956
-  ac_status=$?
6957
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958
-  (exit $ac_status); }; }; then
6939
+if ac_fn_c_try_run "$LINENO"; then :
6959 6940
   ac_cv_func_fork_works=yes
6960 6941
 else
6961
-  echo "$as_me: program exited with status $ac_status" >&5
6962
-echo "$as_me: failed program was:" >&5
6963
-sed 's/^/| /' conftest.$ac_ext >&5
6964
-
6965
-( exit $ac_status )
6966
-ac_cv_func_fork_works=no
6942
+  ac_cv_func_fork_works=no
6967 6943
 fi
6968
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6944
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6945
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
6969 6946
 fi
6970 6947
 
6971
-
6972 6948
 fi
6973
-{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
6974
-echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
6949
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
6950
+$as_echo "$ac_cv_func_fork_works" >&6; }
6975 6951
 
6976 6952
 else
6977 6953
   ac_cv_func_fork_works=$ac_cv_func_fork
... ...
@@ -6986,24 +5268,20 @@ if test "x$ac_cv_func_fork_works" = xcross; then
6986 6986
       ac_cv_func_fork_works=yes
6987 6987
       ;;
6988 6988
   esac
6989
-  { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6990
-echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6989
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
6990
+$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
6991 6991
 fi
6992 6992
 ac_cv_func_vfork_works=$ac_cv_func_vfork
6993 6993
 if test "x$ac_cv_func_vfork" = xyes; then
6994
-  { echo "$as_me:$LINENO: checking for working vfork" >&5
6995
-echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
6996
-if test "${ac_cv_func_vfork_works+set}" = set; then
6997
-  echo $ECHO_N "(cached) $ECHO_C" >&6
6994
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
6995
+$as_echo_n "checking for working vfork... " >&6; }
6996
+if test "${ac_cv_func_vfork_works+set}" = set; then :
6997
+  $as_echo_n "(cached) " >&6
6998 6998
 else
6999
-  if test "$cross_compiling" = yes; then
6999
+  if test "$cross_compiling" = yes; then :
7000 7000
   ac_cv_func_vfork_works=cross
7001 7001
 else
7002
-  cat >conftest.$ac_ext <<_ACEOF
7003
-/* confdefs.h.  */
7004
-_ACEOF
7005
-cat confdefs.h >>conftest.$ac_ext
7006
-cat >>conftest.$ac_ext <<_ACEOF
7002
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 7003
 /* end confdefs.h.  */
7008 7004
 /* Thanks to Paul Eggert for this test.  */
7009 7005
 $ac_includes_default
... ...
@@ -7095,94 +5373,60 @@ main ()
7095 7095
   }
7096 7096
 }
7097 7097
 _ACEOF
7098
-rm -f conftest$ac_exeext
7099
-if { (ac_try="$ac_link"
7100
-case "(($ac_try" in
7101
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7102
-  *) ac_try_echo=$ac_try;;
7103
-esac
7104
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7105
-  (eval "$ac_link") 2>&5
7106
-  ac_status=$?
7107
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7109
-  { (case "(($ac_try" in
7110
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7111
-  *) ac_try_echo=$ac_try;;
7112
-esac
7113
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7114
-  (eval "$ac_try") 2>&5
7115
-  ac_status=$?
7116
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117
-  (exit $ac_status); }; }; then
7098
+if ac_fn_c_try_run "$LINENO"; then :
7118 7099
   ac_cv_func_vfork_works=yes
7119 7100
 else
7120
-  echo "$as_me: program exited with status $ac_status" >&5
7121
-echo "$as_me: failed program was:" >&5
7122
-sed 's/^/| /' conftest.$ac_ext >&5
7123
-
7124
-( exit $ac_status )
7125
-ac_cv_func_vfork_works=no
7101
+  ac_cv_func_vfork_works=no
7126 7102
 fi
7127
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7103
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7104
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
7128 7105
 fi
7129 7106
 
7130
-
7131 7107
 fi
7132
-{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
7133
-echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
7108
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
7109
+$as_echo "$ac_cv_func_vfork_works" >&6; }
7134 7110
 
7135 7111
 fi;
7136 7112
 if test "x$ac_cv_func_fork_works" = xcross; then
7137 7113
   ac_cv_func_vfork_works=$ac_cv_func_vfork
7138
-  { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
7139
-echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
7114
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
7115
+$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
7140 7116
 fi
7141 7117
 
7142 7118
 if test "x$ac_cv_func_vfork_works" = xyes; then
7143 7119
 
7144
-cat >>confdefs.h <<\_ACEOF
7145
-#define HAVE_WORKING_VFORK 1
7146
-_ACEOF
7120
+$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
7147 7121
 
7148 7122
 else
7149 7123
 
7150
-cat >>confdefs.h <<\_ACEOF
7151
-#define vfork fork
7152
-_ACEOF
7124
+$as_echo "#define vfork fork" >>confdefs.h
7153 7125
 
7154 7126
 fi
7155 7127
 if test "x$ac_cv_func_fork_works" = xyes; then
7156 7128
 
7157
-cat >>confdefs.h <<\_ACEOF
7158
-#define HAVE_WORKING_FORK 1
7159
-_ACEOF
7129
+$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
7160 7130
 
7161 7131
 fi
7162 7132
 
7163
-{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
7164
-echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
7165
-if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7166
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7133
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
7134
+$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
7135
+if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
7136
+  $as_echo_n "(cached) " >&6
7167 7137
 else
7168 7138
   rm -f conftest.sym conftest.file
7169 7139
 echo >conftest.file
7170 7140
 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7171
-  if test "$cross_compiling" = yes; then
7141
+  if test "$cross_compiling" = yes; then :
7172 7142
   ac_cv_func_lstat_dereferences_slashed_symlink=no
7173 7143
 else
7174
-  cat >conftest.$ac_ext <<_ACEOF
7175
-/* confdefs.h.  */
7176
-_ACEOF
7177
-cat confdefs.h >>conftest.$ac_ext
7178
-cat >>conftest.$ac_ext <<_ACEOF
7144
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179 7145
 /* end confdefs.h.  */
7180 7146
 $ac_includes_default
7181 7147
 int
7182 7148
 main ()
7183 7149
 {
7184 7150
 struct stat sbuf;
7185
-     /* Linux will dereference the symlink and fail.
7151
+     /* Linux will dereference the symlink and fail, as required by POSIX.
7186 7152
 	That is better in the sense that it means we will not
7187 7153
 	have to compile and use the lstat wrapper.  */
7188 7154
      return lstat ("conftest.sym/", &sbuf) == 0;
... ...
@@ -7190,39 +5434,15 @@ struct stat sbuf;
7190 7190
   return 0;
7191 7191
 }
7192 7192
 _ACEOF
7193
-rm -f conftest$ac_exeext
7194
-if { (ac_try="$ac_link"
7195
-case "(($ac_try" in
7196
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7197
-  *) ac_try_echo=$ac_try;;
7198
-esac
7199
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7200
-  (eval "$ac_link") 2>&5
7201
-  ac_status=$?
7202
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7204
-  { (case "(($ac_try" in
7205
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7206
-  *) ac_try_echo=$ac_try;;
7207
-esac
7208
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7209
-  (eval "$ac_try") 2>&5
7210
-  ac_status=$?
7211
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212
-  (exit $ac_status); }; }; then
7193
+if ac_fn_c_try_run "$LINENO"; then :
7213 7194
   ac_cv_func_lstat_dereferences_slashed_symlink=yes
7214 7195
 else
7215
-  echo "$as_me: program exited with status $ac_status" >&5
7216
-echo "$as_me: failed program was:" >&5
7217
-sed 's/^/| /' conftest.$ac_ext >&5
7218
-
7219
-( exit $ac_status )
7220
-ac_cv_func_lstat_dereferences_slashed_symlink=no
7196
+  ac_cv_func_lstat_dereferences_slashed_symlink=no
7221 7197
 fi
7222
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7198
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7199
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
7223 7200
 fi
7224 7201
 
7225
-
7226 7202
 else
7227 7203
   # If the `ln -s' command failed, then we probably don't even
7228 7204
   # have an lstat function.
... ...
@@ -7231,8 +5451,8 @@ fi
7231 7231
 rm -f conftest.sym conftest.file
7232 7232
 
7233 7233
 fi
7234
-{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7235
-echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7234
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7235
+$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7236 7236
 
7237 7237
 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7238 7238
 
... ...
@@ -7241,7 +5461,7 @@ cat >>confdefs.h <<_ACEOF
7241 7241
 _ACEOF
7242 7242
 
7243 7243
 
7244
-if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7244
+if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
7245 7245
   case " $LIBOBJS " in
7246 7246
   *" lstat.$ac_objext "* ) ;;
7247 7247
   *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
... ...
@@ -7250,19 +5470,15 @@ esac
7250 7250
 
7251 7251
 fi
7252 7252
 
7253
-{ echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
7254
-echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6; }
7255
-if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
7256
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7253
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
7254
+$as_echo_n "checking whether lstat accepts an empty string... " >&6; }
7255
+if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then :
7256
+  $as_echo_n "(cached) " >&6
7257 7257
 else
7258
-  if test "$cross_compiling" = yes; then
7258
+  if test "$cross_compiling" = yes; then :
7259 7259
   ac_cv_func_lstat_empty_string_bug=yes
7260 7260
 else
7261
-  cat >conftest.$ac_ext <<_ACEOF
7262
-/* confdefs.h.  */
7263
-_ACEOF
7264
-cat confdefs.h >>conftest.$ac_ext
7265
-cat >>conftest.$ac_ext <<_ACEOF
7261
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266 7262
 /* end confdefs.h.  */
7267 7263
 $ac_includes_default
7268 7264
 int
... ...
@@ -7274,42 +5490,18 @@ struct stat sbuf;
7274 7274
   return 0;
7275 7275
 }
7276 7276
 _ACEOF
7277
-rm -f conftest$ac_exeext
7278
-if { (ac_try="$ac_link"
7279
-case "(($ac_try" in
7280
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7281
-  *) ac_try_echo=$ac_try;;
7282
-esac
7283
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7284
-  (eval "$ac_link") 2>&5
7285
-  ac_status=$?
7286
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7288
-  { (case "(($ac_try" in
7289
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7290
-  *) ac_try_echo=$ac_try;;
7291
-esac
7292
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7293
-  (eval "$ac_try") 2>&5
7294
-  ac_status=$?
7295
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296
-  (exit $ac_status); }; }; then
7277
+if ac_fn_c_try_run "$LINENO"; then :
7297 7278
   ac_cv_func_lstat_empty_string_bug=no
7298 7279
 else
7299
-  echo "$as_me: program exited with status $ac_status" >&5
7300
-echo "$as_me: failed program was:" >&5
7301
-sed 's/^/| /' conftest.$ac_ext >&5
7302
-
7303
-( exit $ac_status )
7304
-ac_cv_func_lstat_empty_string_bug=yes
7280
+  ac_cv_func_lstat_empty_string_bug=yes
7305 7281
 fi
7306
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7282
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7283
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
7307 7284
 fi
7308 7285
 
7309
-
7310 7286
 fi
7311
-{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
7312
-echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6; }
7287
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
7288
+$as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
7313 7289
 if test $ac_cv_func_lstat_empty_string_bug = yes; then
7314 7290
   case " $LIBOBJS " in
7315 7291
   *" lstat.$ac_objext "* ) ;;
... ...
@@ -7324,29 +5516,25 @@ _ACEOF
7324 7324
 
7325 7325
 fi
7326 7326
 
7327
-{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
7328
-echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
7329
-if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
7330
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7327
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
7328
+$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
7329
+if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
7330
+  $as_echo_n "(cached) " >&6
7331 7331
 else
7332 7332
   rm -f conftest.sym conftest.file
7333 7333
 echo >conftest.file
7334 7334
 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7335
-  if test "$cross_compiling" = yes; then
7335
+  if test "$cross_compiling" = yes; then :
7336 7336
   ac_cv_func_lstat_dereferences_slashed_symlink=no
7337 7337
 else
7338
-  cat >conftest.$ac_ext <<_ACEOF
7339
-/* confdefs.h.  */
7340
-_ACEOF
7341
-cat confdefs.h >>conftest.$ac_ext
7342
-cat >>conftest.$ac_ext <<_ACEOF
7338
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7343 7339
 /* end confdefs.h.  */
7344 7340
 $ac_includes_default
7345 7341
 int
7346 7342
 main ()
7347 7343
 {
7348 7344
 struct stat sbuf;
7349
-     /* Linux will dereference the symlink and fail.
7345
+     /* Linux will dereference the symlink and fail, as required by POSIX.
7350 7346
 	That is better in the sense that it means we will not
7351 7347
 	have to compile and use the lstat wrapper.  */
7352 7348
      return lstat ("conftest.sym/", &sbuf) == 0;
... ...
@@ -7354,39 +5542,15 @@ struct stat sbuf;
7354 7354
   return 0;
7355 7355
 }
7356 7356
 _ACEOF
7357
-rm -f conftest$ac_exeext
7358
-if { (ac_try="$ac_link"
7359
-case "(($ac_try" in
7360
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7361
-  *) ac_try_echo=$ac_try;;
7362
-esac
7363
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7364
-  (eval "$ac_link") 2>&5
7365
-  ac_status=$?
7366
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7368
-  { (case "(($ac_try" in
7369
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7370
-  *) ac_try_echo=$ac_try;;
7371
-esac
7372
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7373
-  (eval "$ac_try") 2>&5
7374
-  ac_status=$?
7375
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376
-  (exit $ac_status); }; }; then
7357
+if ac_fn_c_try_run "$LINENO"; then :
7377 7358
   ac_cv_func_lstat_dereferences_slashed_symlink=yes
7378 7359
 else
7379
-  echo "$as_me: program exited with status $ac_status" >&5
7380
-echo "$as_me: failed program was:" >&5
7381
-sed 's/^/| /' conftest.$ac_ext >&5
7382
-
7383
-( exit $ac_status )
7384
-ac_cv_func_lstat_dereferences_slashed_symlink=no
7360
+  ac_cv_func_lstat_dereferences_slashed_symlink=no
7385 7361
 fi
7386
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7362
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7363
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
7387 7364
 fi
7388 7365
 
7389
-
7390 7366
 else
7391 7367
   # If the `ln -s' command failed, then we probably don't even
7392 7368
   # have an lstat function.
... ...
@@ -7395,8 +5559,8 @@ fi
7395 7395
 rm -f conftest.sym conftest.file
7396 7396
 
7397 7397
 fi
7398
-{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7399
-echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7398
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7399
+$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7400 7400
 
7401 7401
 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7402 7402
 
... ...
@@ -7405,7 +5569,7 @@ cat >>confdefs.h <<_ACEOF
7405 7405
 _ACEOF
7406 7406
 
7407 7407
 
7408
-if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7408
+if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
7409 7409
   case " $LIBOBJS " in
7410 7410
   *" lstat.$ac_objext "* ) ;;
7411 7411
   *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
... ...
@@ -7414,164 +5578,27 @@ esac
7414 7414
 
7415 7415
 fi
7416 7416
 
7417
-
7418 7417
 for ac_header in stdlib.h
7419
-do
7420
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7421
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7422
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7423
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7424
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7425
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7426
-fi
7427
-ac_res=`eval echo '${'$as_ac_Header'}'`
7428
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7429
-echo "${ECHO_T}$ac_res" >&6; }
7430
-else
7431
-  # Is the header compilable?
7432
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7433
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7434
-cat >conftest.$ac_ext <<_ACEOF
7435
-/* confdefs.h.  */
7436
-_ACEOF
7437
-cat confdefs.h >>conftest.$ac_ext
7438
-cat >>conftest.$ac_ext <<_ACEOF
7439
-/* end confdefs.h.  */
7440
-$ac_includes_default
7441
-#include <$ac_header>
7442
-_ACEOF
7443
-rm -f conftest.$ac_objext
7444
-if { (ac_try="$ac_compile"
7445
-case "(($ac_try" in
7446
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7447
-  *) ac_try_echo=$ac_try;;
7448
-esac
7449
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7450
-  (eval "$ac_compile") 2>conftest.er1
7451
-  ac_status=$?
7452
-  grep -v '^ *+' conftest.er1 >conftest.err
7453
-  rm -f conftest.er1
7454
-  cat conftest.err >&5
7455
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456
-  (exit $ac_status); } && {
7457
-	 test -z "$ac_c_werror_flag" ||
7458
-	 test ! -s conftest.err
7459
-       } && test -s conftest.$ac_objext; then
7460
-  ac_header_compiler=yes
7461
-else
7462
-  echo "$as_me: failed program was:" >&5
7463
-sed 's/^/| /' conftest.$ac_ext >&5
7464
-
7465
-	ac_header_compiler=no
7466
-fi
7467
-
7468
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7469
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7470
-echo "${ECHO_T}$ac_header_compiler" >&6; }
7471
-
7472
-# Is the header present?
7473
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7474
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7475
-cat >conftest.$ac_ext <<_ACEOF
7476
-/* confdefs.h.  */
7477
-_ACEOF
7478
-cat confdefs.h >>conftest.$ac_ext
7479
-cat >>conftest.$ac_ext <<_ACEOF
7480
-/* end confdefs.h.  */
7481
-#include <$ac_header>
7482
-_ACEOF
7483
-if { (ac_try="$ac_cpp conftest.$ac_ext"
7484
-case "(($ac_try" in
7485
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7486
-  *) ac_try_echo=$ac_try;;
7487
-esac
7488
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7489
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7490
-  ac_status=$?
7491
-  grep -v '^ *+' conftest.er1 >conftest.err
7492
-  rm -f conftest.er1
7493
-  cat conftest.err >&5
7494
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495
-  (exit $ac_status); } >/dev/null && {
7496
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7497
-	 test ! -s conftest.err
7498
-       }; then
7499
-  ac_header_preproc=yes
7500
-else
7501
-  echo "$as_me: failed program was:" >&5
7502
-sed 's/^/| /' conftest.$ac_ext >&5
7503
-
7504
-  ac_header_preproc=no
7505
-fi
7506
-
7507
-rm -f conftest.err conftest.$ac_ext
7508
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7509
-echo "${ECHO_T}$ac_header_preproc" >&6; }
7510
-
7511
-# So?  What about this header?
7512
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7513
-  yes:no: )
7514
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7515
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7516
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7517
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7518
-    ac_header_preproc=yes
7519
-    ;;
7520
-  no:yes:* )
7521
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7522
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7523
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7524
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7525
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7526
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7527
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7528
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7529
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7530
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7531
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7532
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7533
-    ( cat <<\_ASBOX
7534
-## ------------------------------------ ##
7535
-## Report this to info-makuosan@klab.jp ##
7536
-## ------------------------------------ ##
7537
-_ASBOX
7538
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
7539
-    ;;
7540
-esac
7541
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7542
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7543
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7544
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7545
-else
7546
-  eval "$as_ac_Header=\$ac_header_preproc"
7547
-fi
7548
-ac_res=`eval echo '${'$as_ac_Header'}'`
7549
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7550
-echo "${ECHO_T}$ac_res" >&6; }
7551
-
7552
-fi
7553
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
7418
+do :
7419
+  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
7420
+if test "x$ac_cv_header_stdlib_h" = x""yes; then :
7554 7421
   cat >>confdefs.h <<_ACEOF
7555
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7422
+#define HAVE_STDLIB_H 1
7556 7423
 _ACEOF
7557 7424
 
7558 7425
 fi
7559 7426
 
7560 7427
 done
7561 7428
 
7562
-{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
7563
-echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
7564
-if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
7565
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7429
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
7430
+$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
7431
+if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
7432
+  $as_echo_n "(cached) " >&6
7566 7433
 else
7567
-  if test "$cross_compiling" = yes; then
7434
+  if test "$cross_compiling" = yes; then :
7568 7435
   ac_cv_func_malloc_0_nonnull=no
7569 7436
 else
7570
-  cat >conftest.$ac_ext <<_ACEOF
7571
-/* confdefs.h.  */
7572
-_ACEOF
7573
-cat confdefs.h >>conftest.$ac_ext
7574
-cat >>conftest.$ac_ext <<_ACEOF
7437
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7575 7438
 /* end confdefs.h.  */
7576 7439
 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7577 7440
 # include <stdlib.h>
... ...
@@ -7587,52 +5614,24 @@ return ! malloc (0);
7587 7587
   return 0;
7588 7588
 }
7589 7589
 _ACEOF
7590
-rm -f conftest$ac_exeext
7591
-if { (ac_try="$ac_link"
7592
-case "(($ac_try" in
7593
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7594
-  *) ac_try_echo=$ac_try;;
7595
-esac
7596
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7597
-  (eval "$ac_link") 2>&5
7598
-  ac_status=$?
7599
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7601
-  { (case "(($ac_try" in
7602
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7603
-  *) ac_try_echo=$ac_try;;
7604
-esac
7605
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7606
-  (eval "$ac_try") 2>&5
7607
-  ac_status=$?
7608
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609
-  (exit $ac_status); }; }; then
7590
+if ac_fn_c_try_run "$LINENO"; then :
7610 7591
   ac_cv_func_malloc_0_nonnull=yes
7611 7592
 else
7612
-  echo "$as_me: program exited with status $ac_status" >&5
7613
-echo "$as_me: failed program was:" >&5
7614
-sed 's/^/| /' conftest.$ac_ext >&5
7615
-
7616
-( exit $ac_status )
7617
-ac_cv_func_malloc_0_nonnull=no
7593
+  ac_cv_func_malloc_0_nonnull=no
7618 7594
 fi
7619
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7595
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7596
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
7620 7597
 fi
7621 7598
 
7622
-
7623 7599
 fi
7624
-{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
7625
-echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
7626
-if test $ac_cv_func_malloc_0_nonnull = yes; then
7600
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
7601
+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7602
+if test $ac_cv_func_malloc_0_nonnull = yes; then :
7627 7603
 
7628
-cat >>confdefs.h <<\_ACEOF
7629
-#define HAVE_MALLOC 1
7630
-_ACEOF
7604
+$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
7631 7605
 
7632 7606
 else
7633
-  cat >>confdefs.h <<\_ACEOF
7634
-#define HAVE_MALLOC 0
7635
-_ACEOF
7607
+  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
7636 7608
 
7637 7609
    case " $LIBOBJS " in
7638 7610
   *" malloc.$ac_objext "* ) ;;
... ...
@@ -7641,27 +5640,20 @@ _ACEOF
7641 7641
 esac
7642 7642
 
7643 7643
 
7644
-cat >>confdefs.h <<\_ACEOF
7645
-#define malloc rpl_malloc
7646
-_ACEOF
7644
+$as_echo "#define malloc rpl_malloc" >>confdefs.h
7647 7645
 
7648 7646
 fi
7649 7647
 
7650 7648
 
7651
-
7652
-{ echo "$as_me:$LINENO: checking for working memcmp" >&5
7653
-echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
7654
-if test "${ac_cv_func_memcmp_working+set}" = set; then
7655
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7649
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
7650
+$as_echo_n "checking for working memcmp... " >&6; }
7651
+if test "${ac_cv_func_memcmp_working+set}" = set; then :
7652
+  $as_echo_n "(cached) " >&6
7656 7653
 else
7657
-  if test "$cross_compiling" = yes; then
7654
+  if test "$cross_compiling" = yes; then :
7658 7655
   ac_cv_func_memcmp_working=no
7659 7656
 else
7660
-  cat >conftest.$ac_ext <<_ACEOF
7661
-/* confdefs.h.  */
7662
-_ACEOF
7663
-cat confdefs.h >>conftest.$ac_ext
7664
-cat >>conftest.$ac_ext <<_ACEOF
7657
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7665 7658
 /* end confdefs.h.  */
7666 7659
 $ac_includes_default
7667 7660
 int
... ...
@@ -7696,42 +5688,18 @@ main ()
7696 7696
   return 0;
7697 7697
 }
7698 7698
 _ACEOF
7699
-rm -f conftest$ac_exeext
7700
-if { (ac_try="$ac_link"
7701
-case "(($ac_try" in
7702
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7703
-  *) ac_try_echo=$ac_try;;
7704
-esac
7705
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7706
-  (eval "$ac_link") 2>&5
7707
-  ac_status=$?
7708
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7710
-  { (case "(($ac_try" in
7711
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7712
-  *) ac_try_echo=$ac_try;;
7713
-esac
7714
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7715
-  (eval "$ac_try") 2>&5
7716
-  ac_status=$?
7717
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718
-  (exit $ac_status); }; }; then
7699
+if ac_fn_c_try_run "$LINENO"; then :
7719 7700
   ac_cv_func_memcmp_working=yes
7720 7701
 else
7721
-  echo "$as_me: program exited with status $ac_status" >&5
7722
-echo "$as_me: failed program was:" >&5
7723
-sed 's/^/| /' conftest.$ac_ext >&5
7724
-
7725
-( exit $ac_status )
7726
-ac_cv_func_memcmp_working=no
7702
+  ac_cv_func_memcmp_working=no
7727 7703
 fi
7728
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7704
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7705
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
7729 7706
 fi
7730 7707
 
7731
-
7732 7708
 fi
7733
-{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7734
-echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
7709
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
7710
+$as_echo "$ac_cv_func_memcmp_working" >&6; }
7735 7711
 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
7736 7712
   *" memcmp.$ac_objext "* ) ;;
7737 7713
   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
... ...
@@ -7739,164 +5707,27 @@ test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
7739 7739
 esac
7740 7740
 
7741 7741
 
7742
-
7743 7742
 for ac_header in stdlib.h
7744
-do
7745
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7746
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7747
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7748
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7749
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7750
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7751
-fi
7752
-ac_res=`eval echo '${'$as_ac_Header'}'`
7753
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7754
-echo "${ECHO_T}$ac_res" >&6; }
7755
-else
7756
-  # Is the header compilable?
7757
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7758
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7759
-cat >conftest.$ac_ext <<_ACEOF
7760
-/* confdefs.h.  */
7761
-_ACEOF
7762
-cat confdefs.h >>conftest.$ac_ext
7763
-cat >>conftest.$ac_ext <<_ACEOF
7764
-/* end confdefs.h.  */
7765
-$ac_includes_default
7766
-#include <$ac_header>
7767
-_ACEOF
7768
-rm -f conftest.$ac_objext
7769
-if { (ac_try="$ac_compile"
7770
-case "(($ac_try" in
7771
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7772
-  *) ac_try_echo=$ac_try;;
7773
-esac
7774
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7775
-  (eval "$ac_compile") 2>conftest.er1
7776
-  ac_status=$?
7777
-  grep -v '^ *+' conftest.er1 >conftest.err
7778
-  rm -f conftest.er1
7779
-  cat conftest.err >&5
7780
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781
-  (exit $ac_status); } && {
7782
-	 test -z "$ac_c_werror_flag" ||
7783
-	 test ! -s conftest.err
7784
-       } && test -s conftest.$ac_objext; then
7785
-  ac_header_compiler=yes
7786
-else
7787
-  echo "$as_me: failed program was:" >&5
7788
-sed 's/^/| /' conftest.$ac_ext >&5
7789
-
7790
-	ac_header_compiler=no
7791
-fi
7792
-
7793
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7794
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7795
-echo "${ECHO_T}$ac_header_compiler" >&6; }
7796
-
7797
-# Is the header present?
7798
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7799
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7800
-cat >conftest.$ac_ext <<_ACEOF
7801
-/* confdefs.h.  */
7802
-_ACEOF
7803
-cat confdefs.h >>conftest.$ac_ext
7804
-cat >>conftest.$ac_ext <<_ACEOF
7805
-/* end confdefs.h.  */
7806
-#include <$ac_header>
7807
-_ACEOF
7808
-if { (ac_try="$ac_cpp conftest.$ac_ext"
7809
-case "(($ac_try" in
7810
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7811
-  *) ac_try_echo=$ac_try;;
7812
-esac
7813
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7814
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7815
-  ac_status=$?
7816
-  grep -v '^ *+' conftest.er1 >conftest.err
7817
-  rm -f conftest.er1
7818
-  cat conftest.err >&5
7819
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820
-  (exit $ac_status); } >/dev/null && {
7821
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7822
-	 test ! -s conftest.err
7823
-       }; then
7824
-  ac_header_preproc=yes
7825
-else
7826
-  echo "$as_me: failed program was:" >&5
7827
-sed 's/^/| /' conftest.$ac_ext >&5
7828
-
7829
-  ac_header_preproc=no
7830
-fi
7831
-
7832
-rm -f conftest.err conftest.$ac_ext
7833
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7834
-echo "${ECHO_T}$ac_header_preproc" >&6; }
7835
-
7836
-# So?  What about this header?
7837
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7838
-  yes:no: )
7839
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7840
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7841
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7842
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7843
-    ac_header_preproc=yes
7844
-    ;;
7845
-  no:yes:* )
7846
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7847
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7848
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7849
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7850
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7851
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7852
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7853
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7854
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7855
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7856
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7857
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7858
-    ( cat <<\_ASBOX
7859
-## ------------------------------------ ##
7860
-## Report this to info-makuosan@klab.jp ##
7861
-## ------------------------------------ ##
7862
-_ASBOX
7863
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
7864
-    ;;
7865
-esac
7866
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7867
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7868
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7869
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7870
-else
7871
-  eval "$as_ac_Header=\$ac_header_preproc"
7872
-fi
7873
-ac_res=`eval echo '${'$as_ac_Header'}'`
7874
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7875
-echo "${ECHO_T}$ac_res" >&6; }
7876
-
7877
-fi
7878
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
7743
+do :
7744
+  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
7745
+if test "x$ac_cv_header_stdlib_h" = x""yes; then :
7879 7746
   cat >>confdefs.h <<_ACEOF
7880
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7747
+#define HAVE_STDLIB_H 1
7881 7748
 _ACEOF
7882 7749
 
7883 7750
 fi
7884 7751
 
7885 7752
 done
7886 7753
 
7887
-{ echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
7888
-echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
7889
-if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
7890
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7754
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
7755
+$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
7756
+if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
7757
+  $as_echo_n "(cached) " >&6
7891 7758
 else
7892
-  if test "$cross_compiling" = yes; then
7759
+  if test "$cross_compiling" = yes; then :
7893 7760
   ac_cv_func_realloc_0_nonnull=no
7894 7761
 else
7895
-  cat >conftest.$ac_ext <<_ACEOF
7896
-/* confdefs.h.  */
7897
-_ACEOF
7898
-cat confdefs.h >>conftest.$ac_ext
7899
-cat >>conftest.$ac_ext <<_ACEOF
7762
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7900 7763
 /* end confdefs.h.  */
7901 7764
 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
7902 7765
 # include <stdlib.h>
... ...
@@ -7912,52 +5743,24 @@ return ! realloc (0, 0);
7912 7912
   return 0;
7913 7913
 }
7914 7914
 _ACEOF
7915
-rm -f conftest$ac_exeext
7916
-if { (ac_try="$ac_link"
7917
-case "(($ac_try" in
7918
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7919
-  *) ac_try_echo=$ac_try;;
7920
-esac
7921
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7922
-  (eval "$ac_link") 2>&5
7923
-  ac_status=$?
7924
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
7932
-  ac_status=$?
7933
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934
-  (exit $ac_status); }; }; then
7915
+if ac_fn_c_try_run "$LINENO"; then :
7935 7916
   ac_cv_func_realloc_0_nonnull=yes
7936 7917
 else
7937
-  echo "$as_me: program exited with status $ac_status" >&5
7938
-echo "$as_me: failed program was:" >&5
7939
-sed 's/^/| /' conftest.$ac_ext >&5
7940
-
7941
-( exit $ac_status )
7942
-ac_cv_func_realloc_0_nonnull=no
7918
+  ac_cv_func_realloc_0_nonnull=no
7943 7919
 fi
7944
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7920
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7921
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
7945 7922
 fi
7946 7923
 
7947
-
7948 7924
 fi
7949
-{ echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
7950
-echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
7951
-if test $ac_cv_func_realloc_0_nonnull = yes; then
7925
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
7926
+$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
7927
+if test $ac_cv_func_realloc_0_nonnull = yes; then :
7952 7928
 
7953
-cat >>confdefs.h <<\_ACEOF
7954
-#define HAVE_REALLOC 1
7955
-_ACEOF
7929
+$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
7956 7930
 
7957 7931
 else
7958
-  cat >>confdefs.h <<\_ACEOF
7959
-#define HAVE_REALLOC 0
7960
-_ACEOF
7932
+  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
7961 7933
 
7962 7934
    case " $LIBOBJS " in
7963 7935
   *" realloc.$ac_objext "* ) ;;
... ...
@@ -7966,173 +5769,33 @@ _ACEOF
7966 7966
 esac
7967 7967
 
7968 7968
 
7969
-cat >>confdefs.h <<\_ACEOF
7970
-#define realloc rpl_realloc
7971
-_ACEOF
7969
+$as_echo "#define realloc rpl_realloc" >>confdefs.h
7972 7970
 
7973 7971
 fi
7974 7972
 
7975 7973
 
7976
-
7977
-
7978
-
7979 7974
 for ac_header in sys/select.h sys/socket.h
7980
-do
7981
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7982
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7983
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7984
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7985
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7986
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7987
-fi
7988
-ac_res=`eval echo '${'$as_ac_Header'}'`
7989
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7990
-echo "${ECHO_T}$ac_res" >&6; }
7991
-else
7992
-  # Is the header compilable?
7993
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7994
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7995
-cat >conftest.$ac_ext <<_ACEOF
7996
-/* confdefs.h.  */
7997
-_ACEOF
7998
-cat confdefs.h >>conftest.$ac_ext
7999
-cat >>conftest.$ac_ext <<_ACEOF
8000
-/* end confdefs.h.  */
8001
-$ac_includes_default
8002
-#include <$ac_header>
8003
-_ACEOF
8004
-rm -f conftest.$ac_objext
8005
-if { (ac_try="$ac_compile"
8006
-case "(($ac_try" in
8007
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8008
-  *) ac_try_echo=$ac_try;;
8009
-esac
8010
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8011
-  (eval "$ac_compile") 2>conftest.er1
8012
-  ac_status=$?
8013
-  grep -v '^ *+' conftest.er1 >conftest.err
8014
-  rm -f conftest.er1
8015
-  cat conftest.err >&5
8016
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017
-  (exit $ac_status); } && {
8018
-	 test -z "$ac_c_werror_flag" ||
8019
-	 test ! -s conftest.err
8020
-       } && test -s conftest.$ac_objext; then
8021
-  ac_header_compiler=yes
8022
-else
8023
-  echo "$as_me: failed program was:" >&5
8024
-sed 's/^/| /' conftest.$ac_ext >&5
8025
-
8026
-	ac_header_compiler=no
8027
-fi
8028
-
8029
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8030
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8031
-echo "${ECHO_T}$ac_header_compiler" >&6; }
8032
-
8033
-# Is the header present?
8034
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8035
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8036
-cat >conftest.$ac_ext <<_ACEOF
8037
-/* confdefs.h.  */
8038
-_ACEOF
8039
-cat confdefs.h >>conftest.$ac_ext
8040
-cat >>conftest.$ac_ext <<_ACEOF
8041
-/* end confdefs.h.  */
8042
-#include <$ac_header>
8043
-_ACEOF
8044
-if { (ac_try="$ac_cpp conftest.$ac_ext"
8045
-case "(($ac_try" in
8046
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8047
-  *) ac_try_echo=$ac_try;;
8048
-esac
8049
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8050
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8051
-  ac_status=$?
8052
-  grep -v '^ *+' conftest.er1 >conftest.err
8053
-  rm -f conftest.er1
8054
-  cat conftest.err >&5
8055
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056
-  (exit $ac_status); } >/dev/null && {
8057
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8058
-	 test ! -s conftest.err
8059
-       }; then
8060
-  ac_header_preproc=yes
8061
-else
8062
-  echo "$as_me: failed program was:" >&5
8063
-sed 's/^/| /' conftest.$ac_ext >&5
8064
-
8065
-  ac_header_preproc=no
8066
-fi
8067
-
8068
-rm -f conftest.err conftest.$ac_ext
8069
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8070
-echo "${ECHO_T}$ac_header_preproc" >&6; }
8071
-
8072
-# So?  What about this header?
8073
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8074
-  yes:no: )
8075
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8076
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8077
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8078
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8079
-    ac_header_preproc=yes
8080
-    ;;
8081
-  no:yes:* )
8082
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8083
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8084
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8085
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8086
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8087
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8088
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8089
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8090
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8091
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8092
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8093
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8094
-    ( cat <<\_ASBOX
8095
-## ------------------------------------ ##
8096
-## Report this to info-makuosan@klab.jp ##
8097
-## ------------------------------------ ##
8098
-_ASBOX
8099
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
8100
-    ;;
8101
-esac
8102
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8103
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8104
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8105
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8106
-else
8107
-  eval "$as_ac_Header=\$ac_header_preproc"
8108
-fi
8109
-ac_res=`eval echo '${'$as_ac_Header'}'`
8110
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8111
-echo "${ECHO_T}$ac_res" >&6; }
8112
-
8113
-fi
8114
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
7975
+do :
7976
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7977
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7978
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8115 7979
   cat >>confdefs.h <<_ACEOF
8116
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7980
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8117 7981
 _ACEOF
8118 7982
 
8119 7983
 fi
8120 7984
 
8121 7985
 done
8122 7986
 
8123
-{ echo "$as_me:$LINENO: checking types of arguments for select" >&5
8124
-echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
8125
-if test "${ac_cv_func_select_args+set}" = set; then
8126
-  echo $ECHO_N "(cached) $ECHO_C" >&6
7987
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
7988
+$as_echo_n "checking types of arguments for select... " >&6; }
7989
+if test "${ac_cv_func_select_args+set}" = set; then :
7990
+  $as_echo_n "(cached) " >&6
8127 7991
 else
8128 7992
   for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
8129 7993
  for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
8130 7994
   for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
8131
-   cat >conftest.$ac_ext <<_ACEOF
8132
-/* confdefs.h.  */
8133
-_ACEOF
8134
-cat confdefs.h >>conftest.$ac_ext
8135
-cat >>conftest.$ac_ext <<_ACEOF
7995
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136 7996
 /* end confdefs.h.  */
8137 7997
 $ac_includes_default
8138 7998
 #ifdef HAVE_SYS_SELECT_H
... ...
@@ -8152,31 +5815,9 @@ extern int select ($ac_arg1,
8152 8152
   return 0;
8153 8153
 }
8154 8154
 _ACEOF
8155
-rm -f conftest.$ac_objext
8156
-if { (ac_try="$ac_compile"
8157
-case "(($ac_try" in
8158
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8159
-  *) ac_try_echo=$ac_try;;
8160
-esac
8161
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8162
-  (eval "$ac_compile") 2>conftest.er1
8163
-  ac_status=$?
8164
-  grep -v '^ *+' conftest.er1 >conftest.err
8165
-  rm -f conftest.er1
8166
-  cat conftest.err >&5
8167
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168
-  (exit $ac_status); } && {
8169
-	 test -z "$ac_c_werror_flag" ||
8170
-	 test ! -s conftest.err
8171
-       } && test -s conftest.$ac_objext; then
8155
+if ac_fn_c_try_compile "$LINENO"; then :
8172 8156
   ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
8173
-else
8174
-  echo "$as_me: failed program was:" >&5
8175
-sed 's/^/| /' conftest.$ac_ext >&5
8176
-
8177
-
8178 8157
 fi
8179
-
8180 8158
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8181 8159
   done
8182 8160
  done
... ...
@@ -8185,8 +5826,8 @@ done
8185 8185
 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
8186 8186
 
8187 8187
 fi
8188
-{ echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
8189
-echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
8188
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
8189
+$as_echo "$ac_cv_func_select_args" >&6; }
8190 8190
 ac_save_IFS=$IFS; IFS=','
8191 8191
 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
8192 8192
 IFS=$ac_save_IFS
... ...
@@ -8211,145 +5852,14 @@ rm -f conftest*
8211 8211
 
8212 8212
 
8213 8213
 
8214
-
8215
-for ac_header in $ac_header_list
8216
-do
8217
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8218
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8219
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8220
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8221
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8222
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8223
-fi
8224
-ac_res=`eval echo '${'$as_ac_Header'}'`
8225
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8226
-echo "${ECHO_T}$ac_res" >&6; }
8227
-else
8228
-  # Is the header compilable?
8229
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8230
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8231
-cat >conftest.$ac_ext <<_ACEOF
8232
-/* confdefs.h.  */
8233
-_ACEOF
8234
-cat confdefs.h >>conftest.$ac_ext
8235
-cat >>conftest.$ac_ext <<_ACEOF
8236
-/* end confdefs.h.  */
8237
-$ac_includes_default
8238
-#include <$ac_header>
8239
-_ACEOF
8240
-rm -f conftest.$ac_objext
8241
-if { (ac_try="$ac_compile"
8242
-case "(($ac_try" in
8243
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8244
-  *) ac_try_echo=$ac_try;;
8245
-esac
8246
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8247
-  (eval "$ac_compile") 2>conftest.er1
8248
-  ac_status=$?
8249
-  grep -v '^ *+' conftest.er1 >conftest.err
8250
-  rm -f conftest.er1
8251
-  cat conftest.err >&5
8252
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253
-  (exit $ac_status); } && {
8254
-	 test -z "$ac_c_werror_flag" ||
8255
-	 test ! -s conftest.err
8256
-       } && test -s conftest.$ac_objext; then
8257
-  ac_header_compiler=yes
8258
-else
8259
-  echo "$as_me: failed program was:" >&5
8260
-sed 's/^/| /' conftest.$ac_ext >&5
8261
-
8262
-	ac_header_compiler=no
8263
-fi
8264
-
8265
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8266
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8267
-echo "${ECHO_T}$ac_header_compiler" >&6; }
8268
-
8269
-# Is the header present?
8270
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8271
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8272
-cat >conftest.$ac_ext <<_ACEOF
8273
-/* confdefs.h.  */
8274
-_ACEOF
8275
-cat confdefs.h >>conftest.$ac_ext
8276
-cat >>conftest.$ac_ext <<_ACEOF
8277
-/* end confdefs.h.  */
8278
-#include <$ac_header>
8279
-_ACEOF
8280
-if { (ac_try="$ac_cpp conftest.$ac_ext"
8281
-case "(($ac_try" in
8282
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8283
-  *) ac_try_echo=$ac_try;;
8284
-esac
8285
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8286
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8287
-  ac_status=$?
8288
-  grep -v '^ *+' conftest.er1 >conftest.err
8289
-  rm -f conftest.er1
8290
-  cat conftest.err >&5
8291
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292
-  (exit $ac_status); } >/dev/null && {
8293
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8294
-	 test ! -s conftest.err
8295
-       }; then
8296
-  ac_header_preproc=yes
8297
-else
8298
-  echo "$as_me: failed program was:" >&5
8299
-sed 's/^/| /' conftest.$ac_ext >&5
8300
-
8301
-  ac_header_preproc=no
8302
-fi
8303
-
8304
-rm -f conftest.err conftest.$ac_ext
8305
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8306
-echo "${ECHO_T}$ac_header_preproc" >&6; }
8307
-
8308
-# So?  What about this header?
8309
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8310
-  yes:no: )
8311
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8312
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8313
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8314
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8315
-    ac_header_preproc=yes
8316
-    ;;
8317
-  no:yes:* )
8318
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8319
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8320
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8321
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8322
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8323
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8324
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8325
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8326
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8327
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8328
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8329
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8330
-    ( cat <<\_ASBOX
8331
-## ------------------------------------ ##
8332
-## Report this to info-makuosan@klab.jp ##
8333
-## ------------------------------------ ##
8334
-_ASBOX
8335
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
8336
-    ;;
8337
-esac
8338
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8339
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8340
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8341
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8342
-else
8343
-  eval "$as_ac_Header=\$ac_header_preproc"
8344
-fi
8345
-ac_res=`eval echo '${'$as_ac_Header'}'`
8346
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8347
-echo "${ECHO_T}$ac_res" >&6; }
8348
-
8349
-fi
8350
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
8214
+  for ac_header in $ac_header_list
8215
+do :
8216
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8217
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8218
+"
8219
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8351 8220
   cat >>confdefs.h <<_ACEOF
8352
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8221
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8353 8222
 _ACEOF
8354 8223
 
8355 8224
 fi
... ...
@@ -8359,26 +5869,17 @@ done
8359 8359
 
8360 8360
 
8361 8361
 
8362
-
8363
-
8364
-
8365
-
8366
-
8367
-{ echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
8368
-echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6; }
8369
-if test "${ac_cv_func_utime_null+set}" = set; then
8370
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8362
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5
8363
+$as_echo_n "checking whether utime accepts a null argument... " >&6; }
8364
+if test "${ac_cv_func_utime_null+set}" = set; then :
8365
+  $as_echo_n "(cached) " >&6
8371 8366
 else
8372 8367
   rm -f conftest.data; >conftest.data
8373 8368
 # Sequent interprets utime(file, 0) to mean use start of epoch.  Wrong.
8374
-if test "$cross_compiling" = yes; then
8375
-  ac_cv_func_utime_null=no
8369
+if test "$cross_compiling" = yes; then :
8370
+  ac_cv_func_utime_null='guessing yes'
8376 8371
 else
8377
-  cat >conftest.$ac_ext <<_ACEOF
8378
-/* confdefs.h.  */
8379
-_ACEOF
8380
-cat confdefs.h >>conftest.$ac_ext
8381
-cat >>conftest.$ac_ext <<_ACEOF
8372
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 8373
 /* end confdefs.h.  */
8383 8374
 $ac_includes_default
8384 8375
 	       #ifdef HAVE_UTIME_H
... ...
@@ -8397,228 +5898,38 @@ struct stat s, t;
8397 8397
   return 0;
8398 8398
 }
8399 8399
 _ACEOF
8400
-rm -f conftest$ac_exeext
8401
-if { (ac_try="$ac_link"
8402
-case "(($ac_try" in
8403
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8404
-  *) ac_try_echo=$ac_try;;
8405
-esac
8406
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8407
-  (eval "$ac_link") 2>&5
8408
-  ac_status=$?
8409
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8411
-  { (case "(($ac_try" in
8412
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8413
-  *) ac_try_echo=$ac_try;;
8414
-esac
8415
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8416
-  (eval "$ac_try") 2>&5
8417
-  ac_status=$?
8418
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419
-  (exit $ac_status); }; }; then
8400
+if ac_fn_c_try_run "$LINENO"; then :
8420 8401
   ac_cv_func_utime_null=yes
8421 8402
 else
8422
-  echo "$as_me: program exited with status $ac_status" >&5
8423
-echo "$as_me: failed program was:" >&5
8424
-sed 's/^/| /' conftest.$ac_ext >&5
8425
-
8426
-( exit $ac_status )
8427
-ac_cv_func_utime_null=no
8403
+  ac_cv_func_utime_null=no
8428 8404
 fi
8429
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8405
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8406
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
8430 8407
 fi
8431 8408
 
8432
-
8433 8409
 fi
8434
-{ echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
8435
-echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
8436
-if test $ac_cv_func_utime_null = yes; then
8410
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5
8411
+$as_echo "$ac_cv_func_utime_null" >&6; }
8412
+if test "x$ac_cv_func_utime_null" != xno; then
8413
+  ac_cv_func_utime_null=yes
8437 8414
 
8438
-cat >>confdefs.h <<\_ACEOF
8439
-#define HAVE_UTIME_NULL 1
8440
-_ACEOF
8415
+$as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h
8441 8416
 
8442 8417
 fi
8443 8418
 rm -f conftest.data
8444 8419
 
8445
-
8446 8420
 for ac_func in vprintf
8447
-do
8448
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8449
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8450
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8451
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8452
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8453
-else
8454
-  cat >conftest.$ac_ext <<_ACEOF
8455
-/* confdefs.h.  */
8456
-_ACEOF
8457
-cat confdefs.h >>conftest.$ac_ext
8458
-cat >>conftest.$ac_ext <<_ACEOF
8459
-/* end confdefs.h.  */
8460
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8461
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8462
-#define $ac_func innocuous_$ac_func
8463
-
8464
-/* System header to define __stub macros and hopefully few prototypes,
8465
-    which can conflict with char $ac_func (); below.
8466
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8467
-    <limits.h> exists even on freestanding compilers.  */
8468
-
8469
-#ifdef __STDC__
8470
-# include <limits.h>
8471
-#else
8472
-# include <assert.h>
8473
-#endif
8474
-
8475
-#undef $ac_func
8476
-
8477
-/* Override any GCC internal prototype to avoid an error.
8478
-   Use char because int might match the return type of a GCC
8479
-   builtin and then its argument prototype would still apply.  */
8480
-#ifdef __cplusplus
8481
-extern "C"
8482
-#endif
8483
-char $ac_func ();
8484
-/* The GNU C library defines this for functions which it implements
8485
-    to always fail with ENOSYS.  Some functions are actually named
8486
-    something starting with __ and the normal name is an alias.  */
8487
-#if defined __stub_$ac_func || defined __stub___$ac_func
8488
-choke me
8489
-#endif
8490
-
8491
-int
8492
-main ()
8493
-{
8494
-return $ac_func ();
8495
-  ;
8496
-  return 0;
8497
-}
8498
-_ACEOF
8499
-rm -f conftest.$ac_objext conftest$ac_exeext
8500
-if { (ac_try="$ac_link"
8501
-case "(($ac_try" in
8502
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8503
-  *) ac_try_echo=$ac_try;;
8504
-esac
8505
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8506
-  (eval "$ac_link") 2>conftest.er1
8507
-  ac_status=$?
8508
-  grep -v '^ *+' conftest.er1 >conftest.err
8509
-  rm -f conftest.er1
8510
-  cat conftest.err >&5
8511
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512
-  (exit $ac_status); } && {
8513
-	 test -z "$ac_c_werror_flag" ||
8514
-	 test ! -s conftest.err
8515
-       } && test -s conftest$ac_exeext &&
8516
-       $as_test_x conftest$ac_exeext; then
8517
-  eval "$as_ac_var=yes"
8518
-else
8519
-  echo "$as_me: failed program was:" >&5
8520
-sed 's/^/| /' conftest.$ac_ext >&5
8521
-
8522
-	eval "$as_ac_var=no"
8523
-fi
8524
-
8525
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8526
-      conftest$ac_exeext conftest.$ac_ext
8527
-fi
8528
-ac_res=`eval echo '${'$as_ac_var'}'`
8529
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8530
-echo "${ECHO_T}$ac_res" >&6; }
8531
-if test `eval echo '${'$as_ac_var'}'` = yes; then
8421
+do :
8422
+  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
8423
+if test "x$ac_cv_func_vprintf" = x""yes; then :
8532 8424
   cat >>confdefs.h <<_ACEOF
8533
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8534
-_ACEOF
8535
-
8536
-{ echo "$as_me:$LINENO: checking for _doprnt" >&5
8537
-echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
8538
-if test "${ac_cv_func__doprnt+set}" = set; then
8539
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8540
-else
8541
-  cat >conftest.$ac_ext <<_ACEOF
8542
-/* confdefs.h.  */
8425
+#define HAVE_VPRINTF 1
8543 8426
 _ACEOF
8544
-cat confdefs.h >>conftest.$ac_ext
8545
-cat >>conftest.$ac_ext <<_ACEOF
8546
-/* end confdefs.h.  */
8547
-/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
8548
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8549
-#define _doprnt innocuous__doprnt
8550 8427
 
8551
-/* System header to define __stub macros and hopefully few prototypes,
8552
-    which can conflict with char _doprnt (); below.
8553
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8554
-    <limits.h> exists even on freestanding compilers.  */
8428
+ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
8429
+if test "x$ac_cv_func__doprnt" = x""yes; then :
8555 8430
 
8556
-#ifdef __STDC__
8557
-# include <limits.h>
8558
-#else
8559
-# include <assert.h>
8560
-#endif
8561
-
8562
-#undef _doprnt
8563
-
8564
-/* Override any GCC internal prototype to avoid an error.
8565
-   Use char because int might match the return type of a GCC
8566
-   builtin and then its argument prototype would still apply.  */
8567
-#ifdef __cplusplus
8568
-extern "C"
8569
-#endif
8570
-char _doprnt ();
8571
-/* The GNU C library defines this for functions which it implements
8572
-    to always fail with ENOSYS.  Some functions are actually named
8573
-    something starting with __ and the normal name is an alias.  */
8574
-#if defined __stub__doprnt || defined __stub____doprnt
8575
-choke me
8576
-#endif
8577
-
8578
-int
8579
-main ()
8580
-{
8581
-return _doprnt ();
8582
-  ;
8583
-  return 0;
8584
-}
8585
-_ACEOF
8586
-rm -f conftest.$ac_objext conftest$ac_exeext
8587
-if { (ac_try="$ac_link"
8588
-case "(($ac_try" in
8589
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8590
-  *) ac_try_echo=$ac_try;;
8591
-esac
8592
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8593
-  (eval "$ac_link") 2>conftest.er1
8594
-  ac_status=$?
8595
-  grep -v '^ *+' conftest.er1 >conftest.err
8596
-  rm -f conftest.er1
8597
-  cat conftest.err >&5
8598
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599
-  (exit $ac_status); } && {
8600
-	 test -z "$ac_c_werror_flag" ||
8601
-	 test ! -s conftest.err
8602
-       } && test -s conftest$ac_exeext &&
8603
-       $as_test_x conftest$ac_exeext; then
8604
-  ac_cv_func__doprnt=yes
8605
-else
8606
-  echo "$as_me: failed program was:" >&5
8607
-sed 's/^/| /' conftest.$ac_ext >&5
8608
-
8609
-	ac_cv_func__doprnt=no
8610
-fi
8611
-
8612
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8613
-      conftest$ac_exeext conftest.$ac_ext
8614
-fi
8615
-{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
8616
-echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
8617
-if test $ac_cv_func__doprnt = yes; then
8618
-
8619
-cat >>confdefs.h <<\_ACEOF
8620
-#define HAVE_DOPRNT 1
8621
-_ACEOF
8431
+$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
8622 8432
 
8623 8433
 fi
8624 8434
 
... ...
@@ -8626,125 +5937,25 @@ fi
8626 8626
 done
8627 8627
 
8628 8628
 
8629
-
8630
-
8631
-
8632
-
8633
-
8634
-
8635
-
8636
-
8637
-
8638
-
8639
-
8640
-
8641
-
8642
-
8643
-
8644
-for ac_func in ftime getcwd gethostname gettimeofday inet_ntoa memmove memset mkdir realpath rmdir select setenv socket tzset utime
8645
-do
8646
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8647
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8648
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8649
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8650
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8651
-else
8652
-  cat >conftest.$ac_ext <<_ACEOF
8653
-/* confdefs.h.  */
8654
-_ACEOF
8655
-cat confdefs.h >>conftest.$ac_ext
8656
-cat >>conftest.$ac_ext <<_ACEOF
8657
-/* end confdefs.h.  */
8658
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8659
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8660
-#define $ac_func innocuous_$ac_func
8661
-
8662
-/* System header to define __stub macros and hopefully few prototypes,
8663
-    which can conflict with char $ac_func (); below.
8664
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8665
-    <limits.h> exists even on freestanding compilers.  */
8666
-
8667
-#ifdef __STDC__
8668
-# include <limits.h>
8669
-#else
8670
-# include <assert.h>
8671
-#endif
8672
-
8673
-#undef $ac_func
8674
-
8675
-/* Override any GCC internal prototype to avoid an error.
8676
-   Use char because int might match the return type of a GCC
8677
-   builtin and then its argument prototype would still apply.  */
8678
-#ifdef __cplusplus
8679
-extern "C"
8680
-#endif
8681
-char $ac_func ();
8682
-/* The GNU C library defines this for functions which it implements
8683
-    to always fail with ENOSYS.  Some functions are actually named
8684
-    something starting with __ and the normal name is an alias.  */
8685
-#if defined __stub_$ac_func || defined __stub___$ac_func
8686
-choke me
8687
-#endif
8688
-
8689
-int
8690
-main ()
8691
-{
8692
-return $ac_func ();
8693
-  ;
8694
-  return 0;
8695
-}
8696
-_ACEOF
8697
-rm -f conftest.$ac_objext conftest$ac_exeext
8698
-if { (ac_try="$ac_link"
8699
-case "(($ac_try" in
8700
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8701
-  *) ac_try_echo=$ac_try;;
8702
-esac
8703
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8704
-  (eval "$ac_link") 2>conftest.er1
8705
-  ac_status=$?
8706
-  grep -v '^ *+' conftest.er1 >conftest.err
8707
-  rm -f conftest.er1
8708
-  cat conftest.err >&5
8709
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710
-  (exit $ac_status); } && {
8711
-	 test -z "$ac_c_werror_flag" ||
8712
-	 test ! -s conftest.err
8713
-       } && test -s conftest$ac_exeext &&
8714
-       $as_test_x conftest$ac_exeext; then
8715
-  eval "$as_ac_var=yes"
8716
-else
8717
-  echo "$as_me: failed program was:" >&5
8718
-sed 's/^/| /' conftest.$ac_ext >&5
8719
-
8720
-	eval "$as_ac_var=no"
8721
-fi
8722
-
8723
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8724
-      conftest$ac_exeext conftest.$ac_ext
8725
-fi
8726
-ac_res=`eval echo '${'$as_ac_var'}'`
8727
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8728
-echo "${ECHO_T}$ac_res" >&6; }
8729
-if test `eval echo '${'$as_ac_var'}'` = yes; then
8629
+for ac_func in getcwd gethostname gettimeofday inet_ntoa lchown memmove memset mkdir realpath rmdir select setenv socket strchr strerror tzset uname utime
8630
+do :
8631
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8632
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8633
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8730 8634
   cat >>confdefs.h <<_ACEOF
8731
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8635
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8732 8636
 _ACEOF
8733 8637
 
8734 8638
 fi
8735 8639
 done
8736 8640
 
8737
-{ echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
8738
-echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6; }
8739
-if test "${ac_cv_have_getopt_optreset+set}" = set; then
8740
-  echo $ECHO_N "(cached) $ECHO_C" >&6
8641
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt has optreset support" >&5
8642
+$as_echo_n "checking whether getopt has optreset support... " >&6; }
8643
+if test "${ac_cv_have_getopt_optreset+set}" = set; then :
8644
+  $as_echo_n "(cached) " >&6
8741 8645
 else
8742 8646
 
8743
-	cat >conftest.$ac_ext <<_ACEOF
8744
-/* confdefs.h.  */
8745
-_ACEOF
8746
-cat confdefs.h >>conftest.$ac_ext
8747
-cat >>conftest.$ac_ext <<_ACEOF
8647
+	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8748 8648
 /* end confdefs.h.  */
8749 8649
 #include <unistd.h>
8750 8650
 int
... ...
@@ -8755,43 +5966,20 @@ extern int optreset; optreset = 0;
8755 8755
   return 0;
8756 8756
 }
8757 8757
 _ACEOF
8758
-rm -f conftest.$ac_objext conftest$ac_exeext
8759
-if { (ac_try="$ac_link"
8760
-case "(($ac_try" in
8761
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8762
-  *) ac_try_echo=$ac_try;;
8763
-esac
8764
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8765
-  (eval "$ac_link") 2>conftest.er1
8766
-  ac_status=$?
8767
-  grep -v '^ *+' conftest.er1 >conftest.err
8768
-  rm -f conftest.er1
8769
-  cat conftest.err >&5
8770
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771
-  (exit $ac_status); } && {
8772
-	 test -z "$ac_c_werror_flag" ||
8773
-	 test ! -s conftest.err
8774
-       } && test -s conftest$ac_exeext &&
8775
-       $as_test_x conftest$ac_exeext; then
8758
+if ac_fn_c_try_link "$LINENO"; then :
8776 8759
    ac_cv_have_getopt_optreset="yes"
8777 8760
 else
8778
-  echo "$as_me: failed program was:" >&5
8779
-sed 's/^/| /' conftest.$ac_ext >&5
8780
-
8781
-	 ac_cv_have_getopt_optreset="no"
8761
+   ac_cv_have_getopt_optreset="no"
8782 8762
 fi
8783
-
8784
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8785
-      conftest$ac_exeext conftest.$ac_ext
8763
+rm -f core conftest.err conftest.$ac_objext \
8764
+    conftest$ac_exeext conftest.$ac_ext
8786 8765
 
8787 8766
 fi
8788
-{ echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
8789
-echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6; }
8767
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getopt_optreset" >&5
8768
+$as_echo "$ac_cv_have_getopt_optreset" >&6; }
8790 8769
 if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
8791 8770
 
8792
-cat >>confdefs.h <<\_ACEOF
8793
-#define HAVE_GETOPT_OPTRESET 1
8794
-_ACEOF
8771
+$as_echo "#define HAVE_GETOPT_OPTRESET 1" >>confdefs.h
8795 8772
 
8796 8773
 fi
8797 8774
 ac_config_files="$ac_config_files Makefile"
... ...
@@ -8823,12 +6011,13 @@ _ACEOF
8823 8823
     case $ac_val in #(
8824 8824
     *${as_nl}*)
8825 8825
       case $ac_var in #(
8826
-      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8827
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8826
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8827
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8828 8828
       esac
8829 8829
       case $ac_var in #(
8830 8830
       _ | IFS | as_nl) ;; #(
8831
-      *) $as_unset $ac_var ;;
8831
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8832
+      *) { eval $ac_var=; unset $ac_var;} ;;
8832 8833
       esac ;;
8833 8834
     esac
8834 8835
   done
... ...
@@ -8836,8 +6025,8 @@ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8836 8836
   (set) 2>&1 |
8837 8837
     case $as_nl`(ac_space=' '; set) 2>&1` in #(
8838 8838
     *${as_nl}ac_space=\ *)
8839
-      # `set' does not quote correctly, so add quotes (double-quote
8840
-      # substitution turns \\\\ into \\, and sed turns \\ into \).
8839
+      # `set' does not quote correctly, so add quotes: double-quote
8840
+      # substitution turns \\\\ into \\, and sed turns \\ into \.
8841 8841
       sed -n \
8842 8842
 	"s/'/'\\\\''/g;
8843 8843
 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
... ...
@@ -8860,12 +6049,12 @@ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8860 8860
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8861 8861
   if test -w "$cache_file"; then
8862 8862
     test "x$cache_file" != "x/dev/null" &&
8863
-      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8864
-echo "$as_me: updating cache $cache_file" >&6;}
8863
+      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8864
+$as_echo "$as_me: updating cache $cache_file" >&6;}
8865 8865
     cat confcache >$cache_file
8866 8866
   else
8867
-    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8868
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8867
+    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8868
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8869 8869
   fi
8870 8870
 fi
8871 8871
 rm -f confcache
... ...
@@ -8878,41 +6067,46 @@ DEFS=-DHAVE_CONFIG_H
8878 8878
 
8879 8879
 ac_libobjs=
8880 8880
 ac_ltlibobjs=
8881
+U=
8881 8882
 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8882 8883
   # 1. Remove the extension, and $U if already installed.
8883 8884
   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8884
-  ac_i=`echo "$ac_i" | sed "$ac_script"`
8885
+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8885 8886
   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8886 8887
   #    will be set to the directory where LIBOBJS objects are built.
8887
-  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8888
-  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8888
+  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8889
+  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8889 8890
 done
8890 8891
 LIBOBJS=$ac_libobjs
8891 8892
 
8892 8893
 LTLIBOBJS=$ac_ltlibobjs
8893 8894
 
8894 8895
 
8896
+ if test -n "$EXEEXT"; then
8897
+  am__EXEEXT_TRUE=
8898
+  am__EXEEXT_FALSE='#'
8899
+else
8900
+  am__EXEEXT_TRUE='#'
8901
+  am__EXEEXT_FALSE=
8902
+fi
8903
+
8895 8904
 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8896
-  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8897
-Usually this means the macro was only invoked conditionally." >&5
8898
-echo "$as_me: error: conditional \"AMDEP\" was never defined.
8899
-Usually this means the macro was only invoked conditionally." >&2;}
8900
-   { (exit 1); exit 1; }; }
8905
+  as_fn_error $? "conditional \"AMDEP\" was never defined.
8906
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
8901 8907
 fi
8902 8908
 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8903
-  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8904
-Usually this means the macro was only invoked conditionally." >&5
8905
-echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8906
-Usually this means the macro was only invoked conditionally." >&2;}
8907
-   { (exit 1); exit 1; }; }
8909
+  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8910
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
8908 8911
 fi
8909 8912
 
8910 8913
 : ${CONFIG_STATUS=./config.status}
8914
+ac_write_fail=0
8911 8915
 ac_clean_files_save=$ac_clean_files
8912 8916
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8913
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8914
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
8915
-cat >$CONFIG_STATUS <<_ACEOF
8917
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8918
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8919
+as_write_fail=0
8920
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8916 8921
 #! $SHELL
8917 8922
 # Generated by $as_me.
8918 8923
 # Run this file to recreate the current configuration.
... ...
@@ -8922,59 +6116,79 @@ cat >$CONFIG_STATUS <<_ACEOF
8922 8922
 debug=false
8923 8923
 ac_cs_recheck=false
8924 8924
 ac_cs_silent=false
8925
-SHELL=\${CONFIG_SHELL-$SHELL}
8926
-_ACEOF
8927 8925
 
8928
-cat >>$CONFIG_STATUS <<\_ACEOF
8929
-## --------------------- ##
8930
-## M4sh Initialization.  ##
8931
-## --------------------- ##
8926
+SHELL=\${CONFIG_SHELL-$SHELL}
8927
+export SHELL
8928
+_ASEOF
8929
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8930
+## -------------------- ##
8931
+## M4sh Initialization. ##
8932
+## -------------------- ##
8932 8933
 
8933 8934
 # Be more Bourne compatible
8934 8935
 DUALCASE=1; export DUALCASE # for MKS sh
8935
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8936
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8936 8937
   emulate sh
8937 8938
   NULLCMD=:
8938
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8939
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8939 8940
   # is contrary to our usage.  Disable this feature.
8940 8941
   alias -g '${1+"$@"}'='"$@"'
8941 8942
   setopt NO_GLOB_SUBST
8942 8943
 else
8943
-  case `(set -o) 2>/dev/null` in
8944
-  *posix*) set -o posix ;;
8944
+  case `(set -o) 2>/dev/null` in #(
8945
+  *posix*) :
8946
+    set -o posix ;; #(
8947
+  *) :
8948
+     ;;
8945 8949
 esac
8946
-
8947 8950
 fi
8948 8951
 
8949 8952
 
8950
-
8951
-
8952
-# PATH needs CR
8953
-# Avoid depending upon Character Ranges.
8954
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8955
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8956
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8957
-as_cr_digits='0123456789'
8958
-as_cr_alnum=$as_cr_Letters$as_cr_digits
8959
-
8960
-# The user is always right.
8961
-if test "${PATH_SEPARATOR+set}" != set; then
8962
-  echo "#! /bin/sh" >conf$$.sh
8963
-  echo  "exit 0"   >>conf$$.sh
8964
-  chmod +x conf$$.sh
8965
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8966
-    PATH_SEPARATOR=';'
8953
+as_nl='
8954
+'
8955
+export as_nl
8956
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
8957
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8958
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8959
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8960
+# Prefer a ksh shell builtin over an external printf program on Solaris,
8961
+# but without wasting forks for bash or zsh.
8962
+if test -z "$BASH_VERSION$ZSH_VERSION" \
8963
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8964
+  as_echo='print -r --'
8965
+  as_echo_n='print -rn --'
8966
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8967
+  as_echo='printf %s\n'
8968
+  as_echo_n='printf %s'
8969
+else
8970
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8971
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8972
+    as_echo_n='/usr/ucb/echo -n'
8967 8973
   else
8968
-    PATH_SEPARATOR=:
8974
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8975
+    as_echo_n_body='eval
8976
+      arg=$1;
8977
+      case $arg in #(
8978
+      *"$as_nl"*)
8979
+	expr "X$arg" : "X\\(.*\\)$as_nl";
8980
+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8981
+      esac;
8982
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8983
+    '
8984
+    export as_echo_n_body
8985
+    as_echo_n='sh -c $as_echo_n_body as_echo'
8969 8986
   fi
8970
-  rm -f conf$$.sh
8987
+  export as_echo_body
8988
+  as_echo='sh -c $as_echo_body as_echo'
8971 8989
 fi
8972 8990
 
8973
-# Support unset when possible.
8974
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8975
-  as_unset=unset
8976
-else
8977
-  as_unset=false
8991
+# The user is always right.
8992
+if test "${PATH_SEPARATOR+set}" != set; then
8993
+  PATH_SEPARATOR=:
8994
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8995
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8996
+      PATH_SEPARATOR=';'
8997
+  }
8978 8998
 fi
8979 8999
 
8980 9000
 
... ...
@@ -8983,20 +6197,18 @@ fi
8983 8983
 # there to prevent editors from complaining about space-tab.
8984 8984
 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8985 8985
 # splitting by setting IFS to empty value.)
8986
-as_nl='
8987
-'
8988 8986
 IFS=" ""	$as_nl"
8989 8987
 
8990 8988
 # Find who we are.  Look in the path if we contain no directory separator.
8991
-case $0 in
8989
+case $0 in #((
8992 8990
   *[\\/]* ) as_myself=$0 ;;
8993 8991
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8994 8992
 for as_dir in $PATH
8995 8993
 do
8996 8994
   IFS=$as_save_IFS
8997 8995
   test -z "$as_dir" && as_dir=.
8998
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8999
-done
8996
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8997
+  done
9000 8998
 IFS=$as_save_IFS
9001 8999
 
9002 9000
      ;;
... ...
@@ -9007,32 +6219,111 @@ if test "x$as_myself" = x; then
9007 9007
   as_myself=$0
9008 9008
 fi
9009 9009
 if test ! -f "$as_myself"; then
9010
-  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9011
-  { (exit 1); exit 1; }
9010
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9011
+  exit 1
9012 9012
 fi
9013 9013
 
9014
-# Work around bugs in pre-3.0 UWIN ksh.
9015
-for as_var in ENV MAIL MAILPATH
9016
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9014
+# Unset variables that we do not need and which cause bugs (e.g. in
9015
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
9016
+# suppresses any "Segmentation fault" message there.  '((' could
9017
+# trigger a bug in pdksh 5.2.14.
9018
+for as_var in BASH_ENV ENV MAIL MAILPATH
9019
+do eval test x\${$as_var+set} = xset \
9020
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9017 9021
 done
9018 9022
 PS1='$ '
9019 9023
 PS2='> '
9020 9024
 PS4='+ '
9021 9025
 
9022 9026
 # NLS nuisances.
9023
-for as_var in \
9024
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9025
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9026
-  LC_TELEPHONE LC_TIME
9027
-do
9028
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9029
-    eval $as_var=C; export $as_var
9030
-  else
9031
-    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9027
+LC_ALL=C
9028
+export LC_ALL
9029
+LANGUAGE=C
9030
+export LANGUAGE
9031
+
9032
+# CDPATH.
9033
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9034
+
9035
+
9036
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
9037
+# ----------------------------------------
9038
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9039
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9040
+# script with STATUS, using 1 if that was 0.
9041
+as_fn_error ()
9042
+{
9043
+  as_status=$1; test $as_status -eq 0 && as_status=1
9044
+  if test "$4"; then
9045
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9046
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9032 9047
   fi
9033
-done
9048
+  $as_echo "$as_me: error: $2" >&2
9049
+  as_fn_exit $as_status
9050
+} # as_fn_error
9051
+
9052
+
9053
+# as_fn_set_status STATUS
9054
+# -----------------------
9055
+# Set $? to STATUS, without forking.
9056
+as_fn_set_status ()
9057
+{
9058
+  return $1
9059
+} # as_fn_set_status
9060
+
9061
+# as_fn_exit STATUS
9062
+# -----------------
9063
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9064
+as_fn_exit ()
9065
+{
9066
+  set +e
9067
+  as_fn_set_status $1
9068
+  exit $1
9069
+} # as_fn_exit
9070
+
9071
+# as_fn_unset VAR
9072
+# ---------------
9073
+# Portably unset VAR.
9074
+as_fn_unset ()
9075
+{
9076
+  { eval $1=; unset $1;}
9077
+}
9078
+as_unset=as_fn_unset
9079
+# as_fn_append VAR VALUE
9080
+# ----------------------
9081
+# Append the text in VALUE to the end of the definition contained in VAR. Take
9082
+# advantage of any shell optimizations that allow amortized linear growth over
9083
+# repeated appends, instead of the typical quadratic growth present in naive
9084
+# implementations.
9085
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9086
+  eval 'as_fn_append ()
9087
+  {
9088
+    eval $1+=\$2
9089
+  }'
9090
+else
9091
+  as_fn_append ()
9092
+  {
9093
+    eval $1=\$$1\$2
9094
+  }
9095
+fi # as_fn_append
9096
+
9097
+# as_fn_arith ARG...
9098
+# ------------------
9099
+# Perform arithmetic evaluation on the ARGs, and store the result in the
9100
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
9101
+# must be portable across $(()) and expr.
9102
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9103
+  eval 'as_fn_arith ()
9104
+  {
9105
+    as_val=$(( $* ))
9106
+  }'
9107
+else
9108
+  as_fn_arith ()
9109
+  {
9110
+    as_val=`expr "$@" || test $? -eq 1`
9111
+  }
9112
+fi # as_fn_arith
9113
+
9034 9114
 
9035
-# Required to use basename.
9036 9115
 if expr a : '\(a\)' >/dev/null 2>&1 &&
9037 9116
    test "X`expr 00001 : '.*\(...\)'`" = X001; then
9038 9117
   as_expr=expr
... ...
@@ -9046,13 +6337,17 @@ else
9046 9046
   as_basename=false
9047 9047
 fi
9048 9048
 
9049
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9050
+  as_dirname=dirname
9051
+else
9052
+  as_dirname=false
9053
+fi
9049 9054
 
9050
-# Name of the executable.
9051 9055
 as_me=`$as_basename -- "$0" ||
9052 9056
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9053 9057
 	 X"$0" : 'X\(//\)$' \| \
9054 9058
 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9055
-echo X/"$0" |
9059
+$as_echo X/"$0" |
9056 9060
     sed '/^.*\/\([^/][^/]*\)\/*$/{
9057 9061
 	    s//\1/
9058 9062
 	    q
... ...
@@ -9067,104 +6362,103 @@ echo X/"$0" |
9067 9067
 	  }
9068 9068
 	  s/.*/./; q'`
9069 9069
 
9070
-# CDPATH.
9071
-$as_unset CDPATH
9072
-
9073
-
9074
-
9075
-  as_lineno_1=$LINENO
9076
-  as_lineno_2=$LINENO
9077
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
9078
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9079
-
9080
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9081
-  # uniformly replaced by the line number.  The first 'sed' inserts a
9082
-  # line-number line after each line using $LINENO; the second 'sed'
9083
-  # does the real work.  The second script uses 'N' to pair each
9084
-  # line-number line with the line containing $LINENO, and appends
9085
-  # trailing '-' during substitution so that $LINENO is not a special
9086
-  # case at line end.
9087
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9088
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
9089
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
9090
-  sed -n '
9091
-    p
9092
-    /[$]LINENO/=
9093
-  ' <$as_myself |
9094
-    sed '
9095
-      s/[$]LINENO.*/&-/
9096
-      t lineno
9097
-      b
9098
-      :lineno
9099
-      N
9100
-      :loop
9101
-      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9102
-      t loop
9103
-      s/-\n.*//
9104
-    ' >$as_me.lineno &&
9105
-  chmod +x "$as_me.lineno" ||
9106
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9107
-   { (exit 1); exit 1; }; }
9108
-
9109
-  # Don't try to exec as it changes $[0], causing all sort of problems
9110
-  # (the dirname of $[0] is not the place where we might find the
9111
-  # original and so on.  Autoconf is especially sensitive to this).
9112
-  . "./$as_me.lineno"
9113
-  # Exit status is that of the last command.
9114
-  exit
9115
-}
9116
-
9117
-
9118
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9119
-  as_dirname=dirname
9120
-else
9121
-  as_dirname=false
9122
-fi
9070
+# Avoid depending upon Character Ranges.
9071
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9072
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9073
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9074
+as_cr_digits='0123456789'
9075
+as_cr_alnum=$as_cr_Letters$as_cr_digits
9123 9076
 
9124 9077
 ECHO_C= ECHO_N= ECHO_T=
9125
-case `echo -n x` in
9078
+case `echo -n x` in #(((((
9126 9079
 -n*)
9127
-  case `echo 'x\c'` in
9080
+  case `echo 'xy\c'` in
9128 9081
   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
9129
-  *)   ECHO_C='\c';;
9082
+  xy)  ECHO_C='\c';;
9083
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
9084
+       ECHO_T='	';;
9130 9085
   esac;;
9131 9086
 *)
9132 9087
   ECHO_N='-n';;
9133 9088
 esac
9134 9089
 
9135
-if expr a : '\(a\)' >/dev/null 2>&1 &&
9136
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
9137
-  as_expr=expr
9138
-else
9139
-  as_expr=false
9140
-fi
9141
-
9142 9090
 rm -f conf$$ conf$$.exe conf$$.file
9143 9091
 if test -d conf$$.dir; then
9144 9092
   rm -f conf$$.dir/conf$$.file
9145 9093
 else
9146 9094
   rm -f conf$$.dir
9147
-  mkdir conf$$.dir
9148
-fi
9149
-echo >conf$$.file
9150
-if ln -s conf$$.file conf$$ 2>/dev/null; then
9151
-  as_ln_s='ln -s'
9152
-  # ... but there are two gotchas:
9153
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9154
-  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9155
-  # In both cases, we have to default to `cp -p'.
9156
-  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9095
+  mkdir conf$$.dir 2>/dev/null
9096
+fi
9097
+if (echo >conf$$.file) 2>/dev/null; then
9098
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
9099
+    as_ln_s='ln -s'
9100
+    # ... but there are two gotchas:
9101
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9102
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9103
+    # In both cases, we have to default to `cp -p'.
9104
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9105
+      as_ln_s='cp -p'
9106
+  elif ln conf$$.file conf$$ 2>/dev/null; then
9107
+    as_ln_s=ln
9108
+  else
9157 9109
     as_ln_s='cp -p'
9158
-elif ln conf$$.file conf$$ 2>/dev/null; then
9159
-  as_ln_s=ln
9110
+  fi
9160 9111
 else
9161 9112
   as_ln_s='cp -p'
9162 9113
 fi
9163 9114
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9164 9115
 rmdir conf$$.dir 2>/dev/null
9165 9116
 
9117
+
9118
+# as_fn_mkdir_p
9119
+# -------------
9120
+# Create "$as_dir" as a directory, including parents if necessary.
9121
+as_fn_mkdir_p ()
9122
+{
9123
+
9124
+  case $as_dir in #(
9125
+  -*) as_dir=./$as_dir;;
9126
+  esac
9127
+  test -d "$as_dir" || eval $as_mkdir_p || {
9128
+    as_dirs=
9129
+    while :; do
9130
+      case $as_dir in #(
9131
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9132
+      *) as_qdir=$as_dir;;
9133
+      esac
9134
+      as_dirs="'$as_qdir' $as_dirs"
9135
+      as_dir=`$as_dirname -- "$as_dir" ||
9136
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9137
+	 X"$as_dir" : 'X\(//\)[^/]' \| \
9138
+	 X"$as_dir" : 'X\(//\)$' \| \
9139
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9140
+$as_echo X"$as_dir" |
9141
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9142
+	    s//\1/
9143
+	    q
9144
+	  }
9145
+	  /^X\(\/\/\)[^/].*/{
9146
+	    s//\1/
9147
+	    q
9148
+	  }
9149
+	  /^X\(\/\/\)$/{
9150
+	    s//\1/
9151
+	    q
9152
+	  }
9153
+	  /^X\(\/\).*/{
9154
+	    s//\1/
9155
+	    q
9156
+	  }
9157
+	  s/.*/./; q'`
9158
+      test -d "$as_dir" && break
9159
+    done
9160
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
9161
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9162
+
9163
+
9164
+} # as_fn_mkdir_p
9166 9165
 if mkdir -p . 2>/dev/null; then
9167
-  as_mkdir_p=:
9166
+  as_mkdir_p='mkdir -p "$as_dir"'
9168 9167
 else
9169 9168
   test -d ./-p && rmdir ./-p
9170 9169
   as_mkdir_p=false
... ...
@@ -9181,12 +6475,12 @@ else
9181 9181
   as_test_x='
9182 9182
     eval sh -c '\''
9183 9183
       if test -d "$1"; then
9184
-        test -d "$1/.";
9184
+	test -d "$1/.";
9185 9185
       else
9186
-	case $1 in
9187
-        -*)set "./$1";;
9186
+	case $1 in #(
9187
+	-*)set "./$1";;
9188 9188
 	esac;
9189
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9189
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9190 9190
 	???[sx]*):;;*)false;;esac;fi
9191 9191
     '\'' sh
9192 9192
   '
... ...
@@ -9201,13 +6495,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9201 9201
 
9202 9202
 
9203 9203
 exec 6>&1
9204
+## ----------------------------------- ##
9205
+## Main body of $CONFIG_STATUS script. ##
9206
+## ----------------------------------- ##
9207
+_ASEOF
9208
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9204 9209
 
9205
-# Save the log message, to keep $[0] and so on meaningful, and to
9210
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9211
+# Save the log message, to keep $0 and so on meaningful, and to
9206 9212
 # report actual input values of CONFIG_FILES etc. instead of their
9207 9213
 # values after options handling.
9208 9214
 ac_log="
9209
-This file was extended by makuosan $as_me 1.3.2, which was
9210
-generated by GNU Autoconf 2.61.  Invocation command line was
9215
+This file was extended by makuosan $as_me 1.3.3, which was
9216
+generated by GNU Autoconf 2.67.  Invocation command line was
9211 9217
 
9212 9218
   CONFIG_FILES    = $CONFIG_FILES
9213 9219
   CONFIG_HEADERS  = $CONFIG_HEADERS
... ...
@@ -9220,7 +6520,16 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
9220 9220
 
9221 9221
 _ACEOF
9222 9222
 
9223
-cat >>$CONFIG_STATUS <<_ACEOF
9223
+case $ac_config_files in *"
9224
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
9225
+esac
9226
+
9227
+case $ac_config_headers in *"
9228
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9229
+esac
9230
+
9231
+
9232
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9224 9233
 # Files that config.status was made for.
9225 9234
 config_files="$ac_config_files"
9226 9235
 config_headers="$ac_config_headers"
... ...
@@ -9229,22 +6538,25 @@ config_commands="$ac_config_commands"
9229 9229
 
9230 9230
 _ACEOF
9231 9231
 
9232
-cat >>$CONFIG_STATUS <<\_ACEOF
9232
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9233 9233
 ac_cs_usage="\
9234
-\`$as_me' instantiates files from templates according to the
9235
-current configuration.
9234
+\`$as_me' instantiates files and other configuration actions
9235
+from templates according to the current configuration.  Unless the files
9236
+and actions are specified as TAGs, all are instantiated by default.
9236 9237
 
9237
-Usage: $0 [OPTIONS] [FILE]...
9238
+Usage: $0 [OPTION]... [TAG]...
9238 9239
 
9239 9240
   -h, --help       print this help, then exit
9240 9241
   -V, --version    print version number and configuration settings, then exit
9241
-  -q, --quiet      do not print progress messages
9242
+      --config     print configuration, then exit
9243
+  -q, --quiet, --silent
9244
+                   do not print progress messages
9242 9245
   -d, --debug      don't remove temporary files
9243 9246
       --recheck    update $as_me by reconfiguring in the same conditions
9244
-  --file=FILE[:TEMPLATE]
9245
-		   instantiate the configuration file FILE
9246
-  --header=FILE[:TEMPLATE]
9247
-		   instantiate the configuration header FILE
9247
+      --file=FILE[:TEMPLATE]
9248
+                   instantiate the configuration file FILE
9249
+      --header=FILE[:TEMPLATE]
9250
+                   instantiate the configuration header FILE
9248 9251
 
9249 9252
 Configuration files:
9250 9253
 $config_files
... ...
@@ -9258,16 +6570,17 @@ $config_links
9258 9258
 Configuration commands:
9259 9259
 $config_commands
9260 9260
 
9261
-Report bugs to <bug-autoconf@gnu.org>."
9261
+Report bugs to <info-makuosan@klab.jp>."
9262 9262
 
9263 9263
 _ACEOF
9264
-cat >>$CONFIG_STATUS <<_ACEOF
9264
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9265
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9265 9266
 ac_cs_version="\\
9266
-makuosan config.status 1.3.2
9267
-configured by $0, generated by GNU Autoconf 2.61,
9268
-  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9267
+makuosan config.status 1.3.3
9268
+configured by $0, generated by GNU Autoconf 2.67,
9269
+  with options \\"\$ac_cs_config\\"
9269 9270
 
9270
-Copyright (C) 2006 Free Software Foundation, Inc.
9271
+Copyright (C) 2010 Free Software Foundation, Inc.
9271 9272
 This config.status script is free software; the Free Software Foundation
9272 9273
 gives unlimited permission to copy, distribute and modify it."
9273 9274
 
... ...
@@ -9275,20 +6588,26 @@ ac_pwd='$ac_pwd'
9275 9275
 srcdir='$srcdir'
9276 9276
 INSTALL='$INSTALL'
9277 9277
 MKDIR_P='$MKDIR_P'
9278
+AWK='$AWK'
9279
+test -n "\$AWK" || AWK=awk
9278 9280
 _ACEOF
9279 9281
 
9280
-cat >>$CONFIG_STATUS <<\_ACEOF
9281
-# If no file are specified by the user, then we need to provide default
9282
-# value.  By we need to know if files were specified by the user.
9282
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9283
+# The default lists apply if the user does not specify any file.
9283 9284
 ac_need_defaults=:
9284 9285
 while test $# != 0
9285 9286
 do
9286 9287
   case $1 in
9287
-  --*=*)
9288
+  --*=?*)
9288 9289
     ac_option=`expr "X$1" : 'X\([^=]*\)='`
9289 9290
     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9290 9291
     ac_shift=:
9291 9292
     ;;
9293
+  --*=)
9294
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9295
+    ac_optarg=
9296
+    ac_shift=:
9297
+    ;;
9292 9298
   *)
9293 9299
     ac_option=$1
9294 9300
     ac_optarg=$2
... ...
@@ -9301,34 +6620,41 @@ do
9301 9301
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9302 9302
     ac_cs_recheck=: ;;
9303 9303
   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9304
-    echo "$ac_cs_version"; exit ;;
9304
+    $as_echo "$ac_cs_version"; exit ;;
9305
+  --config | --confi | --conf | --con | --co | --c )
9306
+    $as_echo "$ac_cs_config"; exit ;;
9305 9307
   --debug | --debu | --deb | --de | --d | -d )
9306 9308
     debug=: ;;
9307 9309
   --file | --fil | --fi | --f )
9308 9310
     $ac_shift
9309
-    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9311
+    case $ac_optarg in
9312
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9313
+    '') as_fn_error $? "missing file argument" ;;
9314
+    esac
9315
+    as_fn_append CONFIG_FILES " '$ac_optarg'"
9310 9316
     ac_need_defaults=false;;
9311 9317
   --header | --heade | --head | --hea )
9312 9318
     $ac_shift
9313
-    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9319
+    case $ac_optarg in
9320
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9321
+    esac
9322
+    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9314 9323
     ac_need_defaults=false;;
9315 9324
   --he | --h)
9316 9325
     # Conflict between --help and --header
9317
-    { echo "$as_me: error: ambiguous option: $1
9318
-Try \`$0 --help' for more information." >&2
9319
-   { (exit 1); exit 1; }; };;
9326
+    as_fn_error $? "ambiguous option: \`$1'
9327
+Try \`$0 --help' for more information.";;
9320 9328
   --help | --hel | -h )
9321
-    echo "$ac_cs_usage"; exit ;;
9329
+    $as_echo "$ac_cs_usage"; exit ;;
9322 9330
   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9323 9331
   | -silent | --silent | --silen | --sile | --sil | --si | --s)
9324 9332
     ac_cs_silent=: ;;
9325 9333
 
9326 9334
   # This is an error.
9327
-  -*) { echo "$as_me: error: unrecognized option: $1
9328
-Try \`$0 --help' for more information." >&2
9329
-   { (exit 1); exit 1; }; } ;;
9335
+  -*) as_fn_error $? "unrecognized option: \`$1'
9336
+Try \`$0 --help' for more information." ;;
9330 9337
 
9331
-  *) ac_config_targets="$ac_config_targets $1"
9338
+  *) as_fn_append ac_config_targets " $1"
9332 9339
      ac_need_defaults=false ;;
9333 9340
 
9334 9341
   esac
... ...
@@ -9343,27 +6669,29 @@ if $ac_cs_silent; then
9343 9343
 fi
9344 9344
 
9345 9345
 _ACEOF
9346
-cat >>$CONFIG_STATUS <<_ACEOF
9346
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9347 9347
 if \$ac_cs_recheck; then
9348
-  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9349
-  CONFIG_SHELL=$SHELL
9348
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9349
+  shift
9350
+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9351
+  CONFIG_SHELL='$SHELL'
9350 9352
   export CONFIG_SHELL
9351
-  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9353
+  exec "\$@"
9352 9354
 fi
9353 9355
 
9354 9356
 _ACEOF
9355
-cat >>$CONFIG_STATUS <<\_ACEOF
9357
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9356 9358
 exec 5>>config.log
9357 9359
 {
9358 9360
   echo
9359 9361
   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9360 9362
 ## Running $as_me. ##
9361 9363
 _ASBOX
9362
-  echo "$ac_log"
9364
+  $as_echo "$ac_log"
9363 9365
 } >&5
9364 9366
 
9365 9367
 _ACEOF
9366
-cat >>$CONFIG_STATUS <<_ACEOF
9368
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9367 9369
 #
9368 9370
 # INIT-COMMANDS
9369 9371
 #
... ...
@@ -9371,7 +6699,7 @@ AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9371 9371
 
9372 9372
 _ACEOF
9373 9373
 
9374
-cat >>$CONFIG_STATUS <<\_ACEOF
9374
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9375 9375
 
9376 9376
 # Handling of arguments.
9377 9377
 for ac_config_target in $ac_config_targets
... ...
@@ -9382,9 +6710,7 @@ do
9382 9382
     "$ac_config_libobj_dir/fnmatch.h") CONFIG_LINKS="$CONFIG_LINKS $ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h" ;;
9383 9383
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9384 9384
 
9385
-  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9386
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9387
-   { (exit 1); exit 1; }; };;
9385
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
9388 9386
   esac
9389 9387
 done
9390 9388
 
... ...
@@ -9412,7 +6738,7 @@ $debug ||
9412 9412
   trap 'exit_status=$?
9413 9413
   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9414 9414
 ' 0
9415
-  trap '{ (exit 1); exit 1; }' 1 2 13 15
9415
+  trap 'as_fn_exit 1' 1 2 13 15
9416 9416
 }
9417 9417
 # Create a (secure) tmp directory for tmp files.
9418 9418
 
... ...
@@ -9423,177 +6749,285 @@ $debug ||
9423 9423
 {
9424 9424
   tmp=./conf$$-$RANDOM
9425 9425
   (umask 077 && mkdir "$tmp")
9426
-} ||
9427
-{
9428
-   echo "$me: cannot create a temporary directory in ." >&2
9429
-   { (exit 1); exit 1; }
9430
-}
9431
-
9432
-#
9433
-# Set up the sed scripts for CONFIG_FILES section.
9434
-#
9426
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9435 9427
 
9436
-# No need to generate the scripts if there are no CONFIG_FILES.
9437
-# This happens for instance when ./config.status config.h
9428
+# Set up the scripts for CONFIG_FILES section.
9429
+# No need to generate them if there are no CONFIG_FILES.
9430
+# This happens for instance with `./config.status config.h'.
9438 9431
 if test -n "$CONFIG_FILES"; then
9439 9432
 
9440
-_ACEOF
9441 9433
 
9434
+ac_cr=`echo X | tr X '\015'`
9435
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
9436
+# But we know of no other shell where ac_cr would be empty at this
9437
+# point, so we can use a bashism as a fallback.
9438
+if test "x$ac_cr" = x; then
9439
+  eval ac_cr=\$\'\\r\'
9440
+fi
9441
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9442
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9443
+  ac_cs_awk_cr='\\r'
9444
+else
9445
+  ac_cs_awk_cr=$ac_cr
9446
+fi
9442 9447
 
9448
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
9449
+_ACEOF
9443 9450
 
9451
+
9452
+{
9453
+  echo "cat >conf$$subs.awk <<_ACEOF" &&
9454
+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9455
+  echo "_ACEOF"
9456
+} >conf$$subs.sh ||
9457
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9458
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9444 9459
 ac_delim='%!_!# '
9445 9460
 for ac_last_try in false false false false false :; do
9446
-  cat >conf$$subs.sed <<_ACEOF
9447
-SHELL!$SHELL$ac_delim
9448
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9449
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9450
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9451
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9452
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9453
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9454
-exec_prefix!$exec_prefix$ac_delim
9455
-prefix!$prefix$ac_delim
9456
-program_transform_name!$program_transform_name$ac_delim
9457
-bindir!$bindir$ac_delim
9458
-sbindir!$sbindir$ac_delim
9459
-libexecdir!$libexecdir$ac_delim
9460
-datarootdir!$datarootdir$ac_delim
9461
-datadir!$datadir$ac_delim
9462
-sysconfdir!$sysconfdir$ac_delim
9463
-sharedstatedir!$sharedstatedir$ac_delim
9464
-localstatedir!$localstatedir$ac_delim
9465
-includedir!$includedir$ac_delim
9466
-oldincludedir!$oldincludedir$ac_delim
9467
-docdir!$docdir$ac_delim
9468
-infodir!$infodir$ac_delim
9469
-htmldir!$htmldir$ac_delim
9470
-dvidir!$dvidir$ac_delim
9471
-pdfdir!$pdfdir$ac_delim
9472
-psdir!$psdir$ac_delim
9473
-libdir!$libdir$ac_delim
9474
-localedir!$localedir$ac_delim
9475
-mandir!$mandir$ac_delim
9476
-DEFS!$DEFS$ac_delim
9477
-ECHO_C!$ECHO_C$ac_delim
9478
-ECHO_N!$ECHO_N$ac_delim
9479
-ECHO_T!$ECHO_T$ac_delim
9480
-LIBS!$LIBS$ac_delim
9481
-build_alias!$build_alias$ac_delim
9482
-host_alias!$host_alias$ac_delim
9483
-target_alias!$target_alias$ac_delim
9484
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9485
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9486
-INSTALL_DATA!$INSTALL_DATA$ac_delim
9487
-am__isrc!$am__isrc$ac_delim
9488
-CYGPATH_W!$CYGPATH_W$ac_delim
9489
-PACKAGE!$PACKAGE$ac_delim
9490
-VERSION!$VERSION$ac_delim
9491
-ACLOCAL!$ACLOCAL$ac_delim
9492
-AUTOCONF!$AUTOCONF$ac_delim
9493
-AUTOMAKE!$AUTOMAKE$ac_delim
9494
-AUTOHEADER!$AUTOHEADER$ac_delim
9495
-MAKEINFO!$MAKEINFO$ac_delim
9496
-install_sh!$install_sh$ac_delim
9497
-STRIP!$STRIP$ac_delim
9498
-INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9499
-mkdir_p!$mkdir_p$ac_delim
9500
-AWK!$AWK$ac_delim
9501
-SET_MAKE!$SET_MAKE$ac_delim
9502
-am__leading_dot!$am__leading_dot$ac_delim
9503
-AMTAR!$AMTAR$ac_delim
9504
-am__tar!$am__tar$ac_delim
9505
-am__untar!$am__untar$ac_delim
9506
-CFLAGS!$CFLAGS$ac_delim
9507
-CPPFLAGS!$CPPFLAGS$ac_delim
9508
-CC!$CC$ac_delim
9509
-LDFLAGS!$LDFLAGS$ac_delim
9510
-ac_ct_CC!$ac_ct_CC$ac_delim
9511
-EXEEXT!$EXEEXT$ac_delim
9512
-OBJEXT!$OBJEXT$ac_delim
9513
-DEPDIR!$DEPDIR$ac_delim
9514
-am__include!$am__include$ac_delim
9515
-am__quote!$am__quote$ac_delim
9516
-AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9517
-AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9518
-AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9519
-CCDEPMODE!$CCDEPMODE$ac_delim
9520
-am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9521
-am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9522
-CPP!$CPP$ac_delim
9523
-GREP!$GREP$ac_delim
9524
-EGREP!$EGREP$ac_delim
9525
-ALLOCA!$ALLOCA$ac_delim
9526
-LIBOBJS!$LIBOBJS$ac_delim
9527
-LTLIBOBJS!$LTLIBOBJS$ac_delim
9528
-_ACEOF
9461
+  . ./conf$$subs.sh ||
9462
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9529 9463
 
9530
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
9464
+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9465
+  if test $ac_delim_n = $ac_delim_num; then
9531 9466
     break
9532 9467
   elif $ac_last_try; then
9533
-    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9534
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9535
-   { (exit 1); exit 1; }; }
9468
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9536 9469
   else
9537 9470
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9538 9471
   fi
9539 9472
 done
9473
+rm -f conf$$subs.sh
9474
+
9475
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9476
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9477
+_ACEOF
9478
+sed -n '
9479
+h
9480
+s/^/S["/; s/!.*/"]=/
9481
+p
9482
+g
9483
+s/^[^!]*!//
9484
+:repl
9485
+t repl
9486
+s/'"$ac_delim"'$//
9487
+t delim
9488
+:nl
9489
+h
9490
+s/\(.\{148\}\)..*/\1/
9491
+t more1
9492
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9493
+p
9494
+n
9495
+b repl
9496
+:more1
9497
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9498
+p
9499
+g
9500
+s/.\{148\}//
9501
+t nl
9502
+:delim
9503
+h
9504
+s/\(.\{148\}\)..*/\1/
9505
+t more2
9506
+s/["\\]/\\&/g; s/^/"/; s/$/"/
9507
+p
9508
+b
9509
+:more2
9510
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9511
+p
9512
+g
9513
+s/.\{148\}//
9514
+t delim
9515
+' <conf$$subs.awk | sed '
9516
+/^[^""]/{
9517
+  N
9518
+  s/\n//
9519
+}
9520
+' >>$CONFIG_STATUS || ac_write_fail=1
9521
+rm -f conf$$subs.awk
9522
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9523
+_ACAWK
9524
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9525
+  for (key in S) S_is_set[key] = 1
9526
+  FS = ""
9540 9527
 
9541
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9542
-if test -n "$ac_eof"; then
9543
-  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9544
-  ac_eof=`expr $ac_eof + 1`
9545
-fi
9528
+}
9529
+{
9530
+  line = $ 0
9531
+  nfields = split(line, field, "@")
9532
+  substed = 0
9533
+  len = length(field[1])
9534
+  for (i = 2; i < nfields; i++) {
9535
+    key = field[i]
9536
+    keylen = length(key)
9537
+    if (S_is_set[key]) {
9538
+      value = S[key]
9539
+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9540
+      len += length(value) + length(field[++i])
9541
+      substed = 1
9542
+    } else
9543
+      len += 1 + keylen
9544
+  }
9546 9545
 
9547
-cat >>$CONFIG_STATUS <<_ACEOF
9548
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9549
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9546
+  print line
9547
+}
9548
+
9549
+_ACAWK
9550 9550
 _ACEOF
9551
-sed '
9552
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9553
-s/^/s,@/; s/!/@,|#_!!_#|/
9554
-:n
9555
-t n
9556
-s/'"$ac_delim"'$/,g/; t
9557
-s/$/\\/; p
9558
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9559
-' >>$CONFIG_STATUS <conf$$subs.sed
9560
-rm -f conf$$subs.sed
9561
-cat >>$CONFIG_STATUS <<_ACEOF
9562
-:end
9563
-s/|#_!!_#|//g
9564
-CEOF$ac_eof
9551
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9552
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9553
+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9554
+else
9555
+  cat
9556
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9557
+  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9565 9558
 _ACEOF
9566 9559
 
9567
-
9568
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
9569
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9560
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9561
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9570 9562
 # trailing colons and then remove the whole line if VPATH becomes empty
9571 9563
 # (actually we leave an empty line to preserve line numbers).
9572 9564
 if test "x$srcdir" = x.; then
9573
-  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
9574
-s/:*\$(srcdir):*/:/
9575
-s/:*\${srcdir}:*/:/
9576
-s/:*@srcdir@:*/:/
9577
-s/^\([^=]*=[	 ]*\):*/\1/
9565
+  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
9566
+h
9567
+s///
9568
+s/^/:/
9569
+s/[	 ]*$/:/
9570
+s/:\$(srcdir):/:/g
9571
+s/:\${srcdir}:/:/g
9572
+s/:@srcdir@:/:/g
9573
+s/^:*//
9578 9574
 s/:*$//
9575
+x
9576
+s/\(=[	 ]*\).*/\1/
9577
+G
9578
+s/\n//
9579 9579
 s/^[^=]*=[	 ]*$//
9580 9580
 }'
9581 9581
 fi
9582 9582
 
9583
-cat >>$CONFIG_STATUS <<\_ACEOF
9583
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9584 9584
 fi # test -n "$CONFIG_FILES"
9585 9585
 
9586
+# Set up the scripts for CONFIG_HEADERS section.
9587
+# No need to generate them if there are no CONFIG_HEADERS.
9588
+# This happens for instance with `./config.status Makefile'.
9589
+if test -n "$CONFIG_HEADERS"; then
9590
+cat >"$tmp/defines.awk" <<\_ACAWK ||
9591
+BEGIN {
9592
+_ACEOF
9593
+
9594
+# Transform confdefs.h into an awk script `defines.awk', embedded as
9595
+# here-document in config.status, that substitutes the proper values into
9596
+# config.h.in to produce config.h.
9597
+
9598
+# Create a delimiter string that does not exist in confdefs.h, to ease
9599
+# handling of long lines.
9600
+ac_delim='%!_!# '
9601
+for ac_last_try in false false :; do
9602
+  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9603
+  if test -z "$ac_t"; then
9604
+    break
9605
+  elif $ac_last_try; then
9606
+    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9607
+  else
9608
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9609
+  fi
9610
+done
9611
+
9612
+# For the awk script, D is an array of macro values keyed by name,
9613
+# likewise P contains macro parameters if any.  Preserve backslash
9614
+# newline sequences.
9615
+
9616
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9617
+sed -n '
9618
+s/.\{148\}/&'"$ac_delim"'/g
9619
+t rset
9620
+:rset
9621
+s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
9622
+t def
9623
+d
9624
+:def
9625
+s/\\$//
9626
+t bsnl
9627
+s/["\\]/\\&/g
9628
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
9629
+D["\1"]=" \3"/p
9630
+s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
9631
+d
9632
+:bsnl
9633
+s/["\\]/\\&/g
9634
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
9635
+D["\1"]=" \3\\\\\\n"\\/p
9636
+t cont
9637
+s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9638
+t cont
9639
+d
9640
+:cont
9641
+n
9642
+s/.\{148\}/&'"$ac_delim"'/g
9643
+t clear
9644
+:clear
9645
+s/\\$//
9646
+t bsnlc
9647
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
9648
+d
9649
+:bsnlc
9650
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9651
+b cont
9652
+' <confdefs.h | sed '
9653
+s/'"$ac_delim"'/"\\\
9654
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
9655
+
9656
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9657
+  for (key in D) D_is_set[key] = 1
9658
+  FS = ""
9659
+}
9660
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9661
+  line = \$ 0
9662
+  split(line, arg, " ")
9663
+  if (arg[1] == "#") {
9664
+    defundef = arg[2]
9665
+    mac1 = arg[3]
9666
+  } else {
9667
+    defundef = substr(arg[1], 2)
9668
+    mac1 = arg[2]
9669
+  }
9670
+  split(mac1, mac2, "(") #)
9671
+  macro = mac2[1]
9672
+  prefix = substr(line, 1, index(line, defundef) - 1)
9673
+  if (D_is_set[macro]) {
9674
+    # Preserve the white space surrounding the "#".
9675
+    print prefix "define", macro P[macro] D[macro]
9676
+    next
9677
+  } else {
9678
+    # Replace #undef with comments.  This is necessary, for example,
9679
+    # in the case of _POSIX_SOURCE, which is predefined and required
9680
+    # on some systems where configure will not decide to define it.
9681
+    if (defundef == "undef") {
9682
+      print "/*", prefix defundef, macro, "*/"
9683
+      next
9684
+    }
9685
+  }
9686
+}
9687
+{ print }
9688
+_ACAWK
9689
+_ACEOF
9690
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9691
+  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9692
+fi # test -n "$CONFIG_HEADERS"
9693
+
9586 9694
 
9587
-for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS
9695
+eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
9696
+shift
9697
+for ac_tag
9588 9698
 do
9589 9699
   case $ac_tag in
9590 9700
   :[FHLC]) ac_mode=$ac_tag; continue;;
9591 9701
   esac
9592 9702
   case $ac_mode$ac_tag in
9593 9703
   :[FHL]*:*);;
9594
-  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9595
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9596
-   { (exit 1); exit 1; }; };;
9704
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
9597 9705
   :[FH]-) ac_tag=-:-;;
9598 9706
   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9599 9707
   esac
... ...
@@ -9621,26 +7055,34 @@ echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9621 9621
 	   [\\/$]*) false;;
9622 9622
 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9623 9623
 	   esac ||
9624
-	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9625
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9626
-   { (exit 1); exit 1; }; };;
9624
+	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
9627 9625
       esac
9628
-      ac_file_inputs="$ac_file_inputs $ac_f"
9626
+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9627
+      as_fn_append ac_file_inputs " '$ac_f'"
9629 9628
     done
9630 9629
 
9631 9630
     # Let's still pretend it is `configure' which instantiates (i.e., don't
9632 9631
     # use $as_me), people would be surprised to read:
9633 9632
     #    /* config.h.  Generated by config.status.  */
9634
-    configure_input="Generated from "`IFS=:
9635
-	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9633
+    configure_input='Generated from '`
9634
+	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9635
+	`' by configure.'
9636 9636
     if test x"$ac_file" != x-; then
9637 9637
       configure_input="$ac_file.  $configure_input"
9638
-      { echo "$as_me:$LINENO: creating $ac_file" >&5
9639
-echo "$as_me: creating $ac_file" >&6;}
9638
+      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9639
+$as_echo "$as_me: creating $ac_file" >&6;}
9640 9640
     fi
9641
+    # Neutralize special characters interpreted by sed in replacement strings.
9642
+    case $configure_input in #(
9643
+    *\&* | *\|* | *\\* )
9644
+       ac_sed_conf_input=`$as_echo "$configure_input" |
9645
+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
9646
+    *) ac_sed_conf_input=$configure_input;;
9647
+    esac
9641 9648
 
9642 9649
     case $ac_tag in
9643
-    *:-:* | *:-) cat >"$tmp/stdin";;
9650
+    *:-:* | *:-) cat >"$tmp/stdin" \
9651
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
9644 9652
     esac
9645 9653
     ;;
9646 9654
   esac
... ...
@@ -9650,7 +7092,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9650 9650
 	 X"$ac_file" : 'X\(//\)[^/]' \| \
9651 9651
 	 X"$ac_file" : 'X\(//\)$' \| \
9652 9652
 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9653
-echo X"$ac_file" |
9653
+$as_echo X"$ac_file" |
9654 9654
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9655 9655
 	    s//\1/
9656 9656
 	    q
... ...
@@ -9668,55 +7110,15 @@ echo X"$ac_file" |
9668 9668
 	    q
9669 9669
 	  }
9670 9670
 	  s/.*/./; q'`
9671
-  { as_dir="$ac_dir"
9672
-  case $as_dir in #(
9673
-  -*) as_dir=./$as_dir;;
9674
-  esac
9675
-  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9676
-    as_dirs=
9677
-    while :; do
9678
-      case $as_dir in #(
9679
-      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9680
-      *) as_qdir=$as_dir;;
9681
-      esac
9682
-      as_dirs="'$as_qdir' $as_dirs"
9683
-      as_dir=`$as_dirname -- "$as_dir" ||
9684
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9685
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
9686
-	 X"$as_dir" : 'X\(//\)$' \| \
9687
-	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9688
-echo X"$as_dir" |
9689
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9690
-	    s//\1/
9691
-	    q
9692
-	  }
9693
-	  /^X\(\/\/\)[^/].*/{
9694
-	    s//\1/
9695
-	    q
9696
-	  }
9697
-	  /^X\(\/\/\)$/{
9698
-	    s//\1/
9699
-	    q
9700
-	  }
9701
-	  /^X\(\/\).*/{
9702
-	    s//\1/
9703
-	    q
9704
-	  }
9705
-	  s/.*/./; q'`
9706
-      test -d "$as_dir" && break
9707
-    done
9708
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
9709
-  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9710
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
9711
-   { (exit 1); exit 1; }; }; }
9671
+  as_dir="$ac_dir"; as_fn_mkdir_p
9712 9672
   ac_builddir=.
9713 9673
 
9714 9674
 case "$ac_dir" in
9715 9675
 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9716 9676
 *)
9717
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9677
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9718 9678
   # A ".." for each directory in $ac_dir_suffix.
9719
-  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9679
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9720 9680
   case $ac_top_builddir_sub in
9721 9681
   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9722 9682
   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
... ...
@@ -9761,12 +7163,12 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9761 9761
   esac
9762 9762
 _ACEOF
9763 9763
 
9764
-cat >>$CONFIG_STATUS <<\_ACEOF
9764
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9765 9765
 # If the template does not know about datarootdir, expand it.
9766 9766
 # FIXME: This hack should be removed a few years after 2.60.
9767 9767
 ac_datarootdir_hack=; ac_datarootdir_seen=
9768
-
9769
-case `sed -n '/datarootdir/ {
9768
+ac_sed_dataroot='
9769
+/datarootdir/ {
9770 9770
   p
9771 9771
   q
9772 9772
 }
... ...
@@ -9774,36 +7176,37 @@ case `sed -n '/datarootdir/ {
9774 9774
 /@docdir@/p
9775 9775
 /@infodir@/p
9776 9776
 /@localedir@/p
9777
-/@mandir@/p
9778
-' $ac_file_inputs` in
9777
+/@mandir@/p'
9778
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9779 9779
 *datarootdir*) ac_datarootdir_seen=yes;;
9780 9780
 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9781
-  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9782
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9781
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9782
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9783 9783
 _ACEOF
9784
-cat >>$CONFIG_STATUS <<_ACEOF
9784
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9785 9785
   ac_datarootdir_hack='
9786 9786
   s&@datadir@&$datadir&g
9787 9787
   s&@docdir@&$docdir&g
9788 9788
   s&@infodir@&$infodir&g
9789 9789
   s&@localedir@&$localedir&g
9790 9790
   s&@mandir@&$mandir&g
9791
-    s&\\\${datarootdir}&$datarootdir&g' ;;
9791
+  s&\\\${datarootdir}&$datarootdir&g' ;;
9792 9792
 esac
9793 9793
 _ACEOF
9794 9794
 
9795 9795
 # Neutralize VPATH when `$srcdir' = `.'.
9796 9796
 # Shell code in configure.ac might set extrasub.
9797 9797
 # FIXME: do we really want to maintain this feature?
9798
-cat >>$CONFIG_STATUS <<_ACEOF
9799
-  sed "$ac_vpsub
9798
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9799
+ac_sed_extra="$ac_vpsub
9800 9800
 $extrasub
9801 9801
 _ACEOF
9802
-cat >>$CONFIG_STATUS <<\_ACEOF
9802
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9803 9803
 :t
9804 9804
 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9805
-s&@configure_input@&$configure_input&;t t
9805
+s|@configure_input@|$ac_sed_conf_input|;t t
9806 9806
 s&@top_builddir@&$ac_top_builddir_sub&;t t
9807
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
9807 9808
 s&@srcdir@&$ac_srcdir&;t t
9808 9809
 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9809 9810
 s&@top_srcdir@&$ac_top_srcdir&;t t
... ...
@@ -9814,121 +7217,50 @@ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9814 9814
 s&@INSTALL@&$ac_INSTALL&;t t
9815 9815
 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9816 9816
 $ac_datarootdir_hack
9817
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
9817
+"
9818
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9819
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9818 9820
 
9819 9821
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9820 9822
   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9821 9823
   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9822
-  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9823
-which seems to be undefined.  Please make sure it is defined." >&5
9824
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9825
-which seems to be undefined.  Please make sure it is defined." >&2;}
9824
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9825
+which seems to be undefined.  Please make sure it is defined" >&5
9826
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9827
+which seems to be undefined.  Please make sure it is defined" >&2;}
9826 9828
 
9827 9829
   rm -f "$tmp/stdin"
9828 9830
   case $ac_file in
9829
-  -) cat "$tmp/out"; rm -f "$tmp/out";;
9830
-  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9831
-  esac
9831
+  -) cat "$tmp/out" && rm -f "$tmp/out";;
9832
+  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9833
+  esac \
9834
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9832 9835
  ;;
9833 9836
   :H)
9834 9837
   #
9835 9838
   # CONFIG_HEADER
9836 9839
   #
9837
-_ACEOF
9838
-
9839
-# Transform confdefs.h into a sed script `conftest.defines', that
9840
-# substitutes the proper values into config.h.in to produce config.h.
9841
-rm -f conftest.defines conftest.tail
9842
-# First, append a space to every undef/define line, to ease matching.
9843
-echo 's/$/ /' >conftest.defines
9844
-# Then, protect against being on the right side of a sed subst, or in
9845
-# an unquoted here document, in config.status.  If some macros were
9846
-# called several times there might be several #defines for the same
9847
-# symbol, which is useless.  But do not sort them, since the last
9848
-# AC_DEFINE must be honored.
9849
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9850
-# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9851
-# NAME is the cpp macro being defined, VALUE is the value it is being given.
9852
-# PARAMS is the parameter list in the macro definition--in most cases, it's
9853
-# just an empty string.
9854
-ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
9855
-ac_dB='\\)[	 (].*,\\1define\\2'
9856
-ac_dC=' '
9857
-ac_dD=' ,'
9858
-
9859
-uniq confdefs.h |
9860
-  sed -n '
9861
-	t rset
9862
-	:rset
9863
-	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
9864
-	t ok
9865
-	d
9866
-	:ok
9867
-	s/[\\&,]/\\&/g
9868
-	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9869
-	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9870
-  ' >>conftest.defines
9871
-
9872
-# Remove the space that was appended to ease matching.
9873
-# Then replace #undef with comments.  This is necessary, for
9874
-# example, in the case of _POSIX_SOURCE, which is predefined and required
9875
-# on some systems where configure will not decide to define it.
9876
-# (The regexp can be short, since the line contains either #define or #undef.)
9877
-echo 's/ $//
9878
-s,^[	 #]*u.*,/* & */,' >>conftest.defines
9879
-
9880
-# Break up conftest.defines:
9881
-ac_max_sed_lines=50
9882
-
9883
-# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9884
-# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9885
-# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9886
-# et cetera.
9887
-ac_in='$ac_file_inputs'
9888
-ac_out='"$tmp/out1"'
9889
-ac_nxt='"$tmp/out2"'
9890
-
9891
-while :
9892
-do
9893
-  # Write a here document:
9894
-    cat >>$CONFIG_STATUS <<_ACEOF
9895
-    # First, check the format of the line:
9896
-    cat >"\$tmp/defines.sed" <<\\CEOF
9897
-/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
9898
-/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
9899
-b
9900
-:def
9901
-_ACEOF
9902
-  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9903
-  echo 'CEOF
9904
-    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9905
-  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9906
-  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9907
-  grep . conftest.tail >/dev/null || break
9908
-  rm -f conftest.defines
9909
-  mv conftest.tail conftest.defines
9910
-done
9911
-rm -f conftest.defines conftest.tail
9912
-
9913
-echo "ac_result=$ac_in" >>$CONFIG_STATUS
9914
-cat >>$CONFIG_STATUS <<\_ACEOF
9915 9840
   if test x"$ac_file" != x-; then
9916
-    echo "/* $configure_input  */" >"$tmp/config.h"
9917
-    cat "$ac_result" >>"$tmp/config.h"
9918
-    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9919
-      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9920
-echo "$as_me: $ac_file is unchanged" >&6;}
9841
+    {
9842
+      $as_echo "/* $configure_input  */" \
9843
+      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9844
+    } >"$tmp/config.h" \
9845
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9846
+    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9847
+      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9848
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
9921 9849
     else
9922
-      rm -f $ac_file
9923
-      mv "$tmp/config.h" $ac_file
9850
+      rm -f "$ac_file"
9851
+      mv "$tmp/config.h" "$ac_file" \
9852
+	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
9924 9853
     fi
9925 9854
   else
9926
-    echo "/* $configure_input  */"
9927
-    cat "$ac_result"
9855
+    $as_echo "/* $configure_input  */" \
9856
+      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9857
+      || as_fn_error $? "could not create -" "$LINENO" 5
9928 9858
   fi
9929
-  rm -f "$tmp/out12"
9930
-# Compute $ac_file's index in $config_headers.
9931
-_am_arg=$ac_file
9859
+# Compute "$ac_file"'s index in $config_headers.
9860
+_am_arg="$ac_file"
9932 9861
 _am_stamp_count=1
9933 9862
 for _am_header in $config_headers :; do
9934 9863
   case $_am_header in
... ...
@@ -9943,7 +7275,7 @@ $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9943 9943
 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
9944 9944
 	 X"$_am_arg" : 'X\(//\)$' \| \
9945 9945
 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9946
-echo X"$_am_arg" |
9946
+$as_echo X"$_am_arg" |
9947 9947
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9948 9948
 	    s//\1/
9949 9949
 	    q
... ...
@@ -9967,52 +7299,67 @@ echo X"$_am_arg" |
9967 9967
   # CONFIG_LINK
9968 9968
   #
9969 9969
 
9970
-  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5
9971
-echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;}
9970
+  if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
9971
+    :
9972
+  else
9973
+    # Prefer the file from the source tree if names are identical.
9974
+    if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
9975
+      ac_source=$srcdir/$ac_source
9976
+    fi
9972 9977
 
9973
-  if test ! -r "$srcdir/$ac_source"; then
9974
-    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
9975
-echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
9976
-   { (exit 1); exit 1; }; }
9977
-  fi
9978
-  rm -f "$ac_file"
9978
+    { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
9979
+$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
9979 9980
 
9980
-  # Try a relative symlink, then a hard link, then a copy.
9981
-  case $srcdir in
9982
-  [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
9983
-      *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;;
9984
-  esac
9985
-  ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
9986
-    ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null ||
9987
-    cp -p "$srcdir/$ac_source" "$ac_file" ||
9988
-    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5
9989
-echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;}
9990
-   { (exit 1); exit 1; }; }
9981
+    if test ! -r "$ac_source"; then
9982
+      as_fn_error $? "$ac_source: file not found" "$LINENO" 5
9983
+    fi
9984
+    rm -f "$ac_file"
9985
+
9986
+    # Try a relative symlink, then a hard link, then a copy.
9987
+    case $ac_source in
9988
+    [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
9989
+	*) ac_rel_source=$ac_top_build_prefix$ac_source ;;
9990
+    esac
9991
+    ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
9992
+      ln "$ac_source" "$ac_file" 2>/dev/null ||
9993
+      cp -p "$ac_source" "$ac_file" ||
9994
+      as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
9995
+  fi
9991 9996
  ;;
9992
-  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9993
-echo "$as_me: executing $ac_file commands" >&6;}
9997
+  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9998
+$as_echo "$as_me: executing $ac_file commands" >&6;}
9994 9999
  ;;
9995 10000
   esac
9996 10001
 
9997 10002
 
9998 10003
   case $ac_file$ac_mode in
9999
-    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10000
-  # Strip MF so we end up with the name of the file.
10001
-  mf=`echo "$mf" | sed -e 's/:.*$//'`
10002
-  # Check whether this is an Automake generated Makefile or not.
10003
-  # We used to match only the files named `Makefile.in', but
10004
-  # some people rename them; so instead we look at the file content.
10005
-  # Grep'ing the first line is not enough: some people post-process
10006
-  # each Makefile.in and add a new line on top of each file to say so.
10007
-  # Grep'ing the whole file is not good either: AIX grep has a line
10008
-  # limit of 2048, but all sed's we know have understand at least 4000.
10009
-  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10010
-    dirpart=`$as_dirname -- "$mf" ||
10004
+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10005
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
10006
+  # are listed without --file.  Let's play safe and only enable the eval
10007
+  # if we detect the quoting.
10008
+  case $CONFIG_FILES in
10009
+  *\'*) eval set x "$CONFIG_FILES" ;;
10010
+  *)   set x $CONFIG_FILES ;;
10011
+  esac
10012
+  shift
10013
+  for mf
10014
+  do
10015
+    # Strip MF so we end up with the name of the file.
10016
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
10017
+    # Check whether this is an Automake generated Makefile or not.
10018
+    # We used to match only the files named `Makefile.in', but
10019
+    # some people rename them; so instead we look at the file content.
10020
+    # Grep'ing the first line is not enough: some people post-process
10021
+    # each Makefile.in and add a new line on top of each file to say so.
10022
+    # Grep'ing the whole file is not good either: AIX grep has a line
10023
+    # limit of 2048, but all sed's we know have understand at least 4000.
10024
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10025
+      dirpart=`$as_dirname -- "$mf" ||
10011 10026
 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10012 10027
 	 X"$mf" : 'X\(//\)[^/]' \| \
10013 10028
 	 X"$mf" : 'X\(//\)$' \| \
10014 10029
 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10015
-echo X"$mf" |
10030
+$as_echo X"$mf" |
10016 10031
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10017 10032
 	    s//\1/
10018 10033
 	    q
... ...
@@ -10030,68 +7377,33 @@ echo X"$mf" |
10030 10030
 	    q
10031 10031
 	  }
10032 10032
 	  s/.*/./; q'`
10033
-  else
10034
-    continue
10035
-  fi
10036
-  # Extract the definition of DEPDIR, am__include, and am__quote
10037
-  # from the Makefile without running `make'.
10038
-  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10039
-  test -z "$DEPDIR" && continue
10040
-  am__include=`sed -n 's/^am__include = //p' < "$mf"`
10041
-  test -z "am__include" && continue
10042
-  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10043
-  # When using ansi2knr, U may be empty or an underscore; expand it
10044
-  U=`sed -n 's/^U = //p' < "$mf"`
10045
-  # Find all dependency output files, they are included files with
10046
-  # $(DEPDIR) in their names.  We invoke sed twice because it is the
10047
-  # simplest approach to changing $(DEPDIR) to its actual value in the
10048
-  # expansion.
10049
-  for file in `sed -n "
10050
-    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10051
-       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10052
-    # Make sure the directory exists.
10053
-    test -f "$dirpart/$file" && continue
10054
-    fdir=`$as_dirname -- "$file" ||
10033
+    else
10034
+      continue
10035
+    fi
10036
+    # Extract the definition of DEPDIR, am__include, and am__quote
10037
+    # from the Makefile without running `make'.
10038
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10039
+    test -z "$DEPDIR" && continue
10040
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
10041
+    test -z "am__include" && continue
10042
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10043
+    # When using ansi2knr, U may be empty or an underscore; expand it
10044
+    U=`sed -n 's/^U = //p' < "$mf"`
10045
+    # Find all dependency output files, they are included files with
10046
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
10047
+    # simplest approach to changing $(DEPDIR) to its actual value in the
10048
+    # expansion.
10049
+    for file in `sed -n "
10050
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10051
+	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10052
+      # Make sure the directory exists.
10053
+      test -f "$dirpart/$file" && continue
10054
+      fdir=`$as_dirname -- "$file" ||
10055 10055
 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10056 10056
 	 X"$file" : 'X\(//\)[^/]' \| \
10057 10057
 	 X"$file" : 'X\(//\)$' \| \
10058 10058
 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10059
-echo X"$file" |
10060
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10061
-	    s//\1/
10062
-	    q
10063
-	  }
10064
-	  /^X\(\/\/\)[^/].*/{
10065
-	    s//\1/
10066
-	    q
10067
-	  }
10068
-	  /^X\(\/\/\)$/{
10069
-	    s//\1/
10070
-	    q
10071
-	  }
10072
-	  /^X\(\/\).*/{
10073
-	    s//\1/
10074
-	    q
10075
-	  }
10076
-	  s/.*/./; q'`
10077
-    { as_dir=$dirpart/$fdir
10078
-  case $as_dir in #(
10079
-  -*) as_dir=./$as_dir;;
10080
-  esac
10081
-  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10082
-    as_dirs=
10083
-    while :; do
10084
-      case $as_dir in #(
10085
-      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10086
-      *) as_qdir=$as_dir;;
10087
-      esac
10088
-      as_dirs="'$as_qdir' $as_dirs"
10089
-      as_dir=`$as_dirname -- "$as_dir" ||
10090
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10091
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
10092
-	 X"$as_dir" : 'X\(//\)$' \| \
10093
-	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10094
-echo X"$as_dir" |
10059
+$as_echo X"$file" |
10095 10060
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10096 10061
 	    s//\1/
10097 10062
 	    q
... ...
@@ -10109,27 +7421,25 @@ echo X"$as_dir" |
10109 10109
 	    q
10110 10110
 	  }
10111 10111
 	  s/.*/./; q'`
10112
-      test -d "$as_dir" && break
10112
+      as_dir=$dirpart/$fdir; as_fn_mkdir_p
10113
+      # echo "creating $dirpart/$file"
10114
+      echo '# dummy' > "$dirpart/$file"
10113 10115
     done
10114
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
10115
-  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10116
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
10117
-   { (exit 1); exit 1; }; }; }
10118
-    # echo "creating $dirpart/$file"
10119
-    echo '# dummy' > "$dirpart/$file"
10120 10116
   done
10121
-done
10117
+}
10122 10118
  ;;
10123 10119
 
10124 10120
   esac
10125 10121
 done # for ac_tag
10126 10122
 
10127 10123
 
10128
-{ (exit 0); exit 0; }
10124
+as_fn_exit 0
10129 10125
 _ACEOF
10130
-chmod +x $CONFIG_STATUS
10131 10126
 ac_clean_files=$ac_clean_files_save
10132 10127
 
10128
+test $ac_write_fail = 0 ||
10129
+  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10130
+
10133 10131
 
10134 10132
 # configure is writing to config.log, and then calls config.status.
10135 10133
 # config.status does its own redirection, appending to config.log.
... ...
@@ -10149,7 +7459,10 @@ if test "$no_create" != yes; then
10149 10149
   exec 5>>config.log
10150 10150
   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10151 10151
   # would make configure fail if this is the last instruction.
10152
-  $ac_cs_success || { (exit 1); exit 1; }
10152
+  $ac_cs_success || as_fn_exit 1
10153
+fi
10154
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10155
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10156
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10153 10157
 fi
10154
-
10155 10158
 
10156 10159
new file mode 100644
... ...
@@ -0,0 +1,56 @@
0
+#                                               -*- Autoconf -*-
1
+# Process this file with autoconf to produce a configure script.
2
+
3
+AC_PREREQ([2.67])
4
+AC_INIT(makuosan, 1.3.3, info-makuosan@klab.jp)
5
+AM_INIT_AUTOMAKE
6
+AC_CONFIG_SRCDIR([common.c])
7
+AC_CONFIG_HEADERS([config.h])
8
+
9
+# Checks for programs.
10
+AC_PROG_CC
11
+
12
+# Checks for libraries.
13
+AC_CHECK_LIB(crypto, MD5_Init)
14
+AC_CHECK_LIB(socket, socket)
15
+AC_CHECK_LIB(nsl, inet_addr)
16
+
17
+# Checks for header files.
18
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h utime.h])
19
+AC_CHECK_HEADERS(openssl/md5.h openssl/blowfish.h,,[AC_MSG_ERROR([Can't found openssl header file])])
20
+
21
+# Checks for typedefs, structures, and compiler characteristics.
22
+AC_TYPE_UID_T
23
+AC_TYPE_MODE_T
24
+AC_TYPE_OFF_T
25
+AC_TYPE_SIZE_T
26
+AC_TYPE_SSIZE_T
27
+AC_CHECK_MEMBERS([struct stat.st_rdev])
28
+AC_TYPE_UINT16_T
29
+AC_TYPE_UINT32_T
30
+AC_TYPE_UINT64_T
31
+AC_TYPE_UINT8_T
32
+
33
+# Checks for library functions.
34
+
35
+AC_FUNC_CHOWN
36
+AC_FUNC_CLOSEDIR_VOID
37
+AC_REPLACE_FNMATCH
38
+AC_FUNC_FORK
39
+AC_FUNC_LSTAT
40
+AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
41
+AC_FUNC_MALLOC
42
+AC_FUNC_MEMCMP
43
+AC_FUNC_REALLOC
44
+AC_FUNC_SELECT_ARGTYPES
45
+AC_FUNC_UTIME_NULL
46
+AC_FUNC_VPRINTF
47
+AC_CHECK_FUNCS([getcwd gethostname gettimeofday inet_ntoa lchown memmove memset mkdir realpath rmdir select setenv socket strchr strerror tzset uname utime])
48
+AC_CACHE_CHECK([whether getopt has optreset support], ac_cv_have_getopt_optreset,[
49
+	AC_TRY_LINK([#include <unistd.h>], extern int optreset; optreset = 0;, [ ac_cv_have_getopt_optreset="yes" ], [ ac_cv_have_getopt_optreset="no" ])
50
+])
51
+if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
52
+	AC_DEFINE(HAVE_GETOPT_OPTRESET, 1, [getopt has optreset support])
53
+fi
54
+AC_CONFIG_FILES([Makefile])
55
+AC_OUTPUT
0 56
deleted file mode 100644
... ...
@@ -1,63 +0,0 @@
1
-#                                               -*- Autoconf -*-
2
-# Process this file with autoconf to produce a configure script.
3
-AC_PREREQ(2.61)
4
-AC_INIT(makuosan, 1.3.2, info-makuosan@klab.jp)
5
-AM_INIT_AUTOMAKE
6
-AC_CONFIG_SRCDIR([makuosan.c])
7
-AC_CONFIG_HEADER([config.h])
8
-AC_ARG_ENABLE(debug, [  --enable-debug	enable debuging], 
9
-                     [CFLAGS="$CFLAGS -g"
10
-                      CPPFLAGS="$CPPFLAGS -DMAKUO_DEBUG"])
11
-AC_SUBST(CFLAGS)
12
-AC_SUBST(CPPFLAGS)
13
-CFLAGS="-O3 $CFLAGS"
14
-
15
-# Checks for programs.
16
-AC_PROG_CC
17
-AC_PROG_INSTALL
18
-
19
-# Checks for libraries.
20
-AC_CHECK_LIB(crypto, MD5_Init)
21
-AC_CHECK_LIB(socket, socket)
22
-AC_CHECK_LIB(nsl, inet_addr)
23
-
24
-# Checks for header files.
25
-AC_HEADER_DIRENT
26
-AC_HEADER_STDC
27
-AC_CHECK_HEADERS(openssl/md5.h openssl/blowfish.h,,[AC_MSG_ERROR([Can't found openssl header file])])
28
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h utime.h])
29
-
30
-# Checks for typedefs, structures, and compiler characteristics.
31
-AC_TYPE_UID_T
32
-AC_TYPE_MODE_T
33
-AC_TYPE_OFF_T
34
-AC_TYPE_SSIZE_T
35
-AC_HEADER_TIME
36
-AC_STRUCT_TM
37
-AC_TYPE_UINT16_T
38
-AC_TYPE_UINT32_T
39
-AC_TYPE_UINT8_T
40
-
41
-# Checks for library functions.
42
-AC_FUNC_CHOWN
43
-AC_FUNC_CLOSEDIR_VOID
44
-AC_REPLACE_FNMATCH
45
-AC_FUNC_FORK
46
-AC_FUNC_LSTAT
47
-AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
48
-AC_FUNC_MALLOC
49
-AC_FUNC_MEMCMP
50
-AC_FUNC_REALLOC
51
-AC_FUNC_SELECT_ARGTYPES
52
-AC_FUNC_UTIME_NULL
53
-AC_FUNC_VPRINTF
54
-AC_CHECK_FUNCS([ftime getcwd gethostname gettimeofday inet_ntoa memmove memset mkdir realpath rmdir select setenv socket tzset utime])
55
-AC_CACHE_CHECK([whether getopt has optreset support], ac_cv_have_getopt_optreset,[
56
-	AC_TRY_LINK([#include <unistd.h>], extern int optreset; optreset = 0;, [ ac_cv_have_getopt_optreset="yes" ], [ ac_cv_have_getopt_optreset="no" ])
57
-])
58
-if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
59
-	AC_DEFINE(HAVE_GETOPT_OPTRESET, 1, [getopt has optreset support])
60
-fi
61
-AC_CONFIG_FILES([Makefile])
62
-AC_OUTPUT
63
-