2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for islib 1.0.0.
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.
598 PACKAGE_TARNAME='islib'
599 PACKAGE_VERSION='1.0.0'
600 PACKAGE_STRING='islib 1.0.0'
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
678 INSTALL_STRIP_PROGRAM
720 program_transform_name
732 enable_option_checking
734 enable_dependency_tracking
736 ac_precious_vars='build_alias
750 # Initialize some variables set by options.
752 ac_init_version=false
753 ac_unrecognized_opts=
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
764 program_transform_name=s,x,x,
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir='${exec_prefix}/bin'
779 sbindir='${exec_prefix}/sbin'
780 libexecdir='${exec_prefix}/libexec'
781 datarootdir='${prefix}/share'
782 datadir='${datarootdir}'
783 sysconfdir='${prefix}/etc'
784 sharedstatedir='${prefix}/com'
785 localstatedir='${prefix}/var'
786 includedir='${prefix}/include'
787 oldincludedir='/usr/include'
788 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
789 infodir='${datarootdir}/info'
794 libdir='${exec_prefix}/lib'
795 localedir='${datarootdir}/locale'
796 mandir='${datarootdir}/man'
802 # If the previous option needs an argument, assign it.
803 if test -n "$ac_prev"; then
804 eval $ac_prev=\$ac_option
810 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 # Accept the important Cygnus configure options, so we can diagnose typos.
816 case $ac_dashdash$ac_option in
820 -bindir | --bindir | --bindi | --bind | --bin | --bi)
822 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825 -build | --build | --buil | --bui | --bu)
826 ac_prev=build_alias ;;
827 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
828 build_alias=$ac_optarg ;;
830 -cache-file | --cache-file | --cache-fil | --cache-fi \
831 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
832 ac_prev=cache_file ;;
833 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
834 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
835 cache_file=$ac_optarg ;;
838 cache_file=config.cache ;;
840 -datadir | --datadir | --datadi | --datad)
842 -datadir=* | --datadir=* | --datadi=* | --datad=*)
843 datadir=$ac_optarg ;;
845 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
846 | --dataroo | --dataro | --datar)
847 ac_prev=datarootdir ;;
848 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
849 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
850 datarootdir=$ac_optarg ;;
852 -disable-* | --disable-*)
853 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
857 { (exit 1); exit 1; }; }
858 ac_useropt_orig=$ac_useropt
859 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
860 case $ac_user_opts in
864 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
865 ac_unrecognized_sep=', ';;
867 eval enable_$ac_useropt=no ;;
869 -docdir | --docdir | --docdi | --doc | --do)
871 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
874 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
876 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
879 -enable-* | --enable-*)
880 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
883 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
884 { (exit 1); exit 1; }; }
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
894 eval enable_$ac_useropt=\$ac_optarg ;;
896 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
897 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
898 | --exec | --exe | --ex)
899 ac_prev=exec_prefix ;;
900 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
901 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
902 | --exec=* | --exe=* | --ex=*)
903 exec_prefix=$ac_optarg ;;
905 -gas | --gas | --ga | --g)
906 # Obsolete; use --with-gas.
909 -help | --help | --hel | --he | -h)
911 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
912 ac_init_help=recursive ;;
913 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
914 ac_init_help=short ;;
916 -host | --host | --hos | --ho)
917 ac_prev=host_alias ;;
918 -host=* | --host=* | --hos=* | --ho=*)
919 host_alias=$ac_optarg ;;
921 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
923 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
925 htmldir=$ac_optarg ;;
927 -includedir | --includedir | --includedi | --included | --include \
928 | --includ | --inclu | --incl | --inc)
929 ac_prev=includedir ;;
930 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
931 | --includ=* | --inclu=* | --incl=* | --inc=*)
932 includedir=$ac_optarg ;;
934 -infodir | --infodir | --infodi | --infod | --info | --inf)
936 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
937 infodir=$ac_optarg ;;
939 -libdir | --libdir | --libdi | --libd)
941 -libdir=* | --libdir=* | --libdi=* | --libd=*)
944 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
945 | --libexe | --libex | --libe)
946 ac_prev=libexecdir ;;
947 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
948 | --libexe=* | --libex=* | --libe=*)
949 libexecdir=$ac_optarg ;;
951 -localedir | --localedir | --localedi | --localed | --locale)
953 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
954 localedir=$ac_optarg ;;
956 -localstatedir | --localstatedir | --localstatedi | --localstated \
957 | --localstate | --localstat | --localsta | --localst | --locals)
958 ac_prev=localstatedir ;;
959 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
960 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
961 localstatedir=$ac_optarg ;;
963 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
965 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
969 # Obsolete; use --without-fp.
972 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
973 | --no-cr | --no-c | -n)
976 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
977 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
981 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
982 | --oldin | --oldi | --old | --ol | --o)
983 ac_prev=oldincludedir ;;
984 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
985 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
986 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
987 oldincludedir=$ac_optarg ;;
989 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
991 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994 -program-prefix | --program-prefix | --program-prefi | --program-pref \
995 | --program-pre | --program-pr | --program-p)
996 ac_prev=program_prefix ;;
997 -program-prefix=* | --program-prefix=* | --program-prefi=* \
998 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
999 program_prefix=$ac_optarg ;;
1001 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1002 | --program-suf | --program-su | --program-s)
1003 ac_prev=program_suffix ;;
1004 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1005 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1006 program_suffix=$ac_optarg ;;
1008 -program-transform-name | --program-transform-name \
1009 | --program-transform-nam | --program-transform-na \
1010 | --program-transform-n | --program-transform- \
1011 | --program-transform | --program-transfor \
1012 | --program-transfo | --program-transf \
1013 | --program-trans | --program-tran \
1014 | --progr-tra | --program-tr | --program-t)
1015 ac_prev=program_transform_name ;;
1016 -program-transform-name=* | --program-transform-name=* \
1017 | --program-transform-nam=* | --program-transform-na=* \
1018 | --program-transform-n=* | --program-transform-=* \
1019 | --program-transform=* | --program-transfor=* \
1020 | --program-transfo=* | --program-transf=* \
1021 | --program-trans=* | --program-tran=* \
1022 | --progr-tra=* | --program-tr=* | --program-t=*)
1023 program_transform_name=$ac_optarg ;;
1025 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1027 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1028 pdfdir=$ac_optarg ;;
1030 -psdir | --psdir | --psdi | --psd | --ps)
1032 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036 | -silent | --silent | --silen | --sile | --sil)
1039 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1041 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1043 sbindir=$ac_optarg ;;
1045 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1046 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1047 | --sharedst | --shareds | --shared | --share | --shar \
1049 ac_prev=sharedstatedir ;;
1050 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1051 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1052 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1054 sharedstatedir=$ac_optarg ;;
1056 -site | --site | --sit)
1058 -site=* | --site=* | --sit=*)
1061 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1063 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1064 srcdir=$ac_optarg ;;
1066 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1067 | --syscon | --sysco | --sysc | --sys | --sy)
1068 ac_prev=sysconfdir ;;
1069 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1070 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1071 sysconfdir=$ac_optarg ;;
1073 -target | --target | --targe | --targ | --tar | --ta | --t)
1074 ac_prev=target_alias ;;
1075 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1076 target_alias=$ac_optarg ;;
1078 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081 -version | --version | --versio | --versi | --vers | -V)
1082 ac_init_version=: ;;
1085 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1089 { (exit 1); exit 1; }; }
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1099 eval with_$ac_useropt=\$ac_optarg ;;
1101 -without-* | --without-*)
1102 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1106 { (exit 1); exit 1; }; }
1107 ac_useropt_orig=$ac_useropt
1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1114 ac_unrecognized_sep=', ';;
1116 eval with_$ac_useropt=no ;;
1119 # Obsolete; use --with-x.
1122 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1123 | --x-incl | --x-inc | --x-in | --x-i)
1124 ac_prev=x_includes ;;
1125 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1126 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1127 x_includes=$ac_optarg ;;
1129 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1130 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1131 ac_prev=x_libraries ;;
1132 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1133 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1134 x_libraries=$ac_optarg ;;
1136 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1137 Try \`$0 --help' for more information." >&2
1138 { (exit 1); exit 1; }; }
1142 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1145 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1146 { (exit 1); exit 1; }; }
1147 eval $ac_envvar=\$ac_optarg
1148 export $ac_envvar ;;
1151 # FIXME: should be removed in autoconf 3.0.
1152 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1161 if test -n "$ac_prev"; then
1162 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1163 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1164 { (exit 1); exit 1; }; }
1167 if test -n "$ac_unrecognized_opts"; then
1168 case $enable_option_checking in
1170 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1171 { (exit 1); exit 1; }; } ;;
1172 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1176 # Check all directory arguments for consistency.
1177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val=\$$ac_var
1183 # Remove trailing slashes.
1186 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1187 eval $ac_var=\$ac_val;;
1189 # Be sure to have absolute directory names.
1191 [\\/$]* | ?:[\\/]* ) continue;;
1192 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1194 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1195 { (exit 1); exit 1; }; }
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1203 target=$target_alias
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x; then
1207 if test "x$build_alias" = x; then
1208 cross_compiling=maybe
1209 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used." >&2
1211 elif test "x$build_alias" != "x$host_alias"; then
1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1219 test "$silent" = yes && exec 6>/dev/null
1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di=`ls -di .` &&
1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1226 { (exit 1); exit 1; }; }
1227 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1229 { (exit 1); exit 1; }; }
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir=`$as_dirname -- "$as_myself" ||
1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$as_myself" : 'X\(//\)[^/]' \| \
1239 X"$as_myself" : 'X\(//\)$' \| \
1240 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1241 $as_echo X"$as_myself" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1264 ac_srcdir_defaulted=no
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1268 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1269 { (exit 1); exit 1; }; }
1271 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1273 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1274 { (exit 1); exit 1; }; }
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1284 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1286 for ac_var in $ac_precious_vars; do
1287 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_env_${ac_var}_value=\$${ac_var}
1289 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1294 # Report the --help message.
1296 if test "$ac_init_help" = "long"; then
1297 # Omit some internal or obsolete options to make the list less imposing.
1298 # This message is too long to be a string in the A/UX 3.1 sh.
1300 \`configure' configures islib 1.0.0 to adapt to many kinds of systems.
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE. See below for descriptions of some of the useful variables.
1307 Defaults for the options are specified in brackets.
1310 -h, --help display this help and exit
1311 --help=short display options specific to this package
1312 --help=recursive display the short help of all the included packages
1313 -V, --version display version information and exit
1314 -q, --quiet, --silent do not print \`checking...' messages
1315 --cache-file=FILE cache test results in FILE [disabled]
1316 -C, --config-cache alias for \`--cache-file=config.cache'
1317 -n, --no-create do not create output files
1318 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1320 Installation directories:
1321 --prefix=PREFIX install architecture-independent files in PREFIX
1322 [$ac_default_prefix]
1323 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1331 For better control, use the options below.
1333 Fine tuning of the installation directories:
1334 --bindir=DIR user executables [EPREFIX/bin]
1335 --sbindir=DIR system admin executables [EPREFIX/sbin]
1336 --libexecdir=DIR program executables [EPREFIX/libexec]
1337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340 --libdir=DIR object code libraries [EPREFIX/lib]
1341 --includedir=DIR C header files [PREFIX/include]
1342 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1343 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1344 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1345 --infodir=DIR info documentation [DATAROOTDIR/info]
1346 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1347 --mandir=DIR man documentation [DATAROOTDIR/man]
1348 --docdir=DIR documentation root [DATAROOTDIR/doc/islib]
1349 --htmldir=DIR html documentation [DOCDIR]
1350 --dvidir=DIR dvi documentation [DOCDIR]
1351 --pdfdir=DIR pdf documentation [DOCDIR]
1352 --psdir=DIR ps documentation [DOCDIR]
1358 --program-prefix=PREFIX prepend PREFIX to installed program names
1359 --program-suffix=SUFFIX append SUFFIX to installed program names
1360 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1364 if test -n "$ac_init_help"; then
1365 case $ac_init_help in
1366 short | recursive ) echo "Configuration of islib 1.0.0:";;
1371 --disable-option-checking ignore unrecognized --enable/--with options
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --enable-debug Turn on debugging
1375 --disable-dependency-tracking speeds up one-time build
1376 --enable-dependency-tracking do not reject slow dependency extractors
1378 Some influential environment variables:
1379 CXX C++ compiler command
1380 CXXFLAGS C++ compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1386 CC C compiler command
1387 CFLAGS C compiler flags
1390 Use these variables to override the choices made by `configure' or to help
1391 it to find libraries and programs with nonstandard names/locations.
1393 Report bugs to <issoftware@users.sourceforge.jp>.
1398 if test "$ac_init_help" = "recursive"; then
1399 # If there are subdirs, report their specific --help.
1400 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1401 test -d "$ac_dir" ||
1402 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1423 .) # We are building in place.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1447 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1456 islib configure 1.0.0
1457 generated by GNU Autoconf 2.63
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by islib $as_me 1.0.0, which was
1471 generated by GNU Autoconf 2.63. Invocation command line was
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir=.
1507 $as_echo "PATH: $as_dir"
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_must_keep_next=false
1537 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539 | -silent | --silent | --silen | --sile | --sil)
1542 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true; then
1549 ac_must_keep_next=false # Got value, back to normal.
1552 *=* | --config-cache | -C | -disable-* | --disable-* \
1553 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555 | -with-* | --with-* | -without-* | --without-* | --x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 -* ) ac_must_keep_next=true ;;
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1594 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1595 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1598 _ | IFS | as_nl) ;; #(
1599 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1600 *) $as_unset $ac_var ;;
1605 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1606 *${as_nl}ac_space=\ *)
1608 "s/'\''/'\''\\\\'\'''\''/g;
1609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1620 ## ----------------- ##
1621 ## Output variables. ##
1622 ## ----------------- ##
1625 for ac_var in $ac_subst_vars
1627 eval ac_val=\$$ac_var
1629 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 $as_echo "$ac_var='\''$ac_val'\''"
1635 if test -n "$ac_subst_files"; then
1637 ## ------------------- ##
1638 ## File substitutions. ##
1639 ## ------------------- ##
1642 for ac_var in $ac_subst_files
1644 eval ac_val=\$$ac_var
1646 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 $as_echo "$ac_var='\''$ac_val'\''"
1653 if test -s confdefs.h; then
1663 test "$ac_signal" != 0 &&
1664 $as_echo "$as_me: caught signal $ac_signal"
1665 $as_echo "$as_me: exit $exit_status"
1667 rm -f core *.core core.conftest.* &&
1668 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1671 for ac_signal in 1 2 13 15; do
1672 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1676 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1677 rm -f -r conftest* confdefs.h
1679 # Predefined preprocessor variables.
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_NAME "$PACKAGE_NAME"
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_STRING "$PACKAGE_STRING"
1701 cat >>confdefs.h <<_ACEOF
1702 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1706 # Let the site file select an alternate cache file if it wants to.
1707 # Prefer an explicitly selected file to automatically selected ones.
1710 if test -n "$CONFIG_SITE"; then
1711 ac_site_file1=$CONFIG_SITE
1712 elif test "x$prefix" != xNONE; then
1713 ac_site_file1=$prefix/share/config.site
1714 ac_site_file2=$prefix/etc/config.site
1716 ac_site_file1=$ac_default_prefix/share/config.site
1717 ac_site_file2=$ac_default_prefix/etc/config.site
1719 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1721 test "x$ac_site_file" = xNONE && continue
1722 if test -r "$ac_site_file"; then
1723 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1724 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1725 sed 's/^/| /' "$ac_site_file" >&5
1730 if test -r "$cache_file"; then
1731 # Some versions of bash will fail to source /dev/null (special
1732 # files actually), so we avoid doing that.
1733 if test -f "$cache_file"; then
1734 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1735 $as_echo "$as_me: loading cache $cache_file" >&6;}
1737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1738 *) . "./$cache_file";;
1742 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1743 $as_echo "$as_me: creating cache $cache_file" >&6;}
1747 # Check that the precious variables saved in the cache have kept the same
1749 ac_cache_corrupted=false
1750 for ac_var in $ac_precious_vars; do
1751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1752 eval ac_new_set=\$ac_env_${ac_var}_set
1753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1754 eval ac_new_val=\$ac_env_${ac_var}_value
1755 case $ac_old_set,$ac_new_set in
1757 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1761 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1763 ac_cache_corrupted=: ;;
1766 if test "x$ac_old_val" != "x$ac_new_val"; then
1767 # differences in whitespace do not lead to failure.
1768 ac_old_val_w=`echo x $ac_old_val`
1769 ac_new_val_w=`echo x $ac_new_val`
1770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1771 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1773 ac_cache_corrupted=:
1775 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1777 eval $ac_var=\$ac_old_val
1779 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1781 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1785 # Pass precious variables to config.status.
1786 if test "$ac_new_set" = set; then
1788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1789 *) ac_arg=$ac_var=$ac_new_val ;;
1791 case " $ac_configure_args " in
1792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1793 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1797 if $ac_cache_corrupted; then
1798 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1800 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1802 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1803 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1804 { (exit 1); exit 1; }; }
1832 ac_cpp='$CPP $CPPFLAGS'
1833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1839 ac_config_headers="$ac_config_headers config.h"
1842 # Check whether --enable-debug was given.
1843 if test "${enable_debug+set}" = set; then
1844 enableval=$enable_debug; enable_debug="$enableval"
1850 am__api_version='1.10'
1853 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1854 if test -f "$ac_dir/install-sh"; then
1856 ac_install_sh="$ac_aux_dir/install-sh -c"
1858 elif test -f "$ac_dir/install.sh"; then
1860 ac_install_sh="$ac_aux_dir/install.sh -c"
1862 elif test -f "$ac_dir/shtool"; then
1864 ac_install_sh="$ac_aux_dir/shtool install -c"
1868 if test -z "$ac_aux_dir"; then
1869 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1870 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1871 { (exit 1); exit 1; }; }
1874 # These three variables are undocumented and unsupported,
1875 # and are intended to be withdrawn in a future Autoconf release.
1876 # They can cause serious problems if a builder's source tree is in a directory
1877 # whose full name contains unusual characters.
1878 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1879 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1880 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1883 # Find a good install program. We prefer a C program (faster),
1884 # so one script is as good as another. But avoid the broken or
1885 # incompatible versions:
1886 # SysV /etc/install, /usr/sbin/install
1887 # SunOS /usr/etc/install
1888 # IRIX /sbin/install
1890 # AmigaOS /C/install, which installs bootblocks on floppy discs
1891 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1892 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1893 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1894 # OS/2's system install, which has a completely different semantic
1895 # ./install, which can be erroneously created by make from ./install.sh.
1896 # Reject install programs that cannot install multiple files.
1897 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1898 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1899 if test -z "$INSTALL"; then
1900 if test "${ac_cv_path_install+set}" = set; then
1901 $as_echo_n "(cached) " >&6
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir=.
1908 # Account for people who put trailing slashes in PATH elements.
1910 ./ | .// | /cC/* | \
1911 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1912 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1915 # OSF1 and SCO ODT 3.0 have their own names for install.
1916 # Don't use installbsd from OSF since it installs stuff as root
1918 for ac_prog in ginstall scoinst install; do
1919 for ac_exec_ext in '' $ac_executable_extensions; do
1920 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1921 if test $ac_prog = install &&
1922 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1923 # AIX install. It has an incompatible calling convention.
1925 elif test $ac_prog = install &&
1926 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1927 # program-specific install script used by HP pwplus--don't use.
1930 rm -rf conftest.one conftest.two conftest.dir
1931 echo one > conftest.one
1932 echo two > conftest.two
1934 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1935 test -s conftest.one && test -s conftest.two &&
1936 test -s conftest.dir/conftest.one &&
1937 test -s conftest.dir/conftest.two
1939 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1952 rm -rf conftest.one conftest.two conftest.dir
1955 if test "${ac_cv_path_install+set}" = set; then
1956 INSTALL=$ac_cv_path_install
1958 # As a last resort, use the slow shell script. Don't cache a
1959 # value for INSTALL within a source directory, because that will
1960 # break other packages using the cache if that directory is
1961 # removed, or if the value is a relative name.
1962 INSTALL=$ac_install_sh
1965 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1966 $as_echo "$INSTALL" >&6; }
1968 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1969 # It thinks the first close brace ends the variable substitution.
1970 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1972 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1974 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1976 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1977 $as_echo_n "checking whether build environment is sane... " >&6; }
1980 echo timestamp > conftest.file
1981 # Do `set' in a subshell so we don't clobber the current shell's
1982 # arguments. Must try -L first in case configure is actually a
1983 # symlink; some systems play weird games with the mod time of symlinks
1984 # (eg FreeBSD returns the mod time of the symlink's containing
1987 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1988 if test "$*" = "X"; then
1990 set X `ls -t $srcdir/configure conftest.file`
1993 if test "$*" != "X $srcdir/configure conftest.file" \
1994 && test "$*" != "X conftest.file $srcdir/configure"; then
1996 # If neither matched, then we have a broken ls. This can happen
1997 # if, for instance, CONFIG_SHELL is bash and it inherits a
1998 # broken ls alias from the environment. This has actually
1999 # happened. Such a system could not be considered "sane".
2000 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2001 alias in your environment" >&5
2002 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2003 alias in your environment" >&2;}
2004 { (exit 1); exit 1; }; }
2007 test "$2" = conftest.file
2013 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2014 Check your system clock" >&5
2015 $as_echo "$as_me: error: newly created file is older than distributed files!
2016 Check your system clock" >&2;}
2017 { (exit 1); exit 1; }; }
2019 { $as_echo "$as_me:$LINENO: result: yes" >&5
2020 $as_echo "yes" >&6; }
2021 test "$program_prefix" != NONE &&
2022 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2023 # Use a double $ so make ignores it.
2024 test "$program_suffix" != NONE &&
2025 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2026 # Double any \ or $.
2027 # By default was `s,x,x', remove it if useless.
2028 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2029 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2031 # expand $ac_aux_dir to an absolute path
2032 am_aux_dir=`cd $ac_aux_dir && pwd`
2034 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2035 # Use eval to expand $SHELL
2036 if eval "$MISSING --run true"; then
2037 am_missing_run="$MISSING --run "
2040 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2041 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2044 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2045 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2046 if test -z "$MKDIR_P"; then
2047 if test "${ac_cv_path_mkdir+set}" = set; then
2048 $as_echo_n "(cached) " >&6
2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2054 test -z "$as_dir" && as_dir=.
2055 for ac_prog in mkdir gmkdir; do
2056 for ac_exec_ext in '' $ac_executable_extensions; do
2057 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2058 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2059 'mkdir (GNU coreutils) '* | \
2060 'mkdir (coreutils) '* | \
2061 'mkdir (fileutils) '4.1*)
2062 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2072 if test "${ac_cv_path_mkdir+set}" = set; then
2073 MKDIR_P="$ac_cv_path_mkdir -p"
2075 # As a last resort, use the slow shell script. Don't cache a
2076 # value for MKDIR_P within a source directory, because that will
2077 # break other packages using the cache if that directory is
2078 # removed, or if the value is a relative name.
2079 test -d ./--version && rmdir ./--version
2080 MKDIR_P="$ac_install_sh -d"
2083 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2084 $as_echo "$MKDIR_P" >&6; }
2088 [\\/$]* | ?:[\\/]*) ;;
2089 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2092 for ac_prog in gawk mawk nawk awk
2094 # Extract the first word of "$ac_prog", so it can be a program name with args.
2095 set dummy $ac_prog; ac_word=$2
2096 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 $as_echo_n "checking for $ac_word... " >&6; }
2098 if test "${ac_cv_prog_AWK+set}" = set; then
2099 $as_echo_n "(cached) " >&6
2101 if test -n "$AWK"; then
2102 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 test -z "$as_dir" && as_dir=.
2109 for ac_exec_ext in '' $ac_executable_extensions; do
2110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2111 ac_cv_prog_AWK="$ac_prog"
2112 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 if test -n "$AWK"; then
2123 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2124 $as_echo "$AWK" >&6; }
2126 { $as_echo "$as_me:$LINENO: result: no" >&5
2127 $as_echo "no" >&6; }
2131 test -n "$AWK" && break
2134 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2135 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2137 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2138 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2139 $as_echo_n "(cached) " >&6
2141 cat >conftest.make <<\_ACEOF
2144 @echo '@@@%%%=$(MAKE)=@@@%%%'
2146 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2147 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2149 eval ac_cv_prog_make_${ac_make}_set=yes;;
2151 eval ac_cv_prog_make_${ac_make}_set=no;;
2155 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2156 { $as_echo "$as_me:$LINENO: result: yes" >&5
2157 $as_echo "yes" >&6; }
2160 { $as_echo "$as_me:$LINENO: result: no" >&5
2161 $as_echo "no" >&6; }
2162 SET_MAKE="MAKE=${MAKE-make}"
2165 rm -rf .tst 2>/dev/null
2166 mkdir .tst 2>/dev/null
2167 if test -d .tst; then
2172 rmdir .tst 2>/dev/null
2174 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2175 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2176 # is not polluted with repeated "-I."
2177 am__isrc=' -I$(srcdir)'
2178 # test to see if srcdir already configured
2179 if test -f $srcdir/config.status; then
2180 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2181 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2182 { (exit 1); exit 1; }; }
2186 # test whether we have cygpath
2187 if test -z "$CYGPATH_W"; then
2188 if (cygpath --version) >/dev/null 2>/dev/null; then
2189 CYGPATH_W='cygpath -w'
2196 # Define the identity of the package.
2197 PACKAGE=$PACKAGE_NAME
2198 VERSION=$PACKAGE_VERSION
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE "$PACKAGE"
2206 cat >>confdefs.h <<_ACEOF
2207 #define VERSION "$VERSION"
2210 # Some tools Automake needs.
2212 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2215 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2218 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2221 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2224 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2226 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2228 # Installed binaries are usually stripped using `strip' when the user
2229 # run `make install-strip'. However `strip' might not be the right
2230 # tool to use in cross-compilation environments, therefore Automake
2231 # will honor the `STRIP' environment variable to overrule this program.
2232 if test "$cross_compiling" != no; then
2233 if test -n "$ac_tool_prefix"; then
2234 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2235 set dummy ${ac_tool_prefix}strip; ac_word=$2
2236 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2237 $as_echo_n "checking for $ac_word... " >&6; }
2238 if test "${ac_cv_prog_STRIP+set}" = set; then
2239 $as_echo_n "(cached) " >&6
2241 if test -n "$STRIP"; then
2242 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2252 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 STRIP=$ac_cv_prog_STRIP
2262 if test -n "$STRIP"; then
2263 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2264 $as_echo "$STRIP" >&6; }
2266 { $as_echo "$as_me:$LINENO: result: no" >&5
2267 $as_echo "no" >&6; }
2272 if test -z "$ac_cv_prog_STRIP"; then
2274 # Extract the first word of "strip", so it can be a program name with args.
2275 set dummy strip; ac_word=$2
2276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 $as_echo_n "checking for $ac_word... " >&6; }
2278 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2279 $as_echo_n "(cached) " >&6
2281 if test -n "$ac_ct_STRIP"; then
2282 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir=.
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_ac_ct_STRIP="strip"
2292 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2302 if test -n "$ac_ct_STRIP"; then
2303 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2304 $as_echo "$ac_ct_STRIP" >&6; }
2306 { $as_echo "$as_me:$LINENO: result: no" >&5
2307 $as_echo "no" >&6; }
2310 if test "x$ac_ct_STRIP" = x; then
2313 case $cross_compiling:$ac_tool_warned in
2315 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2317 ac_tool_warned=yes ;;
2322 STRIP="$ac_cv_prog_STRIP"
2326 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2328 # We need awk for the "check" target. The system "awk" is bad on
2330 # Always define AMTAR for backward compatibility.
2332 AMTAR=${AMTAR-"${am_missing_run}tar"}
2334 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2340 if test "$enable_debug" = "yes"; then
2349 # Checks for programs.
2351 ac_cpp='$CXXCPP $CPPFLAGS'
2352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2355 if test -z "$CXX"; then
2356 if test -n "$CCC"; then
2359 if test -n "$ac_tool_prefix"; then
2360 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2362 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2363 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2364 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2365 $as_echo_n "checking for $ac_word... " >&6; }
2366 if test "${ac_cv_prog_CXX+set}" = set; then
2367 $as_echo_n "(cached) " >&6
2369 if test -n "$CXX"; then
2370 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir=.
2377 for ac_exec_ext in '' $ac_executable_extensions; do
2378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2379 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2380 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 if test -n "$CXX"; then
2391 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2392 $as_echo "$CXX" >&6; }
2394 { $as_echo "$as_me:$LINENO: result: no" >&5
2395 $as_echo "no" >&6; }
2399 test -n "$CXX" && break
2402 if test -z "$CXX"; then
2404 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2406 # Extract the first word of "$ac_prog", so it can be a program name with args.
2407 set dummy $ac_prog; ac_word=$2
2408 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2409 $as_echo_n "checking for $ac_word... " >&6; }
2410 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2411 $as_echo_n "(cached) " >&6
2413 if test -n "$ac_ct_CXX"; then
2414 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420 test -z "$as_dir" && as_dir=.
2421 for ac_exec_ext in '' $ac_executable_extensions; do
2422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2423 ac_cv_prog_ac_ct_CXX="$ac_prog"
2424 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2433 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2434 if test -n "$ac_ct_CXX"; then
2435 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2436 $as_echo "$ac_ct_CXX" >&6; }
2438 { $as_echo "$as_me:$LINENO: result: no" >&5
2439 $as_echo "no" >&6; }
2443 test -n "$ac_ct_CXX" && break
2446 if test "x$ac_ct_CXX" = x; then
2449 case $cross_compiling:$ac_tool_warned in
2451 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2453 ac_tool_warned=yes ;;
2461 # Provide some information about the compiler.
2462 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2465 { (ac_try="$ac_compiler --version >&5"
2467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2468 *) ac_try_echo=$ac_try;;
2470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2471 $as_echo "$ac_try_echo") >&5
2472 (eval "$ac_compiler --version >&5") 2>&5
2474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }
2476 { (ac_try="$ac_compiler -v >&5"
2478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2482 $as_echo "$ac_try_echo") >&5
2483 (eval "$ac_compiler -v >&5") 2>&5
2485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }
2487 { (ac_try="$ac_compiler -V >&5"
2489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2490 *) ac_try_echo=$ac_try;;
2492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2493 $as_echo "$ac_try_echo") >&5
2494 (eval "$ac_compiler -V >&5") 2>&5
2496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }
2499 cat >conftest.$ac_ext <<_ACEOF
2502 cat confdefs.h >>conftest.$ac_ext
2503 cat >>conftest.$ac_ext <<_ACEOF
2504 /* end confdefs.h. */
2514 ac_clean_files_save=$ac_clean_files
2515 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2516 # Try to create an executable without -o first, disregard a.out.
2517 # It will help us diagnose broken compilers, and finding out an intuition
2519 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2520 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2521 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2523 # The possible output files:
2524 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2527 for ac_file in $ac_files
2530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2531 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2536 if { (ac_try="$ac_link_default"
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2542 $as_echo "$ac_try_echo") >&5
2543 (eval "$ac_link_default") 2>&5
2545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; then
2547 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2548 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2549 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2550 # so that the user can short-circuit this test for compilers unknown to
2552 for ac_file in $ac_files ''
2554 test -f "$ac_file" || continue
2556 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2559 # We found the default executable, but exeext='' is most
2563 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2565 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2567 # We set ac_cv_exeext here because the later test for it is not
2568 # safe: cross compilers may not add the suffix if given an `-o'
2569 # argument, so we may need to know it at that point already.
2570 # Even if this section looks crufty: it has the advantage of
2577 test "$ac_cv_exeext" = no && ac_cv_exeext=
2583 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2584 $as_echo "$ac_file" >&6; }
2585 if test -z "$ac_file"; then
2586 $as_echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2589 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2591 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2592 See \`config.log' for more details." >&5
2593 $as_echo "$as_me: error: C++ compiler cannot create executables
2594 See \`config.log' for more details." >&2;}
2595 { (exit 77); exit 77; }; }; }
2598 ac_exeext=$ac_cv_exeext
2600 # Check that the compiler produces executables we can run. If not, either
2601 # the compiler is broken, or we cross compile.
2602 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2603 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2604 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2605 # If not cross compiling, check that we can run a simple program.
2606 if test "$cross_compiling" != yes; then
2607 if { ac_try='./$ac_file'
2608 { (case "(($ac_try" in
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2613 $as_echo "$ac_try_echo") >&5
2614 (eval "$ac_try") 2>&5
2616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; }; then
2620 if test "$cross_compiling" = maybe; then
2623 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2625 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2626 If you meant to cross compile, use \`--host'.
2627 See \`config.log' for more details." >&5
2628 $as_echo "$as_me: error: cannot run C++ compiled programs.
2629 If you meant to cross compile, use \`--host'.
2630 See \`config.log' for more details." >&2;}
2631 { (exit 1); exit 1; }; }; }
2635 { $as_echo "$as_me:$LINENO: result: yes" >&5
2636 $as_echo "yes" >&6; }
2638 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2639 ac_clean_files=$ac_clean_files_save
2640 # Check that the compiler produces executables we can run. If not, either
2641 # the compiler is broken, or we cross compile.
2642 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2643 $as_echo_n "checking whether we are cross compiling... " >&6; }
2644 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2645 $as_echo "$cross_compiling" >&6; }
2647 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2648 $as_echo_n "checking for suffix of executables... " >&6; }
2649 if { (ac_try="$ac_link"
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2655 $as_echo "$ac_try_echo") >&5
2656 (eval "$ac_link") 2>&5
2658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; then
2660 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2661 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2662 # work properly (i.e., refer to `conftest.exe'), while it won't with
2664 for ac_file in conftest.exe conftest conftest.*; do
2665 test -f "$ac_file" || continue
2667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2668 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2674 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2676 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2677 See \`config.log' for more details." >&5
2678 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2679 See \`config.log' for more details." >&2;}
2680 { (exit 1); exit 1; }; }; }
2683 rm -f conftest$ac_cv_exeext
2684 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2685 $as_echo "$ac_cv_exeext" >&6; }
2687 rm -f conftest.$ac_ext
2688 EXEEXT=$ac_cv_exeext
2690 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2691 $as_echo_n "checking for suffix of object files... " >&6; }
2692 if test "${ac_cv_objext+set}" = set; then
2693 $as_echo_n "(cached) " >&6
2695 cat >conftest.$ac_ext <<_ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2710 rm -f conftest.o conftest.obj
2711 if { (ac_try="$ac_compile"
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2717 $as_echo "$ac_try_echo") >&5
2718 (eval "$ac_compile") 2>&5
2720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; then
2722 for ac_file in conftest.o conftest.obj conftest.*; do
2723 test -f "$ac_file" || continue;
2725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2726 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2731 $as_echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2736 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2737 See \`config.log' for more details." >&5
2738 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2739 See \`config.log' for more details." >&2;}
2740 { (exit 1); exit 1; }; }; }
2743 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2745 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2746 $as_echo "$ac_cv_objext" >&6; }
2747 OBJEXT=$ac_cv_objext
2749 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2750 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2751 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2752 $as_echo_n "(cached) " >&6
2754 cat >conftest.$ac_ext <<_ACEOF
2757 cat confdefs.h >>conftest.$ac_ext
2758 cat >>conftest.$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2772 rm -f conftest.$ac_objext
2773 if { (ac_try="$ac_compile"
2775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2776 *) ac_try_echo=$ac_try;;
2778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2779 $as_echo "$ac_try_echo") >&5
2780 (eval "$ac_compile") 2>conftest.er1
2782 grep -v '^ *+' conftest.er1 >conftest.err
2784 cat conftest.err >&5
2785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } && {
2787 test -z "$ac_cxx_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest.$ac_objext; then
2792 $as_echo "$as_me: failed program was:" >&5
2793 sed 's/^/| /' conftest.$ac_ext >&5
2798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2799 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2802 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2803 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2804 if test $ac_compiler_gnu = yes; then
2809 ac_test_CXXFLAGS=${CXXFLAGS+set}
2810 ac_save_CXXFLAGS=$CXXFLAGS
2811 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2812 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2813 if test "${ac_cv_prog_cxx_g+set}" = set; then
2814 $as_echo_n "(cached) " >&6
2816 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2817 ac_cxx_werror_flag=yes
2820 cat >conftest.$ac_ext <<_ACEOF
2823 cat confdefs.h >>conftest.$ac_ext
2824 cat >>conftest.$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2835 rm -f conftest.$ac_objext
2836 if { (ac_try="$ac_compile"
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2842 $as_echo "$ac_try_echo") >&5
2843 (eval "$ac_compile") 2>conftest.er1
2845 grep -v '^ *+' conftest.er1 >conftest.err
2847 cat conftest.err >&5
2848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } && {
2850 test -z "$ac_cxx_werror_flag" ||
2851 test ! -s conftest.err
2852 } && test -s conftest.$ac_objext; then
2853 ac_cv_prog_cxx_g=yes
2855 $as_echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2859 cat >conftest.$ac_ext <<_ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 cat >>conftest.$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2874 rm -f conftest.$ac_objext
2875 if { (ac_try="$ac_compile"
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2881 $as_echo "$ac_try_echo") >&5
2882 (eval "$ac_compile") 2>conftest.er1
2884 grep -v '^ *+' conftest.er1 >conftest.err
2886 cat conftest.err >&5
2887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } && {
2889 test -z "$ac_cxx_werror_flag" ||
2890 test ! -s conftest.err
2891 } && test -s conftest.$ac_objext; then
2894 $as_echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2897 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2899 cat >conftest.$ac_ext <<_ACEOF
2902 cat confdefs.h >>conftest.$ac_ext
2903 cat >>conftest.$ac_ext <<_ACEOF
2904 /* end confdefs.h. */
2914 rm -f conftest.$ac_objext
2915 if { (ac_try="$ac_compile"
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2921 $as_echo "$ac_try_echo") >&5
2922 (eval "$ac_compile") 2>conftest.er1
2924 grep -v '^ *+' conftest.er1 >conftest.err
2926 cat conftest.err >&5
2927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); } && {
2929 test -z "$ac_cxx_werror_flag" ||
2930 test ! -s conftest.err
2931 } && test -s conftest.$ac_objext; then
2932 ac_cv_prog_cxx_g=yes
2934 $as_echo "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.$ac_ext >&5
2940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2949 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2950 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2951 if test "$ac_test_CXXFLAGS" = set; then
2952 CXXFLAGS=$ac_save_CXXFLAGS
2953 elif test $ac_cv_prog_cxx_g = yes; then
2954 if test "$GXX" = yes; then
2960 if test "$GXX" = yes; then
2967 ac_cpp='$CPP $CPPFLAGS'
2968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2971 DEPDIR="${am__leading_dot}deps"
2973 ac_config_commands="$ac_config_commands depfiles"
2976 am_make=${MAKE-make}
2977 cat > confinc << 'END'
2982 # If we don't find an include directive, just comment out the code.
2983 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2984 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2988 # First try GNU make style include.
2989 echo "include confinc" > confmf
2990 # We grep out `Entering directory' and `Leaving directory'
2991 # messages which can occur if `w' ends up in MAKEFLAGS.
2992 # In particular we don't look at `^make:' because GNU make might
2993 # be invoked under some other name (usually "gmake"), in which
2994 # case it prints its new name instead of `make'.
2995 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3000 # Now try BSD make style include.
3001 if test "$am__include" = "#"; then
3002 echo '.include "confinc"' > confmf
3003 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3004 am__include=.include
3011 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3012 $as_echo "$_am_result" >&6; }
3013 rm -f confinc confmf
3015 # Check whether --enable-dependency-tracking was given.
3016 if test "${enable_dependency_tracking+set}" = set; then
3017 enableval=$enable_dependency_tracking;
3020 if test "x$enable_dependency_tracking" != xno; then
3021 am_depcomp="$ac_aux_dir/depcomp"
3024 if test "x$enable_dependency_tracking" != xno; then
3034 depcc="$CXX" am_compiler_list=
3036 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3037 $as_echo_n "checking dependency style of $depcc... " >&6; }
3038 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3039 $as_echo_n "(cached) " >&6
3041 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3042 # We make a subdir and do the tests there. Otherwise we can end up
3043 # making bogus files that we don't know about and never remove. For
3044 # instance it was reported that on HP-UX the gcc test will end up
3045 # making a dummy file named `D' -- because `-MD' means `put the output
3048 # Copy depcomp to subdir because otherwise we won't find it if we're
3049 # using a relative directory.
3050 cp "$am_depcomp" conftest.dir
3052 # We will build objects and dependencies in a subdirectory because
3053 # it helps to detect inapplicable dependency modes. For instance
3054 # both Tru64's cc and ICC support -MD to output dependencies as a
3055 # side effect of compilation, but ICC will put the dependencies in
3056 # the current directory while Tru64 will put them in the object
3060 am_cv_CXX_dependencies_compiler_type=none
3061 if test "$am_compiler_list" = ""; then
3062 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3064 for depmode in $am_compiler_list; do
3065 # Setup a source with many dependencies, because some compilers
3066 # like to wrap large dependency lists on column 80 (with \), and
3067 # we should not choose a depcomp mode which is confused by this.
3069 # We need to recreate these files for each test, as the compiler may
3070 # overwrite some of them when testing with obscure command lines.
3071 # This happens at least with the AIX C compiler.
3073 for i in 1 2 3 4 5 6; do
3074 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3075 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3076 # Solaris 8's {/usr,}/bin/sh.
3077 touch sub/conftst$i.h
3079 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3083 # after this tag, mechanisms are not by side-effect, so they'll
3084 # only be used when explicitly requested
3085 if test "x$enable_dependency_tracking" = xyes; then
3093 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3094 # mode. It turns out that the SunPro C++ compiler does not properly
3095 # handle `-M -o', and we need to detect this.
3096 if depmode=$depmode \
3097 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3098 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3099 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3100 >/dev/null 2>conftest.err &&
3101 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3102 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3103 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3104 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3105 # icc doesn't choke on unknown options, it will just issue warnings
3106 # or remarks (even with -Werror). So we grep stderr for any message
3107 # that says an option was ignored or not supported.
3108 # When given -MP, icc 7.0 and 7.1 complain thusly:
3109 # icc: Command line warning: ignoring option '-M'; no argument required
3110 # The diagnosis changed in icc 8.0:
3111 # icc: Command line remark: option '-MP' not supported
3112 if (grep 'ignoring option' conftest.err ||
3113 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3114 am_cv_CXX_dependencies_compiler_type=$depmode
3123 am_cv_CXX_dependencies_compiler_type=none
3127 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3128 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3129 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3132 test "x$enable_dependency_tracking" != xno \
3133 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3134 am__fastdepCXX_TRUE=
3135 am__fastdepCXX_FALSE='#'
3137 am__fastdepCXX_TRUE='#'
3138 am__fastdepCXX_FALSE=
3142 # Find a good install program. We prefer a C program (faster),
3143 # so one script is as good as another. But avoid the broken or
3144 # incompatible versions:
3145 # SysV /etc/install, /usr/sbin/install
3146 # SunOS /usr/etc/install
3147 # IRIX /sbin/install
3149 # AmigaOS /C/install, which installs bootblocks on floppy discs
3150 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3151 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3152 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3153 # OS/2's system install, which has a completely different semantic
3154 # ./install, which can be erroneously created by make from ./install.sh.
3155 # Reject install programs that cannot install multiple files.
3156 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3157 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3158 if test -z "$INSTALL"; then
3159 if test "${ac_cv_path_install+set}" = set; then
3160 $as_echo_n "(cached) " >&6
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir=.
3167 # Account for people who put trailing slashes in PATH elements.
3169 ./ | .// | /cC/* | \
3170 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3171 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3174 # OSF1 and SCO ODT 3.0 have their own names for install.
3175 # Don't use installbsd from OSF since it installs stuff as root
3177 for ac_prog in ginstall scoinst install; do
3178 for ac_exec_ext in '' $ac_executable_extensions; do
3179 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3180 if test $ac_prog = install &&
3181 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3182 # AIX install. It has an incompatible calling convention.
3184 elif test $ac_prog = install &&
3185 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3186 # program-specific install script used by HP pwplus--don't use.
3189 rm -rf conftest.one conftest.two conftest.dir
3190 echo one > conftest.one
3191 echo two > conftest.two
3193 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3194 test -s conftest.one && test -s conftest.two &&
3195 test -s conftest.dir/conftest.one &&
3196 test -s conftest.dir/conftest.two
3198 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3211 rm -rf conftest.one conftest.two conftest.dir
3214 if test "${ac_cv_path_install+set}" = set; then
3215 INSTALL=$ac_cv_path_install
3217 # As a last resort, use the slow shell script. Don't cache a
3218 # value for INSTALL within a source directory, because that will
3219 # break other packages using the cache if that directory is
3220 # removed, or if the value is a relative name.
3221 INSTALL=$ac_install_sh
3224 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3225 $as_echo "$INSTALL" >&6; }
3227 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3228 # It thinks the first close brace ends the variable substitution.
3229 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3231 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3233 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3235 if test -n "$ac_tool_prefix"; then
3236 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3237 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then
3241 $as_echo_n "(cached) " >&6
3243 if test -n "$RANLIB"; then
3244 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
3254 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3263 RANLIB=$ac_cv_prog_RANLIB
3264 if test -n "$RANLIB"; then
3265 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3266 $as_echo "$RANLIB" >&6; }
3268 { $as_echo "$as_me:$LINENO: result: no" >&5
3269 $as_echo "no" >&6; }
3274 if test -z "$ac_cv_prog_RANLIB"; then
3275 ac_ct_RANLIB=$RANLIB
3276 # Extract the first word of "ranlib", so it can be a program name with args.
3277 set dummy ranlib; 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_RANLIB+set}" = set; then
3281 $as_echo_n "(cached) " >&6
3283 if test -n "$ac_ct_RANLIB"; then
3284 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib"
3294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3304 if test -n "$ac_ct_RANLIB"; then
3305 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3306 $as_echo "$ac_ct_RANLIB" >&6; }
3308 { $as_echo "$as_me:$LINENO: result: no" >&5
3309 $as_echo "no" >&6; }
3312 if test "x$ac_ct_RANLIB" = 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 ;;
3321 RANLIB=$ac_ct_RANLIB
3324 RANLIB="$ac_cv_prog_RANLIB"
3328 # Checks for libraries.
3330 ac_cpp='$CPP $CPPFLAGS'
3331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3334 if test -n "$ac_tool_prefix"; then
3335 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3336 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3337 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3338 $as_echo_n "checking for $ac_word... " >&6; }
3339 if test "${ac_cv_prog_CC+set}" = set; then
3340 $as_echo_n "(cached) " >&6
3342 if test -n "$CC"; then
3343 ac_cv_prog_CC="$CC" # Let the user override the test.
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349 test -z "$as_dir" && as_dir=.
3350 for ac_exec_ext in '' $ac_executable_extensions; do
3351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3352 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3353 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 if test -n "$CC"; then
3364 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3365 $as_echo "$CC" >&6; }
3367 { $as_echo "$as_me:$LINENO: result: no" >&5
3368 $as_echo "no" >&6; }
3373 if test -z "$ac_cv_prog_CC"; then
3375 # Extract the first word of "gcc", so it can be a program name with args.
3376 set dummy gcc; ac_word=$2
3377 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3378 $as_echo_n "checking for $ac_word... " >&6; }
3379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3380 $as_echo_n "(cached) " >&6
3382 if test -n "$ac_ct_CC"; then
3383 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir=.
3390 for ac_exec_ext in '' $ac_executable_extensions; do
3391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3392 ac_cv_prog_ac_ct_CC="gcc"
3393 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3403 if test -n "$ac_ct_CC"; then
3404 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3405 $as_echo "$ac_ct_CC" >&6; }
3407 { $as_echo "$as_me:$LINENO: result: no" >&5
3408 $as_echo "no" >&6; }
3411 if test "x$ac_ct_CC" = x; then
3414 case $cross_compiling:$ac_tool_warned in
3416 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3418 ac_tool_warned=yes ;;
3426 if test -z "$CC"; then
3427 if test -n "$ac_tool_prefix"; then
3428 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3429 set dummy ${ac_tool_prefix}cc; 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}cc"
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; }
3467 if test -z "$CC"; then
3468 # Extract the first word of "cc", so it can be a program name with args.
3469 set dummy cc; ac_word=$2
3470 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3471 $as_echo_n "checking for $ac_word... " >&6; }
3472 if test "${ac_cv_prog_CC+set}" = set; then
3473 $as_echo_n "(cached) " >&6
3475 if test -n "$CC"; then
3476 ac_cv_prog_CC="$CC" # Let the user override the test.
3479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 test -z "$as_dir" && as_dir=.
3484 for ac_exec_ext in '' $ac_executable_extensions; do
3485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3486 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3487 ac_prog_rejected=yes
3491 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3498 if test $ac_prog_rejected = yes; then
3499 # We found a bogon in the path, so make sure we never use it.
3500 set dummy $ac_cv_prog_CC
3502 if test $# != 0; then
3503 # We chose a different compiler from the bogus one.
3504 # However, it has the same basename, so the bogon will be chosen
3505 # first if we set CC to just the basename; use the full file name.
3507 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3513 if test -n "$CC"; then
3514 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3515 $as_echo "$CC" >&6; }
3517 { $as_echo "$as_me:$LINENO: result: no" >&5
3518 $as_echo "no" >&6; }
3523 if test -z "$CC"; then
3524 if test -n "$ac_tool_prefix"; then
3525 for ac_prog in cl.exe
3527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3529 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3530 $as_echo_n "checking for $ac_word... " >&6; }
3531 if test "${ac_cv_prog_CC+set}" = set; then
3532 $as_echo_n "(cached) " >&6
3534 if test -n "$CC"; then
3535 ac_cv_prog_CC="$CC" # Let the user override the test.
3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 test -z "$as_dir" && as_dir=.
3542 for ac_exec_ext in '' $ac_executable_extensions; do
3543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3544 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3545 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3555 if test -n "$CC"; then
3556 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3557 $as_echo "$CC" >&6; }
3559 { $as_echo "$as_me:$LINENO: result: no" >&5
3560 $as_echo "no" >&6; }
3564 test -n "$CC" && break
3567 if test -z "$CC"; then
3569 for ac_prog in cl.exe
3571 # Extract the first word of "$ac_prog", so it can be a program name with args.
3572 set dummy $ac_prog; ac_word=$2
3573 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3574 $as_echo_n "checking for $ac_word... " >&6; }
3575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3576 $as_echo_n "(cached) " >&6
3578 if test -n "$ac_ct_CC"; then
3579 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585 test -z "$as_dir" && as_dir=.
3586 for ac_exec_ext in '' $ac_executable_extensions; do
3587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3588 ac_cv_prog_ac_ct_CC="$ac_prog"
3589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3599 if test -n "$ac_ct_CC"; then
3600 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3601 $as_echo "$ac_ct_CC" >&6; }
3603 { $as_echo "$as_me:$LINENO: result: no" >&5
3604 $as_echo "no" >&6; }
3608 test -n "$ac_ct_CC" && break
3611 if test "x$ac_ct_CC" = x; then
3614 case $cross_compiling:$ac_tool_warned in
3616 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3618 ac_tool_warned=yes ;;
3627 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3630 See \`config.log' for more details." >&5
3631 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3632 See \`config.log' for more details." >&2;}
3633 { (exit 1); exit 1; }; }; }
3635 # Provide some information about the compiler.
3636 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3639 { (ac_try="$ac_compiler --version >&5"
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3645 $as_echo "$ac_try_echo") >&5
3646 (eval "$ac_compiler --version >&5") 2>&5
3648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); }
3650 { (ac_try="$ac_compiler -v >&5"
3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3656 $as_echo "$ac_try_echo") >&5
3657 (eval "$ac_compiler -v >&5") 2>&5
3659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }
3661 { (ac_try="$ac_compiler -V >&5"
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_compiler -V >&5") 2>&5
3670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }
3673 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3674 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3675 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3676 $as_echo_n "(cached) " >&6
3678 cat >conftest.$ac_ext <<_ACEOF
3681 cat confdefs.h >>conftest.$ac_ext
3682 cat >>conftest.$ac_ext <<_ACEOF
3683 /* end confdefs.h. */
3696 rm -f conftest.$ac_objext
3697 if { (ac_try="$ac_compile"
3699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700 *) ac_try_echo=$ac_try;;
3702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3703 $as_echo "$ac_try_echo") >&5
3704 (eval "$ac_compile") 2>conftest.er1
3706 grep -v '^ *+' conftest.er1 >conftest.err
3708 cat conftest.err >&5
3709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); } && {
3711 test -z "$ac_c_werror_flag" ||
3712 test ! -s conftest.err
3713 } && test -s conftest.$ac_objext; then
3716 $as_echo "$as_me: failed program was:" >&5
3717 sed 's/^/| /' conftest.$ac_ext >&5
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3726 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3727 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3728 if test $ac_compiler_gnu = yes; then
3733 ac_test_CFLAGS=${CFLAGS+set}
3734 ac_save_CFLAGS=$CFLAGS
3735 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3736 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3737 if test "${ac_cv_prog_cc_g+set}" = set; then
3738 $as_echo_n "(cached) " >&6
3740 ac_save_c_werror_flag=$ac_c_werror_flag
3741 ac_c_werror_flag=yes
3744 cat >conftest.$ac_ext <<_ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3759 rm -f conftest.$ac_objext
3760 if { (ac_try="$ac_compile"
3762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3763 *) ac_try_echo=$ac_try;;
3765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3766 $as_echo "$ac_try_echo") >&5
3767 (eval "$ac_compile") 2>conftest.er1
3769 grep -v '^ *+' conftest.er1 >conftest.err
3771 cat conftest.err >&5
3772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); } && {
3774 test -z "$ac_c_werror_flag" ||
3775 test ! -s conftest.err
3776 } && test -s conftest.$ac_objext; then
3779 $as_echo "$as_me: failed program was:" >&5
3780 sed 's/^/| /' conftest.$ac_ext >&5
3783 cat >conftest.$ac_ext <<_ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3798 rm -f conftest.$ac_objext
3799 if { (ac_try="$ac_compile"
3801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3802 *) ac_try_echo=$ac_try;;
3804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3805 $as_echo "$ac_try_echo") >&5
3806 (eval "$ac_compile") 2>conftest.er1
3808 grep -v '^ *+' conftest.er1 >conftest.err
3810 cat conftest.err >&5
3811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); } && {
3813 test -z "$ac_c_werror_flag" ||
3814 test ! -s conftest.err
3815 } && test -s conftest.$ac_objext; then
3818 $as_echo "$as_me: failed program was:" >&5
3819 sed 's/^/| /' conftest.$ac_ext >&5
3821 ac_c_werror_flag=$ac_save_c_werror_flag
3823 cat >conftest.$ac_ext <<_ACEOF
3826 cat confdefs.h >>conftest.$ac_ext
3827 cat >>conftest.$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3838 rm -f conftest.$ac_objext
3839 if { (ac_try="$ac_compile"
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3845 $as_echo "$ac_try_echo") >&5
3846 (eval "$ac_compile") 2>conftest.er1
3848 grep -v '^ *+' conftest.er1 >conftest.err
3850 cat conftest.err >&5
3851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } && {
3853 test -z "$ac_c_werror_flag" ||
3854 test ! -s conftest.err
3855 } && test -s conftest.$ac_objext; then
3858 $as_echo "$as_me: failed program was:" >&5
3859 sed 's/^/| /' conftest.$ac_ext >&5
3864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3871 ac_c_werror_flag=$ac_save_c_werror_flag
3873 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3874 $as_echo "$ac_cv_prog_cc_g" >&6; }
3875 if test "$ac_test_CFLAGS" = set; then
3876 CFLAGS=$ac_save_CFLAGS
3877 elif test $ac_cv_prog_cc_g = yes; then
3878 if test "$GCC" = yes; then
3884 if test "$GCC" = yes; then
3890 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3891 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3892 if test "${ac_cv_prog_cc_c89+set}" = set; then
3893 $as_echo_n "(cached) " >&6
3895 ac_cv_prog_cc_c89=no
3897 cat >conftest.$ac_ext <<_ACEOF
3900 cat confdefs.h >>conftest.$ac_ext
3901 cat >>conftest.$ac_ext <<_ACEOF
3902 /* end confdefs.h. */
3905 #include <sys/types.h>
3906 #include <sys/stat.h>
3907 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3908 struct buf { int x; };
3909 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3910 static char *e (p, i)
3916 static char *f (char * (*g) (char **, int), char **p, ...)
3921 s = g (p, va_arg (v,int));
3926 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3927 function prototypes and stuff, but not '\xHH' hex character constants.
3928 These don't provoke an error unfortunately, instead are silently treated
3929 as 'x'. The following induces an error, until -std is added to get
3930 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3931 array size at least. It's necessary to write '\x00'==0 to get something
3932 that's true only with -std. */
3933 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3935 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3936 inside strings and character constants. */
3938 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3940 int test (int i, double x);
3941 struct s1 {int (*f) (int a);};
3942 struct s2 {int (*f) (double a);};
3943 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3949 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3954 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3955 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3957 CC="$ac_save_CC $ac_arg"
3958 rm -f conftest.$ac_objext
3959 if { (ac_try="$ac_compile"
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3965 $as_echo "$ac_try_echo") >&5
3966 (eval "$ac_compile") 2>conftest.er1
3968 grep -v '^ *+' conftest.er1 >conftest.err
3970 cat conftest.err >&5
3971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } && {
3973 test -z "$ac_c_werror_flag" ||
3974 test ! -s conftest.err
3975 } && test -s conftest.$ac_objext; then
3976 ac_cv_prog_cc_c89=$ac_arg
3978 $as_echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3984 rm -f core conftest.err conftest.$ac_objext
3985 test "x$ac_cv_prog_cc_c89" != "xno" && break
3987 rm -f conftest.$ac_ext
3992 case "x$ac_cv_prog_cc_c89" in
3994 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3995 $as_echo "none needed" >&6; } ;;
3997 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3998 $as_echo "unsupported" >&6; } ;;
4000 CC="$CC $ac_cv_prog_cc_c89"
4001 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4002 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4007 ac_cpp='$CPP $CPPFLAGS'
4008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4012 depcc="$CC" am_compiler_list=
4014 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4015 $as_echo_n "checking dependency style of $depcc... " >&6; }
4016 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4017 $as_echo_n "(cached) " >&6
4019 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4020 # We make a subdir and do the tests there. Otherwise we can end up
4021 # making bogus files that we don't know about and never remove. For
4022 # instance it was reported that on HP-UX the gcc test will end up
4023 # making a dummy file named `D' -- because `-MD' means `put the output
4026 # Copy depcomp to subdir because otherwise we won't find it if we're
4027 # using a relative directory.
4028 cp "$am_depcomp" conftest.dir
4030 # We will build objects and dependencies in a subdirectory because
4031 # it helps to detect inapplicable dependency modes. For instance
4032 # both Tru64's cc and ICC support -MD to output dependencies as a
4033 # side effect of compilation, but ICC will put the dependencies in
4034 # the current directory while Tru64 will put them in the object
4038 am_cv_CC_dependencies_compiler_type=none
4039 if test "$am_compiler_list" = ""; then
4040 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4042 for depmode in $am_compiler_list; do
4043 # Setup a source with many dependencies, because some compilers
4044 # like to wrap large dependency lists on column 80 (with \), and
4045 # we should not choose a depcomp mode which is confused by this.
4047 # We need to recreate these files for each test, as the compiler may
4048 # overwrite some of them when testing with obscure command lines.
4049 # This happens at least with the AIX C compiler.
4051 for i in 1 2 3 4 5 6; do
4052 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4053 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4054 # Solaris 8's {/usr,}/bin/sh.
4055 touch sub/conftst$i.h
4057 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4061 # after this tag, mechanisms are not by side-effect, so they'll
4062 # only be used when explicitly requested
4063 if test "x$enable_dependency_tracking" = xyes; then
4071 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4072 # mode. It turns out that the SunPro C++ compiler does not properly
4073 # handle `-M -o', and we need to detect this.
4074 if depmode=$depmode \
4075 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4076 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4077 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4078 >/dev/null 2>conftest.err &&
4079 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4080 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4081 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4082 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4083 # icc doesn't choke on unknown options, it will just issue warnings
4084 # or remarks (even with -Werror). So we grep stderr for any message
4085 # that says an option was ignored or not supported.
4086 # When given -MP, icc 7.0 and 7.1 complain thusly:
4087 # icc: Command line warning: ignoring option '-M'; no argument required
4088 # The diagnosis changed in icc 8.0:
4089 # icc: Command line remark: option '-MP' not supported
4090 if (grep 'ignoring option' conftest.err ||
4091 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4092 am_cv_CC_dependencies_compiler_type=$depmode
4101 am_cv_CC_dependencies_compiler_type=none
4105 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4106 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4107 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4110 test "x$enable_dependency_tracking" != xno \
4111 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4113 am__fastdepCC_FALSE='#'
4115 am__fastdepCC_TRUE='#'
4116 am__fastdepCC_FALSE=
4122 { $as_echo "$as_me:$LINENO: checking for -lboost_filesystem in -lboost_filesystem" >&5
4123 $as_echo_n "checking for -lboost_filesystem in -lboost_filesystem... " >&6; }
4124 if test "${ac_cv_lib_boost_filesystem__lboost_filesystem+set}" = set; then
4125 $as_echo_n "(cached) " >&6
4127 ac_check_lib_save_LIBS=$LIBS
4128 LIBS="-lboost_filesystem $LIBS"
4129 cat >conftest.$ac_ext <<_ACEOF
4132 cat confdefs.h >>conftest.$ac_ext
4133 cat >>conftest.$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4136 /* Override any GCC internal prototype to avoid an error.
4137 Use char because int might match the return type of a GCC
4138 builtin and then its argument prototype would still apply. */
4142 char -lboost_filesystem ();
4146 return -lboost_filesystem ();
4151 rm -f conftest.$ac_objext conftest$ac_exeext
4152 if { (ac_try="$ac_link"
4154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155 *) ac_try_echo=$ac_try;;
4157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4158 $as_echo "$ac_try_echo") >&5
4159 (eval "$ac_link") 2>conftest.er1
4161 grep -v '^ *+' conftest.er1 >conftest.err
4163 cat conftest.err >&5
4164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } && {
4166 test -z "$ac_c_werror_flag" ||
4167 test ! -s conftest.err
4168 } && test -s conftest$ac_exeext && {
4169 test "$cross_compiling" = yes ||
4170 $as_test_x conftest$ac_exeext
4172 ac_cv_lib_boost_filesystem__lboost_filesystem=yes
4174 $as_echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.$ac_ext >&5
4177 ac_cv_lib_boost_filesystem__lboost_filesystem=no
4180 rm -rf conftest.dSYM
4181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4182 conftest$ac_exeext conftest.$ac_ext
4183 LIBS=$ac_check_lib_save_LIBS
4185 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_boost_filesystem__lboost_filesystem" >&5
4186 $as_echo "$ac_cv_lib_boost_filesystem__lboost_filesystem" >&6; }
4187 if test "x$ac_cv_lib_boost_filesystem__lboost_filesystem" = x""yes; then
4188 cat >>confdefs.h <<_ACEOF
4189 #define HAVE_LIBBOOST_FILESYSTEM 1
4192 LIBS="-lboost_filesystem $LIBS"
4197 # Checks for header files.
4199 ac_cpp='$CPP $CPPFLAGS'
4200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4203 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4204 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4205 # On Suns, sometimes $CPP names a directory.
4206 if test -n "$CPP" && test -d "$CPP"; then
4209 if test -z "$CPP"; then
4210 if test "${ac_cv_prog_CPP+set}" = set; then
4211 $as_echo_n "(cached) " >&6
4213 # Double quotes because CPP needs to be expanded
4214 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4217 for ac_c_preproc_warn_flag in '' yes
4219 # Use a header file that comes with gcc, so configuring glibc
4220 # with a fresh cross-compiler works.
4221 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4222 # <limits.h> exists even on freestanding compilers.
4223 # On the NeXT, cc -E runs the code through the compiler's parser,
4224 # not just through cpp. "Syntax error" is here to catch this case.
4225 cat >conftest.$ac_ext <<_ACEOF
4228 cat confdefs.h >>conftest.$ac_ext
4229 cat >>conftest.$ac_ext <<_ACEOF
4230 /* end confdefs.h. */
4232 # include <limits.h>
4234 # include <assert.h>
4238 if { (ac_try="$ac_cpp conftest.$ac_ext"
4240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4241 *) ac_try_echo=$ac_try;;
4243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4244 $as_echo "$ac_try_echo") >&5
4245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } >/dev/null && {
4252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4253 test ! -s conftest.err
4257 $as_echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.$ac_ext >&5
4260 # Broken: fails on valid input.
4264 rm -f conftest.err conftest.$ac_ext
4266 # OK, works on sane cases. Now check whether nonexistent headers
4267 # can be detected and how.
4268 cat >conftest.$ac_ext <<_ACEOF
4271 cat confdefs.h >>conftest.$ac_ext
4272 cat >>conftest.$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4274 #include <ac_nonexistent.h>
4276 if { (ac_try="$ac_cpp conftest.$ac_ext"
4278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4279 *) ac_try_echo=$ac_try;;
4281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4282 $as_echo "$ac_try_echo") >&5
4283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4285 grep -v '^ *+' conftest.er1 >conftest.err
4287 cat conftest.err >&5
4288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); } >/dev/null && {
4290 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4291 test ! -s conftest.err
4293 # Broken: success on invalid input.
4296 $as_echo "$as_me: failed program was:" >&5
4297 sed 's/^/| /' conftest.$ac_ext >&5
4299 # Passes both tests.
4304 rm -f conftest.err conftest.$ac_ext
4307 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4308 rm -f conftest.err conftest.$ac_ext
4309 if $ac_preproc_ok; then
4321 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4322 $as_echo "$CPP" >&6; }
4324 for ac_c_preproc_warn_flag in '' yes
4326 # Use a header file that comes with gcc, so configuring glibc
4327 # with a fresh cross-compiler works.
4328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4329 # <limits.h> exists even on freestanding compilers.
4330 # On the NeXT, cc -E runs the code through the compiler's parser,
4331 # not just through cpp. "Syntax error" is here to catch this case.
4332 cat >conftest.$ac_ext <<_ACEOF
4335 cat confdefs.h >>conftest.$ac_ext
4336 cat >>conftest.$ac_ext <<_ACEOF
4337 /* end confdefs.h. */
4339 # include <limits.h>
4341 # include <assert.h>
4345 if { (ac_try="$ac_cpp conftest.$ac_ext"
4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4351 $as_echo "$ac_try_echo") >&5
4352 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4354 grep -v '^ *+' conftest.er1 >conftest.err
4356 cat conftest.err >&5
4357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } >/dev/null && {
4359 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4360 test ! -s conftest.err
4364 $as_echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.$ac_ext >&5
4367 # Broken: fails on valid input.
4371 rm -f conftest.err conftest.$ac_ext
4373 # OK, works on sane cases. Now check whether nonexistent headers
4374 # can be detected and how.
4375 cat >conftest.$ac_ext <<_ACEOF
4378 cat confdefs.h >>conftest.$ac_ext
4379 cat >>conftest.$ac_ext <<_ACEOF
4380 /* end confdefs.h. */
4381 #include <ac_nonexistent.h>
4383 if { (ac_try="$ac_cpp conftest.$ac_ext"
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4389 $as_echo "$ac_try_echo") >&5
4390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4392 grep -v '^ *+' conftest.er1 >conftest.err
4394 cat conftest.err >&5
4395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } >/dev/null && {
4397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4398 test ! -s conftest.err
4400 # Broken: success on invalid input.
4403 $as_echo "$as_me: failed program was:" >&5
4404 sed 's/^/| /' conftest.$ac_ext >&5
4406 # Passes both tests.
4411 rm -f conftest.err conftest.$ac_ext
4414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4415 rm -f conftest.err conftest.$ac_ext
4416 if $ac_preproc_ok; then
4419 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4421 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4422 See \`config.log' for more details." >&5
4423 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4424 See \`config.log' for more details." >&2;}
4425 { (exit 1); exit 1; }; }; }
4429 ac_cpp='$CPP $CPPFLAGS'
4430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4435 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4436 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4437 if test "${ac_cv_path_GREP+set}" = set; then
4438 $as_echo_n "(cached) " >&6
4440 if test -z "$GREP"; then
4441 ac_path_GREP_found=false
4442 # Loop through the user's path and test for each of PROGNAME-LIST
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4447 test -z "$as_dir" && as_dir=.
4448 for ac_prog in grep ggrep; do
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4451 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4452 # Check for GNU ac_path_GREP and select it if it is found.
4453 # Check for GNU $ac_path_GREP
4454 case `"$ac_path_GREP" --version 2>&1` in
4456 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4459 $as_echo_n 0123456789 >"conftest.in"
4462 cat "conftest.in" "conftest.in" >"conftest.tmp"
4463 mv "conftest.tmp" "conftest.in"
4464 cp "conftest.in" "conftest.nl"
4465 $as_echo 'GREP' >> "conftest.nl"
4466 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4468 ac_count=`expr $ac_count + 1`
4469 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4470 # Best one so far, save it but keep looking for a better one
4471 ac_cv_path_GREP="$ac_path_GREP"
4472 ac_path_GREP_max=$ac_count
4474 # 10*(2^10) chars as input seems more than enough
4475 test $ac_count -gt 10 && break
4477 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4480 $ac_path_GREP_found && break 3
4485 if test -z "$ac_cv_path_GREP"; then
4486 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4487 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4488 { (exit 1); exit 1; }; }
4491 ac_cv_path_GREP=$GREP
4495 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4496 $as_echo "$ac_cv_path_GREP" >&6; }
4497 GREP="$ac_cv_path_GREP"
4500 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4501 $as_echo_n "checking for egrep... " >&6; }
4502 if test "${ac_cv_path_EGREP+set}" = set; then
4503 $as_echo_n "(cached) " >&6
4505 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4506 then ac_cv_path_EGREP="$GREP -E"
4508 if test -z "$EGREP"; then
4509 ac_path_EGREP_found=false
4510 # Loop through the user's path and test for each of PROGNAME-LIST
4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4515 test -z "$as_dir" && as_dir=.
4516 for ac_prog in egrep; do
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4519 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4520 # Check for GNU ac_path_EGREP and select it if it is found.
4521 # Check for GNU $ac_path_EGREP
4522 case `"$ac_path_EGREP" --version 2>&1` in
4524 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4527 $as_echo_n 0123456789 >"conftest.in"
4530 cat "conftest.in" "conftest.in" >"conftest.tmp"
4531 mv "conftest.tmp" "conftest.in"
4532 cp "conftest.in" "conftest.nl"
4533 $as_echo 'EGREP' >> "conftest.nl"
4534 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4535 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4536 ac_count=`expr $ac_count + 1`
4537 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4538 # Best one so far, save it but keep looking for a better one
4539 ac_cv_path_EGREP="$ac_path_EGREP"
4540 ac_path_EGREP_max=$ac_count
4542 # 10*(2^10) chars as input seems more than enough
4543 test $ac_count -gt 10 && break
4545 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4548 $ac_path_EGREP_found && break 3
4553 if test -z "$ac_cv_path_EGREP"; then
4554 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4555 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4556 { (exit 1); exit 1; }; }
4559 ac_cv_path_EGREP=$EGREP
4564 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4565 $as_echo "$ac_cv_path_EGREP" >&6; }
4566 EGREP="$ac_cv_path_EGREP"
4569 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4570 $as_echo_n "checking for ANSI C header files... " >&6; }
4571 if test "${ac_cv_header_stdc+set}" = set; then
4572 $as_echo_n "(cached) " >&6
4574 cat >conftest.$ac_ext <<_ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4593 rm -f conftest.$ac_objext
4594 if { (ac_try="$ac_compile"
4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4600 $as_echo "$ac_try_echo") >&5
4601 (eval "$ac_compile") 2>conftest.er1
4603 grep -v '^ *+' conftest.er1 >conftest.err
4605 cat conftest.err >&5
4606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } && {
4608 test -z "$ac_c_werror_flag" ||
4609 test ! -s conftest.err
4610 } && test -s conftest.$ac_objext; then
4611 ac_cv_header_stdc=yes
4613 $as_echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4616 ac_cv_header_stdc=no
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 if test $ac_cv_header_stdc = yes; then
4622 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4623 cat >conftest.$ac_ext <<_ACEOF
4626 cat confdefs.h >>conftest.$ac_ext
4627 cat >>conftest.$ac_ext <<_ACEOF
4628 /* end confdefs.h. */
4632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4633 $EGREP "memchr" >/dev/null 2>&1; then
4636 ac_cv_header_stdc=no
4642 if test $ac_cv_header_stdc = yes; then
4643 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4644 cat >conftest.$ac_ext <<_ACEOF
4647 cat confdefs.h >>conftest.$ac_ext
4648 cat >>conftest.$ac_ext <<_ACEOF
4649 /* end confdefs.h. */
4653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4654 $EGREP "free" >/dev/null 2>&1; then
4657 ac_cv_header_stdc=no
4663 if test $ac_cv_header_stdc = yes; then
4664 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4665 if test "$cross_compiling" = yes; then
4668 cat >conftest.$ac_ext <<_ACEOF
4671 cat confdefs.h >>conftest.$ac_ext
4672 cat >>conftest.$ac_ext <<_ACEOF
4673 /* end confdefs.h. */
4676 #if ((' ' & 0x0FF) == 0x020)
4677 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4678 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4680 # define ISLOWER(c) \
4681 (('a' <= (c) && (c) <= 'i') \
4682 || ('j' <= (c) && (c) <= 'r') \
4683 || ('s' <= (c) && (c) <= 'z'))
4684 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4687 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4692 for (i = 0; i < 256; i++)
4693 if (XOR (islower (i), ISLOWER (i))
4694 || toupper (i) != TOUPPER (i))
4699 rm -f conftest$ac_exeext
4700 if { (ac_try="$ac_link"
4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;;
4705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4706 $as_echo "$ac_try_echo") >&5
4707 (eval "$ac_link") 2>&5
4709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4711 { (case "(($ac_try" in
4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4713 *) ac_try_echo=$ac_try;;
4715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4716 $as_echo "$ac_try_echo") >&5
4717 (eval "$ac_try") 2>&5
4719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }; }; then
4723 $as_echo "$as_me: program exited with status $ac_status" >&5
4724 $as_echo "$as_me: failed program was:" >&5
4725 sed 's/^/| /' conftest.$ac_ext >&5
4728 ac_cv_header_stdc=no
4730 rm -rf conftest.dSYM
4731 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4737 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4738 $as_echo "$ac_cv_header_stdc" >&6; }
4739 if test $ac_cv_header_stdc = yes; then
4741 cat >>confdefs.h <<\_ACEOF
4742 #define STDC_HEADERS 1
4747 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4757 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4758 inttypes.h stdint.h unistd.h
4760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4761 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4762 $as_echo_n "checking for $ac_header... " >&6; }
4763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4764 $as_echo_n "(cached) " >&6
4766 cat >conftest.$ac_ext <<_ACEOF
4769 cat confdefs.h >>conftest.$ac_ext
4770 cat >>conftest.$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4772 $ac_includes_default
4774 #include <$ac_header>
4776 rm -f conftest.$ac_objext
4777 if { (ac_try="$ac_compile"
4779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4783 $as_echo "$ac_try_echo") >&5
4784 (eval "$ac_compile") 2>conftest.er1
4786 grep -v '^ *+' conftest.er1 >conftest.err
4788 cat conftest.err >&5
4789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } && {
4791 test -z "$ac_c_werror_flag" ||
4792 test ! -s conftest.err
4793 } && test -s conftest.$ac_objext; then
4794 eval "$as_ac_Header=yes"
4796 $as_echo "$as_me: failed program was:" >&5
4797 sed 's/^/| /' conftest.$ac_ext >&5
4799 eval "$as_ac_Header=no"
4802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804 ac_res=`eval 'as_val=${'$as_ac_Header'}
4805 $as_echo "$as_val"'`
4806 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4807 $as_echo "$ac_res" >&6; }
4808 as_val=`eval 'as_val=${'$as_ac_Header'}
4809 $as_echo "$as_val"'`
4810 if test "x$as_val" = x""yes; then
4811 cat >>confdefs.h <<_ACEOF
4812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4823 for ac_header in string.h unistd.h utime.h
4825 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4826 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4827 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4828 $as_echo_n "checking for $ac_header... " >&6; }
4829 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4830 $as_echo_n "(cached) " >&6
4832 ac_res=`eval 'as_val=${'$as_ac_Header'}
4833 $as_echo "$as_val"'`
4834 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4835 $as_echo "$ac_res" >&6; }
4837 # Is the header compilable?
4838 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4839 $as_echo_n "checking $ac_header usability... " >&6; }
4840 cat >conftest.$ac_ext <<_ACEOF
4843 cat confdefs.h >>conftest.$ac_ext
4844 cat >>conftest.$ac_ext <<_ACEOF
4845 /* end confdefs.h. */
4846 $ac_includes_default
4847 #include <$ac_header>
4849 rm -f conftest.$ac_objext
4850 if { (ac_try="$ac_compile"
4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4856 $as_echo "$ac_try_echo") >&5
4857 (eval "$ac_compile") 2>conftest.er1
4859 grep -v '^ *+' conftest.er1 >conftest.err
4861 cat conftest.err >&5
4862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } && {
4864 test -z "$ac_c_werror_flag" ||
4865 test ! -s conftest.err
4866 } && test -s conftest.$ac_objext; then
4867 ac_header_compiler=yes
4869 $as_echo "$as_me: failed program was:" >&5
4870 sed 's/^/| /' conftest.$ac_ext >&5
4872 ac_header_compiler=no
4875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4876 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4877 $as_echo "$ac_header_compiler" >&6; }
4879 # Is the header present?
4880 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4881 $as_echo_n "checking $ac_header presence... " >&6; }
4882 cat >conftest.$ac_ext <<_ACEOF
4885 cat confdefs.h >>conftest.$ac_ext
4886 cat >>conftest.$ac_ext <<_ACEOF
4887 /* end confdefs.h. */
4888 #include <$ac_header>
4890 if { (ac_try="$ac_cpp conftest.$ac_ext"
4892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4893 *) ac_try_echo=$ac_try;;
4895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4896 $as_echo "$ac_try_echo") >&5
4897 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4899 grep -v '^ *+' conftest.er1 >conftest.err
4901 cat conftest.err >&5
4902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); } >/dev/null && {
4904 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4905 test ! -s conftest.err
4907 ac_header_preproc=yes
4909 $as_echo "$as_me: failed program was:" >&5
4910 sed 's/^/| /' conftest.$ac_ext >&5
4912 ac_header_preproc=no
4915 rm -f conftest.err conftest.$ac_ext
4916 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4917 $as_echo "$ac_header_preproc" >&6; }
4919 # So? What about this header?
4920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4922 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4923 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4924 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4925 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4926 ac_header_preproc=yes
4929 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4930 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4931 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4932 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4933 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4934 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4935 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4936 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4937 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4938 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4939 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4940 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4942 ## ---------------------------------------------- ##
4943 ## Report this to issoftware@users.sourceforge.jp ##
4944 ## ---------------------------------------------- ##
4946 ) | sed "s/^/$as_me: WARNING: /" >&2
4949 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4950 $as_echo_n "checking for $ac_header... " >&6; }
4951 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4952 $as_echo_n "(cached) " >&6
4954 eval "$as_ac_Header=\$ac_header_preproc"
4956 ac_res=`eval 'as_val=${'$as_ac_Header'}
4957 $as_echo "$as_val"'`
4958 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4959 $as_echo "$ac_res" >&6; }
4962 as_val=`eval 'as_val=${'$as_ac_Header'}
4963 $as_echo "$as_val"'`
4964 if test "x$as_val" = x""yes; then
4965 cat >>confdefs.h <<_ACEOF
4966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4974 # Checks for typedefs, structures, and compiler characteristics.
4975 { $as_echo "$as_me:$LINENO: checking for inline" >&5
4976 $as_echo_n "checking for inline... " >&6; }
4977 if test "${ac_cv_c_inline+set}" = set; then
4978 $as_echo_n "(cached) " >&6
4981 for ac_kw in inline __inline__ __inline; do
4982 cat >conftest.$ac_ext <<_ACEOF
4985 cat confdefs.h >>conftest.$ac_ext
4986 cat >>conftest.$ac_ext <<_ACEOF
4987 /* end confdefs.h. */
4990 static $ac_kw foo_t static_foo () {return 0; }
4991 $ac_kw foo_t foo () {return 0; }
4995 rm -f conftest.$ac_objext
4996 if { (ac_try="$ac_compile"
4998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4999 *) ac_try_echo=$ac_try;;
5001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5002 $as_echo "$ac_try_echo") >&5
5003 (eval "$ac_compile") 2>conftest.er1
5005 grep -v '^ *+' conftest.er1 >conftest.err
5007 cat conftest.err >&5
5008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } && {
5010 test -z "$ac_c_werror_flag" ||
5011 test ! -s conftest.err
5012 } && test -s conftest.$ac_objext; then
5013 ac_cv_c_inline=$ac_kw
5015 $as_echo "$as_me: failed program was:" >&5
5016 sed 's/^/| /' conftest.$ac_ext >&5
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 test "$ac_cv_c_inline" != no && break
5026 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5027 $as_echo "$ac_cv_c_inline" >&6; }
5030 case $ac_cv_c_inline in
5033 case $ac_cv_c_inline in
5035 *) ac_val=$ac_cv_c_inline;;
5037 cat >>confdefs.h <<_ACEOF
5039 #define inline $ac_val
5045 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
5046 $as_echo_n "checking for mode_t... " >&6; }
5047 if test "${ac_cv_type_mode_t+set}" = set; then
5048 $as_echo_n "(cached) " >&6
5050 ac_cv_type_mode_t=no
5051 cat >conftest.$ac_ext <<_ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5057 $ac_includes_default
5061 if (sizeof (mode_t))
5067 rm -f conftest.$ac_objext
5068 if { (ac_try="$ac_compile"
5070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5071 *) ac_try_echo=$ac_try;;
5073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5074 $as_echo "$ac_try_echo") >&5
5075 (eval "$ac_compile") 2>conftest.er1
5077 grep -v '^ *+' conftest.er1 >conftest.err
5079 cat conftest.err >&5
5080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } && {
5082 test -z "$ac_c_werror_flag" ||
5083 test ! -s conftest.err
5084 } && test -s conftest.$ac_objext; then
5085 cat >conftest.$ac_ext <<_ACEOF
5088 cat confdefs.h >>conftest.$ac_ext
5089 cat >>conftest.$ac_ext <<_ACEOF
5090 /* end confdefs.h. */
5091 $ac_includes_default
5095 if (sizeof ((mode_t)))
5101 rm -f conftest.$ac_objext
5102 if { (ac_try="$ac_compile"
5104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5105 *) ac_try_echo=$ac_try;;
5107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5108 $as_echo "$ac_try_echo") >&5
5109 (eval "$ac_compile") 2>conftest.er1
5111 grep -v '^ *+' conftest.er1 >conftest.err
5113 cat conftest.err >&5
5114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); } && {
5116 test -z "$ac_c_werror_flag" ||
5117 test ! -s conftest.err
5118 } && test -s conftest.$ac_objext; then
5121 $as_echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5124 ac_cv_type_mode_t=yes
5127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5129 $as_echo "$as_me: failed program was:" >&5
5130 sed 's/^/| /' conftest.$ac_ext >&5
5135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5137 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5138 $as_echo "$ac_cv_type_mode_t" >&6; }
5139 if test "x$ac_cv_type_mode_t" = x""yes; then
5143 cat >>confdefs.h <<_ACEOF
5149 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
5150 $as_echo_n "checking for off_t... " >&6; }
5151 if test "${ac_cv_type_off_t+set}" = set; then
5152 $as_echo_n "(cached) " >&6
5155 cat >conftest.$ac_ext <<_ACEOF
5158 cat confdefs.h >>conftest.$ac_ext
5159 cat >>conftest.$ac_ext <<_ACEOF
5160 /* end confdefs.h. */
5161 $ac_includes_default
5171 rm -f conftest.$ac_objext
5172 if { (ac_try="$ac_compile"
5174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5175 *) ac_try_echo=$ac_try;;
5177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5178 $as_echo "$ac_try_echo") >&5
5179 (eval "$ac_compile") 2>conftest.er1
5181 grep -v '^ *+' conftest.er1 >conftest.err
5183 cat conftest.err >&5
5184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); } && {
5186 test -z "$ac_c_werror_flag" ||
5187 test ! -s conftest.err
5188 } && test -s conftest.$ac_objext; then
5189 cat >conftest.$ac_ext <<_ACEOF
5192 cat confdefs.h >>conftest.$ac_ext
5193 cat >>conftest.$ac_ext <<_ACEOF
5194 /* end confdefs.h. */
5195 $ac_includes_default
5199 if (sizeof ((off_t)))
5205 rm -f conftest.$ac_objext
5206 if { (ac_try="$ac_compile"
5208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5209 *) ac_try_echo=$ac_try;;
5211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5212 $as_echo "$ac_try_echo") >&5
5213 (eval "$ac_compile") 2>conftest.er1
5215 grep -v '^ *+' conftest.er1 >conftest.err
5217 cat conftest.err >&5
5218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } && {
5220 test -z "$ac_c_werror_flag" ||
5221 test ! -s conftest.err
5222 } && test -s conftest.$ac_objext; then
5225 $as_echo "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.$ac_ext >&5
5228 ac_cv_type_off_t=yes
5231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5233 $as_echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5241 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5242 $as_echo "$ac_cv_type_off_t" >&6; }
5243 if test "x$ac_cv_type_off_t" = x""yes; then
5247 cat >>confdefs.h <<_ACEOF
5248 #define off_t long int
5253 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
5254 $as_echo_n "checking for size_t... " >&6; }
5255 if test "${ac_cv_type_size_t+set}" = set; then
5256 $as_echo_n "(cached) " >&6
5258 ac_cv_type_size_t=no
5259 cat >conftest.$ac_ext <<_ACEOF
5262 cat confdefs.h >>conftest.$ac_ext
5263 cat >>conftest.$ac_ext <<_ACEOF
5264 /* end confdefs.h. */
5265 $ac_includes_default
5269 if (sizeof (size_t))
5275 rm -f conftest.$ac_objext
5276 if { (ac_try="$ac_compile"
5278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5282 $as_echo "$ac_try_echo") >&5
5283 (eval "$ac_compile") 2>conftest.er1
5285 grep -v '^ *+' conftest.er1 >conftest.err
5287 cat conftest.err >&5
5288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } && {
5290 test -z "$ac_c_werror_flag" ||
5291 test ! -s conftest.err
5292 } && test -s conftest.$ac_objext; then
5293 cat >conftest.$ac_ext <<_ACEOF
5296 cat confdefs.h >>conftest.$ac_ext
5297 cat >>conftest.$ac_ext <<_ACEOF
5298 /* end confdefs.h. */
5299 $ac_includes_default
5303 if (sizeof ((size_t)))
5309 rm -f conftest.$ac_objext
5310 if { (ac_try="$ac_compile"
5312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5313 *) ac_try_echo=$ac_try;;
5315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5316 $as_echo "$ac_try_echo") >&5
5317 (eval "$ac_compile") 2>conftest.er1
5319 grep -v '^ *+' conftest.er1 >conftest.err
5321 cat conftest.err >&5
5322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); } && {
5324 test -z "$ac_c_werror_flag" ||
5325 test ! -s conftest.err
5326 } && test -s conftest.$ac_objext; then
5329 $as_echo "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.$ac_ext >&5
5332 ac_cv_type_size_t=yes
5335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5337 $as_echo "$as_me: failed program was:" >&5
5338 sed 's/^/| /' conftest.$ac_ext >&5
5343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5346 $as_echo "$ac_cv_type_size_t" >&6; }
5347 if test "x$ac_cv_type_size_t" = x""yes; then
5351 cat >>confdefs.h <<_ACEOF
5352 #define size_t unsigned int
5357 { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
5358 $as_echo_n "checking for ssize_t... " >&6; }
5359 if test "${ac_cv_type_ssize_t+set}" = set; then
5360 $as_echo_n "(cached) " >&6
5362 ac_cv_type_ssize_t=no
5363 cat >conftest.$ac_ext <<_ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5369 $ac_includes_default
5373 if (sizeof (ssize_t))
5379 rm -f conftest.$ac_objext
5380 if { (ac_try="$ac_compile"
5382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5383 *) ac_try_echo=$ac_try;;
5385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5386 $as_echo "$ac_try_echo") >&5
5387 (eval "$ac_compile") 2>conftest.er1
5389 grep -v '^ *+' conftest.er1 >conftest.err
5391 cat conftest.err >&5
5392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393 (exit $ac_status); } && {
5394 test -z "$ac_c_werror_flag" ||
5395 test ! -s conftest.err
5396 } && test -s conftest.$ac_objext; then
5397 cat >conftest.$ac_ext <<_ACEOF
5400 cat confdefs.h >>conftest.$ac_ext
5401 cat >>conftest.$ac_ext <<_ACEOF
5402 /* end confdefs.h. */
5403 $ac_includes_default
5407 if (sizeof ((ssize_t)))
5413 rm -f conftest.$ac_objext
5414 if { (ac_try="$ac_compile"
5416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5417 *) ac_try_echo=$ac_try;;
5419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5420 $as_echo "$ac_try_echo") >&5
5421 (eval "$ac_compile") 2>conftest.er1
5423 grep -v '^ *+' conftest.er1 >conftest.err
5425 cat conftest.err >&5
5426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } && {
5428 test -z "$ac_c_werror_flag" ||
5429 test ! -s conftest.err
5430 } && test -s conftest.$ac_objext; then
5433 $as_echo "$as_me: failed program was:" >&5
5434 sed 's/^/| /' conftest.$ac_ext >&5
5436 ac_cv_type_ssize_t=yes
5439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5441 $as_echo "$as_me: failed program was:" >&5
5442 sed 's/^/| /' conftest.$ac_ext >&5
5447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5449 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
5450 $as_echo "$ac_cv_type_ssize_t" >&6; }
5451 if test "x$ac_cv_type_ssize_t" = x""yes; then
5455 cat >>confdefs.h <<_ACEOF
5462 # Checks for library functions.
5463 { $as_echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
5464 $as_echo_n "checking whether strerror_r is declared... " >&6; }
5465 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
5466 $as_echo_n "(cached) " >&6
5468 cat >conftest.$ac_ext <<_ACEOF
5471 cat confdefs.h >>conftest.$ac_ext
5472 cat >>conftest.$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5474 $ac_includes_default
5486 rm -f conftest.$ac_objext
5487 if { (ac_try="$ac_compile"
5489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5490 *) ac_try_echo=$ac_try;;
5492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5493 $as_echo "$ac_try_echo") >&5
5494 (eval "$ac_compile") 2>conftest.er1
5496 grep -v '^ *+' conftest.er1 >conftest.err
5498 cat conftest.err >&5
5499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); } && {
5501 test -z "$ac_c_werror_flag" ||
5502 test ! -s conftest.err
5503 } && test -s conftest.$ac_objext; then
5504 ac_cv_have_decl_strerror_r=yes
5506 $as_echo "$as_me: failed program was:" >&5
5507 sed 's/^/| /' conftest.$ac_ext >&5
5509 ac_cv_have_decl_strerror_r=no
5512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5514 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
5515 $as_echo "$ac_cv_have_decl_strerror_r" >&6; }
5516 if test "x$ac_cv_have_decl_strerror_r" = x""yes; then
5518 cat >>confdefs.h <<_ACEOF
5519 #define HAVE_DECL_STRERROR_R 1
5524 cat >>confdefs.h <<_ACEOF
5525 #define HAVE_DECL_STRERROR_R 0
5533 for ac_func in strerror_r
5535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5536 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5537 $as_echo_n "checking for $ac_func... " >&6; }
5538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5539 $as_echo_n "(cached) " >&6
5541 cat >conftest.$ac_ext <<_ACEOF
5544 cat confdefs.h >>conftest.$ac_ext
5545 cat >>conftest.$ac_ext <<_ACEOF
5546 /* end confdefs.h. */
5547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5549 #define $ac_func innocuous_$ac_func
5551 /* System header to define __stub macros and hopefully few prototypes,
5552 which can conflict with char $ac_func (); below.
5553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5554 <limits.h> exists even on freestanding compilers. */
5557 # include <limits.h>
5559 # include <assert.h>
5564 /* Override any GCC internal prototype to avoid an error.
5565 Use char because int might match the return type of a GCC
5566 builtin and then its argument prototype would still apply. */
5571 /* The GNU C library defines this for functions which it implements
5572 to always fail with ENOSYS. Some functions are actually named
5573 something starting with __ and the normal name is an alias. */
5574 #if defined __stub_$ac_func || defined __stub___$ac_func
5586 rm -f conftest.$ac_objext conftest$ac_exeext
5587 if { (ac_try="$ac_link"
5589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5590 *) ac_try_echo=$ac_try;;
5592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5593 $as_echo "$ac_try_echo") >&5
5594 (eval "$ac_link") 2>conftest.er1
5596 grep -v '^ *+' conftest.er1 >conftest.err
5598 cat conftest.err >&5
5599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } && {
5601 test -z "$ac_c_werror_flag" ||
5602 test ! -s conftest.err
5603 } && test -s conftest$ac_exeext && {
5604 test "$cross_compiling" = yes ||
5605 $as_test_x conftest$ac_exeext
5607 eval "$as_ac_var=yes"
5609 $as_echo "$as_me: failed program was:" >&5
5610 sed 's/^/| /' conftest.$ac_ext >&5
5612 eval "$as_ac_var=no"
5615 rm -rf conftest.dSYM
5616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5617 conftest$ac_exeext conftest.$ac_ext
5619 ac_res=`eval 'as_val=${'$as_ac_var'}
5620 $as_echo "$as_val"'`
5621 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5622 $as_echo "$ac_res" >&6; }
5623 as_val=`eval 'as_val=${'$as_ac_var'}
5624 $as_echo "$as_val"'`
5625 if test "x$as_val" = x""yes; then
5626 cat >>confdefs.h <<_ACEOF
5627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5633 { $as_echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
5634 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
5635 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
5636 $as_echo_n "(cached) " >&6
5639 ac_cv_func_strerror_r_char_p=no
5640 if test $ac_cv_have_decl_strerror_r = yes; then
5641 cat >conftest.$ac_ext <<_ACEOF
5644 cat confdefs.h >>conftest.$ac_ext
5645 cat >>conftest.$ac_ext <<_ACEOF
5646 /* end confdefs.h. */
5647 $ac_includes_default
5653 char x = *strerror_r (0, buf, sizeof buf);
5654 char *p = strerror_r (0, buf, sizeof buf);
5661 rm -f conftest.$ac_objext
5662 if { (ac_try="$ac_compile"
5664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5665 *) ac_try_echo=$ac_try;;
5667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5668 $as_echo "$ac_try_echo") >&5
5669 (eval "$ac_compile") 2>conftest.er1
5671 grep -v '^ *+' conftest.er1 >conftest.err
5673 cat conftest.err >&5
5674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); } && {
5676 test -z "$ac_c_werror_flag" ||
5677 test ! -s conftest.err
5678 } && test -s conftest.$ac_objext; then
5679 ac_cv_func_strerror_r_char_p=yes
5681 $as_echo "$as_me: failed program was:" >&5
5682 sed 's/^/| /' conftest.$ac_ext >&5
5687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5689 # strerror_r is not declared. Choose between
5690 # systems that have relatively inaccessible declarations for the
5691 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
5692 # former has a strerror_r that returns char*, while the latter
5693 # has a strerror_r that returns `int'.
5694 # This test should segfault on the DEC system.
5695 if test "$cross_compiling" = yes; then
5698 cat >conftest.$ac_ext <<_ACEOF
5701 cat confdefs.h >>conftest.$ac_ext
5702 cat >>conftest.$ac_ext <<_ACEOF
5703 /* end confdefs.h. */
5704 $ac_includes_default
5705 extern char *strerror_r ();
5710 char x = *strerror_r (0, buf, sizeof buf);
5711 return ! isalpha (x);
5716 rm -f conftest$ac_exeext
5717 if { (ac_try="$ac_link"
5719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5720 *) ac_try_echo=$ac_try;;
5722 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5723 $as_echo "$ac_try_echo") >&5
5724 (eval "$ac_link") 2>&5
5726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5728 { (case "(($ac_try" in
5729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5730 *) ac_try_echo=$ac_try;;
5732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5733 $as_echo "$ac_try_echo") >&5
5734 (eval "$ac_try") 2>&5
5736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }; }; then
5738 ac_cv_func_strerror_r_char_p=yes
5740 $as_echo "$as_me: program exited with status $ac_status" >&5
5741 $as_echo "$as_me: failed program was:" >&5
5742 sed 's/^/| /' conftest.$ac_ext >&5
5745 rm -rf conftest.dSYM
5746 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5753 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
5754 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
5755 if test $ac_cv_func_strerror_r_char_p = yes; then
5757 cat >>confdefs.h <<\_ACEOF
5758 #define STRERROR_R_CHAR_P 1
5767 for ac_func in localtime_r mkdir pow utime
5769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5770 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5771 $as_echo_n "checking for $ac_func... " >&6; }
5772 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5773 $as_echo_n "(cached) " >&6
5775 cat >conftest.$ac_ext <<_ACEOF
5778 cat confdefs.h >>conftest.$ac_ext
5779 cat >>conftest.$ac_ext <<_ACEOF
5780 /* end confdefs.h. */
5781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5783 #define $ac_func innocuous_$ac_func
5785 /* System header to define __stub macros and hopefully few prototypes,
5786 which can conflict with char $ac_func (); below.
5787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5788 <limits.h> exists even on freestanding compilers. */
5791 # include <limits.h>
5793 # include <assert.h>
5798 /* Override any GCC internal prototype to avoid an error.
5799 Use char because int might match the return type of a GCC
5800 builtin and then its argument prototype would still apply. */
5805 /* The GNU C library defines this for functions which it implements
5806 to always fail with ENOSYS. Some functions are actually named
5807 something starting with __ and the normal name is an alias. */
5808 #if defined __stub_$ac_func || defined __stub___$ac_func
5820 rm -f conftest.$ac_objext conftest$ac_exeext
5821 if { (ac_try="$ac_link"
5823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5824 *) ac_try_echo=$ac_try;;
5826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5827 $as_echo "$ac_try_echo") >&5
5828 (eval "$ac_link") 2>conftest.er1
5830 grep -v '^ *+' conftest.er1 >conftest.err
5832 cat conftest.err >&5
5833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } && {
5835 test -z "$ac_c_werror_flag" ||
5836 test ! -s conftest.err
5837 } && test -s conftest$ac_exeext && {
5838 test "$cross_compiling" = yes ||
5839 $as_test_x conftest$ac_exeext
5841 eval "$as_ac_var=yes"
5843 $as_echo "$as_me: failed program was:" >&5
5844 sed 's/^/| /' conftest.$ac_ext >&5
5846 eval "$as_ac_var=no"
5849 rm -rf conftest.dSYM
5850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5851 conftest$ac_exeext conftest.$ac_ext
5853 ac_res=`eval 'as_val=${'$as_ac_var'}
5854 $as_echo "$as_val"'`
5855 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5856 $as_echo "$ac_res" >&6; }
5857 as_val=`eval 'as_val=${'$as_ac_var'}
5858 $as_echo "$as_val"'`
5859 if test "x$as_val" = x""yes; then
5860 cat >>confdefs.h <<_ACEOF
5861 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5868 ac_config_files="$ac_config_files Makefile"
5870 cat >confcache <<\_ACEOF
5871 # This file is a shell script that caches the results of configure
5872 # tests run on this system so they can be shared between configure
5873 # scripts and configure runs, see configure's option --config-cache.
5874 # It is not useful on other systems. If it contains results you don't
5875 # want to keep, you may remove or edit it.
5877 # config.status only pays attention to the cache file if you give it
5878 # the --recheck option to rerun configure.
5880 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5881 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5886 # The following way of writing the cache mishandles newlines in values,
5887 # but we know of no workaround that is simple, portable, and efficient.
5888 # So, we kill variables containing newlines.
5889 # Ultrix sh set writes to stderr and can't be redirected directly,
5890 # and sets the high bit in the cache file unless we assign to the vars.
5892 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5893 eval ac_val=\$$ac_var
5897 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5898 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5901 _ | IFS | as_nl) ;; #(
5902 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5903 *) $as_unset $ac_var ;;
5909 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5910 *${as_nl}ac_space=\ *)
5911 # `set' does not quote correctly, so add quotes (double-quote
5912 # substitution turns \\\\ into \\, and sed turns \\ into \).
5915 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5918 # `set' quotes correctly as required by POSIX, so do not add quotes.
5919 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5928 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5930 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5932 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5933 if test -w "$cache_file"; then
5934 test "x$cache_file" != "x/dev/null" &&
5935 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5936 $as_echo "$as_me: updating cache $cache_file" >&6;}
5937 cat confcache >$cache_file
5939 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5940 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5945 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5946 # Let make expand exec_prefix.
5947 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5949 DEFS=-DHAVE_CONFIG_H
5953 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5954 # 1. Remove the extension, and $U if already installed.
5955 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5956 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5957 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5958 # will be set to the directory where LIBOBJS objects are built.
5959 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5960 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5964 LTLIBOBJS=$ac_ltlibobjs
5967 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
5968 { { $as_echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
5969 Usually this means the macro was only invoked conditionally." >&5
5970 $as_echo "$as_me: error: conditional \"DEBUG\" was never defined.
5971 Usually this means the macro was only invoked conditionally." >&2;}
5972 { (exit 1); exit 1; }; }
5974 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5975 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5976 Usually this means the macro was only invoked conditionally." >&5
5977 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5978 Usually this means the macro was only invoked conditionally." >&2;}
5979 { (exit 1); exit 1; }; }
5981 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5982 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5983 Usually this means the macro was only invoked conditionally." >&5
5984 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5985 Usually this means the macro was only invoked conditionally." >&2;}
5986 { (exit 1); exit 1; }; }
5988 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5989 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5990 Usually this means the macro was only invoked conditionally." >&5
5991 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5992 Usually this means the macro was only invoked conditionally." >&2;}
5993 { (exit 1); exit 1; }; }
5996 : ${CONFIG_STATUS=./config.status}
5998 ac_clean_files_save=$ac_clean_files
5999 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6000 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6001 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6002 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6004 # Generated by $as_me.
6005 # Run this file to recreate the current configuration.
6006 # Compiler output produced by configure, useful for debugging
6007 # configure, is in config.log if it exists.
6012 SHELL=\${CONFIG_SHELL-$SHELL}
6015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6016 ## --------------------- ##
6017 ## M4sh Initialization. ##
6018 ## --------------------- ##
6020 # Be more Bourne compatible
6021 DUALCASE=1; export DUALCASE # for MKS sh
6022 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6025 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6026 # is contrary to our usage. Disable this feature.
6027 alias -g '${1+"$@"}'='"$@"'
6028 setopt NO_GLOB_SUBST
6030 case `(set -o) 2>/dev/null` in
6031 *posix*) set -o posix ;;
6040 # Avoid depending upon Character Ranges.
6041 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6042 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6043 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6044 as_cr_digits='0123456789'
6045 as_cr_alnum=$as_cr_Letters$as_cr_digits
6050 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6051 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6052 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6053 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6054 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6055 as_echo='printf %s\n'
6056 as_echo_n='printf %s'
6058 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6059 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6060 as_echo_n='/usr/ucb/echo -n'
6062 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6063 as_echo_n_body='eval
6067 expr "X$arg" : "X\\(.*\\)$as_nl";
6068 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6070 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6072 export as_echo_n_body
6073 as_echo_n='sh -c $as_echo_n_body as_echo'
6076 as_echo='sh -c $as_echo_body as_echo'
6079 # The user is always right.
6080 if test "${PATH_SEPARATOR+set}" != set; then
6082 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6083 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6088 # Support unset when possible.
6089 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6097 # We need space, tab and new line, in precisely that order. Quoting is
6098 # there to prevent editors from complaining about space-tab.
6099 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6100 # splitting by setting IFS to empty value.)
6103 # Find who we are. Look in the path if we contain no directory separator.
6105 *[\\/]* ) as_myself=$0 ;;
6106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 test -z "$as_dir" && as_dir=.
6111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6117 # We did not find ourselves, most probably we were run as `sh COMMAND'
6118 # in which case we are not to be found in the path.
6119 if test "x$as_myself" = x; then
6122 if test ! -f "$as_myself"; then
6123 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6124 { (exit 1); exit 1; }
6127 # Work around bugs in pre-3.0 UWIN ksh.
6128 for as_var in ENV MAIL MAILPATH
6129 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6141 # Required to use basename.
6142 if expr a : '\(a\)' >/dev/null 2>&1 &&
6143 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6149 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6150 as_basename=basename
6156 # Name of the executable.
6157 as_me=`$as_basename -- "$0" ||
6158 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6159 X"$0" : 'X\(//\)$' \| \
6160 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6162 sed '/^.*\/\([^/][^/]*\)\/*$/{
6183 test "x$as_lineno_1" != "x$as_lineno_2" &&
6184 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6186 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6187 # uniformly replaced by the line number. The first 'sed' inserts a
6188 # line-number line after each line using $LINENO; the second 'sed'
6189 # does the real work. The second script uses 'N' to pair each
6190 # line-number line with the line containing $LINENO, and appends
6191 # trailing '-' during substitution so that $LINENO is not a special
6193 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6194 # scripts with optimization help from Paolo Bonzini. Blame Lee
6195 # E. McMahon (1931-1989) for sed's syntax. :-)
6207 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6211 chmod +x "$as_me.lineno" ||
6212 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6213 { (exit 1); exit 1; }; }
6215 # Don't try to exec as it changes $[0], causing all sort of problems
6216 # (the dirname of $[0] is not the place where we might find the
6217 # original and so on. Autoconf is especially sensitive to this).
6219 # Exit status is that of the last command.
6224 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6230 ECHO_C= ECHO_N= ECHO_T=
6233 case `echo 'x\c'` in
6234 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6240 if expr a : '\(a\)' >/dev/null 2>&1 &&
6241 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6247 rm -f conf$$ conf$$.exe conf$$.file
6248 if test -d conf$$.dir; then
6249 rm -f conf$$.dir/conf$$.file
6252 mkdir conf$$.dir 2>/dev/null
6254 if (echo >conf$$.file) 2>/dev/null; then
6255 if ln -s conf$$.file conf$$ 2>/dev/null; then
6257 # ... but there are two gotchas:
6258 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6259 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6260 # In both cases, we have to default to `cp -p'.
6261 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6263 elif ln conf$$.file conf$$ 2>/dev/null; then
6271 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6272 rmdir conf$$.dir 2>/dev/null
6274 if mkdir -p . 2>/dev/null; then
6277 test -d ./-p && rmdir ./-p
6281 if test -x / >/dev/null 2>&1; then
6284 if ls -dL / >/dev/null 2>&1; then
6291 if test -d "$1"; then
6297 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6298 ???[sx]*):;;*)false;;esac;fi
6302 as_executable_p=$as_test_x
6304 # Sed expression to map a string onto a valid CPP name.
6305 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6307 # Sed expression to map a string onto a valid variable name.
6308 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6313 # Save the log message, to keep $[0] and so on meaningful, and to
6314 # report actual input values of CONFIG_FILES etc. instead of their
6315 # values after options handling.
6317 This file was extended by islib $as_me 1.0.0, which was
6318 generated by GNU Autoconf 2.63. Invocation command line was
6320 CONFIG_FILES = $CONFIG_FILES
6321 CONFIG_HEADERS = $CONFIG_HEADERS
6322 CONFIG_LINKS = $CONFIG_LINKS
6323 CONFIG_COMMANDS = $CONFIG_COMMANDS
6326 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6331 case $ac_config_files in *"
6332 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6335 case $ac_config_headers in *"
6336 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6341 # Files that config.status was made for.
6342 config_files="$ac_config_files"
6343 config_headers="$ac_config_headers"
6344 config_commands="$ac_config_commands"
6348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6350 \`$as_me' instantiates files from templates according to the
6351 current configuration.
6353 Usage: $0 [OPTION]... [FILE]...
6355 -h, --help print this help, then exit
6356 -V, --version print version number and configuration settings, then exit
6357 -q, --quiet, --silent
6358 do not print progress messages
6359 -d, --debug don't remove temporary files
6360 --recheck update $as_me by reconfiguring in the same conditions
6361 --file=FILE[:TEMPLATE]
6362 instantiate the configuration file FILE
6363 --header=FILE[:TEMPLATE]
6364 instantiate the configuration header FILE
6366 Configuration files:
6369 Configuration headers:
6372 Configuration commands:
6375 Report bugs to <bug-autoconf@gnu.org>."
6378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6380 islib config.status 1.0.0
6381 configured by $0, generated by GNU Autoconf 2.63,
6382 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6384 Copyright (C) 2008 Free Software Foundation, Inc.
6385 This config.status script is free software; the Free Software Foundation
6386 gives unlimited permission to copy, distribute and modify it."
6393 test -n "\$AWK" || AWK=awk
6396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6397 # The default lists apply if the user does not specify any file.
6403 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6404 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6415 # Handling of the options.
6416 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6418 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6419 $as_echo "$ac_cs_version"; exit ;;
6420 --debug | --debu | --deb | --de | --d | -d )
6422 --file | --fil | --fi | --f )
6425 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6427 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6428 ac_need_defaults=false;;
6429 --header | --heade | --head | --hea )
6432 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6434 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6435 ac_need_defaults=false;;
6437 # Conflict between --help and --header
6438 { $as_echo "$as_me: error: ambiguous option: $1
6439 Try \`$0 --help' for more information." >&2
6440 { (exit 1); exit 1; }; };;
6441 --help | --hel | -h )
6442 $as_echo "$ac_cs_usage"; exit ;;
6443 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6444 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6448 -*) { $as_echo "$as_me: error: unrecognized option: $1
6449 Try \`$0 --help' for more information." >&2
6450 { (exit 1); exit 1; }; } ;;
6452 *) ac_config_targets="$ac_config_targets $1"
6453 ac_need_defaults=false ;;
6459 ac_configure_extra_args=
6461 if $ac_cs_silent; then
6463 ac_configure_extra_args="$ac_configure_extra_args --silent"
6467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6468 if \$ac_cs_recheck; then
6469 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6471 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6472 CONFIG_SHELL='$SHELL'
6478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6482 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6483 ## Running $as_me. ##
6489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6493 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6499 # Handling of arguments.
6500 for ac_config_target in $ac_config_targets
6502 case $ac_config_target in
6503 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6504 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6505 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6507 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6508 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6509 { (exit 1); exit 1; }; };;
6514 # If the user did not use the arguments to specify the items to instantiate,
6515 # then the envvar interface is used. Set only those that are not.
6516 # We use the long form for the default assignment because of an extremely
6517 # bizarre bug on SunOS 4.1.3.
6518 if $ac_need_defaults; then
6519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6521 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6524 # Have a temporary directory for convenience. Make it in the build tree
6525 # simply because there is no reason against having it here, and in addition,
6526 # creating and moving files from /tmp can sometimes cause problems.
6527 # Hook for its removal unless debugging.
6528 # Note that there is a small window in which the directory will not be cleaned:
6529 # after its creation but before its name has been assigned to `$tmp'.
6533 trap 'exit_status=$?
6534 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6536 trap '{ (exit 1); exit 1; }' 1 2 13 15
6538 # Create a (secure) tmp directory for tmp files.
6541 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6542 test -n "$tmp" && test -d "$tmp"
6545 tmp=./conf$$-$RANDOM
6546 (umask 077 && mkdir "$tmp")
6549 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6550 { (exit 1); exit 1; }
6553 # Set up the scripts for CONFIG_FILES section.
6554 # No need to generate them if there are no CONFIG_FILES.
6555 # This happens for instance with `./config.status config.h'.
6556 if test -n "$CONFIG_FILES"; then
6560 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6561 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6567 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6572 echo "cat >conf$$subs.awk <<_ACEOF" &&
6573 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6576 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6577 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6578 { (exit 1); exit 1; }; }
6579 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6581 for ac_last_try in false false false false false :; do
6582 . ./conf$$subs.sh ||
6583 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6584 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6585 { (exit 1); exit 1; }; }
6587 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6588 if test $ac_delim_n = $ac_delim_num; then
6590 elif $ac_last_try; then
6591 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6592 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6593 { (exit 1); exit 1; }; }
6595 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6601 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6605 s/^/S["/; s/!.*/"]=/
6615 s/\(.\{148\}\).*/\1/
6617 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6622 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6629 s/\(.\{148\}\).*/\1/
6631 s/["\\]/\\&/g; s/^/"/; s/$/"/
6635 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6640 ' <conf$$subs.awk | sed '
6645 ' >>$CONFIG_STATUS || ac_write_fail=1
6646 rm -f conf$$subs.awk
6647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6649 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6650 for (key in S) S_is_set[key] = 1
6656 nfields = split(line, field, "@")
6658 len = length(field[1])
6659 for (i = 2; i < nfields; i++) {
6661 keylen = length(key)
6662 if (S_is_set[key]) {
6664 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6665 len += length(value) + length(field[++i])
6676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6677 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6678 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6681 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6682 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6683 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6684 { (exit 1); exit 1; }; }
6687 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6688 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6689 # trailing colons and then remove the whole line if VPATH becomes empty
6690 # (actually we leave an empty line to preserve line numbers).
6691 if test "x$srcdir" = x.; then
6692 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6696 s/^\([^=]*=[ ]*\):*/\1/
6702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6703 fi # test -n "$CONFIG_FILES"
6705 # Set up the scripts for CONFIG_HEADERS section.
6706 # No need to generate them if there are no CONFIG_HEADERS.
6707 # This happens for instance with `./config.status Makefile'.
6708 if test -n "$CONFIG_HEADERS"; then
6709 cat >"$tmp/defines.awk" <<\_ACAWK ||
6713 # Transform confdefs.h into an awk script `defines.awk', embedded as
6714 # here-document in config.status, that substitutes the proper values into
6715 # config.h.in to produce config.h.
6717 # Create a delimiter string that does not exist in confdefs.h, to ease
6718 # handling of long lines.
6720 for ac_last_try in false false :; do
6721 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6722 if test -z "$ac_t"; then
6724 elif $ac_last_try; then
6725 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6726 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6727 { (exit 1); exit 1; }; }
6729 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6733 # For the awk script, D is an array of macro values keyed by name,
6734 # likewise P contains macro parameters if any. Preserve backslash
6735 # newline sequences.
6737 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6739 s/.\{148\}/&'"$ac_delim"'/g
6742 s/^[ ]*#[ ]*define[ ][ ]*/ /
6749 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6751 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6756 D["\1"]=" \3\\\\\\n"\\/p
6758 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6763 s/.\{148\}/&'"$ac_delim"'/g
6768 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6771 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6773 ' <confdefs.h | sed '
6774 s/'"$ac_delim"'/"\\\
6775 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6778 for (key in D) D_is_set[key] = 1
6781 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6783 split(line, arg, " ")
6784 if (arg[1] == "#") {
6788 defundef = substr(arg[1], 2)
6791 split(mac1, mac2, "(") #)
6793 prefix = substr(line, 1, index(line, defundef) - 1)
6794 if (D_is_set[macro]) {
6795 # Preserve the white space surrounding the "#".
6796 print prefix "define", macro P[macro] D[macro]
6799 # Replace #undef with comments. This is necessary, for example,
6800 # in the case of _POSIX_SOURCE, which is predefined and required
6801 # on some systems where configure will not decide to define it.
6802 if (defundef == "undef") {
6803 print "/*", prefix defundef, macro, "*/"
6811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6812 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6813 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6814 { (exit 1); exit 1; }; }
6815 fi # test -n "$CONFIG_HEADERS"
6818 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6823 :[FHLC]) ac_mode=$ac_tag; continue;;
6825 case $ac_mode$ac_tag in
6827 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6828 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6829 { (exit 1); exit 1; }; };;
6830 :[FH]-) ac_tag=-:-;;
6831 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6848 -) ac_f="$tmp/stdin";;
6849 *) # Look for the file first in the build tree, then in the source tree
6850 # (if the path is not absolute). The absolute path cannot be DOS-style,
6851 # because $ac_f cannot contain `:'.
6855 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6857 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6858 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6859 { (exit 1); exit 1; }; };;
6861 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6862 ac_file_inputs="$ac_file_inputs '$ac_f'"
6865 # Let's still pretend it is `configure' which instantiates (i.e., don't
6866 # use $as_me), people would be surprised to read:
6867 # /* config.h. Generated by config.status. */
6868 configure_input='Generated from '`
6869 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6871 if test x"$ac_file" != x-; then
6872 configure_input="$ac_file. $configure_input"
6873 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6874 $as_echo "$as_me: creating $ac_file" >&6;}
6876 # Neutralize special characters interpreted by sed in replacement strings.
6877 case $configure_input in #(
6878 *\&* | *\|* | *\\* )
6879 ac_sed_conf_input=`$as_echo "$configure_input" |
6880 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6881 *) ac_sed_conf_input=$configure_input;;
6885 *:-:* | *:-) cat >"$tmp/stdin" \
6886 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6887 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6888 { (exit 1); exit 1; }; } ;;
6893 ac_dir=`$as_dirname -- "$ac_file" ||
6894 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6895 X"$ac_file" : 'X\(//\)[^/]' \| \
6896 X"$ac_file" : 'X\(//\)$' \| \
6897 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6898 $as_echo X"$ac_file" |
6899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6918 -*) as_dir=./$as_dir;;
6920 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6924 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6925 *) as_qdir=$as_dir;;
6927 as_dirs="'$as_qdir' $as_dirs"
6928 as_dir=`$as_dirname -- "$as_dir" ||
6929 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6930 X"$as_dir" : 'X\(//\)[^/]' \| \
6931 X"$as_dir" : 'X\(//\)$' \| \
6932 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6933 $as_echo X"$as_dir" |
6934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6951 test -d "$as_dir" && break
6953 test -z "$as_dirs" || eval "mkdir $as_dirs"
6954 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6955 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6956 { (exit 1); exit 1; }; }; }
6960 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6962 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6963 # A ".." for each directory in $ac_dir_suffix.
6964 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6965 case $ac_top_builddir_sub in
6966 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6967 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6970 ac_abs_top_builddir=$ac_pwd
6971 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6972 # for backward compatibility:
6973 ac_top_builddir=$ac_top_build_prefix
6976 .) # We are building in place.
6978 ac_top_srcdir=$ac_top_builddir_sub
6979 ac_abs_top_srcdir=$ac_pwd ;;
6980 [\\/]* | ?:[\\/]* ) # Absolute name.
6981 ac_srcdir=$srcdir$ac_dir_suffix;
6982 ac_top_srcdir=$srcdir
6983 ac_abs_top_srcdir=$srcdir ;;
6985 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6986 ac_top_srcdir=$ac_top_build_prefix$srcdir
6987 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6989 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6999 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7000 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7004 [\\/$]* | ?:[\\/]* ) ;;
7005 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7010 # If the template does not know about datarootdir, expand it.
7011 # FIXME: This hack should be removed a few years after 2.60.
7012 ac_datarootdir_hack=; ac_datarootdir_seen=
7025 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7026 *datarootdir*) ac_datarootdir_seen=yes;;
7027 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7028 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7029 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7032 ac_datarootdir_hack='
7033 s&@datadir@&$datadir&g
7034 s&@docdir@&$docdir&g
7035 s&@infodir@&$infodir&g
7036 s&@localedir@&$localedir&g
7037 s&@mandir@&$mandir&g
7038 s&\\\${datarootdir}&$datarootdir&g' ;;
7042 # Neutralize VPATH when `$srcdir' = `.'.
7043 # Shell code in configure.ac might set extrasub.
7044 # FIXME: do we really want to maintain this feature?
7045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7046 ac_sed_extra="$ac_vpsub
7049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7051 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7052 s|@configure_input@|$ac_sed_conf_input|;t t
7053 s&@top_builddir@&$ac_top_builddir_sub&;t t
7054 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7055 s&@srcdir@&$ac_srcdir&;t t
7056 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7057 s&@top_srcdir@&$ac_top_srcdir&;t t
7058 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7059 s&@builddir@&$ac_builddir&;t t
7060 s&@abs_builddir@&$ac_abs_builddir&;t t
7061 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7062 s&@INSTALL@&$ac_INSTALL&;t t
7063 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7064 $ac_datarootdir_hack
7066 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7067 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7068 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7069 { (exit 1); exit 1; }; }
7071 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7072 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7073 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7074 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7075 which seems to be undefined. Please make sure it is defined." >&5
7076 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7077 which seems to be undefined. Please make sure it is defined." >&2;}
7081 -) cat "$tmp/out" && rm -f "$tmp/out";;
7082 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7084 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7085 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7086 { (exit 1); exit 1; }; }
7092 if test x"$ac_file" != x-; then
7094 $as_echo "/* $configure_input */" \
7095 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7096 } >"$tmp/config.h" \
7097 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7098 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7099 { (exit 1); exit 1; }; }
7100 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7101 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7102 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7105 mv "$tmp/config.h" "$ac_file" \
7106 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7107 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7108 { (exit 1); exit 1; }; }
7111 $as_echo "/* $configure_input */" \
7112 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7113 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7114 $as_echo "$as_me: error: could not create -" >&2;}
7115 { (exit 1); exit 1; }; }
7117 # Compute "$ac_file"'s index in $config_headers.
7120 for _am_header in $config_headers :; do
7122 $_am_arg | $_am_arg:* )
7125 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7128 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7129 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7130 X"$_am_arg" : 'X\(//\)[^/]' \| \
7131 X"$_am_arg" : 'X\(//\)$' \| \
7132 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7133 $as_echo X"$_am_arg" |
7134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7150 s/.*/./; q'`/stamp-h$_am_stamp_count
7153 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
7154 $as_echo "$as_me: executing $ac_file commands" >&6;}
7159 case $ac_file$ac_mode in
7160 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7161 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7162 # are listed without --file. Let's play safe and only enable the eval
7163 # if we detect the quoting.
7164 case $CONFIG_FILES in
7165 *\'*) eval set x "$CONFIG_FILES" ;;
7166 *) set x $CONFIG_FILES ;;
7171 # Strip MF so we end up with the name of the file.
7172 mf=`echo "$mf" | sed -e 's/:.*$//'`
7173 # Check whether this is an Automake generated Makefile or not.
7174 # We used to match only the files named `Makefile.in', but
7175 # some people rename them; so instead we look at the file content.
7176 # Grep'ing the first line is not enough: some people post-process
7177 # each Makefile.in and add a new line on top of each file to say so.
7178 # Grep'ing the whole file is not good either: AIX grep has a line
7179 # limit of 2048, but all sed's we know have understand at least 4000.
7180 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7181 dirpart=`$as_dirname -- "$mf" ||
7182 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7183 X"$mf" : 'X\(//\)[^/]' \| \
7184 X"$mf" : 'X\(//\)$' \| \
7185 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7207 # Extract the definition of DEPDIR, am__include, and am__quote
7208 # from the Makefile without running `make'.
7209 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7210 test -z "$DEPDIR" && continue
7211 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7212 test -z "am__include" && continue
7213 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7214 # When using ansi2knr, U may be empty or an underscore; expand it
7215 U=`sed -n 's/^U = //p' < "$mf"`
7216 # Find all dependency output files, they are included files with
7217 # $(DEPDIR) in their names. We invoke sed twice because it is the
7218 # simplest approach to changing $(DEPDIR) to its actual value in the
7220 for file in `sed -n "
7221 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7222 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7223 # Make sure the directory exists.
7224 test -f "$dirpart/$file" && continue
7225 fdir=`$as_dirname -- "$file" ||
7226 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7227 X"$file" : 'X\(//\)[^/]' \| \
7228 X"$file" : 'X\(//\)$' \| \
7229 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7248 { as_dir=$dirpart/$fdir
7250 -*) as_dir=./$as_dir;;
7252 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7256 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7257 *) as_qdir=$as_dir;;
7259 as_dirs="'$as_qdir' $as_dirs"
7260 as_dir=`$as_dirname -- "$as_dir" ||
7261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7262 X"$as_dir" : 'X\(//\)[^/]' \| \
7263 X"$as_dir" : 'X\(//\)$' \| \
7264 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7265 $as_echo X"$as_dir" |
7266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7283 test -d "$as_dir" && break
7285 test -z "$as_dirs" || eval "mkdir $as_dirs"
7286 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7287 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7288 { (exit 1); exit 1; }; }; }
7289 # echo "creating $dirpart/$file"
7290 echo '# dummy' > "$dirpart/$file"
7300 { (exit 0); exit 0; }
7302 chmod +x $CONFIG_STATUS
7303 ac_clean_files=$ac_clean_files_save
7305 test $ac_write_fail = 0 ||
7306 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7307 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7308 { (exit 1); exit 1; }; }
7311 # configure is writing to config.log, and then calls config.status.
7312 # config.status does its own redirection, appending to config.log.
7313 # Unfortunately, on DOS this fails, as config.log is still kept open
7314 # by configure, so config.status won't be able to write to it; its
7315 # output is simply discarded. So we exec the FD to /dev/null,
7316 # effectively closing config.log, so it can be properly (re)opened and
7317 # appended to by config.status. When coming back to configure, we
7318 # need to make the FD available again.
7319 if test "$no_create" != yes; then
7321 ac_config_status_args=
7322 test "$silent" = yes &&
7323 ac_config_status_args="$ac_config_status_args --quiet"
7325 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7327 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7328 # would make configure fail if this is the last instruction.
7329 $ac_cs_success || { (exit 1); exit 1; }
7331 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7332 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7333 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}