• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mfiler4のgitリポジトリ


Commit MetaInfo

Revisãoce5d56bba20716607dc648a4e8676bcf82abace6 (tree)
Hora2012-12-13 17:54:16
AutorMinato Daisuke <ab25cq@wond...>
CommiterMinato Daisuke

Mensagem de Log

1.0.4d

Mudança Sumário

Diff

--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,9 @@
11
2-2012 12月8日 version 1.0.4c
2+2012 12月13日 version 1.0.4d
3+
4+ 1. Linuxで動作確認
5+
6+2012 12月13日 version 1.0.4c
37
48 1. cursesを独自ライブラリからcurses(w)に変更
59
--- /dev/null
+++ b/autom4te.cache/output.0
@@ -0,0 +1,6509 @@
1+@%:@! /bin/sh
2+@%:@ Guess values for system-dependent variables and create Makefiles.
3+@%:@ Generated by GNU Autoconf 2.63.
4+@%:@
5+@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6+@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7+@%:@ This configure script is free software; the Free Software Foundation
8+@%:@ gives unlimited permission to copy, distribute and modify it.
9+## --------------------- ##
10+## M4sh Initialization. ##
11+## --------------------- ##
12+
13+# Be more Bourne compatible
14+DUALCASE=1; export DUALCASE # for MKS sh
15+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16+ emulate sh
17+ NULLCMD=:
18+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19+ # is contrary to our usage. Disable this feature.
20+ alias -g '${1+"$@"}'='"$@"'
21+ setopt NO_GLOB_SUBST
22+else
23+ case `(set -o) 2>/dev/null` in
24+ *posix*) set -o posix ;;
25+esac
26+
27+fi
28+
29+
30+
31+
32+# PATH needs CR
33+# Avoid depending upon Character Ranges.
34+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37+as_cr_digits='0123456789'
38+as_cr_alnum=$as_cr_Letters$as_cr_digits
39+
40+as_nl='
41+'
42+export as_nl
43+# Printing a long string crashes Solaris 7 /usr/bin/printf.
44+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48+ as_echo='printf %s\n'
49+ as_echo_n='printf %s'
50+else
51+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53+ as_echo_n='/usr/ucb/echo -n'
54+ else
55+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56+ as_echo_n_body='eval
57+ arg=$1;
58+ case $arg in
59+ *"$as_nl"*)
60+ expr "X$arg" : "X\\(.*\\)$as_nl";
61+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62+ esac;
63+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64+ '
65+ export as_echo_n_body
66+ as_echo_n='sh -c $as_echo_n_body as_echo'
67+ fi
68+ export as_echo_body
69+ as_echo='sh -c $as_echo_body as_echo'
70+fi
71+
72+# The user is always right.
73+if test "${PATH_SEPARATOR+set}" != set; then
74+ PATH_SEPARATOR=:
75+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77+ PATH_SEPARATOR=';'
78+ }
79+fi
80+
81+# Support unset when possible.
82+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83+ as_unset=unset
84+else
85+ as_unset=false
86+fi
87+
88+
89+# IFS
90+# We need space, tab and new line, in precisely that order. Quoting is
91+# there to prevent editors from complaining about space-tab.
92+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93+# splitting by setting IFS to empty value.)
94+IFS=" "" $as_nl"
95+
96+# Find who we are. Look in the path if we contain no directory separator.
97+case $0 in
98+ *[\\/]* ) as_myself=$0 ;;
99+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100+for as_dir in $PATH
101+do
102+ IFS=$as_save_IFS
103+ test -z "$as_dir" && as_dir=.
104+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105+done
106+IFS=$as_save_IFS
107+
108+ ;;
109+esac
110+# We did not find ourselves, most probably we were run as `sh COMMAND'
111+# in which case we are not to be found in the path.
112+if test "x$as_myself" = x; then
113+ as_myself=$0
114+fi
115+if test ! -f "$as_myself"; then
116+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117+ { (exit 1); exit 1; }
118+fi
119+
120+# Work around bugs in pre-3.0 UWIN ksh.
121+for as_var in ENV MAIL MAILPATH
122+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123+done
124+PS1='$ '
125+PS2='> '
126+PS4='+ '
127+
128+# NLS nuisances.
129+LC_ALL=C
130+export LC_ALL
131+LANGUAGE=C
132+export LANGUAGE
133+
134+# Required to use basename.
135+if expr a : '\(a\)' >/dev/null 2>&1 &&
136+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
137+ as_expr=expr
138+else
139+ as_expr=false
140+fi
141+
142+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143+ as_basename=basename
144+else
145+ as_basename=false
146+fi
147+
148+
149+# Name of the executable.
150+as_me=`$as_basename -- "$0" ||
151+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152+ X"$0" : 'X\(//\)$' \| \
153+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154+$as_echo X/"$0" |
155+ sed '/^.*\/\([^/][^/]*\)\/*$/{
156+ s//\1/
157+ q
158+ }
159+ /^X\/\(\/\/\)$/{
160+ s//\1/
161+ q
162+ }
163+ /^X\/\(\/\).*/{
164+ s//\1/
165+ q
166+ }
167+ s/.*/./; q'`
168+
169+# CDPATH.
170+$as_unset CDPATH
171+
172+
173+if test "x$CONFIG_SHELL" = x; then
174+ if (eval ":") 2>/dev/null; then
175+ as_have_required=yes
176+else
177+ as_have_required=no
178+fi
179+
180+ if test $as_have_required = yes && (eval ":
181+(as_func_return () {
182+ (exit \$1)
183+}
184+as_func_success () {
185+ as_func_return 0
186+}
187+as_func_failure () {
188+ as_func_return 1
189+}
190+as_func_ret_success () {
191+ return 0
192+}
193+as_func_ret_failure () {
194+ return 1
195+}
196+
197+exitcode=0
198+if as_func_success; then
199+ :
200+else
201+ exitcode=1
202+ echo as_func_success failed.
203+fi
204+
205+if as_func_failure; then
206+ exitcode=1
207+ echo as_func_failure succeeded.
208+fi
209+
210+if as_func_ret_success; then
211+ :
212+else
213+ exitcode=1
214+ echo as_func_ret_success failed.
215+fi
216+
217+if as_func_ret_failure; then
218+ exitcode=1
219+ echo as_func_ret_failure succeeded.
220+fi
221+
222+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223+ :
224+else
225+ exitcode=1
226+ echo positional parameters were not saved.
227+fi
228+
229+test \$exitcode = 0) || { (exit 1); exit 1; }
230+
231+(
232+ as_lineno_1=\$LINENO
233+ as_lineno_2=\$LINENO
234+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236+") 2> /dev/null; then
237+ :
238+else
239+ as_candidate_shells=
240+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242+do
243+ IFS=$as_save_IFS
244+ test -z "$as_dir" && as_dir=.
245+ case $as_dir in
246+ /*)
247+ for as_base in sh bash ksh sh5; do
248+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249+ done;;
250+ esac
251+done
252+IFS=$as_save_IFS
253+
254+
255+ for as_shell in $as_candidate_shells $SHELL; do
256+ # Try only shells that exist, to save several forks.
257+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258+ { ("$as_shell") 2> /dev/null <<\_ASEOF
259+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260+ emulate sh
261+ NULLCMD=:
262+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263+ # is contrary to our usage. Disable this feature.
264+ alias -g '${1+"$@"}'='"$@"'
265+ setopt NO_GLOB_SUBST
266+else
267+ case `(set -o) 2>/dev/null` in
268+ *posix*) set -o posix ;;
269+esac
270+
271+fi
272+
273+
274+:
275+_ASEOF
276+}; then
277+ CONFIG_SHELL=$as_shell
278+ as_have_required=yes
279+ if { "$as_shell" 2> /dev/null <<\_ASEOF
280+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281+ emulate sh
282+ NULLCMD=:
283+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284+ # is contrary to our usage. Disable this feature.
285+ alias -g '${1+"$@"}'='"$@"'
286+ setopt NO_GLOB_SUBST
287+else
288+ case `(set -o) 2>/dev/null` in
289+ *posix*) set -o posix ;;
290+esac
291+
292+fi
293+
294+
295+:
296+(as_func_return () {
297+ (exit $1)
298+}
299+as_func_success () {
300+ as_func_return 0
301+}
302+as_func_failure () {
303+ as_func_return 1
304+}
305+as_func_ret_success () {
306+ return 0
307+}
308+as_func_ret_failure () {
309+ return 1
310+}
311+
312+exitcode=0
313+if as_func_success; then
314+ :
315+else
316+ exitcode=1
317+ echo as_func_success failed.
318+fi
319+
320+if as_func_failure; then
321+ exitcode=1
322+ echo as_func_failure succeeded.
323+fi
324+
325+if as_func_ret_success; then
326+ :
327+else
328+ exitcode=1
329+ echo as_func_ret_success failed.
330+fi
331+
332+if as_func_ret_failure; then
333+ exitcode=1
334+ echo as_func_ret_failure succeeded.
335+fi
336+
337+if ( set x; as_func_ret_success y && test x = "$1" ); then
338+ :
339+else
340+ exitcode=1
341+ echo positional parameters were not saved.
342+fi
343+
344+test $exitcode = 0) || { (exit 1); exit 1; }
345+
346+(
347+ as_lineno_1=$LINENO
348+ as_lineno_2=$LINENO
349+ test "x$as_lineno_1" != "x$as_lineno_2" &&
350+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351+
352+_ASEOF
353+}; then
354+ break
355+fi
356+
357+fi
358+
359+ done
360+
361+ if test "x$CONFIG_SHELL" != x; then
362+ for as_var in BASH_ENV ENV
363+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364+ done
365+ export CONFIG_SHELL
366+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367+fi
368+
369+
370+ if test $as_have_required = no; then
371+ echo This script requires a shell more modern than all the
372+ echo shells that I found on your system. Please install a
373+ echo modern shell, or manually run the script under such a
374+ echo shell if you do have one.
375+ { (exit 1); exit 1; }
376+fi
377+
378+
379+fi
380+
381+fi
382+
383+
384+
385+(eval "as_func_return () {
386+ (exit \$1)
387+}
388+as_func_success () {
389+ as_func_return 0
390+}
391+as_func_failure () {
392+ as_func_return 1
393+}
394+as_func_ret_success () {
395+ return 0
396+}
397+as_func_ret_failure () {
398+ return 1
399+}
400+
401+exitcode=0
402+if as_func_success; then
403+ :
404+else
405+ exitcode=1
406+ echo as_func_success failed.
407+fi
408+
409+if as_func_failure; then
410+ exitcode=1
411+ echo as_func_failure succeeded.
412+fi
413+
414+if as_func_ret_success; then
415+ :
416+else
417+ exitcode=1
418+ echo as_func_ret_success failed.
419+fi
420+
421+if as_func_ret_failure; then
422+ exitcode=1
423+ echo as_func_ret_failure succeeded.
424+fi
425+
426+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427+ :
428+else
429+ exitcode=1
430+ echo positional parameters were not saved.
431+fi
432+
433+test \$exitcode = 0") || {
434+ echo No shell found that supports shell functions.
435+ echo Please tell bug-autoconf@gnu.org about your system,
436+ echo including any error possibly output before this message.
437+ echo This can help us improve future autoconf versions.
438+ echo Configuration will now proceed without shell functions.
439+}
440+
441+
442+
443+ as_lineno_1=$LINENO
444+ as_lineno_2=$LINENO
445+ test "x$as_lineno_1" != "x$as_lineno_2" &&
446+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447+
448+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449+ # uniformly replaced by the line number. The first 'sed' inserts a
450+ # line-number line after each line using $LINENO; the second 'sed'
451+ # does the real work. The second script uses 'N' to pair each
452+ # line-number line with the line containing $LINENO, and appends
453+ # trailing '-' during substitution so that $LINENO is not a special
454+ # case at line end.
455+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456+ # scripts with optimization help from Paolo Bonzini. Blame Lee
457+ # E. McMahon (1931-1989) for sed's syntax. :-)
458+ sed -n '
459+ p
460+ /[$]LINENO/=
461+ ' <$as_myself |
462+ sed '
463+ s/[$]LINENO.*/&-/
464+ t lineno
465+ b
466+ :lineno
467+ N
468+ :loop
469+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470+ t loop
471+ s/-\n.*//
472+ ' >$as_me.lineno &&
473+ chmod +x "$as_me.lineno" ||
474+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475+ { (exit 1); exit 1; }; }
476+
477+ # Don't try to exec as it changes $[0], causing all sort of problems
478+ # (the dirname of $[0] is not the place where we might find the
479+ # original and so on. Autoconf is especially sensitive to this).
480+ . "./$as_me.lineno"
481+ # Exit status is that of the last command.
482+ exit
483+}
484+
485+
486+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487+ as_dirname=dirname
488+else
489+ as_dirname=false
490+fi
491+
492+ECHO_C= ECHO_N= ECHO_T=
493+case `echo -n x` in
494+-n*)
495+ case `echo 'x\c'` in
496+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497+ *) ECHO_C='\c';;
498+ esac;;
499+*)
500+ ECHO_N='-n';;
501+esac
502+if expr a : '\(a\)' >/dev/null 2>&1 &&
503+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
504+ as_expr=expr
505+else
506+ as_expr=false
507+fi
508+
509+rm -f conf$$ conf$$.exe conf$$.file
510+if test -d conf$$.dir; then
511+ rm -f conf$$.dir/conf$$.file
512+else
513+ rm -f conf$$.dir
514+ mkdir conf$$.dir 2>/dev/null
515+fi
516+if (echo >conf$$.file) 2>/dev/null; then
517+ if ln -s conf$$.file conf$$ 2>/dev/null; then
518+ as_ln_s='ln -s'
519+ # ... but there are two gotchas:
520+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522+ # In both cases, we have to default to `cp -p'.
523+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524+ as_ln_s='cp -p'
525+ elif ln conf$$.file conf$$ 2>/dev/null; then
526+ as_ln_s=ln
527+ else
528+ as_ln_s='cp -p'
529+ fi
530+else
531+ as_ln_s='cp -p'
532+fi
533+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534+rmdir conf$$.dir 2>/dev/null
535+
536+if mkdir -p . 2>/dev/null; then
537+ as_mkdir_p=:
538+else
539+ test -d ./-p && rmdir ./-p
540+ as_mkdir_p=false
541+fi
542+
543+if test -x / >/dev/null 2>&1; then
544+ as_test_x='test -x'
545+else
546+ if ls -dL / >/dev/null 2>&1; then
547+ as_ls_L_option=L
548+ else
549+ as_ls_L_option=
550+ fi
551+ as_test_x='
552+ eval sh -c '\''
553+ if test -d "$1"; then
554+ test -d "$1/.";
555+ else
556+ case $1 in
557+ -*)set "./$1";;
558+ esac;
559+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560+ ???[sx]*):;;*)false;;esac;fi
561+ '\'' sh
562+ '
563+fi
564+as_executable_p=$as_test_x
565+
566+# Sed expression to map a string onto a valid CPP name.
567+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568+
569+# Sed expression to map a string onto a valid variable name.
570+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571+
572+
573+
574+exec 7<&0 </dev/null 6>&1
575+
576+# Name of the host.
577+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578+# so uname gets run too.
579+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580+
581+#
582+# Initializations.
583+#
584+ac_default_prefix=/usr/local
585+ac_clean_files=
586+ac_config_libobj_dir=.
587+LIB@&t@OBJS=
588+cross_compiling=no
589+subdirs=
590+MFLAGS=
591+MAKEFLAGS=
592+SHELL=${CONFIG_SHELL-/bin/sh}
593+
594+# Identity of this package.
595+PACKAGE_NAME=
596+PACKAGE_TARNAME=
597+PACKAGE_VERSION=
598+PACKAGE_STRING=
599+PACKAGE_BUGREPORT=
600+
601+ac_unique_file="src/main.c"
602+# Factoring default headers for most tests.
603+ac_includes_default="\
604+#include <stdio.h>
605+#ifdef HAVE_SYS_TYPES_H
606+# include <sys/types.h>
607+#endif
608+#ifdef HAVE_SYS_STAT_H
609+# include <sys/stat.h>
610+#endif
611+#ifdef STDC_HEADERS
612+# include <stdlib.h>
613+# include <stddef.h>
614+#else
615+# ifdef HAVE_STDLIB_H
616+# include <stdlib.h>
617+# endif
618+#endif
619+#ifdef HAVE_STRING_H
620+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621+# include <memory.h>
622+# endif
623+# include <string.h>
624+#endif
625+#ifdef HAVE_STRINGS_H
626+# include <strings.h>
627+#endif
628+#ifdef HAVE_INTTYPES_H
629+# include <inttypes.h>
630+#endif
631+#ifdef HAVE_STDINT_H
632+# include <stdint.h>
633+#endif
634+#ifdef HAVE_UNISTD_H
635+# include <unistd.h>
636+#endif"
637+
638+ac_subst_vars='LTLIBOBJS
639+LIB@&t@OBJS
640+EGREP
641+GREP
642+CPP
643+SYSTEM_MIGEMODIR
644+INSTALL_DATA
645+INSTALL_SCRIPT
646+INSTALL_PROGRAM
647+OBJEXT
648+EXEEXT
649+ac_ct_CC
650+CPPFLAGS
651+LDFLAGS
652+CFLAGS
653+CC
654+target_alias
655+host_alias
656+build_alias
657+LIBS
658+ECHO_T
659+ECHO_N
660+ECHO_C
661+DEFS
662+mandir
663+localedir
664+libdir
665+psdir
666+pdfdir
667+dvidir
668+htmldir
669+infodir
670+docdir
671+oldincludedir
672+includedir
673+localstatedir
674+sharedstatedir
675+sysconfdir
676+datadir
677+datarootdir
678+libexecdir
679+sbindir
680+bindir
681+program_transform_name
682+prefix
683+exec_prefix
684+PACKAGE_BUGREPORT
685+PACKAGE_STRING
686+PACKAGE_VERSION
687+PACKAGE_TARNAME
688+PACKAGE_NAME
689+PATH_SEPARATOR
690+SHELL'
691+ac_subst_files=''
692+ac_user_opts='
693+enable_option_checking
694+with_debug
695+with_gprof_debug
696+with_optimize
697+with_migemo
698+with_migemo_dir
699+with_onig_dir
700+with_xyzsh_dir
701+with_system_migemodir
702+'
703+ ac_precious_vars='build_alias
704+host_alias
705+target_alias
706+CC
707+CFLAGS
708+LDFLAGS
709+LIBS
710+CPPFLAGS
711+CPP'
712+
713+
714+# Initialize some variables set by options.
715+ac_init_help=
716+ac_init_version=false
717+ac_unrecognized_opts=
718+ac_unrecognized_sep=
719+# The variables have the same names as the options, with
720+# dashes changed to underlines.
721+cache_file=/dev/null
722+exec_prefix=NONE
723+no_create=
724+no_recursion=
725+prefix=NONE
726+program_prefix=NONE
727+program_suffix=NONE
728+program_transform_name=s,x,x,
729+silent=
730+site=
731+srcdir=
732+verbose=
733+x_includes=NONE
734+x_libraries=NONE
735+
736+# Installation directory options.
737+# These are left unexpanded so users can "make install exec_prefix=/foo"
738+# and all the variables that are supposed to be based on exec_prefix
739+# by default will actually change.
740+# Use braces instead of parens because sh, perl, etc. also accept them.
741+# (The list follows the same order as the GNU Coding Standards.)
742+bindir='${exec_prefix}/bin'
743+sbindir='${exec_prefix}/sbin'
744+libexecdir='${exec_prefix}/libexec'
745+datarootdir='${prefix}/share'
746+datadir='${datarootdir}'
747+sysconfdir='${prefix}/etc'
748+sharedstatedir='${prefix}/com'
749+localstatedir='${prefix}/var'
750+includedir='${prefix}/include'
751+oldincludedir='/usr/include'
752+docdir='${datarootdir}/doc/${PACKAGE}'
753+infodir='${datarootdir}/info'
754+htmldir='${docdir}'
755+dvidir='${docdir}'
756+pdfdir='${docdir}'
757+psdir='${docdir}'
758+libdir='${exec_prefix}/lib'
759+localedir='${datarootdir}/locale'
760+mandir='${datarootdir}/man'
761+
762+ac_prev=
763+ac_dashdash=
764+for ac_option
765+do
766+ # If the previous option needs an argument, assign it.
767+ if test -n "$ac_prev"; then
768+ eval $ac_prev=\$ac_option
769+ ac_prev=
770+ continue
771+ fi
772+
773+ case $ac_option in
774+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
775+ *) ac_optarg=yes ;;
776+ esac
777+
778+ # Accept the important Cygnus configure options, so we can diagnose typos.
779+
780+ case $ac_dashdash$ac_option in
781+ --)
782+ ac_dashdash=yes ;;
783+
784+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
785+ ac_prev=bindir ;;
786+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
787+ bindir=$ac_optarg ;;
788+
789+ -build | --build | --buil | --bui | --bu)
790+ ac_prev=build_alias ;;
791+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
792+ build_alias=$ac_optarg ;;
793+
794+ -cache-file | --cache-file | --cache-fil | --cache-fi \
795+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
796+ ac_prev=cache_file ;;
797+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
798+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
799+ cache_file=$ac_optarg ;;
800+
801+ --config-cache | -C)
802+ cache_file=config.cache ;;
803+
804+ -datadir | --datadir | --datadi | --datad)
805+ ac_prev=datadir ;;
806+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
807+ datadir=$ac_optarg ;;
808+
809+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
810+ | --dataroo | --dataro | --datar)
811+ ac_prev=datarootdir ;;
812+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
813+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
814+ datarootdir=$ac_optarg ;;
815+
816+ -disable-* | --disable-*)
817+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
818+ # Reject names that are not valid shell variable names.
819+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
820+ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
821+ { (exit 1); exit 1; }; }
822+ ac_useropt_orig=$ac_useropt
823+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
824+ case $ac_user_opts in
825+ *"
826+"enable_$ac_useropt"
827+"*) ;;
828+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
829+ ac_unrecognized_sep=', ';;
830+ esac
831+ eval enable_$ac_useropt=no ;;
832+
833+ -docdir | --docdir | --docdi | --doc | --do)
834+ ac_prev=docdir ;;
835+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
836+ docdir=$ac_optarg ;;
837+
838+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
839+ ac_prev=dvidir ;;
840+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
841+ dvidir=$ac_optarg ;;
842+
843+ -enable-* | --enable-*)
844+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
845+ # Reject names that are not valid shell variable names.
846+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
847+ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
848+ { (exit 1); exit 1; }; }
849+ ac_useropt_orig=$ac_useropt
850+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
851+ case $ac_user_opts in
852+ *"
853+"enable_$ac_useropt"
854+"*) ;;
855+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
856+ ac_unrecognized_sep=', ';;
857+ esac
858+ eval enable_$ac_useropt=\$ac_optarg ;;
859+
860+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
861+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
862+ | --exec | --exe | --ex)
863+ ac_prev=exec_prefix ;;
864+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
865+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
866+ | --exec=* | --exe=* | --ex=*)
867+ exec_prefix=$ac_optarg ;;
868+
869+ -gas | --gas | --ga | --g)
870+ # Obsolete; use --with-gas.
871+ with_gas=yes ;;
872+
873+ -help | --help | --hel | --he | -h)
874+ ac_init_help=long ;;
875+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
876+ ac_init_help=recursive ;;
877+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
878+ ac_init_help=short ;;
879+
880+ -host | --host | --hos | --ho)
881+ ac_prev=host_alias ;;
882+ -host=* | --host=* | --hos=* | --ho=*)
883+ host_alias=$ac_optarg ;;
884+
885+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
886+ ac_prev=htmldir ;;
887+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
888+ | --ht=*)
889+ htmldir=$ac_optarg ;;
890+
891+ -includedir | --includedir | --includedi | --included | --include \
892+ | --includ | --inclu | --incl | --inc)
893+ ac_prev=includedir ;;
894+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
895+ | --includ=* | --inclu=* | --incl=* | --inc=*)
896+ includedir=$ac_optarg ;;
897+
898+ -infodir | --infodir | --infodi | --infod | --info | --inf)
899+ ac_prev=infodir ;;
900+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
901+ infodir=$ac_optarg ;;
902+
903+ -libdir | --libdir | --libdi | --libd)
904+ ac_prev=libdir ;;
905+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
906+ libdir=$ac_optarg ;;
907+
908+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
909+ | --libexe | --libex | --libe)
910+ ac_prev=libexecdir ;;
911+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
912+ | --libexe=* | --libex=* | --libe=*)
913+ libexecdir=$ac_optarg ;;
914+
915+ -localedir | --localedir | --localedi | --localed | --locale)
916+ ac_prev=localedir ;;
917+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
918+ localedir=$ac_optarg ;;
919+
920+ -localstatedir | --localstatedir | --localstatedi | --localstated \
921+ | --localstate | --localstat | --localsta | --localst | --locals)
922+ ac_prev=localstatedir ;;
923+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
924+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
925+ localstatedir=$ac_optarg ;;
926+
927+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
928+ ac_prev=mandir ;;
929+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
930+ mandir=$ac_optarg ;;
931+
932+ -nfp | --nfp | --nf)
933+ # Obsolete; use --without-fp.
934+ with_fp=no ;;
935+
936+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
937+ | --no-cr | --no-c | -n)
938+ no_create=yes ;;
939+
940+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
941+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
942+ no_recursion=yes ;;
943+
944+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
945+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
946+ | --oldin | --oldi | --old | --ol | --o)
947+ ac_prev=oldincludedir ;;
948+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
949+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
950+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
951+ oldincludedir=$ac_optarg ;;
952+
953+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
954+ ac_prev=prefix ;;
955+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
956+ prefix=$ac_optarg ;;
957+
958+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
959+ | --program-pre | --program-pr | --program-p)
960+ ac_prev=program_prefix ;;
961+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
962+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
963+ program_prefix=$ac_optarg ;;
964+
965+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
966+ | --program-suf | --program-su | --program-s)
967+ ac_prev=program_suffix ;;
968+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
969+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
970+ program_suffix=$ac_optarg ;;
971+
972+ -program-transform-name | --program-transform-name \
973+ | --program-transform-nam | --program-transform-na \
974+ | --program-transform-n | --program-transform- \
975+ | --program-transform | --program-transfor \
976+ | --program-transfo | --program-transf \
977+ | --program-trans | --program-tran \
978+ | --progr-tra | --program-tr | --program-t)
979+ ac_prev=program_transform_name ;;
980+ -program-transform-name=* | --program-transform-name=* \
981+ | --program-transform-nam=* | --program-transform-na=* \
982+ | --program-transform-n=* | --program-transform-=* \
983+ | --program-transform=* | --program-transfor=* \
984+ | --program-transfo=* | --program-transf=* \
985+ | --program-trans=* | --program-tran=* \
986+ | --progr-tra=* | --program-tr=* | --program-t=*)
987+ program_transform_name=$ac_optarg ;;
988+
989+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
990+ ac_prev=pdfdir ;;
991+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
992+ pdfdir=$ac_optarg ;;
993+
994+ -psdir | --psdir | --psdi | --psd | --ps)
995+ ac_prev=psdir ;;
996+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
997+ psdir=$ac_optarg ;;
998+
999+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1000+ | -silent | --silent | --silen | --sile | --sil)
1001+ silent=yes ;;
1002+
1003+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1004+ ac_prev=sbindir ;;
1005+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1006+ | --sbi=* | --sb=*)
1007+ sbindir=$ac_optarg ;;
1008+
1009+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
1010+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1011+ | --sharedst | --shareds | --shared | --share | --shar \
1012+ | --sha | --sh)
1013+ ac_prev=sharedstatedir ;;
1014+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1015+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1016+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1017+ | --sha=* | --sh=*)
1018+ sharedstatedir=$ac_optarg ;;
1019+
1020+ -site | --site | --sit)
1021+ ac_prev=site ;;
1022+ -site=* | --site=* | --sit=*)
1023+ site=$ac_optarg ;;
1024+
1025+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1026+ ac_prev=srcdir ;;
1027+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1028+ srcdir=$ac_optarg ;;
1029+
1030+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1031+ | --syscon | --sysco | --sysc | --sys | --sy)
1032+ ac_prev=sysconfdir ;;
1033+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1034+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1035+ sysconfdir=$ac_optarg ;;
1036+
1037+ -target | --target | --targe | --targ | --tar | --ta | --t)
1038+ ac_prev=target_alias ;;
1039+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1040+ target_alias=$ac_optarg ;;
1041+
1042+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
1043+ verbose=yes ;;
1044+
1045+ -version | --version | --versio | --versi | --vers | -V)
1046+ ac_init_version=: ;;
1047+
1048+ -with-* | --with-*)
1049+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1050+ # Reject names that are not valid shell variable names.
1051+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052+ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1053+ { (exit 1); exit 1; }; }
1054+ ac_useropt_orig=$ac_useropt
1055+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056+ case $ac_user_opts in
1057+ *"
1058+"with_$ac_useropt"
1059+"*) ;;
1060+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1061+ ac_unrecognized_sep=', ';;
1062+ esac
1063+ eval with_$ac_useropt=\$ac_optarg ;;
1064+
1065+ -without-* | --without-*)
1066+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1067+ # Reject names that are not valid shell variable names.
1068+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069+ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1070+ { (exit 1); exit 1; }; }
1071+ ac_useropt_orig=$ac_useropt
1072+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073+ case $ac_user_opts in
1074+ *"
1075+"with_$ac_useropt"
1076+"*) ;;
1077+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1078+ ac_unrecognized_sep=', ';;
1079+ esac
1080+ eval with_$ac_useropt=no ;;
1081+
1082+ --x)
1083+ # Obsolete; use --with-x.
1084+ with_x=yes ;;
1085+
1086+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1087+ | --x-incl | --x-inc | --x-in | --x-i)
1088+ ac_prev=x_includes ;;
1089+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1090+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1091+ x_includes=$ac_optarg ;;
1092+
1093+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
1094+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1095+ ac_prev=x_libraries ;;
1096+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1097+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1098+ x_libraries=$ac_optarg ;;
1099+
1100+ -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1101+Try \`$0 --help' for more information." >&2
1102+ { (exit 1); exit 1; }; }
1103+ ;;
1104+
1105+ *=*)
1106+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1107+ # Reject names that are not valid shell variable names.
1108+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1109+ { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1110+ { (exit 1); exit 1; }; }
1111+ eval $ac_envvar=\$ac_optarg
1112+ export $ac_envvar ;;
1113+
1114+ *)
1115+ # FIXME: should be removed in autoconf 3.0.
1116+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1117+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1118+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1119+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1120+ ;;
1121+
1122+ esac
1123+done
1124+
1125+if test -n "$ac_prev"; then
1126+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1127+ { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1128+ { (exit 1); exit 1; }; }
1129+fi
1130+
1131+if test -n "$ac_unrecognized_opts"; then
1132+ case $enable_option_checking in
1133+ no) ;;
1134+ fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1135+ { (exit 1); exit 1; }; } ;;
1136+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1137+ esac
1138+fi
1139+
1140+# Check all directory arguments for consistency.
1141+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142+ datadir sysconfdir sharedstatedir localstatedir includedir \
1143+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144+ libdir localedir mandir
1145+do
1146+ eval ac_val=\$$ac_var
1147+ # Remove trailing slashes.
1148+ case $ac_val in
1149+ */ )
1150+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151+ eval $ac_var=\$ac_val;;
1152+ esac
1153+ # Be sure to have absolute directory names.
1154+ case $ac_val in
1155+ [\\/$]* | ?:[\\/]* ) continue;;
1156+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1157+ esac
1158+ { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1159+ { (exit 1); exit 1; }; }
1160+done
1161+
1162+# There might be people who depend on the old broken behavior: `$host'
1163+# used to hold the argument of --host etc.
1164+# FIXME: To remove some day.
1165+build=$build_alias
1166+host=$host_alias
1167+target=$target_alias
1168+
1169+# FIXME: To remove some day.
1170+if test "x$host_alias" != x; then
1171+ if test "x$build_alias" = x; then
1172+ cross_compiling=maybe
1173+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1174+ If a cross compiler is detected then cross compile mode will be used." >&2
1175+ elif test "x$build_alias" != "x$host_alias"; then
1176+ cross_compiling=yes
1177+ fi
1178+fi
1179+
1180+ac_tool_prefix=
1181+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1182+
1183+test "$silent" = yes && exec 6>/dev/null
1184+
1185+
1186+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1187+ac_ls_di=`ls -di .` &&
1188+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1189+ { $as_echo "$as_me: error: working directory cannot be determined" >&2
1190+ { (exit 1); exit 1; }; }
1191+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1192+ { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1193+ { (exit 1); exit 1; }; }
1194+
1195+
1196+# Find the source files, if location was not specified.
1197+if test -z "$srcdir"; then
1198+ ac_srcdir_defaulted=yes
1199+ # Try the directory containing this script, then the parent directory.
1200+ ac_confdir=`$as_dirname -- "$as_myself" ||
1201+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1202+ X"$as_myself" : 'X\(//\)[^/]' \| \
1203+ X"$as_myself" : 'X\(//\)$' \| \
1204+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1205+$as_echo X"$as_myself" |
1206+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1207+ s//\1/
1208+ q
1209+ }
1210+ /^X\(\/\/\)[^/].*/{
1211+ s//\1/
1212+ q
1213+ }
1214+ /^X\(\/\/\)$/{
1215+ s//\1/
1216+ q
1217+ }
1218+ /^X\(\/\).*/{
1219+ s//\1/
1220+ q
1221+ }
1222+ s/.*/./; q'`
1223+ srcdir=$ac_confdir
1224+ if test ! -r "$srcdir/$ac_unique_file"; then
1225+ srcdir=..
1226+ fi
1227+else
1228+ ac_srcdir_defaulted=no
1229+fi
1230+if test ! -r "$srcdir/$ac_unique_file"; then
1231+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1232+ { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1233+ { (exit 1); exit 1; }; }
1234+fi
1235+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1236+ac_abs_confdir=`(
1237+ cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1238+ { (exit 1); exit 1; }; }
1239+ pwd)`
1240+# When building in place, set srcdir=.
1241+if test "$ac_abs_confdir" = "$ac_pwd"; then
1242+ srcdir=.
1243+fi
1244+# Remove unnecessary trailing slashes from srcdir.
1245+# Double slashes in file names in object file debugging info
1246+# mess up M-x gdb in Emacs.
1247+case $srcdir in
1248+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1249+esac
1250+for ac_var in $ac_precious_vars; do
1251+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1252+ eval ac_env_${ac_var}_value=\$${ac_var}
1253+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1254+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1255+done
1256+
1257+#
1258+# Report the --help message.
1259+#
1260+if test "$ac_init_help" = "long"; then
1261+ # Omit some internal or obsolete options to make the list less imposing.
1262+ # This message is too long to be a string in the A/UX 3.1 sh.
1263+ cat <<_ACEOF
1264+\`configure' configures this package to adapt to many kinds of systems.
1265+
1266+Usage: $0 [OPTION]... [VAR=VALUE]...
1267+
1268+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1269+VAR=VALUE. See below for descriptions of some of the useful variables.
1270+
1271+Defaults for the options are specified in brackets.
1272+
1273+Configuration:
1274+ -h, --help display this help and exit
1275+ --help=short display options specific to this package
1276+ --help=recursive display the short help of all the included packages
1277+ -V, --version display version information and exit
1278+ -q, --quiet, --silent do not print \`checking...' messages
1279+ --cache-file=FILE cache test results in FILE [disabled]
1280+ -C, --config-cache alias for \`--cache-file=config.cache'
1281+ -n, --no-create do not create output files
1282+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
1283+
1284+Installation directories:
1285+ --prefix=PREFIX install architecture-independent files in PREFIX
1286+ [$ac_default_prefix]
1287+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1288+ [PREFIX]
1289+
1290+By default, \`make install' will install all the files in
1291+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1292+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1293+for instance \`--prefix=\$HOME'.
1294+
1295+For better control, use the options below.
1296+
1297+Fine tuning of the installation directories:
1298+ --bindir=DIR user executables [EPREFIX/bin]
1299+ --sbindir=DIR system admin executables [EPREFIX/sbin]
1300+ --libexecdir=DIR program executables [EPREFIX/libexec]
1301+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1302+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1303+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1304+ --libdir=DIR object code libraries [EPREFIX/lib]
1305+ --includedir=DIR C header files [PREFIX/include]
1306+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
1307+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1308+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1309+ --infodir=DIR info documentation [DATAROOTDIR/info]
1310+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1311+ --mandir=DIR man documentation [DATAROOTDIR/man]
1312+ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1313+ --htmldir=DIR html documentation [DOCDIR]
1314+ --dvidir=DIR dvi documentation [DOCDIR]
1315+ --pdfdir=DIR pdf documentation [DOCDIR]
1316+ --psdir=DIR ps documentation [DOCDIR]
1317+_ACEOF
1318+
1319+ cat <<\_ACEOF
1320+_ACEOF
1321+fi
1322+
1323+if test -n "$ac_init_help"; then
1324+
1325+ cat <<\_ACEOF
1326+
1327+Optional Packages:
1328+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1329+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1330+ --with-debug include debug info
1331+ --with-gprof-debug include debug info
1332+ --with-optimize with optimize flag(-O2) CFLAGS
1333+ --with-migemo enable migemo
1334+ --with-migemo-dir=DIR set migemo directory
1335+ --with-onig-dir=DIR set oniguruma directory
1336+ --with-xyzsh-dir=DIR set xyzsh directory
1337+ --with-system-migemodir specify the directory of system migemo dictionary. /usr/share/migemo, for example
1338+
1339+Some influential environment variables:
1340+ CC C compiler command
1341+ CFLAGS C compiler flags
1342+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1343+ nonstandard directory <lib dir>
1344+ LIBS libraries to pass to the linker, e.g. -l<library>
1345+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1346+ you have headers in a nonstandard directory <include dir>
1347+ CPP C preprocessor
1348+
1349+Use these variables to override the choices made by `configure' or to help
1350+it to find libraries and programs with nonstandard names/locations.
1351+
1352+_ACEOF
1353+ac_status=$?
1354+fi
1355+
1356+if test "$ac_init_help" = "recursive"; then
1357+ # If there are subdirs, report their specific --help.
1358+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1359+ test -d "$ac_dir" ||
1360+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1361+ continue
1362+ ac_builddir=.
1363+
1364+case "$ac_dir" in
1365+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1366+*)
1367+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1368+ # A ".." for each directory in $ac_dir_suffix.
1369+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1370+ case $ac_top_builddir_sub in
1371+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1372+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1373+ esac ;;
1374+esac
1375+ac_abs_top_builddir=$ac_pwd
1376+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1377+# for backward compatibility:
1378+ac_top_builddir=$ac_top_build_prefix
1379+
1380+case $srcdir in
1381+ .) # We are building in place.
1382+ ac_srcdir=.
1383+ ac_top_srcdir=$ac_top_builddir_sub
1384+ ac_abs_top_srcdir=$ac_pwd ;;
1385+ [\\/]* | ?:[\\/]* ) # Absolute name.
1386+ ac_srcdir=$srcdir$ac_dir_suffix;
1387+ ac_top_srcdir=$srcdir
1388+ ac_abs_top_srcdir=$srcdir ;;
1389+ *) # Relative name.
1390+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1391+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1392+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1393+esac
1394+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1395+
1396+ cd "$ac_dir" || { ac_status=$?; continue; }
1397+ # Check for guested configure.
1398+ if test -f "$ac_srcdir/configure.gnu"; then
1399+ echo &&
1400+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1401+ elif test -f "$ac_srcdir/configure"; then
1402+ echo &&
1403+ $SHELL "$ac_srcdir/configure" --help=recursive
1404+ else
1405+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1406+ fi || ac_status=$?
1407+ cd "$ac_pwd" || { ac_status=$?; break; }
1408+ done
1409+fi
1410+
1411+test -n "$ac_init_help" && exit $ac_status
1412+if $ac_init_version; then
1413+ cat <<\_ACEOF
1414+configure
1415+generated by GNU Autoconf 2.63
1416+
1417+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1418+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1419+This configure script is free software; the Free Software Foundation
1420+gives unlimited permission to copy, distribute and modify it.
1421+_ACEOF
1422+ exit
1423+fi
1424+cat >config.log <<_ACEOF
1425+This file contains any messages produced by compilers while
1426+running configure, to aid debugging if configure makes a mistake.
1427+
1428+It was created by $as_me, which was
1429+generated by GNU Autoconf 2.63. Invocation command line was
1430+
1431+ $ $0 $@
1432+
1433+_ACEOF
1434+exec 5>>config.log
1435+{
1436+cat <<_ASUNAME
1437+@%:@@%:@ --------- @%:@@%:@
1438+@%:@@%:@ Platform. @%:@@%:@
1439+@%:@@%:@ --------- @%:@@%:@
1440+
1441+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1442+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1443+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1444+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1445+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1446+
1447+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1448+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1449+
1450+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1451+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1452+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1453+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1454+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1455+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1456+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1457+
1458+_ASUNAME
1459+
1460+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461+for as_dir in $PATH
1462+do
1463+ IFS=$as_save_IFS
1464+ test -z "$as_dir" && as_dir=.
1465+ $as_echo "PATH: $as_dir"
1466+done
1467+IFS=$as_save_IFS
1468+
1469+} >&5
1470+
1471+cat >&5 <<_ACEOF
1472+
1473+
1474+@%:@@%:@ ----------- @%:@@%:@
1475+@%:@@%:@ Core tests. @%:@@%:@
1476+@%:@@%:@ ----------- @%:@@%:@
1477+
1478+_ACEOF
1479+
1480+
1481+# Keep a trace of the command line.
1482+# Strip out --no-create and --no-recursion so they do not pile up.
1483+# Strip out --silent because we don't want to record it for future runs.
1484+# Also quote any args containing shell meta-characters.
1485+# Make two passes to allow for proper duplicate-argument suppression.
1486+ac_configure_args=
1487+ac_configure_args0=
1488+ac_configure_args1=
1489+ac_must_keep_next=false
1490+for ac_pass in 1 2
1491+do
1492+ for ac_arg
1493+ do
1494+ case $ac_arg in
1495+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1496+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1497+ | -silent | --silent | --silen | --sile | --sil)
1498+ continue ;;
1499+ *\'*)
1500+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1501+ esac
1502+ case $ac_pass in
1503+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1504+ 2)
1505+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1506+ if test $ac_must_keep_next = true; then
1507+ ac_must_keep_next=false # Got value, back to normal.
1508+ else
1509+ case $ac_arg in
1510+ *=* | --config-cache | -C | -disable-* | --disable-* \
1511+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1512+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1513+ | -with-* | --with-* | -without-* | --without-* | --x)
1514+ case "$ac_configure_args0 " in
1515+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1516+ esac
1517+ ;;
1518+ -* ) ac_must_keep_next=true ;;
1519+ esac
1520+ fi
1521+ ac_configure_args="$ac_configure_args '$ac_arg'"
1522+ ;;
1523+ esac
1524+ done
1525+done
1526+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1527+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1528+
1529+# When interrupted or exit'd, cleanup temporary files, and complete
1530+# config.log. We remove comments because anyway the quotes in there
1531+# would cause problems or look ugly.
1532+# WARNING: Use '\'' to represent an apostrophe within the trap.
1533+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1534+trap 'exit_status=$?
1535+ # Save into config.log some information that might help in debugging.
1536+ {
1537+ echo
1538+
1539+ cat <<\_ASBOX
1540+@%:@@%:@ ---------------- @%:@@%:@
1541+@%:@@%:@ Cache variables. @%:@@%:@
1542+@%:@@%:@ ---------------- @%:@@%:@
1543+_ASBOX
1544+ echo
1545+ # The following way of writing the cache mishandles newlines in values,
1546+(
1547+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1548+ eval ac_val=\$$ac_var
1549+ case $ac_val in #(
1550+ *${as_nl}*)
1551+ case $ac_var in #(
1552+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1553+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1554+ esac
1555+ case $ac_var in #(
1556+ _ | IFS | as_nl) ;; #(
1557+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1558+ *) $as_unset $ac_var ;;
1559+ esac ;;
1560+ esac
1561+ done
1562+ (set) 2>&1 |
1563+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1564+ *${as_nl}ac_space=\ *)
1565+ sed -n \
1566+ "s/'\''/'\''\\\\'\'''\''/g;
1567+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1568+ ;; #(
1569+ *)
1570+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1571+ ;;
1572+ esac |
1573+ sort
1574+)
1575+ echo
1576+
1577+ cat <<\_ASBOX
1578+@%:@@%:@ ----------------- @%:@@%:@
1579+@%:@@%:@ Output variables. @%:@@%:@
1580+@%:@@%:@ ----------------- @%:@@%:@
1581+_ASBOX
1582+ echo
1583+ for ac_var in $ac_subst_vars
1584+ do
1585+ eval ac_val=\$$ac_var
1586+ case $ac_val in
1587+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1588+ esac
1589+ $as_echo "$ac_var='\''$ac_val'\''"
1590+ done | sort
1591+ echo
1592+
1593+ if test -n "$ac_subst_files"; then
1594+ cat <<\_ASBOX
1595+@%:@@%:@ ------------------- @%:@@%:@
1596+@%:@@%:@ File substitutions. @%:@@%:@
1597+@%:@@%:@ ------------------- @%:@@%:@
1598+_ASBOX
1599+ echo
1600+ for ac_var in $ac_subst_files
1601+ do
1602+ eval ac_val=\$$ac_var
1603+ case $ac_val in
1604+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1605+ esac
1606+ $as_echo "$ac_var='\''$ac_val'\''"
1607+ done | sort
1608+ echo
1609+ fi
1610+
1611+ if test -s confdefs.h; then
1612+ cat <<\_ASBOX
1613+@%:@@%:@ ----------- @%:@@%:@
1614+@%:@@%:@ confdefs.h. @%:@@%:@
1615+@%:@@%:@ ----------- @%:@@%:@
1616+_ASBOX
1617+ echo
1618+ cat confdefs.h
1619+ echo
1620+ fi
1621+ test "$ac_signal" != 0 &&
1622+ $as_echo "$as_me: caught signal $ac_signal"
1623+ $as_echo "$as_me: exit $exit_status"
1624+ } >&5
1625+ rm -f core *.core core.conftest.* &&
1626+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1627+ exit $exit_status
1628+' 0
1629+for ac_signal in 1 2 13 15; do
1630+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1631+done
1632+ac_signal=0
1633+
1634+# confdefs.h avoids OS command line length limits that DEFS can exceed.
1635+rm -f -r conftest* confdefs.h
1636+
1637+# Predefined preprocessor variables.
1638+
1639+cat >>confdefs.h <<_ACEOF
1640+@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1641+_ACEOF
1642+
1643+
1644+cat >>confdefs.h <<_ACEOF
1645+@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1646+_ACEOF
1647+
1648+
1649+cat >>confdefs.h <<_ACEOF
1650+@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1651+_ACEOF
1652+
1653+
1654+cat >>confdefs.h <<_ACEOF
1655+@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1656+_ACEOF
1657+
1658+
1659+cat >>confdefs.h <<_ACEOF
1660+@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1661+_ACEOF
1662+
1663+
1664+# Let the site file select an alternate cache file if it wants to.
1665+# Prefer an explicitly selected file to automatically selected ones.
1666+ac_site_file1=NONE
1667+ac_site_file2=NONE
1668+if test -n "$CONFIG_SITE"; then
1669+ ac_site_file1=$CONFIG_SITE
1670+elif test "x$prefix" != xNONE; then
1671+ ac_site_file1=$prefix/share/config.site
1672+ ac_site_file2=$prefix/etc/config.site
1673+else
1674+ ac_site_file1=$ac_default_prefix/share/config.site
1675+ ac_site_file2=$ac_default_prefix/etc/config.site
1676+fi
1677+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1678+do
1679+ test "x$ac_site_file" = xNONE && continue
1680+ if test -r "$ac_site_file"; then
1681+ { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1682+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1683+ sed 's/^/| /' "$ac_site_file" >&5
1684+ . "$ac_site_file"
1685+ fi
1686+done
1687+
1688+if test -r "$cache_file"; then
1689+ # Some versions of bash will fail to source /dev/null (special
1690+ # files actually), so we avoid doing that.
1691+ if test -f "$cache_file"; then
1692+ { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1693+$as_echo "$as_me: loading cache $cache_file" >&6;}
1694+ case $cache_file in
1695+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1696+ *) . "./$cache_file";;
1697+ esac
1698+ fi
1699+else
1700+ { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1701+$as_echo "$as_me: creating cache $cache_file" >&6;}
1702+ >$cache_file
1703+fi
1704+
1705+# Check that the precious variables saved in the cache have kept the same
1706+# value.
1707+ac_cache_corrupted=false
1708+for ac_var in $ac_precious_vars; do
1709+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
1710+ eval ac_new_set=\$ac_env_${ac_var}_set
1711+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
1712+ eval ac_new_val=\$ac_env_${ac_var}_value
1713+ case $ac_old_set,$ac_new_set in
1714+ set,)
1715+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1716+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1717+ ac_cache_corrupted=: ;;
1718+ ,set)
1719+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1720+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1721+ ac_cache_corrupted=: ;;
1722+ ,);;
1723+ *)
1724+ if test "x$ac_old_val" != "x$ac_new_val"; then
1725+ # differences in whitespace do not lead to failure.
1726+ ac_old_val_w=`echo x $ac_old_val`
1727+ ac_new_val_w=`echo x $ac_new_val`
1728+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
1729+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1730+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1731+ ac_cache_corrupted=:
1732+ else
1733+ { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1734+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1735+ eval $ac_var=\$ac_old_val
1736+ fi
1737+ { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1738+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1739+ { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1740+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1741+ fi;;
1742+ esac
1743+ # Pass precious variables to config.status.
1744+ if test "$ac_new_set" = set; then
1745+ case $ac_new_val in
1746+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1747+ *) ac_arg=$ac_var=$ac_new_val ;;
1748+ esac
1749+ case " $ac_configure_args " in
1750+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1751+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1752+ esac
1753+ fi
1754+done
1755+if $ac_cache_corrupted; then
1756+ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1757+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1758+ { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1759+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1760+ { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1761+$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1762+ { (exit 1); exit 1; }; }
1763+fi
1764+
1765+
1766+
1767+
1768+
1769+
1770+
1771+
1772+
1773+
1774+
1775+
1776+
1777+
1778+
1779+
1780+
1781+ac_ext=c
1782+ac_cpp='$CPP $CPPFLAGS'
1783+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1784+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1785+ac_compiler_gnu=$ac_cv_c_compiler_gnu
1786+
1787+
1788+
1789+ac_config_headers="$ac_config_headers src/config.h"
1790+
1791+
1792+ac_ext=c
1793+ac_cpp='$CPP $CPPFLAGS'
1794+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1795+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1796+ac_compiler_gnu=$ac_cv_c_compiler_gnu
1797+if test -n "$ac_tool_prefix"; then
1798+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1799+set dummy ${ac_tool_prefix}gcc; ac_word=$2
1800+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1801+$as_echo_n "checking for $ac_word... " >&6; }
1802+if test "${ac_cv_prog_CC+set}" = set; then
1803+ $as_echo_n "(cached) " >&6
1804+else
1805+ if test -n "$CC"; then
1806+ ac_cv_prog_CC="$CC" # Let the user override the test.
1807+else
1808+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809+for as_dir in $PATH
1810+do
1811+ IFS=$as_save_IFS
1812+ test -z "$as_dir" && as_dir=.
1813+ for ac_exec_ext in '' $ac_executable_extensions; do
1814+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1815+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
1816+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1817+ break 2
1818+ fi
1819+done
1820+done
1821+IFS=$as_save_IFS
1822+
1823+fi
1824+fi
1825+CC=$ac_cv_prog_CC
1826+if test -n "$CC"; then
1827+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
1828+$as_echo "$CC" >&6; }
1829+else
1830+ { $as_echo "$as_me:$LINENO: result: no" >&5
1831+$as_echo "no" >&6; }
1832+fi
1833+
1834+
1835+fi
1836+if test -z "$ac_cv_prog_CC"; then
1837+ ac_ct_CC=$CC
1838+ # Extract the first word of "gcc", so it can be a program name with args.
1839+set dummy gcc; ac_word=$2
1840+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1841+$as_echo_n "checking for $ac_word... " >&6; }
1842+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1843+ $as_echo_n "(cached) " >&6
1844+else
1845+ if test -n "$ac_ct_CC"; then
1846+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1847+else
1848+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849+for as_dir in $PATH
1850+do
1851+ IFS=$as_save_IFS
1852+ test -z "$as_dir" && as_dir=.
1853+ for ac_exec_ext in '' $ac_executable_extensions; do
1854+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1855+ ac_cv_prog_ac_ct_CC="gcc"
1856+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857+ break 2
1858+ fi
1859+done
1860+done
1861+IFS=$as_save_IFS
1862+
1863+fi
1864+fi
1865+ac_ct_CC=$ac_cv_prog_ac_ct_CC
1866+if test -n "$ac_ct_CC"; then
1867+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1868+$as_echo "$ac_ct_CC" >&6; }
1869+else
1870+ { $as_echo "$as_me:$LINENO: result: no" >&5
1871+$as_echo "no" >&6; }
1872+fi
1873+
1874+ if test "x$ac_ct_CC" = x; then
1875+ CC=""
1876+ else
1877+ case $cross_compiling:$ac_tool_warned in
1878+yes:)
1879+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1880+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1881+ac_tool_warned=yes ;;
1882+esac
1883+ CC=$ac_ct_CC
1884+ fi
1885+else
1886+ CC="$ac_cv_prog_CC"
1887+fi
1888+
1889+if test -z "$CC"; then
1890+ if test -n "$ac_tool_prefix"; then
1891+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1892+set dummy ${ac_tool_prefix}cc; ac_word=$2
1893+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1894+$as_echo_n "checking for $ac_word... " >&6; }
1895+if test "${ac_cv_prog_CC+set}" = set; then
1896+ $as_echo_n "(cached) " >&6
1897+else
1898+ if test -n "$CC"; then
1899+ ac_cv_prog_CC="$CC" # Let the user override the test.
1900+else
1901+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902+for as_dir in $PATH
1903+do
1904+ IFS=$as_save_IFS
1905+ test -z "$as_dir" && as_dir=.
1906+ for ac_exec_ext in '' $ac_executable_extensions; do
1907+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1908+ ac_cv_prog_CC="${ac_tool_prefix}cc"
1909+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910+ break 2
1911+ fi
1912+done
1913+done
1914+IFS=$as_save_IFS
1915+
1916+fi
1917+fi
1918+CC=$ac_cv_prog_CC
1919+if test -n "$CC"; then
1920+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
1921+$as_echo "$CC" >&6; }
1922+else
1923+ { $as_echo "$as_me:$LINENO: result: no" >&5
1924+$as_echo "no" >&6; }
1925+fi
1926+
1927+
1928+ fi
1929+fi
1930+if test -z "$CC"; then
1931+ # Extract the first word of "cc", so it can be a program name with args.
1932+set dummy cc; ac_word=$2
1933+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1934+$as_echo_n "checking for $ac_word... " >&6; }
1935+if test "${ac_cv_prog_CC+set}" = set; then
1936+ $as_echo_n "(cached) " >&6
1937+else
1938+ if test -n "$CC"; then
1939+ ac_cv_prog_CC="$CC" # Let the user override the test.
1940+else
1941+ ac_prog_rejected=no
1942+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943+for as_dir in $PATH
1944+do
1945+ IFS=$as_save_IFS
1946+ test -z "$as_dir" && as_dir=.
1947+ for ac_exec_ext in '' $ac_executable_extensions; do
1948+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1949+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1950+ ac_prog_rejected=yes
1951+ continue
1952+ fi
1953+ ac_cv_prog_CC="cc"
1954+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955+ break 2
1956+ fi
1957+done
1958+done
1959+IFS=$as_save_IFS
1960+
1961+if test $ac_prog_rejected = yes; then
1962+ # We found a bogon in the path, so make sure we never use it.
1963+ set dummy $ac_cv_prog_CC
1964+ shift
1965+ if test $@%:@ != 0; then
1966+ # We chose a different compiler from the bogus one.
1967+ # However, it has the same basename, so the bogon will be chosen
1968+ # first if we set CC to just the basename; use the full file name.
1969+ shift
1970+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1971+ fi
1972+fi
1973+fi
1974+fi
1975+CC=$ac_cv_prog_CC
1976+if test -n "$CC"; then
1977+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
1978+$as_echo "$CC" >&6; }
1979+else
1980+ { $as_echo "$as_me:$LINENO: result: no" >&5
1981+$as_echo "no" >&6; }
1982+fi
1983+
1984+
1985+fi
1986+if test -z "$CC"; then
1987+ if test -n "$ac_tool_prefix"; then
1988+ for ac_prog in cl.exe
1989+ do
1990+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1991+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1992+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1993+$as_echo_n "checking for $ac_word... " >&6; }
1994+if test "${ac_cv_prog_CC+set}" = set; then
1995+ $as_echo_n "(cached) " >&6
1996+else
1997+ if test -n "$CC"; then
1998+ ac_cv_prog_CC="$CC" # Let the user override the test.
1999+else
2000+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001+for as_dir in $PATH
2002+do
2003+ IFS=$as_save_IFS
2004+ test -z "$as_dir" && as_dir=.
2005+ for ac_exec_ext in '' $ac_executable_extensions; do
2006+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2007+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2008+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2009+ break 2
2010+ fi
2011+done
2012+done
2013+IFS=$as_save_IFS
2014+
2015+fi
2016+fi
2017+CC=$ac_cv_prog_CC
2018+if test -n "$CC"; then
2019+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
2020+$as_echo "$CC" >&6; }
2021+else
2022+ { $as_echo "$as_me:$LINENO: result: no" >&5
2023+$as_echo "no" >&6; }
2024+fi
2025+
2026+
2027+ test -n "$CC" && break
2028+ done
2029+fi
2030+if test -z "$CC"; then
2031+ ac_ct_CC=$CC
2032+ for ac_prog in cl.exe
2033+do
2034+ # Extract the first word of "$ac_prog", so it can be a program name with args.
2035+set dummy $ac_prog; ac_word=$2
2036+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2037+$as_echo_n "checking for $ac_word... " >&6; }
2038+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2039+ $as_echo_n "(cached) " >&6
2040+else
2041+ if test -n "$ac_ct_CC"; then
2042+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2043+else
2044+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045+for as_dir in $PATH
2046+do
2047+ IFS=$as_save_IFS
2048+ test -z "$as_dir" && as_dir=.
2049+ for ac_exec_ext in '' $ac_executable_extensions; do
2050+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2051+ ac_cv_prog_ac_ct_CC="$ac_prog"
2052+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053+ break 2
2054+ fi
2055+done
2056+done
2057+IFS=$as_save_IFS
2058+
2059+fi
2060+fi
2061+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2062+if test -n "$ac_ct_CC"; then
2063+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2064+$as_echo "$ac_ct_CC" >&6; }
2065+else
2066+ { $as_echo "$as_me:$LINENO: result: no" >&5
2067+$as_echo "no" >&6; }
2068+fi
2069+
2070+
2071+ test -n "$ac_ct_CC" && break
2072+done
2073+
2074+ if test "x$ac_ct_CC" = x; then
2075+ CC=""
2076+ else
2077+ case $cross_compiling:$ac_tool_warned in
2078+yes:)
2079+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2080+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2081+ac_tool_warned=yes ;;
2082+esac
2083+ CC=$ac_ct_CC
2084+ fi
2085+fi
2086+
2087+fi
2088+
2089+
2090+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2091+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092+{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2093+See \`config.log' for more details." >&5
2094+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2095+See \`config.log' for more details." >&2;}
2096+ { (exit 1); exit 1; }; }; }
2097+
2098+# Provide some information about the compiler.
2099+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2100+set X $ac_compile
2101+ac_compiler=$2
2102+{ (ac_try="$ac_compiler --version >&5"
2103+case "(($ac_try" in
2104+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2105+ *) ac_try_echo=$ac_try;;
2106+esac
2107+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2108+$as_echo "$ac_try_echo") >&5
2109+ (eval "$ac_compiler --version >&5") 2>&5
2110+ ac_status=$?
2111+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112+ (exit $ac_status); }
2113+{ (ac_try="$ac_compiler -v >&5"
2114+case "(($ac_try" in
2115+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2116+ *) ac_try_echo=$ac_try;;
2117+esac
2118+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2119+$as_echo "$ac_try_echo") >&5
2120+ (eval "$ac_compiler -v >&5") 2>&5
2121+ ac_status=$?
2122+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123+ (exit $ac_status); }
2124+{ (ac_try="$ac_compiler -V >&5"
2125+case "(($ac_try" in
2126+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2127+ *) ac_try_echo=$ac_try;;
2128+esac
2129+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2130+$as_echo "$ac_try_echo") >&5
2131+ (eval "$ac_compiler -V >&5") 2>&5
2132+ ac_status=$?
2133+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134+ (exit $ac_status); }
2135+
2136+cat >conftest.$ac_ext <<_ACEOF
2137+/* confdefs.h. */
2138+_ACEOF
2139+cat confdefs.h >>conftest.$ac_ext
2140+cat >>conftest.$ac_ext <<_ACEOF
2141+/* end confdefs.h. */
2142+
2143+int
2144+main ()
2145+{
2146+
2147+ ;
2148+ return 0;
2149+}
2150+_ACEOF
2151+ac_clean_files_save=$ac_clean_files
2152+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2153+# Try to create an executable without -o first, disregard a.out.
2154+# It will help us diagnose broken compilers, and finding out an intuition
2155+# of exeext.
2156+{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2157+$as_echo_n "checking for C compiler default output file name... " >&6; }
2158+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2159+
2160+# The possible output files:
2161+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2162+
2163+ac_rmfiles=
2164+for ac_file in $ac_files
2165+do
2166+ case $ac_file in
2167+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2168+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2169+ esac
2170+done
2171+rm -f $ac_rmfiles
2172+
2173+if { (ac_try="$ac_link_default"
2174+case "(($ac_try" in
2175+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2176+ *) ac_try_echo=$ac_try;;
2177+esac
2178+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2179+$as_echo "$ac_try_echo") >&5
2180+ (eval "$ac_link_default") 2>&5
2181+ ac_status=$?
2182+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183+ (exit $ac_status); }; then
2184+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2185+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2186+# in a Makefile. We should not override ac_cv_exeext if it was cached,
2187+# so that the user can short-circuit this test for compilers unknown to
2188+# Autoconf.
2189+for ac_file in $ac_files ''
2190+do
2191+ test -f "$ac_file" || continue
2192+ case $ac_file in
2193+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2194+ ;;
2195+ [ab].out )
2196+ # We found the default executable, but exeext='' is most
2197+ # certainly right.
2198+ break;;
2199+ *.* )
2200+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2201+ then :; else
2202+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2203+ fi
2204+ # We set ac_cv_exeext here because the later test for it is not
2205+ # safe: cross compilers may not add the suffix if given an `-o'
2206+ # argument, so we may need to know it at that point already.
2207+ # Even if this section looks crufty: it has the advantage of
2208+ # actually working.
2209+ break;;
2210+ * )
2211+ break;;
2212+ esac
2213+done
2214+test "$ac_cv_exeext" = no && ac_cv_exeext=
2215+
2216+else
2217+ ac_file=''
2218+fi
2219+
2220+{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2221+$as_echo "$ac_file" >&6; }
2222+if test -z "$ac_file"; then
2223+ $as_echo "$as_me: failed program was:" >&5
2224+sed 's/^/| /' conftest.$ac_ext >&5
2225+
2226+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2227+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2228+{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2229+See \`config.log' for more details." >&5
2230+$as_echo "$as_me: error: C compiler cannot create executables
2231+See \`config.log' for more details." >&2;}
2232+ { (exit 77); exit 77; }; }; }
2233+fi
2234+
2235+ac_exeext=$ac_cv_exeext
2236+
2237+# Check that the compiler produces executables we can run. If not, either
2238+# the compiler is broken, or we cross compile.
2239+{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2240+$as_echo_n "checking whether the C compiler works... " >&6; }
2241+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2242+# If not cross compiling, check that we can run a simple program.
2243+if test "$cross_compiling" != yes; then
2244+ if { ac_try='./$ac_file'
2245+ { (case "(($ac_try" in
2246+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2247+ *) ac_try_echo=$ac_try;;
2248+esac
2249+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2250+$as_echo "$ac_try_echo") >&5
2251+ (eval "$ac_try") 2>&5
2252+ ac_status=$?
2253+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254+ (exit $ac_status); }; }; then
2255+ cross_compiling=no
2256+ else
2257+ if test "$cross_compiling" = maybe; then
2258+ cross_compiling=yes
2259+ else
2260+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2261+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2262+{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2263+If you meant to cross compile, use \`--host'.
2264+See \`config.log' for more details." >&5
2265+$as_echo "$as_me: error: cannot run C compiled programs.
2266+If you meant to cross compile, use \`--host'.
2267+See \`config.log' for more details." >&2;}
2268+ { (exit 1); exit 1; }; }; }
2269+ fi
2270+ fi
2271+fi
2272+{ $as_echo "$as_me:$LINENO: result: yes" >&5
2273+$as_echo "yes" >&6; }
2274+
2275+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2276+ac_clean_files=$ac_clean_files_save
2277+# Check that the compiler produces executables we can run. If not, either
2278+# the compiler is broken, or we cross compile.
2279+{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2280+$as_echo_n "checking whether we are cross compiling... " >&6; }
2281+{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2282+$as_echo "$cross_compiling" >&6; }
2283+
2284+{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2285+$as_echo_n "checking for suffix of executables... " >&6; }
2286+if { (ac_try="$ac_link"
2287+case "(($ac_try" in
2288+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2289+ *) ac_try_echo=$ac_try;;
2290+esac
2291+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2292+$as_echo "$ac_try_echo") >&5
2293+ (eval "$ac_link") 2>&5
2294+ ac_status=$?
2295+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296+ (exit $ac_status); }; then
2297+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
2298+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2299+# work properly (i.e., refer to `conftest.exe'), while it won't with
2300+# `rm'.
2301+for ac_file in conftest.exe conftest conftest.*; do
2302+ test -f "$ac_file" || continue
2303+ case $ac_file in
2304+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2305+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2306+ break;;
2307+ * ) break;;
2308+ esac
2309+done
2310+else
2311+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2312+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2313+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2314+See \`config.log' for more details." >&5
2315+$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2316+See \`config.log' for more details." >&2;}
2317+ { (exit 1); exit 1; }; }; }
2318+fi
2319+
2320+rm -f conftest$ac_cv_exeext
2321+{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2322+$as_echo "$ac_cv_exeext" >&6; }
2323+
2324+rm -f conftest.$ac_ext
2325+EXEEXT=$ac_cv_exeext
2326+ac_exeext=$EXEEXT
2327+{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2328+$as_echo_n "checking for suffix of object files... " >&6; }
2329+if test "${ac_cv_objext+set}" = set; then
2330+ $as_echo_n "(cached) " >&6
2331+else
2332+ cat >conftest.$ac_ext <<_ACEOF
2333+/* confdefs.h. */
2334+_ACEOF
2335+cat confdefs.h >>conftest.$ac_ext
2336+cat >>conftest.$ac_ext <<_ACEOF
2337+/* end confdefs.h. */
2338+
2339+int
2340+main ()
2341+{
2342+
2343+ ;
2344+ return 0;
2345+}
2346+_ACEOF
2347+rm -f conftest.o conftest.obj
2348+if { (ac_try="$ac_compile"
2349+case "(($ac_try" in
2350+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351+ *) ac_try_echo=$ac_try;;
2352+esac
2353+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2354+$as_echo "$ac_try_echo") >&5
2355+ (eval "$ac_compile") 2>&5
2356+ ac_status=$?
2357+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358+ (exit $ac_status); }; then
2359+ for ac_file in conftest.o conftest.obj conftest.*; do
2360+ test -f "$ac_file" || continue;
2361+ case $ac_file in
2362+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2363+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2364+ break;;
2365+ esac
2366+done
2367+else
2368+ $as_echo "$as_me: failed program was:" >&5
2369+sed 's/^/| /' conftest.$ac_ext >&5
2370+
2371+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2372+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2374+See \`config.log' for more details." >&5
2375+$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2376+See \`config.log' for more details." >&2;}
2377+ { (exit 1); exit 1; }; }; }
2378+fi
2379+
2380+rm -f conftest.$ac_cv_objext conftest.$ac_ext
2381+fi
2382+{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2383+$as_echo "$ac_cv_objext" >&6; }
2384+OBJEXT=$ac_cv_objext
2385+ac_objext=$OBJEXT
2386+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2387+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2388+if test "${ac_cv_c_compiler_gnu+set}" = set; then
2389+ $as_echo_n "(cached) " >&6
2390+else
2391+ cat >conftest.$ac_ext <<_ACEOF
2392+/* confdefs.h. */
2393+_ACEOF
2394+cat confdefs.h >>conftest.$ac_ext
2395+cat >>conftest.$ac_ext <<_ACEOF
2396+/* end confdefs.h. */
2397+
2398+int
2399+main ()
2400+{
2401+#ifndef __GNUC__
2402+ choke me
2403+#endif
2404+
2405+ ;
2406+ return 0;
2407+}
2408+_ACEOF
2409+rm -f conftest.$ac_objext
2410+if { (ac_try="$ac_compile"
2411+case "(($ac_try" in
2412+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413+ *) ac_try_echo=$ac_try;;
2414+esac
2415+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2416+$as_echo "$ac_try_echo") >&5
2417+ (eval "$ac_compile") 2>conftest.er1
2418+ ac_status=$?
2419+ grep -v '^ *+' conftest.er1 >conftest.err
2420+ rm -f conftest.er1
2421+ cat conftest.err >&5
2422+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423+ (exit $ac_status); } && {
2424+ test -z "$ac_c_werror_flag" ||
2425+ test ! -s conftest.err
2426+ } && test -s conftest.$ac_objext; then
2427+ ac_compiler_gnu=yes
2428+else
2429+ $as_echo "$as_me: failed program was:" >&5
2430+sed 's/^/| /' conftest.$ac_ext >&5
2431+
2432+ ac_compiler_gnu=no
2433+fi
2434+
2435+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436+ac_cv_c_compiler_gnu=$ac_compiler_gnu
2437+
2438+fi
2439+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2440+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2441+if test $ac_compiler_gnu = yes; then
2442+ GCC=yes
2443+else
2444+ GCC=
2445+fi
2446+ac_test_CFLAGS=${CFLAGS+set}
2447+ac_save_CFLAGS=$CFLAGS
2448+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2449+$as_echo_n "checking whether $CC accepts -g... " >&6; }
2450+if test "${ac_cv_prog_cc_g+set}" = set; then
2451+ $as_echo_n "(cached) " >&6
2452+else
2453+ ac_save_c_werror_flag=$ac_c_werror_flag
2454+ ac_c_werror_flag=yes
2455+ ac_cv_prog_cc_g=no
2456+ CFLAGS="-g"
2457+ cat >conftest.$ac_ext <<_ACEOF
2458+/* confdefs.h. */
2459+_ACEOF
2460+cat confdefs.h >>conftest.$ac_ext
2461+cat >>conftest.$ac_ext <<_ACEOF
2462+/* end confdefs.h. */
2463+
2464+int
2465+main ()
2466+{
2467+
2468+ ;
2469+ return 0;
2470+}
2471+_ACEOF
2472+rm -f conftest.$ac_objext
2473+if { (ac_try="$ac_compile"
2474+case "(($ac_try" in
2475+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476+ *) ac_try_echo=$ac_try;;
2477+esac
2478+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2479+$as_echo "$ac_try_echo") >&5
2480+ (eval "$ac_compile") 2>conftest.er1
2481+ ac_status=$?
2482+ grep -v '^ *+' conftest.er1 >conftest.err
2483+ rm -f conftest.er1
2484+ cat conftest.err >&5
2485+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486+ (exit $ac_status); } && {
2487+ test -z "$ac_c_werror_flag" ||
2488+ test ! -s conftest.err
2489+ } && test -s conftest.$ac_objext; then
2490+ ac_cv_prog_cc_g=yes
2491+else
2492+ $as_echo "$as_me: failed program was:" >&5
2493+sed 's/^/| /' conftest.$ac_ext >&5
2494+
2495+ CFLAGS=""
2496+ cat >conftest.$ac_ext <<_ACEOF
2497+/* confdefs.h. */
2498+_ACEOF
2499+cat confdefs.h >>conftest.$ac_ext
2500+cat >>conftest.$ac_ext <<_ACEOF
2501+/* end confdefs.h. */
2502+
2503+int
2504+main ()
2505+{
2506+
2507+ ;
2508+ return 0;
2509+}
2510+_ACEOF
2511+rm -f conftest.$ac_objext
2512+if { (ac_try="$ac_compile"
2513+case "(($ac_try" in
2514+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515+ *) ac_try_echo=$ac_try;;
2516+esac
2517+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2518+$as_echo "$ac_try_echo") >&5
2519+ (eval "$ac_compile") 2>conftest.er1
2520+ ac_status=$?
2521+ grep -v '^ *+' conftest.er1 >conftest.err
2522+ rm -f conftest.er1
2523+ cat conftest.err >&5
2524+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525+ (exit $ac_status); } && {
2526+ test -z "$ac_c_werror_flag" ||
2527+ test ! -s conftest.err
2528+ } && test -s conftest.$ac_objext; then
2529+ :
2530+else
2531+ $as_echo "$as_me: failed program was:" >&5
2532+sed 's/^/| /' conftest.$ac_ext >&5
2533+
2534+ ac_c_werror_flag=$ac_save_c_werror_flag
2535+ CFLAGS="-g"
2536+ cat >conftest.$ac_ext <<_ACEOF
2537+/* confdefs.h. */
2538+_ACEOF
2539+cat confdefs.h >>conftest.$ac_ext
2540+cat >>conftest.$ac_ext <<_ACEOF
2541+/* end confdefs.h. */
2542+
2543+int
2544+main ()
2545+{
2546+
2547+ ;
2548+ return 0;
2549+}
2550+_ACEOF
2551+rm -f conftest.$ac_objext
2552+if { (ac_try="$ac_compile"
2553+case "(($ac_try" in
2554+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555+ *) ac_try_echo=$ac_try;;
2556+esac
2557+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2558+$as_echo "$ac_try_echo") >&5
2559+ (eval "$ac_compile") 2>conftest.er1
2560+ ac_status=$?
2561+ grep -v '^ *+' conftest.er1 >conftest.err
2562+ rm -f conftest.er1
2563+ cat conftest.err >&5
2564+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565+ (exit $ac_status); } && {
2566+ test -z "$ac_c_werror_flag" ||
2567+ test ! -s conftest.err
2568+ } && test -s conftest.$ac_objext; then
2569+ ac_cv_prog_cc_g=yes
2570+else
2571+ $as_echo "$as_me: failed program was:" >&5
2572+sed 's/^/| /' conftest.$ac_ext >&5
2573+
2574+
2575+fi
2576+
2577+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2578+fi
2579+
2580+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2581+fi
2582+
2583+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2584+ ac_c_werror_flag=$ac_save_c_werror_flag
2585+fi
2586+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2587+$as_echo "$ac_cv_prog_cc_g" >&6; }
2588+if test "$ac_test_CFLAGS" = set; then
2589+ CFLAGS=$ac_save_CFLAGS
2590+elif test $ac_cv_prog_cc_g = yes; then
2591+ if test "$GCC" = yes; then
2592+ CFLAGS="-g -O2"
2593+ else
2594+ CFLAGS="-g"
2595+ fi
2596+else
2597+ if test "$GCC" = yes; then
2598+ CFLAGS="-O2"
2599+ else
2600+ CFLAGS=
2601+ fi
2602+fi
2603+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2604+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2605+if test "${ac_cv_prog_cc_c89+set}" = set; then
2606+ $as_echo_n "(cached) " >&6
2607+else
2608+ ac_cv_prog_cc_c89=no
2609+ac_save_CC=$CC
2610+cat >conftest.$ac_ext <<_ACEOF
2611+/* confdefs.h. */
2612+_ACEOF
2613+cat confdefs.h >>conftest.$ac_ext
2614+cat >>conftest.$ac_ext <<_ACEOF
2615+/* end confdefs.h. */
2616+#include <stdarg.h>
2617+#include <stdio.h>
2618+#include <sys/types.h>
2619+#include <sys/stat.h>
2620+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2621+struct buf { int x; };
2622+FILE * (*rcsopen) (struct buf *, struct stat *, int);
2623+static char *e (p, i)
2624+ char **p;
2625+ int i;
2626+{
2627+ return p[i];
2628+}
2629+static char *f (char * (*g) (char **, int), char **p, ...)
2630+{
2631+ char *s;
2632+ va_list v;
2633+ va_start (v,p);
2634+ s = g (p, va_arg (v,int));
2635+ va_end (v);
2636+ return s;
2637+}
2638+
2639+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2640+ function prototypes and stuff, but not '\xHH' hex character constants.
2641+ These don't provoke an error unfortunately, instead are silently treated
2642+ as 'x'. The following induces an error, until -std is added to get
2643+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2644+ array size at least. It's necessary to write '\x00'==0 to get something
2645+ that's true only with -std. */
2646+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2647+
2648+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2649+ inside strings and character constants. */
2650+#define FOO(x) 'x'
2651+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2652+
2653+int test (int i, double x);
2654+struct s1 {int (*f) (int a);};
2655+struct s2 {int (*f) (double a);};
2656+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2657+int argc;
2658+char **argv;
2659+int
2660+main ()
2661+{
2662+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2663+ ;
2664+ return 0;
2665+}
2666+_ACEOF
2667+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2668+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2669+do
2670+ CC="$ac_save_CC $ac_arg"
2671+ rm -f conftest.$ac_objext
2672+if { (ac_try="$ac_compile"
2673+case "(($ac_try" in
2674+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675+ *) ac_try_echo=$ac_try;;
2676+esac
2677+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2678+$as_echo "$ac_try_echo") >&5
2679+ (eval "$ac_compile") 2>conftest.er1
2680+ ac_status=$?
2681+ grep -v '^ *+' conftest.er1 >conftest.err
2682+ rm -f conftest.er1
2683+ cat conftest.err >&5
2684+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685+ (exit $ac_status); } && {
2686+ test -z "$ac_c_werror_flag" ||
2687+ test ! -s conftest.err
2688+ } && test -s conftest.$ac_objext; then
2689+ ac_cv_prog_cc_c89=$ac_arg
2690+else
2691+ $as_echo "$as_me: failed program was:" >&5
2692+sed 's/^/| /' conftest.$ac_ext >&5
2693+
2694+
2695+fi
2696+
2697+rm -f core conftest.err conftest.$ac_objext
2698+ test "x$ac_cv_prog_cc_c89" != "xno" && break
2699+done
2700+rm -f conftest.$ac_ext
2701+CC=$ac_save_CC
2702+
2703+fi
2704+# AC_CACHE_VAL
2705+case "x$ac_cv_prog_cc_c89" in
2706+ x)
2707+ { $as_echo "$as_me:$LINENO: result: none needed" >&5
2708+$as_echo "none needed" >&6; } ;;
2709+ xno)
2710+ { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2711+$as_echo "unsupported" >&6; } ;;
2712+ *)
2713+ CC="$CC $ac_cv_prog_cc_c89"
2714+ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2715+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2716+esac
2717+
2718+
2719+ac_ext=c
2720+ac_cpp='$CPP $CPPFLAGS'
2721+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2722+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2723+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2724+
2725+ac_aux_dir=
2726+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2727+ if test -f "$ac_dir/install-sh"; then
2728+ ac_aux_dir=$ac_dir
2729+ ac_install_sh="$ac_aux_dir/install-sh -c"
2730+ break
2731+ elif test -f "$ac_dir/install.sh"; then
2732+ ac_aux_dir=$ac_dir
2733+ ac_install_sh="$ac_aux_dir/install.sh -c"
2734+ break
2735+ elif test -f "$ac_dir/shtool"; then
2736+ ac_aux_dir=$ac_dir
2737+ ac_install_sh="$ac_aux_dir/shtool install -c"
2738+ break
2739+ fi
2740+done
2741+if test -z "$ac_aux_dir"; then
2742+ { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2743+$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2744+ { (exit 1); exit 1; }; }
2745+fi
2746+
2747+# These three variables are undocumented and unsupported,
2748+# and are intended to be withdrawn in a future Autoconf release.
2749+# They can cause serious problems if a builder's source tree is in a directory
2750+# whose full name contains unusual characters.
2751+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2752+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2753+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2754+
2755+
2756+# Find a good install program. We prefer a C program (faster),
2757+# so one script is as good as another. But avoid the broken or
2758+# incompatible versions:
2759+# SysV /etc/install, /usr/sbin/install
2760+# SunOS /usr/etc/install
2761+# IRIX /sbin/install
2762+# AIX /bin/install
2763+# AmigaOS /C/install, which installs bootblocks on floppy discs
2764+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2765+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2766+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2767+# OS/2's system install, which has a completely different semantic
2768+# ./install, which can be erroneously created by make from ./install.sh.
2769+# Reject install programs that cannot install multiple files.
2770+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2771+$as_echo_n "checking for a BSD-compatible install... " >&6; }
2772+if test -z "$INSTALL"; then
2773+if test "${ac_cv_path_install+set}" = set; then
2774+ $as_echo_n "(cached) " >&6
2775+else
2776+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777+for as_dir in $PATH
2778+do
2779+ IFS=$as_save_IFS
2780+ test -z "$as_dir" && as_dir=.
2781+ # Account for people who put trailing slashes in PATH elements.
2782+case $as_dir/ in
2783+ ./ | .// | /cC/* | \
2784+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2785+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2786+ /usr/ucb/* ) ;;
2787+ *)
2788+ # OSF1 and SCO ODT 3.0 have their own names for install.
2789+ # Don't use installbsd from OSF since it installs stuff as root
2790+ # by default.
2791+ for ac_prog in ginstall scoinst install; do
2792+ for ac_exec_ext in '' $ac_executable_extensions; do
2793+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2794+ if test $ac_prog = install &&
2795+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2796+ # AIX install. It has an incompatible calling convention.
2797+ :
2798+ elif test $ac_prog = install &&
2799+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2800+ # program-specific install script used by HP pwplus--don't use.
2801+ :
2802+ else
2803+ rm -rf conftest.one conftest.two conftest.dir
2804+ echo one > conftest.one
2805+ echo two > conftest.two
2806+ mkdir conftest.dir
2807+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2808+ test -s conftest.one && test -s conftest.two &&
2809+ test -s conftest.dir/conftest.one &&
2810+ test -s conftest.dir/conftest.two
2811+ then
2812+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2813+ break 3
2814+ fi
2815+ fi
2816+ fi
2817+ done
2818+ done
2819+ ;;
2820+esac
2821+
2822+done
2823+IFS=$as_save_IFS
2824+
2825+rm -rf conftest.one conftest.two conftest.dir
2826+
2827+fi
2828+ if test "${ac_cv_path_install+set}" = set; then
2829+ INSTALL=$ac_cv_path_install
2830+ else
2831+ # As a last resort, use the slow shell script. Don't cache a
2832+ # value for INSTALL within a source directory, because that will
2833+ # break other packages using the cache if that directory is
2834+ # removed, or if the value is a relative name.
2835+ INSTALL=$ac_install_sh
2836+ fi
2837+fi
2838+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2839+$as_echo "$INSTALL" >&6; }
2840+
2841+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2842+# It thinks the first close brace ends the variable substitution.
2843+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2844+
2845+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2846+
2847+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2848+
2849+
2850+if test $prefix = NONE
2851+then
2852+ myprefix=/usr/local
2853+else
2854+ myprefix=$prefix
2855+fi
2856+
2857+##########################################################################
2858+# 引数
2859+##########################################################################
2860+DEBUGGING=0
2861+
2862+
2863+@%:@ Check whether --with-debug was given.
2864+if test "${with_debug+set}" = set; then
2865+ withval=$with_debug; DEBUGGING=1;
2866+fi
2867+
2868+
2869+@%:@ Check whether --with-gprof-debug was given.
2870+if test "${with_gprof_debug+set}" = set; then
2871+ withval=$with_gprof_debug; DEBUGGING=2;
2872+fi
2873+
2874+
2875+@%:@ Check whether --with-optimize was given.
2876+if test "${with_optimize+set}" = set; then
2877+ withval=$with_optimize; ENABLE_OPTIMIZE=1
2878+else
2879+ ENABLE_OPTIMIZE=0
2880+fi
2881+
2882+
2883+@%:@ Check whether --with-migemo was given.
2884+if test "${with_migemo+set}" = set; then
2885+ withval=$with_migemo; ENABLE_MIGEMO=1
2886+else
2887+ ENABLE_MIGEMO=0
2888+fi
2889+
2890+
2891+@%:@ Check whether --with-migemo-dir was given.
2892+if test "${with_migemo_dir+set}" = set; then
2893+ withval=$with_migemo_dir; MIGEMO_DIR="$with_val"
2894+else
2895+ MIGEMO_DIR=
2896+fi
2897+
2898+
2899+@%:@ Check whether --with-onig-dir was given.
2900+if test "${with_onig_dir+set}" = set; then
2901+ withval=$with_onig_dir; ONIG_DIR="$with_val"
2902+else
2903+ ONIG_DIR=
2904+fi
2905+
2906+
2907+@%:@ Check whether --with-xyzsh-dir was given.
2908+if test "${with_xyzsh_dir+set}" = set; then
2909+ withval=$with_xyzsh_dir; XYZSH_DIR="$with_val"
2910+else
2911+ XYZSH_DIR=
2912+fi
2913+
2914+
2915+@%:@ Check whether --with-system-migemodir was given.
2916+if test "${with_system_migemodir+set}" = set; then
2917+ withval=$with_system_migemodir; if test -n "$withval" && test -n $LIBMIGEMO ; then echo "system-migemodir = $withval" ; SYSTEM_MIGEMODIR="$withval" ; { cat >>confdefs.h <<_ACEOF
2918+@%:@define SYSTEM_MIGEMODIR "$withval"
2919+_ACEOF
2920+ } ; fi
2921+else
2922+ if test -e /usr/local/share/migemo; then SYSTEM_MIGEMODIR=/usr/local/share/migemo; else SYSTEM_MIGEMODIR=/usr/share/cmigemo; fi
2923+fi
2924+
2925+
2926+if test $DEBUGGING = 1
2927+then
2928+ CFLAGS="-Isrc/ -I$myprefix/include -L$myprefix/lib -I . -g -DMDEBUG -Werror"
2929+elif test $DEBUGGING = 2
2930+then
2931+ CFLAGS="-Isrc/ -I$myprefix/include -L$myprefix/lib -I . -g -pg -DMDEBUG -Werror"
2932+else
2933+ CFLAGS="-Isrc/ -I$myprefix/include -L$myprefix/lib -I ."
2934+fi
2935+
2936+if test -d /usr/local/include
2937+then
2938+ CFLAGS="$CFLAGS -I/usr/local/include"
2939+fi
2940+
2941+if test -d /usr/local/lib
2942+then
2943+ CFLAGS="$CFLAGS -L/usr/local/lib"
2944+fi
2945+
2946+if test -d /opt/local/include
2947+then
2948+ CFLAGS="$CFLAGS -I/opt/local/include"
2949+fi
2950+
2951+if test -d /opt/local/lib
2952+then
2953+ CFLAGS="$CFLAGS -L/opt/local/lib"
2954+fi
2955+
2956+
2957+if test -n "$ONIG_DIR"
2958+then
2959+ if test -e "$ONIG_DIR/include/oniguruma.h" && test -e "$ONIG_DIR/lib/libonig.a"
2960+ then
2961+ CFLAGS="$CFLAGS -I$ONIG_DIR/include -L$ONIG_DIR/lib"
2962+ else
2963+ echo "can't found oniguruma.h in $ONIG_DIR/include or libonig.a in $ONIG_DIR/lib"
2964+ fi
2965+fi
2966+
2967+if test -n "$MIGEMO_DIR"
2968+then
2969+ if test -e "$MIGEMO_DIR/include/migemo.h" && test -e "$MIGEMO_DIR/lib/libmigemo.so"
2970+ then
2971+ CFLAGS="$CFLAGS -I$MIGEMO_DIR/include -L$MIGEMO_DIR/lib"
2972+ else
2973+ echo "can't found migemo.h in $MIGEMO_DIR/include or libmigemo.so in $MIGEMO_DIR/lib"
2974+ fi
2975+fi
2976+
2977+if test -n "$XYZSH_DIR"
2978+then
2979+ if test -e "$XYZSH_DIR/include/xyzsh/xyzsh.h" && test -e "$XYZSH_DIR/lib/libxyzsh.so"
2980+ then
2981+ CFLAGS="$CFLAGS -I$XYZSH_DIR/include -L$XYZSH_DIR/lib"
2982+ else
2983+ echo "can't found xyzsh/xyzsh.h in $XYZSH_DIR/include or libxyzsh.a in $XYZSH_DIR/lib"
2984+ fi
2985+fi
2986+
2987+if test $ENABLE_OPTIMIZE = 1
2988+then
2989+ CFLAGS="$CFLAGS -O3"
2990+fi
2991+
2992+CFLAGS="-DSYSCONFDIR=\"\\\"$sysconfdir/mfiler4/\\\"\" -DDATAROOTDIR=\"\\\"$datarootdir/doc/mfiler4/\\\"\" -DSYSTEM_MIGEMODIR=\"\\\"$SYSTEM_MIGEMODIR\\\"\" $CFLAGS"
2993+
2994+
2995+
2996+
2997+#####################################################################
2998+# Operating System
2999+#####################################################################
3000+{ $as_echo "$as_me:$LINENO: checking Operating System" >&5
3001+$as_echo_n "checking Operating System... " >&6; }
3002+
3003+if uname -s | grep -q CYGWIN; then
3004+ echo "CYGWIN"
3005+ cat >>confdefs.h <<\_ACEOF
3006+@%:@define __CYGWIN__ 1
3007+_ACEOF
3008+
3009+ OS=CYGWIN
3010+elif test `uname -s` = "Darwin"; then
3011+ echo "Darwin"
3012+
3013+ cat >>confdefs.h <<\_ACEOF
3014+@%:@define __DARWIN__ 1
3015+_ACEOF
3016+
3017+ OS=DARWIN
3018+elif test `uname -s` = "FreeBSD"; then
3019+ echo "FreeBSD"
3020+
3021+ cat >>confdefs.h <<\_ACEOF
3022+@%:@define __FREEBSD__ 1
3023+_ACEOF
3024+
3025+ OS=FREEBSD
3026+else
3027+ echo "Linux"
3028+
3029+ cat >>confdefs.h <<\_ACEOF
3030+@%:@define __LINUX__ 1
3031+_ACEOF
3032+
3033+ OS=LINUX
3034+fi
3035+
3036+##########################################################################
3037+# libxyzsh
3038+###########################################################################
3039+
3040+ac_ext=c
3041+ac_cpp='$CPP $CPPFLAGS'
3042+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3043+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3044+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3045+{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3046+$as_echo_n "checking how to run the C preprocessor... " >&6; }
3047+# On Suns, sometimes $CPP names a directory.
3048+if test -n "$CPP" && test -d "$CPP"; then
3049+ CPP=
3050+fi
3051+if test -z "$CPP"; then
3052+ if test "${ac_cv_prog_CPP+set}" = set; then
3053+ $as_echo_n "(cached) " >&6
3054+else
3055+ # Double quotes because CPP needs to be expanded
3056+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3057+ do
3058+ ac_preproc_ok=false
3059+for ac_c_preproc_warn_flag in '' yes
3060+do
3061+ # Use a header file that comes with gcc, so configuring glibc
3062+ # with a fresh cross-compiler works.
3063+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3064+ # <limits.h> exists even on freestanding compilers.
3065+ # On the NeXT, cc -E runs the code through the compiler's parser,
3066+ # not just through cpp. "Syntax error" is here to catch this case.
3067+ cat >conftest.$ac_ext <<_ACEOF
3068+/* confdefs.h. */
3069+_ACEOF
3070+cat confdefs.h >>conftest.$ac_ext
3071+cat >>conftest.$ac_ext <<_ACEOF
3072+/* end confdefs.h. */
3073+@%:@ifdef __STDC__
3074+@%:@ include <limits.h>
3075+@%:@else
3076+@%:@ include <assert.h>
3077+@%:@endif
3078+ Syntax error
3079+_ACEOF
3080+if { (ac_try="$ac_cpp conftest.$ac_ext"
3081+case "(($ac_try" in
3082+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083+ *) ac_try_echo=$ac_try;;
3084+esac
3085+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3086+$as_echo "$ac_try_echo") >&5
3087+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3088+ ac_status=$?
3089+ grep -v '^ *+' conftest.er1 >conftest.err
3090+ rm -f conftest.er1
3091+ cat conftest.err >&5
3092+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093+ (exit $ac_status); } >/dev/null && {
3094+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3095+ test ! -s conftest.err
3096+ }; then
3097+ :
3098+else
3099+ $as_echo "$as_me: failed program was:" >&5
3100+sed 's/^/| /' conftest.$ac_ext >&5
3101+
3102+ # Broken: fails on valid input.
3103+continue
3104+fi
3105+
3106+rm -f conftest.err conftest.$ac_ext
3107+
3108+ # OK, works on sane cases. Now check whether nonexistent headers
3109+ # can be detected and how.
3110+ cat >conftest.$ac_ext <<_ACEOF
3111+/* confdefs.h. */
3112+_ACEOF
3113+cat confdefs.h >>conftest.$ac_ext
3114+cat >>conftest.$ac_ext <<_ACEOF
3115+/* end confdefs.h. */
3116+@%:@include <ac_nonexistent.h>
3117+_ACEOF
3118+if { (ac_try="$ac_cpp conftest.$ac_ext"
3119+case "(($ac_try" in
3120+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121+ *) ac_try_echo=$ac_try;;
3122+esac
3123+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3124+$as_echo "$ac_try_echo") >&5
3125+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3126+ ac_status=$?
3127+ grep -v '^ *+' conftest.er1 >conftest.err
3128+ rm -f conftest.er1
3129+ cat conftest.err >&5
3130+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131+ (exit $ac_status); } >/dev/null && {
3132+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3133+ test ! -s conftest.err
3134+ }; then
3135+ # Broken: success on invalid input.
3136+continue
3137+else
3138+ $as_echo "$as_me: failed program was:" >&5
3139+sed 's/^/| /' conftest.$ac_ext >&5
3140+
3141+ # Passes both tests.
3142+ac_preproc_ok=:
3143+break
3144+fi
3145+
3146+rm -f conftest.err conftest.$ac_ext
3147+
3148+done
3149+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3150+rm -f conftest.err conftest.$ac_ext
3151+if $ac_preproc_ok; then
3152+ break
3153+fi
3154+
3155+ done
3156+ ac_cv_prog_CPP=$CPP
3157+
3158+fi
3159+ CPP=$ac_cv_prog_CPP
3160+else
3161+ ac_cv_prog_CPP=$CPP
3162+fi
3163+{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3164+$as_echo "$CPP" >&6; }
3165+ac_preproc_ok=false
3166+for ac_c_preproc_warn_flag in '' yes
3167+do
3168+ # Use a header file that comes with gcc, so configuring glibc
3169+ # with a fresh cross-compiler works.
3170+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3171+ # <limits.h> exists even on freestanding compilers.
3172+ # On the NeXT, cc -E runs the code through the compiler's parser,
3173+ # not just through cpp. "Syntax error" is here to catch this case.
3174+ cat >conftest.$ac_ext <<_ACEOF
3175+/* confdefs.h. */
3176+_ACEOF
3177+cat confdefs.h >>conftest.$ac_ext
3178+cat >>conftest.$ac_ext <<_ACEOF
3179+/* end confdefs.h. */
3180+@%:@ifdef __STDC__
3181+@%:@ include <limits.h>
3182+@%:@else
3183+@%:@ include <assert.h>
3184+@%:@endif
3185+ Syntax error
3186+_ACEOF
3187+if { (ac_try="$ac_cpp conftest.$ac_ext"
3188+case "(($ac_try" in
3189+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190+ *) ac_try_echo=$ac_try;;
3191+esac
3192+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3193+$as_echo "$ac_try_echo") >&5
3194+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3195+ ac_status=$?
3196+ grep -v '^ *+' conftest.er1 >conftest.err
3197+ rm -f conftest.er1
3198+ cat conftest.err >&5
3199+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200+ (exit $ac_status); } >/dev/null && {
3201+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3202+ test ! -s conftest.err
3203+ }; then
3204+ :
3205+else
3206+ $as_echo "$as_me: failed program was:" >&5
3207+sed 's/^/| /' conftest.$ac_ext >&5
3208+
3209+ # Broken: fails on valid input.
3210+continue
3211+fi
3212+
3213+rm -f conftest.err conftest.$ac_ext
3214+
3215+ # OK, works on sane cases. Now check whether nonexistent headers
3216+ # can be detected and how.
3217+ cat >conftest.$ac_ext <<_ACEOF
3218+/* confdefs.h. */
3219+_ACEOF
3220+cat confdefs.h >>conftest.$ac_ext
3221+cat >>conftest.$ac_ext <<_ACEOF
3222+/* end confdefs.h. */
3223+@%:@include <ac_nonexistent.h>
3224+_ACEOF
3225+if { (ac_try="$ac_cpp conftest.$ac_ext"
3226+case "(($ac_try" in
3227+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228+ *) ac_try_echo=$ac_try;;
3229+esac
3230+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3231+$as_echo "$ac_try_echo") >&5
3232+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3233+ ac_status=$?
3234+ grep -v '^ *+' conftest.er1 >conftest.err
3235+ rm -f conftest.er1
3236+ cat conftest.err >&5
3237+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238+ (exit $ac_status); } >/dev/null && {
3239+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3240+ test ! -s conftest.err
3241+ }; then
3242+ # Broken: success on invalid input.
3243+continue
3244+else
3245+ $as_echo "$as_me: failed program was:" >&5
3246+sed 's/^/| /' conftest.$ac_ext >&5
3247+
3248+ # Passes both tests.
3249+ac_preproc_ok=:
3250+break
3251+fi
3252+
3253+rm -f conftest.err conftest.$ac_ext
3254+
3255+done
3256+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3257+rm -f conftest.err conftest.$ac_ext
3258+if $ac_preproc_ok; then
3259+ :
3260+else
3261+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3262+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263+{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3264+See \`config.log' for more details." >&5
3265+$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3266+See \`config.log' for more details." >&2;}
3267+ { (exit 1); exit 1; }; }; }
3268+fi
3269+
3270+ac_ext=c
3271+ac_cpp='$CPP $CPPFLAGS'
3272+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3275+
3276+
3277+{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3278+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3279+if test "${ac_cv_path_GREP+set}" = set; then
3280+ $as_echo_n "(cached) " >&6
3281+else
3282+ if test -z "$GREP"; then
3283+ ac_path_GREP_found=false
3284+ # Loop through the user's path and test for each of PROGNAME-LIST
3285+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3286+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3287+do
3288+ IFS=$as_save_IFS
3289+ test -z "$as_dir" && as_dir=.
3290+ for ac_prog in grep ggrep; do
3291+ for ac_exec_ext in '' $ac_executable_extensions; do
3292+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3293+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3294+# Check for GNU ac_path_GREP and select it if it is found.
3295+ # Check for GNU $ac_path_GREP
3296+case `"$ac_path_GREP" --version 2>&1` in
3297+*GNU*)
3298+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3299+*)
3300+ ac_count=0
3301+ $as_echo_n 0123456789 >"conftest.in"
3302+ while :
3303+ do
3304+ cat "conftest.in" "conftest.in" >"conftest.tmp"
3305+ mv "conftest.tmp" "conftest.in"
3306+ cp "conftest.in" "conftest.nl"
3307+ $as_echo 'GREP' >> "conftest.nl"
3308+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3309+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3310+ ac_count=`expr $ac_count + 1`
3311+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
3312+ # Best one so far, save it but keep looking for a better one
3313+ ac_cv_path_GREP="$ac_path_GREP"
3314+ ac_path_GREP_max=$ac_count
3315+ fi
3316+ # 10*(2^10) chars as input seems more than enough
3317+ test $ac_count -gt 10 && break
3318+ done
3319+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3320+esac
3321+
3322+ $ac_path_GREP_found && break 3
3323+ done
3324+ done
3325+done
3326+IFS=$as_save_IFS
3327+ if test -z "$ac_cv_path_GREP"; then
3328+ { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3329+$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3330+ { (exit 1); exit 1; }; }
3331+ fi
3332+else
3333+ ac_cv_path_GREP=$GREP
3334+fi
3335+
3336+fi
3337+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3338+$as_echo "$ac_cv_path_GREP" >&6; }
3339+ GREP="$ac_cv_path_GREP"
3340+
3341+
3342+{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3343+$as_echo_n "checking for egrep... " >&6; }
3344+if test "${ac_cv_path_EGREP+set}" = set; then
3345+ $as_echo_n "(cached) " >&6
3346+else
3347+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3348+ then ac_cv_path_EGREP="$GREP -E"
3349+ else
3350+ if test -z "$EGREP"; then
3351+ ac_path_EGREP_found=false
3352+ # Loop through the user's path and test for each of PROGNAME-LIST
3353+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3355+do
3356+ IFS=$as_save_IFS
3357+ test -z "$as_dir" && as_dir=.
3358+ for ac_prog in egrep; do
3359+ for ac_exec_ext in '' $ac_executable_extensions; do
3360+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3361+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3362+# Check for GNU ac_path_EGREP and select it if it is found.
3363+ # Check for GNU $ac_path_EGREP
3364+case `"$ac_path_EGREP" --version 2>&1` in
3365+*GNU*)
3366+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3367+*)
3368+ ac_count=0
3369+ $as_echo_n 0123456789 >"conftest.in"
3370+ while :
3371+ do
3372+ cat "conftest.in" "conftest.in" >"conftest.tmp"
3373+ mv "conftest.tmp" "conftest.in"
3374+ cp "conftest.in" "conftest.nl"
3375+ $as_echo 'EGREP' >> "conftest.nl"
3376+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3377+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3378+ ac_count=`expr $ac_count + 1`
3379+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3380+ # Best one so far, save it but keep looking for a better one
3381+ ac_cv_path_EGREP="$ac_path_EGREP"
3382+ ac_path_EGREP_max=$ac_count
3383+ fi
3384+ # 10*(2^10) chars as input seems more than enough
3385+ test $ac_count -gt 10 && break
3386+ done
3387+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3388+esac
3389+
3390+ $ac_path_EGREP_found && break 3
3391+ done
3392+ done
3393+done
3394+IFS=$as_save_IFS
3395+ if test -z "$ac_cv_path_EGREP"; then
3396+ { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3397+$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3398+ { (exit 1); exit 1; }; }
3399+ fi
3400+else
3401+ ac_cv_path_EGREP=$EGREP
3402+fi
3403+
3404+ fi
3405+fi
3406+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3407+$as_echo "$ac_cv_path_EGREP" >&6; }
3408+ EGREP="$ac_cv_path_EGREP"
3409+
3410+
3411+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3412+$as_echo_n "checking for ANSI C header files... " >&6; }
3413+if test "${ac_cv_header_stdc+set}" = set; then
3414+ $as_echo_n "(cached) " >&6
3415+else
3416+ cat >conftest.$ac_ext <<_ACEOF
3417+/* confdefs.h. */
3418+_ACEOF
3419+cat confdefs.h >>conftest.$ac_ext
3420+cat >>conftest.$ac_ext <<_ACEOF
3421+/* end confdefs.h. */
3422+#include <stdlib.h>
3423+#include <stdarg.h>
3424+#include <string.h>
3425+#include <float.h>
3426+
3427+int
3428+main ()
3429+{
3430+
3431+ ;
3432+ return 0;
3433+}
3434+_ACEOF
3435+rm -f conftest.$ac_objext
3436+if { (ac_try="$ac_compile"
3437+case "(($ac_try" in
3438+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439+ *) ac_try_echo=$ac_try;;
3440+esac
3441+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3442+$as_echo "$ac_try_echo") >&5
3443+ (eval "$ac_compile") 2>conftest.er1
3444+ ac_status=$?
3445+ grep -v '^ *+' conftest.er1 >conftest.err
3446+ rm -f conftest.er1
3447+ cat conftest.err >&5
3448+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449+ (exit $ac_status); } && {
3450+ test -z "$ac_c_werror_flag" ||
3451+ test ! -s conftest.err
3452+ } && test -s conftest.$ac_objext; then
3453+ ac_cv_header_stdc=yes
3454+else
3455+ $as_echo "$as_me: failed program was:" >&5
3456+sed 's/^/| /' conftest.$ac_ext >&5
3457+
3458+ ac_cv_header_stdc=no
3459+fi
3460+
3461+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462+
3463+if test $ac_cv_header_stdc = yes; then
3464+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3465+ cat >conftest.$ac_ext <<_ACEOF
3466+/* confdefs.h. */
3467+_ACEOF
3468+cat confdefs.h >>conftest.$ac_ext
3469+cat >>conftest.$ac_ext <<_ACEOF
3470+/* end confdefs.h. */
3471+#include <string.h>
3472+
3473+_ACEOF
3474+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3475+ $EGREP "memchr" >/dev/null 2>&1; then
3476+ :
3477+else
3478+ ac_cv_header_stdc=no
3479+fi
3480+rm -f conftest*
3481+
3482+fi
3483+
3484+if test $ac_cv_header_stdc = yes; then
3485+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3486+ cat >conftest.$ac_ext <<_ACEOF
3487+/* confdefs.h. */
3488+_ACEOF
3489+cat confdefs.h >>conftest.$ac_ext
3490+cat >>conftest.$ac_ext <<_ACEOF
3491+/* end confdefs.h. */
3492+#include <stdlib.h>
3493+
3494+_ACEOF
3495+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3496+ $EGREP "free" >/dev/null 2>&1; then
3497+ :
3498+else
3499+ ac_cv_header_stdc=no
3500+fi
3501+rm -f conftest*
3502+
3503+fi
3504+
3505+if test $ac_cv_header_stdc = yes; then
3506+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3507+ if test "$cross_compiling" = yes; then
3508+ :
3509+else
3510+ cat >conftest.$ac_ext <<_ACEOF
3511+/* confdefs.h. */
3512+_ACEOF
3513+cat confdefs.h >>conftest.$ac_ext
3514+cat >>conftest.$ac_ext <<_ACEOF
3515+/* end confdefs.h. */
3516+#include <ctype.h>
3517+#include <stdlib.h>
3518+#if ((' ' & 0x0FF) == 0x020)
3519+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3520+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3521+#else
3522+# define ISLOWER(c) \
3523+ (('a' <= (c) && (c) <= 'i') \
3524+ || ('j' <= (c) && (c) <= 'r') \
3525+ || ('s' <= (c) && (c) <= 'z'))
3526+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3527+#endif
3528+
3529+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3530+int
3531+main ()
3532+{
3533+ int i;
3534+ for (i = 0; i < 256; i++)
3535+ if (XOR (islower (i), ISLOWER (i))
3536+ || toupper (i) != TOUPPER (i))
3537+ return 2;
3538+ return 0;
3539+}
3540+_ACEOF
3541+rm -f conftest$ac_exeext
3542+if { (ac_try="$ac_link"
3543+case "(($ac_try" in
3544+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545+ *) ac_try_echo=$ac_try;;
3546+esac
3547+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3548+$as_echo "$ac_try_echo") >&5
3549+ (eval "$ac_link") 2>&5
3550+ ac_status=$?
3551+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3553+ { (case "(($ac_try" in
3554+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555+ *) ac_try_echo=$ac_try;;
3556+esac
3557+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3558+$as_echo "$ac_try_echo") >&5
3559+ (eval "$ac_try") 2>&5
3560+ ac_status=$?
3561+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562+ (exit $ac_status); }; }; then
3563+ :
3564+else
3565+ $as_echo "$as_me: program exited with status $ac_status" >&5
3566+$as_echo "$as_me: failed program was:" >&5
3567+sed 's/^/| /' conftest.$ac_ext >&5
3568+
3569+( exit $ac_status )
3570+ac_cv_header_stdc=no
3571+fi
3572+rm -rf conftest.dSYM
3573+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3574+fi
3575+
3576+
3577+fi
3578+fi
3579+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3580+$as_echo "$ac_cv_header_stdc" >&6; }
3581+if test $ac_cv_header_stdc = yes; then
3582+
3583+cat >>confdefs.h <<\_ACEOF
3584+@%:@define STDC_HEADERS 1
3585+_ACEOF
3586+
3587+fi
3588+
3589+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3590+
3591+
3592+
3593+
3594+
3595+
3596+
3597+
3598+
3599+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3600+ inttypes.h stdint.h unistd.h
3601+do
3602+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3603+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3604+$as_echo_n "checking for $ac_header... " >&6; }
3605+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3606+ $as_echo_n "(cached) " >&6
3607+else
3608+ cat >conftest.$ac_ext <<_ACEOF
3609+/* confdefs.h. */
3610+_ACEOF
3611+cat confdefs.h >>conftest.$ac_ext
3612+cat >>conftest.$ac_ext <<_ACEOF
3613+/* end confdefs.h. */
3614+$ac_includes_default
3615+
3616+@%:@include <$ac_header>
3617+_ACEOF
3618+rm -f conftest.$ac_objext
3619+if { (ac_try="$ac_compile"
3620+case "(($ac_try" in
3621+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622+ *) ac_try_echo=$ac_try;;
3623+esac
3624+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3625+$as_echo "$ac_try_echo") >&5
3626+ (eval "$ac_compile") 2>conftest.er1
3627+ ac_status=$?
3628+ grep -v '^ *+' conftest.er1 >conftest.err
3629+ rm -f conftest.er1
3630+ cat conftest.err >&5
3631+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632+ (exit $ac_status); } && {
3633+ test -z "$ac_c_werror_flag" ||
3634+ test ! -s conftest.err
3635+ } && test -s conftest.$ac_objext; then
3636+ eval "$as_ac_Header=yes"
3637+else
3638+ $as_echo "$as_me: failed program was:" >&5
3639+sed 's/^/| /' conftest.$ac_ext >&5
3640+
3641+ eval "$as_ac_Header=no"
3642+fi
3643+
3644+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645+fi
3646+ac_res=`eval 'as_val=${'$as_ac_Header'}
3647+ $as_echo "$as_val"'`
3648+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3649+$as_echo "$ac_res" >&6; }
3650+as_val=`eval 'as_val=${'$as_ac_Header'}
3651+ $as_echo "$as_val"'`
3652+ if test "x$as_val" = x""yes; then
3653+ cat >>confdefs.h <<_ACEOF
3654+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3655+_ACEOF
3656+
3657+fi
3658+
3659+done
3660+
3661+
3662+if test "${ac_cv_header_xyzsh_xyzsh_h+set}" = set; then
3663+ { $as_echo "$as_me:$LINENO: checking for xyzsh/xyzsh.h" >&5
3664+$as_echo_n "checking for xyzsh/xyzsh.h... " >&6; }
3665+if test "${ac_cv_header_xyzsh_xyzsh_h+set}" = set; then
3666+ $as_echo_n "(cached) " >&6
3667+fi
3668+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_xyzsh_xyzsh_h" >&5
3669+$as_echo "$ac_cv_header_xyzsh_xyzsh_h" >&6; }
3670+else
3671+ # Is the header compilable?
3672+{ $as_echo "$as_me:$LINENO: checking xyzsh/xyzsh.h usability" >&5
3673+$as_echo_n "checking xyzsh/xyzsh.h usability... " >&6; }
3674+cat >conftest.$ac_ext <<_ACEOF
3675+/* confdefs.h. */
3676+_ACEOF
3677+cat confdefs.h >>conftest.$ac_ext
3678+cat >>conftest.$ac_ext <<_ACEOF
3679+/* end confdefs.h. */
3680+$ac_includes_default
3681+@%:@include <xyzsh/xyzsh.h>
3682+_ACEOF
3683+rm -f conftest.$ac_objext
3684+if { (ac_try="$ac_compile"
3685+case "(($ac_try" in
3686+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687+ *) ac_try_echo=$ac_try;;
3688+esac
3689+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3690+$as_echo "$ac_try_echo") >&5
3691+ (eval "$ac_compile") 2>conftest.er1
3692+ ac_status=$?
3693+ grep -v '^ *+' conftest.er1 >conftest.err
3694+ rm -f conftest.er1
3695+ cat conftest.err >&5
3696+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697+ (exit $ac_status); } && {
3698+ test -z "$ac_c_werror_flag" ||
3699+ test ! -s conftest.err
3700+ } && test -s conftest.$ac_objext; then
3701+ ac_header_compiler=yes
3702+else
3703+ $as_echo "$as_me: failed program was:" >&5
3704+sed 's/^/| /' conftest.$ac_ext >&5
3705+
3706+ ac_header_compiler=no
3707+fi
3708+
3709+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3710+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3711+$as_echo "$ac_header_compiler" >&6; }
3712+
3713+# Is the header present?
3714+{ $as_echo "$as_me:$LINENO: checking xyzsh/xyzsh.h presence" >&5
3715+$as_echo_n "checking xyzsh/xyzsh.h presence... " >&6; }
3716+cat >conftest.$ac_ext <<_ACEOF
3717+/* confdefs.h. */
3718+_ACEOF
3719+cat confdefs.h >>conftest.$ac_ext
3720+cat >>conftest.$ac_ext <<_ACEOF
3721+/* end confdefs.h. */
3722+@%:@include <xyzsh/xyzsh.h>
3723+_ACEOF
3724+if { (ac_try="$ac_cpp conftest.$ac_ext"
3725+case "(($ac_try" in
3726+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727+ *) ac_try_echo=$ac_try;;
3728+esac
3729+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3730+$as_echo "$ac_try_echo") >&5
3731+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3732+ ac_status=$?
3733+ grep -v '^ *+' conftest.er1 >conftest.err
3734+ rm -f conftest.er1
3735+ cat conftest.err >&5
3736+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737+ (exit $ac_status); } >/dev/null && {
3738+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3739+ test ! -s conftest.err
3740+ }; then
3741+ ac_header_preproc=yes
3742+else
3743+ $as_echo "$as_me: failed program was:" >&5
3744+sed 's/^/| /' conftest.$ac_ext >&5
3745+
3746+ ac_header_preproc=no
3747+fi
3748+
3749+rm -f conftest.err conftest.$ac_ext
3750+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3751+$as_echo "$ac_header_preproc" >&6; }
3752+
3753+# So? What about this header?
3754+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3755+ yes:no: )
3756+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: accepted by the compiler, rejected by the preprocessor!" >&5
3757+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3758+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: proceeding with the compiler's result" >&5
3759+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: proceeding with the compiler's result" >&2;}
3760+ ac_header_preproc=yes
3761+ ;;
3762+ no:yes:* )
3763+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: present but cannot be compiled" >&5
3764+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: present but cannot be compiled" >&2;}
3765+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: check for missing prerequisite headers?" >&5
3766+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: check for missing prerequisite headers?" >&2;}
3767+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: see the Autoconf documentation" >&5
3768+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: see the Autoconf documentation" >&2;}
3769+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: section \"Present But Cannot Be Compiled\"" >&5
3770+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: section \"Present But Cannot Be Compiled\"" >&2;}
3771+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: proceeding with the preprocessor's result" >&5
3772+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: proceeding with the preprocessor's result" >&2;}
3773+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: in the future, the compiler will take precedence" >&5
3774+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: in the future, the compiler will take precedence" >&2;}
3775+
3776+ ;;
3777+esac
3778+{ $as_echo "$as_me:$LINENO: checking for xyzsh/xyzsh.h" >&5
3779+$as_echo_n "checking for xyzsh/xyzsh.h... " >&6; }
3780+if test "${ac_cv_header_xyzsh_xyzsh_h+set}" = set; then
3781+ $as_echo_n "(cached) " >&6
3782+else
3783+ ac_cv_header_xyzsh_xyzsh_h=$ac_header_preproc
3784+fi
3785+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_xyzsh_xyzsh_h" >&5
3786+$as_echo "$ac_cv_header_xyzsh_xyzsh_h" >&6; }
3787+
3788+fi
3789+if test "x$ac_cv_header_xyzsh_xyzsh_h" = x""yes; then
3790+ LIBS="$LIBS -lxyzsh"; cat >>confdefs.h <<\_ACEOF
3791+@%:@define HAVE_XYZSH_H 1
3792+_ACEOF
3793+
3794+else
3795+ exit
3796+fi
3797+
3798+
3799+
3800+######################################################################
3801+# readline settings
3802+######################################################################
3803+if test "${ac_cv_header_readline_readline_h+set}" = set; then
3804+ { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
3805+$as_echo_n "checking for readline/readline.h... " >&6; }
3806+if test "${ac_cv_header_readline_readline_h+set}" = set; then
3807+ $as_echo_n "(cached) " >&6
3808+fi
3809+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
3810+$as_echo "$ac_cv_header_readline_readline_h" >&6; }
3811+else
3812+ # Is the header compilable?
3813+{ $as_echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
3814+$as_echo_n "checking readline/readline.h usability... " >&6; }
3815+cat >conftest.$ac_ext <<_ACEOF
3816+/* confdefs.h. */
3817+_ACEOF
3818+cat confdefs.h >>conftest.$ac_ext
3819+cat >>conftest.$ac_ext <<_ACEOF
3820+/* end confdefs.h. */
3821+$ac_includes_default
3822+@%:@include <readline/readline.h>
3823+_ACEOF
3824+rm -f conftest.$ac_objext
3825+if { (ac_try="$ac_compile"
3826+case "(($ac_try" in
3827+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3828+ *) ac_try_echo=$ac_try;;
3829+esac
3830+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3831+$as_echo "$ac_try_echo") >&5
3832+ (eval "$ac_compile") 2>conftest.er1
3833+ ac_status=$?
3834+ grep -v '^ *+' conftest.er1 >conftest.err
3835+ rm -f conftest.er1
3836+ cat conftest.err >&5
3837+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838+ (exit $ac_status); } && {
3839+ test -z "$ac_c_werror_flag" ||
3840+ test ! -s conftest.err
3841+ } && test -s conftest.$ac_objext; then
3842+ ac_header_compiler=yes
3843+else
3844+ $as_echo "$as_me: failed program was:" >&5
3845+sed 's/^/| /' conftest.$ac_ext >&5
3846+
3847+ ac_header_compiler=no
3848+fi
3849+
3850+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3852+$as_echo "$ac_header_compiler" >&6; }
3853+
3854+# Is the header present?
3855+{ $as_echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
3856+$as_echo_n "checking readline/readline.h presence... " >&6; }
3857+cat >conftest.$ac_ext <<_ACEOF
3858+/* confdefs.h. */
3859+_ACEOF
3860+cat confdefs.h >>conftest.$ac_ext
3861+cat >>conftest.$ac_ext <<_ACEOF
3862+/* end confdefs.h. */
3863+@%:@include <readline/readline.h>
3864+_ACEOF
3865+if { (ac_try="$ac_cpp conftest.$ac_ext"
3866+case "(($ac_try" in
3867+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868+ *) ac_try_echo=$ac_try;;
3869+esac
3870+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3871+$as_echo "$ac_try_echo") >&5
3872+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3873+ ac_status=$?
3874+ grep -v '^ *+' conftest.er1 >conftest.err
3875+ rm -f conftest.er1
3876+ cat conftest.err >&5
3877+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878+ (exit $ac_status); } >/dev/null && {
3879+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3880+ test ! -s conftest.err
3881+ }; then
3882+ ac_header_preproc=yes
3883+else
3884+ $as_echo "$as_me: failed program was:" >&5
3885+sed 's/^/| /' conftest.$ac_ext >&5
3886+
3887+ ac_header_preproc=no
3888+fi
3889+
3890+rm -f conftest.err conftest.$ac_ext
3891+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3892+$as_echo "$ac_header_preproc" >&6; }
3893+
3894+# So? What about this header?
3895+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3896+ yes:no: )
3897+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
3898+$as_echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3899+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5
3900+$as_echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;}
3901+ ac_header_preproc=yes
3902+ ;;
3903+ no:yes:* )
3904+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
3905+$as_echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
3906+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: check for missing prerequisite headers?" >&5
3907+$as_echo "$as_me: WARNING: readline/readline.h: check for missing prerequisite headers?" >&2;}
3908+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5
3909+$as_echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;}
3910+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5
3911+$as_echo "$as_me: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
3912+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
3913+$as_echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
3914+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
3915+$as_echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
3916+
3917+ ;;
3918+esac
3919+{ $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
3920+$as_echo_n "checking for readline/readline.h... " >&6; }
3921+if test "${ac_cv_header_readline_readline_h+set}" = set; then
3922+ $as_echo_n "(cached) " >&6
3923+else
3924+ ac_cv_header_readline_readline_h=$ac_header_preproc
3925+fi
3926+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
3927+$as_echo "$ac_cv_header_readline_readline_h" >&6; }
3928+
3929+fi
3930+if test "x$ac_cv_header_readline_readline_h" = x""yes; then
3931+ cat >>confdefs.h <<\_ACEOF
3932+@%:@define HAVE_READLINE_H 1
3933+_ACEOF
3934+
3935+else
3936+ exit
3937+fi
3938+
3939+
3940+if test "${ac_cv_header_readline_history_h+set}" = set; then
3941+ { $as_echo "$as_me:$LINENO: checking for readline/history.h" >&5
3942+$as_echo_n "checking for readline/history.h... " >&6; }
3943+if test "${ac_cv_header_readline_history_h+set}" = set; then
3944+ $as_echo_n "(cached) " >&6
3945+fi
3946+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
3947+$as_echo "$ac_cv_header_readline_history_h" >&6; }
3948+else
3949+ # Is the header compilable?
3950+{ $as_echo "$as_me:$LINENO: checking readline/history.h usability" >&5
3951+$as_echo_n "checking readline/history.h usability... " >&6; }
3952+cat >conftest.$ac_ext <<_ACEOF
3953+/* confdefs.h. */
3954+_ACEOF
3955+cat confdefs.h >>conftest.$ac_ext
3956+cat >>conftest.$ac_ext <<_ACEOF
3957+/* end confdefs.h. */
3958+$ac_includes_default
3959+@%:@include <readline/history.h>
3960+_ACEOF
3961+rm -f conftest.$ac_objext
3962+if { (ac_try="$ac_compile"
3963+case "(($ac_try" in
3964+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965+ *) ac_try_echo=$ac_try;;
3966+esac
3967+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3968+$as_echo "$ac_try_echo") >&5
3969+ (eval "$ac_compile") 2>conftest.er1
3970+ ac_status=$?
3971+ grep -v '^ *+' conftest.er1 >conftest.err
3972+ rm -f conftest.er1
3973+ cat conftest.err >&5
3974+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975+ (exit $ac_status); } && {
3976+ test -z "$ac_c_werror_flag" ||
3977+ test ! -s conftest.err
3978+ } && test -s conftest.$ac_objext; then
3979+ ac_header_compiler=yes
3980+else
3981+ $as_echo "$as_me: failed program was:" >&5
3982+sed 's/^/| /' conftest.$ac_ext >&5
3983+
3984+ ac_header_compiler=no
3985+fi
3986+
3987+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3989+$as_echo "$ac_header_compiler" >&6; }
3990+
3991+# Is the header present?
3992+{ $as_echo "$as_me:$LINENO: checking readline/history.h presence" >&5
3993+$as_echo_n "checking readline/history.h presence... " >&6; }
3994+cat >conftest.$ac_ext <<_ACEOF
3995+/* confdefs.h. */
3996+_ACEOF
3997+cat confdefs.h >>conftest.$ac_ext
3998+cat >>conftest.$ac_ext <<_ACEOF
3999+/* end confdefs.h. */
4000+@%:@include <readline/history.h>
4001+_ACEOF
4002+if { (ac_try="$ac_cpp conftest.$ac_ext"
4003+case "(($ac_try" in
4004+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005+ *) ac_try_echo=$ac_try;;
4006+esac
4007+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4008+$as_echo "$ac_try_echo") >&5
4009+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4010+ ac_status=$?
4011+ grep -v '^ *+' conftest.er1 >conftest.err
4012+ rm -f conftest.er1
4013+ cat conftest.err >&5
4014+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015+ (exit $ac_status); } >/dev/null && {
4016+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4017+ test ! -s conftest.err
4018+ }; then
4019+ ac_header_preproc=yes
4020+else
4021+ $as_echo "$as_me: failed program was:" >&5
4022+sed 's/^/| /' conftest.$ac_ext >&5
4023+
4024+ ac_header_preproc=no
4025+fi
4026+
4027+rm -f conftest.err conftest.$ac_ext
4028+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4029+$as_echo "$ac_header_preproc" >&6; }
4030+
4031+# So? What about this header?
4032+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4033+ yes:no: )
4034+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5
4035+$as_echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4036+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the compiler's result" >&5
4037+$as_echo "$as_me: WARNING: readline/history.h: proceeding with the compiler's result" >&2;}
4038+ ac_header_preproc=yes
4039+ ;;
4040+ no:yes:* )
4041+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5
4042+$as_echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;}
4043+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: check for missing prerequisite headers?" >&5
4044+$as_echo "$as_me: WARNING: readline/history.h: check for missing prerequisite headers?" >&2;}
4045+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: see the Autoconf documentation" >&5
4046+$as_echo "$as_me: WARNING: readline/history.h: see the Autoconf documentation" >&2;}
4047+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&5
4048+$as_echo "$as_me: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&2;}
4049+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5
4050+$as_echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;}
4051+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: in the future, the compiler will take precedence" >&5
4052+$as_echo "$as_me: WARNING: readline/history.h: in the future, the compiler will take precedence" >&2;}
4053+
4054+ ;;
4055+esac
4056+{ $as_echo "$as_me:$LINENO: checking for readline/history.h" >&5
4057+$as_echo_n "checking for readline/history.h... " >&6; }
4058+if test "${ac_cv_header_readline_history_h+set}" = set; then
4059+ $as_echo_n "(cached) " >&6
4060+else
4061+ ac_cv_header_readline_history_h=$ac_header_preproc
4062+fi
4063+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
4064+$as_echo "$ac_cv_header_readline_history_h" >&6; }
4065+
4066+fi
4067+if test "x$ac_cv_header_readline_history_h" = x""yes; then
4068+ cat >>confdefs.h <<\_ACEOF
4069+@%:@define HAVE_READLINE_HISTORY_H 1
4070+_ACEOF
4071+
4072+else
4073+ exit
4074+fi
4075+
4076+
4077+{ $as_echo "$as_me:$LINENO: checking for main in -lreadline" >&5
4078+$as_echo_n "checking for main in -lreadline... " >&6; }
4079+if test "${ac_cv_lib_readline_main+set}" = set; then
4080+ $as_echo_n "(cached) " >&6
4081+else
4082+ ac_check_lib_save_LIBS=$LIBS
4083+LIBS="-lreadline $LIBS"
4084+cat >conftest.$ac_ext <<_ACEOF
4085+/* confdefs.h. */
4086+_ACEOF
4087+cat confdefs.h >>conftest.$ac_ext
4088+cat >>conftest.$ac_ext <<_ACEOF
4089+/* end confdefs.h. */
4090+
4091+
4092+int
4093+main ()
4094+{
4095+return main ();
4096+ ;
4097+ return 0;
4098+}
4099+_ACEOF
4100+rm -f conftest.$ac_objext conftest$ac_exeext
4101+if { (ac_try="$ac_link"
4102+case "(($ac_try" in
4103+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4104+ *) ac_try_echo=$ac_try;;
4105+esac
4106+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4107+$as_echo "$ac_try_echo") >&5
4108+ (eval "$ac_link") 2>conftest.er1
4109+ ac_status=$?
4110+ grep -v '^ *+' conftest.er1 >conftest.err
4111+ rm -f conftest.er1
4112+ cat conftest.err >&5
4113+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114+ (exit $ac_status); } && {
4115+ test -z "$ac_c_werror_flag" ||
4116+ test ! -s conftest.err
4117+ } && test -s conftest$ac_exeext && {
4118+ test "$cross_compiling" = yes ||
4119+ $as_test_x conftest$ac_exeext
4120+ }; then
4121+ ac_cv_lib_readline_main=yes
4122+else
4123+ $as_echo "$as_me: failed program was:" >&5
4124+sed 's/^/| /' conftest.$ac_ext >&5
4125+
4126+ ac_cv_lib_readline_main=no
4127+fi
4128+
4129+rm -rf conftest.dSYM
4130+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4131+ conftest$ac_exeext conftest.$ac_ext
4132+LIBS=$ac_check_lib_save_LIBS
4133+fi
4134+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
4135+$as_echo "$ac_cv_lib_readline_main" >&6; }
4136+if test "x$ac_cv_lib_readline_main" = x""yes; then
4137+ LIBS="$LIBS -lreadline"
4138+else
4139+ exit
4140+fi
4141+ac_cv_lib_readline=ac_cv_lib_readline_main
4142+
4143+
4144+###########################################################################
4145+# libcurses
4146+###########################################################################
4147+if test "${ac_cv_header_ncurses_h+set}" = set; then
4148+ { $as_echo "$as_me:$LINENO: checking for ncurses.h" >&5
4149+$as_echo_n "checking for ncurses.h... " >&6; }
4150+if test "${ac_cv_header_ncurses_h+set}" = set; then
4151+ $as_echo_n "(cached) " >&6
4152+fi
4153+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_h" >&5
4154+$as_echo "$ac_cv_header_ncurses_h" >&6; }
4155+else
4156+ # Is the header compilable?
4157+{ $as_echo "$as_me:$LINENO: checking ncurses.h usability" >&5
4158+$as_echo_n "checking ncurses.h usability... " >&6; }
4159+cat >conftest.$ac_ext <<_ACEOF
4160+/* confdefs.h. */
4161+_ACEOF
4162+cat confdefs.h >>conftest.$ac_ext
4163+cat >>conftest.$ac_ext <<_ACEOF
4164+/* end confdefs.h. */
4165+$ac_includes_default
4166+@%:@include <ncurses.h>
4167+_ACEOF
4168+rm -f conftest.$ac_objext
4169+if { (ac_try="$ac_compile"
4170+case "(($ac_try" in
4171+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172+ *) ac_try_echo=$ac_try;;
4173+esac
4174+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4175+$as_echo "$ac_try_echo") >&5
4176+ (eval "$ac_compile") 2>conftest.er1
4177+ ac_status=$?
4178+ grep -v '^ *+' conftest.er1 >conftest.err
4179+ rm -f conftest.er1
4180+ cat conftest.err >&5
4181+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182+ (exit $ac_status); } && {
4183+ test -z "$ac_c_werror_flag" ||
4184+ test ! -s conftest.err
4185+ } && test -s conftest.$ac_objext; then
4186+ ac_header_compiler=yes
4187+else
4188+ $as_echo "$as_me: failed program was:" >&5
4189+sed 's/^/| /' conftest.$ac_ext >&5
4190+
4191+ ac_header_compiler=no
4192+fi
4193+
4194+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4196+$as_echo "$ac_header_compiler" >&6; }
4197+
4198+# Is the header present?
4199+{ $as_echo "$as_me:$LINENO: checking ncurses.h presence" >&5
4200+$as_echo_n "checking ncurses.h presence... " >&6; }
4201+cat >conftest.$ac_ext <<_ACEOF
4202+/* confdefs.h. */
4203+_ACEOF
4204+cat confdefs.h >>conftest.$ac_ext
4205+cat >>conftest.$ac_ext <<_ACEOF
4206+/* end confdefs.h. */
4207+@%:@include <ncurses.h>
4208+_ACEOF
4209+if { (ac_try="$ac_cpp conftest.$ac_ext"
4210+case "(($ac_try" in
4211+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212+ *) ac_try_echo=$ac_try;;
4213+esac
4214+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4215+$as_echo "$ac_try_echo") >&5
4216+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4217+ ac_status=$?
4218+ grep -v '^ *+' conftest.er1 >conftest.err
4219+ rm -f conftest.er1
4220+ cat conftest.err >&5
4221+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222+ (exit $ac_status); } >/dev/null && {
4223+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4224+ test ! -s conftest.err
4225+ }; then
4226+ ac_header_preproc=yes
4227+else
4228+ $as_echo "$as_me: failed program was:" >&5
4229+sed 's/^/| /' conftest.$ac_ext >&5
4230+
4231+ ac_header_preproc=no
4232+fi
4233+
4234+rm -f conftest.err conftest.$ac_ext
4235+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4236+$as_echo "$ac_header_preproc" >&6; }
4237+
4238+# So? What about this header?
4239+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4240+ yes:no: )
4241+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&5
4242+$as_echo "$as_me: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4243+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: proceeding with the compiler's result" >&5
4244+$as_echo "$as_me: WARNING: ncurses.h: proceeding with the compiler's result" >&2;}
4245+ ac_header_preproc=yes
4246+ ;;
4247+ no:yes:* )
4248+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: present but cannot be compiled" >&5
4249+$as_echo "$as_me: WARNING: ncurses.h: present but cannot be compiled" >&2;}
4250+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: check for missing prerequisite headers?" >&5
4251+$as_echo "$as_me: WARNING: ncurses.h: check for missing prerequisite headers?" >&2;}
4252+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: see the Autoconf documentation" >&5
4253+$as_echo "$as_me: WARNING: ncurses.h: see the Autoconf documentation" >&2;}
4254+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: section \"Present But Cannot Be Compiled\"" >&5
4255+$as_echo "$as_me: WARNING: ncurses.h: section \"Present But Cannot Be Compiled\"" >&2;}
4256+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: proceeding with the preprocessor's result" >&5
4257+$as_echo "$as_me: WARNING: ncurses.h: proceeding with the preprocessor's result" >&2;}
4258+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: in the future, the compiler will take precedence" >&5
4259+$as_echo "$as_me: WARNING: ncurses.h: in the future, the compiler will take precedence" >&2;}
4260+
4261+ ;;
4262+esac
4263+{ $as_echo "$as_me:$LINENO: checking for ncurses.h" >&5
4264+$as_echo_n "checking for ncurses.h... " >&6; }
4265+if test "${ac_cv_header_ncurses_h+set}" = set; then
4266+ $as_echo_n "(cached) " >&6
4267+else
4268+ ac_cv_header_ncurses_h=$ac_header_preproc
4269+fi
4270+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_h" >&5
4271+$as_echo "$ac_cv_header_ncurses_h" >&6; }
4272+
4273+fi
4274+if test "x$ac_cv_header_ncurses_h" = x""yes; then
4275+ NCURSES_OK=1; cat >>confdefs.h <<\_ACEOF
4276+@%:@define HAVE_NCURSES_H 1
4277+_ACEOF
4278+
4279+fi
4280+
4281+
4282+if test "${ac_cv_header_ncurses_ncurses_h+set}" = set; then
4283+ { $as_echo "$as_me:$LINENO: checking for ncurses/ncurses.h" >&5
4284+$as_echo_n "checking for ncurses/ncurses.h... " >&6; }
4285+if test "${ac_cv_header_ncurses_ncurses_h+set}" = set; then
4286+ $as_echo_n "(cached) " >&6
4287+fi
4288+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_ncurses_h" >&5
4289+$as_echo "$ac_cv_header_ncurses_ncurses_h" >&6; }
4290+else
4291+ # Is the header compilable?
4292+{ $as_echo "$as_me:$LINENO: checking ncurses/ncurses.h usability" >&5
4293+$as_echo_n "checking ncurses/ncurses.h usability... " >&6; }
4294+cat >conftest.$ac_ext <<_ACEOF
4295+/* confdefs.h. */
4296+_ACEOF
4297+cat confdefs.h >>conftest.$ac_ext
4298+cat >>conftest.$ac_ext <<_ACEOF
4299+/* end confdefs.h. */
4300+$ac_includes_default
4301+@%:@include <ncurses/ncurses.h>
4302+_ACEOF
4303+rm -f conftest.$ac_objext
4304+if { (ac_try="$ac_compile"
4305+case "(($ac_try" in
4306+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307+ *) ac_try_echo=$ac_try;;
4308+esac
4309+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4310+$as_echo "$ac_try_echo") >&5
4311+ (eval "$ac_compile") 2>conftest.er1
4312+ ac_status=$?
4313+ grep -v '^ *+' conftest.er1 >conftest.err
4314+ rm -f conftest.er1
4315+ cat conftest.err >&5
4316+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317+ (exit $ac_status); } && {
4318+ test -z "$ac_c_werror_flag" ||
4319+ test ! -s conftest.err
4320+ } && test -s conftest.$ac_objext; then
4321+ ac_header_compiler=yes
4322+else
4323+ $as_echo "$as_me: failed program was:" >&5
4324+sed 's/^/| /' conftest.$ac_ext >&5
4325+
4326+ ac_header_compiler=no
4327+fi
4328+
4329+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4331+$as_echo "$ac_header_compiler" >&6; }
4332+
4333+# Is the header present?
4334+{ $as_echo "$as_me:$LINENO: checking ncurses/ncurses.h presence" >&5
4335+$as_echo_n "checking ncurses/ncurses.h presence... " >&6; }
4336+cat >conftest.$ac_ext <<_ACEOF
4337+/* confdefs.h. */
4338+_ACEOF
4339+cat confdefs.h >>conftest.$ac_ext
4340+cat >>conftest.$ac_ext <<_ACEOF
4341+/* end confdefs.h. */
4342+@%:@include <ncurses/ncurses.h>
4343+_ACEOF
4344+if { (ac_try="$ac_cpp conftest.$ac_ext"
4345+case "(($ac_try" in
4346+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347+ *) ac_try_echo=$ac_try;;
4348+esac
4349+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4350+$as_echo "$ac_try_echo") >&5
4351+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4352+ ac_status=$?
4353+ grep -v '^ *+' conftest.er1 >conftest.err
4354+ rm -f conftest.er1
4355+ cat conftest.err >&5
4356+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357+ (exit $ac_status); } >/dev/null && {
4358+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4359+ test ! -s conftest.err
4360+ }; then
4361+ ac_header_preproc=yes
4362+else
4363+ $as_echo "$as_me: failed program was:" >&5
4364+sed 's/^/| /' conftest.$ac_ext >&5
4365+
4366+ ac_header_preproc=no
4367+fi
4368+
4369+rm -f conftest.err conftest.$ac_ext
4370+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4371+$as_echo "$ac_header_preproc" >&6; }
4372+
4373+# So? What about this header?
4374+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4375+ yes:no: )
4376+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&5
4377+$as_echo "$as_me: WARNING: ncurses/ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4378+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: proceeding with the compiler's result" >&5
4379+$as_echo "$as_me: WARNING: ncurses/ncurses.h: proceeding with the compiler's result" >&2;}
4380+ ac_header_preproc=yes
4381+ ;;
4382+ no:yes:* )
4383+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: present but cannot be compiled" >&5
4384+$as_echo "$as_me: WARNING: ncurses/ncurses.h: present but cannot be compiled" >&2;}
4385+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: check for missing prerequisite headers?" >&5
4386+$as_echo "$as_me: WARNING: ncurses/ncurses.h: check for missing prerequisite headers?" >&2;}
4387+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: see the Autoconf documentation" >&5
4388+$as_echo "$as_me: WARNING: ncurses/ncurses.h: see the Autoconf documentation" >&2;}
4389+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: section \"Present But Cannot Be Compiled\"" >&5
4390+$as_echo "$as_me: WARNING: ncurses/ncurses.h: section \"Present But Cannot Be Compiled\"" >&2;}
4391+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: proceeding with the preprocessor's result" >&5
4392+$as_echo "$as_me: WARNING: ncurses/ncurses.h: proceeding with the preprocessor's result" >&2;}
4393+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: in the future, the compiler will take precedence" >&5
4394+$as_echo "$as_me: WARNING: ncurses/ncurses.h: in the future, the compiler will take precedence" >&2;}
4395+
4396+ ;;
4397+esac
4398+{ $as_echo "$as_me:$LINENO: checking for ncurses/ncurses.h" >&5
4399+$as_echo_n "checking for ncurses/ncurses.h... " >&6; }
4400+if test "${ac_cv_header_ncurses_ncurses_h+set}" = set; then
4401+ $as_echo_n "(cached) " >&6
4402+else
4403+ ac_cv_header_ncurses_ncurses_h=$ac_header_preproc
4404+fi
4405+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_ncurses_h" >&5
4406+$as_echo "$ac_cv_header_ncurses_ncurses_h" >&6; }
4407+
4408+fi
4409+if test "x$ac_cv_header_ncurses_ncurses_h" = x""yes; then
4410+ NCURSES_OK=1; cat >>confdefs.h <<\_ACEOF
4411+@%:@define HAVE_NCURSES_NCURSES_H 1
4412+_ACEOF
4413+
4414+fi
4415+
4416+
4417+{ $as_echo "$as_me:$LINENO: checking for main in -lcursesw" >&5
4418+$as_echo_n "checking for main in -lcursesw... " >&6; }
4419+if test "${ac_cv_lib_cursesw_main+set}" = set; then
4420+ $as_echo_n "(cached) " >&6
4421+else
4422+ ac_check_lib_save_LIBS=$LIBS
4423+LIBS="-lcursesw $LIBS"
4424+cat >conftest.$ac_ext <<_ACEOF
4425+/* confdefs.h. */
4426+_ACEOF
4427+cat confdefs.h >>conftest.$ac_ext
4428+cat >>conftest.$ac_ext <<_ACEOF
4429+/* end confdefs.h. */
4430+
4431+
4432+int
4433+main ()
4434+{
4435+return main ();
4436+ ;
4437+ return 0;
4438+}
4439+_ACEOF
4440+rm -f conftest.$ac_objext conftest$ac_exeext
4441+if { (ac_try="$ac_link"
4442+case "(($ac_try" in
4443+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444+ *) ac_try_echo=$ac_try;;
4445+esac
4446+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4447+$as_echo "$ac_try_echo") >&5
4448+ (eval "$ac_link") 2>conftest.er1
4449+ ac_status=$?
4450+ grep -v '^ *+' conftest.er1 >conftest.err
4451+ rm -f conftest.er1
4452+ cat conftest.err >&5
4453+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454+ (exit $ac_status); } && {
4455+ test -z "$ac_c_werror_flag" ||
4456+ test ! -s conftest.err
4457+ } && test -s conftest$ac_exeext && {
4458+ test "$cross_compiling" = yes ||
4459+ $as_test_x conftest$ac_exeext
4460+ }; then
4461+ ac_cv_lib_cursesw_main=yes
4462+else
4463+ $as_echo "$as_me: failed program was:" >&5
4464+sed 's/^/| /' conftest.$ac_ext >&5
4465+
4466+ ac_cv_lib_cursesw_main=no
4467+fi
4468+
4469+rm -rf conftest.dSYM
4470+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4471+ conftest$ac_exeext conftest.$ac_ext
4472+LIBS=$ac_check_lib_save_LIBS
4473+fi
4474+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cursesw_main" >&5
4475+$as_echo "$ac_cv_lib_cursesw_main" >&6; }
4476+if test "x$ac_cv_lib_cursesw_main" = x""yes; then
4477+ LIBS="$LIBS -lcursesw"; NCURSES_OK2=1
4478+fi
4479+ac_cv_lib_cursesw=ac_cv_lib_cursesw_main
4480+
4481+{ $as_echo "$as_me:$LINENO: checking for main in -lncursesw" >&5
4482+$as_echo_n "checking for main in -lncursesw... " >&6; }
4483+if test "${ac_cv_lib_ncursesw_main+set}" = set; then
4484+ $as_echo_n "(cached) " >&6
4485+else
4486+ ac_check_lib_save_LIBS=$LIBS
4487+LIBS="-lncursesw $LIBS"
4488+cat >conftest.$ac_ext <<_ACEOF
4489+/* confdefs.h. */
4490+_ACEOF
4491+cat confdefs.h >>conftest.$ac_ext
4492+cat >>conftest.$ac_ext <<_ACEOF
4493+/* end confdefs.h. */
4494+
4495+
4496+int
4497+main ()
4498+{
4499+return main ();
4500+ ;
4501+ return 0;
4502+}
4503+_ACEOF
4504+rm -f conftest.$ac_objext conftest$ac_exeext
4505+if { (ac_try="$ac_link"
4506+case "(($ac_try" in
4507+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4508+ *) ac_try_echo=$ac_try;;
4509+esac
4510+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4511+$as_echo "$ac_try_echo") >&5
4512+ (eval "$ac_link") 2>conftest.er1
4513+ ac_status=$?
4514+ grep -v '^ *+' conftest.er1 >conftest.err
4515+ rm -f conftest.er1
4516+ cat conftest.err >&5
4517+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518+ (exit $ac_status); } && {
4519+ test -z "$ac_c_werror_flag" ||
4520+ test ! -s conftest.err
4521+ } && test -s conftest$ac_exeext && {
4522+ test "$cross_compiling" = yes ||
4523+ $as_test_x conftest$ac_exeext
4524+ }; then
4525+ ac_cv_lib_ncursesw_main=yes
4526+else
4527+ $as_echo "$as_me: failed program was:" >&5
4528+sed 's/^/| /' conftest.$ac_ext >&5
4529+
4530+ ac_cv_lib_ncursesw_main=no
4531+fi
4532+
4533+rm -rf conftest.dSYM
4534+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4535+ conftest$ac_exeext conftest.$ac_ext
4536+LIBS=$ac_check_lib_save_LIBS
4537+fi
4538+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncursesw_main" >&5
4539+$as_echo "$ac_cv_lib_ncursesw_main" >&6; }
4540+if test "x$ac_cv_lib_ncursesw_main" = x""yes; then
4541+ LIBS="$LIBS -lncursesw"; NCURSES_OK2=1
4542+fi
4543+ac_cv_lib_ncursesw=ac_cv_lib_ncursesw_main
4544+
4545+
4546+if test -z "$NCURSES_OK2"
4547+then
4548+ { $as_echo "$as_me:$LINENO: checking for main in -lcurses" >&5
4549+$as_echo_n "checking for main in -lcurses... " >&6; }
4550+if test "${ac_cv_lib_curses_main+set}" = set; then
4551+ $as_echo_n "(cached) " >&6
4552+else
4553+ ac_check_lib_save_LIBS=$LIBS
4554+LIBS="-lcurses $LIBS"
4555+cat >conftest.$ac_ext <<_ACEOF
4556+/* confdefs.h. */
4557+_ACEOF
4558+cat confdefs.h >>conftest.$ac_ext
4559+cat >>conftest.$ac_ext <<_ACEOF
4560+/* end confdefs.h. */
4561+
4562+
4563+int
4564+main ()
4565+{
4566+return main ();
4567+ ;
4568+ return 0;
4569+}
4570+_ACEOF
4571+rm -f conftest.$ac_objext conftest$ac_exeext
4572+if { (ac_try="$ac_link"
4573+case "(($ac_try" in
4574+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575+ *) ac_try_echo=$ac_try;;
4576+esac
4577+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4578+$as_echo "$ac_try_echo") >&5
4579+ (eval "$ac_link") 2>conftest.er1
4580+ ac_status=$?
4581+ grep -v '^ *+' conftest.er1 >conftest.err
4582+ rm -f conftest.er1
4583+ cat conftest.err >&5
4584+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585+ (exit $ac_status); } && {
4586+ test -z "$ac_c_werror_flag" ||
4587+ test ! -s conftest.err
4588+ } && test -s conftest$ac_exeext && {
4589+ test "$cross_compiling" = yes ||
4590+ $as_test_x conftest$ac_exeext
4591+ }; then
4592+ ac_cv_lib_curses_main=yes
4593+else
4594+ $as_echo "$as_me: failed program was:" >&5
4595+sed 's/^/| /' conftest.$ac_ext >&5
4596+
4597+ ac_cv_lib_curses_main=no
4598+fi
4599+
4600+rm -rf conftest.dSYM
4601+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602+ conftest$ac_exeext conftest.$ac_ext
4603+LIBS=$ac_check_lib_save_LIBS
4604+fi
4605+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
4606+$as_echo "$ac_cv_lib_curses_main" >&6; }
4607+if test "x$ac_cv_lib_curses_main" = x""yes; then
4608+ LIBS="$LIBS -lcurses"; NCURSES_OK2=1
4609+fi
4610+ac_cv_lib_curses=ac_cv_lib_curses_main
4611+
4612+ { $as_echo "$as_me:$LINENO: checking for main in -lncurses" >&5
4613+$as_echo_n "checking for main in -lncurses... " >&6; }
4614+if test "${ac_cv_lib_ncurses_main+set}" = set; then
4615+ $as_echo_n "(cached) " >&6
4616+else
4617+ ac_check_lib_save_LIBS=$LIBS
4618+LIBS="-lncurses $LIBS"
4619+cat >conftest.$ac_ext <<_ACEOF
4620+/* confdefs.h. */
4621+_ACEOF
4622+cat confdefs.h >>conftest.$ac_ext
4623+cat >>conftest.$ac_ext <<_ACEOF
4624+/* end confdefs.h. */
4625+
4626+
4627+int
4628+main ()
4629+{
4630+return main ();
4631+ ;
4632+ return 0;
4633+}
4634+_ACEOF
4635+rm -f conftest.$ac_objext conftest$ac_exeext
4636+if { (ac_try="$ac_link"
4637+case "(($ac_try" in
4638+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639+ *) ac_try_echo=$ac_try;;
4640+esac
4641+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4642+$as_echo "$ac_try_echo") >&5
4643+ (eval "$ac_link") 2>conftest.er1
4644+ ac_status=$?
4645+ grep -v '^ *+' conftest.er1 >conftest.err
4646+ rm -f conftest.er1
4647+ cat conftest.err >&5
4648+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649+ (exit $ac_status); } && {
4650+ test -z "$ac_c_werror_flag" ||
4651+ test ! -s conftest.err
4652+ } && test -s conftest$ac_exeext && {
4653+ test "$cross_compiling" = yes ||
4654+ $as_test_x conftest$ac_exeext
4655+ }; then
4656+ ac_cv_lib_ncurses_main=yes
4657+else
4658+ $as_echo "$as_me: failed program was:" >&5
4659+sed 's/^/| /' conftest.$ac_ext >&5
4660+
4661+ ac_cv_lib_ncurses_main=no
4662+fi
4663+
4664+rm -rf conftest.dSYM
4665+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4666+ conftest$ac_exeext conftest.$ac_ext
4667+LIBS=$ac_check_lib_save_LIBS
4668+fi
4669+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_main" >&5
4670+$as_echo "$ac_cv_lib_ncurses_main" >&6; }
4671+if test "x$ac_cv_lib_ncurses_main" = x""yes; then
4672+ LIBS="$LIBS -lncurses"; NCURSES_OK2=1
4673+fi
4674+ac_cv_lib_ncurses=ac_cv_lib_ncurses_main
4675+
4676+fi
4677+
4678+if test -z "$NCURSES_OK"
4679+then
4680+ exit
4681+fi
4682+
4683+if test -z "$NCURSES_OK2"
4684+then
4685+ exit
4686+fi
4687+
4688+
4689+###########################################################################
4690+# math library
4691+###########################################################################
4692+if test "${ac_cv_header_math_h+set}" = set; then
4693+ { $as_echo "$as_me:$LINENO: checking for math.h" >&5
4694+$as_echo_n "checking for math.h... " >&6; }
4695+if test "${ac_cv_header_math_h+set}" = set; then
4696+ $as_echo_n "(cached) " >&6
4697+fi
4698+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_math_h" >&5
4699+$as_echo "$ac_cv_header_math_h" >&6; }
4700+else
4701+ # Is the header compilable?
4702+{ $as_echo "$as_me:$LINENO: checking math.h usability" >&5
4703+$as_echo_n "checking math.h usability... " >&6; }
4704+cat >conftest.$ac_ext <<_ACEOF
4705+/* confdefs.h. */
4706+_ACEOF
4707+cat confdefs.h >>conftest.$ac_ext
4708+cat >>conftest.$ac_ext <<_ACEOF
4709+/* end confdefs.h. */
4710+$ac_includes_default
4711+@%:@include <math.h>
4712+_ACEOF
4713+rm -f conftest.$ac_objext
4714+if { (ac_try="$ac_compile"
4715+case "(($ac_try" in
4716+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4717+ *) ac_try_echo=$ac_try;;
4718+esac
4719+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4720+$as_echo "$ac_try_echo") >&5
4721+ (eval "$ac_compile") 2>conftest.er1
4722+ ac_status=$?
4723+ grep -v '^ *+' conftest.er1 >conftest.err
4724+ rm -f conftest.er1
4725+ cat conftest.err >&5
4726+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727+ (exit $ac_status); } && {
4728+ test -z "$ac_c_werror_flag" ||
4729+ test ! -s conftest.err
4730+ } && test -s conftest.$ac_objext; then
4731+ ac_header_compiler=yes
4732+else
4733+ $as_echo "$as_me: failed program was:" >&5
4734+sed 's/^/| /' conftest.$ac_ext >&5
4735+
4736+ ac_header_compiler=no
4737+fi
4738+
4739+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4740+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4741+$as_echo "$ac_header_compiler" >&6; }
4742+
4743+# Is the header present?
4744+{ $as_echo "$as_me:$LINENO: checking math.h presence" >&5
4745+$as_echo_n "checking math.h presence... " >&6; }
4746+cat >conftest.$ac_ext <<_ACEOF
4747+/* confdefs.h. */
4748+_ACEOF
4749+cat confdefs.h >>conftest.$ac_ext
4750+cat >>conftest.$ac_ext <<_ACEOF
4751+/* end confdefs.h. */
4752+@%:@include <math.h>
4753+_ACEOF
4754+if { (ac_try="$ac_cpp conftest.$ac_ext"
4755+case "(($ac_try" in
4756+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757+ *) ac_try_echo=$ac_try;;
4758+esac
4759+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4760+$as_echo "$ac_try_echo") >&5
4761+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4762+ ac_status=$?
4763+ grep -v '^ *+' conftest.er1 >conftest.err
4764+ rm -f conftest.er1
4765+ cat conftest.err >&5
4766+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767+ (exit $ac_status); } >/dev/null && {
4768+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4769+ test ! -s conftest.err
4770+ }; then
4771+ ac_header_preproc=yes
4772+else
4773+ $as_echo "$as_me: failed program was:" >&5
4774+sed 's/^/| /' conftest.$ac_ext >&5
4775+
4776+ ac_header_preproc=no
4777+fi
4778+
4779+rm -f conftest.err conftest.$ac_ext
4780+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4781+$as_echo "$ac_header_preproc" >&6; }
4782+
4783+# So? What about this header?
4784+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4785+ yes:no: )
4786+ { $as_echo "$as_me:$LINENO: WARNING: math.h: accepted by the compiler, rejected by the preprocessor!" >&5
4787+$as_echo "$as_me: WARNING: math.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4788+ { $as_echo "$as_me:$LINENO: WARNING: math.h: proceeding with the compiler's result" >&5
4789+$as_echo "$as_me: WARNING: math.h: proceeding with the compiler's result" >&2;}
4790+ ac_header_preproc=yes
4791+ ;;
4792+ no:yes:* )
4793+ { $as_echo "$as_me:$LINENO: WARNING: math.h: present but cannot be compiled" >&5
4794+$as_echo "$as_me: WARNING: math.h: present but cannot be compiled" >&2;}
4795+ { $as_echo "$as_me:$LINENO: WARNING: math.h: check for missing prerequisite headers?" >&5
4796+$as_echo "$as_me: WARNING: math.h: check for missing prerequisite headers?" >&2;}
4797+ { $as_echo "$as_me:$LINENO: WARNING: math.h: see the Autoconf documentation" >&5
4798+$as_echo "$as_me: WARNING: math.h: see the Autoconf documentation" >&2;}
4799+ { $as_echo "$as_me:$LINENO: WARNING: math.h: section \"Present But Cannot Be Compiled\"" >&5
4800+$as_echo "$as_me: WARNING: math.h: section \"Present But Cannot Be Compiled\"" >&2;}
4801+ { $as_echo "$as_me:$LINENO: WARNING: math.h: proceeding with the preprocessor's result" >&5
4802+$as_echo "$as_me: WARNING: math.h: proceeding with the preprocessor's result" >&2;}
4803+ { $as_echo "$as_me:$LINENO: WARNING: math.h: in the future, the compiler will take precedence" >&5
4804+$as_echo "$as_me: WARNING: math.h: in the future, the compiler will take precedence" >&2;}
4805+
4806+ ;;
4807+esac
4808+{ $as_echo "$as_me:$LINENO: checking for math.h" >&5
4809+$as_echo_n "checking for math.h... " >&6; }
4810+if test "${ac_cv_header_math_h+set}" = set; then
4811+ $as_echo_n "(cached) " >&6
4812+else
4813+ ac_cv_header_math_h=$ac_header_preproc
4814+fi
4815+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_math_h" >&5
4816+$as_echo "$ac_cv_header_math_h" >&6; }
4817+
4818+fi
4819+if test "x$ac_cv_header_math_h" = x""yes; then
4820+ LIBS="$LIBS -lm"; cat >>confdefs.h <<\_ACEOF
4821+@%:@define HAVE_MATH_H 1
4822+_ACEOF
4823+
4824+else
4825+ exit
4826+fi
4827+
4828+
4829+
4830+##########################################################################
4831+# oniguruma
4832+###########################################################################
4833+if test "${ac_cv_header_oniguruma_h+set}" = set; then
4834+ { $as_echo "$as_me:$LINENO: checking for oniguruma.h" >&5
4835+$as_echo_n "checking for oniguruma.h... " >&6; }
4836+if test "${ac_cv_header_oniguruma_h+set}" = set; then
4837+ $as_echo_n "(cached) " >&6
4838+fi
4839+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_oniguruma_h" >&5
4840+$as_echo "$ac_cv_header_oniguruma_h" >&6; }
4841+else
4842+ # Is the header compilable?
4843+{ $as_echo "$as_me:$LINENO: checking oniguruma.h usability" >&5
4844+$as_echo_n "checking oniguruma.h usability... " >&6; }
4845+cat >conftest.$ac_ext <<_ACEOF
4846+/* confdefs.h. */
4847+_ACEOF
4848+cat confdefs.h >>conftest.$ac_ext
4849+cat >>conftest.$ac_ext <<_ACEOF
4850+/* end confdefs.h. */
4851+$ac_includes_default
4852+@%:@include <oniguruma.h>
4853+_ACEOF
4854+rm -f conftest.$ac_objext
4855+if { (ac_try="$ac_compile"
4856+case "(($ac_try" in
4857+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858+ *) ac_try_echo=$ac_try;;
4859+esac
4860+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4861+$as_echo "$ac_try_echo") >&5
4862+ (eval "$ac_compile") 2>conftest.er1
4863+ ac_status=$?
4864+ grep -v '^ *+' conftest.er1 >conftest.err
4865+ rm -f conftest.er1
4866+ cat conftest.err >&5
4867+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868+ (exit $ac_status); } && {
4869+ test -z "$ac_c_werror_flag" ||
4870+ test ! -s conftest.err
4871+ } && test -s conftest.$ac_objext; then
4872+ ac_header_compiler=yes
4873+else
4874+ $as_echo "$as_me: failed program was:" >&5
4875+sed 's/^/| /' conftest.$ac_ext >&5
4876+
4877+ ac_header_compiler=no
4878+fi
4879+
4880+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4882+$as_echo "$ac_header_compiler" >&6; }
4883+
4884+# Is the header present?
4885+{ $as_echo "$as_me:$LINENO: checking oniguruma.h presence" >&5
4886+$as_echo_n "checking oniguruma.h presence... " >&6; }
4887+cat >conftest.$ac_ext <<_ACEOF
4888+/* confdefs.h. */
4889+_ACEOF
4890+cat confdefs.h >>conftest.$ac_ext
4891+cat >>conftest.$ac_ext <<_ACEOF
4892+/* end confdefs.h. */
4893+@%:@include <oniguruma.h>
4894+_ACEOF
4895+if { (ac_try="$ac_cpp conftest.$ac_ext"
4896+case "(($ac_try" in
4897+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4898+ *) ac_try_echo=$ac_try;;
4899+esac
4900+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4901+$as_echo "$ac_try_echo") >&5
4902+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4903+ ac_status=$?
4904+ grep -v '^ *+' conftest.er1 >conftest.err
4905+ rm -f conftest.er1
4906+ cat conftest.err >&5
4907+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908+ (exit $ac_status); } >/dev/null && {
4909+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4910+ test ! -s conftest.err
4911+ }; then
4912+ ac_header_preproc=yes
4913+else
4914+ $as_echo "$as_me: failed program was:" >&5
4915+sed 's/^/| /' conftest.$ac_ext >&5
4916+
4917+ ac_header_preproc=no
4918+fi
4919+
4920+rm -f conftest.err conftest.$ac_ext
4921+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4922+$as_echo "$ac_header_preproc" >&6; }
4923+
4924+# So? What about this header?
4925+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4926+ yes:no: )
4927+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: accepted by the compiler, rejected by the preprocessor!" >&5
4928+$as_echo "$as_me: WARNING: oniguruma.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4929+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: proceeding with the compiler's result" >&5
4930+$as_echo "$as_me: WARNING: oniguruma.h: proceeding with the compiler's result" >&2;}
4931+ ac_header_preproc=yes
4932+ ;;
4933+ no:yes:* )
4934+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: present but cannot be compiled" >&5
4935+$as_echo "$as_me: WARNING: oniguruma.h: present but cannot be compiled" >&2;}
4936+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: check for missing prerequisite headers?" >&5
4937+$as_echo "$as_me: WARNING: oniguruma.h: check for missing prerequisite headers?" >&2;}
4938+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: see the Autoconf documentation" >&5
4939+$as_echo "$as_me: WARNING: oniguruma.h: see the Autoconf documentation" >&2;}
4940+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: section \"Present But Cannot Be Compiled\"" >&5
4941+$as_echo "$as_me: WARNING: oniguruma.h: section \"Present But Cannot Be Compiled\"" >&2;}
4942+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: proceeding with the preprocessor's result" >&5
4943+$as_echo "$as_me: WARNING: oniguruma.h: proceeding with the preprocessor's result" >&2;}
4944+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: in the future, the compiler will take precedence" >&5
4945+$as_echo "$as_me: WARNING: oniguruma.h: in the future, the compiler will take precedence" >&2;}
4946+
4947+ ;;
4948+esac
4949+{ $as_echo "$as_me:$LINENO: checking for oniguruma.h" >&5
4950+$as_echo_n "checking for oniguruma.h... " >&6; }
4951+if test "${ac_cv_header_oniguruma_h+set}" = set; then
4952+ $as_echo_n "(cached) " >&6
4953+else
4954+ ac_cv_header_oniguruma_h=$ac_header_preproc
4955+fi
4956+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_oniguruma_h" >&5
4957+$as_echo "$ac_cv_header_oniguruma_h" >&6; }
4958+
4959+fi
4960+if test "x$ac_cv_header_oniguruma_h" = x""yes; then
4961+ LIBS="$LIBS -lonig"; cat >>confdefs.h <<\_ACEOF
4962+@%:@define HAVE_ONIGURUMA_H 1
4963+_ACEOF
4964+
4965+else
4966+ exit
4967+fi
4968+
4969+
4970+
4971+####################################################################
4972+# iconv settings
4973+####################################################################
4974+if test "${ac_cv_header_iconv_h+set}" = set; then
4975+ { $as_echo "$as_me:$LINENO: checking for iconv.h" >&5
4976+$as_echo_n "checking for iconv.h... " >&6; }
4977+if test "${ac_cv_header_iconv_h+set}" = set; then
4978+ $as_echo_n "(cached) " >&6
4979+fi
4980+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
4981+$as_echo "$ac_cv_header_iconv_h" >&6; }
4982+else
4983+ # Is the header compilable?
4984+{ $as_echo "$as_me:$LINENO: checking iconv.h usability" >&5
4985+$as_echo_n "checking iconv.h usability... " >&6; }
4986+cat >conftest.$ac_ext <<_ACEOF
4987+/* confdefs.h. */
4988+_ACEOF
4989+cat confdefs.h >>conftest.$ac_ext
4990+cat >>conftest.$ac_ext <<_ACEOF
4991+/* end confdefs.h. */
4992+$ac_includes_default
4993+@%:@include <iconv.h>
4994+_ACEOF
4995+rm -f conftest.$ac_objext
4996+if { (ac_try="$ac_compile"
4997+case "(($ac_try" in
4998+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4999+ *) ac_try_echo=$ac_try;;
5000+esac
5001+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5002+$as_echo "$ac_try_echo") >&5
5003+ (eval "$ac_compile") 2>conftest.er1
5004+ ac_status=$?
5005+ grep -v '^ *+' conftest.er1 >conftest.err
5006+ rm -f conftest.er1
5007+ cat conftest.err >&5
5008+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009+ (exit $ac_status); } && {
5010+ test -z "$ac_c_werror_flag" ||
5011+ test ! -s conftest.err
5012+ } && test -s conftest.$ac_objext; then
5013+ ac_header_compiler=yes
5014+else
5015+ $as_echo "$as_me: failed program was:" >&5
5016+sed 's/^/| /' conftest.$ac_ext >&5
5017+
5018+ ac_header_compiler=no
5019+fi
5020+
5021+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5023+$as_echo "$ac_header_compiler" >&6; }
5024+
5025+# Is the header present?
5026+{ $as_echo "$as_me:$LINENO: checking iconv.h presence" >&5
5027+$as_echo_n "checking iconv.h presence... " >&6; }
5028+cat >conftest.$ac_ext <<_ACEOF
5029+/* confdefs.h. */
5030+_ACEOF
5031+cat confdefs.h >>conftest.$ac_ext
5032+cat >>conftest.$ac_ext <<_ACEOF
5033+/* end confdefs.h. */
5034+@%:@include <iconv.h>
5035+_ACEOF
5036+if { (ac_try="$ac_cpp conftest.$ac_ext"
5037+case "(($ac_try" in
5038+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5039+ *) ac_try_echo=$ac_try;;
5040+esac
5041+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5042+$as_echo "$ac_try_echo") >&5
5043+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5044+ ac_status=$?
5045+ grep -v '^ *+' conftest.er1 >conftest.err
5046+ rm -f conftest.er1
5047+ cat conftest.err >&5
5048+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049+ (exit $ac_status); } >/dev/null && {
5050+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5051+ test ! -s conftest.err
5052+ }; then
5053+ ac_header_preproc=yes
5054+else
5055+ $as_echo "$as_me: failed program was:" >&5
5056+sed 's/^/| /' conftest.$ac_ext >&5
5057+
5058+ ac_header_preproc=no
5059+fi
5060+
5061+rm -f conftest.err conftest.$ac_ext
5062+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5063+$as_echo "$ac_header_preproc" >&6; }
5064+
5065+# So? What about this header?
5066+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5067+ yes:no: )
5068+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
5069+$as_echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5070+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
5071+$as_echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
5072+ ac_header_preproc=yes
5073+ ;;
5074+ no:yes:* )
5075+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
5076+$as_echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
5077+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
5078+$as_echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
5079+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
5080+$as_echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
5081+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
5082+$as_echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
5083+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
5084+$as_echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
5085+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
5086+$as_echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
5087+
5088+ ;;
5089+esac
5090+{ $as_echo "$as_me:$LINENO: checking for iconv.h" >&5
5091+$as_echo_n "checking for iconv.h... " >&6; }
5092+if test "${ac_cv_header_iconv_h+set}" = set; then
5093+ $as_echo_n "(cached) " >&6
5094+else
5095+ ac_cv_header_iconv_h=$ac_header_preproc
5096+fi
5097+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
5098+$as_echo "$ac_cv_header_iconv_h" >&6; }
5099+
5100+fi
5101+if test "x$ac_cv_header_iconv_h" = x""yes; then
5102+ cat >>confdefs.h <<\_ACEOF
5103+@%:@define HAVE_ICONV_H 1
5104+_ACEOF
5105+
5106+else
5107+ exit
5108+fi
5109+
5110+
5111+
5112+if test "$OS" = CYGWIN|| test "$OS" = DARWIN || test "$OS" = FREEBSD
5113+then
5114+ LIBS="$LIBS -liconv"
5115+fi
5116+
5117+##########################################################################
5118+# migemo
5119+###########################################################################
5120+if test $ENABLE_MIGEMO = 1
5121+then
5122+ if test "${ac_cv_header_migemo_h+set}" = set; then
5123+ { $as_echo "$as_me:$LINENO: checking for migemo.h" >&5
5124+$as_echo_n "checking for migemo.h... " >&6; }
5125+if test "${ac_cv_header_migemo_h+set}" = set; then
5126+ $as_echo_n "(cached) " >&6
5127+fi
5128+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_migemo_h" >&5
5129+$as_echo "$ac_cv_header_migemo_h" >&6; }
5130+else
5131+ # Is the header compilable?
5132+{ $as_echo "$as_me:$LINENO: checking migemo.h usability" >&5
5133+$as_echo_n "checking migemo.h usability... " >&6; }
5134+cat >conftest.$ac_ext <<_ACEOF
5135+/* confdefs.h. */
5136+_ACEOF
5137+cat confdefs.h >>conftest.$ac_ext
5138+cat >>conftest.$ac_ext <<_ACEOF
5139+/* end confdefs.h. */
5140+$ac_includes_default
5141+@%:@include <migemo.h>
5142+_ACEOF
5143+rm -f conftest.$ac_objext
5144+if { (ac_try="$ac_compile"
5145+case "(($ac_try" in
5146+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5147+ *) ac_try_echo=$ac_try;;
5148+esac
5149+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5150+$as_echo "$ac_try_echo") >&5
5151+ (eval "$ac_compile") 2>conftest.er1
5152+ ac_status=$?
5153+ grep -v '^ *+' conftest.er1 >conftest.err
5154+ rm -f conftest.er1
5155+ cat conftest.err >&5
5156+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157+ (exit $ac_status); } && {
5158+ test -z "$ac_c_werror_flag" ||
5159+ test ! -s conftest.err
5160+ } && test -s conftest.$ac_objext; then
5161+ ac_header_compiler=yes
5162+else
5163+ $as_echo "$as_me: failed program was:" >&5
5164+sed 's/^/| /' conftest.$ac_ext >&5
5165+
5166+ ac_header_compiler=no
5167+fi
5168+
5169+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5170+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5171+$as_echo "$ac_header_compiler" >&6; }
5172+
5173+# Is the header present?
5174+{ $as_echo "$as_me:$LINENO: checking migemo.h presence" >&5
5175+$as_echo_n "checking migemo.h presence... " >&6; }
5176+cat >conftest.$ac_ext <<_ACEOF
5177+/* confdefs.h. */
5178+_ACEOF
5179+cat confdefs.h >>conftest.$ac_ext
5180+cat >>conftest.$ac_ext <<_ACEOF
5181+/* end confdefs.h. */
5182+@%:@include <migemo.h>
5183+_ACEOF
5184+if { (ac_try="$ac_cpp conftest.$ac_ext"
5185+case "(($ac_try" in
5186+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5187+ *) ac_try_echo=$ac_try;;
5188+esac
5189+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5190+$as_echo "$ac_try_echo") >&5
5191+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5192+ ac_status=$?
5193+ grep -v '^ *+' conftest.er1 >conftest.err
5194+ rm -f conftest.er1
5195+ cat conftest.err >&5
5196+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197+ (exit $ac_status); } >/dev/null && {
5198+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5199+ test ! -s conftest.err
5200+ }; then
5201+ ac_header_preproc=yes
5202+else
5203+ $as_echo "$as_me: failed program was:" >&5
5204+sed 's/^/| /' conftest.$ac_ext >&5
5205+
5206+ ac_header_preproc=no
5207+fi
5208+
5209+rm -f conftest.err conftest.$ac_ext
5210+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5211+$as_echo "$ac_header_preproc" >&6; }
5212+
5213+# So? What about this header?
5214+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5215+ yes:no: )
5216+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: accepted by the compiler, rejected by the preprocessor!" >&5
5217+$as_echo "$as_me: WARNING: migemo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5218+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: proceeding with the compiler's result" >&5
5219+$as_echo "$as_me: WARNING: migemo.h: proceeding with the compiler's result" >&2;}
5220+ ac_header_preproc=yes
5221+ ;;
5222+ no:yes:* )
5223+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: present but cannot be compiled" >&5
5224+$as_echo "$as_me: WARNING: migemo.h: present but cannot be compiled" >&2;}
5225+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: check for missing prerequisite headers?" >&5
5226+$as_echo "$as_me: WARNING: migemo.h: check for missing prerequisite headers?" >&2;}
5227+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: see the Autoconf documentation" >&5
5228+$as_echo "$as_me: WARNING: migemo.h: see the Autoconf documentation" >&2;}
5229+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: section \"Present But Cannot Be Compiled\"" >&5
5230+$as_echo "$as_me: WARNING: migemo.h: section \"Present But Cannot Be Compiled\"" >&2;}
5231+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: proceeding with the preprocessor's result" >&5
5232+$as_echo "$as_me: WARNING: migemo.h: proceeding with the preprocessor's result" >&2;}
5233+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: in the future, the compiler will take precedence" >&5
5234+$as_echo "$as_me: WARNING: migemo.h: in the future, the compiler will take precedence" >&2;}
5235+
5236+ ;;
5237+esac
5238+{ $as_echo "$as_me:$LINENO: checking for migemo.h" >&5
5239+$as_echo_n "checking for migemo.h... " >&6; }
5240+if test "${ac_cv_header_migemo_h+set}" = set; then
5241+ $as_echo_n "(cached) " >&6
5242+else
5243+ ac_cv_header_migemo_h=$ac_header_preproc
5244+fi
5245+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_migemo_h" >&5
5246+$as_echo "$ac_cv_header_migemo_h" >&6; }
5247+
5248+fi
5249+if test "x$ac_cv_header_migemo_h" = x""yes; then
5250+ LIBS="$LIBS -lmigemo"; cat >>confdefs.h <<\_ACEOF
5251+@%:@define HAVE_MIGEMO_H 1
5252+_ACEOF
5253+
5254+else
5255+ exit
5256+fi
5257+
5258+
5259+fi
5260+
5261+
5262+
5263+ac_config_files="$ac_config_files Makefile"
5264+
5265+cat >confcache <<\_ACEOF
5266+# This file is a shell script that caches the results of configure
5267+# tests run on this system so they can be shared between configure
5268+# scripts and configure runs, see configure's option --config-cache.
5269+# It is not useful on other systems. If it contains results you don't
5270+# want to keep, you may remove or edit it.
5271+#
5272+# config.status only pays attention to the cache file if you give it
5273+# the --recheck option to rerun configure.
5274+#
5275+# `ac_cv_env_foo' variables (set or unset) will be overridden when
5276+# loading this file, other *unset* `ac_cv_foo' will be assigned the
5277+# following values.
5278+
5279+_ACEOF
5280+
5281+# The following way of writing the cache mishandles newlines in values,
5282+# but we know of no workaround that is simple, portable, and efficient.
5283+# So, we kill variables containing newlines.
5284+# Ultrix sh set writes to stderr and can't be redirected directly,
5285+# and sets the high bit in the cache file unless we assign to the vars.
5286+(
5287+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5288+ eval ac_val=\$$ac_var
5289+ case $ac_val in #(
5290+ *${as_nl}*)
5291+ case $ac_var in #(
5292+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5293+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5294+ esac
5295+ case $ac_var in #(
5296+ _ | IFS | as_nl) ;; #(
5297+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5298+ *) $as_unset $ac_var ;;
5299+ esac ;;
5300+ esac
5301+ done
5302+
5303+ (set) 2>&1 |
5304+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
5305+ *${as_nl}ac_space=\ *)
5306+ # `set' does not quote correctly, so add quotes (double-quote
5307+ # substitution turns \\\\ into \\, and sed turns \\ into \).
5308+ sed -n \
5309+ "s/'/'\\\\''/g;
5310+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5311+ ;; #(
5312+ *)
5313+ # `set' quotes correctly as required by POSIX, so do not add quotes.
5314+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5315+ ;;
5316+ esac |
5317+ sort
5318+) |
5319+ sed '
5320+ /^ac_cv_env_/b end
5321+ t clear
5322+ :clear
5323+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5324+ t end
5325+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5326+ :end' >>confcache
5327+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5328+ if test -w "$cache_file"; then
5329+ test "x$cache_file" != "x/dev/null" &&
5330+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5331+$as_echo "$as_me: updating cache $cache_file" >&6;}
5332+ cat confcache >$cache_file
5333+ else
5334+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5335+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5336+ fi
5337+fi
5338+rm -f confcache
5339+
5340+test "x$prefix" = xNONE && prefix=$ac_default_prefix
5341+# Let make expand exec_prefix.
5342+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5343+
5344+DEFS=-DHAVE_CONFIG_H
5345+
5346+ac_libobjs=
5347+ac_ltlibobjs=
5348+for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5349+ # 1. Remove the extension, and $U if already installed.
5350+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5351+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5352+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5353+ # will be set to the directory where LIBOBJS objects are built.
5354+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5355+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5356+done
5357+LIB@&t@OBJS=$ac_libobjs
5358+
5359+LTLIBOBJS=$ac_ltlibobjs
5360+
5361+
5362+
5363+: ${CONFIG_STATUS=./config.status}
5364+ac_write_fail=0
5365+ac_clean_files_save=$ac_clean_files
5366+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5367+{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5368+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5369+cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5370+#! $SHELL
5371+# Generated by $as_me.
5372+# Run this file to recreate the current configuration.
5373+# Compiler output produced by configure, useful for debugging
5374+# configure, is in config.log if it exists.
5375+
5376+debug=false
5377+ac_cs_recheck=false
5378+ac_cs_silent=false
5379+SHELL=\${CONFIG_SHELL-$SHELL}
5380+_ACEOF
5381+
5382+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5383+## --------------------- ##
5384+## M4sh Initialization. ##
5385+## --------------------- ##
5386+
5387+# Be more Bourne compatible
5388+DUALCASE=1; export DUALCASE # for MKS sh
5389+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5390+ emulate sh
5391+ NULLCMD=:
5392+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5393+ # is contrary to our usage. Disable this feature.
5394+ alias -g '${1+"$@"}'='"$@"'
5395+ setopt NO_GLOB_SUBST
5396+else
5397+ case `(set -o) 2>/dev/null` in
5398+ *posix*) set -o posix ;;
5399+esac
5400+
5401+fi
5402+
5403+
5404+
5405+
5406+# PATH needs CR
5407+# Avoid depending upon Character Ranges.
5408+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5409+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5410+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5411+as_cr_digits='0123456789'
5412+as_cr_alnum=$as_cr_Letters$as_cr_digits
5413+
5414+as_nl='
5415+'
5416+export as_nl
5417+# Printing a long string crashes Solaris 7 /usr/bin/printf.
5418+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5419+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5420+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5421+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5422+ as_echo='printf %s\n'
5423+ as_echo_n='printf %s'
5424+else
5425+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5426+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5427+ as_echo_n='/usr/ucb/echo -n'
5428+ else
5429+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5430+ as_echo_n_body='eval
5431+ arg=$1;
5432+ case $arg in
5433+ *"$as_nl"*)
5434+ expr "X$arg" : "X\\(.*\\)$as_nl";
5435+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5436+ esac;
5437+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5438+ '
5439+ export as_echo_n_body
5440+ as_echo_n='sh -c $as_echo_n_body as_echo'
5441+ fi
5442+ export as_echo_body
5443+ as_echo='sh -c $as_echo_body as_echo'
5444+fi
5445+
5446+# The user is always right.
5447+if test "${PATH_SEPARATOR+set}" != set; then
5448+ PATH_SEPARATOR=:
5449+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5450+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5451+ PATH_SEPARATOR=';'
5452+ }
5453+fi
5454+
5455+# Support unset when possible.
5456+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5457+ as_unset=unset
5458+else
5459+ as_unset=false
5460+fi
5461+
5462+
5463+# IFS
5464+# We need space, tab and new line, in precisely that order. Quoting is
5465+# there to prevent editors from complaining about space-tab.
5466+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5467+# splitting by setting IFS to empty value.)
5468+IFS=" "" $as_nl"
5469+
5470+# Find who we are. Look in the path if we contain no directory separator.
5471+case $0 in
5472+ *[\\/]* ) as_myself=$0 ;;
5473+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474+for as_dir in $PATH
5475+do
5476+ IFS=$as_save_IFS
5477+ test -z "$as_dir" && as_dir=.
5478+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5479+done
5480+IFS=$as_save_IFS
5481+
5482+ ;;
5483+esac
5484+# We did not find ourselves, most probably we were run as `sh COMMAND'
5485+# in which case we are not to be found in the path.
5486+if test "x$as_myself" = x; then
5487+ as_myself=$0
5488+fi
5489+if test ! -f "$as_myself"; then
5490+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5491+ { (exit 1); exit 1; }
5492+fi
5493+
5494+# Work around bugs in pre-3.0 UWIN ksh.
5495+for as_var in ENV MAIL MAILPATH
5496+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5497+done
5498+PS1='$ '
5499+PS2='> '
5500+PS4='+ '
5501+
5502+# NLS nuisances.
5503+LC_ALL=C
5504+export LC_ALL
5505+LANGUAGE=C
5506+export LANGUAGE
5507+
5508+# Required to use basename.
5509+if expr a : '\(a\)' >/dev/null 2>&1 &&
5510+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
5511+ as_expr=expr
5512+else
5513+ as_expr=false
5514+fi
5515+
5516+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5517+ as_basename=basename
5518+else
5519+ as_basename=false
5520+fi
5521+
5522+
5523+# Name of the executable.
5524+as_me=`$as_basename -- "$0" ||
5525+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5526+ X"$0" : 'X\(//\)$' \| \
5527+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5528+$as_echo X/"$0" |
5529+ sed '/^.*\/\([^/][^/]*\)\/*$/{
5530+ s//\1/
5531+ q
5532+ }
5533+ /^X\/\(\/\/\)$/{
5534+ s//\1/
5535+ q
5536+ }
5537+ /^X\/\(\/\).*/{
5538+ s//\1/
5539+ q
5540+ }
5541+ s/.*/./; q'`
5542+
5543+# CDPATH.
5544+$as_unset CDPATH
5545+
5546+
5547+
5548+ as_lineno_1=$LINENO
5549+ as_lineno_2=$LINENO
5550+ test "x$as_lineno_1" != "x$as_lineno_2" &&
5551+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5552+
5553+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5554+ # uniformly replaced by the line number. The first 'sed' inserts a
5555+ # line-number line after each line using $LINENO; the second 'sed'
5556+ # does the real work. The second script uses 'N' to pair each
5557+ # line-number line with the line containing $LINENO, and appends
5558+ # trailing '-' during substitution so that $LINENO is not a special
5559+ # case at line end.
5560+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5561+ # scripts with optimization help from Paolo Bonzini. Blame Lee
5562+ # E. McMahon (1931-1989) for sed's syntax. :-)
5563+ sed -n '
5564+ p
5565+ /[$]LINENO/=
5566+ ' <$as_myself |
5567+ sed '
5568+ s/[$]LINENO.*/&-/
5569+ t lineno
5570+ b
5571+ :lineno
5572+ N
5573+ :loop
5574+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5575+ t loop
5576+ s/-\n.*//
5577+ ' >$as_me.lineno &&
5578+ chmod +x "$as_me.lineno" ||
5579+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5580+ { (exit 1); exit 1; }; }
5581+
5582+ # Don't try to exec as it changes $[0], causing all sort of problems
5583+ # (the dirname of $[0] is not the place where we might find the
5584+ # original and so on. Autoconf is especially sensitive to this).
5585+ . "./$as_me.lineno"
5586+ # Exit status is that of the last command.
5587+ exit
5588+}
5589+
5590+
5591+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5592+ as_dirname=dirname
5593+else
5594+ as_dirname=false
5595+fi
5596+
5597+ECHO_C= ECHO_N= ECHO_T=
5598+case `echo -n x` in
5599+-n*)
5600+ case `echo 'x\c'` in
5601+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5602+ *) ECHO_C='\c';;
5603+ esac;;
5604+*)
5605+ ECHO_N='-n';;
5606+esac
5607+if expr a : '\(a\)' >/dev/null 2>&1 &&
5608+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
5609+ as_expr=expr
5610+else
5611+ as_expr=false
5612+fi
5613+
5614+rm -f conf$$ conf$$.exe conf$$.file
5615+if test -d conf$$.dir; then
5616+ rm -f conf$$.dir/conf$$.file
5617+else
5618+ rm -f conf$$.dir
5619+ mkdir conf$$.dir 2>/dev/null
5620+fi
5621+if (echo >conf$$.file) 2>/dev/null; then
5622+ if ln -s conf$$.file conf$$ 2>/dev/null; then
5623+ as_ln_s='ln -s'
5624+ # ... but there are two gotchas:
5625+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5626+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5627+ # In both cases, we have to default to `cp -p'.
5628+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5629+ as_ln_s='cp -p'
5630+ elif ln conf$$.file conf$$ 2>/dev/null; then
5631+ as_ln_s=ln
5632+ else
5633+ as_ln_s='cp -p'
5634+ fi
5635+else
5636+ as_ln_s='cp -p'
5637+fi
5638+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5639+rmdir conf$$.dir 2>/dev/null
5640+
5641+if mkdir -p . 2>/dev/null; then
5642+ as_mkdir_p=:
5643+else
5644+ test -d ./-p && rmdir ./-p
5645+ as_mkdir_p=false
5646+fi
5647+
5648+if test -x / >/dev/null 2>&1; then
5649+ as_test_x='test -x'
5650+else
5651+ if ls -dL / >/dev/null 2>&1; then
5652+ as_ls_L_option=L
5653+ else
5654+ as_ls_L_option=
5655+ fi
5656+ as_test_x='
5657+ eval sh -c '\''
5658+ if test -d "$1"; then
5659+ test -d "$1/.";
5660+ else
5661+ case $1 in
5662+ -*)set "./$1";;
5663+ esac;
5664+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5665+ ???[sx]*):;;*)false;;esac;fi
5666+ '\'' sh
5667+ '
5668+fi
5669+as_executable_p=$as_test_x
5670+
5671+# Sed expression to map a string onto a valid CPP name.
5672+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5673+
5674+# Sed expression to map a string onto a valid variable name.
5675+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5676+
5677+
5678+exec 6>&1
5679+
5680+# Save the log message, to keep $[0] and so on meaningful, and to
5681+# report actual input values of CONFIG_FILES etc. instead of their
5682+# values after options handling.
5683+ac_log="
5684+This file was extended by $as_me, which was
5685+generated by GNU Autoconf 2.63. Invocation command line was
5686+
5687+ CONFIG_FILES = $CONFIG_FILES
5688+ CONFIG_HEADERS = $CONFIG_HEADERS
5689+ CONFIG_LINKS = $CONFIG_LINKS
5690+ CONFIG_COMMANDS = $CONFIG_COMMANDS
5691+ $ $0 $@
5692+
5693+on `(hostname || uname -n) 2>/dev/null | sed 1q`
5694+"
5695+
5696+_ACEOF
5697+
5698+case $ac_config_files in *"
5699+"*) set x $ac_config_files; shift; ac_config_files=$*;;
5700+esac
5701+
5702+case $ac_config_headers in *"
5703+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5704+esac
5705+
5706+
5707+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5708+# Files that config.status was made for.
5709+config_files="$ac_config_files"
5710+config_headers="$ac_config_headers"
5711+
5712+_ACEOF
5713+
5714+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5715+ac_cs_usage="\
5716+\`$as_me' instantiates files from templates according to the
5717+current configuration.
5718+
5719+Usage: $0 [OPTION]... [FILE]...
5720+
5721+ -h, --help print this help, then exit
5722+ -V, --version print version number and configuration settings, then exit
5723+ -q, --quiet, --silent
5724+ do not print progress messages
5725+ -d, --debug don't remove temporary files
5726+ --recheck update $as_me by reconfiguring in the same conditions
5727+ --file=FILE[:TEMPLATE]
5728+ instantiate the configuration file FILE
5729+ --header=FILE[:TEMPLATE]
5730+ instantiate the configuration header FILE
5731+
5732+Configuration files:
5733+$config_files
5734+
5735+Configuration headers:
5736+$config_headers
5737+
5738+Report bugs to <bug-autoconf@gnu.org>."
5739+
5740+_ACEOF
5741+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5742+ac_cs_version="\\
5743+config.status
5744+configured by $0, generated by GNU Autoconf 2.63,
5745+ with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5746+
5747+Copyright (C) 2008 Free Software Foundation, Inc.
5748+This config.status script is free software; the Free Software Foundation
5749+gives unlimited permission to copy, distribute and modify it."
5750+
5751+ac_pwd='$ac_pwd'
5752+srcdir='$srcdir'
5753+INSTALL='$INSTALL'
5754+test -n "\$AWK" || AWK=awk
5755+_ACEOF
5756+
5757+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5758+# The default lists apply if the user does not specify any file.
5759+ac_need_defaults=:
5760+while test $# != 0
5761+do
5762+ case $1 in
5763+ --*=*)
5764+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
5765+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5766+ ac_shift=:
5767+ ;;
5768+ *)
5769+ ac_option=$1
5770+ ac_optarg=$2
5771+ ac_shift=shift
5772+ ;;
5773+ esac
5774+
5775+ case $ac_option in
5776+ # Handling of the options.
5777+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5778+ ac_cs_recheck=: ;;
5779+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5780+ $as_echo "$ac_cs_version"; exit ;;
5781+ --debug | --debu | --deb | --de | --d | -d )
5782+ debug=: ;;
5783+ --file | --fil | --fi | --f )
5784+ $ac_shift
5785+ case $ac_optarg in
5786+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5787+ esac
5788+ CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5789+ ac_need_defaults=false;;
5790+ --header | --heade | --head | --hea )
5791+ $ac_shift
5792+ case $ac_optarg in
5793+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5794+ esac
5795+ CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5796+ ac_need_defaults=false;;
5797+ --he | --h)
5798+ # Conflict between --help and --header
5799+ { $as_echo "$as_me: error: ambiguous option: $1
5800+Try \`$0 --help' for more information." >&2
5801+ { (exit 1); exit 1; }; };;
5802+ --help | --hel | -h )
5803+ $as_echo "$ac_cs_usage"; exit ;;
5804+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5805+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
5806+ ac_cs_silent=: ;;
5807+
5808+ # This is an error.
5809+ -*) { $as_echo "$as_me: error: unrecognized option: $1
5810+Try \`$0 --help' for more information." >&2
5811+ { (exit 1); exit 1; }; } ;;
5812+
5813+ *) ac_config_targets="$ac_config_targets $1"
5814+ ac_need_defaults=false ;;
5815+
5816+ esac
5817+ shift
5818+done
5819+
5820+ac_configure_extra_args=
5821+
5822+if $ac_cs_silent; then
5823+ exec 6>/dev/null
5824+ ac_configure_extra_args="$ac_configure_extra_args --silent"
5825+fi
5826+
5827+_ACEOF
5828+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5829+if \$ac_cs_recheck; then
5830+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5831+ shift
5832+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5833+ CONFIG_SHELL='$SHELL'
5834+ export CONFIG_SHELL
5835+ exec "\$@"
5836+fi
5837+
5838+_ACEOF
5839+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5840+exec 5>>config.log
5841+{
5842+ echo
5843+ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5844+@%:@@%:@ Running $as_me. @%:@@%:@
5845+_ASBOX
5846+ $as_echo "$ac_log"
5847+} >&5
5848+
5849+_ACEOF
5850+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5851+_ACEOF
5852+
5853+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5854+
5855+# Handling of arguments.
5856+for ac_config_target in $ac_config_targets
5857+do
5858+ case $ac_config_target in
5859+ "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
5860+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5861+
5862+ *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5863+$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5864+ { (exit 1); exit 1; }; };;
5865+ esac
5866+done
5867+
5868+
5869+# If the user did not use the arguments to specify the items to instantiate,
5870+# then the envvar interface is used. Set only those that are not.
5871+# We use the long form for the default assignment because of an extremely
5872+# bizarre bug on SunOS 4.1.3.
5873+if $ac_need_defaults; then
5874+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5875+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5876+fi
5877+
5878+# Have a temporary directory for convenience. Make it in the build tree
5879+# simply because there is no reason against having it here, and in addition,
5880+# creating and moving files from /tmp can sometimes cause problems.
5881+# Hook for its removal unless debugging.
5882+# Note that there is a small window in which the directory will not be cleaned:
5883+# after its creation but before its name has been assigned to `$tmp'.
5884+$debug ||
5885+{
5886+ tmp=
5887+ trap 'exit_status=$?
5888+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5889+' 0
5890+ trap '{ (exit 1); exit 1; }' 1 2 13 15
5891+}
5892+# Create a (secure) tmp directory for tmp files.
5893+
5894+{
5895+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5896+ test -n "$tmp" && test -d "$tmp"
5897+} ||
5898+{
5899+ tmp=./conf$$-$RANDOM
5900+ (umask 077 && mkdir "$tmp")
5901+} ||
5902+{
5903+ $as_echo "$as_me: cannot create a temporary directory in ." >&2
5904+ { (exit 1); exit 1; }
5905+}
5906+
5907+# Set up the scripts for CONFIG_FILES section.
5908+# No need to generate them if there are no CONFIG_FILES.
5909+# This happens for instance with `./config.status config.h'.
5910+if test -n "$CONFIG_FILES"; then
5911+
5912+
5913+ac_cr=' '
5914+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5915+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5916+ ac_cs_awk_cr='\\r'
5917+else
5918+ ac_cs_awk_cr=$ac_cr
5919+fi
5920+
5921+echo 'BEGIN {' >"$tmp/subs1.awk" &&
5922+_ACEOF
5923+
5924+
5925+{
5926+ echo "cat >conf$$subs.awk <<_ACEOF" &&
5927+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5928+ echo "_ACEOF"
5929+} >conf$$subs.sh ||
5930+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5931+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5932+ { (exit 1); exit 1; }; }
5933+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5934+ac_delim='%!_!# '
5935+for ac_last_try in false false false false false :; do
5936+ . ./conf$$subs.sh ||
5937+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5938+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5939+ { (exit 1); exit 1; }; }
5940+
5941+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5942+ if test $ac_delim_n = $ac_delim_num; then
5943+ break
5944+ elif $ac_last_try; then
5945+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5946+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5947+ { (exit 1); exit 1; }; }
5948+ else
5949+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5950+ fi
5951+done
5952+rm -f conf$$subs.sh
5953+
5954+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5955+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5956+_ACEOF
5957+sed -n '
5958+h
5959+s/^/S["/; s/!.*/"]=/
5960+p
5961+g
5962+s/^[^!]*!//
5963+:repl
5964+t repl
5965+s/'"$ac_delim"'$//
5966+t delim
5967+:nl
5968+h
5969+s/\(.\{148\}\).*/\1/
5970+t more1
5971+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5972+p
5973+n
5974+b repl
5975+:more1
5976+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5977+p
5978+g
5979+s/.\{148\}//
5980+t nl
5981+:delim
5982+h
5983+s/\(.\{148\}\).*/\1/
5984+t more2
5985+s/["\\]/\\&/g; s/^/"/; s/$/"/
5986+p
5987+b
5988+:more2
5989+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5990+p
5991+g
5992+s/.\{148\}//
5993+t delim
5994+' <conf$$subs.awk | sed '
5995+/^[^""]/{
5996+ N
5997+ s/\n//
5998+}
5999+' >>$CONFIG_STATUS || ac_write_fail=1
6000+rm -f conf$$subs.awk
6001+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6002+_ACAWK
6003+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6004+ for (key in S) S_is_set[key] = 1
6005+ FS = ""
6006+
6007+}
6008+{
6009+ line = $ 0
6010+ nfields = split(line, field, "@")
6011+ substed = 0
6012+ len = length(field[1])
6013+ for (i = 2; i < nfields; i++) {
6014+ key = field[i]
6015+ keylen = length(key)
6016+ if (S_is_set[key]) {
6017+ value = S[key]
6018+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6019+ len += length(value) + length(field[++i])
6020+ substed = 1
6021+ } else
6022+ len += 1 + keylen
6023+ }
6024+
6025+ print line
6026+}
6027+
6028+_ACAWK
6029+_ACEOF
6030+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6031+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6032+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6033+else
6034+ cat
6035+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6036+ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6037+$as_echo "$as_me: error: could not setup config files machinery" >&2;}
6038+ { (exit 1); exit 1; }; }
6039+_ACEOF
6040+
6041+# VPATH may cause trouble with some makes, so we remove $(srcdir),
6042+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6043+# trailing colons and then remove the whole line if VPATH becomes empty
6044+# (actually we leave an empty line to preserve line numbers).
6045+if test "x$srcdir" = x.; then
6046+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
6047+s/:*\$(srcdir):*/:/
6048+s/:*\${srcdir}:*/:/
6049+s/:*@srcdir@:*/:/
6050+s/^\([^=]*=[ ]*\):*/\1/
6051+s/:*$//
6052+s/^[^=]*=[ ]*$//
6053+}'
6054+fi
6055+
6056+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6057+fi # test -n "$CONFIG_FILES"
6058+
6059+# Set up the scripts for CONFIG_HEADERS section.
6060+# No need to generate them if there are no CONFIG_HEADERS.
6061+# This happens for instance with `./config.status Makefile'.
6062+if test -n "$CONFIG_HEADERS"; then
6063+cat >"$tmp/defines.awk" <<\_ACAWK ||
6064+BEGIN {
6065+_ACEOF
6066+
6067+# Transform confdefs.h into an awk script `defines.awk', embedded as
6068+# here-document in config.status, that substitutes the proper values into
6069+# config.h.in to produce config.h.
6070+
6071+# Create a delimiter string that does not exist in confdefs.h, to ease
6072+# handling of long lines.
6073+ac_delim='%!_!# '
6074+for ac_last_try in false false :; do
6075+ ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6076+ if test -z "$ac_t"; then
6077+ break
6078+ elif $ac_last_try; then
6079+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6080+$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6081+ { (exit 1); exit 1; }; }
6082+ else
6083+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6084+ fi
6085+done
6086+
6087+# For the awk script, D is an array of macro values keyed by name,
6088+# likewise P contains macro parameters if any. Preserve backslash
6089+# newline sequences.
6090+
6091+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6092+sed -n '
6093+s/.\{148\}/&'"$ac_delim"'/g
6094+t rset
6095+:rset
6096+s/^[ ]*#[ ]*define[ ][ ]*/ /
6097+t def
6098+d
6099+:def
6100+s/\\$//
6101+t bsnl
6102+s/["\\]/\\&/g
6103+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6104+D["\1"]=" \3"/p
6105+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6106+d
6107+:bsnl
6108+s/["\\]/\\&/g
6109+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6110+D["\1"]=" \3\\\\\\n"\\/p
6111+t cont
6112+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6113+t cont
6114+d
6115+:cont
6116+n
6117+s/.\{148\}/&'"$ac_delim"'/g
6118+t clear
6119+:clear
6120+s/\\$//
6121+t bsnlc
6122+s/["\\]/\\&/g; s/^/"/; s/$/"/p
6123+d
6124+:bsnlc
6125+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6126+b cont
6127+' <confdefs.h | sed '
6128+s/'"$ac_delim"'/"\\\
6129+"/g' >>$CONFIG_STATUS || ac_write_fail=1
6130+
6131+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6132+ for (key in D) D_is_set[key] = 1
6133+ FS = ""
6134+}
6135+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6136+ line = \$ 0
6137+ split(line, arg, " ")
6138+ if (arg[1] == "#") {
6139+ defundef = arg[2]
6140+ mac1 = arg[3]
6141+ } else {
6142+ defundef = substr(arg[1], 2)
6143+ mac1 = arg[2]
6144+ }
6145+ split(mac1, mac2, "(") #)
6146+ macro = mac2[1]
6147+ prefix = substr(line, 1, index(line, defundef) - 1)
6148+ if (D_is_set[macro]) {
6149+ # Preserve the white space surrounding the "#".
6150+ print prefix "define", macro P[macro] D[macro]
6151+ next
6152+ } else {
6153+ # Replace #undef with comments. This is necessary, for example,
6154+ # in the case of _POSIX_SOURCE, which is predefined and required
6155+ # on some systems where configure will not decide to define it.
6156+ if (defundef == "undef") {
6157+ print "/*", prefix defundef, macro, "*/"
6158+ next
6159+ }
6160+ }
6161+}
6162+{ print }
6163+_ACAWK
6164+_ACEOF
6165+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6166+ { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6167+$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6168+ { (exit 1); exit 1; }; }
6169+fi # test -n "$CONFIG_HEADERS"
6170+
6171+
6172+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6173+shift
6174+for ac_tag
6175+do
6176+ case $ac_tag in
6177+ :[FHLC]) ac_mode=$ac_tag; continue;;
6178+ esac
6179+ case $ac_mode$ac_tag in
6180+ :[FHL]*:*);;
6181+ :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6182+$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6183+ { (exit 1); exit 1; }; };;
6184+ :[FH]-) ac_tag=-:-;;
6185+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6186+ esac
6187+ ac_save_IFS=$IFS
6188+ IFS=:
6189+ set x $ac_tag
6190+ IFS=$ac_save_IFS
6191+ shift
6192+ ac_file=$1
6193+ shift
6194+
6195+ case $ac_mode in
6196+ :L) ac_source=$1;;
6197+ :[FH])
6198+ ac_file_inputs=
6199+ for ac_f
6200+ do
6201+ case $ac_f in
6202+ -) ac_f="$tmp/stdin";;
6203+ *) # Look for the file first in the build tree, then in the source tree
6204+ # (if the path is not absolute). The absolute path cannot be DOS-style,
6205+ # because $ac_f cannot contain `:'.
6206+ test -f "$ac_f" ||
6207+ case $ac_f in
6208+ [\\/$]*) false;;
6209+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6210+ esac ||
6211+ { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6212+$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6213+ { (exit 1); exit 1; }; };;
6214+ esac
6215+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6216+ ac_file_inputs="$ac_file_inputs '$ac_f'"
6217+ done
6218+
6219+ # Let's still pretend it is `configure' which instantiates (i.e., don't
6220+ # use $as_me), people would be surprised to read:
6221+ # /* config.h. Generated by config.status. */
6222+ configure_input='Generated from '`
6223+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6224+ `' by configure.'
6225+ if test x"$ac_file" != x-; then
6226+ configure_input="$ac_file. $configure_input"
6227+ { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6228+$as_echo "$as_me: creating $ac_file" >&6;}
6229+ fi
6230+ # Neutralize special characters interpreted by sed in replacement strings.
6231+ case $configure_input in #(
6232+ *\&* | *\|* | *\\* )
6233+ ac_sed_conf_input=`$as_echo "$configure_input" |
6234+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
6235+ *) ac_sed_conf_input=$configure_input;;
6236+ esac
6237+
6238+ case $ac_tag in
6239+ *:-:* | *:-) cat >"$tmp/stdin" \
6240+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6241+$as_echo "$as_me: error: could not create $ac_file" >&2;}
6242+ { (exit 1); exit 1; }; } ;;
6243+ esac
6244+ ;;
6245+ esac
6246+
6247+ ac_dir=`$as_dirname -- "$ac_file" ||
6248+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6249+ X"$ac_file" : 'X\(//\)[^/]' \| \
6250+ X"$ac_file" : 'X\(//\)$' \| \
6251+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6252+$as_echo X"$ac_file" |
6253+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6254+ s//\1/
6255+ q
6256+ }
6257+ /^X\(\/\/\)[^/].*/{
6258+ s//\1/
6259+ q
6260+ }
6261+ /^X\(\/\/\)$/{
6262+ s//\1/
6263+ q
6264+ }
6265+ /^X\(\/\).*/{
6266+ s//\1/
6267+ q
6268+ }
6269+ s/.*/./; q'`
6270+ { as_dir="$ac_dir"
6271+ case $as_dir in #(
6272+ -*) as_dir=./$as_dir;;
6273+ esac
6274+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6275+ as_dirs=
6276+ while :; do
6277+ case $as_dir in #(
6278+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6279+ *) as_qdir=$as_dir;;
6280+ esac
6281+ as_dirs="'$as_qdir' $as_dirs"
6282+ as_dir=`$as_dirname -- "$as_dir" ||
6283+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6284+ X"$as_dir" : 'X\(//\)[^/]' \| \
6285+ X"$as_dir" : 'X\(//\)$' \| \
6286+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6287+$as_echo X"$as_dir" |
6288+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6289+ s//\1/
6290+ q
6291+ }
6292+ /^X\(\/\/\)[^/].*/{
6293+ s//\1/
6294+ q
6295+ }
6296+ /^X\(\/\/\)$/{
6297+ s//\1/
6298+ q
6299+ }
6300+ /^X\(\/\).*/{
6301+ s//\1/
6302+ q
6303+ }
6304+ s/.*/./; q'`
6305+ test -d "$as_dir" && break
6306+ done
6307+ test -z "$as_dirs" || eval "mkdir $as_dirs"
6308+ } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6309+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6310+ { (exit 1); exit 1; }; }; }
6311+ ac_builddir=.
6312+
6313+case "$ac_dir" in
6314+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6315+*)
6316+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6317+ # A ".." for each directory in $ac_dir_suffix.
6318+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6319+ case $ac_top_builddir_sub in
6320+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6321+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6322+ esac ;;
6323+esac
6324+ac_abs_top_builddir=$ac_pwd
6325+ac_abs_builddir=$ac_pwd$ac_dir_suffix
6326+# for backward compatibility:
6327+ac_top_builddir=$ac_top_build_prefix
6328+
6329+case $srcdir in
6330+ .) # We are building in place.
6331+ ac_srcdir=.
6332+ ac_top_srcdir=$ac_top_builddir_sub
6333+ ac_abs_top_srcdir=$ac_pwd ;;
6334+ [\\/]* | ?:[\\/]* ) # Absolute name.
6335+ ac_srcdir=$srcdir$ac_dir_suffix;
6336+ ac_top_srcdir=$srcdir
6337+ ac_abs_top_srcdir=$srcdir ;;
6338+ *) # Relative name.
6339+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6340+ ac_top_srcdir=$ac_top_build_prefix$srcdir
6341+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6342+esac
6343+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6344+
6345+
6346+ case $ac_mode in
6347+ :F)
6348+ #
6349+ # CONFIG_FILE
6350+ #
6351+
6352+ case $INSTALL in
6353+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6354+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6355+ esac
6356+_ACEOF
6357+
6358+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6359+# If the template does not know about datarootdir, expand it.
6360+# FIXME: This hack should be removed a few years after 2.60.
6361+ac_datarootdir_hack=; ac_datarootdir_seen=
6362+
6363+ac_sed_dataroot='
6364+/datarootdir/ {
6365+ p
6366+ q
6367+}
6368+/@datadir@/p
6369+/@docdir@/p
6370+/@infodir@/p
6371+/@localedir@/p
6372+/@mandir@/p
6373+'
6374+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6375+*datarootdir*) ac_datarootdir_seen=yes;;
6376+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6377+ { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6378+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6379+_ACEOF
6380+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6381+ ac_datarootdir_hack='
6382+ s&@datadir@&$datadir&g
6383+ s&@docdir@&$docdir&g
6384+ s&@infodir@&$infodir&g
6385+ s&@localedir@&$localedir&g
6386+ s&@mandir@&$mandir&g
6387+ s&\\\${datarootdir}&$datarootdir&g' ;;
6388+esac
6389+_ACEOF
6390+
6391+# Neutralize VPATH when `$srcdir' = `.'.
6392+# Shell code in configure.ac might set extrasub.
6393+# FIXME: do we really want to maintain this feature?
6394+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6395+ac_sed_extra="$ac_vpsub
6396+$extrasub
6397+_ACEOF
6398+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6399+:t
6400+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6401+s|@configure_input@|$ac_sed_conf_input|;t t
6402+s&@top_builddir@&$ac_top_builddir_sub&;t t
6403+s&@top_build_prefix@&$ac_top_build_prefix&;t t
6404+s&@srcdir@&$ac_srcdir&;t t
6405+s&@abs_srcdir@&$ac_abs_srcdir&;t t
6406+s&@top_srcdir@&$ac_top_srcdir&;t t
6407+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6408+s&@builddir@&$ac_builddir&;t t
6409+s&@abs_builddir@&$ac_abs_builddir&;t t
6410+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6411+s&@INSTALL@&$ac_INSTALL&;t t
6412+$ac_datarootdir_hack
6413+"
6414+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6415+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6416+$as_echo "$as_me: error: could not create $ac_file" >&2;}
6417+ { (exit 1); exit 1; }; }
6418+
6419+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6420+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6421+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6422+ { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6423+which seems to be undefined. Please make sure it is defined." >&5
6424+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6425+which seems to be undefined. Please make sure it is defined." >&2;}
6426+
6427+ rm -f "$tmp/stdin"
6428+ case $ac_file in
6429+ -) cat "$tmp/out" && rm -f "$tmp/out";;
6430+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6431+ esac \
6432+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6433+$as_echo "$as_me: error: could not create $ac_file" >&2;}
6434+ { (exit 1); exit 1; }; }
6435+ ;;
6436+ :H)
6437+ #
6438+ # CONFIG_HEADER
6439+ #
6440+ if test x"$ac_file" != x-; then
6441+ {
6442+ $as_echo "/* $configure_input */" \
6443+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6444+ } >"$tmp/config.h" \
6445+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6446+$as_echo "$as_me: error: could not create $ac_file" >&2;}
6447+ { (exit 1); exit 1; }; }
6448+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6449+ { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6450+$as_echo "$as_me: $ac_file is unchanged" >&6;}
6451+ else
6452+ rm -f "$ac_file"
6453+ mv "$tmp/config.h" "$ac_file" \
6454+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6455+$as_echo "$as_me: error: could not create $ac_file" >&2;}
6456+ { (exit 1); exit 1; }; }
6457+ fi
6458+ else
6459+ $as_echo "/* $configure_input */" \
6460+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6461+ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6462+$as_echo "$as_me: error: could not create -" >&2;}
6463+ { (exit 1); exit 1; }; }
6464+ fi
6465+ ;;
6466+
6467+
6468+ esac
6469+
6470+done # for ac_tag
6471+
6472+
6473+{ (exit 0); exit 0; }
6474+_ACEOF
6475+chmod +x $CONFIG_STATUS
6476+ac_clean_files=$ac_clean_files_save
6477+
6478+test $ac_write_fail = 0 ||
6479+ { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6480+$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6481+ { (exit 1); exit 1; }; }
6482+
6483+
6484+# configure is writing to config.log, and then calls config.status.
6485+# config.status does its own redirection, appending to config.log.
6486+# Unfortunately, on DOS this fails, as config.log is still kept open
6487+# by configure, so config.status won't be able to write to it; its
6488+# output is simply discarded. So we exec the FD to /dev/null,
6489+# effectively closing config.log, so it can be properly (re)opened and
6490+# appended to by config.status. When coming back to configure, we
6491+# need to make the FD available again.
6492+if test "$no_create" != yes; then
6493+ ac_cs_success=:
6494+ ac_config_status_args=
6495+ test "$silent" = yes &&
6496+ ac_config_status_args="$ac_config_status_args --quiet"
6497+ exec 5>/dev/null
6498+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6499+ exec 5>>config.log
6500+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6501+ # would make configure fail if this is the last instruction.
6502+ $ac_cs_success || { (exit 1); exit 1; }
6503+fi
6504+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6505+ { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6506+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6507+fi
6508+
6509+
--- /dev/null
+++ b/autom4te.cache/requests
@@ -0,0 +1,66 @@
1+# This file was generated.
2+# It contains the lists of macros which have been traced.
3+# It can be safely removed.
4+
5+@request = (
6+ bless( [
7+ '0',
8+ 1,
9+ [
10+ '/usr/share/autoconf'
11+ ],
12+ [
13+ '/usr/share/autoconf/autoconf/autoconf.m4f',
14+ 'configure.in'
15+ ],
16+ {
17+ '_LT_AC_TAGCONFIG' => 1,
18+ 'AM_PROG_F77_C_O' => 1,
19+ 'AC_INIT' => 1,
20+ 'm4_pattern_forbid' => 1,
21+ '_AM_COND_IF' => 1,
22+ 'AC_CANONICAL_TARGET' => 1,
23+ 'AC_SUBST' => 1,
24+ 'AC_CONFIG_LIBOBJ_DIR' => 1,
25+ 'AC_FC_SRCEXT' => 1,
26+ 'AC_CANONICAL_HOST' => 1,
27+ 'AC_PROG_LIBTOOL' => 1,
28+ 'AM_INIT_AUTOMAKE' => 1,
29+ 'AC_CONFIG_SUBDIRS' => 1,
30+ 'AM_AUTOMAKE_VERSION' => 1,
31+ 'LT_CONFIG_LTDL_DIR' => 1,
32+ 'AC_REQUIRE_AUX_FILE' => 1,
33+ 'AC_CONFIG_LINKS' => 1,
34+ 'm4_sinclude' => 1,
35+ 'LT_SUPPORTED_TAG' => 1,
36+ 'AM_MAINTAINER_MODE' => 1,
37+ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
38+ '_m4_warn' => 1,
39+ 'AM_PROG_CXX_C_O' => 1,
40+ '_AM_COND_ENDIF' => 1,
41+ 'AM_ENABLE_MULTILIB' => 1,
42+ 'AC_CONFIG_FILES' => 1,
43+ 'include' => 1,
44+ 'LT_INIT' => 1,
45+ 'AM_GNU_GETTEXT' => 1,
46+ 'AC_LIBSOURCE' => 1,
47+ 'AM_PROG_FC_C_O' => 1,
48+ 'AC_CANONICAL_BUILD' => 1,
49+ 'AC_FC_FREEFORM' => 1,
50+ 'AH_OUTPUT' => 1,
51+ '_AM_SUBST_NOTMAKE' => 1,
52+ 'AC_CONFIG_AUX_DIR' => 1,
53+ 'sinclude' => 1,
54+ 'm4_pattern_allow' => 1,
55+ 'AM_PROG_CC_C_O' => 1,
56+ 'AC_CANONICAL_SYSTEM' => 1,
57+ 'AM_CONDITIONAL' => 1,
58+ 'AC_CONFIG_HEADERS' => 1,
59+ 'AC_DEFINE_TRACE_LITERAL' => 1,
60+ 'm4_include' => 1,
61+ '_AM_COND_ELSE' => 1,
62+ 'AC_SUBST_TRACE' => 1
63+ }
64+ ], 'Autom4te::Request' )
65+ );
66+
--- /dev/null
+++ b/autom4te.cache/traces.0
@@ -0,0 +1,296 @@
1+m4trace:configure.in:1: -1- AC_INIT([src/main.c])
2+m4trace:configure.in:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
3+m4trace:configure.in:1: -1- m4_pattern_forbid([_AC_])
4+m4trace:configure.in:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
5+m4trace:configure.in:1: -1- m4_pattern_allow([^AS_FLAGS$])
6+m4trace:configure.in:1: -1- m4_pattern_forbid([^_?m4_])
7+m4trace:configure.in:1: -1- m4_pattern_forbid([^dnl$])
8+m4trace:configure.in:1: -1- m4_pattern_forbid([^_?AS_])
9+m4trace:configure.in:1: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
10+m4trace:configure.in:1: -1- AC_SUBST_TRACE([SHELL])
11+m4trace:configure.in:1: -1- m4_pattern_allow([^SHELL$])
12+m4trace:configure.in:1: -1- AC_SUBST([PATH_SEPARATOR])
13+m4trace:configure.in:1: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
14+m4trace:configure.in:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
15+m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
16+m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_NAME])
17+m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
18+m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
19+m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
20+m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
21+m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
22+m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
23+m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
24+m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
25+m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_STRING])
26+m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
27+m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
28+m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
29+m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
30+m4trace:configure.in:1: -1- AC_SUBST([exec_prefix], [NONE])
31+m4trace:configure.in:1: -1- AC_SUBST_TRACE([exec_prefix])
32+m4trace:configure.in:1: -1- m4_pattern_allow([^exec_prefix$])
33+m4trace:configure.in:1: -1- AC_SUBST([prefix], [NONE])
34+m4trace:configure.in:1: -1- AC_SUBST_TRACE([prefix])
35+m4trace:configure.in:1: -1- m4_pattern_allow([^prefix$])
36+m4trace:configure.in:1: -1- AC_SUBST([program_transform_name], [s,x,x,])
37+m4trace:configure.in:1: -1- AC_SUBST_TRACE([program_transform_name])
38+m4trace:configure.in:1: -1- m4_pattern_allow([^program_transform_name$])
39+m4trace:configure.in:1: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
40+m4trace:configure.in:1: -1- AC_SUBST_TRACE([bindir])
41+m4trace:configure.in:1: -1- m4_pattern_allow([^bindir$])
42+m4trace:configure.in:1: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
43+m4trace:configure.in:1: -1- AC_SUBST_TRACE([sbindir])
44+m4trace:configure.in:1: -1- m4_pattern_allow([^sbindir$])
45+m4trace:configure.in:1: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
46+m4trace:configure.in:1: -1- AC_SUBST_TRACE([libexecdir])
47+m4trace:configure.in:1: -1- m4_pattern_allow([^libexecdir$])
48+m4trace:configure.in:1: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
49+m4trace:configure.in:1: -1- AC_SUBST_TRACE([datarootdir])
50+m4trace:configure.in:1: -1- m4_pattern_allow([^datarootdir$])
51+m4trace:configure.in:1: -1- AC_SUBST([datadir], ['${datarootdir}'])
52+m4trace:configure.in:1: -1- AC_SUBST_TRACE([datadir])
53+m4trace:configure.in:1: -1- m4_pattern_allow([^datadir$])
54+m4trace:configure.in:1: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
55+m4trace:configure.in:1: -1- AC_SUBST_TRACE([sysconfdir])
56+m4trace:configure.in:1: -1- m4_pattern_allow([^sysconfdir$])
57+m4trace:configure.in:1: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
58+m4trace:configure.in:1: -1- AC_SUBST_TRACE([sharedstatedir])
59+m4trace:configure.in:1: -1- m4_pattern_allow([^sharedstatedir$])
60+m4trace:configure.in:1: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
61+m4trace:configure.in:1: -1- AC_SUBST_TRACE([localstatedir])
62+m4trace:configure.in:1: -1- m4_pattern_allow([^localstatedir$])
63+m4trace:configure.in:1: -1- AC_SUBST([includedir], ['${prefix}/include'])
64+m4trace:configure.in:1: -1- AC_SUBST_TRACE([includedir])
65+m4trace:configure.in:1: -1- m4_pattern_allow([^includedir$])
66+m4trace:configure.in:1: -1- AC_SUBST([oldincludedir], ['/usr/include'])
67+m4trace:configure.in:1: -1- AC_SUBST_TRACE([oldincludedir])
68+m4trace:configure.in:1: -1- m4_pattern_allow([^oldincludedir$])
69+m4trace:configure.in:1: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
70+ ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
71+ ['${datarootdir}/doc/${PACKAGE}'])])
72+m4trace:configure.in:1: -1- AC_SUBST_TRACE([docdir])
73+m4trace:configure.in:1: -1- m4_pattern_allow([^docdir$])
74+m4trace:configure.in:1: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
75+m4trace:configure.in:1: -1- AC_SUBST_TRACE([infodir])
76+m4trace:configure.in:1: -1- m4_pattern_allow([^infodir$])
77+m4trace:configure.in:1: -1- AC_SUBST([htmldir], ['${docdir}'])
78+m4trace:configure.in:1: -1- AC_SUBST_TRACE([htmldir])
79+m4trace:configure.in:1: -1- m4_pattern_allow([^htmldir$])
80+m4trace:configure.in:1: -1- AC_SUBST([dvidir], ['${docdir}'])
81+m4trace:configure.in:1: -1- AC_SUBST_TRACE([dvidir])
82+m4trace:configure.in:1: -1- m4_pattern_allow([^dvidir$])
83+m4trace:configure.in:1: -1- AC_SUBST([pdfdir], ['${docdir}'])
84+m4trace:configure.in:1: -1- AC_SUBST_TRACE([pdfdir])
85+m4trace:configure.in:1: -1- m4_pattern_allow([^pdfdir$])
86+m4trace:configure.in:1: -1- AC_SUBST([psdir], ['${docdir}'])
87+m4trace:configure.in:1: -1- AC_SUBST_TRACE([psdir])
88+m4trace:configure.in:1: -1- m4_pattern_allow([^psdir$])
89+m4trace:configure.in:1: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
90+m4trace:configure.in:1: -1- AC_SUBST_TRACE([libdir])
91+m4trace:configure.in:1: -1- m4_pattern_allow([^libdir$])
92+m4trace:configure.in:1: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
93+m4trace:configure.in:1: -1- AC_SUBST_TRACE([localedir])
94+m4trace:configure.in:1: -1- m4_pattern_allow([^localedir$])
95+m4trace:configure.in:1: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
96+m4trace:configure.in:1: -1- AC_SUBST_TRACE([mandir])
97+m4trace:configure.in:1: -1- m4_pattern_allow([^mandir$])
98+m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
99+m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
100+m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
101+#undef PACKAGE_NAME])
102+m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
103+m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
104+m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
105+#undef PACKAGE_TARNAME])
106+m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
107+m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
108+m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
109+#undef PACKAGE_VERSION])
110+m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
111+m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
112+m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
113+#undef PACKAGE_STRING])
114+m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
115+m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
116+m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
117+#undef PACKAGE_BUGREPORT])
118+m4trace:configure.in:1: -1- AC_SUBST([DEFS])
119+m4trace:configure.in:1: -1- AC_SUBST_TRACE([DEFS])
120+m4trace:configure.in:1: -1- m4_pattern_allow([^DEFS$])
121+m4trace:configure.in:1: -1- AC_SUBST([ECHO_C])
122+m4trace:configure.in:1: -1- AC_SUBST_TRACE([ECHO_C])
123+m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_C$])
124+m4trace:configure.in:1: -1- AC_SUBST([ECHO_N])
125+m4trace:configure.in:1: -1- AC_SUBST_TRACE([ECHO_N])
126+m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_N$])
127+m4trace:configure.in:1: -1- AC_SUBST([ECHO_T])
128+m4trace:configure.in:1: -1- AC_SUBST_TRACE([ECHO_T])
129+m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_T$])
130+m4trace:configure.in:1: -1- AC_SUBST([LIBS])
131+m4trace:configure.in:1: -1- AC_SUBST_TRACE([LIBS])
132+m4trace:configure.in:1: -1- m4_pattern_allow([^LIBS$])
133+m4trace:configure.in:1: -1- AC_SUBST([build_alias])
134+m4trace:configure.in:1: -1- AC_SUBST_TRACE([build_alias])
135+m4trace:configure.in:1: -1- m4_pattern_allow([^build_alias$])
136+m4trace:configure.in:1: -1- AC_SUBST([host_alias])
137+m4trace:configure.in:1: -1- AC_SUBST_TRACE([host_alias])
138+m4trace:configure.in:1: -1- m4_pattern_allow([^host_alias$])
139+m4trace:configure.in:1: -1- AC_SUBST([target_alias])
140+m4trace:configure.in:1: -1- AC_SUBST_TRACE([target_alias])
141+m4trace:configure.in:1: -1- m4_pattern_allow([^target_alias$])
142+m4trace:configure.in:3: -1- AC_CONFIG_HEADERS([src/config.h])
143+m4trace:configure.in:5: -1- AC_SUBST([CC])
144+m4trace:configure.in:5: -1- AC_SUBST_TRACE([CC])
145+m4trace:configure.in:5: -1- m4_pattern_allow([^CC$])
146+m4trace:configure.in:5: -1- AC_SUBST([CFLAGS])
147+m4trace:configure.in:5: -1- AC_SUBST_TRACE([CFLAGS])
148+m4trace:configure.in:5: -1- m4_pattern_allow([^CFLAGS$])
149+m4trace:configure.in:5: -1- AC_SUBST([LDFLAGS])
150+m4trace:configure.in:5: -1- AC_SUBST_TRACE([LDFLAGS])
151+m4trace:configure.in:5: -1- m4_pattern_allow([^LDFLAGS$])
152+m4trace:configure.in:5: -1- AC_SUBST([LIBS])
153+m4trace:configure.in:5: -1- AC_SUBST_TRACE([LIBS])
154+m4trace:configure.in:5: -1- m4_pattern_allow([^LIBS$])
155+m4trace:configure.in:5: -1- AC_SUBST([CPPFLAGS])
156+m4trace:configure.in:5: -1- AC_SUBST_TRACE([CPPFLAGS])
157+m4trace:configure.in:5: -1- m4_pattern_allow([^CPPFLAGS$])
158+m4trace:configure.in:5: -1- AC_SUBST([CC])
159+m4trace:configure.in:5: -1- AC_SUBST_TRACE([CC])
160+m4trace:configure.in:5: -1- m4_pattern_allow([^CC$])
161+m4trace:configure.in:5: -1- AC_SUBST([CC])
162+m4trace:configure.in:5: -1- AC_SUBST_TRACE([CC])
163+m4trace:configure.in:5: -1- m4_pattern_allow([^CC$])
164+m4trace:configure.in:5: -1- AC_SUBST([CC])
165+m4trace:configure.in:5: -1- AC_SUBST_TRACE([CC])
166+m4trace:configure.in:5: -1- m4_pattern_allow([^CC$])
167+m4trace:configure.in:5: -1- AC_SUBST([CC])
168+m4trace:configure.in:5: -1- AC_SUBST_TRACE([CC])
169+m4trace:configure.in:5: -1- m4_pattern_allow([^CC$])
170+m4trace:configure.in:5: -1- AC_SUBST([ac_ct_CC])
171+m4trace:configure.in:5: -1- AC_SUBST_TRACE([ac_ct_CC])
172+m4trace:configure.in:5: -1- m4_pattern_allow([^ac_ct_CC$])
173+m4trace:configure.in:5: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
174+m4trace:configure.in:5: -1- AC_SUBST_TRACE([EXEEXT])
175+m4trace:configure.in:5: -1- m4_pattern_allow([^EXEEXT$])
176+m4trace:configure.in:5: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
177+m4trace:configure.in:5: -1- AC_SUBST_TRACE([OBJEXT])
178+m4trace:configure.in:5: -1- m4_pattern_allow([^OBJEXT$])
179+m4trace:configure.in:6: -1- AC_REQUIRE_AUX_FILE([install-sh])
180+m4trace:configure.in:6: -1- AC_SUBST([INSTALL_PROGRAM])
181+m4trace:configure.in:6: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
182+m4trace:configure.in:6: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
183+m4trace:configure.in:6: -1- AC_SUBST([INSTALL_SCRIPT])
184+m4trace:configure.in:6: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
185+m4trace:configure.in:6: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
186+m4trace:configure.in:6: -1- AC_SUBST([INSTALL_DATA])
187+m4trace:configure.in:6: -1- AC_SUBST_TRACE([INSTALL_DATA])
188+m4trace:configure.in:6: -1- m4_pattern_allow([^INSTALL_DATA$])
189+m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([SYSTEM_MIGEMODIR])
190+m4trace:configure.in:27: -1- m4_pattern_allow([^SYSTEM_MIGEMODIR$])
191+m4trace:configure.in:97: -1- AC_SUBST([CFLAGS])
192+m4trace:configure.in:97: -1- AC_SUBST_TRACE([CFLAGS])
193+m4trace:configure.in:97: -1- m4_pattern_allow([^CFLAGS$])
194+m4trace:configure.in:98: -1- AC_SUBST([SYSTEM_MIGEMODIR])
195+m4trace:configure.in:98: -1- AC_SUBST_TRACE([SYSTEM_MIGEMODIR])
196+m4trace:configure.in:98: -1- m4_pattern_allow([^SYSTEM_MIGEMODIR$])
197+m4trace:configure.in:107: -1- AC_DEFINE_TRACE_LITERAL([__CYGWIN__])
198+m4trace:configure.in:107: -1- m4_pattern_allow([^__CYGWIN__$])
199+m4trace:configure.in:112: -1- AC_DEFINE_TRACE_LITERAL([__DARWIN__])
200+m4trace:configure.in:112: -1- m4_pattern_allow([^__DARWIN__$])
201+m4trace:configure.in:117: -1- AC_DEFINE_TRACE_LITERAL([__FREEBSD__])
202+m4trace:configure.in:117: -1- m4_pattern_allow([^__FREEBSD__$])
203+m4trace:configure.in:122: -1- AC_DEFINE_TRACE_LITERAL([__LINUX__])
204+m4trace:configure.in:122: -1- m4_pattern_allow([^__LINUX__$])
205+m4trace:configure.in:129: -1- AC_SUBST([CPP])
206+m4trace:configure.in:129: -1- AC_SUBST_TRACE([CPP])
207+m4trace:configure.in:129: -1- m4_pattern_allow([^CPP$])
208+m4trace:configure.in:129: -1- AC_SUBST([CPPFLAGS])
209+m4trace:configure.in:129: -1- AC_SUBST_TRACE([CPPFLAGS])
210+m4trace:configure.in:129: -1- m4_pattern_allow([^CPPFLAGS$])
211+m4trace:configure.in:129: -1- AC_SUBST([CPP])
212+m4trace:configure.in:129: -1- AC_SUBST_TRACE([CPP])
213+m4trace:configure.in:129: -1- m4_pattern_allow([^CPP$])
214+m4trace:configure.in:129: -1- AC_SUBST([GREP])
215+m4trace:configure.in:129: -1- AC_SUBST_TRACE([GREP])
216+m4trace:configure.in:129: -1- m4_pattern_allow([^GREP$])
217+m4trace:configure.in:129: -1- AC_SUBST([EGREP])
218+m4trace:configure.in:129: -1- AC_SUBST_TRACE([EGREP])
219+m4trace:configure.in:129: -1- m4_pattern_allow([^EGREP$])
220+m4trace:configure.in:129: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
221+m4trace:configure.in:129: -1- m4_pattern_allow([^STDC_HEADERS$])
222+m4trace:configure.in:129: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
223+#undef STDC_HEADERS])
224+m4trace:configure.in:129: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
225+#undef HAVE_SYS_TYPES_H])
226+m4trace:configure.in:129: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
227+#undef HAVE_SYS_STAT_H])
228+m4trace:configure.in:129: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
229+#undef HAVE_STDLIB_H])
230+m4trace:configure.in:129: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
231+#undef HAVE_STRING_H])
232+m4trace:configure.in:129: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
233+#undef HAVE_MEMORY_H])
234+m4trace:configure.in:129: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
235+#undef HAVE_STRINGS_H])
236+m4trace:configure.in:129: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
237+#undef HAVE_INTTYPES_H])
238+m4trace:configure.in:129: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
239+#undef HAVE_STDINT_H])
240+m4trace:configure.in:129: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
241+#undef HAVE_UNISTD_H])
242+m4trace:configure.in:129: -1- AC_DEFINE_TRACE_LITERAL([HAVE_XYZSH_H])
243+m4trace:configure.in:129: -1- m4_pattern_allow([^HAVE_XYZSH_H$])
244+m4trace:configure.in:134: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE_H])
245+m4trace:configure.in:134: -1- m4_pattern_allow([^HAVE_READLINE_H$])
246+m4trace:configure.in:135: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE_HISTORY_H])
247+m4trace:configure.in:135: -1- m4_pattern_allow([^HAVE_READLINE_HISTORY_H$])
248+m4trace:configure.in:136: -1- _m4_warn([obsolete], [The macro `AC_HAVE_LIBRARY' is obsolete.
249+You should run autoupdate.], [../../lib/autoconf/libs.m4:159: AC_HAVE_LIBRARY is expanded from...
250+configure.in:136: the top level])
251+m4trace:configure.in:141: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NCURSES_H])
252+m4trace:configure.in:141: -1- m4_pattern_allow([^HAVE_NCURSES_H$])
253+m4trace:configure.in:142: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NCURSES_NCURSES_H])
254+m4trace:configure.in:142: -1- m4_pattern_allow([^HAVE_NCURSES_NCURSES_H$])
255+m4trace:configure.in:143: -1- _m4_warn([obsolete], [The macro `AC_HAVE_LIBRARY' is obsolete.
256+You should run autoupdate.], [../../lib/autoconf/libs.m4:159: AC_HAVE_LIBRARY is expanded from...
257+configure.in:143: the top level])
258+m4trace:configure.in:144: -1- _m4_warn([obsolete], [The macro `AC_HAVE_LIBRARY' is obsolete.
259+You should run autoupdate.], [../../lib/autoconf/libs.m4:159: AC_HAVE_LIBRARY is expanded from...
260+configure.in:144: the top level])
261+m4trace:configure.in:148: -1- _m4_warn([obsolete], [The macro `AC_HAVE_LIBRARY' is obsolete.
262+You should run autoupdate.], [../../lib/autoconf/libs.m4:159: AC_HAVE_LIBRARY is expanded from...
263+configure.in:148: the top level])
264+m4trace:configure.in:149: -1- _m4_warn([obsolete], [The macro `AC_HAVE_LIBRARY' is obsolete.
265+You should run autoupdate.], [../../lib/autoconf/libs.m4:159: AC_HAVE_LIBRARY is expanded from...
266+configure.in:149: the top level])
267+m4trace:configure.in:166: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MATH_H])
268+m4trace:configure.in:166: -1- m4_pattern_allow([^HAVE_MATH_H$])
269+m4trace:configure.in:171: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ONIGURUMA_H])
270+m4trace:configure.in:171: -1- m4_pattern_allow([^HAVE_ONIGURUMA_H$])
271+m4trace:configure.in:176: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ICONV_H])
272+m4trace:configure.in:176: -1- m4_pattern_allow([^HAVE_ICONV_H$])
273+m4trace:configure.in:188: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MIGEMO_H])
274+m4trace:configure.in:188: -1- m4_pattern_allow([^HAVE_MIGEMO_H$])
275+m4trace:configure.in:191: -1- AC_SUBST([LIBS])
276+m4trace:configure.in:191: -1- AC_SUBST_TRACE([LIBS])
277+m4trace:configure.in:191: -1- m4_pattern_allow([^LIBS$])
278+m4trace:configure.in:193: -1- AC_CONFIG_FILES([Makefile])
279+m4trace:configure.in:193: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
280+You should run autoupdate.], [])
281+m4trace:configure.in:193: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
282+m4trace:configure.in:193: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
283+m4trace:configure.in:193: -1- m4_pattern_allow([^LIB@&t@OBJS$])
284+m4trace:configure.in:193: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
285+m4trace:configure.in:193: -1- AC_SUBST_TRACE([LTLIBOBJS])
286+m4trace:configure.in:193: -1- m4_pattern_allow([^LTLIBOBJS$])
287+m4trace:configure.in:193: -1- AC_SUBST_TRACE([top_builddir])
288+m4trace:configure.in:193: -1- AC_SUBST_TRACE([top_build_prefix])
289+m4trace:configure.in:193: -1- AC_SUBST_TRACE([srcdir])
290+m4trace:configure.in:193: -1- AC_SUBST_TRACE([abs_srcdir])
291+m4trace:configure.in:193: -1- AC_SUBST_TRACE([top_srcdir])
292+m4trace:configure.in:193: -1- AC_SUBST_TRACE([abs_top_srcdir])
293+m4trace:configure.in:193: -1- AC_SUBST_TRACE([builddir])
294+m4trace:configure.in:193: -1- AC_SUBST_TRACE([abs_builddir])
295+m4trace:configure.in:193: -1- AC_SUBST_TRACE([abs_top_builddir])
296+m4trace:configure.in:193: -1- AC_SUBST_TRACE([INSTALL])
--- a/configure
+++ b/configure
@@ -1,22 +1,18 @@
11 #! /bin/sh
22 # Guess values for system-dependent variables and create Makefiles.
3-# Generated by GNU Autoconf 2.68.
4-#
3+# Generated by GNU Autoconf 2.63.
54 #
65 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8-# Foundation, Inc.
9-#
10-#
6+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
117 # This configure script is free software; the Free Software Foundation
128 # gives unlimited permission to copy, distribute and modify it.
13-## -------------------- ##
14-## M4sh Initialization. ##
15-## -------------------- ##
9+## --------------------- ##
10+## M4sh Initialization. ##
11+## --------------------- ##
1612
1713 # Be more Bourne compatible
1814 DUALCASE=1; export DUALCASE # for MKS sh
19-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2016 emulate sh
2117 NULLCMD=:
2218 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -24,15 +20,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2420 alias -g '${1+"$@"}'='"$@"'
2521 setopt NO_GLOB_SUBST
2622 else
27- case `(set -o) 2>/dev/null` in #(
28- *posix*) :
29- set -o posix ;; #(
30- *) :
31- ;;
23+ case `(set -o) 2>/dev/null` in
24+ *posix*) set -o posix ;;
3225 esac
26+
3327 fi
3428
3529
30+
31+
32+# PATH needs CR
33+# Avoid depending upon Character Ranges.
34+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37+as_cr_digits='0123456789'
38+as_cr_alnum=$as_cr_Letters$as_cr_digits
39+
3640 as_nl='
3741 '
3842 export as_nl
@@ -40,13 +44,7 @@ export as_nl
4044 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4145 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4246 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43-# Prefer a ksh shell builtin over an external printf program on Solaris,
44-# but without wasting forks for bash or zsh.
45-if test -z "$BASH_VERSION$ZSH_VERSION" \
46- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47- as_echo='print -r --'
48- as_echo_n='print -rn --'
49-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5048 as_echo='printf %s\n'
5149 as_echo_n='printf %s'
5250 else
@@ -57,7 +55,7 @@ else
5755 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5856 as_echo_n_body='eval
5957 arg=$1;
60- case $arg in #(
58+ case $arg in
6159 *"$as_nl"*)
6260 expr "X$arg" : "X\\(.*\\)$as_nl";
6361 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -80,6 +78,13 @@ if test "${PATH_SEPARATOR+set}" != set; then
8078 }
8179 fi
8280
81+# Support unset when possible.
82+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83+ as_unset=unset
84+else
85+ as_unset=false
86+fi
87+
8388
8489 # IFS
8590 # We need space, tab and new line, in precisely that order. Quoting is
@@ -89,16 +94,15 @@ fi
8994 IFS=" "" $as_nl"
9095
9196 # Find who we are. Look in the path if we contain no directory separator.
92-as_myself=
93-case $0 in #((
97+case $0 in
9498 *[\\/]* ) as_myself=$0 ;;
9599 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96100 for as_dir in $PATH
97101 do
98102 IFS=$as_save_IFS
99103 test -z "$as_dir" && as_dir=.
100- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101- done
104+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105+done
102106 IFS=$as_save_IFS
103107
104108 ;;
@@ -110,16 +114,12 @@ if test "x$as_myself" = x; then
110114 fi
111115 if test ! -f "$as_myself"; then
112116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113- exit 1
117+ { (exit 1); exit 1; }
114118 fi
115119
116-# Unset variables that we do not need and which cause bugs (e.g. in
117-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118-# suppresses any "Segmentation fault" message there. '((' could
119-# trigger a bug in pdksh 5.2.14.
120-for as_var in BASH_ENV ENV MAIL MAILPATH
121-do eval test x\${$as_var+set} = xset \
122- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120+# Work around bugs in pre-3.0 UWIN ksh.
121+for as_var in ENV MAIL MAILPATH
122+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123123 done
124124 PS1='$ '
125125 PS2='> '
@@ -131,255 +131,7 @@ export LC_ALL
131131 LANGUAGE=C
132132 export LANGUAGE
133133
134-# CDPATH.
135-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136-
137-if test "x$CONFIG_SHELL" = x; then
138- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139- emulate sh
140- NULLCMD=:
141- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142- # is contrary to our usage. Disable this feature.
143- alias -g '\${1+\"\$@\"}'='\"\$@\"'
144- setopt NO_GLOB_SUBST
145-else
146- case \`(set -o) 2>/dev/null\` in #(
147- *posix*) :
148- set -o posix ;; #(
149- *) :
150- ;;
151-esac
152-fi
153-"
154- as_required="as_fn_return () { (exit \$1); }
155-as_fn_success () { as_fn_return 0; }
156-as_fn_failure () { as_fn_return 1; }
157-as_fn_ret_success () { return 0; }
158-as_fn_ret_failure () { return 1; }
159-
160-exitcode=0
161-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166-
167-else
168- exitcode=1; echo positional parameters were not saved.
169-fi
170-test x\$exitcode = x0 || exit 1"
171- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175-test \$(( 1 + 1 )) = 2 || exit 1"
176- if (eval "$as_required") 2>/dev/null; then :
177- as_have_required=yes
178-else
179- as_have_required=no
180-fi
181- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182-
183-else
184- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185-as_found=false
186-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187-do
188- IFS=$as_save_IFS
189- test -z "$as_dir" && as_dir=.
190- as_found=:
191- case $as_dir in #(
192- /*)
193- for as_base in sh bash ksh sh5; do
194- # Try only shells that exist, to save several forks.
195- as_shell=$as_dir/$as_base
196- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198- CONFIG_SHELL=$as_shell as_have_required=yes
199- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200- break 2
201-fi
202-fi
203- done;;
204- esac
205- as_found=false
206-done
207-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209- CONFIG_SHELL=$SHELL as_have_required=yes
210-fi; }
211-IFS=$as_save_IFS
212-
213-
214- if test "x$CONFIG_SHELL" != x; then :
215- # We cannot yet assume a decent shell, so we have to provide a
216- # neutralization value for shells without unset; and this also
217- # works around shells that cannot unset nonexistent variables.
218- # Preserve -v and -x to the replacement shell.
219- BASH_ENV=/dev/null
220- ENV=/dev/null
221- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222- export CONFIG_SHELL
223- case $- in # ((((
224- *v*x* | *x*v* ) as_opts=-vx ;;
225- *v* ) as_opts=-v ;;
226- *x* ) as_opts=-x ;;
227- * ) as_opts= ;;
228- esac
229- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230-fi
231-
232- if test x$as_have_required = xno; then :
233- $as_echo "$0: This script requires a shell more modern than all"
234- $as_echo "$0: the shells that I found on your system."
235- if test x${ZSH_VERSION+set} = xset ; then
236- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238- else
239- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240-$0: including any error possibly output before this
241-$0: message. Then install a modern shell, or manually run
242-$0: the script under such a shell if you do have one."
243- fi
244- exit 1
245-fi
246-fi
247-fi
248-SHELL=${CONFIG_SHELL-/bin/sh}
249-export SHELL
250-# Unset more variables known to interfere with behavior of common tools.
251-CLICOLOR_FORCE= GREP_OPTIONS=
252-unset CLICOLOR_FORCE GREP_OPTIONS
253-
254-## --------------------- ##
255-## M4sh Shell Functions. ##
256-## --------------------- ##
257-# as_fn_unset VAR
258-# ---------------
259-# Portably unset VAR.
260-as_fn_unset ()
261-{
262- { eval $1=; unset $1;}
263-}
264-as_unset=as_fn_unset
265-
266-# as_fn_set_status STATUS
267-# -----------------------
268-# Set $? to STATUS, without forking.
269-as_fn_set_status ()
270-{
271- return $1
272-} # as_fn_set_status
273-
274-# as_fn_exit STATUS
275-# -----------------
276-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277-as_fn_exit ()
278-{
279- set +e
280- as_fn_set_status $1
281- exit $1
282-} # as_fn_exit
283-
284-# as_fn_mkdir_p
285-# -------------
286-# Create "$as_dir" as a directory, including parents if necessary.
287-as_fn_mkdir_p ()
288-{
289-
290- case $as_dir in #(
291- -*) as_dir=./$as_dir;;
292- esac
293- test -d "$as_dir" || eval $as_mkdir_p || {
294- as_dirs=
295- while :; do
296- case $as_dir in #(
297- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298- *) as_qdir=$as_dir;;
299- esac
300- as_dirs="'$as_qdir' $as_dirs"
301- as_dir=`$as_dirname -- "$as_dir" ||
302-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303- X"$as_dir" : 'X\(//\)[^/]' \| \
304- X"$as_dir" : 'X\(//\)$' \| \
305- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306-$as_echo X"$as_dir" |
307- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308- s//\1/
309- q
310- }
311- /^X\(\/\/\)[^/].*/{
312- s//\1/
313- q
314- }
315- /^X\(\/\/\)$/{
316- s//\1/
317- q
318- }
319- /^X\(\/\).*/{
320- s//\1/
321- q
322- }
323- s/.*/./; q'`
324- test -d "$as_dir" && break
325- done
326- test -z "$as_dirs" || eval "mkdir $as_dirs"
327- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328-
329-
330-} # as_fn_mkdir_p
331-# as_fn_append VAR VALUE
332-# ----------------------
333-# Append the text in VALUE to the end of the definition contained in VAR. Take
334-# advantage of any shell optimizations that allow amortized linear growth over
335-# repeated appends, instead of the typical quadratic growth present in naive
336-# implementations.
337-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338- eval 'as_fn_append ()
339- {
340- eval $1+=\$2
341- }'
342-else
343- as_fn_append ()
344- {
345- eval $1=\$$1\$2
346- }
347-fi # as_fn_append
348-
349-# as_fn_arith ARG...
350-# ------------------
351-# Perform arithmetic evaluation on the ARGs, and store the result in the
352-# global $as_val. Take advantage of shells that can avoid forks. The arguments
353-# must be portable across $(()) and expr.
354-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355- eval 'as_fn_arith ()
356- {
357- as_val=$(( $* ))
358- }'
359-else
360- as_fn_arith ()
361- {
362- as_val=`expr "$@" || test $? -eq 1`
363- }
364-fi # as_fn_arith
365-
366-
367-# as_fn_error STATUS ERROR [LINENO LOG_FD]
368-# ----------------------------------------
369-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371-# script with STATUS, using 1 if that was 0.
372-as_fn_error ()
373-{
374- as_status=$1; test $as_status -eq 0 && as_status=1
375- if test "$4"; then
376- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378- fi
379- $as_echo "$as_me: error: $2" >&2
380- as_fn_exit $as_status
381-} # as_fn_error
382-
134+# Required to use basename.
383135 if expr a : '\(a\)' >/dev/null 2>&1 &&
384136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385137 as_expr=expr
@@ -393,12 +145,8 @@ else
393145 as_basename=false
394146 fi
395147
396-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397- as_dirname=dirname
398-else
399- as_dirname=false
400-fi
401148
149+# Name of the executable.
402150 as_me=`$as_basename -- "$0" ||
403151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404152 X"$0" : 'X\(//\)$' \| \
@@ -418,127 +166,415 @@ $as_echo X/"$0" |
418166 }
419167 s/.*/./; q'`
420168
421-# Avoid depending upon Character Ranges.
422-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425-as_cr_digits='0123456789'
426-as_cr_alnum=$as_cr_Letters$as_cr_digits
169+# CDPATH.
170+$as_unset CDPATH
427171
428172
429- as_lineno_1=$LINENO as_lineno_1a=$LINENO
430- as_lineno_2=$LINENO as_lineno_2a=$LINENO
431- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434- sed -n '
435- p
436- /[$]LINENO/=
437- ' <$as_myself |
438- sed '
439- s/[$]LINENO.*/&-/
440- t lineno
441- b
442- :lineno
443- N
444- :loop
445- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446- t loop
447- s/-\n.*//
448- ' >$as_me.lineno &&
449- chmod +x "$as_me.lineno" ||
450- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
173+if test "x$CONFIG_SHELL" = x; then
174+ if (eval ":") 2>/dev/null; then
175+ as_have_required=yes
176+else
177+ as_have_required=no
178+fi
451179
452- # Don't try to exec as it changes $[0], causing all sort of problems
453- # (the dirname of $[0] is not the place where we might find the
454- # original and so on. Autoconf is especially sensitive to this).
455- . "./$as_me.lineno"
456- # Exit status is that of the last command.
457- exit
180+ if test $as_have_required = yes && (eval ":
181+(as_func_return () {
182+ (exit \$1)
183+}
184+as_func_success () {
185+ as_func_return 0
186+}
187+as_func_failure () {
188+ as_func_return 1
189+}
190+as_func_ret_success () {
191+ return 0
192+}
193+as_func_ret_failure () {
194+ return 1
458195 }
459196
460-ECHO_C= ECHO_N= ECHO_T=
461-case `echo -n x` in #(((((
462--n*)
463- case `echo 'xy\c'` in
464- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
465- xy) ECHO_C='\c';;
466- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467- ECHO_T=' ';;
468- esac;;
469-*)
470- ECHO_N='-n';;
471-esac
472-
473-rm -f conf$$ conf$$.exe conf$$.file
474-if test -d conf$$.dir; then
475- rm -f conf$$.dir/conf$$.file
197+exitcode=0
198+if as_func_success; then
199+ :
476200 else
477- rm -f conf$$.dir
478- mkdir conf$$.dir 2>/dev/null
201+ exitcode=1
202+ echo as_func_success failed.
479203 fi
480-if (echo >conf$$.file) 2>/dev/null; then
481- if ln -s conf$$.file conf$$ 2>/dev/null; then
482- as_ln_s='ln -s'
483- # ... but there are two gotchas:
484- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486- # In both cases, we have to default to `cp -p'.
487- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488- as_ln_s='cp -p'
489- elif ln conf$$.file conf$$ 2>/dev/null; then
490- as_ln_s=ln
491- else
492- as_ln_s='cp -p'
493- fi
494-else
495- as_ln_s='cp -p'
204+
205+if as_func_failure; then
206+ exitcode=1
207+ echo as_func_failure succeeded.
496208 fi
497-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498-rmdir conf$$.dir 2>/dev/null
499209
500-if mkdir -p . 2>/dev/null; then
501- as_mkdir_p='mkdir -p "$as_dir"'
210+if as_func_ret_success; then
211+ :
502212 else
503- test -d ./-p && rmdir ./-p
504- as_mkdir_p=false
213+ exitcode=1
214+ echo as_func_ret_success failed.
505215 fi
506216
507-if test -x / >/dev/null 2>&1; then
508- as_test_x='test -x'
217+if as_func_ret_failure; then
218+ exitcode=1
219+ echo as_func_ret_failure succeeded.
220+fi
221+
222+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223+ :
509224 else
510- if ls -dL / >/dev/null 2>&1; then
511- as_ls_L_option=L
512- else
513- as_ls_L_option=
514- fi
515- as_test_x='
516- eval sh -c '\''
517- if test -d "$1"; then
518- test -d "$1/.";
519- else
520- case $1 in #(
521- -*)set "./$1";;
522- esac;
523- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524- ???[sx]*):;;*)false;;esac;fi
525- '\'' sh
526- '
225+ exitcode=1
226+ echo positional parameters were not saved.
527227 fi
528-as_executable_p=$as_test_x
529228
530-# Sed expression to map a string onto a valid CPP name.
531-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229+test \$exitcode = 0) || { (exit 1); exit 1; }
532230
533-# Sed expression to map a string onto a valid variable name.
534-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231+(
232+ as_lineno_1=\$LINENO
233+ as_lineno_2=\$LINENO
234+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236+") 2> /dev/null; then
237+ :
238+else
239+ as_candidate_shells=
240+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242+do
243+ IFS=$as_save_IFS
244+ test -z "$as_dir" && as_dir=.
245+ case $as_dir in
246+ /*)
247+ for as_base in sh bash ksh sh5; do
248+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249+ done;;
250+ esac
251+done
252+IFS=$as_save_IFS
535253
536254
537-test -n "$DJDIR" || exec 7<&0 </dev/null
538-exec 6>&1
255+ for as_shell in $as_candidate_shells $SHELL; do
256+ # Try only shells that exist, to save several forks.
257+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258+ { ("$as_shell") 2> /dev/null <<\_ASEOF
259+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260+ emulate sh
261+ NULLCMD=:
262+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263+ # is contrary to our usage. Disable this feature.
264+ alias -g '${1+"$@"}'='"$@"'
265+ setopt NO_GLOB_SUBST
266+else
267+ case `(set -o) 2>/dev/null` in
268+ *posix*) set -o posix ;;
269+esac
539270
540-# Name of the host.
541-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
271+fi
272+
273+
274+:
275+_ASEOF
276+}; then
277+ CONFIG_SHELL=$as_shell
278+ as_have_required=yes
279+ if { "$as_shell" 2> /dev/null <<\_ASEOF
280+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281+ emulate sh
282+ NULLCMD=:
283+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284+ # is contrary to our usage. Disable this feature.
285+ alias -g '${1+"$@"}'='"$@"'
286+ setopt NO_GLOB_SUBST
287+else
288+ case `(set -o) 2>/dev/null` in
289+ *posix*) set -o posix ;;
290+esac
291+
292+fi
293+
294+
295+:
296+(as_func_return () {
297+ (exit $1)
298+}
299+as_func_success () {
300+ as_func_return 0
301+}
302+as_func_failure () {
303+ as_func_return 1
304+}
305+as_func_ret_success () {
306+ return 0
307+}
308+as_func_ret_failure () {
309+ return 1
310+}
311+
312+exitcode=0
313+if as_func_success; then
314+ :
315+else
316+ exitcode=1
317+ echo as_func_success failed.
318+fi
319+
320+if as_func_failure; then
321+ exitcode=1
322+ echo as_func_failure succeeded.
323+fi
324+
325+if as_func_ret_success; then
326+ :
327+else
328+ exitcode=1
329+ echo as_func_ret_success failed.
330+fi
331+
332+if as_func_ret_failure; then
333+ exitcode=1
334+ echo as_func_ret_failure succeeded.
335+fi
336+
337+if ( set x; as_func_ret_success y && test x = "$1" ); then
338+ :
339+else
340+ exitcode=1
341+ echo positional parameters were not saved.
342+fi
343+
344+test $exitcode = 0) || { (exit 1); exit 1; }
345+
346+(
347+ as_lineno_1=$LINENO
348+ as_lineno_2=$LINENO
349+ test "x$as_lineno_1" != "x$as_lineno_2" &&
350+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351+
352+_ASEOF
353+}; then
354+ break
355+fi
356+
357+fi
358+
359+ done
360+
361+ if test "x$CONFIG_SHELL" != x; then
362+ for as_var in BASH_ENV ENV
363+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364+ done
365+ export CONFIG_SHELL
366+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367+fi
368+
369+
370+ if test $as_have_required = no; then
371+ echo This script requires a shell more modern than all the
372+ echo shells that I found on your system. Please install a
373+ echo modern shell, or manually run the script under such a
374+ echo shell if you do have one.
375+ { (exit 1); exit 1; }
376+fi
377+
378+
379+fi
380+
381+fi
382+
383+
384+
385+(eval "as_func_return () {
386+ (exit \$1)
387+}
388+as_func_success () {
389+ as_func_return 0
390+}
391+as_func_failure () {
392+ as_func_return 1
393+}
394+as_func_ret_success () {
395+ return 0
396+}
397+as_func_ret_failure () {
398+ return 1
399+}
400+
401+exitcode=0
402+if as_func_success; then
403+ :
404+else
405+ exitcode=1
406+ echo as_func_success failed.
407+fi
408+
409+if as_func_failure; then
410+ exitcode=1
411+ echo as_func_failure succeeded.
412+fi
413+
414+if as_func_ret_success; then
415+ :
416+else
417+ exitcode=1
418+ echo as_func_ret_success failed.
419+fi
420+
421+if as_func_ret_failure; then
422+ exitcode=1
423+ echo as_func_ret_failure succeeded.
424+fi
425+
426+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427+ :
428+else
429+ exitcode=1
430+ echo positional parameters were not saved.
431+fi
432+
433+test \$exitcode = 0") || {
434+ echo No shell found that supports shell functions.
435+ echo Please tell bug-autoconf@gnu.org about your system,
436+ echo including any error possibly output before this message.
437+ echo This can help us improve future autoconf versions.
438+ echo Configuration will now proceed without shell functions.
439+}
440+
441+
442+
443+ as_lineno_1=$LINENO
444+ as_lineno_2=$LINENO
445+ test "x$as_lineno_1" != "x$as_lineno_2" &&
446+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447+
448+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449+ # uniformly replaced by the line number. The first 'sed' inserts a
450+ # line-number line after each line using $LINENO; the second 'sed'
451+ # does the real work. The second script uses 'N' to pair each
452+ # line-number line with the line containing $LINENO, and appends
453+ # trailing '-' during substitution so that $LINENO is not a special
454+ # case at line end.
455+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456+ # scripts with optimization help from Paolo Bonzini. Blame Lee
457+ # E. McMahon (1931-1989) for sed's syntax. :-)
458+ sed -n '
459+ p
460+ /[$]LINENO/=
461+ ' <$as_myself |
462+ sed '
463+ s/[$]LINENO.*/&-/
464+ t lineno
465+ b
466+ :lineno
467+ N
468+ :loop
469+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470+ t loop
471+ s/-\n.*//
472+ ' >$as_me.lineno &&
473+ chmod +x "$as_me.lineno" ||
474+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475+ { (exit 1); exit 1; }; }
476+
477+ # Don't try to exec as it changes $[0], causing all sort of problems
478+ # (the dirname of $[0] is not the place where we might find the
479+ # original and so on. Autoconf is especially sensitive to this).
480+ . "./$as_me.lineno"
481+ # Exit status is that of the last command.
482+ exit
483+}
484+
485+
486+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487+ as_dirname=dirname
488+else
489+ as_dirname=false
490+fi
491+
492+ECHO_C= ECHO_N= ECHO_T=
493+case `echo -n x` in
494+-n*)
495+ case `echo 'x\c'` in
496+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497+ *) ECHO_C='\c';;
498+ esac;;
499+*)
500+ ECHO_N='-n';;
501+esac
502+if expr a : '\(a\)' >/dev/null 2>&1 &&
503+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
504+ as_expr=expr
505+else
506+ as_expr=false
507+fi
508+
509+rm -f conf$$ conf$$.exe conf$$.file
510+if test -d conf$$.dir; then
511+ rm -f conf$$.dir/conf$$.file
512+else
513+ rm -f conf$$.dir
514+ mkdir conf$$.dir 2>/dev/null
515+fi
516+if (echo >conf$$.file) 2>/dev/null; then
517+ if ln -s conf$$.file conf$$ 2>/dev/null; then
518+ as_ln_s='ln -s'
519+ # ... but there are two gotchas:
520+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522+ # In both cases, we have to default to `cp -p'.
523+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524+ as_ln_s='cp -p'
525+ elif ln conf$$.file conf$$ 2>/dev/null; then
526+ as_ln_s=ln
527+ else
528+ as_ln_s='cp -p'
529+ fi
530+else
531+ as_ln_s='cp -p'
532+fi
533+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534+rmdir conf$$.dir 2>/dev/null
535+
536+if mkdir -p . 2>/dev/null; then
537+ as_mkdir_p=:
538+else
539+ test -d ./-p && rmdir ./-p
540+ as_mkdir_p=false
541+fi
542+
543+if test -x / >/dev/null 2>&1; then
544+ as_test_x='test -x'
545+else
546+ if ls -dL / >/dev/null 2>&1; then
547+ as_ls_L_option=L
548+ else
549+ as_ls_L_option=
550+ fi
551+ as_test_x='
552+ eval sh -c '\''
553+ if test -d "$1"; then
554+ test -d "$1/.";
555+ else
556+ case $1 in
557+ -*)set "./$1";;
558+ esac;
559+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560+ ???[sx]*):;;*)false;;esac;fi
561+ '\'' sh
562+ '
563+fi
564+as_executable_p=$as_test_x
565+
566+# Sed expression to map a string onto a valid CPP name.
567+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568+
569+# Sed expression to map a string onto a valid variable name.
570+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571+
572+
573+
574+exec 7<&0 </dev/null 6>&1
575+
576+# Name of the host.
577+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
542578 # so uname gets run too.
543579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544580
@@ -553,6 +589,7 @@ cross_compiling=no
553589 subdirs=
554590 MFLAGS=
555591 MAKEFLAGS=
592+SHELL=${CONFIG_SHELL-/bin/sh}
556593
557594 # Identity of this package.
558595 PACKAGE_NAME=
@@ -560,7 +597,6 @@ PACKAGE_TARNAME=
560597 PACKAGE_VERSION=
561598 PACKAGE_STRING=
562599 PACKAGE_BUGREPORT=
563-PACKAGE_URL=
564600
565601 ac_unique_file="src/main.c"
566602 # Factoring default headers for most tests.
@@ -645,7 +681,6 @@ bindir
645681 program_transform_name
646682 prefix
647683 exec_prefix
648-PACKAGE_URL
649684 PACKAGE_BUGREPORT
650685 PACKAGE_STRING
651686 PACKAGE_VERSION
@@ -736,9 +771,8 @@ do
736771 fi
737772
738773 case $ac_option in
739- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
740- *=) ac_optarg= ;;
741- *) ac_optarg=yes ;;
774+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
775+ *) ac_optarg=yes ;;
742776 esac
743777
744778 # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -783,7 +817,8 @@ do
783817 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
784818 # Reject names that are not valid shell variable names.
785819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
786- as_fn_error $? "invalid feature name: $ac_useropt"
820+ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
821+ { (exit 1); exit 1; }; }
787822 ac_useropt_orig=$ac_useropt
788823 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
789824 case $ac_user_opts in
@@ -809,7 +844,8 @@ do
809844 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
810845 # Reject names that are not valid shell variable names.
811846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812- as_fn_error $? "invalid feature name: $ac_useropt"
847+ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
848+ { (exit 1); exit 1; }; }
813849 ac_useropt_orig=$ac_useropt
814850 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815851 case $ac_user_opts in
@@ -1013,7 +1049,8 @@ do
10131049 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10141050 # Reject names that are not valid shell variable names.
10151051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016- as_fn_error $? "invalid package name: $ac_useropt"
1052+ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1053+ { (exit 1); exit 1; }; }
10171054 ac_useropt_orig=$ac_useropt
10181055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10191056 case $ac_user_opts in
@@ -1029,7 +1066,8 @@ do
10291066 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10301067 # Reject names that are not valid shell variable names.
10311068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032- as_fn_error $? "invalid package name: $ac_useropt"
1069+ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1070+ { (exit 1); exit 1; }; }
10331071 ac_useropt_orig=$ac_useropt
10341072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10351073 case $ac_user_opts in
@@ -1059,17 +1097,17 @@ do
10591097 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10601098 x_libraries=$ac_optarg ;;
10611099
1062- -*) as_fn_error $? "unrecognized option: \`$ac_option'
1063-Try \`$0 --help' for more information"
1100+ -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1101+Try \`$0 --help' for more information." >&2
1102+ { (exit 1); exit 1; }; }
10641103 ;;
10651104
10661105 *=*)
10671106 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10681107 # Reject names that are not valid shell variable names.
1069- case $ac_envvar in #(
1070- '' | [0-9]* | *[!_$as_cr_alnum]* )
1071- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1072- esac
1108+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1109+ { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1110+ { (exit 1); exit 1; }; }
10731111 eval $ac_envvar=\$ac_optarg
10741112 export $ac_envvar ;;
10751113
@@ -1078,7 +1116,7 @@ Try \`$0 --help' for more information"
10781116 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
10791117 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
10801118 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1081- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1119+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
10821120 ;;
10831121
10841122 esac
@@ -1086,13 +1124,15 @@ done
10861124
10871125 if test -n "$ac_prev"; then
10881126 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1089- as_fn_error $? "missing argument to $ac_option"
1127+ { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1128+ { (exit 1); exit 1; }; }
10901129 fi
10911130
10921131 if test -n "$ac_unrecognized_opts"; then
10931132 case $enable_option_checking in
10941133 no) ;;
1095- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1134+ fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1135+ { (exit 1); exit 1; }; } ;;
10961136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
10971137 esac
10981138 fi
@@ -1115,7 +1155,8 @@ do
11151155 [\\/$]* | ?:[\\/]* ) continue;;
11161156 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11171157 esac
1118- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1158+ { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1159+ { (exit 1); exit 1; }; }
11191160 done
11201161
11211162 # There might be people who depend on the old broken behavior: `$host'
@@ -1129,8 +1170,8 @@ target=$target_alias
11291170 if test "x$host_alias" != x; then
11301171 if test "x$build_alias" = x; then
11311172 cross_compiling=maybe
1132- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1133- If a cross compiler is detected then cross compile mode will be used" >&2
1173+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1174+ If a cross compiler is detected then cross compile mode will be used." >&2
11341175 elif test "x$build_alias" != "x$host_alias"; then
11351176 cross_compiling=yes
11361177 fi
@@ -1145,9 +1186,11 @@ test "$silent" = yes && exec 6>/dev/null
11451186 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11461187 ac_ls_di=`ls -di .` &&
11471188 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1148- as_fn_error $? "working directory cannot be determined"
1189+ { $as_echo "$as_me: error: working directory cannot be determined" >&2
1190+ { (exit 1); exit 1; }; }
11491191 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1150- as_fn_error $? "pwd does not report name of working directory"
1192+ { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1193+ { (exit 1); exit 1; }; }
11511194
11521195
11531196 # Find the source files, if location was not specified.
@@ -1186,11 +1229,13 @@ else
11861229 fi
11871230 if test ! -r "$srcdir/$ac_unique_file"; then
11881231 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1189- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1232+ { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1233+ { (exit 1); exit 1; }; }
11901234 fi
11911235 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
11921236 ac_abs_confdir=`(
1193- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1237+ cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1238+ { (exit 1); exit 1; }; }
11941239 pwd)`
11951240 # When building in place, set srcdir=.
11961241 if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1230,7 +1275,7 @@ Configuration:
12301275 --help=short display options specific to this package
12311276 --help=recursive display the short help of all the included packages
12321277 -V, --version display version information and exit
1233- -q, --quiet, --silent do not print \`checking ...' messages
1278+ -q, --quiet, --silent do not print \`checking...' messages
12341279 --cache-file=FILE cache test results in FILE [disabled]
12351280 -C, --config-cache alias for \`--cache-file=config.cache'
12361281 -n, --no-create do not create output files
@@ -1297,14 +1342,13 @@ Some influential environment variables:
12971342 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
12981343 nonstandard directory <lib dir>
12991344 LIBS libraries to pass to the linker, e.g. -l<library>
1300- CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1345+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
13011346 you have headers in a nonstandard directory <include dir>
13021347 CPP C preprocessor
13031348
13041349 Use these variables to override the choices made by `configure' or to help
13051350 it to find libraries and programs with nonstandard names/locations.
13061351
1307-Report bugs to the package provider.
13081352 _ACEOF
13091353 ac_status=$?
13101354 fi
@@ -1368,342 +1412,58 @@ test -n "$ac_init_help" && exit $ac_status
13681412 if $ac_init_version; then
13691413 cat <<\_ACEOF
13701414 configure
1371-generated by GNU Autoconf 2.68
1415+generated by GNU Autoconf 2.63
13721416
1373-Copyright (C) 2010 Free Software Foundation, Inc.
1417+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1418+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
13741419 This configure script is free software; the Free Software Foundation
13751420 gives unlimited permission to copy, distribute and modify it.
13761421 _ACEOF
13771422 exit
13781423 fi
1424+cat >config.log <<_ACEOF
1425+This file contains any messages produced by compilers while
1426+running configure, to aid debugging if configure makes a mistake.
1427+
1428+It was created by $as_me, which was
1429+generated by GNU Autoconf 2.63. Invocation command line was
13791430
1380-## ------------------------ ##
1381-## Autoconf initialization. ##
1382-## ------------------------ ##
1431+ $ $0 $@
13831432
1384-# ac_fn_c_try_compile LINENO
1385-# --------------------------
1386-# Try to compile conftest.$ac_ext, and return whether this succeeded.
1387-ac_fn_c_try_compile ()
1433+_ACEOF
1434+exec 5>>config.log
13881435 {
1389- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1390- rm -f conftest.$ac_objext
1391- if { { ac_try="$ac_compile"
1392-case "(($ac_try" in
1393- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1394- *) ac_try_echo=$ac_try;;
1395-esac
1396-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1397-$as_echo "$ac_try_echo"; } >&5
1398- (eval "$ac_compile") 2>conftest.err
1399- ac_status=$?
1400- if test -s conftest.err; then
1401- grep -v '^ *+' conftest.err >conftest.er1
1402- cat conftest.er1 >&5
1403- mv -f conftest.er1 conftest.err
1404- fi
1405- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1406- test $ac_status = 0; } && {
1407- test -z "$ac_c_werror_flag" ||
1408- test ! -s conftest.err
1409- } && test -s conftest.$ac_objext; then :
1410- ac_retval=0
1411-else
1412- $as_echo "$as_me: failed program was:" >&5
1413-sed 's/^/| /' conftest.$ac_ext >&5
1436+cat <<_ASUNAME
1437+## --------- ##
1438+## Platform. ##
1439+## --------- ##
14141440
1415- ac_retval=1
1416-fi
1417- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1418- as_fn_set_status $ac_retval
1441+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1442+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1443+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1444+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1445+uname -v = `(uname -v) 2>/dev/null || echo unknown`
14191446
1420-} # ac_fn_c_try_compile
1447+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1448+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
14211449
1422-# ac_fn_c_try_cpp LINENO
1423-# ----------------------
1424-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1425-ac_fn_c_try_cpp ()
1426-{
1427- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1428- if { { ac_try="$ac_cpp conftest.$ac_ext"
1429-case "(($ac_try" in
1430- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1431- *) ac_try_echo=$ac_try;;
1432-esac
1433-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1434-$as_echo "$ac_try_echo"; } >&5
1435- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1436- ac_status=$?
1437- if test -s conftest.err; then
1438- grep -v '^ *+' conftest.err >conftest.er1
1439- cat conftest.er1 >&5
1440- mv -f conftest.er1 conftest.err
1441- fi
1442- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443- test $ac_status = 0; } > conftest.i && {
1444- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1445- test ! -s conftest.err
1446- }; then :
1447- ac_retval=0
1448-else
1449- $as_echo "$as_me: failed program was:" >&5
1450-sed 's/^/| /' conftest.$ac_ext >&5
1450+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1451+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1452+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1453+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1454+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1455+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1456+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
14511457
1452- ac_retval=1
1453-fi
1454- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1455- as_fn_set_status $ac_retval
1456-
1457-} # ac_fn_c_try_cpp
1458-
1459-# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1460-# -------------------------------------------------------
1461-# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1462-# the include files in INCLUDES and setting the cache variable VAR
1463-# accordingly.
1464-ac_fn_c_check_header_mongrel ()
1465-{
1466- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467- if eval \${$3+:} false; then :
1468- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1469-$as_echo_n "checking for $2... " >&6; }
1470-if eval \${$3+:} false; then :
1471- $as_echo_n "(cached) " >&6
1472-fi
1473-eval ac_res=\$$3
1474- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1475-$as_echo "$ac_res" >&6; }
1476-else
1477- # Is the header compilable?
1478-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1479-$as_echo_n "checking $2 usability... " >&6; }
1480-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1481-/* end confdefs.h. */
1482-$4
1483-#include <$2>
1484-_ACEOF
1485-if ac_fn_c_try_compile "$LINENO"; then :
1486- ac_header_compiler=yes
1487-else
1488- ac_header_compiler=no
1489-fi
1490-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1491-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1492-$as_echo "$ac_header_compiler" >&6; }
1493-
1494-# Is the header present?
1495-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1496-$as_echo_n "checking $2 presence... " >&6; }
1497-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1498-/* end confdefs.h. */
1499-#include <$2>
1500-_ACEOF
1501-if ac_fn_c_try_cpp "$LINENO"; then :
1502- ac_header_preproc=yes
1503-else
1504- ac_header_preproc=no
1505-fi
1506-rm -f conftest.err conftest.i conftest.$ac_ext
1507-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1508-$as_echo "$ac_header_preproc" >&6; }
1509-
1510-# So? What about this header?
1511-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1512- yes:no: )
1513- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1514-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1515- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1516-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1517- ;;
1518- no:yes:* )
1519- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1520-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1521- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1522-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1523- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1524-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1525- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1526-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1527- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1528-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1529- ;;
1530-esac
1531- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1532-$as_echo_n "checking for $2... " >&6; }
1533-if eval \${$3+:} false; then :
1534- $as_echo_n "(cached) " >&6
1535-else
1536- eval "$3=\$ac_header_compiler"
1537-fi
1538-eval ac_res=\$$3
1539- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1540-$as_echo "$ac_res" >&6; }
1541-fi
1542- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543-
1544-} # ac_fn_c_check_header_mongrel
1545-
1546-# ac_fn_c_try_run LINENO
1547-# ----------------------
1548-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1549-# that executables *can* be run.
1550-ac_fn_c_try_run ()
1551-{
1552- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553- if { { ac_try="$ac_link"
1554-case "(($ac_try" in
1555- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1556- *) ac_try_echo=$ac_try;;
1557-esac
1558-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559-$as_echo "$ac_try_echo"; } >&5
1560- (eval "$ac_link") 2>&5
1561- ac_status=$?
1562- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1564- { { case "(($ac_try" in
1565- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566- *) ac_try_echo=$ac_try;;
1567-esac
1568-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569-$as_echo "$ac_try_echo"; } >&5
1570- (eval "$ac_try") 2>&5
1571- ac_status=$?
1572- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573- test $ac_status = 0; }; }; then :
1574- ac_retval=0
1575-else
1576- $as_echo "$as_me: program exited with status $ac_status" >&5
1577- $as_echo "$as_me: failed program was:" >&5
1578-sed 's/^/| /' conftest.$ac_ext >&5
1579-
1580- ac_retval=$ac_status
1581-fi
1582- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1583- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584- as_fn_set_status $ac_retval
1585-
1586-} # ac_fn_c_try_run
1587-
1588-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1589-# -------------------------------------------------------
1590-# Tests whether HEADER exists and can be compiled using the include files in
1591-# INCLUDES, setting the cache variable VAR accordingly.
1592-ac_fn_c_check_header_compile ()
1593-{
1594- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1596-$as_echo_n "checking for $2... " >&6; }
1597-if eval \${$3+:} false; then :
1598- $as_echo_n "(cached) " >&6
1599-else
1600- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1601-/* end confdefs.h. */
1602-$4
1603-#include <$2>
1604-_ACEOF
1605-if ac_fn_c_try_compile "$LINENO"; then :
1606- eval "$3=yes"
1607-else
1608- eval "$3=no"
1609-fi
1610-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1611-fi
1612-eval ac_res=\$$3
1613- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1614-$as_echo "$ac_res" >&6; }
1615- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616-
1617-} # ac_fn_c_check_header_compile
1618-
1619-# ac_fn_c_try_link LINENO
1620-# -----------------------
1621-# Try to link conftest.$ac_ext, and return whether this succeeded.
1622-ac_fn_c_try_link ()
1623-{
1624- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625- rm -f conftest.$ac_objext conftest$ac_exeext
1626- if { { ac_try="$ac_link"
1627-case "(($ac_try" in
1628- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1629- *) ac_try_echo=$ac_try;;
1630-esac
1631-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632-$as_echo "$ac_try_echo"; } >&5
1633- (eval "$ac_link") 2>conftest.err
1634- ac_status=$?
1635- if test -s conftest.err; then
1636- grep -v '^ *+' conftest.err >conftest.er1
1637- cat conftest.er1 >&5
1638- mv -f conftest.er1 conftest.err
1639- fi
1640- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641- test $ac_status = 0; } && {
1642- test -z "$ac_c_werror_flag" ||
1643- test ! -s conftest.err
1644- } && test -s conftest$ac_exeext && {
1645- test "$cross_compiling" = yes ||
1646- $as_test_x conftest$ac_exeext
1647- }; then :
1648- ac_retval=0
1649-else
1650- $as_echo "$as_me: failed program was:" >&5
1651-sed 's/^/| /' conftest.$ac_ext >&5
1652-
1653- ac_retval=1
1654-fi
1655- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1656- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1657- # interfere with the next link command; also delete a directory that is
1658- # left behind by Apple's compiler. We do this before executing the actions.
1659- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661- as_fn_set_status $ac_retval
1662-
1663-} # ac_fn_c_try_link
1664-cat >config.log <<_ACEOF
1665-This file contains any messages produced by compilers while
1666-running configure, to aid debugging if configure makes a mistake.
1667-
1668-It was created by $as_me, which was
1669-generated by GNU Autoconf 2.68. Invocation command line was
1670-
1671- $ $0 $@
1672-
1673-_ACEOF
1674-exec 5>>config.log
1675-{
1676-cat <<_ASUNAME
1677-## --------- ##
1678-## Platform. ##
1679-## --------- ##
1680-
1681-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1682-uname -m = `(uname -m) 2>/dev/null || echo unknown`
1683-uname -r = `(uname -r) 2>/dev/null || echo unknown`
1684-uname -s = `(uname -s) 2>/dev/null || echo unknown`
1685-uname -v = `(uname -v) 2>/dev/null || echo unknown`
1686-
1687-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1688-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1689-
1690-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1691-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1692-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1693-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1694-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1695-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1696-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1697-
1698-_ASUNAME
1458+_ASUNAME
16991459
17001460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17011461 for as_dir in $PATH
17021462 do
17031463 IFS=$as_save_IFS
17041464 test -z "$as_dir" && as_dir=.
1705- $as_echo "PATH: $as_dir"
1706- done
1465+ $as_echo "PATH: $as_dir"
1466+done
17071467 IFS=$as_save_IFS
17081468
17091469 } >&5
@@ -1740,9 +1500,9 @@ do
17401500 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17411501 esac
17421502 case $ac_pass in
1743- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1503+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
17441504 2)
1745- as_fn_append ac_configure_args1 " '$ac_arg'"
1505+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
17461506 if test $ac_must_keep_next = true; then
17471507 ac_must_keep_next=false # Got value, back to normal.
17481508 else
@@ -1758,13 +1518,13 @@ do
17581518 -* ) ac_must_keep_next=true ;;
17591519 esac
17601520 fi
1761- as_fn_append ac_configure_args " '$ac_arg'"
1521+ ac_configure_args="$ac_configure_args '$ac_arg'"
17621522 ;;
17631523 esac
17641524 done
17651525 done
1766-{ ac_configure_args0=; unset ac_configure_args0;}
1767-{ ac_configure_args1=; unset ac_configure_args1;}
1526+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1527+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
17681528
17691529 # When interrupted or exit'd, cleanup temporary files, and complete
17701530 # config.log. We remove comments because anyway the quotes in there
@@ -1776,9 +1536,11 @@ trap 'exit_status=$?
17761536 {
17771537 echo
17781538
1779- $as_echo "## ---------------- ##
1539+ cat <<\_ASBOX
1540+## ---------------- ##
17801541 ## Cache variables. ##
1781-## ---------------- ##"
1542+## ---------------- ##
1543+_ASBOX
17821544 echo
17831545 # The following way of writing the cache mishandles newlines in values,
17841546 (
@@ -1787,13 +1549,13 @@ trap 'exit_status=$?
17871549 case $ac_val in #(
17881550 *${as_nl}*)
17891551 case $ac_var in #(
1790- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1552+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
17911553 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17921554 esac
17931555 case $ac_var in #(
17941556 _ | IFS | as_nl) ;; #(
17951557 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1796- *) { eval $ac_var=; unset $ac_var;} ;;
1558+ *) $as_unset $ac_var ;;
17971559 esac ;;
17981560 esac
17991561 done
@@ -1812,9 +1574,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18121574 )
18131575 echo
18141576
1815- $as_echo "## ----------------- ##
1577+ cat <<\_ASBOX
1578+## ----------------- ##
18161579 ## Output variables. ##
1817-## ----------------- ##"
1580+## ----------------- ##
1581+_ASBOX
18181582 echo
18191583 for ac_var in $ac_subst_vars
18201584 do
@@ -1827,9 +1591,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18271591 echo
18281592
18291593 if test -n "$ac_subst_files"; then
1830- $as_echo "## ------------------- ##
1594+ cat <<\_ASBOX
1595+## ------------------- ##
18311596 ## File substitutions. ##
1832-## ------------------- ##"
1597+## ------------------- ##
1598+_ASBOX
18331599 echo
18341600 for ac_var in $ac_subst_files
18351601 do
@@ -1843,9 +1609,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18431609 fi
18441610
18451611 if test -s confdefs.h; then
1846- $as_echo "## ----------- ##
1612+ cat <<\_ASBOX
1613+## ----------- ##
18471614 ## confdefs.h. ##
1848-## ----------- ##"
1615+## ----------- ##
1616+_ASBOX
18491617 echo
18501618 cat confdefs.h
18511619 echo
@@ -1859,39 +1627,37 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18591627 exit $exit_status
18601628 ' 0
18611629 for ac_signal in 1 2 13 15; do
1862- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1630+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
18631631 done
18641632 ac_signal=0
18651633
18661634 # confdefs.h avoids OS command line length limits that DEFS can exceed.
18671635 rm -f -r conftest* confdefs.h
18681636
1869-$as_echo "/* confdefs.h */" > confdefs.h
1870-
18711637 # Predefined preprocessor variables.
18721638
18731639 cat >>confdefs.h <<_ACEOF
18741640 #define PACKAGE_NAME "$PACKAGE_NAME"
18751641 _ACEOF
18761642
1643+
18771644 cat >>confdefs.h <<_ACEOF
18781645 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
18791646 _ACEOF
18801647
1648+
18811649 cat >>confdefs.h <<_ACEOF
18821650 #define PACKAGE_VERSION "$PACKAGE_VERSION"
18831651 _ACEOF
18841652
1653+
18851654 cat >>confdefs.h <<_ACEOF
18861655 #define PACKAGE_STRING "$PACKAGE_STRING"
18871656 _ACEOF
18881657
1889-cat >>confdefs.h <<_ACEOF
1890-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1891-_ACEOF
18921658
18931659 cat >>confdefs.h <<_ACEOF
1894-#define PACKAGE_URL "$PACKAGE_URL"
1660+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
18951661 _ACEOF
18961662
18971663
@@ -1900,12 +1666,7 @@ _ACEOF
19001666 ac_site_file1=NONE
19011667 ac_site_file2=NONE
19021668 if test -n "$CONFIG_SITE"; then
1903- # We do not want a PATH search for config.site.
1904- case $CONFIG_SITE in #((
1905- -*) ac_site_file1=./$CONFIG_SITE;;
1906- */*) ac_site_file1=$CONFIG_SITE;;
1907- *) ac_site_file1=./$CONFIG_SITE;;
1908- esac
1669+ ac_site_file1=$CONFIG_SITE
19091670 elif test "x$prefix" != xNONE; then
19101671 ac_site_file1=$prefix/share/config.site
19111672 ac_site_file2=$prefix/etc/config.site
@@ -1916,23 +1677,19 @@ fi
19161677 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
19171678 do
19181679 test "x$ac_site_file" = xNONE && continue
1919- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1920- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1680+ if test -r "$ac_site_file"; then
1681+ { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
19211682 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
19221683 sed 's/^/| /' "$ac_site_file" >&5
1923- . "$ac_site_file" \
1924- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1925-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1926-as_fn_error $? "failed to load site script $ac_site_file
1927-See \`config.log' for more details" "$LINENO" 5 ; }
1684+ . "$ac_site_file"
19281685 fi
19291686 done
19301687
19311688 if test -r "$cache_file"; then
1932- # Some versions of bash will fail to source /dev/null (special files
1933- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1934- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1935- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1689+ # Some versions of bash will fail to source /dev/null (special
1690+ # files actually), so we avoid doing that.
1691+ if test -f "$cache_file"; then
1692+ { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
19361693 $as_echo "$as_me: loading cache $cache_file" >&6;}
19371694 case $cache_file in
19381695 [\\/]* | ?:[\\/]* ) . "$cache_file";;
@@ -1940,7 +1697,7 @@ $as_echo "$as_me: loading cache $cache_file" >&6;}
19401697 esac
19411698 fi
19421699 else
1943- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1700+ { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
19441701 $as_echo "$as_me: creating cache $cache_file" >&6;}
19451702 >$cache_file
19461703 fi
@@ -1955,11 +1712,11 @@ for ac_var in $ac_precious_vars; do
19551712 eval ac_new_val=\$ac_env_${ac_var}_value
19561713 case $ac_old_set,$ac_new_set in
19571714 set,)
1958- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1715+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
19591716 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
19601717 ac_cache_corrupted=: ;;
19611718 ,set)
1962- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1719+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
19631720 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
19641721 ac_cache_corrupted=: ;;
19651722 ,);;
@@ -1969,17 +1726,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
19691726 ac_old_val_w=`echo x $ac_old_val`
19701727 ac_new_val_w=`echo x $ac_new_val`
19711728 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1972- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1729+ { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
19731730 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
19741731 ac_cache_corrupted=:
19751732 else
1976- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1733+ { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
19771734 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
19781735 eval $ac_var=\$ac_old_val
19791736 fi
1980- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1737+ { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
19811738 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1982- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1739+ { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
19831740 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
19841741 fi;;
19851742 esac
@@ -1991,20 +1748,35 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
19911748 esac
19921749 case " $ac_configure_args " in
19931750 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1994- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1751+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
19951752 esac
19961753 fi
19971754 done
19981755 if $ac_cache_corrupted; then
1999- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1756+ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20001757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2001- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1758+ { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
20021759 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2003- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1760+ { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1761+$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1762+ { (exit 1); exit 1; }; }
20041763 fi
2005-## -------------------- ##
2006-## Main body of script. ##
2007-## -------------------- ##
1764+
1765+
1766+
1767+
1768+
1769+
1770+
1771+
1772+
1773+
1774+
1775+
1776+
1777+
1778+
1779+
20081780
20091781 ac_ext=c
20101782 ac_cpp='$CPP $CPPFLAGS'
@@ -2025,9 +1797,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
20251797 if test -n "$ac_tool_prefix"; then
20261798 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
20271799 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2028-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1800+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20291801 $as_echo_n "checking for $ac_word... " >&6; }
2030-if ${ac_cv_prog_CC+:} false; then :
1802+if test "${ac_cv_prog_CC+set}" = set; then
20311803 $as_echo_n "(cached) " >&6
20321804 else
20331805 if test -n "$CC"; then
@@ -2038,24 +1810,24 @@ for as_dir in $PATH
20381810 do
20391811 IFS=$as_save_IFS
20401812 test -z "$as_dir" && as_dir=.
2041- for ac_exec_ext in '' $ac_executable_extensions; do
1813+ for ac_exec_ext in '' $ac_executable_extensions; do
20421814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20431815 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2044- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1816+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20451817 break 2
20461818 fi
20471819 done
2048- done
1820+done
20491821 IFS=$as_save_IFS
20501822
20511823 fi
20521824 fi
20531825 CC=$ac_cv_prog_CC
20541826 if test -n "$CC"; then
2055- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1827+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
20561828 $as_echo "$CC" >&6; }
20571829 else
2058- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1830+ { $as_echo "$as_me:$LINENO: result: no" >&5
20591831 $as_echo "no" >&6; }
20601832 fi
20611833
@@ -2065,9 +1837,9 @@ if test -z "$ac_cv_prog_CC"; then
20651837 ac_ct_CC=$CC
20661838 # Extract the first word of "gcc", so it can be a program name with args.
20671839 set dummy gcc; ac_word=$2
2068-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1840+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20691841 $as_echo_n "checking for $ac_word... " >&6; }
2070-if ${ac_cv_prog_ac_ct_CC+:} false; then :
1842+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
20711843 $as_echo_n "(cached) " >&6
20721844 else
20731845 if test -n "$ac_ct_CC"; then
@@ -2078,24 +1850,24 @@ for as_dir in $PATH
20781850 do
20791851 IFS=$as_save_IFS
20801852 test -z "$as_dir" && as_dir=.
2081- for ac_exec_ext in '' $ac_executable_extensions; do
1853+ for ac_exec_ext in '' $ac_executable_extensions; do
20821854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20831855 ac_cv_prog_ac_ct_CC="gcc"
2084- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1856+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20851857 break 2
20861858 fi
20871859 done
2088- done
1860+done
20891861 IFS=$as_save_IFS
20901862
20911863 fi
20921864 fi
20931865 ac_ct_CC=$ac_cv_prog_ac_ct_CC
20941866 if test -n "$ac_ct_CC"; then
2095- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1867+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20961868 $as_echo "$ac_ct_CC" >&6; }
20971869 else
2098- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1870+ { $as_echo "$as_me:$LINENO: result: no" >&5
20991871 $as_echo "no" >&6; }
21001872 fi
21011873
@@ -2104,7 +1876,7 @@ fi
21041876 else
21051877 case $cross_compiling:$ac_tool_warned in
21061878 yes:)
2107-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1879+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
21081880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21091881 ac_tool_warned=yes ;;
21101882 esac
@@ -2118,9 +1890,9 @@ if test -z "$CC"; then
21181890 if test -n "$ac_tool_prefix"; then
21191891 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
21201892 set dummy ${ac_tool_prefix}cc; ac_word=$2
2121-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1893+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21221894 $as_echo_n "checking for $ac_word... " >&6; }
2123-if ${ac_cv_prog_CC+:} false; then :
1895+if test "${ac_cv_prog_CC+set}" = set; then
21241896 $as_echo_n "(cached) " >&6
21251897 else
21261898 if test -n "$CC"; then
@@ -2131,24 +1903,24 @@ for as_dir in $PATH
21311903 do
21321904 IFS=$as_save_IFS
21331905 test -z "$as_dir" && as_dir=.
2134- for ac_exec_ext in '' $ac_executable_extensions; do
1906+ for ac_exec_ext in '' $ac_executable_extensions; do
21351907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21361908 ac_cv_prog_CC="${ac_tool_prefix}cc"
2137- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1909+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21381910 break 2
21391911 fi
21401912 done
2141- done
1913+done
21421914 IFS=$as_save_IFS
21431915
21441916 fi
21451917 fi
21461918 CC=$ac_cv_prog_CC
21471919 if test -n "$CC"; then
2148- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1920+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
21491921 $as_echo "$CC" >&6; }
21501922 else
2151- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1923+ { $as_echo "$as_me:$LINENO: result: no" >&5
21521924 $as_echo "no" >&6; }
21531925 fi
21541926
@@ -2158,9 +1930,9 @@ fi
21581930 if test -z "$CC"; then
21591931 # Extract the first word of "cc", so it can be a program name with args.
21601932 set dummy cc; ac_word=$2
2161-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1933+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
21621934 $as_echo_n "checking for $ac_word... " >&6; }
2163-if ${ac_cv_prog_CC+:} false; then :
1935+if test "${ac_cv_prog_CC+set}" = set; then
21641936 $as_echo_n "(cached) " >&6
21651937 else
21661938 if test -n "$CC"; then
@@ -2172,18 +1944,18 @@ for as_dir in $PATH
21721944 do
21731945 IFS=$as_save_IFS
21741946 test -z "$as_dir" && as_dir=.
2175- for ac_exec_ext in '' $ac_executable_extensions; do
1947+ for ac_exec_ext in '' $ac_executable_extensions; do
21761948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21771949 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
21781950 ac_prog_rejected=yes
21791951 continue
21801952 fi
21811953 ac_cv_prog_CC="cc"
2182- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1954+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21831955 break 2
21841956 fi
21851957 done
2186- done
1958+done
21871959 IFS=$as_save_IFS
21881960
21891961 if test $ac_prog_rejected = yes; then
@@ -2202,10 +1974,10 @@ fi
22021974 fi
22031975 CC=$ac_cv_prog_CC
22041976 if test -n "$CC"; then
2205- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1977+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
22061978 $as_echo "$CC" >&6; }
22071979 else
2208- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1980+ { $as_echo "$as_me:$LINENO: result: no" >&5
22091981 $as_echo "no" >&6; }
22101982 fi
22111983
@@ -2217,9 +1989,9 @@ if test -z "$CC"; then
22171989 do
22181990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
22191991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2220-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1992+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22211993 $as_echo_n "checking for $ac_word... " >&6; }
2222-if ${ac_cv_prog_CC+:} false; then :
1994+if test "${ac_cv_prog_CC+set}" = set; then
22231995 $as_echo_n "(cached) " >&6
22241996 else
22251997 if test -n "$CC"; then
@@ -2230,24 +2002,24 @@ for as_dir in $PATH
22302002 do
22312003 IFS=$as_save_IFS
22322004 test -z "$as_dir" && as_dir=.
2233- for ac_exec_ext in '' $ac_executable_extensions; do
2005+ for ac_exec_ext in '' $ac_executable_extensions; do
22342006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22352007 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2236- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2008+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22372009 break 2
22382010 fi
22392011 done
2240- done
2012+done
22412013 IFS=$as_save_IFS
22422014
22432015 fi
22442016 fi
22452017 CC=$ac_cv_prog_CC
22462018 if test -n "$CC"; then
2247- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2019+ { $as_echo "$as_me:$LINENO: result: $CC" >&5
22482020 $as_echo "$CC" >&6; }
22492021 else
2250- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2022+ { $as_echo "$as_me:$LINENO: result: no" >&5
22512023 $as_echo "no" >&6; }
22522024 fi
22532025
@@ -2261,9 +2033,9 @@ if test -z "$CC"; then
22612033 do
22622034 # Extract the first word of "$ac_prog", so it can be a program name with args.
22632035 set dummy $ac_prog; ac_word=$2
2264-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2036+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
22652037 $as_echo_n "checking for $ac_word... " >&6; }
2266-if ${ac_cv_prog_ac_ct_CC+:} false; then :
2038+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
22672039 $as_echo_n "(cached) " >&6
22682040 else
22692041 if test -n "$ac_ct_CC"; then
@@ -2274,24 +2046,24 @@ for as_dir in $PATH
22742046 do
22752047 IFS=$as_save_IFS
22762048 test -z "$as_dir" && as_dir=.
2277- for ac_exec_ext in '' $ac_executable_extensions; do
2049+ for ac_exec_ext in '' $ac_executable_extensions; do
22782050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22792051 ac_cv_prog_ac_ct_CC="$ac_prog"
2280- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2052+ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22812053 break 2
22822054 fi
22832055 done
2284- done
2056+done
22852057 IFS=$as_save_IFS
22862058
22872059 fi
22882060 fi
22892061 ac_ct_CC=$ac_cv_prog_ac_ct_CC
22902062 if test -n "$ac_ct_CC"; then
2291- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2063+ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
22922064 $as_echo "$ac_ct_CC" >&6; }
22932065 else
2294- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2066+ { $as_echo "$as_me:$LINENO: result: no" >&5
22952067 $as_echo "no" >&6; }
22962068 fi
22972069
@@ -2304,7 +2076,7 @@ done
23042076 else
23052077 case $cross_compiling:$ac_tool_warned in
23062078 yes:)
2307-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2079+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
23082080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23092081 ac_tool_warned=yes ;;
23102082 esac
@@ -2315,37 +2087,57 @@ fi
23152087 fi
23162088
23172089
2318-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2090+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
23192091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2320-as_fn_error $? "no acceptable C compiler found in \$PATH
2321-See \`config.log' for more details" "$LINENO" 5 ; }
2092+{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2093+See \`config.log' for more details." >&5
2094+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2095+See \`config.log' for more details." >&2;}
2096+ { (exit 1); exit 1; }; }; }
23222097
23232098 # Provide some information about the compiler.
2324-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2099+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
23252100 set X $ac_compile
23262101 ac_compiler=$2
2327-for ac_option in --version -v -V -qversion; do
2328- { { ac_try="$ac_compiler $ac_option >&5"
2102+{ (ac_try="$ac_compiler --version >&5"
23292103 case "(($ac_try" in
23302104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23312105 *) ac_try_echo=$ac_try;;
23322106 esac
2333-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2334-$as_echo "$ac_try_echo"; } >&5
2335- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2107+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2108+$as_echo "$ac_try_echo") >&5
2109+ (eval "$ac_compiler --version >&5") 2>&5
23362110 ac_status=$?
2337- if test -s conftest.err; then
2338- sed '10a\
2339-... rest of stderr output deleted ...
2340- 10q' conftest.err >conftest.er1
2341- cat conftest.er1 >&5
2342- fi
2343- rm -f conftest.er1 conftest.err
2344- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2345- test $ac_status = 0; }
2346-done
2111+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112+ (exit $ac_status); }
2113+{ (ac_try="$ac_compiler -v >&5"
2114+case "(($ac_try" in
2115+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2116+ *) ac_try_echo=$ac_try;;
2117+esac
2118+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2119+$as_echo "$ac_try_echo") >&5
2120+ (eval "$ac_compiler -v >&5") 2>&5
2121+ ac_status=$?
2122+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123+ (exit $ac_status); }
2124+{ (ac_try="$ac_compiler -V >&5"
2125+case "(($ac_try" in
2126+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2127+ *) ac_try_echo=$ac_try;;
2128+esac
2129+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2130+$as_echo "$ac_try_echo") >&5
2131+ (eval "$ac_compiler -V >&5") 2>&5
2132+ ac_status=$?
2133+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134+ (exit $ac_status); }
23472135
2348-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136+cat >conftest.$ac_ext <<_ACEOF
2137+/* confdefs.h. */
2138+_ACEOF
2139+cat confdefs.h >>conftest.$ac_ext
2140+cat >>conftest.$ac_ext <<_ACEOF
23492141 /* end confdefs.h. */
23502142
23512143 int
@@ -2361,8 +2153,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
23612153 # Try to create an executable without -o first, disregard a.out.
23622154 # It will help us diagnose broken compilers, and finding out an intuition
23632155 # of exeext.
2364-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2365-$as_echo_n "checking whether the C compiler works... " >&6; }
2156+{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2157+$as_echo_n "checking for C compiler default output file name... " >&6; }
23662158 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
23672159
23682160 # The possible output files:
@@ -2378,17 +2170,17 @@ do
23782170 done
23792171 rm -f $ac_rmfiles
23802172
2381-if { { ac_try="$ac_link_default"
2173+if { (ac_try="$ac_link_default"
23822174 case "(($ac_try" in
23832175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23842176 *) ac_try_echo=$ac_try;;
23852177 esac
2386-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2387-$as_echo "$ac_try_echo"; } >&5
2178+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2179+$as_echo "$ac_try_echo") >&5
23882180 (eval "$ac_link_default") 2>&5
23892181 ac_status=$?
2390- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2391- test $ac_status = 0; }; then :
2182+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183+ (exit $ac_status); }; then
23922184 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
23932185 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
23942186 # in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -2405,7 +2197,7 @@ do
24052197 # certainly right.
24062198 break;;
24072199 *.* )
2408- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2200+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
24092201 then :; else
24102202 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
24112203 fi
@@ -2424,41 +2216,84 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
24242216 else
24252217 ac_file=''
24262218 fi
2427-if test -z "$ac_file"; then :
2428- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2429-$as_echo "no" >&6; }
2430-$as_echo "$as_me: failed program was:" >&5
2219+
2220+{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2221+$as_echo "$ac_file" >&6; }
2222+if test -z "$ac_file"; then
2223+ $as_echo "$as_me: failed program was:" >&5
24312224 sed 's/^/| /' conftest.$ac_ext >&5
24322225
2433-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2226+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
24342227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435-as_fn_error 77 "C compiler cannot create executables
2436-See \`config.log' for more details" "$LINENO" 5 ; }
2437-else
2438- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2439-$as_echo "yes" >&6; }
2228+{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2229+See \`config.log' for more details." >&5
2230+$as_echo "$as_me: error: C compiler cannot create executables
2231+See \`config.log' for more details." >&2;}
2232+ { (exit 77); exit 77; }; }; }
24402233 fi
2441-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2442-$as_echo_n "checking for C compiler default output file name... " >&6; }
2443-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2444-$as_echo "$ac_file" >&6; }
2234+
24452235 ac_exeext=$ac_cv_exeext
24462236
2237+# Check that the compiler produces executables we can run. If not, either
2238+# the compiler is broken, or we cross compile.
2239+{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2240+$as_echo_n "checking whether the C compiler works... " >&6; }
2241+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2242+# If not cross compiling, check that we can run a simple program.
2243+if test "$cross_compiling" != yes; then
2244+ if { ac_try='./$ac_file'
2245+ { (case "(($ac_try" in
2246+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2247+ *) ac_try_echo=$ac_try;;
2248+esac
2249+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2250+$as_echo "$ac_try_echo") >&5
2251+ (eval "$ac_try") 2>&5
2252+ ac_status=$?
2253+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254+ (exit $ac_status); }; }; then
2255+ cross_compiling=no
2256+ else
2257+ if test "$cross_compiling" = maybe; then
2258+ cross_compiling=yes
2259+ else
2260+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2261+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2262+{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2263+If you meant to cross compile, use \`--host'.
2264+See \`config.log' for more details." >&5
2265+$as_echo "$as_me: error: cannot run C compiled programs.
2266+If you meant to cross compile, use \`--host'.
2267+See \`config.log' for more details." >&2;}
2268+ { (exit 1); exit 1; }; }; }
2269+ fi
2270+ fi
2271+fi
2272+{ $as_echo "$as_me:$LINENO: result: yes" >&5
2273+$as_echo "yes" >&6; }
2274+
24472275 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
24482276 ac_clean_files=$ac_clean_files_save
2449-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2277+# Check that the compiler produces executables we can run. If not, either
2278+# the compiler is broken, or we cross compile.
2279+{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2280+$as_echo_n "checking whether we are cross compiling... " >&6; }
2281+{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2282+$as_echo "$cross_compiling" >&6; }
2283+
2284+{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
24502285 $as_echo_n "checking for suffix of executables... " >&6; }
2451-if { { ac_try="$ac_link"
2286+if { (ac_try="$ac_link"
24522287 case "(($ac_try" in
24532288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24542289 *) ac_try_echo=$ac_try;;
24552290 esac
2456-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2457-$as_echo "$ac_try_echo"; } >&5
2291+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2292+$as_echo "$ac_try_echo") >&5
24582293 (eval "$ac_link") 2>&5
24592294 ac_status=$?
2460- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2461- test $ac_status = 0; }; then :
2295+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296+ (exit $ac_status); }; then
24622297 # If both `conftest.exe' and `conftest' are `present' (well, observable)
24632298 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
24642299 # work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -2473,105 +2308,54 @@ for ac_file in conftest.exe conftest conftest.*; do
24732308 esac
24742309 done
24752310 else
2476- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2311+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
24772312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2478-as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2479-See \`config.log' for more details" "$LINENO" 5 ; }
2313+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2314+See \`config.log' for more details." >&5
2315+$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2316+See \`config.log' for more details." >&2;}
2317+ { (exit 1); exit 1; }; }; }
24802318 fi
2481-rm -f conftest conftest$ac_cv_exeext
2482-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2319+
2320+rm -f conftest$ac_cv_exeext
2321+{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
24832322 $as_echo "$ac_cv_exeext" >&6; }
24842323
24852324 rm -f conftest.$ac_ext
24862325 EXEEXT=$ac_cv_exeext
24872326 ac_exeext=$EXEEXT
2488-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327+{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2328+$as_echo_n "checking for suffix of object files... " >&6; }
2329+if test "${ac_cv_objext+set}" = set; then
2330+ $as_echo_n "(cached) " >&6
2331+else
2332+ cat >conftest.$ac_ext <<_ACEOF
2333+/* confdefs.h. */
2334+_ACEOF
2335+cat confdefs.h >>conftest.$ac_ext
2336+cat >>conftest.$ac_ext <<_ACEOF
24892337 /* end confdefs.h. */
2490-#include <stdio.h>
2338+
24912339 int
24922340 main ()
24932341 {
2494-FILE *f = fopen ("conftest.out", "w");
2495- return ferror (f) || fclose (f) != 0;
24962342
24972343 ;
24982344 return 0;
24992345 }
25002346 _ACEOF
2501-ac_clean_files="$ac_clean_files conftest.out"
2502-# Check that the compiler produces executables we can run. If not, either
2503-# the compiler is broken, or we cross compile.
2504-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2505-$as_echo_n "checking whether we are cross compiling... " >&6; }
2506-if test "$cross_compiling" != yes; then
2507- { { ac_try="$ac_link"
2347+rm -f conftest.o conftest.obj
2348+if { (ac_try="$ac_compile"
25082349 case "(($ac_try" in
25092350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25102351 *) ac_try_echo=$ac_try;;
25112352 esac
2512-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2513-$as_echo "$ac_try_echo"; } >&5
2514- (eval "$ac_link") 2>&5
2515- ac_status=$?
2516- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2517- test $ac_status = 0; }
2518- if { ac_try='./conftest$ac_cv_exeext'
2519- { { case "(($ac_try" in
2520- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521- *) ac_try_echo=$ac_try;;
2522-esac
2523-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2524-$as_echo "$ac_try_echo"; } >&5
2525- (eval "$ac_try") 2>&5
2353+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2354+$as_echo "$ac_try_echo") >&5
2355+ (eval "$ac_compile") 2>&5
25262356 ac_status=$?
2527- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2528- test $ac_status = 0; }; }; then
2529- cross_compiling=no
2530- else
2531- if test "$cross_compiling" = maybe; then
2532- cross_compiling=yes
2533- else
2534- { { $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 $? "cannot run C compiled programs.
2537-If you meant to cross compile, use \`--host'.
2538-See \`config.log' for more details" "$LINENO" 5 ; }
2539- fi
2540- fi
2541-fi
2542-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2543-$as_echo "$cross_compiling" >&6; }
2544-
2545-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2546-ac_clean_files=$ac_clean_files_save
2547-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2548-$as_echo_n "checking for suffix of object files... " >&6; }
2549-if ${ac_cv_objext+:} false; then :
2550- $as_echo_n "(cached) " >&6
2551-else
2552- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2553-/* end confdefs.h. */
2554-
2555-int
2556-main ()
2557-{
2558-
2559- ;
2560- return 0;
2561-}
2562-_ACEOF
2563-rm -f conftest.o conftest.obj
2564-if { { ac_try="$ac_compile"
2565-case "(($ac_try" in
2566- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567- *) ac_try_echo=$ac_try;;
2568-esac
2569-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570-$as_echo "$ac_try_echo"; } >&5
2571- (eval "$ac_compile") 2>&5
2572- ac_status=$?
2573- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574- test $ac_status = 0; }; then :
2357+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358+ (exit $ac_status); }; then
25752359 for ac_file in conftest.o conftest.obj conftest.*; do
25762360 test -f "$ac_file" || continue;
25772361 case $ac_file in
@@ -2584,23 +2368,31 @@ else
25842368 $as_echo "$as_me: failed program was:" >&5
25852369 sed 's/^/| /' conftest.$ac_ext >&5
25862370
2587-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2371+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25882372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2589-as_fn_error $? "cannot compute suffix of object files: cannot compile
2590-See \`config.log' for more details" "$LINENO" 5 ; }
2373+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2374+See \`config.log' for more details." >&5
2375+$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2376+See \`config.log' for more details." >&2;}
2377+ { (exit 1); exit 1; }; }; }
25912378 fi
2379+
25922380 rm -f conftest.$ac_cv_objext conftest.$ac_ext
25932381 fi
2594-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2382+{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
25952383 $as_echo "$ac_cv_objext" >&6; }
25962384 OBJEXT=$ac_cv_objext
25972385 ac_objext=$OBJEXT
2598-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2386+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
25992387 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2600-if ${ac_cv_c_compiler_gnu+:} false; then :
2388+if test "${ac_cv_c_compiler_gnu+set}" = set; then
26012389 $as_echo_n "(cached) " >&6
26022390 else
2603- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391+ cat >conftest.$ac_ext <<_ACEOF
2392+/* confdefs.h. */
2393+_ACEOF
2394+cat confdefs.h >>conftest.$ac_ext
2395+cat >>conftest.$ac_ext <<_ACEOF
26042396 /* end confdefs.h. */
26052397
26062398 int
@@ -2614,16 +2406,37 @@ main ()
26142406 return 0;
26152407 }
26162408 _ACEOF
2617-if ac_fn_c_try_compile "$LINENO"; then :
2409+rm -f conftest.$ac_objext
2410+if { (ac_try="$ac_compile"
2411+case "(($ac_try" in
2412+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413+ *) ac_try_echo=$ac_try;;
2414+esac
2415+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2416+$as_echo "$ac_try_echo") >&5
2417+ (eval "$ac_compile") 2>conftest.er1
2418+ ac_status=$?
2419+ grep -v '^ *+' conftest.er1 >conftest.err
2420+ rm -f conftest.er1
2421+ cat conftest.err >&5
2422+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423+ (exit $ac_status); } && {
2424+ test -z "$ac_c_werror_flag" ||
2425+ test ! -s conftest.err
2426+ } && test -s conftest.$ac_objext; then
26182427 ac_compiler_gnu=yes
26192428 else
2620- ac_compiler_gnu=no
2429+ $as_echo "$as_me: failed program was:" >&5
2430+sed 's/^/| /' conftest.$ac_ext >&5
2431+
2432+ ac_compiler_gnu=no
26212433 fi
2434+
26222435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26232436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
26242437
26252438 fi
2626-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2439+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
26272440 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
26282441 if test $ac_compiler_gnu = yes; then
26292442 GCC=yes
@@ -2632,16 +2445,20 @@ else
26322445 fi
26332446 ac_test_CFLAGS=${CFLAGS+set}
26342447 ac_save_CFLAGS=$CFLAGS
2635-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2448+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
26362449 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2637-if ${ac_cv_prog_cc_g+:} false; then :
2450+if test "${ac_cv_prog_cc_g+set}" = set; then
26382451 $as_echo_n "(cached) " >&6
26392452 else
26402453 ac_save_c_werror_flag=$ac_c_werror_flag
26412454 ac_c_werror_flag=yes
26422455 ac_cv_prog_cc_g=no
26432456 CFLAGS="-g"
2644- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2457+ cat >conftest.$ac_ext <<_ACEOF
2458+/* confdefs.h. */
2459+_ACEOF
2460+cat confdefs.h >>conftest.$ac_ext
2461+cat >>conftest.$ac_ext <<_ACEOF
26452462 /* end confdefs.h. */
26462463
26472464 int
@@ -2652,11 +2469,35 @@ main ()
26522469 return 0;
26532470 }
26542471 _ACEOF
2655-if ac_fn_c_try_compile "$LINENO"; then :
2472+rm -f conftest.$ac_objext
2473+if { (ac_try="$ac_compile"
2474+case "(($ac_try" in
2475+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476+ *) ac_try_echo=$ac_try;;
2477+esac
2478+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2479+$as_echo "$ac_try_echo") >&5
2480+ (eval "$ac_compile") 2>conftest.er1
2481+ ac_status=$?
2482+ grep -v '^ *+' conftest.er1 >conftest.err
2483+ rm -f conftest.er1
2484+ cat conftest.err >&5
2485+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486+ (exit $ac_status); } && {
2487+ test -z "$ac_c_werror_flag" ||
2488+ test ! -s conftest.err
2489+ } && test -s conftest.$ac_objext; then
26562490 ac_cv_prog_cc_g=yes
26572491 else
2658- CFLAGS=""
2659- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2492+ $as_echo "$as_me: failed program was:" >&5
2493+sed 's/^/| /' conftest.$ac_ext >&5
2494+
2495+ CFLAGS=""
2496+ cat >conftest.$ac_ext <<_ACEOF
2497+/* confdefs.h. */
2498+_ACEOF
2499+cat confdefs.h >>conftest.$ac_ext
2500+cat >>conftest.$ac_ext <<_ACEOF
26602501 /* end confdefs.h. */
26612502
26622503 int
@@ -2667,12 +2508,36 @@ main ()
26672508 return 0;
26682509 }
26692510 _ACEOF
2670-if ac_fn_c_try_compile "$LINENO"; then :
2671-
2511+rm -f conftest.$ac_objext
2512+if { (ac_try="$ac_compile"
2513+case "(($ac_try" in
2514+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515+ *) ac_try_echo=$ac_try;;
2516+esac
2517+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2518+$as_echo "$ac_try_echo") >&5
2519+ (eval "$ac_compile") 2>conftest.er1
2520+ ac_status=$?
2521+ grep -v '^ *+' conftest.er1 >conftest.err
2522+ rm -f conftest.er1
2523+ cat conftest.err >&5
2524+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525+ (exit $ac_status); } && {
2526+ test -z "$ac_c_werror_flag" ||
2527+ test ! -s conftest.err
2528+ } && test -s conftest.$ac_objext; then
2529+ :
26722530 else
2673- ac_c_werror_flag=$ac_save_c_werror_flag
2531+ $as_echo "$as_me: failed program was:" >&5
2532+sed 's/^/| /' conftest.$ac_ext >&5
2533+
2534+ ac_c_werror_flag=$ac_save_c_werror_flag
26742535 CFLAGS="-g"
2675- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2536+ cat >conftest.$ac_ext <<_ACEOF
2537+/* confdefs.h. */
2538+_ACEOF
2539+cat confdefs.h >>conftest.$ac_ext
2540+cat >>conftest.$ac_ext <<_ACEOF
26762541 /* end confdefs.h. */
26772542
26782543 int
@@ -2683,17 +2548,42 @@ main ()
26832548 return 0;
26842549 }
26852550 _ACEOF
2686-if ac_fn_c_try_compile "$LINENO"; then :
2551+rm -f conftest.$ac_objext
2552+if { (ac_try="$ac_compile"
2553+case "(($ac_try" in
2554+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555+ *) ac_try_echo=$ac_try;;
2556+esac
2557+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2558+$as_echo "$ac_try_echo") >&5
2559+ (eval "$ac_compile") 2>conftest.er1
2560+ ac_status=$?
2561+ grep -v '^ *+' conftest.er1 >conftest.err
2562+ rm -f conftest.er1
2563+ cat conftest.err >&5
2564+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565+ (exit $ac_status); } && {
2566+ test -z "$ac_c_werror_flag" ||
2567+ test ! -s conftest.err
2568+ } && test -s conftest.$ac_objext; then
26872569 ac_cv_prog_cc_g=yes
2570+else
2571+ $as_echo "$as_me: failed program was:" >&5
2572+sed 's/^/| /' conftest.$ac_ext >&5
2573+
2574+
26882575 fi
2576+
26892577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26902578 fi
2579+
26912580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26922581 fi
2582+
26932583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26942584 ac_c_werror_flag=$ac_save_c_werror_flag
26952585 fi
2696-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2586+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
26972587 $as_echo "$ac_cv_prog_cc_g" >&6; }
26982588 if test "$ac_test_CFLAGS" = set; then
26992589 CFLAGS=$ac_save_CFLAGS
@@ -2710,14 +2600,18 @@ else
27102600 CFLAGS=
27112601 fi
27122602 fi
2713-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2603+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
27142604 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2715-if ${ac_cv_prog_cc_c89+:} false; then :
2605+if test "${ac_cv_prog_cc_c89+set}" = set; then
27162606 $as_echo_n "(cached) " >&6
27172607 else
27182608 ac_cv_prog_cc_c89=no
27192609 ac_save_CC=$CC
2720-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610+cat >conftest.$ac_ext <<_ACEOF
2611+/* confdefs.h. */
2612+_ACEOF
2613+cat confdefs.h >>conftest.$ac_ext
2614+cat >>conftest.$ac_ext <<_ACEOF
27212615 /* end confdefs.h. */
27222616 #include <stdarg.h>
27232617 #include <stdio.h>
@@ -2774,9 +2668,32 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
27742668 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
27752669 do
27762670 CC="$ac_save_CC $ac_arg"
2777- if ac_fn_c_try_compile "$LINENO"; then :
2671+ rm -f conftest.$ac_objext
2672+if { (ac_try="$ac_compile"
2673+case "(($ac_try" in
2674+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675+ *) ac_try_echo=$ac_try;;
2676+esac
2677+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2678+$as_echo "$ac_try_echo") >&5
2679+ (eval "$ac_compile") 2>conftest.er1
2680+ ac_status=$?
2681+ grep -v '^ *+' conftest.er1 >conftest.err
2682+ rm -f conftest.er1
2683+ cat conftest.err >&5
2684+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685+ (exit $ac_status); } && {
2686+ test -z "$ac_c_werror_flag" ||
2687+ test ! -s conftest.err
2688+ } && test -s conftest.$ac_objext; then
27782689 ac_cv_prog_cc_c89=$ac_arg
2690+else
2691+ $as_echo "$as_me: failed program was:" >&5
2692+sed 's/^/| /' conftest.$ac_ext >&5
2693+
2694+
27792695 fi
2696+
27802697 rm -f core conftest.err conftest.$ac_objext
27812698 test "x$ac_cv_prog_cc_c89" != "xno" && break
27822699 done
@@ -2787,19 +2704,17 @@ fi
27872704 # AC_CACHE_VAL
27882705 case "x$ac_cv_prog_cc_c89" in
27892706 x)
2790- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2707+ { $as_echo "$as_me:$LINENO: result: none needed" >&5
27912708 $as_echo "none needed" >&6; } ;;
27922709 xno)
2793- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2710+ { $as_echo "$as_me:$LINENO: result: unsupported" >&5
27942711 $as_echo "unsupported" >&6; } ;;
27952712 *)
27962713 CC="$CC $ac_cv_prog_cc_c89"
2797- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2714+ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
27982715 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
27992716 esac
2800-if test "x$ac_cv_prog_cc_c89" != xno; then :
28012717
2802-fi
28032718
28042719 ac_ext=c
28052720 ac_cpp='$CPP $CPPFLAGS'
@@ -2824,7 +2739,9 @@ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
28242739 fi
28252740 done
28262741 if test -z "$ac_aux_dir"; then
2827- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2742+ { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2743+$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2744+ { (exit 1); exit 1; }; }
28282745 fi
28292746
28302747 # These three variables are undocumented and unsupported,
@@ -2850,10 +2767,10 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
28502767 # OS/2's system install, which has a completely different semantic
28512768 # ./install, which can be erroneously created by make from ./install.sh.
28522769 # Reject install programs that cannot install multiple files.
2853-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2770+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
28542771 $as_echo_n "checking for a BSD-compatible install... " >&6; }
28552772 if test -z "$INSTALL"; then
2856-if ${ac_cv_path_install+:} false; then :
2773+if test "${ac_cv_path_install+set}" = set; then
28572774 $as_echo_n "(cached) " >&6
28582775 else
28592776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2861,11 +2778,11 @@ for as_dir in $PATH
28612778 do
28622779 IFS=$as_save_IFS
28632780 test -z "$as_dir" && as_dir=.
2864- # Account for people who put trailing slashes in PATH elements.
2865-case $as_dir/ in #((
2866- ./ | .// | /[cC]/* | \
2781+ # Account for people who put trailing slashes in PATH elements.
2782+case $as_dir/ in
2783+ ./ | .// | /cC/* | \
28672784 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2868- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2785+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
28692786 /usr/ucb/* ) ;;
28702787 *)
28712788 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -2902,7 +2819,7 @@ case $as_dir/ in #((
29022819 ;;
29032820 esac
29042821
2905- done
2822+done
29062823 IFS=$as_save_IFS
29072824
29082825 rm -rf conftest.one conftest.two conftest.dir
@@ -2918,7 +2835,7 @@ fi
29182835 INSTALL=$ac_install_sh
29192836 fi
29202837 fi
2921-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2838+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
29222839 $as_echo "$INSTALL" >&6; }
29232840
29242841 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -2944,19 +2861,19 @@ DEBUGGING=0
29442861
29452862
29462863 # Check whether --with-debug was given.
2947-if test "${with_debug+set}" = set; then :
2864+if test "${with_debug+set}" = set; then
29482865 withval=$with_debug; DEBUGGING=1;
29492866 fi
29502867
29512868
29522869 # Check whether --with-gprof-debug was given.
2953-if test "${with_gprof_debug+set}" = set; then :
2870+if test "${with_gprof_debug+set}" = set; then
29542871 withval=$with_gprof_debug; DEBUGGING=2;
29552872 fi
29562873
29572874
29582875 # Check whether --with-optimize was given.
2959-if test "${with_optimize+set}" = set; then :
2876+if test "${with_optimize+set}" = set; then
29602877 withval=$with_optimize; ENABLE_OPTIMIZE=1
29612878 else
29622879 ENABLE_OPTIMIZE=0
@@ -2964,7 +2881,7 @@ fi
29642881
29652882
29662883 # Check whether --with-migemo was given.
2967-if test "${with_migemo+set}" = set; then :
2884+if test "${with_migemo+set}" = set; then
29682885 withval=$with_migemo; ENABLE_MIGEMO=1
29692886 else
29702887 ENABLE_MIGEMO=0
@@ -2972,7 +2889,7 @@ fi
29722889
29732890
29742891 # Check whether --with-migemo-dir was given.
2975-if test "${with_migemo_dir+set}" = set; then :
2892+if test "${with_migemo_dir+set}" = set; then
29762893 withval=$with_migemo_dir; MIGEMO_DIR="$with_val"
29772894 else
29782895 MIGEMO_DIR=
@@ -2980,7 +2897,7 @@ fi
29802897
29812898
29822899 # Check whether --with-onig-dir was given.
2983-if test "${with_onig_dir+set}" = set; then :
2900+if test "${with_onig_dir+set}" = set; then
29842901 withval=$with_onig_dir; ONIG_DIR="$with_val"
29852902 else
29862903 ONIG_DIR=
@@ -2988,7 +2905,7 @@ fi
29882905
29892906
29902907 # Check whether --with-xyzsh-dir was given.
2991-if test "${with_xyzsh_dir+set}" = set; then :
2908+if test "${with_xyzsh_dir+set}" = set; then
29922909 withval=$with_xyzsh_dir; XYZSH_DIR="$with_val"
29932910 else
29942911 XYZSH_DIR=
@@ -2996,7 +2913,7 @@ fi
29962913
29972914
29982915 # Check whether --with-system-migemodir was given.
2999-if test "${with_system_migemodir+set}" = set; then :
2916+if test "${with_system_migemodir+set}" = set; then
30002917 withval=$with_system_migemodir; if test -n "$withval" && test -n $LIBMIGEMO ; then echo "system-migemodir = $withval" ; SYSTEM_MIGEMODIR="$withval" ; { cat >>confdefs.h <<_ACEOF
30012918 #define SYSTEM_MIGEMODIR "$withval"
30022919 _ACEOF
@@ -3080,30 +2997,38 @@ CFLAGS="-DSYSCONFDIR=\"\\\"$sysconfdir/mfiler4/\\\"\" -DDATAROOTDIR=\"\\\"$datar
30802997 #####################################################################
30812998 # Operating System
30822999 #####################################################################
3083-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Operating System" >&5
3000+{ $as_echo "$as_me:$LINENO: checking Operating System" >&5
30843001 $as_echo_n "checking Operating System... " >&6; }
30853002
30863003 if uname -s | grep -q CYGWIN; then
30873004 echo "CYGWIN"
3088- $as_echo "#define __CYGWIN__ 1" >>confdefs.h
3005+ cat >>confdefs.h <<\_ACEOF
3006+#define __CYGWIN__ 1
3007+_ACEOF
30893008
30903009 OS=CYGWIN
30913010 elif test `uname -s` = "Darwin"; then
30923011 echo "Darwin"
30933012
3094- $as_echo "#define __DARWIN__ 1" >>confdefs.h
3013+ cat >>confdefs.h <<\_ACEOF
3014+#define __DARWIN__ 1
3015+_ACEOF
30953016
30963017 OS=DARWIN
30973018 elif test `uname -s` = "FreeBSD"; then
30983019 echo "FreeBSD"
30993020
3100- $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3021+ cat >>confdefs.h <<\_ACEOF
3022+#define __FREEBSD__ 1
3023+_ACEOF
31013024
31023025 OS=FREEBSD
31033026 else
31043027 echo "Linux"
31053028
3106- $as_echo "#define __LINUX__ 1" >>confdefs.h
3029+ cat >>confdefs.h <<\_ACEOF
3030+#define __LINUX__ 1
3031+_ACEOF
31073032
31083033 OS=LINUX
31093034 fi
@@ -3117,14 +3042,14 @@ ac_cpp='$CPP $CPPFLAGS'
31173042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31183043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31193044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3120-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3045+{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
31213046 $as_echo_n "checking how to run the C preprocessor... " >&6; }
31223047 # On Suns, sometimes $CPP names a directory.
31233048 if test -n "$CPP" && test -d "$CPP"; then
31243049 CPP=
31253050 fi
31263051 if test -z "$CPP"; then
3127- if ${ac_cv_prog_CPP+:} false; then :
3052+ if test "${ac_cv_prog_CPP+set}" = set; then
31283053 $as_echo_n "(cached) " >&6
31293054 else
31303055 # Double quotes because CPP needs to be expanded
@@ -3139,7 +3064,11 @@ do
31393064 # <limits.h> exists even on freestanding compilers.
31403065 # On the NeXT, cc -E runs the code through the compiler's parser,
31413066 # not just through cpp. "Syntax error" is here to catch this case.
3142- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067+ cat >conftest.$ac_ext <<_ACEOF
3068+/* confdefs.h. */
3069+_ACEOF
3070+cat confdefs.h >>conftest.$ac_ext
3071+cat >>conftest.$ac_ext <<_ACEOF
31433072 /* end confdefs.h. */
31443073 #ifdef __STDC__
31453074 # include <limits.h>
@@ -3148,34 +3077,78 @@ do
31483077 #endif
31493078 Syntax error
31503079 _ACEOF
3151-if ac_fn_c_try_cpp "$LINENO"; then :
3152-
3080+if { (ac_try="$ac_cpp conftest.$ac_ext"
3081+case "(($ac_try" in
3082+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083+ *) ac_try_echo=$ac_try;;
3084+esac
3085+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3086+$as_echo "$ac_try_echo") >&5
3087+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3088+ ac_status=$?
3089+ grep -v '^ *+' conftest.er1 >conftest.err
3090+ rm -f conftest.er1
3091+ cat conftest.err >&5
3092+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093+ (exit $ac_status); } >/dev/null && {
3094+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3095+ test ! -s conftest.err
3096+ }; then
3097+ :
31533098 else
3099+ $as_echo "$as_me: failed program was:" >&5
3100+sed 's/^/| /' conftest.$ac_ext >&5
3101+
31543102 # Broken: fails on valid input.
31553103 continue
31563104 fi
3157-rm -f conftest.err conftest.i conftest.$ac_ext
3105+
3106+rm -f conftest.err conftest.$ac_ext
31583107
31593108 # OK, works on sane cases. Now check whether nonexistent headers
31603109 # can be detected and how.
3161- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110+ cat >conftest.$ac_ext <<_ACEOF
3111+/* confdefs.h. */
3112+_ACEOF
3113+cat confdefs.h >>conftest.$ac_ext
3114+cat >>conftest.$ac_ext <<_ACEOF
31623115 /* end confdefs.h. */
31633116 #include <ac_nonexistent.h>
31643117 _ACEOF
3165-if ac_fn_c_try_cpp "$LINENO"; then :
3118+if { (ac_try="$ac_cpp conftest.$ac_ext"
3119+case "(($ac_try" in
3120+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121+ *) ac_try_echo=$ac_try;;
3122+esac
3123+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3124+$as_echo "$ac_try_echo") >&5
3125+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3126+ ac_status=$?
3127+ grep -v '^ *+' conftest.er1 >conftest.err
3128+ rm -f conftest.er1
3129+ cat conftest.err >&5
3130+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131+ (exit $ac_status); } >/dev/null && {
3132+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3133+ test ! -s conftest.err
3134+ }; then
31663135 # Broken: success on invalid input.
31673136 continue
31683137 else
3138+ $as_echo "$as_me: failed program was:" >&5
3139+sed 's/^/| /' conftest.$ac_ext >&5
3140+
31693141 # Passes both tests.
31703142 ac_preproc_ok=:
31713143 break
31723144 fi
3173-rm -f conftest.err conftest.i conftest.$ac_ext
3145+
3146+rm -f conftest.err conftest.$ac_ext
31743147
31753148 done
31763149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3177-rm -f conftest.i conftest.err conftest.$ac_ext
3178-if $ac_preproc_ok; then :
3150+rm -f conftest.err conftest.$ac_ext
3151+if $ac_preproc_ok; then
31793152 break
31803153 fi
31813154
@@ -3187,7 +3160,7 @@ fi
31873160 else
31883161 ac_cv_prog_CPP=$CPP
31893162 fi
3190-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3163+{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
31913164 $as_echo "$CPP" >&6; }
31923165 ac_preproc_ok=false
31933166 for ac_c_preproc_warn_flag in '' yes
@@ -3198,7 +3171,11 @@ do
31983171 # <limits.h> exists even on freestanding compilers.
31993172 # On the NeXT, cc -E runs the code through the compiler's parser,
32003173 # not just through cpp. "Syntax error" is here to catch this case.
3201- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174+ cat >conftest.$ac_ext <<_ACEOF
3175+/* confdefs.h. */
3176+_ACEOF
3177+cat confdefs.h >>conftest.$ac_ext
3178+cat >>conftest.$ac_ext <<_ACEOF
32023179 /* end confdefs.h. */
32033180 #ifdef __STDC__
32043181 # include <limits.h>
@@ -3207,40 +3184,87 @@ do
32073184 #endif
32083185 Syntax error
32093186 _ACEOF
3210-if ac_fn_c_try_cpp "$LINENO"; then :
3211-
3187+if { (ac_try="$ac_cpp conftest.$ac_ext"
3188+case "(($ac_try" in
3189+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190+ *) ac_try_echo=$ac_try;;
3191+esac
3192+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3193+$as_echo "$ac_try_echo") >&5
3194+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3195+ ac_status=$?
3196+ grep -v '^ *+' conftest.er1 >conftest.err
3197+ rm -f conftest.er1
3198+ cat conftest.err >&5
3199+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200+ (exit $ac_status); } >/dev/null && {
3201+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3202+ test ! -s conftest.err
3203+ }; then
3204+ :
32123205 else
3206+ $as_echo "$as_me: failed program was:" >&5
3207+sed 's/^/| /' conftest.$ac_ext >&5
3208+
32133209 # Broken: fails on valid input.
32143210 continue
32153211 fi
3216-rm -f conftest.err conftest.i conftest.$ac_ext
3212+
3213+rm -f conftest.err conftest.$ac_ext
32173214
32183215 # OK, works on sane cases. Now check whether nonexistent headers
32193216 # can be detected and how.
3220- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217+ cat >conftest.$ac_ext <<_ACEOF
3218+/* confdefs.h. */
3219+_ACEOF
3220+cat confdefs.h >>conftest.$ac_ext
3221+cat >>conftest.$ac_ext <<_ACEOF
32213222 /* end confdefs.h. */
32223223 #include <ac_nonexistent.h>
32233224 _ACEOF
3224-if ac_fn_c_try_cpp "$LINENO"; then :
3225+if { (ac_try="$ac_cpp conftest.$ac_ext"
3226+case "(($ac_try" in
3227+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228+ *) ac_try_echo=$ac_try;;
3229+esac
3230+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3231+$as_echo "$ac_try_echo") >&5
3232+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3233+ ac_status=$?
3234+ grep -v '^ *+' conftest.er1 >conftest.err
3235+ rm -f conftest.er1
3236+ cat conftest.err >&5
3237+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238+ (exit $ac_status); } >/dev/null && {
3239+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3240+ test ! -s conftest.err
3241+ }; then
32253242 # Broken: success on invalid input.
32263243 continue
32273244 else
3245+ $as_echo "$as_me: failed program was:" >&5
3246+sed 's/^/| /' conftest.$ac_ext >&5
3247+
32283248 # Passes both tests.
32293249 ac_preproc_ok=:
32303250 break
32313251 fi
3232-rm -f conftest.err conftest.i conftest.$ac_ext
3252+
3253+rm -f conftest.err conftest.$ac_ext
32333254
32343255 done
32353256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3236-rm -f conftest.i conftest.err conftest.$ac_ext
3237-if $ac_preproc_ok; then :
3238-
3257+rm -f conftest.err conftest.$ac_ext
3258+if $ac_preproc_ok; then
3259+ :
32393260 else
3240- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
32413262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3242-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3243-See \`config.log' for more details" "$LINENO" 5 ; }
3263+{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3264+See \`config.log' for more details." >&5
3265+$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3266+See \`config.log' for more details." >&2;}
3267+ { (exit 1); exit 1; }; }; }
32443268 fi
32453269
32463270 ac_ext=c
@@ -3250,9 +3274,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
32503274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32513275
32523276
3253-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3277+{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
32543278 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3255-if ${ac_cv_path_GREP+:} false; then :
3279+if test "${ac_cv_path_GREP+set}" = set; then
32563280 $as_echo_n "(cached) " >&6
32573281 else
32583282 if test -z "$GREP"; then
@@ -3263,7 +3287,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
32633287 do
32643288 IFS=$as_save_IFS
32653289 test -z "$as_dir" && as_dir=.
3266- for ac_prog in grep ggrep; do
3290+ for ac_prog in grep ggrep; do
32673291 for ac_exec_ext in '' $ac_executable_extensions; do
32683292 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
32693293 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
@@ -3283,7 +3307,7 @@ case `"$ac_path_GREP" --version 2>&1` in
32833307 $as_echo 'GREP' >> "conftest.nl"
32843308 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
32853309 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3286- as_fn_arith $ac_count + 1 && ac_count=$as_val
3310+ ac_count=`expr $ac_count + 1`
32873311 if test $ac_count -gt ${ac_path_GREP_max-0}; then
32883312 # Best one so far, save it but keep looking for a better one
32893313 ac_cv_path_GREP="$ac_path_GREP"
@@ -3298,24 +3322,26 @@ esac
32983322 $ac_path_GREP_found && break 3
32993323 done
33003324 done
3301- done
3325+done
33023326 IFS=$as_save_IFS
33033327 if test -z "$ac_cv_path_GREP"; then
3304- as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3328+ { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3329+$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3330+ { (exit 1); exit 1; }; }
33053331 fi
33063332 else
33073333 ac_cv_path_GREP=$GREP
33083334 fi
33093335
33103336 fi
3311-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3337+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
33123338 $as_echo "$ac_cv_path_GREP" >&6; }
33133339 GREP="$ac_cv_path_GREP"
33143340
33153341
3316-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3342+{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
33173343 $as_echo_n "checking for egrep... " >&6; }
3318-if ${ac_cv_path_EGREP+:} false; then :
3344+if test "${ac_cv_path_EGREP+set}" = set; then
33193345 $as_echo_n "(cached) " >&6
33203346 else
33213347 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -3329,7 +3355,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
33293355 do
33303356 IFS=$as_save_IFS
33313357 test -z "$as_dir" && as_dir=.
3332- for ac_prog in egrep; do
3358+ for ac_prog in egrep; do
33333359 for ac_exec_ext in '' $ac_executable_extensions; do
33343360 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
33353361 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
@@ -3349,7 +3375,7 @@ case `"$ac_path_EGREP" --version 2>&1` in
33493375 $as_echo 'EGREP' >> "conftest.nl"
33503376 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
33513377 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3352- as_fn_arith $ac_count + 1 && ac_count=$as_val
3378+ ac_count=`expr $ac_count + 1`
33533379 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
33543380 # Best one so far, save it but keep looking for a better one
33553381 ac_cv_path_EGREP="$ac_path_EGREP"
@@ -3364,10 +3390,12 @@ esac
33643390 $ac_path_EGREP_found && break 3
33653391 done
33663392 done
3367- done
3393+done
33683394 IFS=$as_save_IFS
33693395 if test -z "$ac_cv_path_EGREP"; then
3370- as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3396+ { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3397+$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3398+ { (exit 1); exit 1; }; }
33713399 fi
33723400 else
33733401 ac_cv_path_EGREP=$EGREP
@@ -3375,17 +3403,21 @@ fi
33753403
33763404 fi
33773405 fi
3378-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3406+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
33793407 $as_echo "$ac_cv_path_EGREP" >&6; }
33803408 EGREP="$ac_cv_path_EGREP"
33813409
33823410
3383-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3411+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
33843412 $as_echo_n "checking for ANSI C header files... " >&6; }
3385-if ${ac_cv_header_stdc+:} false; then :
3413+if test "${ac_cv_header_stdc+set}" = set; then
33863414 $as_echo_n "(cached) " >&6
33873415 else
3388- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416+ cat >conftest.$ac_ext <<_ACEOF
3417+/* confdefs.h. */
3418+_ACEOF
3419+cat confdefs.h >>conftest.$ac_ext
3420+cat >>conftest.$ac_ext <<_ACEOF
33893421 /* end confdefs.h. */
33903422 #include <stdlib.h>
33913423 #include <stdarg.h>
@@ -3400,23 +3432,48 @@ main ()
34003432 return 0;
34013433 }
34023434 _ACEOF
3403-if ac_fn_c_try_compile "$LINENO"; then :
3435+rm -f conftest.$ac_objext
3436+if { (ac_try="$ac_compile"
3437+case "(($ac_try" in
3438+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439+ *) ac_try_echo=$ac_try;;
3440+esac
3441+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3442+$as_echo "$ac_try_echo") >&5
3443+ (eval "$ac_compile") 2>conftest.er1
3444+ ac_status=$?
3445+ grep -v '^ *+' conftest.er1 >conftest.err
3446+ rm -f conftest.er1
3447+ cat conftest.err >&5
3448+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449+ (exit $ac_status); } && {
3450+ test -z "$ac_c_werror_flag" ||
3451+ test ! -s conftest.err
3452+ } && test -s conftest.$ac_objext; then
34043453 ac_cv_header_stdc=yes
34053454 else
3406- ac_cv_header_stdc=no
3455+ $as_echo "$as_me: failed program was:" >&5
3456+sed 's/^/| /' conftest.$ac_ext >&5
3457+
3458+ ac_cv_header_stdc=no
34073459 fi
3460+
34083461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093462
34103463 if test $ac_cv_header_stdc = yes; then
34113464 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3412- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465+ cat >conftest.$ac_ext <<_ACEOF
3466+/* confdefs.h. */
3467+_ACEOF
3468+cat confdefs.h >>conftest.$ac_ext
3469+cat >>conftest.$ac_ext <<_ACEOF
34133470 /* end confdefs.h. */
34143471 #include <string.h>
34153472
34163473 _ACEOF
34173474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3418- $EGREP "memchr" >/dev/null 2>&1; then :
3419-
3475+ $EGREP "memchr" >/dev/null 2>&1; then
3476+ :
34203477 else
34213478 ac_cv_header_stdc=no
34223479 fi
@@ -3426,14 +3483,18 @@ fi
34263483
34273484 if test $ac_cv_header_stdc = yes; then
34283485 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3429- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486+ cat >conftest.$ac_ext <<_ACEOF
3487+/* confdefs.h. */
3488+_ACEOF
3489+cat confdefs.h >>conftest.$ac_ext
3490+cat >>conftest.$ac_ext <<_ACEOF
34303491 /* end confdefs.h. */
34313492 #include <stdlib.h>
34323493
34333494 _ACEOF
34343495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3435- $EGREP "free" >/dev/null 2>&1; then :
3436-
3496+ $EGREP "free" >/dev/null 2>&1; then
3497+ :
34373498 else
34383499 ac_cv_header_stdc=no
34393500 fi
@@ -3443,10 +3504,14 @@ fi
34433504
34443505 if test $ac_cv_header_stdc = yes; then
34453506 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3446- if test "$cross_compiling" = yes; then :
3507+ if test "$cross_compiling" = yes; then
34473508 :
34483509 else
3449- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510+ cat >conftest.$ac_ext <<_ACEOF
3511+/* confdefs.h. */
3512+_ACEOF
3513+cat confdefs.h >>conftest.$ac_ext
3514+cat >>conftest.$ac_ext <<_ACEOF
34503515 /* end confdefs.h. */
34513516 #include <ctype.h>
34523517 #include <stdlib.h>
@@ -3473,140 +3538,1288 @@ main ()
34733538 return 0;
34743539 }
34753540 _ACEOF
3476-if ac_fn_c_try_run "$LINENO"; then :
3477-
3541+rm -f conftest$ac_exeext
3542+if { (ac_try="$ac_link"
3543+case "(($ac_try" in
3544+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545+ *) ac_try_echo=$ac_try;;
3546+esac
3547+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3548+$as_echo "$ac_try_echo") >&5
3549+ (eval "$ac_link") 2>&5
3550+ ac_status=$?
3551+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3553+ { (case "(($ac_try" in
3554+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555+ *) ac_try_echo=$ac_try;;
3556+esac
3557+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3558+$as_echo "$ac_try_echo") >&5
3559+ (eval "$ac_try") 2>&5
3560+ ac_status=$?
3561+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562+ (exit $ac_status); }; }; then
3563+ :
34783564 else
3479- ac_cv_header_stdc=no
3565+ $as_echo "$as_me: program exited with status $ac_status" >&5
3566+$as_echo "$as_me: failed program was:" >&5
3567+sed 's/^/| /' conftest.$ac_ext >&5
3568+
3569+( exit $ac_status )
3570+ac_cv_header_stdc=no
34803571 fi
3481-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3482- conftest.$ac_objext conftest.beam conftest.$ac_ext
3572+rm -rf conftest.dSYM
3573+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34833574 fi
34843575
3576+
34853577 fi
34863578 fi
3487-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3579+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
34883580 $as_echo "$ac_cv_header_stdc" >&6; }
34893581 if test $ac_cv_header_stdc = yes; then
34903582
3491-$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3583+cat >>confdefs.h <<\_ACEOF
3584+#define STDC_HEADERS 1
3585+_ACEOF
34923586
34933587 fi
34943588
34953589 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3496-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3497- inttypes.h stdint.h unistd.h
3498-do :
3499- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3500-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3501-"
3502-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3503- cat >>confdefs.h <<_ACEOF
3504-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3505-_ACEOF
35063590
3507-fi
35083591
3509-done
35103592
35113593
3512-ac_fn_c_check_header_mongrel "$LINENO" "xyzsh/xyzsh.h" "ac_cv_header_xyzsh_xyzsh_h" "$ac_includes_default"
3513-if test "x$ac_cv_header_xyzsh_xyzsh_h" = xyes; then :
3514- LIBS="$LIBS -lxyzsh"; $as_echo "#define HAVE_XYZSH_H 1" >>confdefs.h
35153594
3516-else
3517- exit
3518-fi
35193595
35203596
35213597
3522-######################################################################
3523-# readline settings
3524-######################################################################
3525-ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
3526-if test "x$ac_cv_header_readline_readline_h" = xyes; then :
3527- $as_echo "#define HAVE_READLINE_H 1" >>confdefs.h
35283598
3599+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3600+ inttypes.h stdint.h unistd.h
3601+do
3602+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3603+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3604+$as_echo_n "checking for $ac_header... " >&6; }
3605+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3606+ $as_echo_n "(cached) " >&6
35293607 else
3530- exit
3531-fi
3608+ cat >conftest.$ac_ext <<_ACEOF
3609+/* confdefs.h. */
3610+_ACEOF
3611+cat confdefs.h >>conftest.$ac_ext
3612+cat >>conftest.$ac_ext <<_ACEOF
3613+/* end confdefs.h. */
3614+$ac_includes_default
3615+
3616+#include <$ac_header>
3617+_ACEOF
3618+rm -f conftest.$ac_objext
3619+if { (ac_try="$ac_compile"
3620+case "(($ac_try" in
3621+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622+ *) ac_try_echo=$ac_try;;
3623+esac
3624+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3625+$as_echo "$ac_try_echo") >&5
3626+ (eval "$ac_compile") 2>conftest.er1
3627+ ac_status=$?
3628+ grep -v '^ *+' conftest.er1 >conftest.err
3629+ rm -f conftest.er1
3630+ cat conftest.err >&5
3631+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632+ (exit $ac_status); } && {
3633+ test -z "$ac_c_werror_flag" ||
3634+ test ! -s conftest.err
3635+ } && test -s conftest.$ac_objext; then
3636+ eval "$as_ac_Header=yes"
3637+else
3638+ $as_echo "$as_me: failed program was:" >&5
3639+sed 's/^/| /' conftest.$ac_ext >&5
35323640
3641+ eval "$as_ac_Header=no"
3642+fi
35333643
3534-ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
3535-if test "x$ac_cv_header_readline_history_h" = xyes; then :
3536- $as_echo "#define HAVE_READLINE_HISTORY_H 1" >>confdefs.h
3644+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645+fi
3646+ac_res=`eval 'as_val=${'$as_ac_Header'}
3647+ $as_echo "$as_val"'`
3648+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3649+$as_echo "$ac_res" >&6; }
3650+as_val=`eval 'as_val=${'$as_ac_Header'}
3651+ $as_echo "$as_val"'`
3652+ if test "x$as_val" = x""yes; then
3653+ cat >>confdefs.h <<_ACEOF
3654+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3655+_ACEOF
35373656
3538-else
3539- exit
35403657 fi
35413658
3659+done
3660+
35423661
3543-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lreadline" >&5
3544-$as_echo_n "checking for main in -lreadline... " >&6; }
3545-if ${ac_cv_lib_readline_main+:} false; then :
3662+if test "${ac_cv_header_xyzsh_xyzsh_h+set}" = set; then
3663+ { $as_echo "$as_me:$LINENO: checking for xyzsh/xyzsh.h" >&5
3664+$as_echo_n "checking for xyzsh/xyzsh.h... " >&6; }
3665+if test "${ac_cv_header_xyzsh_xyzsh_h+set}" = set; then
35463666 $as_echo_n "(cached) " >&6
3667+fi
3668+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_xyzsh_xyzsh_h" >&5
3669+$as_echo "$ac_cv_header_xyzsh_xyzsh_h" >&6; }
35473670 else
3548- ac_check_lib_save_LIBS=$LIBS
3549-LIBS="-lreadline $LIBS"
3550-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671+ # Is the header compilable?
3672+{ $as_echo "$as_me:$LINENO: checking xyzsh/xyzsh.h usability" >&5
3673+$as_echo_n "checking xyzsh/xyzsh.h usability... " >&6; }
3674+cat >conftest.$ac_ext <<_ACEOF
3675+/* confdefs.h. */
3676+_ACEOF
3677+cat confdefs.h >>conftest.$ac_ext
3678+cat >>conftest.$ac_ext <<_ACEOF
35513679 /* end confdefs.h. */
3552-
3553-
3554-int
3555-main ()
3556-{
3557-return main ();
3558- ;
3559- return 0;
3560-}
3680+$ac_includes_default
3681+#include <xyzsh/xyzsh.h>
35613682 _ACEOF
3562-if ac_fn_c_try_link "$LINENO"; then :
3563- ac_cv_lib_readline_main=yes
3564-else
3565- ac_cv_lib_readline_main=no
3683+rm -f conftest.$ac_objext
3684+if { (ac_try="$ac_compile"
3685+case "(($ac_try" in
3686+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687+ *) ac_try_echo=$ac_try;;
3688+esac
3689+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3690+$as_echo "$ac_try_echo") >&5
3691+ (eval "$ac_compile") 2>conftest.er1
3692+ ac_status=$?
3693+ grep -v '^ *+' conftest.er1 >conftest.err
3694+ rm -f conftest.er1
3695+ cat conftest.err >&5
3696+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697+ (exit $ac_status); } && {
3698+ test -z "$ac_c_werror_flag" ||
3699+ test ! -s conftest.err
3700+ } && test -s conftest.$ac_objext; then
3701+ ac_header_compiler=yes
3702+else
3703+ $as_echo "$as_me: failed program was:" >&5
3704+sed 's/^/| /' conftest.$ac_ext >&5
3705+
3706+ ac_header_compiler=no
3707+fi
3708+
3709+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3710+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3711+$as_echo "$ac_header_compiler" >&6; }
3712+
3713+# Is the header present?
3714+{ $as_echo "$as_me:$LINENO: checking xyzsh/xyzsh.h presence" >&5
3715+$as_echo_n "checking xyzsh/xyzsh.h presence... " >&6; }
3716+cat >conftest.$ac_ext <<_ACEOF
3717+/* confdefs.h. */
3718+_ACEOF
3719+cat confdefs.h >>conftest.$ac_ext
3720+cat >>conftest.$ac_ext <<_ACEOF
3721+/* end confdefs.h. */
3722+#include <xyzsh/xyzsh.h>
3723+_ACEOF
3724+if { (ac_try="$ac_cpp conftest.$ac_ext"
3725+case "(($ac_try" in
3726+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727+ *) ac_try_echo=$ac_try;;
3728+esac
3729+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3730+$as_echo "$ac_try_echo") >&5
3731+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3732+ ac_status=$?
3733+ grep -v '^ *+' conftest.er1 >conftest.err
3734+ rm -f conftest.er1
3735+ cat conftest.err >&5
3736+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737+ (exit $ac_status); } >/dev/null && {
3738+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3739+ test ! -s conftest.err
3740+ }; then
3741+ ac_header_preproc=yes
3742+else
3743+ $as_echo "$as_me: failed program was:" >&5
3744+sed 's/^/| /' conftest.$ac_ext >&5
3745+
3746+ ac_header_preproc=no
3747+fi
3748+
3749+rm -f conftest.err conftest.$ac_ext
3750+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3751+$as_echo "$ac_header_preproc" >&6; }
3752+
3753+# So? What about this header?
3754+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3755+ yes:no: )
3756+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: accepted by the compiler, rejected by the preprocessor!" >&5
3757+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3758+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: proceeding with the compiler's result" >&5
3759+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: proceeding with the compiler's result" >&2;}
3760+ ac_header_preproc=yes
3761+ ;;
3762+ no:yes:* )
3763+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: present but cannot be compiled" >&5
3764+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: present but cannot be compiled" >&2;}
3765+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: check for missing prerequisite headers?" >&5
3766+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: check for missing prerequisite headers?" >&2;}
3767+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: see the Autoconf documentation" >&5
3768+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: see the Autoconf documentation" >&2;}
3769+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: section \"Present But Cannot Be Compiled\"" >&5
3770+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: section \"Present But Cannot Be Compiled\"" >&2;}
3771+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: proceeding with the preprocessor's result" >&5
3772+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: proceeding with the preprocessor's result" >&2;}
3773+ { $as_echo "$as_me:$LINENO: WARNING: xyzsh/xyzsh.h: in the future, the compiler will take precedence" >&5
3774+$as_echo "$as_me: WARNING: xyzsh/xyzsh.h: in the future, the compiler will take precedence" >&2;}
3775+
3776+ ;;
3777+esac
3778+{ $as_echo "$as_me:$LINENO: checking for xyzsh/xyzsh.h" >&5
3779+$as_echo_n "checking for xyzsh/xyzsh.h... " >&6; }
3780+if test "${ac_cv_header_xyzsh_xyzsh_h+set}" = set; then
3781+ $as_echo_n "(cached) " >&6
3782+else
3783+ ac_cv_header_xyzsh_xyzsh_h=$ac_header_preproc
3784+fi
3785+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_xyzsh_xyzsh_h" >&5
3786+$as_echo "$ac_cv_header_xyzsh_xyzsh_h" >&6; }
3787+
3788+fi
3789+if test "x$ac_cv_header_xyzsh_xyzsh_h" = x""yes; then
3790+ LIBS="$LIBS -lxyzsh"; cat >>confdefs.h <<\_ACEOF
3791+#define HAVE_XYZSH_H 1
3792+_ACEOF
3793+
3794+else
3795+ exit
3796+fi
3797+
3798+
3799+
3800+######################################################################
3801+# readline settings
3802+######################################################################
3803+if test "${ac_cv_header_readline_readline_h+set}" = set; then
3804+ { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
3805+$as_echo_n "checking for readline/readline.h... " >&6; }
3806+if test "${ac_cv_header_readline_readline_h+set}" = set; then
3807+ $as_echo_n "(cached) " >&6
3808+fi
3809+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
3810+$as_echo "$ac_cv_header_readline_readline_h" >&6; }
3811+else
3812+ # Is the header compilable?
3813+{ $as_echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
3814+$as_echo_n "checking readline/readline.h usability... " >&6; }
3815+cat >conftest.$ac_ext <<_ACEOF
3816+/* confdefs.h. */
3817+_ACEOF
3818+cat confdefs.h >>conftest.$ac_ext
3819+cat >>conftest.$ac_ext <<_ACEOF
3820+/* end confdefs.h. */
3821+$ac_includes_default
3822+#include <readline/readline.h>
3823+_ACEOF
3824+rm -f conftest.$ac_objext
3825+if { (ac_try="$ac_compile"
3826+case "(($ac_try" in
3827+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3828+ *) ac_try_echo=$ac_try;;
3829+esac
3830+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3831+$as_echo "$ac_try_echo") >&5
3832+ (eval "$ac_compile") 2>conftest.er1
3833+ ac_status=$?
3834+ grep -v '^ *+' conftest.er1 >conftest.err
3835+ rm -f conftest.er1
3836+ cat conftest.err >&5
3837+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838+ (exit $ac_status); } && {
3839+ test -z "$ac_c_werror_flag" ||
3840+ test ! -s conftest.err
3841+ } && test -s conftest.$ac_objext; then
3842+ ac_header_compiler=yes
3843+else
3844+ $as_echo "$as_me: failed program was:" >&5
3845+sed 's/^/| /' conftest.$ac_ext >&5
3846+
3847+ ac_header_compiler=no
3848+fi
3849+
3850+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3851+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3852+$as_echo "$ac_header_compiler" >&6; }
3853+
3854+# Is the header present?
3855+{ $as_echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
3856+$as_echo_n "checking readline/readline.h presence... " >&6; }
3857+cat >conftest.$ac_ext <<_ACEOF
3858+/* confdefs.h. */
3859+_ACEOF
3860+cat confdefs.h >>conftest.$ac_ext
3861+cat >>conftest.$ac_ext <<_ACEOF
3862+/* end confdefs.h. */
3863+#include <readline/readline.h>
3864+_ACEOF
3865+if { (ac_try="$ac_cpp conftest.$ac_ext"
3866+case "(($ac_try" in
3867+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868+ *) ac_try_echo=$ac_try;;
3869+esac
3870+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3871+$as_echo "$ac_try_echo") >&5
3872+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3873+ ac_status=$?
3874+ grep -v '^ *+' conftest.er1 >conftest.err
3875+ rm -f conftest.er1
3876+ cat conftest.err >&5
3877+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878+ (exit $ac_status); } >/dev/null && {
3879+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3880+ test ! -s conftest.err
3881+ }; then
3882+ ac_header_preproc=yes
3883+else
3884+ $as_echo "$as_me: failed program was:" >&5
3885+sed 's/^/| /' conftest.$ac_ext >&5
3886+
3887+ ac_header_preproc=no
3888+fi
3889+
3890+rm -f conftest.err conftest.$ac_ext
3891+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3892+$as_echo "$ac_header_preproc" >&6; }
3893+
3894+# So? What about this header?
3895+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3896+ yes:no: )
3897+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
3898+$as_echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3899+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5
3900+$as_echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;}
3901+ ac_header_preproc=yes
3902+ ;;
3903+ no:yes:* )
3904+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
3905+$as_echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
3906+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: check for missing prerequisite headers?" >&5
3907+$as_echo "$as_me: WARNING: readline/readline.h: check for missing prerequisite headers?" >&2;}
3908+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5
3909+$as_echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;}
3910+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5
3911+$as_echo "$as_me: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
3912+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
3913+$as_echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
3914+ { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
3915+$as_echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
3916+
3917+ ;;
3918+esac
3919+{ $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
3920+$as_echo_n "checking for readline/readline.h... " >&6; }
3921+if test "${ac_cv_header_readline_readline_h+set}" = set; then
3922+ $as_echo_n "(cached) " >&6
3923+else
3924+ ac_cv_header_readline_readline_h=$ac_header_preproc
3925+fi
3926+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
3927+$as_echo "$ac_cv_header_readline_readline_h" >&6; }
3928+
3929+fi
3930+if test "x$ac_cv_header_readline_readline_h" = x""yes; then
3931+ cat >>confdefs.h <<\_ACEOF
3932+#define HAVE_READLINE_H 1
3933+_ACEOF
3934+
3935+else
3936+ exit
3937+fi
3938+
3939+
3940+if test "${ac_cv_header_readline_history_h+set}" = set; then
3941+ { $as_echo "$as_me:$LINENO: checking for readline/history.h" >&5
3942+$as_echo_n "checking for readline/history.h... " >&6; }
3943+if test "${ac_cv_header_readline_history_h+set}" = set; then
3944+ $as_echo_n "(cached) " >&6
3945+fi
3946+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
3947+$as_echo "$ac_cv_header_readline_history_h" >&6; }
3948+else
3949+ # Is the header compilable?
3950+{ $as_echo "$as_me:$LINENO: checking readline/history.h usability" >&5
3951+$as_echo_n "checking readline/history.h usability... " >&6; }
3952+cat >conftest.$ac_ext <<_ACEOF
3953+/* confdefs.h. */
3954+_ACEOF
3955+cat confdefs.h >>conftest.$ac_ext
3956+cat >>conftest.$ac_ext <<_ACEOF
3957+/* end confdefs.h. */
3958+$ac_includes_default
3959+#include <readline/history.h>
3960+_ACEOF
3961+rm -f conftest.$ac_objext
3962+if { (ac_try="$ac_compile"
3963+case "(($ac_try" in
3964+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965+ *) ac_try_echo=$ac_try;;
3966+esac
3967+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3968+$as_echo "$ac_try_echo") >&5
3969+ (eval "$ac_compile") 2>conftest.er1
3970+ ac_status=$?
3971+ grep -v '^ *+' conftest.er1 >conftest.err
3972+ rm -f conftest.er1
3973+ cat conftest.err >&5
3974+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975+ (exit $ac_status); } && {
3976+ test -z "$ac_c_werror_flag" ||
3977+ test ! -s conftest.err
3978+ } && test -s conftest.$ac_objext; then
3979+ ac_header_compiler=yes
3980+else
3981+ $as_echo "$as_me: failed program was:" >&5
3982+sed 's/^/| /' conftest.$ac_ext >&5
3983+
3984+ ac_header_compiler=no
3985+fi
3986+
3987+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3989+$as_echo "$ac_header_compiler" >&6; }
3990+
3991+# Is the header present?
3992+{ $as_echo "$as_me:$LINENO: checking readline/history.h presence" >&5
3993+$as_echo_n "checking readline/history.h presence... " >&6; }
3994+cat >conftest.$ac_ext <<_ACEOF
3995+/* confdefs.h. */
3996+_ACEOF
3997+cat confdefs.h >>conftest.$ac_ext
3998+cat >>conftest.$ac_ext <<_ACEOF
3999+/* end confdefs.h. */
4000+#include <readline/history.h>
4001+_ACEOF
4002+if { (ac_try="$ac_cpp conftest.$ac_ext"
4003+case "(($ac_try" in
4004+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005+ *) ac_try_echo=$ac_try;;
4006+esac
4007+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4008+$as_echo "$ac_try_echo") >&5
4009+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4010+ ac_status=$?
4011+ grep -v '^ *+' conftest.er1 >conftest.err
4012+ rm -f conftest.er1
4013+ cat conftest.err >&5
4014+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015+ (exit $ac_status); } >/dev/null && {
4016+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4017+ test ! -s conftest.err
4018+ }; then
4019+ ac_header_preproc=yes
4020+else
4021+ $as_echo "$as_me: failed program was:" >&5
4022+sed 's/^/| /' conftest.$ac_ext >&5
4023+
4024+ ac_header_preproc=no
4025+fi
4026+
4027+rm -f conftest.err conftest.$ac_ext
4028+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4029+$as_echo "$ac_header_preproc" >&6; }
4030+
4031+# So? What about this header?
4032+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4033+ yes:no: )
4034+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5
4035+$as_echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4036+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the compiler's result" >&5
4037+$as_echo "$as_me: WARNING: readline/history.h: proceeding with the compiler's result" >&2;}
4038+ ac_header_preproc=yes
4039+ ;;
4040+ no:yes:* )
4041+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5
4042+$as_echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;}
4043+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: check for missing prerequisite headers?" >&5
4044+$as_echo "$as_me: WARNING: readline/history.h: check for missing prerequisite headers?" >&2;}
4045+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: see the Autoconf documentation" >&5
4046+$as_echo "$as_me: WARNING: readline/history.h: see the Autoconf documentation" >&2;}
4047+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&5
4048+$as_echo "$as_me: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&2;}
4049+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5
4050+$as_echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;}
4051+ { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: in the future, the compiler will take precedence" >&5
4052+$as_echo "$as_me: WARNING: readline/history.h: in the future, the compiler will take precedence" >&2;}
4053+
4054+ ;;
4055+esac
4056+{ $as_echo "$as_me:$LINENO: checking for readline/history.h" >&5
4057+$as_echo_n "checking for readline/history.h... " >&6; }
4058+if test "${ac_cv_header_readline_history_h+set}" = set; then
4059+ $as_echo_n "(cached) " >&6
4060+else
4061+ ac_cv_header_readline_history_h=$ac_header_preproc
4062+fi
4063+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
4064+$as_echo "$ac_cv_header_readline_history_h" >&6; }
4065+
4066+fi
4067+if test "x$ac_cv_header_readline_history_h" = x""yes; then
4068+ cat >>confdefs.h <<\_ACEOF
4069+#define HAVE_READLINE_HISTORY_H 1
4070+_ACEOF
4071+
4072+else
4073+ exit
4074+fi
4075+
4076+
4077+{ $as_echo "$as_me:$LINENO: checking for main in -lreadline" >&5
4078+$as_echo_n "checking for main in -lreadline... " >&6; }
4079+if test "${ac_cv_lib_readline_main+set}" = set; then
4080+ $as_echo_n "(cached) " >&6
4081+else
4082+ ac_check_lib_save_LIBS=$LIBS
4083+LIBS="-lreadline $LIBS"
4084+cat >conftest.$ac_ext <<_ACEOF
4085+/* confdefs.h. */
4086+_ACEOF
4087+cat confdefs.h >>conftest.$ac_ext
4088+cat >>conftest.$ac_ext <<_ACEOF
4089+/* end confdefs.h. */
4090+
4091+
4092+int
4093+main ()
4094+{
4095+return main ();
4096+ ;
4097+ return 0;
4098+}
4099+_ACEOF
4100+rm -f conftest.$ac_objext conftest$ac_exeext
4101+if { (ac_try="$ac_link"
4102+case "(($ac_try" in
4103+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4104+ *) ac_try_echo=$ac_try;;
4105+esac
4106+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4107+$as_echo "$ac_try_echo") >&5
4108+ (eval "$ac_link") 2>conftest.er1
4109+ ac_status=$?
4110+ grep -v '^ *+' conftest.er1 >conftest.err
4111+ rm -f conftest.er1
4112+ cat conftest.err >&5
4113+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114+ (exit $ac_status); } && {
4115+ test -z "$ac_c_werror_flag" ||
4116+ test ! -s conftest.err
4117+ } && test -s conftest$ac_exeext && {
4118+ test "$cross_compiling" = yes ||
4119+ $as_test_x conftest$ac_exeext
4120+ }; then
4121+ ac_cv_lib_readline_main=yes
4122+else
4123+ $as_echo "$as_me: failed program was:" >&5
4124+sed 's/^/| /' conftest.$ac_ext >&5
4125+
4126+ ac_cv_lib_readline_main=no
4127+fi
4128+
4129+rm -rf conftest.dSYM
4130+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4131+ conftest$ac_exeext conftest.$ac_ext
4132+LIBS=$ac_check_lib_save_LIBS
4133+fi
4134+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
4135+$as_echo "$ac_cv_lib_readline_main" >&6; }
4136+if test "x$ac_cv_lib_readline_main" = x""yes; then
4137+ LIBS="$LIBS -lreadline"
4138+else
4139+ exit
4140+fi
4141+ac_cv_lib_readline=ac_cv_lib_readline_main
4142+
4143+
4144+###########################################################################
4145+# libcurses
4146+###########################################################################
4147+if test "${ac_cv_header_ncurses_h+set}" = set; then
4148+ { $as_echo "$as_me:$LINENO: checking for ncurses.h" >&5
4149+$as_echo_n "checking for ncurses.h... " >&6; }
4150+if test "${ac_cv_header_ncurses_h+set}" = set; then
4151+ $as_echo_n "(cached) " >&6
4152+fi
4153+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_h" >&5
4154+$as_echo "$ac_cv_header_ncurses_h" >&6; }
4155+else
4156+ # Is the header compilable?
4157+{ $as_echo "$as_me:$LINENO: checking ncurses.h usability" >&5
4158+$as_echo_n "checking ncurses.h usability... " >&6; }
4159+cat >conftest.$ac_ext <<_ACEOF
4160+/* confdefs.h. */
4161+_ACEOF
4162+cat confdefs.h >>conftest.$ac_ext
4163+cat >>conftest.$ac_ext <<_ACEOF
4164+/* end confdefs.h. */
4165+$ac_includes_default
4166+#include <ncurses.h>
4167+_ACEOF
4168+rm -f conftest.$ac_objext
4169+if { (ac_try="$ac_compile"
4170+case "(($ac_try" in
4171+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172+ *) ac_try_echo=$ac_try;;
4173+esac
4174+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4175+$as_echo "$ac_try_echo") >&5
4176+ (eval "$ac_compile") 2>conftest.er1
4177+ ac_status=$?
4178+ grep -v '^ *+' conftest.er1 >conftest.err
4179+ rm -f conftest.er1
4180+ cat conftest.err >&5
4181+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182+ (exit $ac_status); } && {
4183+ test -z "$ac_c_werror_flag" ||
4184+ test ! -s conftest.err
4185+ } && test -s conftest.$ac_objext; then
4186+ ac_header_compiler=yes
4187+else
4188+ $as_echo "$as_me: failed program was:" >&5
4189+sed 's/^/| /' conftest.$ac_ext >&5
4190+
4191+ ac_header_compiler=no
4192+fi
4193+
4194+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4196+$as_echo "$ac_header_compiler" >&6; }
4197+
4198+# Is the header present?
4199+{ $as_echo "$as_me:$LINENO: checking ncurses.h presence" >&5
4200+$as_echo_n "checking ncurses.h presence... " >&6; }
4201+cat >conftest.$ac_ext <<_ACEOF
4202+/* confdefs.h. */
4203+_ACEOF
4204+cat confdefs.h >>conftest.$ac_ext
4205+cat >>conftest.$ac_ext <<_ACEOF
4206+/* end confdefs.h. */
4207+#include <ncurses.h>
4208+_ACEOF
4209+if { (ac_try="$ac_cpp conftest.$ac_ext"
4210+case "(($ac_try" in
4211+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212+ *) ac_try_echo=$ac_try;;
4213+esac
4214+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4215+$as_echo "$ac_try_echo") >&5
4216+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4217+ ac_status=$?
4218+ grep -v '^ *+' conftest.er1 >conftest.err
4219+ rm -f conftest.er1
4220+ cat conftest.err >&5
4221+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222+ (exit $ac_status); } >/dev/null && {
4223+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4224+ test ! -s conftest.err
4225+ }; then
4226+ ac_header_preproc=yes
4227+else
4228+ $as_echo "$as_me: failed program was:" >&5
4229+sed 's/^/| /' conftest.$ac_ext >&5
4230+
4231+ ac_header_preproc=no
4232+fi
4233+
4234+rm -f conftest.err conftest.$ac_ext
4235+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4236+$as_echo "$ac_header_preproc" >&6; }
4237+
4238+# So? What about this header?
4239+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4240+ yes:no: )
4241+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&5
4242+$as_echo "$as_me: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4243+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: proceeding with the compiler's result" >&5
4244+$as_echo "$as_me: WARNING: ncurses.h: proceeding with the compiler's result" >&2;}
4245+ ac_header_preproc=yes
4246+ ;;
4247+ no:yes:* )
4248+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: present but cannot be compiled" >&5
4249+$as_echo "$as_me: WARNING: ncurses.h: present but cannot be compiled" >&2;}
4250+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: check for missing prerequisite headers?" >&5
4251+$as_echo "$as_me: WARNING: ncurses.h: check for missing prerequisite headers?" >&2;}
4252+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: see the Autoconf documentation" >&5
4253+$as_echo "$as_me: WARNING: ncurses.h: see the Autoconf documentation" >&2;}
4254+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: section \"Present But Cannot Be Compiled\"" >&5
4255+$as_echo "$as_me: WARNING: ncurses.h: section \"Present But Cannot Be Compiled\"" >&2;}
4256+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: proceeding with the preprocessor's result" >&5
4257+$as_echo "$as_me: WARNING: ncurses.h: proceeding with the preprocessor's result" >&2;}
4258+ { $as_echo "$as_me:$LINENO: WARNING: ncurses.h: in the future, the compiler will take precedence" >&5
4259+$as_echo "$as_me: WARNING: ncurses.h: in the future, the compiler will take precedence" >&2;}
4260+
4261+ ;;
4262+esac
4263+{ $as_echo "$as_me:$LINENO: checking for ncurses.h" >&5
4264+$as_echo_n "checking for ncurses.h... " >&6; }
4265+if test "${ac_cv_header_ncurses_h+set}" = set; then
4266+ $as_echo_n "(cached) " >&6
4267+else
4268+ ac_cv_header_ncurses_h=$ac_header_preproc
4269+fi
4270+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_h" >&5
4271+$as_echo "$ac_cv_header_ncurses_h" >&6; }
4272+
4273+fi
4274+if test "x$ac_cv_header_ncurses_h" = x""yes; then
4275+ NCURSES_OK=1; cat >>confdefs.h <<\_ACEOF
4276+#define HAVE_NCURSES_H 1
4277+_ACEOF
4278+
4279+fi
4280+
4281+
4282+if test "${ac_cv_header_ncurses_ncurses_h+set}" = set; then
4283+ { $as_echo "$as_me:$LINENO: checking for ncurses/ncurses.h" >&5
4284+$as_echo_n "checking for ncurses/ncurses.h... " >&6; }
4285+if test "${ac_cv_header_ncurses_ncurses_h+set}" = set; then
4286+ $as_echo_n "(cached) " >&6
4287+fi
4288+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_ncurses_h" >&5
4289+$as_echo "$ac_cv_header_ncurses_ncurses_h" >&6; }
4290+else
4291+ # Is the header compilable?
4292+{ $as_echo "$as_me:$LINENO: checking ncurses/ncurses.h usability" >&5
4293+$as_echo_n "checking ncurses/ncurses.h usability... " >&6; }
4294+cat >conftest.$ac_ext <<_ACEOF
4295+/* confdefs.h. */
4296+_ACEOF
4297+cat confdefs.h >>conftest.$ac_ext
4298+cat >>conftest.$ac_ext <<_ACEOF
4299+/* end confdefs.h. */
4300+$ac_includes_default
4301+#include <ncurses/ncurses.h>
4302+_ACEOF
4303+rm -f conftest.$ac_objext
4304+if { (ac_try="$ac_compile"
4305+case "(($ac_try" in
4306+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307+ *) ac_try_echo=$ac_try;;
4308+esac
4309+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4310+$as_echo "$ac_try_echo") >&5
4311+ (eval "$ac_compile") 2>conftest.er1
4312+ ac_status=$?
4313+ grep -v '^ *+' conftest.er1 >conftest.err
4314+ rm -f conftest.er1
4315+ cat conftest.err >&5
4316+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317+ (exit $ac_status); } && {
4318+ test -z "$ac_c_werror_flag" ||
4319+ test ! -s conftest.err
4320+ } && test -s conftest.$ac_objext; then
4321+ ac_header_compiler=yes
4322+else
4323+ $as_echo "$as_me: failed program was:" >&5
4324+sed 's/^/| /' conftest.$ac_ext >&5
4325+
4326+ ac_header_compiler=no
4327+fi
4328+
4329+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4331+$as_echo "$ac_header_compiler" >&6; }
4332+
4333+# Is the header present?
4334+{ $as_echo "$as_me:$LINENO: checking ncurses/ncurses.h presence" >&5
4335+$as_echo_n "checking ncurses/ncurses.h presence... " >&6; }
4336+cat >conftest.$ac_ext <<_ACEOF
4337+/* confdefs.h. */
4338+_ACEOF
4339+cat confdefs.h >>conftest.$ac_ext
4340+cat >>conftest.$ac_ext <<_ACEOF
4341+/* end confdefs.h. */
4342+#include <ncurses/ncurses.h>
4343+_ACEOF
4344+if { (ac_try="$ac_cpp conftest.$ac_ext"
4345+case "(($ac_try" in
4346+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347+ *) ac_try_echo=$ac_try;;
4348+esac
4349+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4350+$as_echo "$ac_try_echo") >&5
4351+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4352+ ac_status=$?
4353+ grep -v '^ *+' conftest.er1 >conftest.err
4354+ rm -f conftest.er1
4355+ cat conftest.err >&5
4356+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357+ (exit $ac_status); } >/dev/null && {
4358+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4359+ test ! -s conftest.err
4360+ }; then
4361+ ac_header_preproc=yes
4362+else
4363+ $as_echo "$as_me: failed program was:" >&5
4364+sed 's/^/| /' conftest.$ac_ext >&5
4365+
4366+ ac_header_preproc=no
4367+fi
4368+
4369+rm -f conftest.err conftest.$ac_ext
4370+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4371+$as_echo "$ac_header_preproc" >&6; }
4372+
4373+# So? What about this header?
4374+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4375+ yes:no: )
4376+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&5
4377+$as_echo "$as_me: WARNING: ncurses/ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4378+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: proceeding with the compiler's result" >&5
4379+$as_echo "$as_me: WARNING: ncurses/ncurses.h: proceeding with the compiler's result" >&2;}
4380+ ac_header_preproc=yes
4381+ ;;
4382+ no:yes:* )
4383+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: present but cannot be compiled" >&5
4384+$as_echo "$as_me: WARNING: ncurses/ncurses.h: present but cannot be compiled" >&2;}
4385+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: check for missing prerequisite headers?" >&5
4386+$as_echo "$as_me: WARNING: ncurses/ncurses.h: check for missing prerequisite headers?" >&2;}
4387+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: see the Autoconf documentation" >&5
4388+$as_echo "$as_me: WARNING: ncurses/ncurses.h: see the Autoconf documentation" >&2;}
4389+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: section \"Present But Cannot Be Compiled\"" >&5
4390+$as_echo "$as_me: WARNING: ncurses/ncurses.h: section \"Present But Cannot Be Compiled\"" >&2;}
4391+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: proceeding with the preprocessor's result" >&5
4392+$as_echo "$as_me: WARNING: ncurses/ncurses.h: proceeding with the preprocessor's result" >&2;}
4393+ { $as_echo "$as_me:$LINENO: WARNING: ncurses/ncurses.h: in the future, the compiler will take precedence" >&5
4394+$as_echo "$as_me: WARNING: ncurses/ncurses.h: in the future, the compiler will take precedence" >&2;}
4395+
4396+ ;;
4397+esac
4398+{ $as_echo "$as_me:$LINENO: checking for ncurses/ncurses.h" >&5
4399+$as_echo_n "checking for ncurses/ncurses.h... " >&6; }
4400+if test "${ac_cv_header_ncurses_ncurses_h+set}" = set; then
4401+ $as_echo_n "(cached) " >&6
4402+else
4403+ ac_cv_header_ncurses_ncurses_h=$ac_header_preproc
4404+fi
4405+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_ncurses_h" >&5
4406+$as_echo "$ac_cv_header_ncurses_ncurses_h" >&6; }
4407+
4408+fi
4409+if test "x$ac_cv_header_ncurses_ncurses_h" = x""yes; then
4410+ NCURSES_OK=1; cat >>confdefs.h <<\_ACEOF
4411+#define HAVE_NCURSES_NCURSES_H 1
4412+_ACEOF
4413+
4414+fi
4415+
4416+
4417+{ $as_echo "$as_me:$LINENO: checking for main in -lcursesw" >&5
4418+$as_echo_n "checking for main in -lcursesw... " >&6; }
4419+if test "${ac_cv_lib_cursesw_main+set}" = set; then
4420+ $as_echo_n "(cached) " >&6
4421+else
4422+ ac_check_lib_save_LIBS=$LIBS
4423+LIBS="-lcursesw $LIBS"
4424+cat >conftest.$ac_ext <<_ACEOF
4425+/* confdefs.h. */
4426+_ACEOF
4427+cat confdefs.h >>conftest.$ac_ext
4428+cat >>conftest.$ac_ext <<_ACEOF
4429+/* end confdefs.h. */
4430+
4431+
4432+int
4433+main ()
4434+{
4435+return main ();
4436+ ;
4437+ return 0;
4438+}
4439+_ACEOF
4440+rm -f conftest.$ac_objext conftest$ac_exeext
4441+if { (ac_try="$ac_link"
4442+case "(($ac_try" in
4443+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444+ *) ac_try_echo=$ac_try;;
4445+esac
4446+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4447+$as_echo "$ac_try_echo") >&5
4448+ (eval "$ac_link") 2>conftest.er1
4449+ ac_status=$?
4450+ grep -v '^ *+' conftest.er1 >conftest.err
4451+ rm -f conftest.er1
4452+ cat conftest.err >&5
4453+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454+ (exit $ac_status); } && {
4455+ test -z "$ac_c_werror_flag" ||
4456+ test ! -s conftest.err
4457+ } && test -s conftest$ac_exeext && {
4458+ test "$cross_compiling" = yes ||
4459+ $as_test_x conftest$ac_exeext
4460+ }; then
4461+ ac_cv_lib_cursesw_main=yes
4462+else
4463+ $as_echo "$as_me: failed program was:" >&5
4464+sed 's/^/| /' conftest.$ac_ext >&5
4465+
4466+ ac_cv_lib_cursesw_main=no
4467+fi
4468+
4469+rm -rf conftest.dSYM
4470+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4471+ conftest$ac_exeext conftest.$ac_ext
4472+LIBS=$ac_check_lib_save_LIBS
4473+fi
4474+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cursesw_main" >&5
4475+$as_echo "$ac_cv_lib_cursesw_main" >&6; }
4476+if test "x$ac_cv_lib_cursesw_main" = x""yes; then
4477+ LIBS="$LIBS -lcursesw"; NCURSES_OK2=1
4478+fi
4479+ac_cv_lib_cursesw=ac_cv_lib_cursesw_main
4480+
4481+{ $as_echo "$as_me:$LINENO: checking for main in -lncursesw" >&5
4482+$as_echo_n "checking for main in -lncursesw... " >&6; }
4483+if test "${ac_cv_lib_ncursesw_main+set}" = set; then
4484+ $as_echo_n "(cached) " >&6
4485+else
4486+ ac_check_lib_save_LIBS=$LIBS
4487+LIBS="-lncursesw $LIBS"
4488+cat >conftest.$ac_ext <<_ACEOF
4489+/* confdefs.h. */
4490+_ACEOF
4491+cat confdefs.h >>conftest.$ac_ext
4492+cat >>conftest.$ac_ext <<_ACEOF
4493+/* end confdefs.h. */
4494+
4495+
4496+int
4497+main ()
4498+{
4499+return main ();
4500+ ;
4501+ return 0;
4502+}
4503+_ACEOF
4504+rm -f conftest.$ac_objext conftest$ac_exeext
4505+if { (ac_try="$ac_link"
4506+case "(($ac_try" in
4507+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4508+ *) ac_try_echo=$ac_try;;
4509+esac
4510+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4511+$as_echo "$ac_try_echo") >&5
4512+ (eval "$ac_link") 2>conftest.er1
4513+ ac_status=$?
4514+ grep -v '^ *+' conftest.er1 >conftest.err
4515+ rm -f conftest.er1
4516+ cat conftest.err >&5
4517+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518+ (exit $ac_status); } && {
4519+ test -z "$ac_c_werror_flag" ||
4520+ test ! -s conftest.err
4521+ } && test -s conftest$ac_exeext && {
4522+ test "$cross_compiling" = yes ||
4523+ $as_test_x conftest$ac_exeext
4524+ }; then
4525+ ac_cv_lib_ncursesw_main=yes
4526+else
4527+ $as_echo "$as_me: failed program was:" >&5
4528+sed 's/^/| /' conftest.$ac_ext >&5
4529+
4530+ ac_cv_lib_ncursesw_main=no
35664531 fi
3567-rm -f core conftest.err conftest.$ac_objext \
3568- conftest$ac_exeext conftest.$ac_ext
4532+
4533+rm -rf conftest.dSYM
4534+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4535+ conftest$ac_exeext conftest.$ac_ext
35694536 LIBS=$ac_check_lib_save_LIBS
35704537 fi
3571-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&5
3572-$as_echo "$ac_cv_lib_readline_main" >&6; }
3573-if test "x$ac_cv_lib_readline_main" = xyes; then :
3574- LIBS="$LIBS -lreadline"
3575-else
3576- exit
4538+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncursesw_main" >&5
4539+$as_echo "$ac_cv_lib_ncursesw_main" >&6; }
4540+if test "x$ac_cv_lib_ncursesw_main" = x""yes; then
4541+ LIBS="$LIBS -lncursesw"; NCURSES_OK2=1
35774542 fi
3578-ac_cv_lib_readline=ac_cv_lib_readline_main
4543+ac_cv_lib_ncursesw=ac_cv_lib_ncursesw_main
35794544
35804545
3581-###########################################################################
3582-# libcurses
3583-###########################################################################
3584-ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
3585-if test "x$ac_cv_header_ncurses_h" = xyes; then :
3586- NCURSES_OK=1; LIBS="$LIBS -lncurses"; $as_echo "#define HAVE_NCURSES_H 1" >>confdefs.h
4546+if test -z "$NCURSES_OK2"
4547+then
4548+ { $as_echo "$as_me:$LINENO: checking for main in -lcurses" >&5
4549+$as_echo_n "checking for main in -lcurses... " >&6; }
4550+if test "${ac_cv_lib_curses_main+set}" = set; then
4551+ $as_echo_n "(cached) " >&6
4552+else
4553+ ac_check_lib_save_LIBS=$LIBS
4554+LIBS="-lcurses $LIBS"
4555+cat >conftest.$ac_ext <<_ACEOF
4556+/* confdefs.h. */
4557+_ACEOF
4558+cat confdefs.h >>conftest.$ac_ext
4559+cat >>conftest.$ac_ext <<_ACEOF
4560+/* end confdefs.h. */
4561+
4562+
4563+int
4564+main ()
4565+{
4566+return main ();
4567+ ;
4568+ return 0;
4569+}
4570+_ACEOF
4571+rm -f conftest.$ac_objext conftest$ac_exeext
4572+if { (ac_try="$ac_link"
4573+case "(($ac_try" in
4574+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575+ *) ac_try_echo=$ac_try;;
4576+esac
4577+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4578+$as_echo "$ac_try_echo") >&5
4579+ (eval "$ac_link") 2>conftest.er1
4580+ ac_status=$?
4581+ grep -v '^ *+' conftest.er1 >conftest.err
4582+ rm -f conftest.er1
4583+ cat conftest.err >&5
4584+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585+ (exit $ac_status); } && {
4586+ test -z "$ac_c_werror_flag" ||
4587+ test ! -s conftest.err
4588+ } && test -s conftest$ac_exeext && {
4589+ test "$cross_compiling" = yes ||
4590+ $as_test_x conftest$ac_exeext
4591+ }; then
4592+ ac_cv_lib_curses_main=yes
4593+else
4594+ $as_echo "$as_me: failed program was:" >&5
4595+sed 's/^/| /' conftest.$ac_ext >&5
4596+
4597+ ac_cv_lib_curses_main=no
4598+fi
35874599
4600+rm -rf conftest.dSYM
4601+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602+ conftest$ac_exeext conftest.$ac_ext
4603+LIBS=$ac_check_lib_save_LIBS
4604+fi
4605+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
4606+$as_echo "$ac_cv_lib_curses_main" >&6; }
4607+if test "x$ac_cv_lib_curses_main" = x""yes; then
4608+ LIBS="$LIBS -lcurses"; NCURSES_OK2=1
35884609 fi
4610+ac_cv_lib_curses=ac_cv_lib_curses_main
4611+
4612+ { $as_echo "$as_me:$LINENO: checking for main in -lncurses" >&5
4613+$as_echo_n "checking for main in -lncurses... " >&6; }
4614+if test "${ac_cv_lib_ncurses_main+set}" = set; then
4615+ $as_echo_n "(cached) " >&6
4616+else
4617+ ac_check_lib_save_LIBS=$LIBS
4618+LIBS="-lncurses $LIBS"
4619+cat >conftest.$ac_ext <<_ACEOF
4620+/* confdefs.h. */
4621+_ACEOF
4622+cat confdefs.h >>conftest.$ac_ext
4623+cat >>conftest.$ac_ext <<_ACEOF
4624+/* end confdefs.h. */
35894625
35904626
3591-ac_fn_c_check_header_mongrel "$LINENO" "ncurses/ncurses.h" "ac_cv_header_ncurses_ncurses_h" "$ac_includes_default"
3592-if test "x$ac_cv_header_ncurses_ncurses_h" = xyes; then :
3593- NCURSES_OK=1; LIBS="$LIBS -lncurses"; $as_echo "#define HAVE_NCURSES_NCURSES_H 1" >>confdefs.h
4627+int
4628+main ()
4629+{
4630+return main ();
4631+ ;
4632+ return 0;
4633+}
4634+_ACEOF
4635+rm -f conftest.$ac_objext conftest$ac_exeext
4636+if { (ac_try="$ac_link"
4637+case "(($ac_try" in
4638+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639+ *) ac_try_echo=$ac_try;;
4640+esac
4641+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4642+$as_echo "$ac_try_echo") >&5
4643+ (eval "$ac_link") 2>conftest.er1
4644+ ac_status=$?
4645+ grep -v '^ *+' conftest.er1 >conftest.err
4646+ rm -f conftest.er1
4647+ cat conftest.err >&5
4648+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649+ (exit $ac_status); } && {
4650+ test -z "$ac_c_werror_flag" ||
4651+ test ! -s conftest.err
4652+ } && test -s conftest$ac_exeext && {
4653+ test "$cross_compiling" = yes ||
4654+ $as_test_x conftest$ac_exeext
4655+ }; then
4656+ ac_cv_lib_ncurses_main=yes
4657+else
4658+ $as_echo "$as_me: failed program was:" >&5
4659+sed 's/^/| /' conftest.$ac_ext >&5
4660+
4661+ ac_cv_lib_ncurses_main=no
4662+fi
35944663
4664+rm -rf conftest.dSYM
4665+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4666+ conftest$ac_exeext conftest.$ac_ext
4667+LIBS=$ac_check_lib_save_LIBS
35954668 fi
4669+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_main" >&5
4670+$as_echo "$ac_cv_lib_ncurses_main" >&6; }
4671+if test "x$ac_cv_lib_ncurses_main" = x""yes; then
4672+ LIBS="$LIBS -lncurses"; NCURSES_OK2=1
4673+fi
4674+ac_cv_lib_ncurses=ac_cv_lib_ncurses_main
35964675
4676+fi
35974677
4678+if test -z "$NCURSES_OK"
4679+then
4680+ exit
4681+fi
35984682
3599-if test -z NCURSES_OK
4683+if test -z "$NCURSES_OK2"
36004684 then
36014685 exit
36024686 fi
36034687
4688+
36044689 ###########################################################################
36054690 # math library
36064691 ###########################################################################
3607-ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
3608-if test "x$ac_cv_header_math_h" = xyes; then :
3609- LIBS="$LIBS -lm"; $as_echo "#define HAVE_MATH_H 1" >>confdefs.h
4692+if test "${ac_cv_header_math_h+set}" = set; then
4693+ { $as_echo "$as_me:$LINENO: checking for math.h" >&5
4694+$as_echo_n "checking for math.h... " >&6; }
4695+if test "${ac_cv_header_math_h+set}" = set; then
4696+ $as_echo_n "(cached) " >&6
4697+fi
4698+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_math_h" >&5
4699+$as_echo "$ac_cv_header_math_h" >&6; }
4700+else
4701+ # Is the header compilable?
4702+{ $as_echo "$as_me:$LINENO: checking math.h usability" >&5
4703+$as_echo_n "checking math.h usability... " >&6; }
4704+cat >conftest.$ac_ext <<_ACEOF
4705+/* confdefs.h. */
4706+_ACEOF
4707+cat confdefs.h >>conftest.$ac_ext
4708+cat >>conftest.$ac_ext <<_ACEOF
4709+/* end confdefs.h. */
4710+$ac_includes_default
4711+#include <math.h>
4712+_ACEOF
4713+rm -f conftest.$ac_objext
4714+if { (ac_try="$ac_compile"
4715+case "(($ac_try" in
4716+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4717+ *) ac_try_echo=$ac_try;;
4718+esac
4719+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4720+$as_echo "$ac_try_echo") >&5
4721+ (eval "$ac_compile") 2>conftest.er1
4722+ ac_status=$?
4723+ grep -v '^ *+' conftest.er1 >conftest.err
4724+ rm -f conftest.er1
4725+ cat conftest.err >&5
4726+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727+ (exit $ac_status); } && {
4728+ test -z "$ac_c_werror_flag" ||
4729+ test ! -s conftest.err
4730+ } && test -s conftest.$ac_objext; then
4731+ ac_header_compiler=yes
4732+else
4733+ $as_echo "$as_me: failed program was:" >&5
4734+sed 's/^/| /' conftest.$ac_ext >&5
4735+
4736+ ac_header_compiler=no
4737+fi
4738+
4739+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4740+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4741+$as_echo "$ac_header_compiler" >&6; }
4742+
4743+# Is the header present?
4744+{ $as_echo "$as_me:$LINENO: checking math.h presence" >&5
4745+$as_echo_n "checking math.h presence... " >&6; }
4746+cat >conftest.$ac_ext <<_ACEOF
4747+/* confdefs.h. */
4748+_ACEOF
4749+cat confdefs.h >>conftest.$ac_ext
4750+cat >>conftest.$ac_ext <<_ACEOF
4751+/* end confdefs.h. */
4752+#include <math.h>
4753+_ACEOF
4754+if { (ac_try="$ac_cpp conftest.$ac_ext"
4755+case "(($ac_try" in
4756+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757+ *) ac_try_echo=$ac_try;;
4758+esac
4759+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4760+$as_echo "$ac_try_echo") >&5
4761+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4762+ ac_status=$?
4763+ grep -v '^ *+' conftest.er1 >conftest.err
4764+ rm -f conftest.er1
4765+ cat conftest.err >&5
4766+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767+ (exit $ac_status); } >/dev/null && {
4768+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4769+ test ! -s conftest.err
4770+ }; then
4771+ ac_header_preproc=yes
4772+else
4773+ $as_echo "$as_me: failed program was:" >&5
4774+sed 's/^/| /' conftest.$ac_ext >&5
4775+
4776+ ac_header_preproc=no
4777+fi
4778+
4779+rm -f conftest.err conftest.$ac_ext
4780+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4781+$as_echo "$ac_header_preproc" >&6; }
4782+
4783+# So? What about this header?
4784+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4785+ yes:no: )
4786+ { $as_echo "$as_me:$LINENO: WARNING: math.h: accepted by the compiler, rejected by the preprocessor!" >&5
4787+$as_echo "$as_me: WARNING: math.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4788+ { $as_echo "$as_me:$LINENO: WARNING: math.h: proceeding with the compiler's result" >&5
4789+$as_echo "$as_me: WARNING: math.h: proceeding with the compiler's result" >&2;}
4790+ ac_header_preproc=yes
4791+ ;;
4792+ no:yes:* )
4793+ { $as_echo "$as_me:$LINENO: WARNING: math.h: present but cannot be compiled" >&5
4794+$as_echo "$as_me: WARNING: math.h: present but cannot be compiled" >&2;}
4795+ { $as_echo "$as_me:$LINENO: WARNING: math.h: check for missing prerequisite headers?" >&5
4796+$as_echo "$as_me: WARNING: math.h: check for missing prerequisite headers?" >&2;}
4797+ { $as_echo "$as_me:$LINENO: WARNING: math.h: see the Autoconf documentation" >&5
4798+$as_echo "$as_me: WARNING: math.h: see the Autoconf documentation" >&2;}
4799+ { $as_echo "$as_me:$LINENO: WARNING: math.h: section \"Present But Cannot Be Compiled\"" >&5
4800+$as_echo "$as_me: WARNING: math.h: section \"Present But Cannot Be Compiled\"" >&2;}
4801+ { $as_echo "$as_me:$LINENO: WARNING: math.h: proceeding with the preprocessor's result" >&5
4802+$as_echo "$as_me: WARNING: math.h: proceeding with the preprocessor's result" >&2;}
4803+ { $as_echo "$as_me:$LINENO: WARNING: math.h: in the future, the compiler will take precedence" >&5
4804+$as_echo "$as_me: WARNING: math.h: in the future, the compiler will take precedence" >&2;}
4805+
4806+ ;;
4807+esac
4808+{ $as_echo "$as_me:$LINENO: checking for math.h" >&5
4809+$as_echo_n "checking for math.h... " >&6; }
4810+if test "${ac_cv_header_math_h+set}" = set; then
4811+ $as_echo_n "(cached) " >&6
4812+else
4813+ ac_cv_header_math_h=$ac_header_preproc
4814+fi
4815+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_math_h" >&5
4816+$as_echo "$ac_cv_header_math_h" >&6; }
4817+
4818+fi
4819+if test "x$ac_cv_header_math_h" = x""yes; then
4820+ LIBS="$LIBS -lm"; cat >>confdefs.h <<\_ACEOF
4821+#define HAVE_MATH_H 1
4822+_ACEOF
36104823
36114824 else
36124825 exit
@@ -3617,22 +4830,278 @@ fi
36174830 ##########################################################################
36184831 # oniguruma
36194832 ###########################################################################
3620-ac_fn_c_check_header_mongrel "$LINENO" "oniguruma.h" "ac_cv_header_oniguruma_h" "$ac_includes_default"
3621-if test "x$ac_cv_header_oniguruma_h" = xyes; then :
3622- LIBS="$LIBS -lonig"; $as_echo "#define HAVE_ONIGURUMA_H 1" >>confdefs.h
4833+if test "${ac_cv_header_oniguruma_h+set}" = set; then
4834+ { $as_echo "$as_me:$LINENO: checking for oniguruma.h" >&5
4835+$as_echo_n "checking for oniguruma.h... " >&6; }
4836+if test "${ac_cv_header_oniguruma_h+set}" = set; then
4837+ $as_echo_n "(cached) " >&6
4838+fi
4839+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_oniguruma_h" >&5
4840+$as_echo "$ac_cv_header_oniguruma_h" >&6; }
4841+else
4842+ # Is the header compilable?
4843+{ $as_echo "$as_me:$LINENO: checking oniguruma.h usability" >&5
4844+$as_echo_n "checking oniguruma.h usability... " >&6; }
4845+cat >conftest.$ac_ext <<_ACEOF
4846+/* confdefs.h. */
4847+_ACEOF
4848+cat confdefs.h >>conftest.$ac_ext
4849+cat >>conftest.$ac_ext <<_ACEOF
4850+/* end confdefs.h. */
4851+$ac_includes_default
4852+#include <oniguruma.h>
4853+_ACEOF
4854+rm -f conftest.$ac_objext
4855+if { (ac_try="$ac_compile"
4856+case "(($ac_try" in
4857+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858+ *) ac_try_echo=$ac_try;;
4859+esac
4860+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4861+$as_echo "$ac_try_echo") >&5
4862+ (eval "$ac_compile") 2>conftest.er1
4863+ ac_status=$?
4864+ grep -v '^ *+' conftest.er1 >conftest.err
4865+ rm -f conftest.er1
4866+ cat conftest.err >&5
4867+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868+ (exit $ac_status); } && {
4869+ test -z "$ac_c_werror_flag" ||
4870+ test ! -s conftest.err
4871+ } && test -s conftest.$ac_objext; then
4872+ ac_header_compiler=yes
4873+else
4874+ $as_echo "$as_me: failed program was:" >&5
4875+sed 's/^/| /' conftest.$ac_ext >&5
4876+
4877+ ac_header_compiler=no
4878+fi
4879+
4880+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4882+$as_echo "$ac_header_compiler" >&6; }
4883+
4884+# Is the header present?
4885+{ $as_echo "$as_me:$LINENO: checking oniguruma.h presence" >&5
4886+$as_echo_n "checking oniguruma.h presence... " >&6; }
4887+cat >conftest.$ac_ext <<_ACEOF
4888+/* confdefs.h. */
4889+_ACEOF
4890+cat confdefs.h >>conftest.$ac_ext
4891+cat >>conftest.$ac_ext <<_ACEOF
4892+/* end confdefs.h. */
4893+#include <oniguruma.h>
4894+_ACEOF
4895+if { (ac_try="$ac_cpp conftest.$ac_ext"
4896+case "(($ac_try" in
4897+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4898+ *) ac_try_echo=$ac_try;;
4899+esac
4900+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4901+$as_echo "$ac_try_echo") >&5
4902+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4903+ ac_status=$?
4904+ grep -v '^ *+' conftest.er1 >conftest.err
4905+ rm -f conftest.er1
4906+ cat conftest.err >&5
4907+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908+ (exit $ac_status); } >/dev/null && {
4909+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4910+ test ! -s conftest.err
4911+ }; then
4912+ ac_header_preproc=yes
4913+else
4914+ $as_echo "$as_me: failed program was:" >&5
4915+sed 's/^/| /' conftest.$ac_ext >&5
4916+
4917+ ac_header_preproc=no
4918+fi
4919+
4920+rm -f conftest.err conftest.$ac_ext
4921+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4922+$as_echo "$ac_header_preproc" >&6; }
4923+
4924+# So? What about this header?
4925+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4926+ yes:no: )
4927+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: accepted by the compiler, rejected by the preprocessor!" >&5
4928+$as_echo "$as_me: WARNING: oniguruma.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4929+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: proceeding with the compiler's result" >&5
4930+$as_echo "$as_me: WARNING: oniguruma.h: proceeding with the compiler's result" >&2;}
4931+ ac_header_preproc=yes
4932+ ;;
4933+ no:yes:* )
4934+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: present but cannot be compiled" >&5
4935+$as_echo "$as_me: WARNING: oniguruma.h: present but cannot be compiled" >&2;}
4936+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: check for missing prerequisite headers?" >&5
4937+$as_echo "$as_me: WARNING: oniguruma.h: check for missing prerequisite headers?" >&2;}
4938+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: see the Autoconf documentation" >&5
4939+$as_echo "$as_me: WARNING: oniguruma.h: see the Autoconf documentation" >&2;}
4940+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: section \"Present But Cannot Be Compiled\"" >&5
4941+$as_echo "$as_me: WARNING: oniguruma.h: section \"Present But Cannot Be Compiled\"" >&2;}
4942+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: proceeding with the preprocessor's result" >&5
4943+$as_echo "$as_me: WARNING: oniguruma.h: proceeding with the preprocessor's result" >&2;}
4944+ { $as_echo "$as_me:$LINENO: WARNING: oniguruma.h: in the future, the compiler will take precedence" >&5
4945+$as_echo "$as_me: WARNING: oniguruma.h: in the future, the compiler will take precedence" >&2;}
4946+
4947+ ;;
4948+esac
4949+{ $as_echo "$as_me:$LINENO: checking for oniguruma.h" >&5
4950+$as_echo_n "checking for oniguruma.h... " >&6; }
4951+if test "${ac_cv_header_oniguruma_h+set}" = set; then
4952+ $as_echo_n "(cached) " >&6
4953+else
4954+ ac_cv_header_oniguruma_h=$ac_header_preproc
4955+fi
4956+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_oniguruma_h" >&5
4957+$as_echo "$ac_cv_header_oniguruma_h" >&6; }
4958+
4959+fi
4960+if test "x$ac_cv_header_oniguruma_h" = x""yes; then
4961+ LIBS="$LIBS -lonig"; cat >>confdefs.h <<\_ACEOF
4962+#define HAVE_ONIGURUMA_H 1
4963+_ACEOF
4964+
4965+else
4966+ exit
4967+fi
4968+
4969+
4970+
4971+####################################################################
4972+# iconv settings
4973+####################################################################
4974+if test "${ac_cv_header_iconv_h+set}" = set; then
4975+ { $as_echo "$as_me:$LINENO: checking for iconv.h" >&5
4976+$as_echo_n "checking for iconv.h... " >&6; }
4977+if test "${ac_cv_header_iconv_h+set}" = set; then
4978+ $as_echo_n "(cached) " >&6
4979+fi
4980+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
4981+$as_echo "$ac_cv_header_iconv_h" >&6; }
4982+else
4983+ # Is the header compilable?
4984+{ $as_echo "$as_me:$LINENO: checking iconv.h usability" >&5
4985+$as_echo_n "checking iconv.h usability... " >&6; }
4986+cat >conftest.$ac_ext <<_ACEOF
4987+/* confdefs.h. */
4988+_ACEOF
4989+cat confdefs.h >>conftest.$ac_ext
4990+cat >>conftest.$ac_ext <<_ACEOF
4991+/* end confdefs.h. */
4992+$ac_includes_default
4993+#include <iconv.h>
4994+_ACEOF
4995+rm -f conftest.$ac_objext
4996+if { (ac_try="$ac_compile"
4997+case "(($ac_try" in
4998+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4999+ *) ac_try_echo=$ac_try;;
5000+esac
5001+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5002+$as_echo "$ac_try_echo") >&5
5003+ (eval "$ac_compile") 2>conftest.er1
5004+ ac_status=$?
5005+ grep -v '^ *+' conftest.er1 >conftest.err
5006+ rm -f conftest.er1
5007+ cat conftest.err >&5
5008+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009+ (exit $ac_status); } && {
5010+ test -z "$ac_c_werror_flag" ||
5011+ test ! -s conftest.err
5012+ } && test -s conftest.$ac_objext; then
5013+ ac_header_compiler=yes
5014+else
5015+ $as_echo "$as_me: failed program was:" >&5
5016+sed 's/^/| /' conftest.$ac_ext >&5
5017+
5018+ ac_header_compiler=no
5019+fi
36235020
5021+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5023+$as_echo "$ac_header_compiler" >&6; }
5024+
5025+# Is the header present?
5026+{ $as_echo "$as_me:$LINENO: checking iconv.h presence" >&5
5027+$as_echo_n "checking iconv.h presence... " >&6; }
5028+cat >conftest.$ac_ext <<_ACEOF
5029+/* confdefs.h. */
5030+_ACEOF
5031+cat confdefs.h >>conftest.$ac_ext
5032+cat >>conftest.$ac_ext <<_ACEOF
5033+/* end confdefs.h. */
5034+#include <iconv.h>
5035+_ACEOF
5036+if { (ac_try="$ac_cpp conftest.$ac_ext"
5037+case "(($ac_try" in
5038+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5039+ *) ac_try_echo=$ac_try;;
5040+esac
5041+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5042+$as_echo "$ac_try_echo") >&5
5043+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5044+ ac_status=$?
5045+ grep -v '^ *+' conftest.er1 >conftest.err
5046+ rm -f conftest.er1
5047+ cat conftest.err >&5
5048+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049+ (exit $ac_status); } >/dev/null && {
5050+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5051+ test ! -s conftest.err
5052+ }; then
5053+ ac_header_preproc=yes
5054+else
5055+ $as_echo "$as_me: failed program was:" >&5
5056+sed 's/^/| /' conftest.$ac_ext >&5
5057+
5058+ ac_header_preproc=no
5059+fi
5060+
5061+rm -f conftest.err conftest.$ac_ext
5062+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5063+$as_echo "$ac_header_preproc" >&6; }
5064+
5065+# So? What about this header?
5066+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5067+ yes:no: )
5068+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
5069+$as_echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5070+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
5071+$as_echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
5072+ ac_header_preproc=yes
5073+ ;;
5074+ no:yes:* )
5075+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
5076+$as_echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
5077+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
5078+$as_echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
5079+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
5080+$as_echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
5081+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
5082+$as_echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
5083+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
5084+$as_echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
5085+ { $as_echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
5086+$as_echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
5087+
5088+ ;;
5089+esac
5090+{ $as_echo "$as_me:$LINENO: checking for iconv.h" >&5
5091+$as_echo_n "checking for iconv.h... " >&6; }
5092+if test "${ac_cv_header_iconv_h+set}" = set; then
5093+ $as_echo_n "(cached) " >&6
36245094 else
3625- exit
5095+ ac_cv_header_iconv_h=$ac_header_preproc
36265096 fi
5097+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
5098+$as_echo "$ac_cv_header_iconv_h" >&6; }
36275099
3628-
3629-
3630-####################################################################
3631-# iconv settings
3632-####################################################################
3633-ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
3634-if test "x$ac_cv_header_iconv_h" = xyes; then :
3635- $as_echo "#define HAVE_ICONV_H 1" >>confdefs.h
5100+fi
5101+if test "x$ac_cv_header_iconv_h" = x""yes; then
5102+ cat >>confdefs.h <<\_ACEOF
5103+#define HAVE_ICONV_H 1
5104+_ACEOF
36365105
36375106 else
36385107 exit
@@ -3650,9 +5119,137 @@ fi
36505119 ###########################################################################
36515120 if test $ENABLE_MIGEMO = 1
36525121 then
3653- ac_fn_c_check_header_mongrel "$LINENO" "migemo.h" "ac_cv_header_migemo_h" "$ac_includes_default"
3654-if test "x$ac_cv_header_migemo_h" = xyes; then :
3655- LIBS="$LIBS -lmigemo"; $as_echo "#define HAVE_MIGEMO_H 1" >>confdefs.h
5122+ if test "${ac_cv_header_migemo_h+set}" = set; then
5123+ { $as_echo "$as_me:$LINENO: checking for migemo.h" >&5
5124+$as_echo_n "checking for migemo.h... " >&6; }
5125+if test "${ac_cv_header_migemo_h+set}" = set; then
5126+ $as_echo_n "(cached) " >&6
5127+fi
5128+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_migemo_h" >&5
5129+$as_echo "$ac_cv_header_migemo_h" >&6; }
5130+else
5131+ # Is the header compilable?
5132+{ $as_echo "$as_me:$LINENO: checking migemo.h usability" >&5
5133+$as_echo_n "checking migemo.h usability... " >&6; }
5134+cat >conftest.$ac_ext <<_ACEOF
5135+/* confdefs.h. */
5136+_ACEOF
5137+cat confdefs.h >>conftest.$ac_ext
5138+cat >>conftest.$ac_ext <<_ACEOF
5139+/* end confdefs.h. */
5140+$ac_includes_default
5141+#include <migemo.h>
5142+_ACEOF
5143+rm -f conftest.$ac_objext
5144+if { (ac_try="$ac_compile"
5145+case "(($ac_try" in
5146+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5147+ *) ac_try_echo=$ac_try;;
5148+esac
5149+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5150+$as_echo "$ac_try_echo") >&5
5151+ (eval "$ac_compile") 2>conftest.er1
5152+ ac_status=$?
5153+ grep -v '^ *+' conftest.er1 >conftest.err
5154+ rm -f conftest.er1
5155+ cat conftest.err >&5
5156+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157+ (exit $ac_status); } && {
5158+ test -z "$ac_c_werror_flag" ||
5159+ test ! -s conftest.err
5160+ } && test -s conftest.$ac_objext; then
5161+ ac_header_compiler=yes
5162+else
5163+ $as_echo "$as_me: failed program was:" >&5
5164+sed 's/^/| /' conftest.$ac_ext >&5
5165+
5166+ ac_header_compiler=no
5167+fi
5168+
5169+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5170+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5171+$as_echo "$ac_header_compiler" >&6; }
5172+
5173+# Is the header present?
5174+{ $as_echo "$as_me:$LINENO: checking migemo.h presence" >&5
5175+$as_echo_n "checking migemo.h presence... " >&6; }
5176+cat >conftest.$ac_ext <<_ACEOF
5177+/* confdefs.h. */
5178+_ACEOF
5179+cat confdefs.h >>conftest.$ac_ext
5180+cat >>conftest.$ac_ext <<_ACEOF
5181+/* end confdefs.h. */
5182+#include <migemo.h>
5183+_ACEOF
5184+if { (ac_try="$ac_cpp conftest.$ac_ext"
5185+case "(($ac_try" in
5186+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5187+ *) ac_try_echo=$ac_try;;
5188+esac
5189+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5190+$as_echo "$ac_try_echo") >&5
5191+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5192+ ac_status=$?
5193+ grep -v '^ *+' conftest.er1 >conftest.err
5194+ rm -f conftest.er1
5195+ cat conftest.err >&5
5196+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197+ (exit $ac_status); } >/dev/null && {
5198+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5199+ test ! -s conftest.err
5200+ }; then
5201+ ac_header_preproc=yes
5202+else
5203+ $as_echo "$as_me: failed program was:" >&5
5204+sed 's/^/| /' conftest.$ac_ext >&5
5205+
5206+ ac_header_preproc=no
5207+fi
5208+
5209+rm -f conftest.err conftest.$ac_ext
5210+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5211+$as_echo "$ac_header_preproc" >&6; }
5212+
5213+# So? What about this header?
5214+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5215+ yes:no: )
5216+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: accepted by the compiler, rejected by the preprocessor!" >&5
5217+$as_echo "$as_me: WARNING: migemo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5218+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: proceeding with the compiler's result" >&5
5219+$as_echo "$as_me: WARNING: migemo.h: proceeding with the compiler's result" >&2;}
5220+ ac_header_preproc=yes
5221+ ;;
5222+ no:yes:* )
5223+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: present but cannot be compiled" >&5
5224+$as_echo "$as_me: WARNING: migemo.h: present but cannot be compiled" >&2;}
5225+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: check for missing prerequisite headers?" >&5
5226+$as_echo "$as_me: WARNING: migemo.h: check for missing prerequisite headers?" >&2;}
5227+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: see the Autoconf documentation" >&5
5228+$as_echo "$as_me: WARNING: migemo.h: see the Autoconf documentation" >&2;}
5229+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: section \"Present But Cannot Be Compiled\"" >&5
5230+$as_echo "$as_me: WARNING: migemo.h: section \"Present But Cannot Be Compiled\"" >&2;}
5231+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: proceeding with the preprocessor's result" >&5
5232+$as_echo "$as_me: WARNING: migemo.h: proceeding with the preprocessor's result" >&2;}
5233+ { $as_echo "$as_me:$LINENO: WARNING: migemo.h: in the future, the compiler will take precedence" >&5
5234+$as_echo "$as_me: WARNING: migemo.h: in the future, the compiler will take precedence" >&2;}
5235+
5236+ ;;
5237+esac
5238+{ $as_echo "$as_me:$LINENO: checking for migemo.h" >&5
5239+$as_echo_n "checking for migemo.h... " >&6; }
5240+if test "${ac_cv_header_migemo_h+set}" = set; then
5241+ $as_echo_n "(cached) " >&6
5242+else
5243+ ac_cv_header_migemo_h=$ac_header_preproc
5244+fi
5245+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_migemo_h" >&5
5246+$as_echo "$ac_cv_header_migemo_h" >&6; }
5247+
5248+fi
5249+if test "x$ac_cv_header_migemo_h" = x""yes; then
5250+ LIBS="$LIBS -lmigemo"; cat >>confdefs.h <<\_ACEOF
5251+#define HAVE_MIGEMO_H 1
5252+_ACEOF
36565253
36575254 else
36585255 exit
@@ -3692,13 +5289,13 @@ _ACEOF
36925289 case $ac_val in #(
36935290 *${as_nl}*)
36945291 case $ac_var in #(
3695- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5292+ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
36965293 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
36975294 esac
36985295 case $ac_var in #(
36995296 _ | IFS | as_nl) ;; #(
37005297 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3701- *) { eval $ac_var=; unset $ac_var;} ;;
5298+ *) $as_unset $ac_var ;;
37025299 esac ;;
37035300 esac
37045301 done
@@ -3706,8 +5303,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
37065303 (set) 2>&1 |
37075304 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37085305 *${as_nl}ac_space=\ *)
3709- # `set' does not quote correctly, so add quotes: double-quote
3710- # substitution turns \\\\ into \\, and sed turns \\ into \.
5306+ # `set' does not quote correctly, so add quotes (double-quote
5307+ # substitution turns \\\\ into \\, and sed turns \\ into \).
37115308 sed -n \
37125309 "s/'/'\\\\''/g;
37135310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
@@ -3729,23 +5326,12 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
37295326 :end' >>confcache
37305327 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37315328 if test -w "$cache_file"; then
3732- if test "x$cache_file" != "x/dev/null"; then
3733- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5329+ test "x$cache_file" != "x/dev/null" &&
5330+ { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
37345331 $as_echo "$as_me: updating cache $cache_file" >&6;}
3735- if test ! -f "$cache_file" || test -h "$cache_file"; then
3736- cat confcache >"$cache_file"
3737- else
3738- case $cache_file in #(
3739- */* | ?:*)
3740- mv -f confcache "$cache_file"$$ &&
3741- mv -f "$cache_file"$$ "$cache_file" ;; #(
3742- *)
3743- mv -f confcache "$cache_file" ;;
3744- esac
3745- fi
3746- fi
5332+ cat confcache >$cache_file
37475333 else
3748- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5334+ { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37495335 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37505336 fi
37515337 fi
@@ -3759,15 +5345,14 @@ DEFS=-DHAVE_CONFIG_H
37595345
37605346 ac_libobjs=
37615347 ac_ltlibobjs=
3762-U=
37635348 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
37645349 # 1. Remove the extension, and $U if already installed.
37655350 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
37665351 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
37675352 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
37685353 # will be set to the directory where LIBOBJS objects are built.
3769- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3770- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5354+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5355+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
37715356 done
37725357 LIBOBJS=$ac_libobjs
37735358
@@ -3775,14 +5360,13 @@ LTLIBOBJS=$ac_ltlibobjs
37755360
37765361
37775362
3778-: "${CONFIG_STATUS=./config.status}"
5363+: ${CONFIG_STATUS=./config.status}
37795364 ac_write_fail=0
37805365 ac_clean_files_save=$ac_clean_files
37815366 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3782-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5367+{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
37835368 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3784-as_write_fail=0
3785-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5369+cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37865370 #! $SHELL
37875371 # Generated by $as_me.
37885372 # Run this file to recreate the current configuration.
@@ -3792,18 +5376,17 @@ cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
37925376 debug=false
37935377 ac_cs_recheck=false
37945378 ac_cs_silent=false
3795-
37965379 SHELL=\${CONFIG_SHELL-$SHELL}
3797-export SHELL
3798-_ASEOF
3799-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3800-## -------------------- ##
3801-## M4sh Initialization. ##
3802-## -------------------- ##
5380+_ACEOF
5381+
5382+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5383+## --------------------- ##
5384+## M4sh Initialization. ##
5385+## --------------------- ##
38035386
38045387 # Be more Bourne compatible
38055388 DUALCASE=1; export DUALCASE # for MKS sh
3806-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5389+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
38075390 emulate sh
38085391 NULLCMD=:
38095392 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -3811,15 +5394,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
38115394 alias -g '${1+"$@"}'='"$@"'
38125395 setopt NO_GLOB_SUBST
38135396 else
3814- case `(set -o) 2>/dev/null` in #(
3815- *posix*) :
3816- set -o posix ;; #(
3817- *) :
3818- ;;
5397+ case `(set -o) 2>/dev/null` in
5398+ *posix*) set -o posix ;;
38195399 esac
5400+
38205401 fi
38215402
38225403
5404+
5405+
5406+# PATH needs CR
5407+# Avoid depending upon Character Ranges.
5408+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5409+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5410+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5411+as_cr_digits='0123456789'
5412+as_cr_alnum=$as_cr_Letters$as_cr_digits
5413+
38235414 as_nl='
38245415 '
38255416 export as_nl
@@ -3827,13 +5418,7 @@ export as_nl
38275418 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38285419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
38295420 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3830-# Prefer a ksh shell builtin over an external printf program on Solaris,
3831-# but without wasting forks for bash or zsh.
3832-if test -z "$BASH_VERSION$ZSH_VERSION" \
3833- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3834- as_echo='print -r --'
3835- as_echo_n='print -rn --'
3836-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5421+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
38375422 as_echo='printf %s\n'
38385423 as_echo_n='printf %s'
38395424 else
@@ -3844,7 +5429,7 @@ else
38445429 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
38455430 as_echo_n_body='eval
38465431 arg=$1;
3847- case $arg in #(
5432+ case $arg in
38485433 *"$as_nl"*)
38495434 expr "X$arg" : "X\\(.*\\)$as_nl";
38505435 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -3867,6 +5452,13 @@ if test "${PATH_SEPARATOR+set}" != set; then
38675452 }
38685453 fi
38695454
5455+# Support unset when possible.
5456+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5457+ as_unset=unset
5458+else
5459+ as_unset=false
5460+fi
5461+
38705462
38715463 # IFS
38725464 # We need space, tab and new line, in precisely that order. Quoting is
@@ -3876,16 +5468,15 @@ fi
38765468 IFS=" "" $as_nl"
38775469
38785470 # Find who we are. Look in the path if we contain no directory separator.
3879-as_myself=
3880-case $0 in #((
5471+case $0 in
38815472 *[\\/]* ) as_myself=$0 ;;
38825473 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38835474 for as_dir in $PATH
38845475 do
38855476 IFS=$as_save_IFS
38865477 test -z "$as_dir" && as_dir=.
3887- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3888- done
5478+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5479+done
38895480 IFS=$as_save_IFS
38905481
38915482 ;;
@@ -3897,16 +5488,12 @@ if test "x$as_myself" = x; then
38975488 fi
38985489 if test ! -f "$as_myself"; then
38995490 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3900- exit 1
5491+ { (exit 1); exit 1; }
39015492 fi
39025493
3903-# Unset variables that we do not need and which cause bugs (e.g. in
3904-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3905-# suppresses any "Segmentation fault" message there. '((' could
3906-# trigger a bug in pdksh 5.2.14.
3907-for as_var in BASH_ENV ENV MAIL MAILPATH
3908-do eval test x\${$as_var+set} = xset \
3909- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5494+# Work around bugs in pre-3.0 UWIN ksh.
5495+for as_var in ENV MAIL MAILPATH
5496+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
39105497 done
39115498 PS1='$ '
39125499 PS2='> '
@@ -3918,89 +5505,7 @@ export LC_ALL
39185505 LANGUAGE=C
39195506 export LANGUAGE
39205507
3921-# CDPATH.
3922-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3923-
3924-
3925-# as_fn_error STATUS ERROR [LINENO LOG_FD]
3926-# ----------------------------------------
3927-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3928-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3929-# script with STATUS, using 1 if that was 0.
3930-as_fn_error ()
3931-{
3932- as_status=$1; test $as_status -eq 0 && as_status=1
3933- if test "$4"; then
3934- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3935- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3936- fi
3937- $as_echo "$as_me: error: $2" >&2
3938- as_fn_exit $as_status
3939-} # as_fn_error
3940-
3941-
3942-# as_fn_set_status STATUS
3943-# -----------------------
3944-# Set $? to STATUS, without forking.
3945-as_fn_set_status ()
3946-{
3947- return $1
3948-} # as_fn_set_status
3949-
3950-# as_fn_exit STATUS
3951-# -----------------
3952-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3953-as_fn_exit ()
3954-{
3955- set +e
3956- as_fn_set_status $1
3957- exit $1
3958-} # as_fn_exit
3959-
3960-# as_fn_unset VAR
3961-# ---------------
3962-# Portably unset VAR.
3963-as_fn_unset ()
3964-{
3965- { eval $1=; unset $1;}
3966-}
3967-as_unset=as_fn_unset
3968-# as_fn_append VAR VALUE
3969-# ----------------------
3970-# Append the text in VALUE to the end of the definition contained in VAR. Take
3971-# advantage of any shell optimizations that allow amortized linear growth over
3972-# repeated appends, instead of the typical quadratic growth present in naive
3973-# implementations.
3974-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3975- eval 'as_fn_append ()
3976- {
3977- eval $1+=\$2
3978- }'
3979-else
3980- as_fn_append ()
3981- {
3982- eval $1=\$$1\$2
3983- }
3984-fi # as_fn_append
3985-
3986-# as_fn_arith ARG...
3987-# ------------------
3988-# Perform arithmetic evaluation on the ARGs, and store the result in the
3989-# global $as_val. Take advantage of shells that can avoid forks. The arguments
3990-# must be portable across $(()) and expr.
3991-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3992- eval 'as_fn_arith ()
3993- {
3994- as_val=$(( $* ))
3995- }'
3996-else
3997- as_fn_arith ()
3998- {
3999- as_val=`expr "$@" || test $? -eq 1`
4000- }
4001-fi # as_fn_arith
4002-
4003-
5508+# Required to use basename.
40045509 if expr a : '\(a\)' >/dev/null 2>&1 &&
40055510 test "X`expr 00001 : '.*\(...\)'`" = X001; then
40065511 as_expr=expr
@@ -4014,12 +5519,8 @@ else
40145519 as_basename=false
40155520 fi
40165521
4017-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4018- as_dirname=dirname
4019-else
4020- as_dirname=false
4021-fi
40225522
5523+# Name of the executable.
40235524 as_me=`$as_basename -- "$0" ||
40245525 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40255526 X"$0" : 'X\(//\)$' \| \
@@ -4039,25 +5540,76 @@ $as_echo X/"$0" |
40395540 }
40405541 s/.*/./; q'`
40415542
4042-# Avoid depending upon Character Ranges.
4043-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4044-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4045-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4046-as_cr_digits='0123456789'
4047-as_cr_alnum=$as_cr_Letters$as_cr_digits
5543+# CDPATH.
5544+$as_unset CDPATH
5545+
5546+
5547+
5548+ as_lineno_1=$LINENO
5549+ as_lineno_2=$LINENO
5550+ test "x$as_lineno_1" != "x$as_lineno_2" &&
5551+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5552+
5553+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5554+ # uniformly replaced by the line number. The first 'sed' inserts a
5555+ # line-number line after each line using $LINENO; the second 'sed'
5556+ # does the real work. The second script uses 'N' to pair each
5557+ # line-number line with the line containing $LINENO, and appends
5558+ # trailing '-' during substitution so that $LINENO is not a special
5559+ # case at line end.
5560+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5561+ # scripts with optimization help from Paolo Bonzini. Blame Lee
5562+ # E. McMahon (1931-1989) for sed's syntax. :-)
5563+ sed -n '
5564+ p
5565+ /[$]LINENO/=
5566+ ' <$as_myself |
5567+ sed '
5568+ s/[$]LINENO.*/&-/
5569+ t lineno
5570+ b
5571+ :lineno
5572+ N
5573+ :loop
5574+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5575+ t loop
5576+ s/-\n.*//
5577+ ' >$as_me.lineno &&
5578+ chmod +x "$as_me.lineno" ||
5579+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5580+ { (exit 1); exit 1; }; }
5581+
5582+ # Don't try to exec as it changes $[0], causing all sort of problems
5583+ # (the dirname of $[0] is not the place where we might find the
5584+ # original and so on. Autoconf is especially sensitive to this).
5585+ . "./$as_me.lineno"
5586+ # Exit status is that of the last command.
5587+ exit
5588+}
5589+
5590+
5591+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5592+ as_dirname=dirname
5593+else
5594+ as_dirname=false
5595+fi
40485596
40495597 ECHO_C= ECHO_N= ECHO_T=
4050-case `echo -n x` in #(((((
5598+case `echo -n x` in
40515599 -n*)
4052- case `echo 'xy\c'` in
5600+ case `echo 'x\c'` in
40535601 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4054- xy) ECHO_C='\c';;
4055- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4056- ECHO_T=' ';;
5602+ *) ECHO_C='\c';;
40575603 esac;;
40585604 *)
40595605 ECHO_N='-n';;
40605606 esac
5607+if expr a : '\(a\)' >/dev/null 2>&1 &&
5608+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
5609+ as_expr=expr
5610+else
5611+ as_expr=false
5612+fi
40615613
40625614 rm -f conf$$ conf$$.exe conf$$.file
40635615 if test -d conf$$.dir; then
@@ -4086,56 +5638,8 @@ fi
40865638 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
40875639 rmdir conf$$.dir 2>/dev/null
40885640
4089-
4090-# as_fn_mkdir_p
4091-# -------------
4092-# Create "$as_dir" as a directory, including parents if necessary.
4093-as_fn_mkdir_p ()
4094-{
4095-
4096- case $as_dir in #(
4097- -*) as_dir=./$as_dir;;
4098- esac
4099- test -d "$as_dir" || eval $as_mkdir_p || {
4100- as_dirs=
4101- while :; do
4102- case $as_dir in #(
4103- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4104- *) as_qdir=$as_dir;;
4105- esac
4106- as_dirs="'$as_qdir' $as_dirs"
4107- as_dir=`$as_dirname -- "$as_dir" ||
4108-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4109- X"$as_dir" : 'X\(//\)[^/]' \| \
4110- X"$as_dir" : 'X\(//\)$' \| \
4111- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4112-$as_echo X"$as_dir" |
4113- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4114- s//\1/
4115- q
4116- }
4117- /^X\(\/\/\)[^/].*/{
4118- s//\1/
4119- q
4120- }
4121- /^X\(\/\/\)$/{
4122- s//\1/
4123- q
4124- }
4125- /^X\(\/\).*/{
4126- s//\1/
4127- q
4128- }
4129- s/.*/./; q'`
4130- test -d "$as_dir" && break
4131- done
4132- test -z "$as_dirs" || eval "mkdir $as_dirs"
4133- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4134-
4135-
4136-} # as_fn_mkdir_p
41375641 if mkdir -p . 2>/dev/null; then
4138- as_mkdir_p='mkdir -p "$as_dir"'
5642+ as_mkdir_p=:
41395643 else
41405644 test -d ./-p && rmdir ./-p
41415645 as_mkdir_p=false
@@ -4154,10 +5658,10 @@ else
41545658 if test -d "$1"; then
41555659 test -d "$1/.";
41565660 else
4157- case $1 in #(
5661+ case $1 in
41585662 -*)set "./$1";;
41595663 esac;
4160- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5664+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
41615665 ???[sx]*):;;*)false;;esac;fi
41625666 '\'' sh
41635667 '
@@ -4172,19 +5676,13 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41725676
41735677
41745678 exec 6>&1
4175-## ----------------------------------- ##
4176-## Main body of $CONFIG_STATUS script. ##
4177-## ----------------------------------- ##
4178-_ASEOF
4179-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41805679
4181-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4182-# Save the log message, to keep $0 and so on meaningful, and to
5680+# Save the log message, to keep $[0] and so on meaningful, and to
41835681 # report actual input values of CONFIG_FILES etc. instead of their
41845682 # values after options handling.
41855683 ac_log="
41865684 This file was extended by $as_me, which was
4187-generated by GNU Autoconf 2.68. Invocation command line was
5685+generated by GNU Autoconf 2.63. Invocation command line was
41885686
41895687 CONFIG_FILES = $CONFIG_FILES
41905688 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -4215,15 +5713,13 @@ _ACEOF
42155713
42165714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42175715 ac_cs_usage="\
4218-\`$as_me' instantiates files and other configuration actions
4219-from templates according to the current configuration. Unless the files
4220-and actions are specified as TAGs, all are instantiated by default.
5716+\`$as_me' instantiates files from templates according to the
5717+current configuration.
42215718
4222-Usage: $0 [OPTION]... [TAG]...
5719+Usage: $0 [OPTION]... [FILE]...
42235720
42245721 -h, --help print this help, then exit
42255722 -V, --version print version number and configuration settings, then exit
4226- --config print configuration, then exit
42275723 -q, --quiet, --silent
42285724 do not print progress messages
42295725 -d, --debug don't remove temporary files
@@ -4239,17 +5735,16 @@ $config_files
42395735 Configuration headers:
42405736 $config_headers
42415737
4242-Report bugs to the package provider."
5738+Report bugs to <bug-autoconf@gnu.org>."
42435739
42445740 _ACEOF
42455741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4246-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42475742 ac_cs_version="\\
42485743 config.status
4249-configured by $0, generated by GNU Autoconf 2.68,
4250- with options \\"\$ac_cs_config\\"
5744+configured by $0, generated by GNU Autoconf 2.63,
5745+ with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
42515746
4252-Copyright (C) 2010 Free Software Foundation, Inc.
5747+Copyright (C) 2008 Free Software Foundation, Inc.
42535748 This config.status script is free software; the Free Software Foundation
42545749 gives unlimited permission to copy, distribute and modify it."
42555750
@@ -4265,16 +5760,11 @@ ac_need_defaults=:
42655760 while test $# != 0
42665761 do
42675762 case $1 in
4268- --*=?*)
5763+ --*=*)
42695764 ac_option=`expr "X$1" : 'X\([^=]*\)='`
42705765 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42715766 ac_shift=:
42725767 ;;
4273- --*=)
4274- ac_option=`expr "X$1" : 'X\([^=]*\)='`
4275- ac_optarg=
4276- ac_shift=:
4277- ;;
42785768 *)
42795769 ac_option=$1
42805770 ac_optarg=$2
@@ -4288,29 +5778,27 @@ do
42885778 ac_cs_recheck=: ;;
42895779 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42905780 $as_echo "$ac_cs_version"; exit ;;
4291- --config | --confi | --conf | --con | --co | --c )
4292- $as_echo "$ac_cs_config"; exit ;;
42935781 --debug | --debu | --deb | --de | --d | -d )
42945782 debug=: ;;
42955783 --file | --fil | --fi | --f )
42965784 $ac_shift
42975785 case $ac_optarg in
42985786 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4299- '') as_fn_error $? "missing file argument" ;;
43005787 esac
4301- as_fn_append CONFIG_FILES " '$ac_optarg'"
5788+ CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
43025789 ac_need_defaults=false;;
43035790 --header | --heade | --head | --hea )
43045791 $ac_shift
43055792 case $ac_optarg in
43065793 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
43075794 esac
4308- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5795+ CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
43095796 ac_need_defaults=false;;
43105797 --he | --h)
43115798 # Conflict between --help and --header
4312- as_fn_error $? "ambiguous option: \`$1'
4313-Try \`$0 --help' for more information.";;
5799+ { $as_echo "$as_me: error: ambiguous option: $1
5800+Try \`$0 --help' for more information." >&2
5801+ { (exit 1); exit 1; }; };;
43145802 --help | --hel | -h )
43155803 $as_echo "$ac_cs_usage"; exit ;;
43165804 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
@@ -4318,10 +5806,11 @@ Try \`$0 --help' for more information.";;
43185806 ac_cs_silent=: ;;
43195807
43205808 # This is an error.
4321- -*) as_fn_error $? "unrecognized option: \`$1'
4322-Try \`$0 --help' for more information." ;;
5809+ -*) { $as_echo "$as_me: error: unrecognized option: $1
5810+Try \`$0 --help' for more information." >&2
5811+ { (exit 1); exit 1; }; } ;;
43235812
4324- *) as_fn_append ac_config_targets " $1"
5813+ *) ac_config_targets="$ac_config_targets $1"
43255814 ac_need_defaults=false ;;
43265815
43275816 esac
@@ -4370,7 +5859,9 @@ do
43705859 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
43715860 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
43725861
4373- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5862+ *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5863+$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5864+ { (exit 1); exit 1; }; };;
43745865 esac
43755866 done
43765867
@@ -4392,24 +5883,26 @@ fi
43925883 # after its creation but before its name has been assigned to `$tmp'.
43935884 $debug ||
43945885 {
4395- tmp= ac_tmp=
5886+ tmp=
43965887 trap 'exit_status=$?
4397- : "${ac_tmp:=$tmp}"
4398- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5888+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
43995889 ' 0
4400- trap 'as_fn_exit 1' 1 2 13 15
5890+ trap '{ (exit 1); exit 1; }' 1 2 13 15
44015891 }
44025892 # Create a (secure) tmp directory for tmp files.
44035893
44045894 {
44055895 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4406- test -d "$tmp"
5896+ test -n "$tmp" && test -d "$tmp"
44075897 } ||
44085898 {
44095899 tmp=./conf$$-$RANDOM
44105900 (umask 077 && mkdir "$tmp")
4411-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4412-ac_tmp=$tmp
5901+} ||
5902+{
5903+ $as_echo "$as_me: cannot create a temporary directory in ." >&2
5904+ { (exit 1); exit 1; }
5905+}
44135906
44145907 # Set up the scripts for CONFIG_FILES section.
44155908 # No need to generate them if there are no CONFIG_FILES.
@@ -4417,13 +5910,7 @@ ac_tmp=$tmp
44175910 if test -n "$CONFIG_FILES"; then
44185911
44195912
4420-ac_cr=`echo X | tr X '\015'`
4421-# On cygwin, bash can eat \r inside `` if the user requested igncr.
4422-# But we know of no other shell where ac_cr would be empty at this
4423-# point, so we can use a bashism as a fallback.
4424-if test "x$ac_cr" = x; then
4425- eval ac_cr=\$\'\\r\'
4426-fi
5913+ac_cr=' '
44275914 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
44285915 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
44295916 ac_cs_awk_cr='\\r'
@@ -4431,7 +5918,7 @@ else
44315918 ac_cs_awk_cr=$ac_cr
44325919 fi
44335920
4434-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5921+echo 'BEGIN {' >"$tmp/subs1.awk" &&
44355922 _ACEOF
44365923
44375924
@@ -4440,18 +5927,24 @@ _ACEOF
44405927 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
44415928 echo "_ACEOF"
44425929 } >conf$$subs.sh ||
4443- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4444-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5930+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5931+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5932+ { (exit 1); exit 1; }; }
5933+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
44455934 ac_delim='%!_!# '
44465935 for ac_last_try in false false false false false :; do
44475936 . ./conf$$subs.sh ||
4448- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5937+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5938+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5939+ { (exit 1); exit 1; }; }
44495940
44505941 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
44515942 if test $ac_delim_n = $ac_delim_num; then
44525943 break
44535944 elif $ac_last_try; then
4454- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5945+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5946+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5947+ { (exit 1); exit 1; }; }
44555948 else
44565949 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
44575950 fi
@@ -4459,7 +5952,7 @@ done
44595952 rm -f conf$$subs.sh
44605953
44615954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4462-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5955+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
44635956 _ACEOF
44645957 sed -n '
44655958 h
@@ -4473,7 +5966,7 @@ s/'"$ac_delim"'$//
44735966 t delim
44745967 :nl
44755968 h
4476-s/\(.\{148\}\)..*/\1/
5969+s/\(.\{148\}\).*/\1/
44775970 t more1
44785971 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
44795972 p
@@ -4487,7 +5980,7 @@ s/.\{148\}//
44875980 t nl
44885981 :delim
44895982 h
4490-s/\(.\{148\}\)..*/\1/
5983+s/\(.\{148\}\).*/\1/
44915984 t more2
44925985 s/["\\]/\\&/g; s/^/"/; s/$/"/
44935986 p
@@ -4507,7 +6000,7 @@ t delim
45076000 rm -f conf$$subs.awk
45086001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
45096002 _ACAWK
4510-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6003+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
45116004 for (key in S) S_is_set[key] = 1
45126005 FS = ""
45136006
@@ -4539,29 +6032,23 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
45396032 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
45406033 else
45416034 cat
4542-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4543- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6035+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6036+ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6037+$as_echo "$as_me: error: could not setup config files machinery" >&2;}
6038+ { (exit 1); exit 1; }; }
45446039 _ACEOF
45456040
4546-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4547-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6041+# VPATH may cause trouble with some makes, so we remove $(srcdir),
6042+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
45486043 # trailing colons and then remove the whole line if VPATH becomes empty
45496044 # (actually we leave an empty line to preserve line numbers).
45506045 if test "x$srcdir" = x.; then
4551- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4552-h
4553-s///
4554-s/^/:/
4555-s/[ ]*$/:/
4556-s/:\$(srcdir):/:/g
4557-s/:\${srcdir}:/:/g
4558-s/:@srcdir@:/:/g
4559-s/^:*//
6046+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
6047+s/:*\$(srcdir):*/:/
6048+s/:*\${srcdir}:*/:/
6049+s/:*@srcdir@:*/:/
6050+s/^\([^=]*=[ ]*\):*/\1/
45606051 s/:*$//
4561-x
4562-s/\(=[ ]*\).*/\1/
4563-G
4564-s/\n//
45656052 s/^[^=]*=[ ]*$//
45666053 }'
45676054 fi
@@ -4573,7 +6060,7 @@ fi # test -n "$CONFIG_FILES"
45736060 # No need to generate them if there are no CONFIG_HEADERS.
45746061 # This happens for instance with `./config.status Makefile'.
45756062 if test -n "$CONFIG_HEADERS"; then
4576-cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6063+cat >"$tmp/defines.awk" <<\_ACAWK ||
45776064 BEGIN {
45786065 _ACEOF
45796066
@@ -4585,11 +6072,13 @@ _ACEOF
45856072 # handling of long lines.
45866073 ac_delim='%!_!# '
45876074 for ac_last_try in false false :; do
4588- ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4589- if test -z "$ac_tt"; then
6075+ ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6076+ if test -z "$ac_t"; then
45906077 break
45916078 elif $ac_last_try; then
4592- as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6079+ { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6080+$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6081+ { (exit 1); exit 1; }; }
45936082 else
45946083 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
45956084 fi
@@ -4674,7 +6163,9 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
46746163 _ACAWK
46756164 _ACEOF
46766165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4677- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6166+ { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6167+$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6168+ { (exit 1); exit 1; }; }
46786169 fi # test -n "$CONFIG_HEADERS"
46796170
46806171
@@ -4687,7 +6178,9 @@ do
46876178 esac
46886179 case $ac_mode$ac_tag in
46896180 :[FHL]*:*);;
4690- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
6181+ :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6182+$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6183+ { (exit 1); exit 1; }; };;
46916184 :[FH]-) ac_tag=-:-;;
46926185 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
46936186 esac
@@ -4706,7 +6199,7 @@ do
47066199 for ac_f
47076200 do
47086201 case $ac_f in
4709- -) ac_f="$ac_tmp/stdin";;
6202+ -) ac_f="$tmp/stdin";;
47106203 *) # Look for the file first in the build tree, then in the source tree
47116204 # (if the path is not absolute). The absolute path cannot be DOS-style,
47126205 # because $ac_f cannot contain `:'.
@@ -4715,10 +6208,12 @@ do
47156208 [\\/$]*) false;;
47166209 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
47176210 esac ||
4718- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
6211+ { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6212+$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6213+ { (exit 1); exit 1; }; };;
47196214 esac
47206215 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4721- as_fn_append ac_file_inputs " '$ac_f'"
6216+ ac_file_inputs="$ac_file_inputs '$ac_f'"
47226217 done
47236218
47246219 # Let's still pretend it is `configure' which instantiates (i.e., don't
@@ -4729,7 +6224,7 @@ do
47296224 `' by configure.'
47306225 if test x"$ac_file" != x-; then
47316226 configure_input="$ac_file. $configure_input"
4732- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6227+ { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
47336228 $as_echo "$as_me: creating $ac_file" >&6;}
47346229 fi
47356230 # Neutralize special characters interpreted by sed in replacement strings.
@@ -4741,8 +6236,10 @@ $as_echo "$as_me: creating $ac_file" >&6;}
47416236 esac
47426237
47436238 case $ac_tag in
4744- *:-:* | *:-) cat >"$ac_tmp/stdin" \
4745- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6239+ *:-:* | *:-) cat >"$tmp/stdin" \
6240+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6241+$as_echo "$as_me: error: could not create $ac_file" >&2;}
6242+ { (exit 1); exit 1; }; } ;;
47466243 esac
47476244 ;;
47486245 esac
@@ -4770,7 +6267,47 @@ $as_echo X"$ac_file" |
47706267 q
47716268 }
47726269 s/.*/./; q'`
4773- as_dir="$ac_dir"; as_fn_mkdir_p
6270+ { as_dir="$ac_dir"
6271+ case $as_dir in #(
6272+ -*) as_dir=./$as_dir;;
6273+ esac
6274+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6275+ as_dirs=
6276+ while :; do
6277+ case $as_dir in #(
6278+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6279+ *) as_qdir=$as_dir;;
6280+ esac
6281+ as_dirs="'$as_qdir' $as_dirs"
6282+ as_dir=`$as_dirname -- "$as_dir" ||
6283+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6284+ X"$as_dir" : 'X\(//\)[^/]' \| \
6285+ X"$as_dir" : 'X\(//\)$' \| \
6286+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6287+$as_echo X"$as_dir" |
6288+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6289+ s//\1/
6290+ q
6291+ }
6292+ /^X\(\/\/\)[^/].*/{
6293+ s//\1/
6294+ q
6295+ }
6296+ /^X\(\/\/\)$/{
6297+ s//\1/
6298+ q
6299+ }
6300+ /^X\(\/\).*/{
6301+ s//\1/
6302+ q
6303+ }
6304+ s/.*/./; q'`
6305+ test -d "$as_dir" && break
6306+ done
6307+ test -z "$as_dirs" || eval "mkdir $as_dirs"
6308+ } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6309+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6310+ { (exit 1); exit 1; }; }; }
47746311 ac_builddir=.
47756312
47766313 case "$ac_dir" in
@@ -4822,6 +6359,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48226359 # If the template does not know about datarootdir, expand it.
48236360 # FIXME: This hack should be removed a few years after 2.60.
48246361 ac_datarootdir_hack=; ac_datarootdir_seen=
6362+
48256363 ac_sed_dataroot='
48266364 /datarootdir/ {
48276365 p
@@ -4831,11 +6369,12 @@ ac_sed_dataroot='
48316369 /@docdir@/p
48326370 /@infodir@/p
48336371 /@localedir@/p
4834-/@mandir@/p'
6372+/@mandir@/p
6373+'
48356374 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
48366375 *datarootdir*) ac_datarootdir_seen=yes;;
48376376 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4838- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6377+ { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
48396378 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
48406379 _ACEOF
48416380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
@@ -4845,7 +6384,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48456384 s&@infodir@&$infodir&g
48466385 s&@localedir@&$localedir&g
48476386 s&@mandir@&$mandir&g
4848- s&\\\${datarootdir}&$datarootdir&g' ;;
6387+ s&\\\${datarootdir}&$datarootdir&g' ;;
48496388 esac
48506389 _ACEOF
48516390
@@ -4872,24 +6411,27 @@ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
48726411 s&@INSTALL@&$ac_INSTALL&;t t
48736412 $ac_datarootdir_hack
48746413 "
4875-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4876- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6414+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6415+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6416+$as_echo "$as_me: error: could not create $ac_file" >&2;}
6417+ { (exit 1); exit 1; }; }
48776418
48786419 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4879- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4880- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4881- "$ac_tmp/out"`; test -z "$ac_out"; } &&
4882- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4883-which seems to be undefined. Please make sure it is defined" >&5
6420+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6421+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6422+ { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6423+which seems to be undefined. Please make sure it is defined." >&5
48846424 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4885-which seems to be undefined. Please make sure it is defined" >&2;}
6425+which seems to be undefined. Please make sure it is defined." >&2;}
48866426
4887- rm -f "$ac_tmp/stdin"
6427+ rm -f "$tmp/stdin"
48886428 case $ac_file in
4889- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4890- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6429+ -) cat "$tmp/out" && rm -f "$tmp/out";;
6430+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
48916431 esac \
4892- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6432+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6433+$as_echo "$as_me: error: could not create $ac_file" >&2;}
6434+ { (exit 1); exit 1; }; }
48936435 ;;
48946436 :H)
48956437 #
@@ -4898,21 +6440,27 @@ which seems to be undefined. Please make sure it is defined" >&2;}
48986440 if test x"$ac_file" != x-; then
48996441 {
49006442 $as_echo "/* $configure_input */" \
4901- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4902- } >"$ac_tmp/config.h" \
4903- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4904- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4905- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6443+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6444+ } >"$tmp/config.h" \
6445+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6446+$as_echo "$as_me: error: could not create $ac_file" >&2;}
6447+ { (exit 1); exit 1; }; }
6448+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6449+ { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49066450 $as_echo "$as_me: $ac_file is unchanged" >&6;}
49076451 else
49086452 rm -f "$ac_file"
4909- mv "$ac_tmp/config.h" "$ac_file" \
4910- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6453+ mv "$tmp/config.h" "$ac_file" \
6454+ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6455+$as_echo "$as_me: error: could not create $ac_file" >&2;}
6456+ { (exit 1); exit 1; }; }
49116457 fi
49126458 else
49136459 $as_echo "/* $configure_input */" \
4914- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4915- || as_fn_error $? "could not create -" "$LINENO" 5
6460+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6461+ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6462+$as_echo "$as_me: error: could not create -" >&2;}
6463+ { (exit 1); exit 1; }; }
49166464 fi
49176465 ;;
49186466
@@ -4922,12 +6470,15 @@ $as_echo "$as_me: $ac_file is unchanged" >&6;}
49226470 done # for ac_tag
49236471
49246472
4925-as_fn_exit 0
6473+{ (exit 0); exit 0; }
49266474 _ACEOF
6475+chmod +x $CONFIG_STATUS
49276476 ac_clean_files=$ac_clean_files_save
49286477
49296478 test $ac_write_fail = 0 ||
4930- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6479+ { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6480+$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6481+ { (exit 1); exit 1; }; }
49316482
49326483
49336484 # configure is writing to config.log, and then calls config.status.
@@ -4948,10 +6499,10 @@ if test "$no_create" != yes; then
49486499 exec 5>>config.log
49496500 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49506501 # would make configure fail if this is the last instruction.
4951- $ac_cs_success || as_fn_exit 1
6502+ $ac_cs_success || { (exit 1); exit 1; }
49526503 fi
49536504 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4954- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6505+ { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
49556506 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
49566507 fi
49576508
--- a/configure.in
+++ b/configure.in
@@ -138,14 +138,28 @@ AC_HAVE_LIBRARY(readline, [ LIBS="$LIBS -lreadline" ], [ exit ])
138138 ###########################################################################
139139 # libcurses
140140 ###########################################################################
141-AC_CHECK_HEADER(ncurses.h, [NCURSES_OK=1; LIBS="$LIBS -lncurses"; AC_DEFINE(HAVE_NCURSES_H, 1)])
142-AC_CHECK_HEADER(ncurses/ncurses.h, [NCURSES_OK=1; LIBS="$LIBS -lncurses"; AC_DEFINE(HAVE_NCURSES_NCURSES_H, 1)])
141+AC_CHECK_HEADER(ncurses.h, [NCURSES_OK=1; AC_DEFINE(HAVE_NCURSES_H, 1)])
142+AC_CHECK_HEADER(ncurses/ncurses.h, [NCURSES_OK=1; AC_DEFINE(HAVE_NCURSES_NCURSES_H, 1)])
143+AC_HAVE_LIBRARY(cursesw, [ LIBS="$LIBS -lcursesw"; NCURSES_OK2=1 ])
144+AC_HAVE_LIBRARY(ncursesw, [ LIBS="$LIBS -lncursesw"; NCURSES_OK2=1 ])
143145
144-if test -z NCURSES_OK
146+if test -z "$NCURSES_OK2"
147+then
148+ AC_HAVE_LIBRARY(curses, [ LIBS="$LIBS -lcurses"; NCURSES_OK2=1 ])
149+ AC_HAVE_LIBRARY(ncurses, [ LIBS="$LIBS -lncurses"; NCURSES_OK2=1 ])
150+fi
151+
152+if test -z "$NCURSES_OK"
153+then
154+ exit
155+fi
156+
157+if test -z "$NCURSES_OK2"
145158 then
146159 exit
147160 fi
148161
162+
149163 ###########################################################################
150164 # math library
151165 ###########################################################################
--- a/src/filer.c
+++ b/src/filer.c
@@ -30,7 +30,6 @@
3030 #include <stdarg.h>
3131 #include <time.h>
3232 #include <ctype.h>
33-#include <locale.h>
3433 #include <sys/types.h>
3534 #include <pwd.h>
3635 #include <dirent.h>
--- a/src/main.c
+++ b/src/main.c
@@ -908,7 +908,7 @@ int main(int argc, char* argv[])
908908 CHECKML_BEGIN(FALSE);
909909
910910 /// ファイラでもスクリプトでも共通の環境変数を初期化 ///
911- setenv("VERSION", "1.0.4c", 1);
911+ setenv("VERSION", "1.0.4d", 1);
912912 setenv("MFILER4_DATAROOTDIR", DATAROOTDIR, 1);
913913
914914 /// mfiler4のホームディレクトリを保存しておく ///
@@ -1008,7 +1008,7 @@ int main(int argc, char* argv[])
10081008 set_signal_mfiler();
10091009
10101010 /// localeの設定 ///
1011- if(gTerminalKanjiCode == kTKUtf8) setlocale(LC_CTYPE, "ja_JP.UTF-8");
1011+ //if(gTerminalKanjiCode == kTKUtf8) setlocale(LC_CTYPE, "ja_JP.UTF-8");
10121012
10131013 /// atexit登録 ///
10141014 atexit(atexit_fun);