2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for alstede 1.0.1.
5 # Report bugs to <issoftware@users.sourceforge.jp>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='alstede'
598 PACKAGE_TARNAME='alstede'
599 PACKAGE_VERSION='1.0.1'
600 PACKAGE_STRING='alstede 1.0.1'
601 PACKAGE_BUGREPORT='issoftware@users.sourceforge.jp'
603 ac_unique_file="config.h.in"
604 # Factoring default headers for most tests.
605 ac_includes_default="\
607 #ifdef HAVE_SYS_TYPES_H
608 # include <sys/types.h>
610 #ifdef HAVE_SYS_STAT_H
611 # include <sys/stat.h>
617 # ifdef HAVE_STDLIB_H
622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627 #ifdef HAVE_STRINGS_H
628 # include <strings.h>
630 #ifdef HAVE_INTTYPES_H
631 # include <inttypes.h>
640 ac_subst_vars='LTLIBOBJS
679 INSTALL_STRIP_PROGRAM
721 program_transform_name
733 enable_option_checking
735 enable_dependency_tracking
737 ac_precious_vars='build_alias
751 # Initialize some variables set by options.
753 ac_init_version=false
754 ac_unrecognized_opts=
756 # The variables have the same names as the options, with
757 # dashes changed to underlines.
765 program_transform_name=s,x,x,
773 # Installation directory options.
774 # These are left unexpanded so users can "make install exec_prefix=/foo"
775 # and all the variables that are supposed to be based on exec_prefix
776 # by default will actually change.
777 # Use braces instead of parens because sh, perl, etc. also accept them.
778 # (The list follows the same order as the GNU Coding Standards.)
779 bindir='${exec_prefix}/bin'
780 sbindir='${exec_prefix}/sbin'
781 libexecdir='${exec_prefix}/libexec'
782 datarootdir='${prefix}/share'
783 datadir='${datarootdir}'
784 sysconfdir='${prefix}/etc'
785 sharedstatedir='${prefix}/com'
786 localstatedir='${prefix}/var'
787 includedir='${prefix}/include'
788 oldincludedir='/usr/include'
789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
790 infodir='${datarootdir}/info'
795 libdir='${exec_prefix}/lib'
796 localedir='${datarootdir}/locale'
797 mandir='${datarootdir}/man'
803 # If the previous option needs an argument, assign it.
804 if test -n "$ac_prev"; then
805 eval $ac_prev=\$ac_option
811 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
815 # Accept the important Cygnus configure options, so we can diagnose typos.
817 case $ac_dashdash$ac_option in
821 -bindir | --bindir | --bindi | --bind | --bin | --bi)
823 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
826 -build | --build | --buil | --bui | --bu)
827 ac_prev=build_alias ;;
828 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
829 build_alias=$ac_optarg ;;
831 -cache-file | --cache-file | --cache-fil | --cache-fi \
832 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
833 ac_prev=cache_file ;;
834 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
835 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
836 cache_file=$ac_optarg ;;
839 cache_file=config.cache ;;
841 -datadir | --datadir | --datadi | --datad)
843 -datadir=* | --datadir=* | --datadi=* | --datad=*)
844 datadir=$ac_optarg ;;
846 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
847 | --dataroo | --dataro | --datar)
848 ac_prev=datarootdir ;;
849 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
850 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
851 datarootdir=$ac_optarg ;;
853 -disable-* | --disable-*)
854 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
855 # Reject names that are not valid shell variable names.
856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
857 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
858 { (exit 1); exit 1; }; }
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
868 eval enable_$ac_useropt=no ;;
870 -docdir | --docdir | --docdi | --doc | --do)
872 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
875 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
880 -enable-* | --enable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
885 { (exit 1); exit 1; }; }
886 ac_useropt_orig=$ac_useropt
887 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888 case $ac_user_opts in
892 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
893 ac_unrecognized_sep=', ';;
895 eval enable_$ac_useropt=\$ac_optarg ;;
897 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
898 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
899 | --exec | --exe | --ex)
900 ac_prev=exec_prefix ;;
901 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
902 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
903 | --exec=* | --exe=* | --ex=*)
904 exec_prefix=$ac_optarg ;;
906 -gas | --gas | --ga | --g)
907 # Obsolete; use --with-gas.
910 -help | --help | --hel | --he | -h)
912 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
913 ac_init_help=recursive ;;
914 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
915 ac_init_help=short ;;
917 -host | --host | --hos | --ho)
918 ac_prev=host_alias ;;
919 -host=* | --host=* | --hos=* | --ho=*)
920 host_alias=$ac_optarg ;;
922 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926 htmldir=$ac_optarg ;;
928 -includedir | --includedir | --includedi | --included | --include \
929 | --includ | --inclu | --incl | --inc)
930 ac_prev=includedir ;;
931 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
932 | --includ=* | --inclu=* | --incl=* | --inc=*)
933 includedir=$ac_optarg ;;
935 -infodir | --infodir | --infodi | --infod | --info | --inf)
937 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
938 infodir=$ac_optarg ;;
940 -libdir | --libdir | --libdi | --libd)
942 -libdir=* | --libdir=* | --libdi=* | --libd=*)
945 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
946 | --libexe | --libex | --libe)
947 ac_prev=libexecdir ;;
948 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
949 | --libexe=* | --libex=* | --libe=*)
950 libexecdir=$ac_optarg ;;
952 -localedir | --localedir | --localedi | --localed | --locale)
954 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
955 localedir=$ac_optarg ;;
957 -localstatedir | --localstatedir | --localstatedi | --localstated \
958 | --localstate | --localstat | --localsta | --localst | --locals)
959 ac_prev=localstatedir ;;
960 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
961 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
962 localstatedir=$ac_optarg ;;
964 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
970 # Obsolete; use --without-fp.
973 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
974 | --no-cr | --no-c | -n)
977 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
978 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
981 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
982 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
983 | --oldin | --oldi | --old | --ol | --o)
984 ac_prev=oldincludedir ;;
985 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
986 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
987 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
988 oldincludedir=$ac_optarg ;;
990 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
995 -program-prefix | --program-prefix | --program-prefi | --program-pref \
996 | --program-pre | --program-pr | --program-p)
997 ac_prev=program_prefix ;;
998 -program-prefix=* | --program-prefix=* | --program-prefi=* \
999 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1000 program_prefix=$ac_optarg ;;
1002 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1003 | --program-suf | --program-su | --program-s)
1004 ac_prev=program_suffix ;;
1005 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1006 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1007 program_suffix=$ac_optarg ;;
1009 -program-transform-name | --program-transform-name \
1010 | --program-transform-nam | --program-transform-na \
1011 | --program-transform-n | --program-transform- \
1012 | --program-transform | --program-transfor \
1013 | --program-transfo | --program-transf \
1014 | --program-trans | --program-tran \
1015 | --progr-tra | --program-tr | --program-t)
1016 ac_prev=program_transform_name ;;
1017 -program-transform-name=* | --program-transform-name=* \
1018 | --program-transform-nam=* | --program-transform-na=* \
1019 | --program-transform-n=* | --program-transform-=* \
1020 | --program-transform=* | --program-transfor=* \
1021 | --program-transfo=* | --program-transf=* \
1022 | --program-trans=* | --program-tran=* \
1023 | --progr-tra=* | --program-tr=* | --program-t=*)
1024 program_transform_name=$ac_optarg ;;
1026 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1029 pdfdir=$ac_optarg ;;
1031 -psdir | --psdir | --psdi | --psd | --ps)
1033 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1037 | -silent | --silent | --silen | --sile | --sil)
1040 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1042 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1044 sbindir=$ac_optarg ;;
1046 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1047 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1048 | --sharedst | --shareds | --shared | --share | --shar \
1050 ac_prev=sharedstatedir ;;
1051 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1052 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1053 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1055 sharedstatedir=$ac_optarg ;;
1057 -site | --site | --sit)
1059 -site=* | --site=* | --sit=*)
1062 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1064 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1065 srcdir=$ac_optarg ;;
1067 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1068 | --syscon | --sysco | --sysc | --sys | --sy)
1069 ac_prev=sysconfdir ;;
1070 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1071 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1072 sysconfdir=$ac_optarg ;;
1074 -target | --target | --targe | --targ | --tar | --ta | --t)
1075 ac_prev=target_alias ;;
1076 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1077 target_alias=$ac_optarg ;;
1079 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1082 -version | --version | --versio | --versi | --vers | -V)
1083 ac_init_version=: ;;
1086 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1090 { (exit 1); exit 1; }; }
1091 ac_useropt_orig=$ac_useropt
1092 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1098 ac_unrecognized_sep=', ';;
1100 eval with_$ac_useropt=\$ac_optarg ;;
1102 -without-* | --without-*)
1103 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1107 { (exit 1); exit 1; }; }
1108 ac_useropt_orig=$ac_useropt
1109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1115 ac_unrecognized_sep=', ';;
1117 eval with_$ac_useropt=no ;;
1120 # Obsolete; use --with-x.
1123 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1124 | --x-incl | --x-inc | --x-in | --x-i)
1125 ac_prev=x_includes ;;
1126 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1127 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1128 x_includes=$ac_optarg ;;
1130 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1131 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1132 ac_prev=x_libraries ;;
1133 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1134 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1135 x_libraries=$ac_optarg ;;
1137 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1138 Try \`$0 --help' for more information." >&2
1139 { (exit 1); exit 1; }; }
1143 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1144 # Reject names that are not valid shell variable names.
1145 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1146 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1147 { (exit 1); exit 1; }; }
1148 eval $ac_envvar=\$ac_optarg
1149 export $ac_envvar ;;
1152 # FIXME: should be removed in autoconf 3.0.
1153 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1154 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1156 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1162 if test -n "$ac_prev"; then
1163 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1164 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1165 { (exit 1); exit 1; }; }
1168 if test -n "$ac_unrecognized_opts"; then
1169 case $enable_option_checking in
1171 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1172 { (exit 1); exit 1; }; } ;;
1173 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1177 # Check all directory arguments for consistency.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 # Remove trailing slashes.
1187 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188 eval $ac_var=\$ac_val;;
1190 # Be sure to have absolute directory names.
1192 [\\/$]* | ?:[\\/]* ) continue;;
1193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1196 { (exit 1); exit 1; }; }
1199 # There might be people who depend on the old broken behavior: `$host'
1200 # used to hold the argument of --host etc.
1201 # FIXME: To remove some day.
1204 target=$target_alias
1206 # FIXME: To remove some day.
1207 if test "x$host_alias" != x; then
1208 if test "x$build_alias" = x; then
1209 cross_compiling=maybe
1210 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1211 If a cross compiler is detected then cross compile mode will be used." >&2
1212 elif test "x$build_alias" != "x$host_alias"; then
1218 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220 test "$silent" = yes && exec 6>/dev/null
1223 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1224 ac_ls_di=`ls -di .` &&
1225 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1226 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1227 { (exit 1); exit 1; }; }
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1230 { (exit 1); exit 1; }; }
1233 # Find the source files, if location was not specified.
1234 if test -z "$srcdir"; then
1235 ac_srcdir_defaulted=yes
1236 # Try the directory containing this script, then the parent directory.
1237 ac_confdir=`$as_dirname -- "$as_myself" ||
1238 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1239 X"$as_myself" : 'X\(//\)[^/]' \| \
1240 X"$as_myself" : 'X\(//\)$' \| \
1241 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1242 $as_echo X"$as_myself" |
1243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1265 ac_srcdir_defaulted=no
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1268 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1269 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1270 { (exit 1); exit 1; }; }
1272 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1275 { (exit 1); exit 1; }; }
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1285 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 for ac_var in $ac_precious_vars; do
1288 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_${ac_var}_value=\$${ac_var}
1290 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1301 \`configure' configures alstede 1.0.1 to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/alstede]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --program-prefix=PREFIX prepend PREFIX to installed program names
1360 --program-suffix=SUFFIX append SUFFIX to installed program names
1361 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive ) echo "Configuration of alstede 1.0.1:";;
1372 --disable-option-checking ignore unrecognized --enable/--with options
1373 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1374 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1375 --enable-debug Turn on debugging
1376 --disable-dependency-tracking speeds up one-time build
1377 --enable-dependency-tracking do not reject slow dependency extractors
1379 Some influential environment variables:
1380 CXX C++ compiler command
1381 CXXFLAGS C++ compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CC C compiler command
1388 CFLAGS C compiler flags
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to <issoftware@users.sourceforge.jp>.
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" ||
1403 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1411 # A ".." for each directory in $ac_dir_suffix.
1412 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1413 case $ac_top_builddir_sub in
1414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1418 ac_abs_top_builddir=$ac_pwd
1419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1420 # for backward compatibility:
1421 ac_top_builddir=$ac_top_build_prefix
1424 .) # We are building in place.
1426 ac_top_srcdir=$ac_top_builddir_sub
1427 ac_abs_top_srcdir=$ac_pwd ;;
1428 [\\/]* | ?:[\\/]* ) # Absolute name.
1429 ac_srcdir=$srcdir$ac_dir_suffix;
1430 ac_top_srcdir=$srcdir
1431 ac_abs_top_srcdir=$srcdir ;;
1433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1434 ac_top_srcdir=$ac_top_build_prefix$srcdir
1435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1439 cd "$ac_dir" || { ac_status=$?; continue; }
1440 # Check for guested configure.
1441 if test -f "$ac_srcdir/configure.gnu"; then
1443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1444 elif test -f "$ac_srcdir/configure"; then
1446 $SHELL "$ac_srcdir/configure" --help=recursive
1448 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 cd "$ac_pwd" || { ac_status=$?; break; }
1454 test -n "$ac_init_help" && exit $ac_status
1455 if $ac_init_version; then
1457 alstede configure 1.0.1
1458 generated by GNU Autoconf 2.63
1460 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1461 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1462 This configure script is free software; the Free Software Foundation
1463 gives unlimited permission to copy, distribute and modify it.
1467 cat >config.log <<_ACEOF
1468 This file contains any messages produced by compilers while
1469 running configure, to aid debugging if configure makes a mistake.
1471 It was created by alstede $as_me 1.0.1, which was
1472 generated by GNU Autoconf 2.63. Invocation command line was
1484 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1485 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1486 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1487 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1488 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1490 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1491 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1493 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1494 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1495 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1496 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1497 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1498 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1499 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1507 test -z "$as_dir" && as_dir=.
1508 $as_echo "PATH: $as_dir"
1524 # Keep a trace of the command line.
1525 # Strip out --no-create and --no-recursion so they do not pile up.
1526 # Strip out --silent because we don't want to record it for future runs.
1527 # Also quote any args containing shell meta-characters.
1528 # Make two passes to allow for proper duplicate-argument suppression.
1532 ac_must_keep_next=false
1538 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1540 | -silent | --silent | --silen | --sile | --sil)
1543 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1546 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1548 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1549 if test $ac_must_keep_next = true; then
1550 ac_must_keep_next=false # Got value, back to normal.
1553 *=* | --config-cache | -C | -disable-* | --disable-* \
1554 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1555 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1556 | -with-* | --with-* | -without-* | --without-* | --x)
1557 case "$ac_configure_args0 " in
1558 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1561 -* ) ac_must_keep_next=true ;;
1564 ac_configure_args="$ac_configure_args '$ac_arg'"
1569 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1570 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1572 # When interrupted or exit'd, cleanup temporary files, and complete
1573 # config.log. We remove comments because anyway the quotes in there
1574 # would cause problems or look ugly.
1575 # WARNING: Use '\'' to represent an apostrophe within the trap.
1576 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1577 trap 'exit_status=$?
1578 # Save into config.log some information that might help in debugging.
1583 ## ---------------- ##
1584 ## Cache variables. ##
1585 ## ---------------- ##
1588 # The following way of writing the cache mishandles newlines in values,
1590 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1591 eval ac_val=\$$ac_var
1595 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1596 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1599 _ | IFS | as_nl) ;; #(
1600 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1601 *) $as_unset $ac_var ;;
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 $as_echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1647 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 $as_echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1664 test "$ac_signal" != 0 &&
1665 $as_echo "$as_me: caught signal $ac_signal"
1666 $as_echo "$as_me: exit $exit_status"
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer an explicitly selected file to automatically selected ones.
1711 if test -n "$CONFIG_SITE"; then
1712 ac_site_file1=$CONFIG_SITE
1713 elif test "x$prefix" != xNONE; then
1714 ac_site_file1=$prefix/share/config.site
1715 ac_site_file2=$prefix/etc/config.site
1717 ac_site_file1=$ac_default_prefix/share/config.site
1718 ac_site_file2=$ac_default_prefix/etc/config.site
1720 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1722 test "x$ac_site_file" = xNONE && continue
1723 if test -r "$ac_site_file"; then
1724 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1725 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1726 sed 's/^/| /' "$ac_site_file" >&5
1731 if test -r "$cache_file"; then
1732 # Some versions of bash will fail to source /dev/null (special
1733 # files actually), so we avoid doing that.
1734 if test -f "$cache_file"; then
1735 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1736 $as_echo "$as_me: loading cache $cache_file" >&6;}
1738 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1739 *) . "./$cache_file";;
1743 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1744 $as_echo "$as_me: creating cache $cache_file" >&6;}
1748 # Check that the precious variables saved in the cache have kept the same
1750 ac_cache_corrupted=false
1751 for ac_var in $ac_precious_vars; do
1752 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1753 eval ac_new_set=\$ac_env_${ac_var}_set
1754 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1755 eval ac_new_val=\$ac_env_${ac_var}_value
1756 case $ac_old_set,$ac_new_set in
1758 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1759 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1760 ac_cache_corrupted=: ;;
1762 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1763 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1764 ac_cache_corrupted=: ;;
1767 if test "x$ac_old_val" != "x$ac_new_val"; then
1768 # differences in whitespace do not lead to failure.
1769 ac_old_val_w=`echo x $ac_old_val`
1770 ac_new_val_w=`echo x $ac_new_val`
1771 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1772 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1773 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1774 ac_cache_corrupted=:
1776 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1777 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1778 eval $ac_var=\$ac_old_val
1780 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1781 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1782 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1783 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1786 # Pass precious variables to config.status.
1787 if test "$ac_new_set" = set; then
1789 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1790 *) ac_arg=$ac_var=$ac_new_val ;;
1792 case " $ac_configure_args " in
1793 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1794 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1798 if $ac_cache_corrupted; then
1799 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1801 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1802 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1803 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1804 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1805 { (exit 1); exit 1; }; }
1833 ac_cpp='$CPP $CPPFLAGS'
1834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1840 ac_config_headers="$ac_config_headers config.h"
1843 # Check whether --enable-debug was given.
1844 if test "${enable_debug+set}" = set; then
1845 enableval=$enable_debug; enable_debug="$enableval"
1851 am__api_version='1.10'
1854 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1855 if test -f "$ac_dir/install-sh"; then
1857 ac_install_sh="$ac_aux_dir/install-sh -c"
1859 elif test -f "$ac_dir/install.sh"; then
1861 ac_install_sh="$ac_aux_dir/install.sh -c"
1863 elif test -f "$ac_dir/shtool"; then
1865 ac_install_sh="$ac_aux_dir/shtool install -c"
1869 if test -z "$ac_aux_dir"; then
1870 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1871 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1872 { (exit 1); exit 1; }; }
1875 # These three variables are undocumented and unsupported,
1876 # and are intended to be withdrawn in a future Autoconf release.
1877 # They can cause serious problems if a builder's source tree is in a directory
1878 # whose full name contains unusual characters.
1879 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1880 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1881 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1884 # Find a good install program. We prefer a C program (faster),
1885 # so one script is as good as another. But avoid the broken or
1886 # incompatible versions:
1887 # SysV /etc/install, /usr/sbin/install
1888 # SunOS /usr/etc/install
1889 # IRIX /sbin/install
1891 # AmigaOS /C/install, which installs bootblocks on floppy discs
1892 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1893 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1894 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1895 # OS/2's system install, which has a completely different semantic
1896 # ./install, which can be erroneously created by make from ./install.sh.
1897 # Reject install programs that cannot install multiple files.
1898 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1899 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1900 if test -z "$INSTALL"; then
1901 if test "${ac_cv_path_install+set}" = set; then
1902 $as_echo_n "(cached) " >&6
1904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908 test -z "$as_dir" && as_dir=.
1909 # Account for people who put trailing slashes in PATH elements.
1911 ./ | .// | /cC/* | \
1912 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1913 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1916 # OSF1 and SCO ODT 3.0 have their own names for install.
1917 # Don't use installbsd from OSF since it installs stuff as root
1919 for ac_prog in ginstall scoinst install; do
1920 for ac_exec_ext in '' $ac_executable_extensions; do
1921 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1922 if test $ac_prog = install &&
1923 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1924 # AIX install. It has an incompatible calling convention.
1926 elif test $ac_prog = install &&
1927 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1928 # program-specific install script used by HP pwplus--don't use.
1931 rm -rf conftest.one conftest.two conftest.dir
1932 echo one > conftest.one
1933 echo two > conftest.two
1935 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1936 test -s conftest.one && test -s conftest.two &&
1937 test -s conftest.dir/conftest.one &&
1938 test -s conftest.dir/conftest.two
1940 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1953 rm -rf conftest.one conftest.two conftest.dir
1956 if test "${ac_cv_path_install+set}" = set; then
1957 INSTALL=$ac_cv_path_install
1959 # As a last resort, use the slow shell script. Don't cache a
1960 # value for INSTALL within a source directory, because that will
1961 # break other packages using the cache if that directory is
1962 # removed, or if the value is a relative name.
1963 INSTALL=$ac_install_sh
1966 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1967 $as_echo "$INSTALL" >&6; }
1969 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1970 # It thinks the first close brace ends the variable substitution.
1971 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1973 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1975 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1977 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1978 $as_echo_n "checking whether build environment is sane... " >&6; }
1981 echo timestamp > conftest.file
1982 # Do `set' in a subshell so we don't clobber the current shell's
1983 # arguments. Must try -L first in case configure is actually a
1984 # symlink; some systems play weird games with the mod time of symlinks
1985 # (eg FreeBSD returns the mod time of the symlink's containing
1988 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1989 if test "$*" = "X"; then
1991 set X `ls -t $srcdir/configure conftest.file`
1994 if test "$*" != "X $srcdir/configure conftest.file" \
1995 && test "$*" != "X conftest.file $srcdir/configure"; then
1997 # If neither matched, then we have a broken ls. This can happen
1998 # if, for instance, CONFIG_SHELL is bash and it inherits a
1999 # broken ls alias from the environment. This has actually
2000 # happened. Such a system could not be considered "sane".
2001 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2002 alias in your environment" >&5
2003 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2004 alias in your environment" >&2;}
2005 { (exit 1); exit 1; }; }
2008 test "$2" = conftest.file
2014 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2015 Check your system clock" >&5
2016 $as_echo "$as_me: error: newly created file is older than distributed files!
2017 Check your system clock" >&2;}
2018 { (exit 1); exit 1; }; }
2020 { $as_echo "$as_me:$LINENO: result: yes" >&5
2021 $as_echo "yes" >&6; }
2022 test "$program_prefix" != NONE &&
2023 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2024 # Use a double $ so make ignores it.
2025 test "$program_suffix" != NONE &&
2026 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2027 # Double any \ or $.
2028 # By default was `s,x,x', remove it if useless.
2029 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2030 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2032 # expand $ac_aux_dir to an absolute path
2033 am_aux_dir=`cd $ac_aux_dir && pwd`
2035 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2036 # Use eval to expand $SHELL
2037 if eval "$MISSING --run true"; then
2038 am_missing_run="$MISSING --run "
2041 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2042 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2045 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2046 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2047 if test -z "$MKDIR_P"; then
2048 if test "${ac_cv_path_mkdir+set}" = set; then
2049 $as_echo_n "(cached) " >&6
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2055 test -z "$as_dir" && as_dir=.
2056 for ac_prog in mkdir gmkdir; do
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2059 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2060 'mkdir (GNU coreutils) '* | \
2061 'mkdir (coreutils) '* | \
2062 'mkdir (fileutils) '4.1*)
2063 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2073 if test "${ac_cv_path_mkdir+set}" = set; then
2074 MKDIR_P="$ac_cv_path_mkdir -p"
2076 # As a last resort, use the slow shell script. Don't cache a
2077 # value for MKDIR_P within a source directory, because that will
2078 # break other packages using the cache if that directory is
2079 # removed, or if the value is a relative name.
2080 test -d ./--version && rmdir ./--version
2081 MKDIR_P="$ac_install_sh -d"
2084 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2085 $as_echo "$MKDIR_P" >&6; }
2089 [\\/$]* | ?:[\\/]*) ;;
2090 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2093 for ac_prog in gawk mawk nawk awk
2095 # Extract the first word of "$ac_prog", so it can be a program name with args.
2096 set dummy $ac_prog; ac_word=$2
2097 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2098 $as_echo_n "checking for $ac_word... " >&6; }
2099 if test "${ac_cv_prog_AWK+set}" = set; then
2100 $as_echo_n "(cached) " >&6
2102 if test -n "$AWK"; then
2103 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir=.
2110 for ac_exec_ext in '' $ac_executable_extensions; do
2111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2112 ac_cv_prog_AWK="$ac_prog"
2113 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 if test -n "$AWK"; then
2124 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2125 $as_echo "$AWK" >&6; }
2127 { $as_echo "$as_me:$LINENO: result: no" >&5
2128 $as_echo "no" >&6; }
2132 test -n "$AWK" && break
2135 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2136 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2138 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2139 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2140 $as_echo_n "(cached) " >&6
2142 cat >conftest.make <<\_ACEOF
2145 @echo '@@@%%%=$(MAKE)=@@@%%%'
2147 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2148 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2150 eval ac_cv_prog_make_${ac_make}_set=yes;;
2152 eval ac_cv_prog_make_${ac_make}_set=no;;
2156 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2157 { $as_echo "$as_me:$LINENO: result: yes" >&5
2158 $as_echo "yes" >&6; }
2161 { $as_echo "$as_me:$LINENO: result: no" >&5
2162 $as_echo "no" >&6; }
2163 SET_MAKE="MAKE=${MAKE-make}"
2166 rm -rf .tst 2>/dev/null
2167 mkdir .tst 2>/dev/null
2168 if test -d .tst; then
2173 rmdir .tst 2>/dev/null
2175 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2176 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2177 # is not polluted with repeated "-I."
2178 am__isrc=' -I$(srcdir)'
2179 # test to see if srcdir already configured
2180 if test -f $srcdir/config.status; then
2181 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2182 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2183 { (exit 1); exit 1; }; }
2187 # test whether we have cygpath
2188 if test -z "$CYGPATH_W"; then
2189 if (cygpath --version) >/dev/null 2>/dev/null; then
2190 CYGPATH_W='cygpath -w'
2197 # Define the identity of the package.
2198 PACKAGE=$PACKAGE_NAME
2199 VERSION=$PACKAGE_VERSION
2202 cat >>confdefs.h <<_ACEOF
2203 #define PACKAGE "$PACKAGE"
2207 cat >>confdefs.h <<_ACEOF
2208 #define VERSION "$VERSION"
2211 # Some tools Automake needs.
2213 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2216 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2219 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2222 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2225 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2227 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2229 # Installed binaries are usually stripped using `strip' when the user
2230 # run `make install-strip'. However `strip' might not be the right
2231 # tool to use in cross-compilation environments, therefore Automake
2232 # will honor the `STRIP' environment variable to overrule this program.
2233 if test "$cross_compiling" != no; then
2234 if test -n "$ac_tool_prefix"; then
2235 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2236 set dummy ${ac_tool_prefix}strip; ac_word=$2
2237 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2238 $as_echo_n "checking for $ac_word... " >&6; }
2239 if test "${ac_cv_prog_STRIP+set}" = set; then
2240 $as_echo_n "(cached) " >&6
2242 if test -n "$STRIP"; then
2243 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir=.
2250 for ac_exec_ext in '' $ac_executable_extensions; do
2251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2252 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2253 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 STRIP=$ac_cv_prog_STRIP
2263 if test -n "$STRIP"; then
2264 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2265 $as_echo "$STRIP" >&6; }
2267 { $as_echo "$as_me:$LINENO: result: no" >&5
2268 $as_echo "no" >&6; }
2273 if test -z "$ac_cv_prog_STRIP"; then
2275 # Extract the first word of "strip", so it can be a program name with args.
2276 set dummy strip; ac_word=$2
2277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2278 $as_echo_n "checking for $ac_word... " >&6; }
2279 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2280 $as_echo_n "(cached) " >&6
2282 if test -n "$ac_ct_STRIP"; then
2283 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 test -z "$as_dir" && as_dir=.
2290 for ac_exec_ext in '' $ac_executable_extensions; do
2291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2292 ac_cv_prog_ac_ct_STRIP="strip"
2293 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2303 if test -n "$ac_ct_STRIP"; then
2304 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2305 $as_echo "$ac_ct_STRIP" >&6; }
2307 { $as_echo "$as_me:$LINENO: result: no" >&5
2308 $as_echo "no" >&6; }
2311 if test "x$ac_ct_STRIP" = x; then
2314 case $cross_compiling:$ac_tool_warned in
2316 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2318 ac_tool_warned=yes ;;
2323 STRIP="$ac_cv_prog_STRIP"
2327 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2329 # We need awk for the "check" target. The system "awk" is bad on
2331 # Always define AMTAR for backward compatibility.
2333 AMTAR=${AMTAR-"${am_missing_run}tar"}
2335 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2342 # Checks for programs.
2344 ac_cpp='$CXXCPP $CPPFLAGS'
2345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2348 if test -z "$CXX"; then
2349 if test -n "$CCC"; then
2352 if test -n "$ac_tool_prefix"; then
2353 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2355 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2356 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 $as_echo_n "checking for $ac_word... " >&6; }
2359 if test "${ac_cv_prog_CXX+set}" = set; then
2360 $as_echo_n "(cached) " >&6
2362 if test -n "$CXX"; then
2363 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir=.
2370 for ac_exec_ext in '' $ac_executable_extensions; do
2371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2373 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383 if test -n "$CXX"; then
2384 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2385 $as_echo "$CXX" >&6; }
2387 { $as_echo "$as_me:$LINENO: result: no" >&5
2388 $as_echo "no" >&6; }
2392 test -n "$CXX" && break
2395 if test -z "$CXX"; then
2397 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2399 # Extract the first word of "$ac_prog", so it can be a program name with args.
2400 set dummy $ac_prog; ac_word=$2
2401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 $as_echo_n "checking for $ac_word... " >&6; }
2403 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2404 $as_echo_n "(cached) " >&6
2406 if test -n "$ac_ct_CXX"; then
2407 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2416 ac_cv_prog_ac_ct_CXX="$ac_prog"
2417 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2427 if test -n "$ac_ct_CXX"; then
2428 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2429 $as_echo "$ac_ct_CXX" >&6; }
2431 { $as_echo "$as_me:$LINENO: result: no" >&5
2432 $as_echo "no" >&6; }
2436 test -n "$ac_ct_CXX" && break
2439 if test "x$ac_ct_CXX" = x; then
2442 case $cross_compiling:$ac_tool_warned in
2444 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2446 ac_tool_warned=yes ;;
2454 # Provide some information about the compiler.
2455 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2458 { (ac_try="$ac_compiler --version >&5"
2460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2461 *) ac_try_echo=$ac_try;;
2463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2464 $as_echo "$ac_try_echo") >&5
2465 (eval "$ac_compiler --version >&5") 2>&5
2467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }
2469 { (ac_try="$ac_compiler -v >&5"
2471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2475 $as_echo "$ac_try_echo") >&5
2476 (eval "$ac_compiler -v >&5") 2>&5
2478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); }
2480 { (ac_try="$ac_compiler -V >&5"
2482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2486 $as_echo "$ac_try_echo") >&5
2487 (eval "$ac_compiler -V >&5") 2>&5
2489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }
2492 cat >conftest.$ac_ext <<_ACEOF
2495 cat confdefs.h >>conftest.$ac_ext
2496 cat >>conftest.$ac_ext <<_ACEOF
2497 /* end confdefs.h. */
2507 ac_clean_files_save=$ac_clean_files
2508 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2509 # Try to create an executable without -o first, disregard a.out.
2510 # It will help us diagnose broken compilers, and finding out an intuition
2512 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2513 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2514 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2516 # The possible output files:
2517 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2520 for ac_file in $ac_files
2523 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2524 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2529 if { (ac_try="$ac_link_default"
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2535 $as_echo "$ac_try_echo") >&5
2536 (eval "$ac_link_default") 2>&5
2538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }; then
2540 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2541 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2542 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2543 # so that the user can short-circuit this test for compilers unknown to
2545 for ac_file in $ac_files ''
2547 test -f "$ac_file" || continue
2549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2552 # We found the default executable, but exeext='' is most
2556 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2558 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2560 # We set ac_cv_exeext here because the later test for it is not
2561 # safe: cross compilers may not add the suffix if given an `-o'
2562 # argument, so we may need to know it at that point already.
2563 # Even if this section looks crufty: it has the advantage of
2570 test "$ac_cv_exeext" = no && ac_cv_exeext=
2576 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2577 $as_echo "$ac_file" >&6; }
2578 if test -z "$ac_file"; then
2579 $as_echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.$ac_ext >&5
2582 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2584 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2585 See \`config.log' for more details." >&5
2586 $as_echo "$as_me: error: C++ compiler cannot create executables
2587 See \`config.log' for more details." >&2;}
2588 { (exit 77); exit 77; }; }; }
2591 ac_exeext=$ac_cv_exeext
2593 # Check that the compiler produces executables we can run. If not, either
2594 # the compiler is broken, or we cross compile.
2595 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2596 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2597 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2598 # If not cross compiling, check that we can run a simple program.
2599 if test "$cross_compiling" != yes; then
2600 if { ac_try='./$ac_file'
2601 { (case "(($ac_try" in
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2606 $as_echo "$ac_try_echo") >&5
2607 (eval "$ac_try") 2>&5
2609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; }; then
2613 if test "$cross_compiling" = maybe; then
2616 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2618 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2619 If you meant to cross compile, use \`--host'.
2620 See \`config.log' for more details." >&5
2621 $as_echo "$as_me: error: cannot run C++ compiled programs.
2622 If you meant to cross compile, use \`--host'.
2623 See \`config.log' for more details." >&2;}
2624 { (exit 1); exit 1; }; }; }
2628 { $as_echo "$as_me:$LINENO: result: yes" >&5
2629 $as_echo "yes" >&6; }
2631 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2632 ac_clean_files=$ac_clean_files_save
2633 # Check that the compiler produces executables we can run. If not, either
2634 # the compiler is broken, or we cross compile.
2635 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2636 $as_echo_n "checking whether we are cross compiling... " >&6; }
2637 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2638 $as_echo "$cross_compiling" >&6; }
2640 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2641 $as_echo_n "checking for suffix of executables... " >&6; }
2642 if { (ac_try="$ac_link"
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2648 $as_echo "$ac_try_echo") >&5
2649 (eval "$ac_link") 2>&5
2651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }; then
2653 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2654 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2655 # work properly (i.e., refer to `conftest.exe'), while it won't with
2657 for ac_file in conftest.exe conftest conftest.*; do
2658 test -f "$ac_file" || continue
2660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2661 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2667 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2669 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2670 See \`config.log' for more details." >&5
2671 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2672 See \`config.log' for more details." >&2;}
2673 { (exit 1); exit 1; }; }; }
2676 rm -f conftest$ac_cv_exeext
2677 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2678 $as_echo "$ac_cv_exeext" >&6; }
2680 rm -f conftest.$ac_ext
2681 EXEEXT=$ac_cv_exeext
2683 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2684 $as_echo_n "checking for suffix of object files... " >&6; }
2685 if test "${ac_cv_objext+set}" = set; then
2686 $as_echo_n "(cached) " >&6
2688 cat >conftest.$ac_ext <<_ACEOF
2691 cat confdefs.h >>conftest.$ac_ext
2692 cat >>conftest.$ac_ext <<_ACEOF
2693 /* end confdefs.h. */
2703 rm -f conftest.o conftest.obj
2704 if { (ac_try="$ac_compile"
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2710 $as_echo "$ac_try_echo") >&5
2711 (eval "$ac_compile") 2>&5
2713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; then
2715 for ac_file in conftest.o conftest.obj conftest.*; do
2716 test -f "$ac_file" || continue;
2718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2719 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2724 $as_echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2727 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2729 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2730 See \`config.log' for more details." >&5
2731 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2732 See \`config.log' for more details." >&2;}
2733 { (exit 1); exit 1; }; }; }
2736 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2738 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2739 $as_echo "$ac_cv_objext" >&6; }
2740 OBJEXT=$ac_cv_objext
2742 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2743 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2744 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2745 $as_echo_n "(cached) " >&6
2747 cat >conftest.$ac_ext <<_ACEOF
2750 cat confdefs.h >>conftest.$ac_ext
2751 cat >>conftest.$ac_ext <<_ACEOF
2752 /* end confdefs.h. */
2765 rm -f conftest.$ac_objext
2766 if { (ac_try="$ac_compile"
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2772 $as_echo "$ac_try_echo") >&5
2773 (eval "$ac_compile") 2>conftest.er1
2775 grep -v '^ *+' conftest.er1 >conftest.err
2777 cat conftest.err >&5
2778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } && {
2780 test -z "$ac_cxx_werror_flag" ||
2781 test ! -s conftest.err
2782 } && test -s conftest.$ac_objext; then
2785 $as_echo "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.$ac_ext >&5
2791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2792 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2795 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2796 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2797 if test $ac_compiler_gnu = yes; then
2802 ac_test_CXXFLAGS=${CXXFLAGS+set}
2803 ac_save_CXXFLAGS=$CXXFLAGS
2804 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2805 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2806 if test "${ac_cv_prog_cxx_g+set}" = set; then
2807 $as_echo_n "(cached) " >&6
2809 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2810 ac_cxx_werror_flag=yes
2813 cat >conftest.$ac_ext <<_ACEOF
2816 cat confdefs.h >>conftest.$ac_ext
2817 cat >>conftest.$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2828 rm -f conftest.$ac_objext
2829 if { (ac_try="$ac_compile"
2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2835 $as_echo "$ac_try_echo") >&5
2836 (eval "$ac_compile") 2>conftest.er1
2838 grep -v '^ *+' conftest.er1 >conftest.err
2840 cat conftest.err >&5
2841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); } && {
2843 test -z "$ac_cxx_werror_flag" ||
2844 test ! -s conftest.err
2845 } && test -s conftest.$ac_objext; then
2846 ac_cv_prog_cxx_g=yes
2848 $as_echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.$ac_ext >&5
2852 cat >conftest.$ac_ext <<_ACEOF
2855 cat confdefs.h >>conftest.$ac_ext
2856 cat >>conftest.$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2867 rm -f conftest.$ac_objext
2868 if { (ac_try="$ac_compile"
2870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2874 $as_echo "$ac_try_echo") >&5
2875 (eval "$ac_compile") 2>conftest.er1
2877 grep -v '^ *+' conftest.er1 >conftest.err
2879 cat conftest.err >&5
2880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } && {
2882 test -z "$ac_cxx_werror_flag" ||
2883 test ! -s conftest.err
2884 } && test -s conftest.$ac_objext; then
2887 $as_echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.$ac_ext >&5
2890 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2892 cat >conftest.$ac_ext <<_ACEOF
2895 cat confdefs.h >>conftest.$ac_ext
2896 cat >>conftest.$ac_ext <<_ACEOF
2897 /* end confdefs.h. */
2907 rm -f conftest.$ac_objext
2908 if { (ac_try="$ac_compile"
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2914 $as_echo "$ac_try_echo") >&5
2915 (eval "$ac_compile") 2>conftest.er1
2917 grep -v '^ *+' conftest.er1 >conftest.err
2919 cat conftest.err >&5
2920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } && {
2922 test -z "$ac_cxx_werror_flag" ||
2923 test ! -s conftest.err
2924 } && test -s conftest.$ac_objext; then
2925 ac_cv_prog_cxx_g=yes
2927 $as_echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2940 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2942 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2943 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2944 if test "$ac_test_CXXFLAGS" = set; then
2945 CXXFLAGS=$ac_save_CXXFLAGS
2946 elif test $ac_cv_prog_cxx_g = yes; then
2947 if test "$GXX" = yes; then
2953 if test "$GXX" = yes; then
2960 ac_cpp='$CPP $CPPFLAGS'
2961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2964 DEPDIR="${am__leading_dot}deps"
2966 ac_config_commands="$ac_config_commands depfiles"
2969 am_make=${MAKE-make}
2970 cat > confinc << 'END'
2975 # If we don't find an include directive, just comment out the code.
2976 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2977 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2981 # First try GNU make style include.
2982 echo "include confinc" > confmf
2983 # We grep out `Entering directory' and `Leaving directory'
2984 # messages which can occur if `w' ends up in MAKEFLAGS.
2985 # In particular we don't look at `^make:' because GNU make might
2986 # be invoked under some other name (usually "gmake"), in which
2987 # case it prints its new name instead of `make'.
2988 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2993 # Now try BSD make style include.
2994 if test "$am__include" = "#"; then
2995 echo '.include "confinc"' > confmf
2996 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2997 am__include=.include
3004 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3005 $as_echo "$_am_result" >&6; }
3006 rm -f confinc confmf
3008 # Check whether --enable-dependency-tracking was given.
3009 if test "${enable_dependency_tracking+set}" = set; then
3010 enableval=$enable_dependency_tracking;
3013 if test "x$enable_dependency_tracking" != xno; then
3014 am_depcomp="$ac_aux_dir/depcomp"
3017 if test "x$enable_dependency_tracking" != xno; then
3027 depcc="$CXX" am_compiler_list=
3029 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3030 $as_echo_n "checking dependency style of $depcc... " >&6; }
3031 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3032 $as_echo_n "(cached) " >&6
3034 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3035 # We make a subdir and do the tests there. Otherwise we can end up
3036 # making bogus files that we don't know about and never remove. For
3037 # instance it was reported that on HP-UX the gcc test will end up
3038 # making a dummy file named `D' -- because `-MD' means `put the output
3041 # Copy depcomp to subdir because otherwise we won't find it if we're
3042 # using a relative directory.
3043 cp "$am_depcomp" conftest.dir
3045 # We will build objects and dependencies in a subdirectory because
3046 # it helps to detect inapplicable dependency modes. For instance
3047 # both Tru64's cc and ICC support -MD to output dependencies as a
3048 # side effect of compilation, but ICC will put the dependencies in
3049 # the current directory while Tru64 will put them in the object
3053 am_cv_CXX_dependencies_compiler_type=none
3054 if test "$am_compiler_list" = ""; then
3055 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3057 for depmode in $am_compiler_list; do
3058 # Setup a source with many dependencies, because some compilers
3059 # like to wrap large dependency lists on column 80 (with \), and
3060 # we should not choose a depcomp mode which is confused by this.
3062 # We need to recreate these files for each test, as the compiler may
3063 # overwrite some of them when testing with obscure command lines.
3064 # This happens at least with the AIX C compiler.
3066 for i in 1 2 3 4 5 6; do
3067 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3068 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3069 # Solaris 8's {/usr,}/bin/sh.
3070 touch sub/conftst$i.h
3072 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3076 # after this tag, mechanisms are not by side-effect, so they'll
3077 # only be used when explicitly requested
3078 if test "x$enable_dependency_tracking" = xyes; then
3086 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3087 # mode. It turns out that the SunPro C++ compiler does not properly
3088 # handle `-M -o', and we need to detect this.
3089 if depmode=$depmode \
3090 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3091 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3092 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3093 >/dev/null 2>conftest.err &&
3094 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3095 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3096 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3097 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3098 # icc doesn't choke on unknown options, it will just issue warnings
3099 # or remarks (even with -Werror). So we grep stderr for any message
3100 # that says an option was ignored or not supported.
3101 # When given -MP, icc 7.0 and 7.1 complain thusly:
3102 # icc: Command line warning: ignoring option '-M'; no argument required
3103 # The diagnosis changed in icc 8.0:
3104 # icc: Command line remark: option '-MP' not supported
3105 if (grep 'ignoring option' conftest.err ||
3106 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3107 am_cv_CXX_dependencies_compiler_type=$depmode
3116 am_cv_CXX_dependencies_compiler_type=none
3120 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3121 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3122 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3125 test "x$enable_dependency_tracking" != xno \
3126 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3127 am__fastdepCXX_TRUE=
3128 am__fastdepCXX_FALSE='#'
3130 am__fastdepCXX_TRUE='#'
3131 am__fastdepCXX_FALSE=
3135 # Find a good install program. We prefer a C program (faster),
3136 # so one script is as good as another. But avoid the broken or
3137 # incompatible versions:
3138 # SysV /etc/install, /usr/sbin/install
3139 # SunOS /usr/etc/install
3140 # IRIX /sbin/install
3142 # AmigaOS /C/install, which installs bootblocks on floppy discs
3143 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3144 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3145 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3146 # OS/2's system install, which has a completely different semantic
3147 # ./install, which can be erroneously created by make from ./install.sh.
3148 # Reject install programs that cannot install multiple files.
3149 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3150 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3151 if test -z "$INSTALL"; then
3152 if test "${ac_cv_path_install+set}" = set; then
3153 $as_echo_n "(cached) " >&6
3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir=.
3160 # Account for people who put trailing slashes in PATH elements.
3162 ./ | .// | /cC/* | \
3163 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3164 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3167 # OSF1 and SCO ODT 3.0 have their own names for install.
3168 # Don't use installbsd from OSF since it installs stuff as root
3170 for ac_prog in ginstall scoinst install; do
3171 for ac_exec_ext in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3173 if test $ac_prog = install &&
3174 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3175 # AIX install. It has an incompatible calling convention.
3177 elif test $ac_prog = install &&
3178 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3179 # program-specific install script used by HP pwplus--don't use.
3182 rm -rf conftest.one conftest.two conftest.dir
3183 echo one > conftest.one
3184 echo two > conftest.two
3186 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3187 test -s conftest.one && test -s conftest.two &&
3188 test -s conftest.dir/conftest.one &&
3189 test -s conftest.dir/conftest.two
3191 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3204 rm -rf conftest.one conftest.two conftest.dir
3207 if test "${ac_cv_path_install+set}" = set; then
3208 INSTALL=$ac_cv_path_install
3210 # As a last resort, use the slow shell script. Don't cache a
3211 # value for INSTALL within a source directory, because that will
3212 # break other packages using the cache if that directory is
3213 # removed, or if the value is a relative name.
3214 INSTALL=$ac_install_sh
3217 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3218 $as_echo "$INSTALL" >&6; }
3220 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3221 # It thinks the first close brace ends the variable substitution.
3222 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3224 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3226 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3229 # Checks for libraries.
3231 ac_cpp='$CPP $CPPFLAGS'
3232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3235 if test -n "$ac_tool_prefix"; then
3236 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3237 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3239 $as_echo_n "checking for $ac_word... " >&6; }
3240 if test "${ac_cv_prog_CC+set}" = set; then
3241 $as_echo_n "(cached) " >&6
3243 if test -n "$CC"; then
3244 ac_cv_prog_CC="$CC" # Let the user override the test.
3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 test -z "$as_dir" && as_dir=.
3251 for ac_exec_ext in '' $ac_executable_extensions; do
3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3254 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 if test -n "$CC"; then
3265 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3266 $as_echo "$CC" >&6; }
3268 { $as_echo "$as_me:$LINENO: result: no" >&5
3269 $as_echo "no" >&6; }
3274 if test -z "$ac_cv_prog_CC"; then
3276 # Extract the first word of "gcc", so it can be a program name with args.
3277 set dummy gcc; ac_word=$2
3278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3279 $as_echo_n "checking for $ac_word... " >&6; }
3280 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3281 $as_echo_n "(cached) " >&6
3283 if test -n "$ac_ct_CC"; then
3284 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290 test -z "$as_dir" && as_dir=.
3291 for ac_exec_ext in '' $ac_executable_extensions; do
3292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3293 ac_cv_prog_ac_ct_CC="gcc"
3294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3304 if test -n "$ac_ct_CC"; then
3305 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3306 $as_echo "$ac_ct_CC" >&6; }
3308 { $as_echo "$as_me:$LINENO: result: no" >&5
3309 $as_echo "no" >&6; }
3312 if test "x$ac_ct_CC" = x; then
3315 case $cross_compiling:$ac_tool_warned in
3317 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3319 ac_tool_warned=yes ;;
3327 if test -z "$CC"; then
3328 if test -n "$ac_tool_prefix"; then
3329 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3330 set dummy ${ac_tool_prefix}cc; ac_word=$2
3331 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if test "${ac_cv_prog_CC+set}" = set; then
3334 $as_echo_n "(cached) " >&6
3336 if test -n "$CC"; then
3337 ac_cv_prog_CC="$CC" # Let the user override the test.
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir=.
3344 for ac_exec_ext in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_CC="${ac_tool_prefix}cc"
3347 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 if test -n "$CC"; then
3358 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3359 $as_echo "$CC" >&6; }
3361 { $as_echo "$as_me:$LINENO: result: no" >&5
3362 $as_echo "no" >&6; }
3368 if test -z "$CC"; then
3369 # Extract the first word of "cc", so it can be a program name with args.
3370 set dummy cc; ac_word=$2
3371 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3372 $as_echo_n "checking for $ac_word... " >&6; }
3373 if test "${ac_cv_prog_CC+set}" = set; then
3374 $as_echo_n "(cached) " >&6
3376 if test -n "$CC"; then
3377 ac_cv_prog_CC="$CC" # Let the user override the test.
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir=.
3385 for ac_exec_ext in '' $ac_executable_extensions; do
3386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3387 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3388 ac_prog_rejected=yes
3392 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3399 if test $ac_prog_rejected = yes; then
3400 # We found a bogon in the path, so make sure we never use it.
3401 set dummy $ac_cv_prog_CC
3403 if test $# != 0; then
3404 # We chose a different compiler from the bogus one.
3405 # However, it has the same basename, so the bogon will be chosen
3406 # first if we set CC to just the basename; use the full file name.
3408 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3414 if test -n "$CC"; then
3415 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3416 $as_echo "$CC" >&6; }
3418 { $as_echo "$as_me:$LINENO: result: no" >&5
3419 $as_echo "no" >&6; }
3424 if test -z "$CC"; then
3425 if test -n "$ac_tool_prefix"; then
3426 for ac_prog in cl.exe
3428 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3430 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if test "${ac_cv_prog_CC+set}" = set; then
3433 $as_echo_n "(cached) " >&6
3435 if test -n "$CC"; then
3436 ac_cv_prog_CC="$CC" # Let the user override the test.
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 test -z "$as_dir" && as_dir=.
3443 for ac_exec_ext in '' $ac_executable_extensions; do
3444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3445 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3446 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3456 if test -n "$CC"; then
3457 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3458 $as_echo "$CC" >&6; }
3460 { $as_echo "$as_me:$LINENO: result: no" >&5
3461 $as_echo "no" >&6; }
3465 test -n "$CC" && break
3468 if test -z "$CC"; then
3470 for ac_prog in cl.exe
3472 # Extract the first word of "$ac_prog", so it can be a program name with args.
3473 set dummy $ac_prog; ac_word=$2
3474 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3475 $as_echo_n "checking for $ac_word... " >&6; }
3476 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3477 $as_echo_n "(cached) " >&6
3479 if test -n "$ac_ct_CC"; then
3480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 test -z "$as_dir" && as_dir=.
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3489 ac_cv_prog_ac_ct_CC="$ac_prog"
3490 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3500 if test -n "$ac_ct_CC"; then
3501 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3502 $as_echo "$ac_ct_CC" >&6; }
3504 { $as_echo "$as_me:$LINENO: result: no" >&5
3505 $as_echo "no" >&6; }
3509 test -n "$ac_ct_CC" && break
3512 if test "x$ac_ct_CC" = x; then
3515 case $cross_compiling:$ac_tool_warned in
3517 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3519 ac_tool_warned=yes ;;
3528 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3531 See \`config.log' for more details." >&5
3532 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3533 See \`config.log' for more details." >&2;}
3534 { (exit 1); exit 1; }; }; }
3536 # Provide some information about the compiler.
3537 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3540 { (ac_try="$ac_compiler --version >&5"
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3546 $as_echo "$ac_try_echo") >&5
3547 (eval "$ac_compiler --version >&5") 2>&5
3549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }
3551 { (ac_try="$ac_compiler -v >&5"
3553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554 *) ac_try_echo=$ac_try;;
3556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3557 $as_echo "$ac_try_echo") >&5
3558 (eval "$ac_compiler -v >&5") 2>&5
3560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); }
3562 { (ac_try="$ac_compiler -V >&5"
3564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565 *) ac_try_echo=$ac_try;;
3567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3568 $as_echo "$ac_try_echo") >&5
3569 (eval "$ac_compiler -V >&5") 2>&5
3571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); }
3574 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3575 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3576 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3577 $as_echo_n "(cached) " >&6
3579 cat >conftest.$ac_ext <<_ACEOF
3582 cat confdefs.h >>conftest.$ac_ext
3583 cat >>conftest.$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3597 rm -f conftest.$ac_objext
3598 if { (ac_try="$ac_compile"
3600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601 *) ac_try_echo=$ac_try;;
3603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3604 $as_echo "$ac_try_echo") >&5
3605 (eval "$ac_compile") 2>conftest.er1
3607 grep -v '^ *+' conftest.er1 >conftest.err
3609 cat conftest.err >&5
3610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } && {
3612 test -z "$ac_c_werror_flag" ||
3613 test ! -s conftest.err
3614 } && test -s conftest.$ac_objext; then
3617 $as_echo "$as_me: failed program was:" >&5
3618 sed 's/^/| /' conftest.$ac_ext >&5
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3627 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3628 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3629 if test $ac_compiler_gnu = yes; then
3634 ac_test_CFLAGS=${CFLAGS+set}
3635 ac_save_CFLAGS=$CFLAGS
3636 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3637 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3638 if test "${ac_cv_prog_cc_g+set}" = set; then
3639 $as_echo_n "(cached) " >&6
3641 ac_save_c_werror_flag=$ac_c_werror_flag
3642 ac_c_werror_flag=yes
3645 cat >conftest.$ac_ext <<_ACEOF
3648 cat confdefs.h >>conftest.$ac_ext
3649 cat >>conftest.$ac_ext <<_ACEOF
3650 /* end confdefs.h. */
3660 rm -f conftest.$ac_objext
3661 if { (ac_try="$ac_compile"
3663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3664 *) ac_try_echo=$ac_try;;
3666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3667 $as_echo "$ac_try_echo") >&5
3668 (eval "$ac_compile") 2>conftest.er1
3670 grep -v '^ *+' conftest.er1 >conftest.err
3672 cat conftest.err >&5
3673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); } && {
3675 test -z "$ac_c_werror_flag" ||
3676 test ! -s conftest.err
3677 } && test -s conftest.$ac_objext; then
3680 $as_echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.$ac_ext >&5
3684 cat >conftest.$ac_ext <<_ACEOF
3687 cat confdefs.h >>conftest.$ac_ext
3688 cat >>conftest.$ac_ext <<_ACEOF
3689 /* end confdefs.h. */
3699 rm -f conftest.$ac_objext
3700 if { (ac_try="$ac_compile"
3702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703 *) ac_try_echo=$ac_try;;
3705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3706 $as_echo "$ac_try_echo") >&5
3707 (eval "$ac_compile") 2>conftest.er1
3709 grep -v '^ *+' conftest.er1 >conftest.err
3711 cat conftest.err >&5
3712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); } && {
3714 test -z "$ac_c_werror_flag" ||
3715 test ! -s conftest.err
3716 } && test -s conftest.$ac_objext; then
3719 $as_echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.$ac_ext >&5
3722 ac_c_werror_flag=$ac_save_c_werror_flag
3724 cat >conftest.$ac_ext <<_ACEOF
3727 cat confdefs.h >>conftest.$ac_ext
3728 cat >>conftest.$ac_ext <<_ACEOF
3729 /* end confdefs.h. */
3739 rm -f conftest.$ac_objext
3740 if { (ac_try="$ac_compile"
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3746 $as_echo "$ac_try_echo") >&5
3747 (eval "$ac_compile") 2>conftest.er1
3749 grep -v '^ *+' conftest.er1 >conftest.err
3751 cat conftest.err >&5
3752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); } && {
3754 test -z "$ac_c_werror_flag" ||
3755 test ! -s conftest.err
3756 } && test -s conftest.$ac_objext; then
3759 $as_echo "$as_me: failed program was:" >&5
3760 sed 's/^/| /' conftest.$ac_ext >&5
3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 ac_c_werror_flag=$ac_save_c_werror_flag
3774 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3775 $as_echo "$ac_cv_prog_cc_g" >&6; }
3776 if test "$ac_test_CFLAGS" = set; then
3777 CFLAGS=$ac_save_CFLAGS
3778 elif test $ac_cv_prog_cc_g = yes; then
3779 if test "$GCC" = yes; then
3785 if test "$GCC" = yes; then
3791 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3792 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3793 if test "${ac_cv_prog_cc_c89+set}" = set; then
3794 $as_echo_n "(cached) " >&6
3796 ac_cv_prog_cc_c89=no
3798 cat >conftest.$ac_ext <<_ACEOF
3801 cat confdefs.h >>conftest.$ac_ext
3802 cat >>conftest.$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3806 #include <sys/types.h>
3807 #include <sys/stat.h>
3808 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3809 struct buf { int x; };
3810 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3811 static char *e (p, i)
3817 static char *f (char * (*g) (char **, int), char **p, ...)
3822 s = g (p, va_arg (v,int));
3827 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3828 function prototypes and stuff, but not '\xHH' hex character constants.
3829 These don't provoke an error unfortunately, instead are silently treated
3830 as 'x'. The following induces an error, until -std is added to get
3831 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3832 array size at least. It's necessary to write '\x00'==0 to get something
3833 that's true only with -std. */
3834 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3836 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3837 inside strings and character constants. */
3839 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3841 int test (int i, double x);
3842 struct s1 {int (*f) (int a);};
3843 struct s2 {int (*f) (double a);};
3844 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3850 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3855 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3856 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3858 CC="$ac_save_CC $ac_arg"
3859 rm -f conftest.$ac_objext
3860 if { (ac_try="$ac_compile"
3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3866 $as_echo "$ac_try_echo") >&5
3867 (eval "$ac_compile") 2>conftest.er1
3869 grep -v '^ *+' conftest.er1 >conftest.err
3871 cat conftest.err >&5
3872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); } && {
3874 test -z "$ac_c_werror_flag" ||
3875 test ! -s conftest.err
3876 } && test -s conftest.$ac_objext; then
3877 ac_cv_prog_cc_c89=$ac_arg
3879 $as_echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.$ac_ext >&5
3885 rm -f core conftest.err conftest.$ac_objext
3886 test "x$ac_cv_prog_cc_c89" != "xno" && break
3888 rm -f conftest.$ac_ext
3893 case "x$ac_cv_prog_cc_c89" in
3895 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3896 $as_echo "none needed" >&6; } ;;
3898 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3899 $as_echo "unsupported" >&6; } ;;
3901 CC="$CC $ac_cv_prog_cc_c89"
3902 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3903 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3908 ac_cpp='$CPP $CPPFLAGS'
3909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913 depcc="$CC" am_compiler_list=
3915 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3916 $as_echo_n "checking dependency style of $depcc... " >&6; }
3917 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3918 $as_echo_n "(cached) " >&6
3920 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3921 # We make a subdir and do the tests there. Otherwise we can end up
3922 # making bogus files that we don't know about and never remove. For
3923 # instance it was reported that on HP-UX the gcc test will end up
3924 # making a dummy file named `D' -- because `-MD' means `put the output
3927 # Copy depcomp to subdir because otherwise we won't find it if we're
3928 # using a relative directory.
3929 cp "$am_depcomp" conftest.dir
3931 # We will build objects and dependencies in a subdirectory because
3932 # it helps to detect inapplicable dependency modes. For instance
3933 # both Tru64's cc and ICC support -MD to output dependencies as a
3934 # side effect of compilation, but ICC will put the dependencies in
3935 # the current directory while Tru64 will put them in the object
3939 am_cv_CC_dependencies_compiler_type=none
3940 if test "$am_compiler_list" = ""; then
3941 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3943 for depmode in $am_compiler_list; do
3944 # Setup a source with many dependencies, because some compilers
3945 # like to wrap large dependency lists on column 80 (with \), and
3946 # we should not choose a depcomp mode which is confused by this.
3948 # We need to recreate these files for each test, as the compiler may
3949 # overwrite some of them when testing with obscure command lines.
3950 # This happens at least with the AIX C compiler.
3952 for i in 1 2 3 4 5 6; do
3953 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3954 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3955 # Solaris 8's {/usr,}/bin/sh.
3956 touch sub/conftst$i.h
3958 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3962 # after this tag, mechanisms are not by side-effect, so they'll
3963 # only be used when explicitly requested
3964 if test "x$enable_dependency_tracking" = xyes; then
3972 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3973 # mode. It turns out that the SunPro C++ compiler does not properly
3974 # handle `-M -o', and we need to detect this.
3975 if depmode=$depmode \
3976 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3977 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3978 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3979 >/dev/null 2>conftest.err &&
3980 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3981 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3982 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3983 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3984 # icc doesn't choke on unknown options, it will just issue warnings
3985 # or remarks (even with -Werror). So we grep stderr for any message
3986 # that says an option was ignored or not supported.
3987 # When given -MP, icc 7.0 and 7.1 complain thusly:
3988 # icc: Command line warning: ignoring option '-M'; no argument required
3989 # The diagnosis changed in icc 8.0:
3990 # icc: Command line remark: option '-MP' not supported
3991 if (grep 'ignoring option' conftest.err ||
3992 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3993 am_cv_CC_dependencies_compiler_type=$depmode
4002 am_cv_CC_dependencies_compiler_type=none
4006 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4007 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4008 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4011 test "x$enable_dependency_tracking" != xno \
4012 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4014 am__fastdepCC_FALSE='#'
4016 am__fastdepCC_TRUE='#'
4017 am__fastdepCC_FALSE=
4023 { $as_echo "$as_me:$LINENO: checking for -lboost_filesystem in -lboost_filesystem" >&5
4024 $as_echo_n "checking for -lboost_filesystem in -lboost_filesystem... " >&6; }
4025 if test "${ac_cv_lib_boost_filesystem__lboost_filesystem+set}" = set; then
4026 $as_echo_n "(cached) " >&6
4028 ac_check_lib_save_LIBS=$LIBS
4029 LIBS="-lboost_filesystem $LIBS"
4030 cat >conftest.$ac_ext <<_ACEOF
4033 cat confdefs.h >>conftest.$ac_ext
4034 cat >>conftest.$ac_ext <<_ACEOF
4035 /* end confdefs.h. */
4037 /* Override any GCC internal prototype to avoid an error.
4038 Use char because int might match the return type of a GCC
4039 builtin and then its argument prototype would still apply. */
4043 char -lboost_filesystem ();
4047 return -lboost_filesystem ();
4052 rm -f conftest.$ac_objext conftest$ac_exeext
4053 if { (ac_try="$ac_link"
4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4059 $as_echo "$ac_try_echo") >&5
4060 (eval "$ac_link") 2>conftest.er1
4062 grep -v '^ *+' conftest.er1 >conftest.err
4064 cat conftest.err >&5
4065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } && {
4067 test -z "$ac_c_werror_flag" ||
4068 test ! -s conftest.err
4069 } && test -s conftest$ac_exeext && {
4070 test "$cross_compiling" = yes ||
4071 $as_test_x conftest$ac_exeext
4073 ac_cv_lib_boost_filesystem__lboost_filesystem=yes
4075 $as_echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4078 ac_cv_lib_boost_filesystem__lboost_filesystem=no
4081 rm -rf conftest.dSYM
4082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4083 conftest$ac_exeext conftest.$ac_ext
4084 LIBS=$ac_check_lib_save_LIBS
4086 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_boost_filesystem__lboost_filesystem" >&5
4087 $as_echo "$ac_cv_lib_boost_filesystem__lboost_filesystem" >&6; }
4088 if test "x$ac_cv_lib_boost_filesystem__lboost_filesystem" = x""yes; then
4089 cat >>confdefs.h <<_ACEOF
4090 #define HAVE_LIBBOOST_FILESYSTEM 1
4093 LIBS="-lboost_filesystem $LIBS"
4098 { $as_echo "$as_me:$LINENO: checking for -lislib in -lislib" >&5
4099 $as_echo_n "checking for -lislib in -lislib... " >&6; }
4100 if test "${ac_cv_lib_islib__lislib+set}" = set; then
4101 $as_echo_n "(cached) " >&6
4103 ac_check_lib_save_LIBS=$LIBS
4104 LIBS="-lislib $LIBS"
4105 cat >conftest.$ac_ext <<_ACEOF
4108 cat confdefs.h >>conftest.$ac_ext
4109 cat >>conftest.$ac_ext <<_ACEOF
4110 /* end confdefs.h. */
4112 /* Override any GCC internal prototype to avoid an error.
4113 Use char because int might match the return type of a GCC
4114 builtin and then its argument prototype would still apply. */
4127 rm -f conftest.$ac_objext conftest$ac_exeext
4128 if { (ac_try="$ac_link"
4130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4131 *) ac_try_echo=$ac_try;;
4133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4134 $as_echo "$ac_try_echo") >&5
4135 (eval "$ac_link") 2>conftest.er1
4137 grep -v '^ *+' conftest.er1 >conftest.err
4139 cat conftest.err >&5
4140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } && {
4142 test -z "$ac_c_werror_flag" ||
4143 test ! -s conftest.err
4144 } && test -s conftest$ac_exeext && {
4145 test "$cross_compiling" = yes ||
4146 $as_test_x conftest$ac_exeext
4148 ac_cv_lib_islib__lislib=yes
4150 $as_echo "$as_me: failed program was:" >&5
4151 sed 's/^/| /' conftest.$ac_ext >&5
4153 ac_cv_lib_islib__lislib=no
4156 rm -rf conftest.dSYM
4157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4158 conftest$ac_exeext conftest.$ac_ext
4159 LIBS=$ac_check_lib_save_LIBS
4161 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_islib__lislib" >&5
4162 $as_echo "$ac_cv_lib_islib__lislib" >&6; }
4163 if test "x$ac_cv_lib_islib__lislib" = x""yes; then
4164 cat >>confdefs.h <<_ACEOF
4165 #define HAVE_LIBISLIB 1
4168 LIBS="-lislib $LIBS"
4173 # Checks for header files.
4175 ac_cpp='$CPP $CPPFLAGS'
4176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4179 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4180 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4181 # On Suns, sometimes $CPP names a directory.
4182 if test -n "$CPP" && test -d "$CPP"; then
4185 if test -z "$CPP"; then
4186 if test "${ac_cv_prog_CPP+set}" = set; then
4187 $as_echo_n "(cached) " >&6
4189 # Double quotes because CPP needs to be expanded
4190 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4193 for ac_c_preproc_warn_flag in '' yes
4195 # Use a header file that comes with gcc, so configuring glibc
4196 # with a fresh cross-compiler works.
4197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4198 # <limits.h> exists even on freestanding compilers.
4199 # On the NeXT, cc -E runs the code through the compiler's parser,
4200 # not just through cpp. "Syntax error" is here to catch this case.
4201 cat >conftest.$ac_ext <<_ACEOF
4204 cat confdefs.h >>conftest.$ac_ext
4205 cat >>conftest.$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4208 # include <limits.h>
4210 # include <assert.h>
4214 if { (ac_try="$ac_cpp conftest.$ac_ext"
4216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4217 *) ac_try_echo=$ac_try;;
4219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4220 $as_echo "$ac_try_echo") >&5
4221 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4223 grep -v '^ *+' conftest.er1 >conftest.err
4225 cat conftest.err >&5
4226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); } >/dev/null && {
4228 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4229 test ! -s conftest.err
4233 $as_echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4236 # Broken: fails on valid input.
4240 rm -f conftest.err conftest.$ac_ext
4242 # OK, works on sane cases. Now check whether nonexistent headers
4243 # can be detected and how.
4244 cat >conftest.$ac_ext <<_ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 #include <ac_nonexistent.h>
4252 if { (ac_try="$ac_cpp conftest.$ac_ext"
4254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4255 *) ac_try_echo=$ac_try;;
4257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4258 $as_echo "$ac_try_echo") >&5
4259 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4261 grep -v '^ *+' conftest.er1 >conftest.err
4263 cat conftest.err >&5
4264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); } >/dev/null && {
4266 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4267 test ! -s conftest.err
4269 # Broken: success on invalid input.
4272 $as_echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.$ac_ext >&5
4275 # Passes both tests.
4280 rm -f conftest.err conftest.$ac_ext
4283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4284 rm -f conftest.err conftest.$ac_ext
4285 if $ac_preproc_ok; then
4297 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4298 $as_echo "$CPP" >&6; }
4300 for ac_c_preproc_warn_flag in '' yes
4302 # Use a header file that comes with gcc, so configuring glibc
4303 # with a fresh cross-compiler works.
4304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4305 # <limits.h> exists even on freestanding compilers.
4306 # On the NeXT, cc -E runs the code through the compiler's parser,
4307 # not just through cpp. "Syntax error" is here to catch this case.
4308 cat >conftest.$ac_ext <<_ACEOF
4311 cat confdefs.h >>conftest.$ac_ext
4312 cat >>conftest.$ac_ext <<_ACEOF
4313 /* end confdefs.h. */
4315 # include <limits.h>
4317 # include <assert.h>
4321 if { (ac_try="$ac_cpp conftest.$ac_ext"
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4327 $as_echo "$ac_try_echo") >&5
4328 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4330 grep -v '^ *+' conftest.er1 >conftest.err
4332 cat conftest.err >&5
4333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); } >/dev/null && {
4335 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4336 test ! -s conftest.err
4340 $as_echo "$as_me: failed program was:" >&5
4341 sed 's/^/| /' conftest.$ac_ext >&5
4343 # Broken: fails on valid input.
4347 rm -f conftest.err conftest.$ac_ext
4349 # OK, works on sane cases. Now check whether nonexistent headers
4350 # can be detected and how.
4351 cat >conftest.$ac_ext <<_ACEOF
4354 cat confdefs.h >>conftest.$ac_ext
4355 cat >>conftest.$ac_ext <<_ACEOF
4356 /* end confdefs.h. */
4357 #include <ac_nonexistent.h>
4359 if { (ac_try="$ac_cpp conftest.$ac_ext"
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4365 $as_echo "$ac_try_echo") >&5
4366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4368 grep -v '^ *+' conftest.er1 >conftest.err
4370 cat conftest.err >&5
4371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } >/dev/null && {
4373 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4374 test ! -s conftest.err
4376 # Broken: success on invalid input.
4379 $as_echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.$ac_ext >&5
4382 # Passes both tests.
4387 rm -f conftest.err conftest.$ac_ext
4390 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4391 rm -f conftest.err conftest.$ac_ext
4392 if $ac_preproc_ok; then
4395 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4397 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4398 See \`config.log' for more details." >&5
4399 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4400 See \`config.log' for more details." >&2;}
4401 { (exit 1); exit 1; }; }; }
4405 ac_cpp='$CPP $CPPFLAGS'
4406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4411 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4412 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4413 if test "${ac_cv_path_GREP+set}" = set; then
4414 $as_echo_n "(cached) " >&6
4416 if test -z "$GREP"; then
4417 ac_path_GREP_found=false
4418 # Loop through the user's path and test for each of PROGNAME-LIST
4419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4423 test -z "$as_dir" && as_dir=.
4424 for ac_prog in grep ggrep; do
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4427 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4428 # Check for GNU ac_path_GREP and select it if it is found.
4429 # Check for GNU $ac_path_GREP
4430 case `"$ac_path_GREP" --version 2>&1` in
4432 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4435 $as_echo_n 0123456789 >"conftest.in"
4438 cat "conftest.in" "conftest.in" >"conftest.tmp"
4439 mv "conftest.tmp" "conftest.in"
4440 cp "conftest.in" "conftest.nl"
4441 $as_echo 'GREP' >> "conftest.nl"
4442 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4443 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4444 ac_count=`expr $ac_count + 1`
4445 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4446 # Best one so far, save it but keep looking for a better one
4447 ac_cv_path_GREP="$ac_path_GREP"
4448 ac_path_GREP_max=$ac_count
4450 # 10*(2^10) chars as input seems more than enough
4451 test $ac_count -gt 10 && break
4453 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4456 $ac_path_GREP_found && break 3
4461 if test -z "$ac_cv_path_GREP"; then
4462 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4463 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4464 { (exit 1); exit 1; }; }
4467 ac_cv_path_GREP=$GREP
4471 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4472 $as_echo "$ac_cv_path_GREP" >&6; }
4473 GREP="$ac_cv_path_GREP"
4476 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4477 $as_echo_n "checking for egrep... " >&6; }
4478 if test "${ac_cv_path_EGREP+set}" = set; then
4479 $as_echo_n "(cached) " >&6
4481 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4482 then ac_cv_path_EGREP="$GREP -E"
4484 if test -z "$EGREP"; then
4485 ac_path_EGREP_found=false
4486 # Loop through the user's path and test for each of PROGNAME-LIST
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4491 test -z "$as_dir" && as_dir=.
4492 for ac_prog in egrep; do
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4495 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4496 # Check for GNU ac_path_EGREP and select it if it is found.
4497 # Check for GNU $ac_path_EGREP
4498 case `"$ac_path_EGREP" --version 2>&1` in
4500 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4503 $as_echo_n 0123456789 >"conftest.in"
4506 cat "conftest.in" "conftest.in" >"conftest.tmp"
4507 mv "conftest.tmp" "conftest.in"
4508 cp "conftest.in" "conftest.nl"
4509 $as_echo 'EGREP' >> "conftest.nl"
4510 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4511 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4512 ac_count=`expr $ac_count + 1`
4513 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4514 # Best one so far, save it but keep looking for a better one
4515 ac_cv_path_EGREP="$ac_path_EGREP"
4516 ac_path_EGREP_max=$ac_count
4518 # 10*(2^10) chars as input seems more than enough
4519 test $ac_count -gt 10 && break
4521 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4524 $ac_path_EGREP_found && break 3
4529 if test -z "$ac_cv_path_EGREP"; then
4530 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4531 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4532 { (exit 1); exit 1; }; }
4535 ac_cv_path_EGREP=$EGREP
4540 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4541 $as_echo "$ac_cv_path_EGREP" >&6; }
4542 EGREP="$ac_cv_path_EGREP"
4545 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4546 $as_echo_n "checking for ANSI C header files... " >&6; }
4547 if test "${ac_cv_header_stdc+set}" = set; then
4548 $as_echo_n "(cached) " >&6
4550 cat >conftest.$ac_ext <<_ACEOF
4553 cat confdefs.h >>conftest.$ac_ext
4554 cat >>conftest.$ac_ext <<_ACEOF
4555 /* end confdefs.h. */
4569 rm -f conftest.$ac_objext
4570 if { (ac_try="$ac_compile"
4572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4576 $as_echo "$ac_try_echo") >&5
4577 (eval "$ac_compile") 2>conftest.er1
4579 grep -v '^ *+' conftest.er1 >conftest.err
4581 cat conftest.err >&5
4582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); } && {
4584 test -z "$ac_c_werror_flag" ||
4585 test ! -s conftest.err
4586 } && test -s conftest.$ac_objext; then
4587 ac_cv_header_stdc=yes
4589 $as_echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.$ac_ext >&5
4592 ac_cv_header_stdc=no
4595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 if test $ac_cv_header_stdc = yes; then
4598 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4599 cat >conftest.$ac_ext <<_ACEOF
4602 cat confdefs.h >>conftest.$ac_ext
4603 cat >>conftest.$ac_ext <<_ACEOF
4604 /* end confdefs.h. */
4608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4609 $EGREP "memchr" >/dev/null 2>&1; then
4612 ac_cv_header_stdc=no
4618 if test $ac_cv_header_stdc = yes; then
4619 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4620 cat >conftest.$ac_ext <<_ACEOF
4623 cat confdefs.h >>conftest.$ac_ext
4624 cat >>conftest.$ac_ext <<_ACEOF
4625 /* end confdefs.h. */
4629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4630 $EGREP "free" >/dev/null 2>&1; then
4633 ac_cv_header_stdc=no
4639 if test $ac_cv_header_stdc = yes; then
4640 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4641 if test "$cross_compiling" = yes; then
4644 cat >conftest.$ac_ext <<_ACEOF
4647 cat confdefs.h >>conftest.$ac_ext
4648 cat >>conftest.$ac_ext <<_ACEOF
4649 /* end confdefs.h. */
4652 #if ((' ' & 0x0FF) == 0x020)
4653 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4654 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4656 # define ISLOWER(c) \
4657 (('a' <= (c) && (c) <= 'i') \
4658 || ('j' <= (c) && (c) <= 'r') \
4659 || ('s' <= (c) && (c) <= 'z'))
4660 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4663 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4668 for (i = 0; i < 256; i++)
4669 if (XOR (islower (i), ISLOWER (i))
4670 || toupper (i) != TOUPPER (i))
4675 rm -f conftest$ac_exeext
4676 if { (ac_try="$ac_link"
4678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4679 *) ac_try_echo=$ac_try;;
4681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4682 $as_echo "$ac_try_echo") >&5
4683 (eval "$ac_link") 2>&5
4685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4687 { (case "(($ac_try" in
4688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4691 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4692 $as_echo "$ac_try_echo") >&5
4693 (eval "$ac_try") 2>&5
4695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; }; then
4699 $as_echo "$as_me: program exited with status $ac_status" >&5
4700 $as_echo "$as_me: failed program was:" >&5
4701 sed 's/^/| /' conftest.$ac_ext >&5
4704 ac_cv_header_stdc=no
4706 rm -rf conftest.dSYM
4707 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4713 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4714 $as_echo "$ac_cv_header_stdc" >&6; }
4715 if test $ac_cv_header_stdc = yes; then
4717 cat >>confdefs.h <<\_ACEOF
4718 #define STDC_HEADERS 1
4723 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4733 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4734 inttypes.h stdint.h unistd.h
4736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4737 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4738 $as_echo_n "checking for $ac_header... " >&6; }
4739 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4740 $as_echo_n "(cached) " >&6
4742 cat >conftest.$ac_ext <<_ACEOF
4745 cat confdefs.h >>conftest.$ac_ext
4746 cat >>conftest.$ac_ext <<_ACEOF
4747 /* end confdefs.h. */
4748 $ac_includes_default
4750 #include <$ac_header>
4752 rm -f conftest.$ac_objext
4753 if { (ac_try="$ac_compile"
4755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4756 *) ac_try_echo=$ac_try;;
4758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4759 $as_echo "$ac_try_echo") >&5
4760 (eval "$ac_compile") 2>conftest.er1
4762 grep -v '^ *+' conftest.er1 >conftest.err
4764 cat conftest.err >&5
4765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } && {
4767 test -z "$ac_c_werror_flag" ||
4768 test ! -s conftest.err
4769 } && test -s conftest.$ac_objext; then
4770 eval "$as_ac_Header=yes"
4772 $as_echo "$as_me: failed program was:" >&5
4773 sed 's/^/| /' conftest.$ac_ext >&5
4775 eval "$as_ac_Header=no"
4778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780 ac_res=`eval 'as_val=${'$as_ac_Header'}
4781 $as_echo "$as_val"'`
4782 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4783 $as_echo "$ac_res" >&6; }
4784 as_val=`eval 'as_val=${'$as_ac_Header'}
4785 $as_echo "$as_val"'`
4786 if test "x$as_val" = x""yes; then
4787 cat >>confdefs.h <<_ACEOF
4788 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4797 for ac_header in unistd.h
4799 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4800 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4801 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4802 $as_echo_n "checking for $ac_header... " >&6; }
4803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4804 $as_echo_n "(cached) " >&6
4806 ac_res=`eval 'as_val=${'$as_ac_Header'}
4807 $as_echo "$as_val"'`
4808 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4809 $as_echo "$ac_res" >&6; }
4811 # Is the header compilable?
4812 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4813 $as_echo_n "checking $ac_header usability... " >&6; }
4814 cat >conftest.$ac_ext <<_ACEOF
4817 cat confdefs.h >>conftest.$ac_ext
4818 cat >>conftest.$ac_ext <<_ACEOF
4819 /* end confdefs.h. */
4820 $ac_includes_default
4821 #include <$ac_header>
4823 rm -f conftest.$ac_objext
4824 if { (ac_try="$ac_compile"
4826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4827 *) ac_try_echo=$ac_try;;
4829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4830 $as_echo "$ac_try_echo") >&5
4831 (eval "$ac_compile") 2>conftest.er1
4833 grep -v '^ *+' conftest.er1 >conftest.err
4835 cat conftest.err >&5
4836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } && {
4838 test -z "$ac_c_werror_flag" ||
4839 test ! -s conftest.err
4840 } && test -s conftest.$ac_objext; then
4841 ac_header_compiler=yes
4843 $as_echo "$as_me: failed program was:" >&5
4844 sed 's/^/| /' conftest.$ac_ext >&5
4846 ac_header_compiler=no
4849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4850 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4851 $as_echo "$ac_header_compiler" >&6; }
4853 # Is the header present?
4854 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4855 $as_echo_n "checking $ac_header presence... " >&6; }
4856 cat >conftest.$ac_ext <<_ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4862 #include <$ac_header>
4864 if { (ac_try="$ac_cpp conftest.$ac_ext"
4866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4867 *) ac_try_echo=$ac_try;;
4869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4870 $as_echo "$ac_try_echo") >&5
4871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4873 grep -v '^ *+' conftest.er1 >conftest.err
4875 cat conftest.err >&5
4876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); } >/dev/null && {
4878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4879 test ! -s conftest.err
4881 ac_header_preproc=yes
4883 $as_echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.$ac_ext >&5
4886 ac_header_preproc=no
4889 rm -f conftest.err conftest.$ac_ext
4890 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4891 $as_echo "$ac_header_preproc" >&6; }
4893 # So? What about this header?
4894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4897 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4899 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4900 ac_header_preproc=yes
4903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4904 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4906 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4908 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4909 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4910 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4912 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4914 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4916 ## ---------------------------------------------- ##
4917 ## Report this to issoftware@users.sourceforge.jp ##
4918 ## ---------------------------------------------- ##
4920 ) | sed "s/^/$as_me: WARNING: /" >&2
4923 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4924 $as_echo_n "checking for $ac_header... " >&6; }
4925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4926 $as_echo_n "(cached) " >&6
4928 eval "$as_ac_Header=\$ac_header_preproc"
4930 ac_res=`eval 'as_val=${'$as_ac_Header'}
4931 $as_echo "$as_val"'`
4932 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4933 $as_echo "$ac_res" >&6; }
4936 as_val=`eval 'as_val=${'$as_ac_Header'}
4937 $as_echo "$as_val"'`
4938 if test "x$as_val" = x""yes; then
4939 cat >>confdefs.h <<_ACEOF
4940 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4948 # Checks for typedefs, structures, and compiler characteristics.
4949 { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4950 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4951 if test "${ac_cv_header_stdbool_h+set}" = set; then
4952 $as_echo_n "(cached) " >&6
4954 cat >conftest.$ac_ext <<_ACEOF
4957 cat confdefs.h >>conftest.$ac_ext
4958 cat >>conftest.$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4961 #include <stdbool.h>
4963 "error: bool is not defined"
4966 "error: false is not defined"
4969 "error: false is not 0"
4972 "error: true is not defined"
4975 "error: true is not 1"
4977 #ifndef __bool_true_false_are_defined
4978 "error: __bool_true_false_are_defined is not defined"
4981 struct s { _Bool s: 1; _Bool t; } s;
4983 char a[true == 1 ? 1 : -1];
4984 char b[false == 0 ? 1 : -1];
4985 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4986 char d[(bool) 0.5 == true ? 1 : -1];
4988 char f[(_Bool) 0.0 == false ? 1 : -1];
4990 char h[sizeof (_Bool)];
4992 enum { j = false, k = true, l = false * true, m = true * 256 };
4993 /* The following fails for
4994 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4996 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4997 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4998 # if defined __xlc__ || defined __GNUC__
4999 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
5000 reported by James Lemley on 2005-10-05; see
5001 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
5002 This test is not quite right, since xlc is allowed to
5003 reject this program, as the initializer for xlcbug is
5004 not one of the forms that C requires support for.
5005 However, doing the test right would require a runtime
5006 test, and that would make cross-compilation harder.
5007 Let us hope that IBM fixes the xlc bug, and also adds
5008 support for this kind of constant expression. In the
5009 meantime, this test will reject xlc, which is OK, since
5010 our stdbool.h substitute should suffice. We also test
5011 this with GCC, where it should work, to detect more
5012 quickly whether someone messes up the test in the
5014 char digs[] = "0123456789";
5015 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
5017 /* Catch a bug in an HP-UX C compiler. See
5018 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5019 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5030 /* Refer to every declared value, to avoid compiler optimizations. */
5031 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5032 + !m + !n + !o + !p + !q + !pq);
5038 rm -f conftest.$ac_objext
5039 if { (ac_try="$ac_compile"
5041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5045 $as_echo "$ac_try_echo") >&5
5046 (eval "$ac_compile") 2>conftest.er1
5048 grep -v '^ *+' conftest.er1 >conftest.err
5050 cat conftest.err >&5
5051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } && {
5053 test -z "$ac_c_werror_flag" ||
5054 test ! -s conftest.err
5055 } && test -s conftest.$ac_objext; then
5056 ac_cv_header_stdbool_h=yes
5058 $as_echo "$as_me: failed program was:" >&5
5059 sed 's/^/| /' conftest.$ac_ext >&5
5061 ac_cv_header_stdbool_h=no
5064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5066 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
5067 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5068 { $as_echo "$as_me:$LINENO: checking for _Bool" >&5
5069 $as_echo_n "checking for _Bool... " >&6; }
5070 if test "${ac_cv_type__Bool+set}" = set; then
5071 $as_echo_n "(cached) " >&6
5074 cat >conftest.$ac_ext <<_ACEOF
5077 cat confdefs.h >>conftest.$ac_ext
5078 cat >>conftest.$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5080 $ac_includes_default
5090 rm -f conftest.$ac_objext
5091 if { (ac_try="$ac_compile"
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5097 $as_echo "$ac_try_echo") >&5
5098 (eval "$ac_compile") 2>conftest.er1
5100 grep -v '^ *+' conftest.er1 >conftest.err
5102 cat conftest.err >&5
5103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } && {
5105 test -z "$ac_c_werror_flag" ||
5106 test ! -s conftest.err
5107 } && test -s conftest.$ac_objext; then
5108 cat >conftest.$ac_ext <<_ACEOF
5111 cat confdefs.h >>conftest.$ac_ext
5112 cat >>conftest.$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5114 $ac_includes_default
5118 if (sizeof ((_Bool)))
5124 rm -f conftest.$ac_objext
5125 if { (ac_try="$ac_compile"
5127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5131 $as_echo "$ac_try_echo") >&5
5132 (eval "$ac_compile") 2>conftest.er1
5134 grep -v '^ *+' conftest.er1 >conftest.err
5136 cat conftest.err >&5
5137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } && {
5139 test -z "$ac_c_werror_flag" ||
5140 test ! -s conftest.err
5141 } && test -s conftest.$ac_objext; then
5144 $as_echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 ac_cv_type__Bool=yes
5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5152 $as_echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.$ac_ext >&5
5158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5160 { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
5161 $as_echo "$ac_cv_type__Bool" >&6; }
5162 if test "x$ac_cv_type__Bool" = x""yes; then
5164 cat >>confdefs.h <<_ACEOF
5165 #define HAVE__BOOL 1
5171 if test $ac_cv_header_stdbool_h = yes; then
5173 cat >>confdefs.h <<\_ACEOF
5174 #define HAVE_STDBOOL_H 1
5179 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
5180 $as_echo_n "checking for size_t... " >&6; }
5181 if test "${ac_cv_type_size_t+set}" = set; then
5182 $as_echo_n "(cached) " >&6
5184 ac_cv_type_size_t=no
5185 cat >conftest.$ac_ext <<_ACEOF
5188 cat confdefs.h >>conftest.$ac_ext
5189 cat >>conftest.$ac_ext <<_ACEOF
5190 /* end confdefs.h. */
5191 $ac_includes_default
5195 if (sizeof (size_t))
5201 rm -f conftest.$ac_objext
5202 if { (ac_try="$ac_compile"
5204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5205 *) ac_try_echo=$ac_try;;
5207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5208 $as_echo "$ac_try_echo") >&5
5209 (eval "$ac_compile") 2>conftest.er1
5211 grep -v '^ *+' conftest.er1 >conftest.err
5213 cat conftest.err >&5
5214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); } && {
5216 test -z "$ac_c_werror_flag" ||
5217 test ! -s conftest.err
5218 } && test -s conftest.$ac_objext; then
5219 cat >conftest.$ac_ext <<_ACEOF
5222 cat confdefs.h >>conftest.$ac_ext
5223 cat >>conftest.$ac_ext <<_ACEOF
5224 /* end confdefs.h. */
5225 $ac_includes_default
5229 if (sizeof ((size_t)))
5235 rm -f conftest.$ac_objext
5236 if { (ac_try="$ac_compile"
5238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5239 *) ac_try_echo=$ac_try;;
5241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5242 $as_echo "$ac_try_echo") >&5
5243 (eval "$ac_compile") 2>conftest.er1
5245 grep -v '^ *+' conftest.er1 >conftest.err
5247 cat conftest.err >&5
5248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); } && {
5250 test -z "$ac_c_werror_flag" ||
5251 test ! -s conftest.err
5252 } && test -s conftest.$ac_objext; then
5255 $as_echo "$as_me: failed program was:" >&5
5256 sed 's/^/| /' conftest.$ac_ext >&5
5258 ac_cv_type_size_t=yes
5261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5263 $as_echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.$ac_ext >&5
5269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5271 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5272 $as_echo "$ac_cv_type_size_t" >&6; }
5273 if test "x$ac_cv_type_size_t" = x""yes; then
5277 cat >>confdefs.h <<_ACEOF
5278 #define size_t unsigned int
5284 # Checks for library functions.
5286 for ac_func in tzset
5288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5289 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5290 $as_echo_n "checking for $ac_func... " >&6; }
5291 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5292 $as_echo_n "(cached) " >&6
5294 cat >conftest.$ac_ext <<_ACEOF
5297 cat confdefs.h >>conftest.$ac_ext
5298 cat >>conftest.$ac_ext <<_ACEOF
5299 /* end confdefs.h. */
5300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5302 #define $ac_func innocuous_$ac_func
5304 /* System header to define __stub macros and hopefully few prototypes,
5305 which can conflict with char $ac_func (); below.
5306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5307 <limits.h> exists even on freestanding compilers. */
5310 # include <limits.h>
5312 # include <assert.h>
5317 /* Override any GCC internal prototype to avoid an error.
5318 Use char because int might match the return type of a GCC
5319 builtin and then its argument prototype would still apply. */
5324 /* The GNU C library defines this for functions which it implements
5325 to always fail with ENOSYS. Some functions are actually named
5326 something starting with __ and the normal name is an alias. */
5327 #if defined __stub_$ac_func || defined __stub___$ac_func
5339 rm -f conftest.$ac_objext conftest$ac_exeext
5340 if { (ac_try="$ac_link"
5342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5343 *) ac_try_echo=$ac_try;;
5345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5346 $as_echo "$ac_try_echo") >&5
5347 (eval "$ac_link") 2>conftest.er1
5349 grep -v '^ *+' conftest.er1 >conftest.err
5351 cat conftest.err >&5
5352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); } && {
5354 test -z "$ac_c_werror_flag" ||
5355 test ! -s conftest.err
5356 } && test -s conftest$ac_exeext && {
5357 test "$cross_compiling" = yes ||
5358 $as_test_x conftest$ac_exeext
5360 eval "$as_ac_var=yes"
5362 $as_echo "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.$ac_ext >&5
5365 eval "$as_ac_var=no"
5368 rm -rf conftest.dSYM
5369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5370 conftest$ac_exeext conftest.$ac_ext
5372 ac_res=`eval 'as_val=${'$as_ac_var'}
5373 $as_echo "$as_val"'`
5374 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5375 $as_echo "$ac_res" >&6; }
5376 as_val=`eval 'as_val=${'$as_ac_var'}
5377 $as_echo "$as_val"'`
5378 if test "x$as_val" = x""yes; then
5379 cat >>confdefs.h <<_ACEOF
5380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5387 if test "$enable_debug" = yes; then
5395 if test "$GXX" = yes; then
5404 ac_config_files="$ac_config_files Makefile"
5407 cat >confcache <<\_ACEOF
5408 # This file is a shell script that caches the results of configure
5409 # tests run on this system so they can be shared between configure
5410 # scripts and configure runs, see configure's option --config-cache.
5411 # It is not useful on other systems. If it contains results you don't
5412 # want to keep, you may remove or edit it.
5414 # config.status only pays attention to the cache file if you give it
5415 # the --recheck option to rerun configure.
5417 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5418 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5423 # The following way of writing the cache mishandles newlines in values,
5424 # but we know of no workaround that is simple, portable, and efficient.
5425 # So, we kill variables containing newlines.
5426 # Ultrix sh set writes to stderr and can't be redirected directly,
5427 # and sets the high bit in the cache file unless we assign to the vars.
5429 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5430 eval ac_val=\$$ac_var
5434 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5435 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5438 _ | IFS | as_nl) ;; #(
5439 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5440 *) $as_unset $ac_var ;;
5446 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5447 *${as_nl}ac_space=\ *)
5448 # `set' does not quote correctly, so add quotes (double-quote
5449 # substitution turns \\\\ into \\, and sed turns \\ into \).
5452 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5455 # `set' quotes correctly as required by POSIX, so do not add quotes.
5456 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5465 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5467 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5469 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5470 if test -w "$cache_file"; then
5471 test "x$cache_file" != "x/dev/null" &&
5472 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5473 $as_echo "$as_me: updating cache $cache_file" >&6;}
5474 cat confcache >$cache_file
5476 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5477 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5482 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5483 # Let make expand exec_prefix.
5484 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5486 DEFS=-DHAVE_CONFIG_H
5490 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5491 # 1. Remove the extension, and $U if already installed.
5492 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5493 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5494 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5495 # will be set to the directory where LIBOBJS objects are built.
5496 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5497 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5501 LTLIBOBJS=$ac_ltlibobjs
5504 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5505 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5506 Usually this means the macro was only invoked conditionally." >&5
5507 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5508 Usually this means the macro was only invoked conditionally." >&2;}
5509 { (exit 1); exit 1; }; }
5511 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5512 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5513 Usually this means the macro was only invoked conditionally." >&5
5514 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5515 Usually this means the macro was only invoked conditionally." >&2;}
5516 { (exit 1); exit 1; }; }
5518 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5519 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5520 Usually this means the macro was only invoked conditionally." >&5
5521 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5522 Usually this means the macro was only invoked conditionally." >&2;}
5523 { (exit 1); exit 1; }; }
5525 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
5526 { { $as_echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
5527 Usually this means the macro was only invoked conditionally." >&5
5528 $as_echo "$as_me: error: conditional \"DEBUG\" was never defined.
5529 Usually this means the macro was only invoked conditionally." >&2;}
5530 { (exit 1); exit 1; }; }
5532 if test -z "${GXX_TRUE}" && test -z "${GXX_FALSE}"; then
5533 { { $as_echo "$as_me:$LINENO: error: conditional \"GXX\" was never defined.
5534 Usually this means the macro was only invoked conditionally." >&5
5535 $as_echo "$as_me: error: conditional \"GXX\" was never defined.
5536 Usually this means the macro was only invoked conditionally." >&2;}
5537 { (exit 1); exit 1; }; }
5540 : ${CONFIG_STATUS=./config.status}
5542 ac_clean_files_save=$ac_clean_files
5543 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5544 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5545 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5546 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5548 # Generated by $as_me.
5549 # Run this file to recreate the current configuration.
5550 # Compiler output produced by configure, useful for debugging
5551 # configure, is in config.log if it exists.
5556 SHELL=\${CONFIG_SHELL-$SHELL}
5559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5560 ## --------------------- ##
5561 ## M4sh Initialization. ##
5562 ## --------------------- ##
5564 # Be more Bourne compatible
5565 DUALCASE=1; export DUALCASE # for MKS sh
5566 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5569 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5570 # is contrary to our usage. Disable this feature.
5571 alias -g '${1+"$@"}'='"$@"'
5572 setopt NO_GLOB_SUBST
5574 case `(set -o) 2>/dev/null` in
5575 *posix*) set -o posix ;;
5584 # Avoid depending upon Character Ranges.
5585 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5586 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5587 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5588 as_cr_digits='0123456789'
5589 as_cr_alnum=$as_cr_Letters$as_cr_digits
5594 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5595 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5596 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5597 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5598 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5599 as_echo='printf %s\n'
5600 as_echo_n='printf %s'
5602 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5603 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5604 as_echo_n='/usr/ucb/echo -n'
5606 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5607 as_echo_n_body='eval
5611 expr "X$arg" : "X\\(.*\\)$as_nl";
5612 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5614 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5616 export as_echo_n_body
5617 as_echo_n='sh -c $as_echo_n_body as_echo'
5620 as_echo='sh -c $as_echo_body as_echo'
5623 # The user is always right.
5624 if test "${PATH_SEPARATOR+set}" != set; then
5626 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5627 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5632 # Support unset when possible.
5633 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5641 # We need space, tab and new line, in precisely that order. Quoting is
5642 # there to prevent editors from complaining about space-tab.
5643 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5644 # splitting by setting IFS to empty value.)
5647 # Find who we are. Look in the path if we contain no directory separator.
5649 *[\\/]* ) as_myself=$0 ;;
5650 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 test -z "$as_dir" && as_dir=.
5655 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5661 # We did not find ourselves, most probably we were run as `sh COMMAND'
5662 # in which case we are not to be found in the path.
5663 if test "x$as_myself" = x; then
5666 if test ! -f "$as_myself"; then
5667 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5668 { (exit 1); exit 1; }
5671 # Work around bugs in pre-3.0 UWIN ksh.
5672 for as_var in ENV MAIL MAILPATH
5673 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5685 # Required to use basename.
5686 if expr a : '\(a\)' >/dev/null 2>&1 &&
5687 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5693 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5694 as_basename=basename
5700 # Name of the executable.
5701 as_me=`$as_basename -- "$0" ||
5702 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5703 X"$0" : 'X\(//\)$' \| \
5704 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5706 sed '/^.*\/\([^/][^/]*\)\/*$/{
5727 test "x$as_lineno_1" != "x$as_lineno_2" &&
5728 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5730 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5731 # uniformly replaced by the line number. The first 'sed' inserts a
5732 # line-number line after each line using $LINENO; the second 'sed'
5733 # does the real work. The second script uses 'N' to pair each
5734 # line-number line with the line containing $LINENO, and appends
5735 # trailing '-' during substitution so that $LINENO is not a special
5737 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5738 # scripts with optimization help from Paolo Bonzini. Blame Lee
5739 # E. McMahon (1931-1989) for sed's syntax. :-)
5751 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5755 chmod +x "$as_me.lineno" ||
5756 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5757 { (exit 1); exit 1; }; }
5759 # Don't try to exec as it changes $[0], causing all sort of problems
5760 # (the dirname of $[0] is not the place where we might find the
5761 # original and so on. Autoconf is especially sensitive to this).
5763 # Exit status is that of the last command.
5768 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5774 ECHO_C= ECHO_N= ECHO_T=
5777 case `echo 'x\c'` in
5778 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5784 if expr a : '\(a\)' >/dev/null 2>&1 &&
5785 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5791 rm -f conf$$ conf$$.exe conf$$.file
5792 if test -d conf$$.dir; then
5793 rm -f conf$$.dir/conf$$.file
5796 mkdir conf$$.dir 2>/dev/null
5798 if (echo >conf$$.file) 2>/dev/null; then
5799 if ln -s conf$$.file conf$$ 2>/dev/null; then
5801 # ... but there are two gotchas:
5802 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5803 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5804 # In both cases, we have to default to `cp -p'.
5805 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5807 elif ln conf$$.file conf$$ 2>/dev/null; then
5815 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5816 rmdir conf$$.dir 2>/dev/null
5818 if mkdir -p . 2>/dev/null; then
5821 test -d ./-p && rmdir ./-p
5825 if test -x / >/dev/null 2>&1; then
5828 if ls -dL / >/dev/null 2>&1; then
5835 if test -d "$1"; then
5841 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5842 ???[sx]*):;;*)false;;esac;fi
5846 as_executable_p=$as_test_x
5848 # Sed expression to map a string onto a valid CPP name.
5849 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5851 # Sed expression to map a string onto a valid variable name.
5852 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5857 # Save the log message, to keep $[0] and so on meaningful, and to
5858 # report actual input values of CONFIG_FILES etc. instead of their
5859 # values after options handling.
5861 This file was extended by alstede $as_me 1.0.1, which was
5862 generated by GNU Autoconf 2.63. Invocation command line was
5864 CONFIG_FILES = $CONFIG_FILES
5865 CONFIG_HEADERS = $CONFIG_HEADERS
5866 CONFIG_LINKS = $CONFIG_LINKS
5867 CONFIG_COMMANDS = $CONFIG_COMMANDS
5870 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5875 case $ac_config_files in *"
5876 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5879 case $ac_config_headers in *"
5880 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5885 # Files that config.status was made for.
5886 config_files="$ac_config_files"
5887 config_headers="$ac_config_headers"
5888 config_commands="$ac_config_commands"
5892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5894 \`$as_me' instantiates files from templates according to the
5895 current configuration.
5897 Usage: $0 [OPTION]... [FILE]...
5899 -h, --help print this help, then exit
5900 -V, --version print version number and configuration settings, then exit
5901 -q, --quiet, --silent
5902 do not print progress messages
5903 -d, --debug don't remove temporary files
5904 --recheck update $as_me by reconfiguring in the same conditions
5905 --file=FILE[:TEMPLATE]
5906 instantiate the configuration file FILE
5907 --header=FILE[:TEMPLATE]
5908 instantiate the configuration header FILE
5910 Configuration files:
5913 Configuration headers:
5916 Configuration commands:
5919 Report bugs to <bug-autoconf@gnu.org>."
5922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5924 alstede config.status 1.0.1
5925 configured by $0, generated by GNU Autoconf 2.63,
5926 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5928 Copyright (C) 2008 Free Software Foundation, Inc.
5929 This config.status script is free software; the Free Software Foundation
5930 gives unlimited permission to copy, distribute and modify it."
5937 test -n "\$AWK" || AWK=awk
5940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5941 # The default lists apply if the user does not specify any file.
5947 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5948 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5959 # Handling of the options.
5960 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5962 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5963 $as_echo "$ac_cs_version"; exit ;;
5964 --debug | --debu | --deb | --de | --d | -d )
5966 --file | --fil | --fi | --f )
5969 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5971 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5972 ac_need_defaults=false;;
5973 --header | --heade | --head | --hea )
5976 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5978 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5979 ac_need_defaults=false;;
5981 # Conflict between --help and --header
5982 { $as_echo "$as_me: error: ambiguous option: $1
5983 Try \`$0 --help' for more information." >&2
5984 { (exit 1); exit 1; }; };;
5985 --help | --hel | -h )
5986 $as_echo "$ac_cs_usage"; exit ;;
5987 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5988 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5992 -*) { $as_echo "$as_me: error: unrecognized option: $1
5993 Try \`$0 --help' for more information." >&2
5994 { (exit 1); exit 1; }; } ;;
5996 *) ac_config_targets="$ac_config_targets $1"
5997 ac_need_defaults=false ;;
6003 ac_configure_extra_args=
6005 if $ac_cs_silent; then
6007 ac_configure_extra_args="$ac_configure_extra_args --silent"
6011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6012 if \$ac_cs_recheck; then
6013 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6015 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6016 CONFIG_SHELL='$SHELL'
6022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6026 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6027 ## Running $as_me. ##
6033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6037 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6043 # Handling of arguments.
6044 for ac_config_target in $ac_config_targets
6046 case $ac_config_target in
6047 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6048 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6049 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6051 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6052 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6053 { (exit 1); exit 1; }; };;
6058 # If the user did not use the arguments to specify the items to instantiate,
6059 # then the envvar interface is used. Set only those that are not.
6060 # We use the long form for the default assignment because of an extremely
6061 # bizarre bug on SunOS 4.1.3.
6062 if $ac_need_defaults; then
6063 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6064 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6065 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6068 # Have a temporary directory for convenience. Make it in the build tree
6069 # simply because there is no reason against having it here, and in addition,
6070 # creating and moving files from /tmp can sometimes cause problems.
6071 # Hook for its removal unless debugging.
6072 # Note that there is a small window in which the directory will not be cleaned:
6073 # after its creation but before its name has been assigned to `$tmp'.
6077 trap 'exit_status=$?
6078 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6080 trap '{ (exit 1); exit 1; }' 1 2 13 15
6082 # Create a (secure) tmp directory for tmp files.
6085 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6086 test -n "$tmp" && test -d "$tmp"
6089 tmp=./conf$$-$RANDOM
6090 (umask 077 && mkdir "$tmp")
6093 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6094 { (exit 1); exit 1; }
6097 # Set up the scripts for CONFIG_FILES section.
6098 # No need to generate them if there are no CONFIG_FILES.
6099 # This happens for instance with `./config.status config.h'.
6100 if test -n "$CONFIG_FILES"; then
6104 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6105 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6111 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6116 echo "cat >conf$$subs.awk <<_ACEOF" &&
6117 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6120 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6121 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6122 { (exit 1); exit 1; }; }
6123 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6125 for ac_last_try in false false false false false :; do
6126 . ./conf$$subs.sh ||
6127 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6128 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6129 { (exit 1); exit 1; }; }
6131 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6132 if test $ac_delim_n = $ac_delim_num; then
6134 elif $ac_last_try; then
6135 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6136 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6137 { (exit 1); exit 1; }; }
6139 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6145 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6149 s/^/S["/; s/!.*/"]=/
6159 s/\(.\{148\}\).*/\1/
6161 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6166 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6173 s/\(.\{148\}\).*/\1/
6175 s/["\\]/\\&/g; s/^/"/; s/$/"/
6179 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6184 ' <conf$$subs.awk | sed '
6189 ' >>$CONFIG_STATUS || ac_write_fail=1
6190 rm -f conf$$subs.awk
6191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6193 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6194 for (key in S) S_is_set[key] = 1
6200 nfields = split(line, field, "@")
6202 len = length(field[1])
6203 for (i = 2; i < nfields; i++) {
6205 keylen = length(key)
6206 if (S_is_set[key]) {
6208 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6209 len += length(value) + length(field[++i])
6220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6221 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6222 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6225 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6226 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6227 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6228 { (exit 1); exit 1; }; }
6231 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6232 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6233 # trailing colons and then remove the whole line if VPATH becomes empty
6234 # (actually we leave an empty line to preserve line numbers).
6235 if test "x$srcdir" = x.; then
6236 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6240 s/^\([^=]*=[ ]*\):*/\1/
6246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6247 fi # test -n "$CONFIG_FILES"
6249 # Set up the scripts for CONFIG_HEADERS section.
6250 # No need to generate them if there are no CONFIG_HEADERS.
6251 # This happens for instance with `./config.status Makefile'.
6252 if test -n "$CONFIG_HEADERS"; then
6253 cat >"$tmp/defines.awk" <<\_ACAWK ||
6257 # Transform confdefs.h into an awk script `defines.awk', embedded as
6258 # here-document in config.status, that substitutes the proper values into
6259 # config.h.in to produce config.h.
6261 # Create a delimiter string that does not exist in confdefs.h, to ease
6262 # handling of long lines.
6264 for ac_last_try in false false :; do
6265 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6266 if test -z "$ac_t"; then
6268 elif $ac_last_try; then
6269 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6270 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6271 { (exit 1); exit 1; }; }
6273 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6277 # For the awk script, D is an array of macro values keyed by name,
6278 # likewise P contains macro parameters if any. Preserve backslash
6279 # newline sequences.
6281 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6283 s/.\{148\}/&'"$ac_delim"'/g
6286 s/^[ ]*#[ ]*define[ ][ ]*/ /
6293 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6295 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6299 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6300 D["\1"]=" \3\\\\\\n"\\/p
6302 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6307 s/.\{148\}/&'"$ac_delim"'/g
6312 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6315 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6317 ' <confdefs.h | sed '
6318 s/'"$ac_delim"'/"\\\
6319 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6322 for (key in D) D_is_set[key] = 1
6325 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6327 split(line, arg, " ")
6328 if (arg[1] == "#") {
6332 defundef = substr(arg[1], 2)
6335 split(mac1, mac2, "(") #)
6337 prefix = substr(line, 1, index(line, defundef) - 1)
6338 if (D_is_set[macro]) {
6339 # Preserve the white space surrounding the "#".
6340 print prefix "define", macro P[macro] D[macro]
6343 # Replace #undef with comments. This is necessary, for example,
6344 # in the case of _POSIX_SOURCE, which is predefined and required
6345 # on some systems where configure will not decide to define it.
6346 if (defundef == "undef") {
6347 print "/*", prefix defundef, macro, "*/"
6355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6356 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6357 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6358 { (exit 1); exit 1; }; }
6359 fi # test -n "$CONFIG_HEADERS"
6362 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6367 :[FHLC]) ac_mode=$ac_tag; continue;;
6369 case $ac_mode$ac_tag in
6371 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6372 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6373 { (exit 1); exit 1; }; };;
6374 :[FH]-) ac_tag=-:-;;
6375 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6392 -) ac_f="$tmp/stdin";;
6393 *) # Look for the file first in the build tree, then in the source tree
6394 # (if the path is not absolute). The absolute path cannot be DOS-style,
6395 # because $ac_f cannot contain `:'.
6399 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6401 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6402 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6403 { (exit 1); exit 1; }; };;
6405 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6406 ac_file_inputs="$ac_file_inputs '$ac_f'"
6409 # Let's still pretend it is `configure' which instantiates (i.e., don't
6410 # use $as_me), people would be surprised to read:
6411 # /* config.h. Generated by config.status. */
6412 configure_input='Generated from '`
6413 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6415 if test x"$ac_file" != x-; then
6416 configure_input="$ac_file. $configure_input"
6417 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6418 $as_echo "$as_me: creating $ac_file" >&6;}
6420 # Neutralize special characters interpreted by sed in replacement strings.
6421 case $configure_input in #(
6422 *\&* | *\|* | *\\* )
6423 ac_sed_conf_input=`$as_echo "$configure_input" |
6424 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6425 *) ac_sed_conf_input=$configure_input;;
6429 *:-:* | *:-) cat >"$tmp/stdin" \
6430 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6431 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6432 { (exit 1); exit 1; }; } ;;
6437 ac_dir=`$as_dirname -- "$ac_file" ||
6438 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6439 X"$ac_file" : 'X\(//\)[^/]' \| \
6440 X"$ac_file" : 'X\(//\)$' \| \
6441 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6442 $as_echo X"$ac_file" |
6443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6462 -*) as_dir=./$as_dir;;
6464 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6468 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6469 *) as_qdir=$as_dir;;
6471 as_dirs="'$as_qdir' $as_dirs"
6472 as_dir=`$as_dirname -- "$as_dir" ||
6473 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6474 X"$as_dir" : 'X\(//\)[^/]' \| \
6475 X"$as_dir" : 'X\(//\)$' \| \
6476 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6477 $as_echo X"$as_dir" |
6478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6495 test -d "$as_dir" && break
6497 test -z "$as_dirs" || eval "mkdir $as_dirs"
6498 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6499 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6500 { (exit 1); exit 1; }; }; }
6504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6506 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6507 # A ".." for each directory in $ac_dir_suffix.
6508 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6509 case $ac_top_builddir_sub in
6510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6514 ac_abs_top_builddir=$ac_pwd
6515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6516 # for backward compatibility:
6517 ac_top_builddir=$ac_top_build_prefix
6520 .) # We are building in place.
6522 ac_top_srcdir=$ac_top_builddir_sub
6523 ac_abs_top_srcdir=$ac_pwd ;;
6524 [\\/]* | ?:[\\/]* ) # Absolute name.
6525 ac_srcdir=$srcdir$ac_dir_suffix;
6526 ac_top_srcdir=$srcdir
6527 ac_abs_top_srcdir=$srcdir ;;
6529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6530 ac_top_srcdir=$ac_top_build_prefix$srcdir
6531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6543 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6544 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6548 [\\/$]* | ?:[\\/]* ) ;;
6549 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6554 # If the template does not know about datarootdir, expand it.
6555 # FIXME: This hack should be removed a few years after 2.60.
6556 ac_datarootdir_hack=; ac_datarootdir_seen=
6569 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6570 *datarootdir*) ac_datarootdir_seen=yes;;
6571 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6572 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6573 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6576 ac_datarootdir_hack='
6577 s&@datadir@&$datadir&g
6578 s&@docdir@&$docdir&g
6579 s&@infodir@&$infodir&g
6580 s&@localedir@&$localedir&g
6581 s&@mandir@&$mandir&g
6582 s&\\\${datarootdir}&$datarootdir&g' ;;
6586 # Neutralize VPATH when `$srcdir' = `.'.
6587 # Shell code in configure.ac might set extrasub.
6588 # FIXME: do we really want to maintain this feature?
6589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6590 ac_sed_extra="$ac_vpsub
6593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6595 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6596 s|@configure_input@|$ac_sed_conf_input|;t t
6597 s&@top_builddir@&$ac_top_builddir_sub&;t t
6598 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6599 s&@srcdir@&$ac_srcdir&;t t
6600 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6601 s&@top_srcdir@&$ac_top_srcdir&;t t
6602 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6603 s&@builddir@&$ac_builddir&;t t
6604 s&@abs_builddir@&$ac_abs_builddir&;t t
6605 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6606 s&@INSTALL@&$ac_INSTALL&;t t
6607 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6608 $ac_datarootdir_hack
6610 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6611 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6612 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6613 { (exit 1); exit 1; }; }
6615 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6616 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6617 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6618 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6619 which seems to be undefined. Please make sure it is defined." >&5
6620 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6621 which seems to be undefined. Please make sure it is defined." >&2;}
6625 -) cat "$tmp/out" && rm -f "$tmp/out";;
6626 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6628 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6629 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6630 { (exit 1); exit 1; }; }
6636 if test x"$ac_file" != x-; then
6638 $as_echo "/* $configure_input */" \
6639 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6640 } >"$tmp/config.h" \
6641 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6642 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6643 { (exit 1); exit 1; }; }
6644 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6645 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6646 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6649 mv "$tmp/config.h" "$ac_file" \
6650 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6651 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6652 { (exit 1); exit 1; }; }
6655 $as_echo "/* $configure_input */" \
6656 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6657 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6658 $as_echo "$as_me: error: could not create -" >&2;}
6659 { (exit 1); exit 1; }; }
6661 # Compute "$ac_file"'s index in $config_headers.
6664 for _am_header in $config_headers :; do
6666 $_am_arg | $_am_arg:* )
6669 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6672 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6673 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6674 X"$_am_arg" : 'X\(//\)[^/]' \| \
6675 X"$_am_arg" : 'X\(//\)$' \| \
6676 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6677 $as_echo X"$_am_arg" |
6678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6694 s/.*/./; q'`/stamp-h$_am_stamp_count
6697 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6698 $as_echo "$as_me: executing $ac_file commands" >&6;}
6703 case $ac_file$ac_mode in
6704 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6705 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6706 # are listed without --file. Let's play safe and only enable the eval
6707 # if we detect the quoting.
6708 case $CONFIG_FILES in
6709 *\'*) eval set x "$CONFIG_FILES" ;;
6710 *) set x $CONFIG_FILES ;;
6715 # Strip MF so we end up with the name of the file.
6716 mf=`echo "$mf" | sed -e 's/:.*$//'`
6717 # Check whether this is an Automake generated Makefile or not.
6718 # We used to match only the files named `Makefile.in', but
6719 # some people rename them; so instead we look at the file content.
6720 # Grep'ing the first line is not enough: some people post-process
6721 # each Makefile.in and add a new line on top of each file to say so.
6722 # Grep'ing the whole file is not good either: AIX grep has a line
6723 # limit of 2048, but all sed's we know have understand at least 4000.
6724 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6725 dirpart=`$as_dirname -- "$mf" ||
6726 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6727 X"$mf" : 'X\(//\)[^/]' \| \
6728 X"$mf" : 'X\(//\)$' \| \
6729 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6751 # Extract the definition of DEPDIR, am__include, and am__quote
6752 # from the Makefile without running `make'.
6753 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6754 test -z "$DEPDIR" && continue
6755 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6756 test -z "am__include" && continue
6757 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6758 # When using ansi2knr, U may be empty or an underscore; expand it
6759 U=`sed -n 's/^U = //p' < "$mf"`
6760 # Find all dependency output files, they are included files with
6761 # $(DEPDIR) in their names. We invoke sed twice because it is the
6762 # simplest approach to changing $(DEPDIR) to its actual value in the
6764 for file in `sed -n "
6765 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6766 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6767 # Make sure the directory exists.
6768 test -f "$dirpart/$file" && continue
6769 fdir=`$as_dirname -- "$file" ||
6770 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6771 X"$file" : 'X\(//\)[^/]' \| \
6772 X"$file" : 'X\(//\)$' \| \
6773 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6792 { as_dir=$dirpart/$fdir
6794 -*) as_dir=./$as_dir;;
6796 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6800 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6801 *) as_qdir=$as_dir;;
6803 as_dirs="'$as_qdir' $as_dirs"
6804 as_dir=`$as_dirname -- "$as_dir" ||
6805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6806 X"$as_dir" : 'X\(//\)[^/]' \| \
6807 X"$as_dir" : 'X\(//\)$' \| \
6808 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6809 $as_echo X"$as_dir" |
6810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6827 test -d "$as_dir" && break
6829 test -z "$as_dirs" || eval "mkdir $as_dirs"
6830 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6831 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6832 { (exit 1); exit 1; }; }; }
6833 # echo "creating $dirpart/$file"
6834 echo '# dummy' > "$dirpart/$file"
6844 { (exit 0); exit 0; }
6846 chmod +x $CONFIG_STATUS
6847 ac_clean_files=$ac_clean_files_save
6849 test $ac_write_fail = 0 ||
6850 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6851 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6852 { (exit 1); exit 1; }; }
6855 # configure is writing to config.log, and then calls config.status.
6856 # config.status does its own redirection, appending to config.log.
6857 # Unfortunately, on DOS this fails, as config.log is still kept open
6858 # by configure, so config.status won't be able to write to it; its
6859 # output is simply discarded. So we exec the FD to /dev/null,
6860 # effectively closing config.log, so it can be properly (re)opened and
6861 # appended to by config.status. When coming back to configure, we
6862 # need to make the FD available again.
6863 if test "$no_create" != yes; then
6865 ac_config_status_args=
6866 test "$silent" = yes &&
6867 ac_config_status_args="$ac_config_status_args --quiet"
6869 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6871 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6872 # would make configure fail if this is the last instruction.
6873 $ac_cs_success || { (exit 1); exit 1; }
6875 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6876 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6877 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}