2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.63 for utakata 0.0.1.
5 @%:@ Report bugs to <BUG-REPORT-ADDRESS>.
7 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 @%:@ This configure script is free software; the Free Software Foundation
10 @%:@ gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='utakata'
598 PACKAGE_TARNAME='utakata'
599 PACKAGE_VERSION='0.0.1'
600 PACKAGE_STRING='utakata 0.0.1'
601 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
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
675 INSTALL_STRIP_PROGRAM
717 program_transform_name
729 enable_option_checking
730 enable_dependency_tracking
732 ac_precious_vars='build_alias
746 # Initialize some variables set by options.
748 ac_init_version=false
749 ac_unrecognized_opts=
751 # The variables have the same names as the options, with
752 # dashes changed to underlines.
760 program_transform_name=s,x,x,
768 # Installation directory options.
769 # These are left unexpanded so users can "make install exec_prefix=/foo"
770 # and all the variables that are supposed to be based on exec_prefix
771 # by default will actually change.
772 # Use braces instead of parens because sh, perl, etc. also accept them.
773 # (The list follows the same order as the GNU Coding Standards.)
774 bindir='${exec_prefix}/bin'
775 sbindir='${exec_prefix}/sbin'
776 libexecdir='${exec_prefix}/libexec'
777 datarootdir='${prefix}/share'
778 datadir='${datarootdir}'
779 sysconfdir='${prefix}/etc'
780 sharedstatedir='${prefix}/com'
781 localstatedir='${prefix}/var'
782 includedir='${prefix}/include'
783 oldincludedir='/usr/include'
784 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
785 infodir='${datarootdir}/info'
790 libdir='${exec_prefix}/lib'
791 localedir='${datarootdir}/locale'
792 mandir='${datarootdir}/man'
798 # If the previous option needs an argument, assign it.
799 if test -n "$ac_prev"; then
800 eval $ac_prev=\$ac_option
806 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
810 # Accept the important Cygnus configure options, so we can diagnose typos.
812 case $ac_dashdash$ac_option in
816 -bindir | --bindir | --bindi | --bind | --bin | --bi)
818 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
821 -build | --build | --buil | --bui | --bu)
822 ac_prev=build_alias ;;
823 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
824 build_alias=$ac_optarg ;;
826 -cache-file | --cache-file | --cache-fil | --cache-fi \
827 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
828 ac_prev=cache_file ;;
829 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
830 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
831 cache_file=$ac_optarg ;;
834 cache_file=config.cache ;;
836 -datadir | --datadir | --datadi | --datad)
838 -datadir=* | --datadir=* | --datadi=* | --datad=*)
839 datadir=$ac_optarg ;;
841 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
842 | --dataroo | --dataro | --datar)
843 ac_prev=datarootdir ;;
844 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
845 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
846 datarootdir=$ac_optarg ;;
848 -disable-* | --disable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
853 { (exit 1); exit 1; }; }
854 ac_useropt_orig=$ac_useropt
855 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856 case $ac_user_opts in
860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
861 ac_unrecognized_sep=', ';;
863 eval enable_$ac_useropt=no ;;
865 -docdir | --docdir | --docdi | --doc | --do)
867 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
870 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
872 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
875 -enable-* | --enable-*)
876 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
877 # Reject names that are not valid shell variable names.
878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
880 { (exit 1); exit 1; }; }
881 ac_useropt_orig=$ac_useropt
882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
888 ac_unrecognized_sep=', ';;
890 eval enable_$ac_useropt=\$ac_optarg ;;
892 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
893 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
894 | --exec | --exe | --ex)
895 ac_prev=exec_prefix ;;
896 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
897 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
898 | --exec=* | --exe=* | --ex=*)
899 exec_prefix=$ac_optarg ;;
901 -gas | --gas | --ga | --g)
902 # Obsolete; use --with-gas.
905 -help | --help | --hel | --he | -h)
907 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
908 ac_init_help=recursive ;;
909 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
910 ac_init_help=short ;;
912 -host | --host | --hos | --ho)
913 ac_prev=host_alias ;;
914 -host=* | --host=* | --hos=* | --ho=*)
915 host_alias=$ac_optarg ;;
917 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
919 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
921 htmldir=$ac_optarg ;;
923 -includedir | --includedir | --includedi | --included | --include \
924 | --includ | --inclu | --incl | --inc)
925 ac_prev=includedir ;;
926 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
927 | --includ=* | --inclu=* | --incl=* | --inc=*)
928 includedir=$ac_optarg ;;
930 -infodir | --infodir | --infodi | --infod | --info | --inf)
932 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
933 infodir=$ac_optarg ;;
935 -libdir | --libdir | --libdi | --libd)
937 -libdir=* | --libdir=* | --libdi=* | --libd=*)
940 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
941 | --libexe | --libex | --libe)
942 ac_prev=libexecdir ;;
943 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
944 | --libexe=* | --libex=* | --libe=*)
945 libexecdir=$ac_optarg ;;
947 -localedir | --localedir | --localedi | --localed | --locale)
949 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
950 localedir=$ac_optarg ;;
952 -localstatedir | --localstatedir | --localstatedi | --localstated \
953 | --localstate | --localstat | --localsta | --localst | --locals)
954 ac_prev=localstatedir ;;
955 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
956 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
957 localstatedir=$ac_optarg ;;
959 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
961 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
965 # Obsolete; use --without-fp.
968 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
969 | --no-cr | --no-c | -n)
972 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
973 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
976 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
977 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
978 | --oldin | --oldi | --old | --ol | --o)
979 ac_prev=oldincludedir ;;
980 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
981 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
982 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
983 oldincludedir=$ac_optarg ;;
985 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
987 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
990 -program-prefix | --program-prefix | --program-prefi | --program-pref \
991 | --program-pre | --program-pr | --program-p)
992 ac_prev=program_prefix ;;
993 -program-prefix=* | --program-prefix=* | --program-prefi=* \
994 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
995 program_prefix=$ac_optarg ;;
997 -program-suffix | --program-suffix | --program-suffi | --program-suff \
998 | --program-suf | --program-su | --program-s)
999 ac_prev=program_suffix ;;
1000 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1001 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1002 program_suffix=$ac_optarg ;;
1004 -program-transform-name | --program-transform-name \
1005 | --program-transform-nam | --program-transform-na \
1006 | --program-transform-n | --program-transform- \
1007 | --program-transform | --program-transfor \
1008 | --program-transfo | --program-transf \
1009 | --program-trans | --program-tran \
1010 | --progr-tra | --program-tr | --program-t)
1011 ac_prev=program_transform_name ;;
1012 -program-transform-name=* | --program-transform-name=* \
1013 | --program-transform-nam=* | --program-transform-na=* \
1014 | --program-transform-n=* | --program-transform-=* \
1015 | --program-transform=* | --program-transfor=* \
1016 | --program-transfo=* | --program-transf=* \
1017 | --program-trans=* | --program-tran=* \
1018 | --progr-tra=* | --program-tr=* | --program-t=*)
1019 program_transform_name=$ac_optarg ;;
1021 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1023 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1024 pdfdir=$ac_optarg ;;
1026 -psdir | --psdir | --psdi | --psd | --ps)
1028 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1031 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1032 | -silent | --silent | --silen | --sile | --sil)
1035 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1037 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1039 sbindir=$ac_optarg ;;
1041 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1042 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1043 | --sharedst | --shareds | --shared | --share | --shar \
1045 ac_prev=sharedstatedir ;;
1046 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1047 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1048 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1050 sharedstatedir=$ac_optarg ;;
1052 -site | --site | --sit)
1054 -site=* | --site=* | --sit=*)
1057 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1059 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1060 srcdir=$ac_optarg ;;
1062 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1063 | --syscon | --sysco | --sysc | --sys | --sy)
1064 ac_prev=sysconfdir ;;
1065 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1066 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1067 sysconfdir=$ac_optarg ;;
1069 -target | --target | --targe | --targ | --tar | --ta | --t)
1070 ac_prev=target_alias ;;
1071 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1072 target_alias=$ac_optarg ;;
1074 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1077 -version | --version | --versio | --versi | --vers | -V)
1078 ac_init_version=: ;;
1081 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1085 { (exit 1); exit 1; }; }
1086 ac_useropt_orig=$ac_useropt
1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1093 ac_unrecognized_sep=', ';;
1095 eval with_$ac_useropt=\$ac_optarg ;;
1097 -without-* | --without-*)
1098 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1112 eval with_$ac_useropt=no ;;
1115 # Obsolete; use --with-x.
1118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1119 | --x-incl | --x-inc | --x-in | --x-i)
1120 ac_prev=x_includes ;;
1121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1123 x_includes=$ac_optarg ;;
1125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1127 ac_prev=x_libraries ;;
1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1130 x_libraries=$ac_optarg ;;
1132 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1133 Try \`$0 --help' for more information." >&2
1134 { (exit 1); exit 1; }; }
1138 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1141 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142 { (exit 1); exit 1; }; }
1143 eval $ac_envvar=\$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 if test -n "$ac_prev"; then
1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1159 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1160 { (exit 1); exit 1; }; }
1163 if test -n "$ac_unrecognized_opts"; then
1164 case $enable_option_checking in
1166 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1167 { (exit 1); exit 1; }; } ;;
1168 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172 # Check all directory arguments for consistency.
1173 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1174 datadir sysconfdir sharedstatedir localstatedir includedir \
1175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1176 libdir localedir mandir
1178 eval ac_val=\$$ac_var
1179 # Remove trailing slashes.
1182 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1183 eval $ac_var=\$ac_val;;
1185 # Be sure to have absolute directory names.
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$as_myself" ||
1233 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$as_myself" : 'X\(//\)[^/]' \| \
1235 X"$as_myself" : 'X\(//\)$' \| \
1236 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1237 $as_echo X"$as_myself" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures utakata 0.0.1 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/utakata@:>@
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1354 --program-prefix=PREFIX prepend PREFIX to installed program names
1355 --program-suffix=SUFFIX append SUFFIX to installed program names
1356 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive ) echo "Configuration of utakata 0.0.1:";;
1367 --disable-option-checking ignore unrecognized --enable/--with options
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --disable-dependency-tracking speeds up one-time build
1371 --enable-dependency-tracking do not reject slow dependency extractors
1373 Some influential environment variables:
1374 CXX C++ compiler command
1375 CXXFLAGS C++ compiler flags
1376 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1377 nonstandard directory <lib dir>
1378 LIBS libraries to pass to the linker, e.g. -l<library>
1379 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1380 you have headers in a nonstandard directory <include dir>
1381 CC C compiler command
1382 CFLAGS C compiler flags
1385 Use these variables to override the choices made by `configure' or to help
1386 it to find libraries and programs with nonstandard names/locations.
1388 Report bugs to <BUG-REPORT-ADDRESS>.
1393 if test "$ac_init_help" = "recursive"; then
1394 # If there are subdirs, report their specific --help.
1395 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1396 test -d "$ac_dir" ||
1397 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1405 # A ".." for each directory in $ac_dir_suffix.
1406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1407 case $ac_top_builddir_sub in
1408 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1412 ac_abs_top_builddir=$ac_pwd
1413 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1414 # for backward compatibility:
1415 ac_top_builddir=$ac_top_build_prefix
1418 .) # We are building in place.
1420 ac_top_srcdir=$ac_top_builddir_sub
1421 ac_abs_top_srcdir=$ac_pwd ;;
1422 [\\/]* | ?:[\\/]* ) # Absolute name.
1423 ac_srcdir=$srcdir$ac_dir_suffix;
1424 ac_top_srcdir=$srcdir
1425 ac_abs_top_srcdir=$srcdir ;;
1427 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1428 ac_top_srcdir=$ac_top_build_prefix$srcdir
1429 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1431 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1433 cd "$ac_dir" || { ac_status=$?; continue; }
1434 # Check for guested configure.
1435 if test -f "$ac_srcdir/configure.gnu"; then
1437 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1438 elif test -f "$ac_srcdir/configure"; then
1440 $SHELL "$ac_srcdir/configure" --help=recursive
1442 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1444 cd "$ac_pwd" || { ac_status=$?; break; }
1448 test -n "$ac_init_help" && exit $ac_status
1449 if $ac_init_version; then
1451 utakata configure 0.0.1
1452 generated by GNU Autoconf 2.63
1454 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1455 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1456 This configure script is free software; the Free Software Foundation
1457 gives unlimited permission to copy, distribute and modify it.
1461 cat >config.log <<_ACEOF
1462 This file contains any messages produced by compilers while
1463 running configure, to aid debugging if configure makes a mistake.
1465 It was created by utakata $as_me 0.0.1, which was
1466 generated by GNU Autoconf 2.63. Invocation command line was
1474 @%:@@%:@ --------- @%:@@%:@
1475 @%:@@%:@ Platform. @%:@@%:@
1476 @%:@@%:@ --------- @%:@@%:@
1478 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1479 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1480 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1481 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1482 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1484 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1485 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1487 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1488 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1489 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1490 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1491 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1492 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1493 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501 test -z "$as_dir" && as_dir=.
1502 $as_echo "PATH: $as_dir"
1511 @%:@@%:@ ----------- @%:@@%:@
1512 @%:@@%:@ Core tests. @%:@@%:@
1513 @%:@@%:@ ----------- @%:@@%:@
1518 # Keep a trace of the command line.
1519 # Strip out --no-create and --no-recursion so they do not pile up.
1520 # Strip out --silent because we don't want to record it for future runs.
1521 # Also quote any args containing shell meta-characters.
1522 # Make two passes to allow for proper duplicate-argument suppression.
1526 ac_must_keep_next=false
1532 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1533 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1534 | -silent | --silent | --silen | --sile | --sil)
1537 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1540 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1542 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1543 if test $ac_must_keep_next = true; then
1544 ac_must_keep_next=false # Got value, back to normal.
1547 *=* | --config-cache | -C | -disable-* | --disable-* \
1548 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1549 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1550 | -with-* | --with-* | -without-* | --without-* | --x)
1551 case "$ac_configure_args0 " in
1552 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1555 -* ) ac_must_keep_next=true ;;
1558 ac_configure_args="$ac_configure_args '$ac_arg'"
1563 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1564 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1566 # When interrupted or exit'd, cleanup temporary files, and complete
1567 # config.log. We remove comments because anyway the quotes in there
1568 # would cause problems or look ugly.
1569 # WARNING: Use '\'' to represent an apostrophe within the trap.
1570 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1571 trap 'exit_status=$?
1572 # Save into config.log some information that might help in debugging.
1577 @%:@@%:@ ---------------- @%:@@%:@
1578 @%:@@%:@ Cache variables. @%:@@%:@
1579 @%:@@%:@ ---------------- @%:@@%:@
1582 # The following way of writing the cache mishandles newlines in values,
1584 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1585 eval ac_val=\$$ac_var
1589 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1590 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1593 _ | IFS | as_nl) ;; #(
1594 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1595 *) $as_unset $ac_var ;;
1600 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1601 *${as_nl}ac_space=\ *)
1603 "s/'\''/'\''\\\\'\'''\''/g;
1604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 @%:@@%:@ ----------------- @%:@@%:@
1616 @%:@@%:@ Output variables. @%:@@%:@
1617 @%:@@%:@ ----------------- @%:@@%:@
1620 for ac_var in $ac_subst_vars
1622 eval ac_val=\$$ac_var
1624 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1626 $as_echo "$ac_var='\''$ac_val'\''"
1630 if test -n "$ac_subst_files"; then
1632 @%:@@%:@ ------------------- @%:@@%:@
1633 @%:@@%:@ File substitutions. @%:@@%:@
1634 @%:@@%:@ ------------------- @%:@@%:@
1637 for ac_var in $ac_subst_files
1639 eval ac_val=\$$ac_var
1641 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1643 $as_echo "$ac_var='\''$ac_val'\''"
1648 if test -s confdefs.h; then
1650 @%:@@%:@ ----------- @%:@@%:@
1651 @%:@@%:@ confdefs.h. @%:@@%:@
1652 @%:@@%:@ ----------- @%:@@%:@
1658 test "$ac_signal" != 0 &&
1659 $as_echo "$as_me: caught signal $ac_signal"
1660 $as_echo "$as_me: exit $exit_status"
1662 rm -f core *.core core.conftest.* &&
1663 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1666 for ac_signal in 1 2 13 15; do
1667 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1671 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1672 rm -f -r conftest* confdefs.h
1674 # Predefined preprocessor variables.
1676 cat >>confdefs.h <<_ACEOF
1677 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1681 cat >>confdefs.h <<_ACEOF
1682 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 cat >>confdefs.h <<_ACEOF
1687 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 cat >>confdefs.h <<_ACEOF
1692 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1696 cat >>confdefs.h <<_ACEOF
1697 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 # Let the site file select an alternate cache file if it wants to.
1702 # Prefer an explicitly selected file to automatically selected ones.
1705 if test -n "$CONFIG_SITE"; then
1706 ac_site_file1=$CONFIG_SITE
1707 elif test "x$prefix" != xNONE; then
1708 ac_site_file1=$prefix/share/config.site
1709 ac_site_file2=$prefix/etc/config.site
1711 ac_site_file1=$ac_default_prefix/share/config.site
1712 ac_site_file2=$ac_default_prefix/etc/config.site
1714 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1716 test "x$ac_site_file" = xNONE && continue
1717 if test -r "$ac_site_file"; then
1718 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 $as_echo "$as_me: loading cache $cache_file" >&6;}
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1737 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 $as_echo "$as_me: creating cache $cache_file" >&6;}
1742 # Check that the precious variables saved in the cache have kept the same
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1752 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1756 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 # differences in whitespace do not lead to failure.
1763 ac_old_val_w=`echo x $ac_old_val`
1764 ac_new_val_w=`echo x $ac_new_val`
1765 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1766 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1767 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 ac_cache_corrupted=:
1770 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1771 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1772 eval $ac_var=\$ac_old_val
1774 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1775 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1776 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1777 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1780 # Pass precious variables to config.status.
1781 if test "$ac_new_set" = set; then
1783 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1784 *) ac_arg=$ac_var=$ac_new_val ;;
1786 case " $ac_configure_args " in
1787 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1788 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1792 if $ac_cache_corrupted; then
1793 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1795 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1796 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1797 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1798 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1799 { (exit 1); exit 1; }; }
1827 ac_cpp='$CPP $CPPFLAGS'
1828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1834 ac_config_headers="$ac_config_headers config.h"
1836 am__api_version='1.10'
1839 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1840 if test -f "$ac_dir/install-sh"; then
1842 ac_install_sh="$ac_aux_dir/install-sh -c"
1844 elif test -f "$ac_dir/install.sh"; then
1846 ac_install_sh="$ac_aux_dir/install.sh -c"
1848 elif test -f "$ac_dir/shtool"; then
1850 ac_install_sh="$ac_aux_dir/shtool install -c"
1854 if test -z "$ac_aux_dir"; then
1855 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1856 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1857 { (exit 1); exit 1; }; }
1860 # These three variables are undocumented and unsupported,
1861 # and are intended to be withdrawn in a future Autoconf release.
1862 # They can cause serious problems if a builder's source tree is in a directory
1863 # whose full name contains unusual characters.
1864 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1865 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1866 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1869 # Find a good install program. We prefer a C program (faster),
1870 # so one script is as good as another. But avoid the broken or
1871 # incompatible versions:
1872 # SysV /etc/install, /usr/sbin/install
1873 # SunOS /usr/etc/install
1874 # IRIX /sbin/install
1876 # AmigaOS /C/install, which installs bootblocks on floppy discs
1877 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1878 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1879 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1880 # OS/2's system install, which has a completely different semantic
1881 # ./install, which can be erroneously created by make from ./install.sh.
1882 # Reject install programs that cannot install multiple files.
1883 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1884 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1885 if test -z "$INSTALL"; then
1886 if test "${ac_cv_path_install+set}" = set; then
1887 $as_echo_n "(cached) " >&6
1889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893 test -z "$as_dir" && as_dir=.
1894 # Account for people who put trailing slashes in PATH elements.
1896 ./ | .// | /cC/* | \
1897 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1898 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1901 # OSF1 and SCO ODT 3.0 have their own names for install.
1902 # Don't use installbsd from OSF since it installs stuff as root
1904 for ac_prog in ginstall scoinst install; do
1905 for ac_exec_ext in '' $ac_executable_extensions; do
1906 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1907 if test $ac_prog = install &&
1908 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1909 # AIX install. It has an incompatible calling convention.
1911 elif test $ac_prog = install &&
1912 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1913 # program-specific install script used by HP pwplus--don't use.
1916 rm -rf conftest.one conftest.two conftest.dir
1917 echo one > conftest.one
1918 echo two > conftest.two
1920 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1921 test -s conftest.one && test -s conftest.two &&
1922 test -s conftest.dir/conftest.one &&
1923 test -s conftest.dir/conftest.two
1925 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1938 rm -rf conftest.one conftest.two conftest.dir
1941 if test "${ac_cv_path_install+set}" = set; then
1942 INSTALL=$ac_cv_path_install
1944 # As a last resort, use the slow shell script. Don't cache a
1945 # value for INSTALL within a source directory, because that will
1946 # break other packages using the cache if that directory is
1947 # removed, or if the value is a relative name.
1948 INSTALL=$ac_install_sh
1951 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1952 $as_echo "$INSTALL" >&6; }
1954 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1955 # It thinks the first close brace ends the variable substitution.
1956 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1958 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1960 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1962 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1963 $as_echo_n "checking whether build environment is sane... " >&6; }
1966 echo timestamp > conftest.file
1967 # Do `set' in a subshell so we don't clobber the current shell's
1968 # arguments. Must try -L first in case configure is actually a
1969 # symlink; some systems play weird games with the mod time of symlinks
1970 # (eg FreeBSD returns the mod time of the symlink's containing
1973 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1974 if test "$*" = "X"; then
1976 set X `ls -t $srcdir/configure conftest.file`
1979 if test "$*" != "X $srcdir/configure conftest.file" \
1980 && test "$*" != "X conftest.file $srcdir/configure"; then
1982 # If neither matched, then we have a broken ls. This can happen
1983 # if, for instance, CONFIG_SHELL is bash and it inherits a
1984 # broken ls alias from the environment. This has actually
1985 # happened. Such a system could not be considered "sane".
1986 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1987 alias in your environment" >&5
1988 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1989 alias in your environment" >&2;}
1990 { (exit 1); exit 1; }; }
1993 test "$2" = conftest.file
1999 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2000 Check your system clock" >&5
2001 $as_echo "$as_me: error: newly created file is older than distributed files!
2002 Check your system clock" >&2;}
2003 { (exit 1); exit 1; }; }
2005 { $as_echo "$as_me:$LINENO: result: yes" >&5
2006 $as_echo "yes" >&6; }
2007 test "$program_prefix" != NONE &&
2008 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2009 # Use a double $ so make ignores it.
2010 test "$program_suffix" != NONE &&
2011 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2012 # Double any \ or $.
2013 # By default was `s,x,x', remove it if useless.
2014 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2015 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2017 # expand $ac_aux_dir to an absolute path
2018 am_aux_dir=`cd $ac_aux_dir && pwd`
2020 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2021 # Use eval to expand $SHELL
2022 if eval "$MISSING --run true"; then
2023 am_missing_run="$MISSING --run "
2026 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2027 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2030 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2031 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2032 if test -z "$MKDIR_P"; then
2033 if test "${ac_cv_path_mkdir+set}" = set; then
2034 $as_echo_n "(cached) " >&6
2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2040 test -z "$as_dir" && as_dir=.
2041 for ac_prog in mkdir gmkdir; do
2042 for ac_exec_ext in '' $ac_executable_extensions; do
2043 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2044 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2045 'mkdir (GNU coreutils) '* | \
2046 'mkdir (coreutils) '* | \
2047 'mkdir (fileutils) '4.1*)
2048 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2058 if test "${ac_cv_path_mkdir+set}" = set; then
2059 MKDIR_P="$ac_cv_path_mkdir -p"
2061 # As a last resort, use the slow shell script. Don't cache a
2062 # value for MKDIR_P within a source directory, because that will
2063 # break other packages using the cache if that directory is
2064 # removed, or if the value is a relative name.
2065 test -d ./--version && rmdir ./--version
2066 MKDIR_P="$ac_install_sh -d"
2069 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2070 $as_echo "$MKDIR_P" >&6; }
2074 [\\/$]* | ?:[\\/]*) ;;
2075 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2078 for ac_prog in gawk mawk nawk awk
2080 # Extract the first word of "$ac_prog", so it can be a program name with args.
2081 set dummy $ac_prog; ac_word=$2
2082 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 $as_echo_n "checking for $ac_word... " >&6; }
2084 if test "${ac_cv_prog_AWK+set}" = set; then
2085 $as_echo_n "(cached) " >&6
2087 if test -n "$AWK"; then
2088 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 test -z "$as_dir" && as_dir=.
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2097 ac_cv_prog_AWK="$ac_prog"
2098 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2108 if test -n "$AWK"; then
2109 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2110 $as_echo "$AWK" >&6; }
2112 { $as_echo "$as_me:$LINENO: result: no" >&5
2113 $as_echo "no" >&6; }
2117 test -n "$AWK" && break
2120 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2121 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2123 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2124 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2125 $as_echo_n "(cached) " >&6
2127 cat >conftest.make <<\_ACEOF
2130 @echo '@@@%%%=$(MAKE)=@@@%%%'
2132 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2133 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2135 eval ac_cv_prog_make_${ac_make}_set=yes;;
2137 eval ac_cv_prog_make_${ac_make}_set=no;;
2141 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2142 { $as_echo "$as_me:$LINENO: result: yes" >&5
2143 $as_echo "yes" >&6; }
2146 { $as_echo "$as_me:$LINENO: result: no" >&5
2147 $as_echo "no" >&6; }
2148 SET_MAKE="MAKE=${MAKE-make}"
2151 rm -rf .tst 2>/dev/null
2152 mkdir .tst 2>/dev/null
2153 if test -d .tst; then
2158 rmdir .tst 2>/dev/null
2160 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2161 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2162 # is not polluted with repeated "-I."
2163 am__isrc=' -I$(srcdir)'
2164 # test to see if srcdir already configured
2165 if test -f $srcdir/config.status; then
2166 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2167 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2168 { (exit 1); exit 1; }; }
2172 # test whether we have cygpath
2173 if test -z "$CYGPATH_W"; then
2174 if (cygpath --version) >/dev/null 2>/dev/null; then
2175 CYGPATH_W='cygpath -w'
2182 # Define the identity of the package.
2187 # Some tools Automake needs.
2189 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2192 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2195 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2198 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2201 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2203 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2205 # Installed binaries are usually stripped using `strip' when the user
2206 # run `make install-strip'. However `strip' might not be the right
2207 # tool to use in cross-compilation environments, therefore Automake
2208 # will honor the `STRIP' environment variable to overrule this program.
2209 if test "$cross_compiling" != no; then
2210 if test -n "$ac_tool_prefix"; then
2211 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2212 set dummy ${ac_tool_prefix}strip; ac_word=$2
2213 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 $as_echo_n "checking for $ac_word... " >&6; }
2215 if test "${ac_cv_prog_STRIP+set}" = set; then
2216 $as_echo_n "(cached) " >&6
2218 if test -n "$STRIP"; then
2219 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2228 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2229 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 STRIP=$ac_cv_prog_STRIP
2239 if test -n "$STRIP"; then
2240 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2241 $as_echo "$STRIP" >&6; }
2243 { $as_echo "$as_me:$LINENO: result: no" >&5
2244 $as_echo "no" >&6; }
2249 if test -z "$ac_cv_prog_STRIP"; then
2251 # Extract the first word of "strip", so it can be a program name with args.
2252 set dummy strip; ac_word=$2
2253 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2254 $as_echo_n "checking for $ac_word... " >&6; }
2255 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2256 $as_echo_n "(cached) " >&6
2258 if test -n "$ac_ct_STRIP"; then
2259 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2268 ac_cv_prog_ac_ct_STRIP="strip"
2269 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2279 if test -n "$ac_ct_STRIP"; then
2280 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2281 $as_echo "$ac_ct_STRIP" >&6; }
2283 { $as_echo "$as_me:$LINENO: result: no" >&5
2284 $as_echo "no" >&6; }
2287 if test "x$ac_ct_STRIP" = x; then
2290 case $cross_compiling:$ac_tool_warned in
2292 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2294 ac_tool_warned=yes ;;
2299 STRIP="$ac_cv_prog_STRIP"
2303 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2305 # We need awk for the "check" target. The system "awk" is bad on
2307 # Always define AMTAR for backward compatibility.
2309 AMTAR=${AMTAR-"${am_missing_run}tar"}
2311 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2318 # Checks for programs.
2320 ac_cpp='$CXXCPP $CPPFLAGS'
2321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2324 if test -z "$CXX"; then
2325 if test -n "$CCC"; then
2328 if test -n "$ac_tool_prefix"; then
2329 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2332 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2333 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 $as_echo_n "checking for $ac_word... " >&6; }
2335 if test "${ac_cv_prog_CXX+set}" = set; then
2336 $as_echo_n "(cached) " >&6
2338 if test -n "$CXX"; then
2339 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir=.
2346 for ac_exec_ext in '' $ac_executable_extensions; do
2347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2349 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 if test -n "$CXX"; then
2360 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2361 $as_echo "$CXX" >&6; }
2363 { $as_echo "$as_me:$LINENO: result: no" >&5
2364 $as_echo "no" >&6; }
2368 test -n "$CXX" && break
2371 if test -z "$CXX"; then
2373 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2375 # Extract the first word of "$ac_prog", so it can be a program name with args.
2376 set dummy $ac_prog; ac_word=$2
2377 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 $as_echo_n "checking for $ac_word... " >&6; }
2379 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2380 $as_echo_n "(cached) " >&6
2382 if test -n "$ac_ct_CXX"; then
2383 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_ac_ct_CXX="$ac_prog"
2393 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2403 if test -n "$ac_ct_CXX"; then
2404 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2405 $as_echo "$ac_ct_CXX" >&6; }
2407 { $as_echo "$as_me:$LINENO: result: no" >&5
2408 $as_echo "no" >&6; }
2412 test -n "$ac_ct_CXX" && break
2415 if test "x$ac_ct_CXX" = x; then
2418 case $cross_compiling:$ac_tool_warned in
2420 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2422 ac_tool_warned=yes ;;
2430 # Provide some information about the compiler.
2431 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2434 { (ac_try="$ac_compiler --version >&5"
2436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437 *) ac_try_echo=$ac_try;;
2439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2440 $as_echo "$ac_try_echo") >&5
2441 (eval "$ac_compiler --version >&5") 2>&5
2443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }
2445 { (ac_try="$ac_compiler -v >&5"
2447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448 *) ac_try_echo=$ac_try;;
2450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2451 $as_echo "$ac_try_echo") >&5
2452 (eval "$ac_compiler -v >&5") 2>&5
2454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }
2456 { (ac_try="$ac_compiler -V >&5"
2458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2459 *) ac_try_echo=$ac_try;;
2461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2462 $as_echo "$ac_try_echo") >&5
2463 (eval "$ac_compiler -V >&5") 2>&5
2465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }
2468 cat >conftest.$ac_ext <<_ACEOF
2471 cat confdefs.h >>conftest.$ac_ext
2472 cat >>conftest.$ac_ext <<_ACEOF
2473 /* end confdefs.h. */
2483 ac_clean_files_save=$ac_clean_files
2484 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2485 # Try to create an executable without -o first, disregard a.out.
2486 # It will help us diagnose broken compilers, and finding out an intuition
2488 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2489 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2490 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2492 # The possible output files:
2493 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2496 for ac_file in $ac_files
2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2500 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2505 if { (ac_try="$ac_link_default"
2507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2508 *) ac_try_echo=$ac_try;;
2510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2511 $as_echo "$ac_try_echo") >&5
2512 (eval "$ac_link_default") 2>&5
2514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; then
2516 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2517 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2518 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2519 # so that the user can short-circuit this test for compilers unknown to
2521 for ac_file in $ac_files ''
2523 test -f "$ac_file" || continue
2525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2528 # We found the default executable, but exeext='' is most
2532 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2534 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2536 # We set ac_cv_exeext here because the later test for it is not
2537 # safe: cross compilers may not add the suffix if given an `-o'
2538 # argument, so we may need to know it at that point already.
2539 # Even if this section looks crufty: it has the advantage of
2546 test "$ac_cv_exeext" = no && ac_cv_exeext=
2552 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2553 $as_echo "$ac_file" >&6; }
2554 if test -z "$ac_file"; then
2555 $as_echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.$ac_ext >&5
2558 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2561 See \`config.log' for more details." >&5
2562 $as_echo "$as_me: error: C++ compiler cannot create executables
2563 See \`config.log' for more details." >&2;}
2564 { (exit 77); exit 77; }; }; }
2567 ac_exeext=$ac_cv_exeext
2569 # Check that the compiler produces executables we can run. If not, either
2570 # the compiler is broken, or we cross compile.
2571 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2572 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2573 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2574 # If not cross compiling, check that we can run a simple program.
2575 if test "$cross_compiling" != yes; then
2576 if { ac_try='./$ac_file'
2577 { (case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2582 $as_echo "$ac_try_echo") >&5
2583 (eval "$ac_try") 2>&5
2585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; }; then
2589 if test "$cross_compiling" = maybe; then
2592 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2594 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2595 If you meant to cross compile, use \`--host'.
2596 See \`config.log' for more details." >&5
2597 $as_echo "$as_me: error: cannot run C++ compiled programs.
2598 If you meant to cross compile, use \`--host'.
2599 See \`config.log' for more details." >&2;}
2600 { (exit 1); exit 1; }; }; }
2604 { $as_echo "$as_me:$LINENO: result: yes" >&5
2605 $as_echo "yes" >&6; }
2607 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2608 ac_clean_files=$ac_clean_files_save
2609 # Check that the compiler produces executables we can run. If not, either
2610 # the compiler is broken, or we cross compile.
2611 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2612 $as_echo_n "checking whether we are cross compiling... " >&6; }
2613 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2614 $as_echo "$cross_compiling" >&6; }
2616 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2617 $as_echo_n "checking for suffix of executables... " >&6; }
2618 if { (ac_try="$ac_link"
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2624 $as_echo "$ac_try_echo") >&5
2625 (eval "$ac_link") 2>&5
2627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; then
2629 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2630 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2631 # work properly (i.e., refer to `conftest.exe'), while it won't with
2633 for ac_file in conftest.exe conftest conftest.*; do
2634 test -f "$ac_file" || continue
2636 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2637 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2643 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2645 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2646 See \`config.log' for more details." >&5
2647 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2648 See \`config.log' for more details." >&2;}
2649 { (exit 1); exit 1; }; }; }
2652 rm -f conftest$ac_cv_exeext
2653 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2654 $as_echo "$ac_cv_exeext" >&6; }
2656 rm -f conftest.$ac_ext
2657 EXEEXT=$ac_cv_exeext
2659 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2660 $as_echo_n "checking for suffix of object files... " >&6; }
2661 if test "${ac_cv_objext+set}" = set; then
2662 $as_echo_n "(cached) " >&6
2664 cat >conftest.$ac_ext <<_ACEOF
2667 cat confdefs.h >>conftest.$ac_ext
2668 cat >>conftest.$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2679 rm -f conftest.o conftest.obj
2680 if { (ac_try="$ac_compile"
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2686 $as_echo "$ac_try_echo") >&5
2687 (eval "$ac_compile") 2>&5
2689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; then
2691 for ac_file in conftest.o conftest.obj conftest.*; do
2692 test -f "$ac_file" || continue;
2694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2695 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2700 $as_echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.$ac_ext >&5
2703 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2705 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2706 See \`config.log' for more details." >&5
2707 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2708 See \`config.log' for more details." >&2;}
2709 { (exit 1); exit 1; }; }; }
2712 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2714 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2715 $as_echo "$ac_cv_objext" >&6; }
2716 OBJEXT=$ac_cv_objext
2718 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2719 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2720 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2721 $as_echo_n "(cached) " >&6
2723 cat >conftest.$ac_ext <<_ACEOF
2726 cat confdefs.h >>conftest.$ac_ext
2727 cat >>conftest.$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2741 rm -f conftest.$ac_objext
2742 if { (ac_try="$ac_compile"
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2748 $as_echo "$ac_try_echo") >&5
2749 (eval "$ac_compile") 2>conftest.er1
2751 grep -v '^ *+' conftest.er1 >conftest.err
2753 cat conftest.err >&5
2754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); } && {
2756 test -z "$ac_cxx_werror_flag" ||
2757 test ! -s conftest.err
2758 } && test -s conftest.$ac_objext; then
2761 $as_echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2768 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2771 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2772 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2773 if test $ac_compiler_gnu = yes; then
2778 ac_test_CXXFLAGS=${CXXFLAGS+set}
2779 ac_save_CXXFLAGS=$CXXFLAGS
2780 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2781 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2782 if test "${ac_cv_prog_cxx_g+set}" = set; then
2783 $as_echo_n "(cached) " >&6
2785 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2786 ac_cxx_werror_flag=yes
2789 cat >conftest.$ac_ext <<_ACEOF
2792 cat confdefs.h >>conftest.$ac_ext
2793 cat >>conftest.$ac_ext <<_ACEOF
2794 /* end confdefs.h. */
2804 rm -f conftest.$ac_objext
2805 if { (ac_try="$ac_compile"
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2811 $as_echo "$ac_try_echo") >&5
2812 (eval "$ac_compile") 2>conftest.er1
2814 grep -v '^ *+' conftest.er1 >conftest.err
2816 cat conftest.err >&5
2817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } && {
2819 test -z "$ac_cxx_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext; then
2822 ac_cv_prog_cxx_g=yes
2824 $as_echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2828 cat >conftest.$ac_ext <<_ACEOF
2831 cat confdefs.h >>conftest.$ac_ext
2832 cat >>conftest.$ac_ext <<_ACEOF
2833 /* end confdefs.h. */
2843 rm -f conftest.$ac_objext
2844 if { (ac_try="$ac_compile"
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2850 $as_echo "$ac_try_echo") >&5
2851 (eval "$ac_compile") 2>conftest.er1
2853 grep -v '^ *+' conftest.er1 >conftest.err
2855 cat conftest.err >&5
2856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); } && {
2858 test -z "$ac_cxx_werror_flag" ||
2859 test ! -s conftest.err
2860 } && test -s conftest.$ac_objext; then
2863 $as_echo "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2868 cat >conftest.$ac_ext <<_ACEOF
2871 cat confdefs.h >>conftest.$ac_ext
2872 cat >>conftest.$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2883 rm -f conftest.$ac_objext
2884 if { (ac_try="$ac_compile"
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2890 $as_echo "$ac_try_echo") >&5
2891 (eval "$ac_compile") 2>conftest.er1
2893 grep -v '^ *+' conftest.er1 >conftest.err
2895 cat conftest.err >&5
2896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); } && {
2898 test -z "$ac_cxx_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest.$ac_objext; then
2901 ac_cv_prog_cxx_g=yes
2903 $as_echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2916 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2918 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2919 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2920 if test "$ac_test_CXXFLAGS" = set; then
2921 CXXFLAGS=$ac_save_CXXFLAGS
2922 elif test $ac_cv_prog_cxx_g = yes; then
2923 if test "$GXX" = yes; then
2929 if test "$GXX" = yes; then
2936 ac_cpp='$CPP $CPPFLAGS'
2937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2940 DEPDIR="${am__leading_dot}deps"
2942 ac_config_commands="$ac_config_commands depfiles"
2945 am_make=${MAKE-make}
2946 cat > confinc << 'END'
2951 # If we don't find an include directive, just comment out the code.
2952 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2953 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2957 # First try GNU make style include.
2958 echo "include confinc" > confmf
2959 # We grep out `Entering directory' and `Leaving directory'
2960 # messages which can occur if `w' ends up in MAKEFLAGS.
2961 # In particular we don't look at `^make:' because GNU make might
2962 # be invoked under some other name (usually "gmake"), in which
2963 # case it prints its new name instead of `make'.
2964 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2969 # Now try BSD make style include.
2970 if test "$am__include" = "#"; then
2971 echo '.include "confinc"' > confmf
2972 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2973 am__include=.include
2980 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2981 $as_echo "$_am_result" >&6; }
2982 rm -f confinc confmf
2984 @%:@ Check whether --enable-dependency-tracking was given.
2985 if test "${enable_dependency_tracking+set}" = set; then
2986 enableval=$enable_dependency_tracking;
2989 if test "x$enable_dependency_tracking" != xno; then
2990 am_depcomp="$ac_aux_dir/depcomp"
2993 if test "x$enable_dependency_tracking" != xno; then
3003 depcc="$CXX" am_compiler_list=
3005 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3006 $as_echo_n "checking dependency style of $depcc... " >&6; }
3007 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3008 $as_echo_n "(cached) " >&6
3010 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3011 # We make a subdir and do the tests there. Otherwise we can end up
3012 # making bogus files that we don't know about and never remove. For
3013 # instance it was reported that on HP-UX the gcc test will end up
3014 # making a dummy file named `D' -- because `-MD' means `put the output
3017 # Copy depcomp to subdir because otherwise we won't find it if we're
3018 # using a relative directory.
3019 cp "$am_depcomp" conftest.dir
3021 # We will build objects and dependencies in a subdirectory because
3022 # it helps to detect inapplicable dependency modes. For instance
3023 # both Tru64's cc and ICC support -MD to output dependencies as a
3024 # side effect of compilation, but ICC will put the dependencies in
3025 # the current directory while Tru64 will put them in the object
3029 am_cv_CXX_dependencies_compiler_type=none
3030 if test "$am_compiler_list" = ""; then
3031 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3033 for depmode in $am_compiler_list; do
3034 # Setup a source with many dependencies, because some compilers
3035 # like to wrap large dependency lists on column 80 (with \), and
3036 # we should not choose a depcomp mode which is confused by this.
3038 # We need to recreate these files for each test, as the compiler may
3039 # overwrite some of them when testing with obscure command lines.
3040 # This happens at least with the AIX C compiler.
3042 for i in 1 2 3 4 5 6; do
3043 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3044 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3045 # Solaris 8's {/usr,}/bin/sh.
3046 touch sub/conftst$i.h
3048 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3052 # after this tag, mechanisms are not by side-effect, so they'll
3053 # only be used when explicitly requested
3054 if test "x$enable_dependency_tracking" = xyes; then
3062 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3063 # mode. It turns out that the SunPro C++ compiler does not properly
3064 # handle `-M -o', and we need to detect this.
3065 if depmode=$depmode \
3066 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3067 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3068 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3069 >/dev/null 2>conftest.err &&
3070 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3071 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3072 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3073 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3074 # icc doesn't choke on unknown options, it will just issue warnings
3075 # or remarks (even with -Werror). So we grep stderr for any message
3076 # that says an option was ignored or not supported.
3077 # When given -MP, icc 7.0 and 7.1 complain thusly:
3078 # icc: Command line warning: ignoring option '-M'; no argument required
3079 # The diagnosis changed in icc 8.0:
3080 # icc: Command line remark: option '-MP' not supported
3081 if (grep 'ignoring option' conftest.err ||
3082 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3083 am_cv_CXX_dependencies_compiler_type=$depmode
3092 am_cv_CXX_dependencies_compiler_type=none
3096 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3097 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3098 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3101 test "x$enable_dependency_tracking" != xno \
3102 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3103 am__fastdepCXX_TRUE=
3104 am__fastdepCXX_FALSE='#'
3106 am__fastdepCXX_TRUE='#'
3107 am__fastdepCXX_FALSE=
3112 ac_cpp='$CPP $CPPFLAGS'
3113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3116 if test -n "$ac_tool_prefix"; then
3117 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3118 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3119 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3120 $as_echo_n "checking for $ac_word... " >&6; }
3121 if test "${ac_cv_prog_CC+set}" = set; then
3122 $as_echo_n "(cached) " >&6
3124 if test -n "$CC"; then
3125 ac_cv_prog_CC="$CC" # Let the user override the test.
3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir=.
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3134 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3135 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 if test -n "$CC"; then
3146 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3147 $as_echo "$CC" >&6; }
3149 { $as_echo "$as_me:$LINENO: result: no" >&5
3150 $as_echo "no" >&6; }
3155 if test -z "$ac_cv_prog_CC"; then
3157 # Extract the first word of "gcc", so it can be a program name with args.
3158 set dummy gcc; ac_word=$2
3159 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3162 $as_echo_n "(cached) " >&6
3164 if test -n "$ac_ct_CC"; then
3165 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir=.
3172 for ac_exec_ext in '' $ac_executable_extensions; do
3173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174 ac_cv_prog_ac_ct_CC="gcc"
3175 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3185 if test -n "$ac_ct_CC"; then
3186 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3187 $as_echo "$ac_ct_CC" >&6; }
3189 { $as_echo "$as_me:$LINENO: result: no" >&5
3190 $as_echo "no" >&6; }
3193 if test "x$ac_ct_CC" = x; then
3196 case $cross_compiling:$ac_tool_warned in
3198 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3200 ac_tool_warned=yes ;;
3208 if test -z "$CC"; then
3209 if test -n "$ac_tool_prefix"; then
3210 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3211 set dummy ${ac_tool_prefix}cc; ac_word=$2
3212 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3213 $as_echo_n "checking for $ac_word... " >&6; }
3214 if test "${ac_cv_prog_CC+set}" = set; then
3215 $as_echo_n "(cached) " >&6
3217 if test -n "$CC"; then
3218 ac_cv_prog_CC="$CC" # Let the user override the test.
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3224 test -z "$as_dir" && as_dir=.
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3227 ac_cv_prog_CC="${ac_tool_prefix}cc"
3228 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 if test -n "$CC"; then
3239 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3240 $as_echo "$CC" >&6; }
3242 { $as_echo "$as_me:$LINENO: result: no" >&5
3243 $as_echo "no" >&6; }
3249 if test -z "$CC"; then
3250 # Extract the first word of "cc", so it can be a program name with args.
3251 set dummy cc; ac_word=$2
3252 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if test "${ac_cv_prog_CC+set}" = set; then
3255 $as_echo_n "(cached) " >&6
3257 if test -n "$CC"; then
3258 ac_cv_prog_CC="$CC" # Let the user override the test.
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir=.
3266 for ac_exec_ext in '' $ac_executable_extensions; do
3267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3269 ac_prog_rejected=yes
3273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 if test $ac_prog_rejected = yes; then
3281 # We found a bogon in the path, so make sure we never use it.
3282 set dummy $ac_cv_prog_CC
3284 if test $@%:@ != 0; then
3285 # We chose a different compiler from the bogus one.
3286 # However, it has the same basename, so the bogon will be chosen
3287 # first if we set CC to just the basename; use the full file name.
3289 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3295 if test -n "$CC"; then
3296 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3297 $as_echo "$CC" >&6; }
3299 { $as_echo "$as_me:$LINENO: result: no" >&5
3300 $as_echo "no" >&6; }
3305 if test -z "$CC"; then
3306 if test -n "$ac_tool_prefix"; then
3307 for ac_prog in cl.exe
3309 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3310 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3311 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3312 $as_echo_n "checking for $ac_word... " >&6; }
3313 if test "${ac_cv_prog_CC+set}" = set; then
3314 $as_echo_n "(cached) " >&6
3316 if test -n "$CC"; then
3317 ac_cv_prog_CC="$CC" # Let the user override the test.
3319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3323 test -z "$as_dir" && as_dir=.
3324 for ac_exec_ext in '' $ac_executable_extensions; do
3325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3326 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3327 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 if test -n "$CC"; then
3338 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3339 $as_echo "$CC" >&6; }
3341 { $as_echo "$as_me:$LINENO: result: no" >&5
3342 $as_echo "no" >&6; }
3346 test -n "$CC" && break
3349 if test -z "$CC"; then
3351 for ac_prog in cl.exe
3353 # Extract the first word of "$ac_prog", so it can be a program name with args.
3354 set dummy $ac_prog; ac_word=$2
3355 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3358 $as_echo_n "(cached) " >&6
3360 if test -n "$ac_ct_CC"; then
3361 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir=.
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370 ac_cv_prog_ac_ct_CC="$ac_prog"
3371 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3381 if test -n "$ac_ct_CC"; then
3382 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3383 $as_echo "$ac_ct_CC" >&6; }
3385 { $as_echo "$as_me:$LINENO: result: no" >&5
3386 $as_echo "no" >&6; }
3390 test -n "$ac_ct_CC" && break
3393 if test "x$ac_ct_CC" = x; then
3396 case $cross_compiling:$ac_tool_warned in
3398 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3400 ac_tool_warned=yes ;;
3409 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3412 See \`config.log' for more details." >&5
3413 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3414 See \`config.log' for more details." >&2;}
3415 { (exit 1); exit 1; }; }; }
3417 # Provide some information about the compiler.
3418 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3421 { (ac_try="$ac_compiler --version >&5"
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3427 $as_echo "$ac_try_echo") >&5
3428 (eval "$ac_compiler --version >&5") 2>&5
3430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); }
3432 { (ac_try="$ac_compiler -v >&5"
3434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3438 $as_echo "$ac_try_echo") >&5
3439 (eval "$ac_compiler -v >&5") 2>&5
3441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }
3443 { (ac_try="$ac_compiler -V >&5"
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3449 $as_echo "$ac_try_echo") >&5
3450 (eval "$ac_compiler -V >&5") 2>&5
3452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }
3455 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3456 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3457 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3458 $as_echo_n "(cached) " >&6
3460 cat >conftest.$ac_ext <<_ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3478 rm -f conftest.$ac_objext
3479 if { (ac_try="$ac_compile"
3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3482 *) ac_try_echo=$ac_try;;
3484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3485 $as_echo "$ac_try_echo") >&5
3486 (eval "$ac_compile") 2>conftest.er1
3488 grep -v '^ *+' conftest.er1 >conftest.err
3490 cat conftest.err >&5
3491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } && {
3493 test -z "$ac_c_werror_flag" ||
3494 test ! -s conftest.err
3495 } && test -s conftest.$ac_objext; then
3498 $as_echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3508 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3509 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3510 if test $ac_compiler_gnu = yes; then
3515 ac_test_CFLAGS=${CFLAGS+set}
3516 ac_save_CFLAGS=$CFLAGS
3517 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3518 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3519 if test "${ac_cv_prog_cc_g+set}" = set; then
3520 $as_echo_n "(cached) " >&6
3522 ac_save_c_werror_flag=$ac_c_werror_flag
3523 ac_c_werror_flag=yes
3526 cat >conftest.$ac_ext <<_ACEOF
3529 cat confdefs.h >>conftest.$ac_ext
3530 cat >>conftest.$ac_ext <<_ACEOF
3531 /* end confdefs.h. */
3541 rm -f conftest.$ac_objext
3542 if { (ac_try="$ac_compile"
3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3548 $as_echo "$ac_try_echo") >&5
3549 (eval "$ac_compile") 2>conftest.er1
3551 grep -v '^ *+' conftest.er1 >conftest.err
3553 cat conftest.err >&5
3554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); } && {
3556 test -z "$ac_c_werror_flag" ||
3557 test ! -s conftest.err
3558 } && test -s conftest.$ac_objext; then
3561 $as_echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3565 cat >conftest.$ac_ext <<_ACEOF
3568 cat confdefs.h >>conftest.$ac_ext
3569 cat >>conftest.$ac_ext <<_ACEOF
3570 /* end confdefs.h. */
3580 rm -f conftest.$ac_objext
3581 if { (ac_try="$ac_compile"
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584 *) ac_try_echo=$ac_try;;
3586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3587 $as_echo "$ac_try_echo") >&5
3588 (eval "$ac_compile") 2>conftest.er1
3590 grep -v '^ *+' conftest.er1 >conftest.err
3592 cat conftest.err >&5
3593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); } && {
3595 test -z "$ac_c_werror_flag" ||
3596 test ! -s conftest.err
3597 } && test -s conftest.$ac_objext; then
3600 $as_echo "$as_me: failed program was:" >&5
3601 sed 's/^/| /' conftest.$ac_ext >&5
3603 ac_c_werror_flag=$ac_save_c_werror_flag
3605 cat >conftest.$ac_ext <<_ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3620 rm -f conftest.$ac_objext
3621 if { (ac_try="$ac_compile"
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3627 $as_echo "$ac_try_echo") >&5
3628 (eval "$ac_compile") 2>conftest.er1
3630 grep -v '^ *+' conftest.er1 >conftest.err
3632 cat conftest.err >&5
3633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } && {
3635 test -z "$ac_c_werror_flag" ||
3636 test ! -s conftest.err
3637 } && test -s conftest.$ac_objext; then
3640 $as_echo "$as_me: failed program was:" >&5
3641 sed 's/^/| /' conftest.$ac_ext >&5
3646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3653 ac_c_werror_flag=$ac_save_c_werror_flag
3655 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3656 $as_echo "$ac_cv_prog_cc_g" >&6; }
3657 if test "$ac_test_CFLAGS" = set; then
3658 CFLAGS=$ac_save_CFLAGS
3659 elif test $ac_cv_prog_cc_g = yes; then
3660 if test "$GCC" = yes; then
3666 if test "$GCC" = yes; then
3672 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3673 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3674 if test "${ac_cv_prog_cc_c89+set}" = set; then
3675 $as_echo_n "(cached) " >&6
3677 ac_cv_prog_cc_c89=no
3679 cat >conftest.$ac_ext <<_ACEOF
3682 cat confdefs.h >>conftest.$ac_ext
3683 cat >>conftest.$ac_ext <<_ACEOF
3684 /* end confdefs.h. */
3687 #include <sys/types.h>
3688 #include <sys/stat.h>
3689 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3690 struct buf { int x; };
3691 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3692 static char *e (p, i)
3698 static char *f (char * (*g) (char **, int), char **p, ...)
3703 s = g (p, va_arg (v,int));
3708 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3709 function prototypes and stuff, but not '\xHH' hex character constants.
3710 These don't provoke an error unfortunately, instead are silently treated
3711 as 'x'. The following induces an error, until -std is added to get
3712 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3713 array size at least. It's necessary to write '\x00'==0 to get something
3714 that's true only with -std. */
3715 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3717 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3718 inside strings and character constants. */
3720 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3722 int test (int i, double x);
3723 struct s1 {int (*f) (int a);};
3724 struct s2 {int (*f) (double a);};
3725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3736 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3737 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3739 CC="$ac_save_CC $ac_arg"
3740 rm -f conftest.$ac_objext
3741 if { (ac_try="$ac_compile"
3743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3747 $as_echo "$ac_try_echo") >&5
3748 (eval "$ac_compile") 2>conftest.er1
3750 grep -v '^ *+' conftest.er1 >conftest.err
3752 cat conftest.err >&5
3753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } && {
3755 test -z "$ac_c_werror_flag" ||
3756 test ! -s conftest.err
3757 } && test -s conftest.$ac_objext; then
3758 ac_cv_prog_cc_c89=$ac_arg
3760 $as_echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3766 rm -f core conftest.err conftest.$ac_objext
3767 test "x$ac_cv_prog_cc_c89" != "xno" && break
3769 rm -f conftest.$ac_ext
3774 case "x$ac_cv_prog_cc_c89" in
3776 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3777 $as_echo "none needed" >&6; } ;;
3779 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3780 $as_echo "unsupported" >&6; } ;;
3782 CC="$CC $ac_cv_prog_cc_c89"
3783 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3784 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3789 ac_cpp='$CPP $CPPFLAGS'
3790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3794 depcc="$CC" am_compiler_list=
3796 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3797 $as_echo_n "checking dependency style of $depcc... " >&6; }
3798 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3799 $as_echo_n "(cached) " >&6
3801 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3802 # We make a subdir and do the tests there. Otherwise we can end up
3803 # making bogus files that we don't know about and never remove. For
3804 # instance it was reported that on HP-UX the gcc test will end up
3805 # making a dummy file named `D' -- because `-MD' means `put the output
3808 # Copy depcomp to subdir because otherwise we won't find it if we're
3809 # using a relative directory.
3810 cp "$am_depcomp" conftest.dir
3812 # We will build objects and dependencies in a subdirectory because
3813 # it helps to detect inapplicable dependency modes. For instance
3814 # both Tru64's cc and ICC support -MD to output dependencies as a
3815 # side effect of compilation, but ICC will put the dependencies in
3816 # the current directory while Tru64 will put them in the object
3820 am_cv_CC_dependencies_compiler_type=none
3821 if test "$am_compiler_list" = ""; then
3822 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3824 for depmode in $am_compiler_list; do
3825 # Setup a source with many dependencies, because some compilers
3826 # like to wrap large dependency lists on column 80 (with \), and
3827 # we should not choose a depcomp mode which is confused by this.
3829 # We need to recreate these files for each test, as the compiler may
3830 # overwrite some of them when testing with obscure command lines.
3831 # This happens at least with the AIX C compiler.
3833 for i in 1 2 3 4 5 6; do
3834 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3835 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3836 # Solaris 8's {/usr,}/bin/sh.
3837 touch sub/conftst$i.h
3839 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3843 # after this tag, mechanisms are not by side-effect, so they'll
3844 # only be used when explicitly requested
3845 if test "x$enable_dependency_tracking" = xyes; then
3853 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3854 # mode. It turns out that the SunPro C++ compiler does not properly
3855 # handle `-M -o', and we need to detect this.
3856 if depmode=$depmode \
3857 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3858 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3859 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3860 >/dev/null 2>conftest.err &&
3861 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3862 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3863 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3864 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3865 # icc doesn't choke on unknown options, it will just issue warnings
3866 # or remarks (even with -Werror). So we grep stderr for any message
3867 # that says an option was ignored or not supported.
3868 # When given -MP, icc 7.0 and 7.1 complain thusly:
3869 # icc: Command line warning: ignoring option '-M'; no argument required
3870 # The diagnosis changed in icc 8.0:
3871 # icc: Command line remark: option '-MP' not supported
3872 if (grep 'ignoring option' conftest.err ||
3873 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3874 am_cv_CC_dependencies_compiler_type=$depmode
3883 am_cv_CC_dependencies_compiler_type=none
3887 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3888 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3889 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3892 test "x$enable_dependency_tracking" != xno \
3893 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3895 am__fastdepCC_FALSE='#'
3897 am__fastdepCC_TRUE='#'
3898 am__fastdepCC_FALSE=
3904 # Checks for libraries.
3906 # Checks for header files.
3908 # Checks for typedefs, structures, and compiler characteristics.
3911 ac_cpp='$CPP $CPPFLAGS'
3912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3915 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3916 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3917 # On Suns, sometimes $CPP names a directory.
3918 if test -n "$CPP" && test -d "$CPP"; then
3921 if test -z "$CPP"; then
3922 if test "${ac_cv_prog_CPP+set}" = set; then
3923 $as_echo_n "(cached) " >&6
3925 # Double quotes because CPP needs to be expanded
3926 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3929 for ac_c_preproc_warn_flag in '' yes
3931 # Use a header file that comes with gcc, so configuring glibc
3932 # with a fresh cross-compiler works.
3933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3934 # <limits.h> exists even on freestanding compilers.
3935 # On the NeXT, cc -E runs the code through the compiler's parser,
3936 # not just through cpp. "Syntax error" is here to catch this case.
3937 cat >conftest.$ac_ext <<_ACEOF
3940 cat confdefs.h >>conftest.$ac_ext
3941 cat >>conftest.$ac_ext <<_ACEOF
3942 /* end confdefs.h. */
3944 @%:@ include <limits.h>
3946 @%:@ include <assert.h>
3950 if { (ac_try="$ac_cpp conftest.$ac_ext"
3952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3953 *) ac_try_echo=$ac_try;;
3955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3956 $as_echo "$ac_try_echo") >&5
3957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3959 grep -v '^ *+' conftest.er1 >conftest.err
3961 cat conftest.err >&5
3962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } >/dev/null && {
3964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3965 test ! -s conftest.err
3969 $as_echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.$ac_ext >&5
3972 # Broken: fails on valid input.
3976 rm -f conftest.err conftest.$ac_ext
3978 # OK, works on sane cases. Now check whether nonexistent headers
3979 # can be detected and how.
3980 cat >conftest.$ac_ext <<_ACEOF
3983 cat confdefs.h >>conftest.$ac_ext
3984 cat >>conftest.$ac_ext <<_ACEOF
3985 /* end confdefs.h. */
3986 @%:@include <ac_nonexistent.h>
3988 if { (ac_try="$ac_cpp conftest.$ac_ext"
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3994 $as_echo "$ac_try_echo") >&5
3995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3997 grep -v '^ *+' conftest.er1 >conftest.err
3999 cat conftest.err >&5
4000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); } >/dev/null && {
4002 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4003 test ! -s conftest.err
4005 # Broken: success on invalid input.
4008 $as_echo "$as_me: failed program was:" >&5
4009 sed 's/^/| /' conftest.$ac_ext >&5
4011 # Passes both tests.
4016 rm -f conftest.err conftest.$ac_ext
4019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4020 rm -f conftest.err conftest.$ac_ext
4021 if $ac_preproc_ok; then
4033 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4034 $as_echo "$CPP" >&6; }
4036 for ac_c_preproc_warn_flag in '' yes
4038 # Use a header file that comes with gcc, so configuring glibc
4039 # with a fresh cross-compiler works.
4040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4041 # <limits.h> exists even on freestanding compilers.
4042 # On the NeXT, cc -E runs the code through the compiler's parser,
4043 # not just through cpp. "Syntax error" is here to catch this case.
4044 cat >conftest.$ac_ext <<_ACEOF
4047 cat confdefs.h >>conftest.$ac_ext
4048 cat >>conftest.$ac_ext <<_ACEOF
4049 /* end confdefs.h. */
4051 @%:@ include <limits.h>
4053 @%:@ include <assert.h>
4057 if { (ac_try="$ac_cpp conftest.$ac_ext"
4059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4060 *) ac_try_echo=$ac_try;;
4062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4063 $as_echo "$ac_try_echo") >&5
4064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4066 grep -v '^ *+' conftest.er1 >conftest.err
4068 cat conftest.err >&5
4069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); } >/dev/null && {
4071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4072 test ! -s conftest.err
4076 $as_echo "$as_me: failed program was:" >&5
4077 sed 's/^/| /' conftest.$ac_ext >&5
4079 # Broken: fails on valid input.
4083 rm -f conftest.err conftest.$ac_ext
4085 # OK, works on sane cases. Now check whether nonexistent headers
4086 # can be detected and how.
4087 cat >conftest.$ac_ext <<_ACEOF
4090 cat confdefs.h >>conftest.$ac_ext
4091 cat >>conftest.$ac_ext <<_ACEOF
4092 /* end confdefs.h. */
4093 @%:@include <ac_nonexistent.h>
4095 if { (ac_try="$ac_cpp conftest.$ac_ext"
4097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4101 $as_echo "$ac_try_echo") >&5
4102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4104 grep -v '^ *+' conftest.er1 >conftest.err
4106 cat conftest.err >&5
4107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); } >/dev/null && {
4109 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4110 test ! -s conftest.err
4112 # Broken: success on invalid input.
4115 $as_echo "$as_me: failed program was:" >&5
4116 sed 's/^/| /' conftest.$ac_ext >&5
4118 # Passes both tests.
4123 rm -f conftest.err conftest.$ac_ext
4126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4127 rm -f conftest.err conftest.$ac_ext
4128 if $ac_preproc_ok; then
4131 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4133 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4134 See \`config.log' for more details." >&5
4135 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4136 See \`config.log' for more details." >&2;}
4137 { (exit 1); exit 1; }; }; }
4141 ac_cpp='$CPP $CPPFLAGS'
4142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4147 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4148 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4149 if test "${ac_cv_path_GREP+set}" = set; then
4150 $as_echo_n "(cached) " >&6
4152 if test -z "$GREP"; then
4153 ac_path_GREP_found=false
4154 # Loop through the user's path and test for each of PROGNAME-LIST
4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4159 test -z "$as_dir" && as_dir=.
4160 for ac_prog in grep ggrep; do
4161 for ac_exec_ext in '' $ac_executable_extensions; do
4162 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4163 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4164 # Check for GNU ac_path_GREP and select it if it is found.
4165 # Check for GNU $ac_path_GREP
4166 case `"$ac_path_GREP" --version 2>&1` in
4168 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4171 $as_echo_n 0123456789 >"conftest.in"
4174 cat "conftest.in" "conftest.in" >"conftest.tmp"
4175 mv "conftest.tmp" "conftest.in"
4176 cp "conftest.in" "conftest.nl"
4177 $as_echo 'GREP' >> "conftest.nl"
4178 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4179 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4180 ac_count=`expr $ac_count + 1`
4181 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4182 # Best one so far, save it but keep looking for a better one
4183 ac_cv_path_GREP="$ac_path_GREP"
4184 ac_path_GREP_max=$ac_count
4186 # 10*(2^10) chars as input seems more than enough
4187 test $ac_count -gt 10 && break
4189 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4192 $ac_path_GREP_found && break 3
4197 if test -z "$ac_cv_path_GREP"; then
4198 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4199 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4200 { (exit 1); exit 1; }; }
4203 ac_cv_path_GREP=$GREP
4207 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4208 $as_echo "$ac_cv_path_GREP" >&6; }
4209 GREP="$ac_cv_path_GREP"
4212 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4213 $as_echo_n "checking for egrep... " >&6; }
4214 if test "${ac_cv_path_EGREP+set}" = set; then
4215 $as_echo_n "(cached) " >&6
4217 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4218 then ac_cv_path_EGREP="$GREP -E"
4220 if test -z "$EGREP"; then
4221 ac_path_EGREP_found=false
4222 # Loop through the user's path and test for each of PROGNAME-LIST
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4227 test -z "$as_dir" && as_dir=.
4228 for ac_prog in egrep; do
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4231 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4232 # Check for GNU ac_path_EGREP and select it if it is found.
4233 # Check for GNU $ac_path_EGREP
4234 case `"$ac_path_EGREP" --version 2>&1` in
4236 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4239 $as_echo_n 0123456789 >"conftest.in"
4242 cat "conftest.in" "conftest.in" >"conftest.tmp"
4243 mv "conftest.tmp" "conftest.in"
4244 cp "conftest.in" "conftest.nl"
4245 $as_echo 'EGREP' >> "conftest.nl"
4246 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4247 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4248 ac_count=`expr $ac_count + 1`
4249 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4250 # Best one so far, save it but keep looking for a better one
4251 ac_cv_path_EGREP="$ac_path_EGREP"
4252 ac_path_EGREP_max=$ac_count
4254 # 10*(2^10) chars as input seems more than enough
4255 test $ac_count -gt 10 && break
4257 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4260 $ac_path_EGREP_found && break 3
4265 if test -z "$ac_cv_path_EGREP"; then
4266 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4267 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4268 { (exit 1); exit 1; }; }
4271 ac_cv_path_EGREP=$EGREP
4276 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4277 $as_echo "$ac_cv_path_EGREP" >&6; }
4278 EGREP="$ac_cv_path_EGREP"
4281 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4282 $as_echo_n "checking for ANSI C header files... " >&6; }
4283 if test "${ac_cv_header_stdc+set}" = set; then
4284 $as_echo_n "(cached) " >&6
4286 cat >conftest.$ac_ext <<_ACEOF
4289 cat confdefs.h >>conftest.$ac_ext
4290 cat >>conftest.$ac_ext <<_ACEOF
4291 /* end confdefs.h. */
4305 rm -f conftest.$ac_objext
4306 if { (ac_try="$ac_compile"
4308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309 *) ac_try_echo=$ac_try;;
4311 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4312 $as_echo "$ac_try_echo") >&5
4313 (eval "$ac_compile") 2>conftest.er1
4315 grep -v '^ *+' conftest.er1 >conftest.err
4317 cat conftest.err >&5
4318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); } && {
4320 test -z "$ac_c_werror_flag" ||
4321 test ! -s conftest.err
4322 } && test -s conftest.$ac_objext; then
4323 ac_cv_header_stdc=yes
4325 $as_echo "$as_me: failed program was:" >&5
4326 sed 's/^/| /' conftest.$ac_ext >&5
4328 ac_cv_header_stdc=no
4331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 if test $ac_cv_header_stdc = yes; then
4334 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4335 cat >conftest.$ac_ext <<_ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4345 $EGREP "memchr" >/dev/null 2>&1; then
4348 ac_cv_header_stdc=no
4354 if test $ac_cv_header_stdc = yes; then
4355 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4356 cat >conftest.$ac_ext <<_ACEOF
4359 cat confdefs.h >>conftest.$ac_ext
4360 cat >>conftest.$ac_ext <<_ACEOF
4361 /* end confdefs.h. */
4365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4366 $EGREP "free" >/dev/null 2>&1; then
4369 ac_cv_header_stdc=no
4375 if test $ac_cv_header_stdc = yes; then
4376 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4377 if test "$cross_compiling" = yes; then
4380 cat >conftest.$ac_ext <<_ACEOF
4383 cat confdefs.h >>conftest.$ac_ext
4384 cat >>conftest.$ac_ext <<_ACEOF
4385 /* end confdefs.h. */
4388 #if ((' ' & 0x0FF) == 0x020)
4389 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4390 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4392 # define ISLOWER(c) \
4393 (('a' <= (c) && (c) <= 'i') \
4394 || ('j' <= (c) && (c) <= 'r') \
4395 || ('s' <= (c) && (c) <= 'z'))
4396 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4399 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4404 for (i = 0; i < 256; i++)
4405 if (XOR (islower (i), ISLOWER (i))
4406 || toupper (i) != TOUPPER (i))
4411 rm -f conftest$ac_exeext
4412 if { (ac_try="$ac_link"
4414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4418 $as_echo "$ac_try_echo") >&5
4419 (eval "$ac_link") 2>&5
4421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4423 { (case "(($ac_try" in
4424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4425 *) ac_try_echo=$ac_try;;
4427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4428 $as_echo "$ac_try_echo") >&5
4429 (eval "$ac_try") 2>&5
4431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); }; }; then
4435 $as_echo "$as_me: program exited with status $ac_status" >&5
4436 $as_echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4440 ac_cv_header_stdc=no
4442 rm -rf conftest.dSYM
4443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4449 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4450 $as_echo "$ac_cv_header_stdc" >&6; }
4451 if test $ac_cv_header_stdc = yes; then
4453 cat >>confdefs.h <<\_ACEOF
4454 @%:@define STDC_HEADERS 1
4459 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4469 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4470 inttypes.h stdint.h unistd.h
4472 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4473 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4474 $as_echo_n "checking for $ac_header... " >&6; }
4475 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4476 $as_echo_n "(cached) " >&6
4478 cat >conftest.$ac_ext <<_ACEOF
4481 cat confdefs.h >>conftest.$ac_ext
4482 cat >>conftest.$ac_ext <<_ACEOF
4483 /* end confdefs.h. */
4484 $ac_includes_default
4486 @%:@include <$ac_header>
4488 rm -f conftest.$ac_objext
4489 if { (ac_try="$ac_compile"
4491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4492 *) ac_try_echo=$ac_try;;
4494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4495 $as_echo "$ac_try_echo") >&5
4496 (eval "$ac_compile") 2>conftest.er1
4498 grep -v '^ *+' conftest.er1 >conftest.err
4500 cat conftest.err >&5
4501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } && {
4503 test -z "$ac_c_werror_flag" ||
4504 test ! -s conftest.err
4505 } && test -s conftest.$ac_objext; then
4506 eval "$as_ac_Header=yes"
4508 $as_echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.$ac_ext >&5
4511 eval "$as_ac_Header=no"
4514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4516 ac_res=`eval 'as_val=${'$as_ac_Header'}
4517 $as_echo "$as_val"'`
4518 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4519 $as_echo "$ac_res" >&6; }
4520 as_val=`eval 'as_val=${'$as_ac_Header'}
4521 $as_echo "$as_val"'`
4522 if test "x$as_val" = x""yes; then
4523 cat >>confdefs.h <<_ACEOF
4524 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4532 { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4533 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4534 if test "${ac_cv_header_stdbool_h+set}" = set; then
4535 $as_echo_n "(cached) " >&6
4537 cat >conftest.$ac_ext <<_ACEOF
4540 cat confdefs.h >>conftest.$ac_ext
4541 cat >>conftest.$ac_ext <<_ACEOF
4542 /* end confdefs.h. */
4544 #include <stdbool.h>
4546 "error: bool is not defined"
4549 "error: false is not defined"
4552 "error: false is not 0"
4555 "error: true is not defined"
4558 "error: true is not 1"
4560 #ifndef __bool_true_false_are_defined
4561 "error: __bool_true_false_are_defined is not defined"
4564 struct s { _Bool s: 1; _Bool t; } s;
4566 char a[true == 1 ? 1 : -1];
4567 char b[false == 0 ? 1 : -1];
4568 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4569 char d[(bool) 0.5 == true ? 1 : -1];
4571 char f[(_Bool) 0.0 == false ? 1 : -1];
4573 char h[sizeof (_Bool)];
4575 enum { j = false, k = true, l = false * true, m = true * 256 };
4576 /* The following fails for
4577 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4579 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4580 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4581 # if defined __xlc__ || defined __GNUC__
4582 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4583 reported by James Lemley on 2005-10-05; see
4584 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4585 This test is not quite right, since xlc is allowed to
4586 reject this program, as the initializer for xlcbug is
4587 not one of the forms that C requires support for.
4588 However, doing the test right would require a runtime
4589 test, and that would make cross-compilation harder.
4590 Let us hope that IBM fixes the xlc bug, and also adds
4591 support for this kind of constant expression. In the
4592 meantime, this test will reject xlc, which is OK, since
4593 our stdbool.h substitute should suffice. We also test
4594 this with GCC, where it should work, to detect more
4595 quickly whether someone messes up the test in the
4597 char digs[] = "0123456789";
4598 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4600 /* Catch a bug in an HP-UX C compiler. See
4601 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4602 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4613 /* Refer to every declared value, to avoid compiler optimizations. */
4614 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4615 + !m + !n + !o + !p + !q + !pq);
4621 rm -f conftest.$ac_objext
4622 if { (ac_try="$ac_compile"
4624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4625 *) ac_try_echo=$ac_try;;
4627 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4628 $as_echo "$ac_try_echo") >&5
4629 (eval "$ac_compile") 2>conftest.er1
4631 grep -v '^ *+' conftest.er1 >conftest.err
4633 cat conftest.err >&5
4634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); } && {
4636 test -z "$ac_c_werror_flag" ||
4637 test ! -s conftest.err
4638 } && test -s conftest.$ac_objext; then
4639 ac_cv_header_stdbool_h=yes
4641 $as_echo "$as_me: failed program was:" >&5
4642 sed 's/^/| /' conftest.$ac_ext >&5
4644 ac_cv_header_stdbool_h=no
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4650 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4651 { $as_echo "$as_me:$LINENO: checking for _Bool" >&5
4652 $as_echo_n "checking for _Bool... " >&6; }
4653 if test "${ac_cv_type__Bool+set}" = set; then
4654 $as_echo_n "(cached) " >&6
4657 cat >conftest.$ac_ext <<_ACEOF
4660 cat confdefs.h >>conftest.$ac_ext
4661 cat >>conftest.$ac_ext <<_ACEOF
4662 /* end confdefs.h. */
4663 $ac_includes_default
4673 rm -f conftest.$ac_objext
4674 if { (ac_try="$ac_compile"
4676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4677 *) ac_try_echo=$ac_try;;
4679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4680 $as_echo "$ac_try_echo") >&5
4681 (eval "$ac_compile") 2>conftest.er1
4683 grep -v '^ *+' conftest.er1 >conftest.err
4685 cat conftest.err >&5
4686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687 (exit $ac_status); } && {
4688 test -z "$ac_c_werror_flag" ||
4689 test ! -s conftest.err
4690 } && test -s conftest.$ac_objext; then
4691 cat >conftest.$ac_ext <<_ACEOF
4694 cat confdefs.h >>conftest.$ac_ext
4695 cat >>conftest.$ac_ext <<_ACEOF
4696 /* end confdefs.h. */
4697 $ac_includes_default
4701 if (sizeof ((_Bool)))
4707 rm -f conftest.$ac_objext
4708 if { (ac_try="$ac_compile"
4710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4711 *) ac_try_echo=$ac_try;;
4713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4714 $as_echo "$ac_try_echo") >&5
4715 (eval "$ac_compile") 2>conftest.er1
4717 grep -v '^ *+' conftest.er1 >conftest.err
4719 cat conftest.err >&5
4720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); } && {
4722 test -z "$ac_c_werror_flag" ||
4723 test ! -s conftest.err
4724 } && test -s conftest.$ac_objext; then
4727 $as_echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4730 ac_cv_type__Bool=yes
4733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4735 $as_echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4743 { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4744 $as_echo "$ac_cv_type__Bool" >&6; }
4745 if test "x$ac_cv_type__Bool" = x""yes; then
4747 cat >>confdefs.h <<_ACEOF
4748 @%:@define HAVE__BOOL 1
4754 if test $ac_cv_header_stdbool_h = yes; then
4756 cat >>confdefs.h <<\_ACEOF
4757 @%:@define HAVE_STDBOOL_H 1
4762 { $as_echo "$as_me:$LINENO: checking for inline" >&5
4763 $as_echo_n "checking for inline... " >&6; }
4764 if test "${ac_cv_c_inline+set}" = set; then
4765 $as_echo_n "(cached) " >&6
4768 for ac_kw in inline __inline__ __inline; do
4769 cat >conftest.$ac_ext <<_ACEOF
4772 cat confdefs.h >>conftest.$ac_ext
4773 cat >>conftest.$ac_ext <<_ACEOF
4774 /* end confdefs.h. */
4777 static $ac_kw foo_t static_foo () {return 0; }
4778 $ac_kw foo_t foo () {return 0; }
4782 rm -f conftest.$ac_objext
4783 if { (ac_try="$ac_compile"
4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786 *) ac_try_echo=$ac_try;;
4788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4789 $as_echo "$ac_try_echo") >&5
4790 (eval "$ac_compile") 2>conftest.er1
4792 grep -v '^ *+' conftest.er1 >conftest.err
4794 cat conftest.err >&5
4795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } && {
4797 test -z "$ac_c_werror_flag" ||
4798 test ! -s conftest.err
4799 } && test -s conftest.$ac_objext; then
4800 ac_cv_c_inline=$ac_kw
4802 $as_echo "$as_me: failed program was:" >&5
4803 sed 's/^/| /' conftest.$ac_ext >&5
4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809 test "$ac_cv_c_inline" != no && break
4813 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4814 $as_echo "$ac_cv_c_inline" >&6; }
4817 case $ac_cv_c_inline in
4820 case $ac_cv_c_inline in
4822 *) ac_val=$ac_cv_c_inline;;
4824 cat >>confdefs.h <<_ACEOF
4826 #define inline $ac_val
4832 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
4833 $as_echo_n "checking for size_t... " >&6; }
4834 if test "${ac_cv_type_size_t+set}" = set; then
4835 $as_echo_n "(cached) " >&6
4837 ac_cv_type_size_t=no
4838 cat >conftest.$ac_ext <<_ACEOF
4841 cat confdefs.h >>conftest.$ac_ext
4842 cat >>conftest.$ac_ext <<_ACEOF
4843 /* end confdefs.h. */
4844 $ac_includes_default
4848 if (sizeof (size_t))
4854 rm -f conftest.$ac_objext
4855 if { (ac_try="$ac_compile"
4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4861 $as_echo "$ac_try_echo") >&5
4862 (eval "$ac_compile") 2>conftest.er1
4864 grep -v '^ *+' conftest.er1 >conftest.err
4866 cat conftest.err >&5
4867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); } && {
4869 test -z "$ac_c_werror_flag" ||
4870 test ! -s conftest.err
4871 } && test -s conftest.$ac_objext; then
4872 cat >conftest.$ac_ext <<_ACEOF
4875 cat confdefs.h >>conftest.$ac_ext
4876 cat >>conftest.$ac_ext <<_ACEOF
4877 /* end confdefs.h. */
4878 $ac_includes_default
4882 if (sizeof ((size_t)))
4888 rm -f conftest.$ac_objext
4889 if { (ac_try="$ac_compile"
4891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4892 *) ac_try_echo=$ac_try;;
4894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4895 $as_echo "$ac_try_echo") >&5
4896 (eval "$ac_compile") 2>conftest.er1
4898 grep -v '^ *+' conftest.er1 >conftest.err
4900 cat conftest.err >&5
4901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); } && {
4903 test -z "$ac_c_werror_flag" ||
4904 test ! -s conftest.err
4905 } && test -s conftest.$ac_objext; then
4908 $as_echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4911 ac_cv_type_size_t=yes
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4916 $as_echo "$as_me: failed program was:" >&5
4917 sed 's/^/| /' conftest.$ac_ext >&5
4922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4924 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4925 $as_echo "$ac_cv_type_size_t" >&6; }
4926 if test "x$ac_cv_type_size_t" = x""yes; then
4930 cat >>confdefs.h <<_ACEOF
4931 @%:@define size_t unsigned int
4937 # Checks for library functions.
4939 ac_config_files="$ac_config_files Makefile test/Makefile"
4941 cat >confcache <<\_ACEOF
4942 # This file is a shell script that caches the results of configure
4943 # tests run on this system so they can be shared between configure
4944 # scripts and configure runs, see configure's option --config-cache.
4945 # It is not useful on other systems. If it contains results you don't
4946 # want to keep, you may remove or edit it.
4948 # config.status only pays attention to the cache file if you give it
4949 # the --recheck option to rerun configure.
4951 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4952 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4957 # The following way of writing the cache mishandles newlines in values,
4958 # but we know of no workaround that is simple, portable, and efficient.
4959 # So, we kill variables containing newlines.
4960 # Ultrix sh set writes to stderr and can't be redirected directly,
4961 # and sets the high bit in the cache file unless we assign to the vars.
4963 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4964 eval ac_val=\$$ac_var
4968 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4969 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4972 _ | IFS | as_nl) ;; #(
4973 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4974 *) $as_unset $ac_var ;;
4980 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4981 *${as_nl}ac_space=\ *)
4982 # `set' does not quote correctly, so add quotes (double-quote
4983 # substitution turns \\\\ into \\, and sed turns \\ into \).
4986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4989 # `set' quotes correctly as required by POSIX, so do not add quotes.
4990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5003 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5004 if test -w "$cache_file"; then
5005 test "x$cache_file" != "x/dev/null" &&
5006 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5007 $as_echo "$as_me: updating cache $cache_file" >&6;}
5008 cat confcache >$cache_file
5010 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5011 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5016 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5017 # Let make expand exec_prefix.
5018 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5020 DEFS=-DHAVE_CONFIG_H
5024 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5025 # 1. Remove the extension, and $U if already installed.
5026 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5027 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5028 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5029 # will be set to the directory where LIBOBJS objects are built.
5030 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5031 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5033 LIB@&t@OBJS=$ac_libobjs
5035 LTLIBOBJS=$ac_ltlibobjs
5038 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5039 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5040 Usually this means the macro was only invoked conditionally." >&5
5041 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5042 Usually this means the macro was only invoked conditionally." >&2;}
5043 { (exit 1); exit 1; }; }
5045 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5046 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5047 Usually this means the macro was only invoked conditionally." >&5
5048 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5049 Usually this means the macro was only invoked conditionally." >&2;}
5050 { (exit 1); exit 1; }; }
5052 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5053 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5054 Usually this means the macro was only invoked conditionally." >&5
5055 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5056 Usually this means the macro was only invoked conditionally." >&2;}
5057 { (exit 1); exit 1; }; }
5060 : ${CONFIG_STATUS=./config.status}
5062 ac_clean_files_save=$ac_clean_files
5063 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5064 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5065 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5066 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5068 # Generated by $as_me.
5069 # Run this file to recreate the current configuration.
5070 # Compiler output produced by configure, useful for debugging
5071 # configure, is in config.log if it exists.
5076 SHELL=\${CONFIG_SHELL-$SHELL}
5079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5080 ## --------------------- ##
5081 ## M4sh Initialization. ##
5082 ## --------------------- ##
5084 # Be more Bourne compatible
5085 DUALCASE=1; export DUALCASE # for MKS sh
5086 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5089 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5090 # is contrary to our usage. Disable this feature.
5091 alias -g '${1+"$@"}'='"$@"'
5092 setopt NO_GLOB_SUBST
5094 case `(set -o) 2>/dev/null` in
5095 *posix*) set -o posix ;;
5104 # Avoid depending upon Character Ranges.
5105 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5106 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5107 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5108 as_cr_digits='0123456789'
5109 as_cr_alnum=$as_cr_Letters$as_cr_digits
5114 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5115 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5116 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5117 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5118 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5119 as_echo='printf %s\n'
5120 as_echo_n='printf %s'
5122 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5123 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5124 as_echo_n='/usr/ucb/echo -n'
5126 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5127 as_echo_n_body='eval
5131 expr "X$arg" : "X\\(.*\\)$as_nl";
5132 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5134 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5136 export as_echo_n_body
5137 as_echo_n='sh -c $as_echo_n_body as_echo'
5140 as_echo='sh -c $as_echo_body as_echo'
5143 # The user is always right.
5144 if test "${PATH_SEPARATOR+set}" != set; then
5146 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5147 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5152 # Support unset when possible.
5153 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5161 # We need space, tab and new line, in precisely that order. Quoting is
5162 # there to prevent editors from complaining about space-tab.
5163 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5164 # splitting by setting IFS to empty value.)
5167 # Find who we are. Look in the path if we contain no directory separator.
5169 *[\\/]* ) as_myself=$0 ;;
5170 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 test -z "$as_dir" && as_dir=.
5175 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5181 # We did not find ourselves, most probably we were run as `sh COMMAND'
5182 # in which case we are not to be found in the path.
5183 if test "x$as_myself" = x; then
5186 if test ! -f "$as_myself"; then
5187 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5188 { (exit 1); exit 1; }
5191 # Work around bugs in pre-3.0 UWIN ksh.
5192 for as_var in ENV MAIL MAILPATH
5193 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5205 # Required to use basename.
5206 if expr a : '\(a\)' >/dev/null 2>&1 &&
5207 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5213 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5214 as_basename=basename
5220 # Name of the executable.
5221 as_me=`$as_basename -- "$0" ||
5222 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5223 X"$0" : 'X\(//\)$' \| \
5224 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5226 sed '/^.*\/\([^/][^/]*\)\/*$/{
5247 test "x$as_lineno_1" != "x$as_lineno_2" &&
5248 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5250 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5251 # uniformly replaced by the line number. The first 'sed' inserts a
5252 # line-number line after each line using $LINENO; the second 'sed'
5253 # does the real work. The second script uses 'N' to pair each
5254 # line-number line with the line containing $LINENO, and appends
5255 # trailing '-' during substitution so that $LINENO is not a special
5257 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5258 # scripts with optimization help from Paolo Bonzini. Blame Lee
5259 # E. McMahon (1931-1989) for sed's syntax. :-)
5271 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5275 chmod +x "$as_me.lineno" ||
5276 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5277 { (exit 1); exit 1; }; }
5279 # Don't try to exec as it changes $[0], causing all sort of problems
5280 # (the dirname of $[0] is not the place where we might find the
5281 # original and so on. Autoconf is especially sensitive to this).
5283 # Exit status is that of the last command.
5288 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5294 ECHO_C= ECHO_N= ECHO_T=
5297 case `echo 'x\c'` in
5298 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5304 if expr a : '\(a\)' >/dev/null 2>&1 &&
5305 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5311 rm -f conf$$ conf$$.exe conf$$.file
5312 if test -d conf$$.dir; then
5313 rm -f conf$$.dir/conf$$.file
5316 mkdir conf$$.dir 2>/dev/null
5318 if (echo >conf$$.file) 2>/dev/null; then
5319 if ln -s conf$$.file conf$$ 2>/dev/null; then
5321 # ... but there are two gotchas:
5322 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5323 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5324 # In both cases, we have to default to `cp -p'.
5325 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5327 elif ln conf$$.file conf$$ 2>/dev/null; then
5335 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5336 rmdir conf$$.dir 2>/dev/null
5338 if mkdir -p . 2>/dev/null; then
5341 test -d ./-p && rmdir ./-p
5345 if test -x / >/dev/null 2>&1; then
5348 if ls -dL / >/dev/null 2>&1; then
5355 if test -d "$1"; then
5361 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5362 ???[sx]*):;;*)false;;esac;fi
5366 as_executable_p=$as_test_x
5368 # Sed expression to map a string onto a valid CPP name.
5369 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5371 # Sed expression to map a string onto a valid variable name.
5372 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5377 # Save the log message, to keep $[0] and so on meaningful, and to
5378 # report actual input values of CONFIG_FILES etc. instead of their
5379 # values after options handling.
5381 This file was extended by utakata $as_me 0.0.1, which was
5382 generated by GNU Autoconf 2.63. Invocation command line was
5384 CONFIG_FILES = $CONFIG_FILES
5385 CONFIG_HEADERS = $CONFIG_HEADERS
5386 CONFIG_LINKS = $CONFIG_LINKS
5387 CONFIG_COMMANDS = $CONFIG_COMMANDS
5390 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5395 case $ac_config_files in *"
5396 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5399 case $ac_config_headers in *"
5400 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5405 # Files that config.status was made for.
5406 config_files="$ac_config_files"
5407 config_headers="$ac_config_headers"
5408 config_commands="$ac_config_commands"
5412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5414 \`$as_me' instantiates files from templates according to the
5415 current configuration.
5417 Usage: $0 [OPTION]... [FILE]...
5419 -h, --help print this help, then exit
5420 -V, --version print version number and configuration settings, then exit
5421 -q, --quiet, --silent
5422 do not print progress messages
5423 -d, --debug don't remove temporary files
5424 --recheck update $as_me by reconfiguring in the same conditions
5425 --file=FILE[:TEMPLATE]
5426 instantiate the configuration file FILE
5427 --header=FILE[:TEMPLATE]
5428 instantiate the configuration header FILE
5430 Configuration files:
5433 Configuration headers:
5436 Configuration commands:
5439 Report bugs to <bug-autoconf@gnu.org>."
5442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5444 utakata config.status 0.0.1
5445 configured by $0, generated by GNU Autoconf 2.63,
5446 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5448 Copyright (C) 2008 Free Software Foundation, Inc.
5449 This config.status script is free software; the Free Software Foundation
5450 gives unlimited permission to copy, distribute and modify it."
5457 test -n "\$AWK" || AWK=awk
5460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5461 # The default lists apply if the user does not specify any file.
5467 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5468 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5479 # Handling of the options.
5480 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5482 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5483 $as_echo "$ac_cs_version"; exit ;;
5484 --debug | --debu | --deb | --de | --d | -d )
5486 --file | --fil | --fi | --f )
5489 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5491 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5492 ac_need_defaults=false;;
5493 --header | --heade | --head | --hea )
5496 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5498 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5499 ac_need_defaults=false;;
5501 # Conflict between --help and --header
5502 { $as_echo "$as_me: error: ambiguous option: $1
5503 Try \`$0 --help' for more information." >&2
5504 { (exit 1); exit 1; }; };;
5505 --help | --hel | -h )
5506 $as_echo "$ac_cs_usage"; exit ;;
5507 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5508 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5512 -*) { $as_echo "$as_me: error: unrecognized option: $1
5513 Try \`$0 --help' for more information." >&2
5514 { (exit 1); exit 1; }; } ;;
5516 *) ac_config_targets="$ac_config_targets $1"
5517 ac_need_defaults=false ;;
5523 ac_configure_extra_args=
5525 if $ac_cs_silent; then
5527 ac_configure_extra_args="$ac_configure_extra_args --silent"
5531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5532 if \$ac_cs_recheck; then
5533 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5535 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5536 CONFIG_SHELL='$SHELL'
5542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5546 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5547 @%:@@%:@ Running $as_me. @%:@@%:@
5553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5557 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5563 # Handling of arguments.
5564 for ac_config_target in $ac_config_targets
5566 case $ac_config_target in
5567 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5568 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5569 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5570 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
5572 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5573 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5574 { (exit 1); exit 1; }; };;
5579 # If the user did not use the arguments to specify the items to instantiate,
5580 # then the envvar interface is used. Set only those that are not.
5581 # We use the long form for the default assignment because of an extremely
5582 # bizarre bug on SunOS 4.1.3.
5583 if $ac_need_defaults; then
5584 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5585 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5586 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5589 # Have a temporary directory for convenience. Make it in the build tree
5590 # simply because there is no reason against having it here, and in addition,
5591 # creating and moving files from /tmp can sometimes cause problems.
5592 # Hook for its removal unless debugging.
5593 # Note that there is a small window in which the directory will not be cleaned:
5594 # after its creation but before its name has been assigned to `$tmp'.
5598 trap 'exit_status=$?
5599 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5601 trap '{ (exit 1); exit 1; }' 1 2 13 15
5603 # Create a (secure) tmp directory for tmp files.
5606 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5607 test -n "$tmp" && test -d "$tmp"
5610 tmp=./conf$$-$RANDOM
5611 (umask 077 && mkdir "$tmp")
5614 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5615 { (exit 1); exit 1; }
5618 # Set up the scripts for CONFIG_FILES section.
5619 # No need to generate them if there are no CONFIG_FILES.
5620 # This happens for instance with `./config.status config.h'.
5621 if test -n "$CONFIG_FILES"; then
5625 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5626 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5632 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5637 echo "cat >conf$$subs.awk <<_ACEOF" &&
5638 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5641 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5642 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5643 { (exit 1); exit 1; }; }
5644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5646 for ac_last_try in false false false false false :; do
5647 . ./conf$$subs.sh ||
5648 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5649 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5650 { (exit 1); exit 1; }; }
5652 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5653 if test $ac_delim_n = $ac_delim_num; then
5655 elif $ac_last_try; then
5656 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5657 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5658 { (exit 1); exit 1; }; }
5660 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5666 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5670 s/^/S["/; s/!.*/"]=/
5680 s/\(.\{148\}\).*/\1/
5682 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5687 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5694 s/\(.\{148\}\).*/\1/
5696 s/["\\]/\\&/g; s/^/"/; s/$/"/
5700 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5705 ' <conf$$subs.awk | sed '
5710 ' >>$CONFIG_STATUS || ac_write_fail=1
5711 rm -f conf$$subs.awk
5712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5714 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5715 for (key in S) S_is_set[key] = 1
5721 nfields = split(line, field, "@")
5723 len = length(field[1])
5724 for (i = 2; i < nfields; i++) {
5726 keylen = length(key)
5727 if (S_is_set[key]) {
5729 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5730 len += length(value) + length(field[++i])
5741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5742 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5743 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5746 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5747 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5748 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
5749 { (exit 1); exit 1; }; }
5752 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5753 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5754 # trailing colons and then remove the whole line if VPATH becomes empty
5755 # (actually we leave an empty line to preserve line numbers).
5756 if test "x$srcdir" = x.; then
5757 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5761 s/^\([^=]*=[ ]*\):*/\1/
5767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5768 fi # test -n "$CONFIG_FILES"
5770 # Set up the scripts for CONFIG_HEADERS section.
5771 # No need to generate them if there are no CONFIG_HEADERS.
5772 # This happens for instance with `./config.status Makefile'.
5773 if test -n "$CONFIG_HEADERS"; then
5774 cat >"$tmp/defines.awk" <<\_ACAWK ||
5778 # Transform confdefs.h into an awk script `defines.awk', embedded as
5779 # here-document in config.status, that substitutes the proper values into
5780 # config.h.in to produce config.h.
5782 # Create a delimiter string that does not exist in confdefs.h, to ease
5783 # handling of long lines.
5785 for ac_last_try in false false :; do
5786 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5787 if test -z "$ac_t"; then
5789 elif $ac_last_try; then
5790 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5791 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5792 { (exit 1); exit 1; }; }
5794 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5798 # For the awk script, D is an array of macro values keyed by name,
5799 # likewise P contains macro parameters if any. Preserve backslash
5800 # newline sequences.
5802 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5804 s/.\{148\}/&'"$ac_delim"'/g
5807 s/^[ ]*#[ ]*define[ ][ ]*/ /
5814 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5816 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5821 D["\1"]=" \3\\\\\\n"\\/p
5823 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5828 s/.\{148\}/&'"$ac_delim"'/g
5833 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5836 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5838 ' <confdefs.h | sed '
5839 s/'"$ac_delim"'/"\\\
5840 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5843 for (key in D) D_is_set[key] = 1
5846 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5848 split(line, arg, " ")
5849 if (arg[1] == "#") {
5853 defundef = substr(arg[1], 2)
5856 split(mac1, mac2, "(") #)
5858 prefix = substr(line, 1, index(line, defundef) - 1)
5859 if (D_is_set[macro]) {
5860 # Preserve the white space surrounding the "#".
5861 print prefix "define", macro P[macro] D[macro]
5864 # Replace #undef with comments. This is necessary, for example,
5865 # in the case of _POSIX_SOURCE, which is predefined and required
5866 # on some systems where configure will not decide to define it.
5867 if (defundef == "undef") {
5868 print "/*", prefix defundef, macro, "*/"
5876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5877 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
5878 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
5879 { (exit 1); exit 1; }; }
5880 fi # test -n "$CONFIG_HEADERS"
5883 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5888 :[FHLC]) ac_mode=$ac_tag; continue;;
5890 case $ac_mode$ac_tag in
5892 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5893 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5894 { (exit 1); exit 1; }; };;
5895 :[FH]-) ac_tag=-:-;;
5896 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5913 -) ac_f="$tmp/stdin";;
5914 *) # Look for the file first in the build tree, then in the source tree
5915 # (if the path is not absolute). The absolute path cannot be DOS-style,
5916 # because $ac_f cannot contain `:'.
5920 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5922 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5923 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5924 { (exit 1); exit 1; }; };;
5926 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5927 ac_file_inputs="$ac_file_inputs '$ac_f'"
5930 # Let's still pretend it is `configure' which instantiates (i.e., don't
5931 # use $as_me), people would be surprised to read:
5932 # /* config.h. Generated by config.status. */
5933 configure_input='Generated from '`
5934 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5936 if test x"$ac_file" != x-; then
5937 configure_input="$ac_file. $configure_input"
5938 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5939 $as_echo "$as_me: creating $ac_file" >&6;}
5941 # Neutralize special characters interpreted by sed in replacement strings.
5942 case $configure_input in #(
5943 *\&* | *\|* | *\\* )
5944 ac_sed_conf_input=`$as_echo "$configure_input" |
5945 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5946 *) ac_sed_conf_input=$configure_input;;
5950 *:-:* | *:-) cat >"$tmp/stdin" \
5951 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5952 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5953 { (exit 1); exit 1; }; } ;;
5958 ac_dir=`$as_dirname -- "$ac_file" ||
5959 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5960 X"$ac_file" : 'X\(//\)[^/]' \| \
5961 X"$ac_file" : 'X\(//\)$' \| \
5962 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5963 $as_echo X"$ac_file" |
5964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5983 -*) as_dir=./$as_dir;;
5985 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5989 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5990 *) as_qdir=$as_dir;;
5992 as_dirs="'$as_qdir' $as_dirs"
5993 as_dir=`$as_dirname -- "$as_dir" ||
5994 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5995 X"$as_dir" : 'X\(//\)[^/]' \| \
5996 X"$as_dir" : 'X\(//\)$' \| \
5997 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5998 $as_echo X"$as_dir" |
5999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6016 test -d "$as_dir" && break
6018 test -z "$as_dirs" || eval "mkdir $as_dirs"
6019 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6020 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6021 { (exit 1); exit 1; }; }; }
6025 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6027 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6028 # A ".." for each directory in $ac_dir_suffix.
6029 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6030 case $ac_top_builddir_sub in
6031 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6032 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6035 ac_abs_top_builddir=$ac_pwd
6036 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6037 # for backward compatibility:
6038 ac_top_builddir=$ac_top_build_prefix
6041 .) # We are building in place.
6043 ac_top_srcdir=$ac_top_builddir_sub
6044 ac_abs_top_srcdir=$ac_pwd ;;
6045 [\\/]* | ?:[\\/]* ) # Absolute name.
6046 ac_srcdir=$srcdir$ac_dir_suffix;
6047 ac_top_srcdir=$srcdir
6048 ac_abs_top_srcdir=$srcdir ;;
6050 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6051 ac_top_srcdir=$ac_top_build_prefix$srcdir
6052 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6054 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6064 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6065 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6069 [\\/$]* | ?:[\\/]* ) ;;
6070 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6075 # If the template does not know about datarootdir, expand it.
6076 # FIXME: This hack should be removed a few years after 2.60.
6077 ac_datarootdir_hack=; ac_datarootdir_seen=
6090 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6091 *datarootdir*) ac_datarootdir_seen=yes;;
6092 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6093 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6094 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6097 ac_datarootdir_hack='
6098 s&@datadir@&$datadir&g
6099 s&@docdir@&$docdir&g
6100 s&@infodir@&$infodir&g
6101 s&@localedir@&$localedir&g
6102 s&@mandir@&$mandir&g
6103 s&\\\${datarootdir}&$datarootdir&g' ;;
6107 # Neutralize VPATH when `$srcdir' = `.'.
6108 # Shell code in configure.ac might set extrasub.
6109 # FIXME: do we really want to maintain this feature?
6110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6111 ac_sed_extra="$ac_vpsub
6114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6116 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6117 s|@configure_input@|$ac_sed_conf_input|;t t
6118 s&@top_builddir@&$ac_top_builddir_sub&;t t
6119 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6120 s&@srcdir@&$ac_srcdir&;t t
6121 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6122 s&@top_srcdir@&$ac_top_srcdir&;t t
6123 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6124 s&@builddir@&$ac_builddir&;t t
6125 s&@abs_builddir@&$ac_abs_builddir&;t t
6126 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6127 s&@INSTALL@&$ac_INSTALL&;t t
6128 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6129 $ac_datarootdir_hack
6131 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6132 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6133 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6134 { (exit 1); exit 1; }; }
6136 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6137 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6138 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6139 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6140 which seems to be undefined. Please make sure it is defined." >&5
6141 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6142 which seems to be undefined. Please make sure it is defined." >&2;}
6146 -) cat "$tmp/out" && rm -f "$tmp/out";;
6147 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6149 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6150 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6151 { (exit 1); exit 1; }; }
6157 if test x"$ac_file" != x-; then
6159 $as_echo "/* $configure_input */" \
6160 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6161 } >"$tmp/config.h" \
6162 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6163 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6164 { (exit 1); exit 1; }; }
6165 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6166 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6167 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6170 mv "$tmp/config.h" "$ac_file" \
6171 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6172 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6173 { (exit 1); exit 1; }; }
6176 $as_echo "/* $configure_input */" \
6177 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6178 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6179 $as_echo "$as_me: error: could not create -" >&2;}
6180 { (exit 1); exit 1; }; }
6182 # Compute "$ac_file"'s index in $config_headers.
6185 for _am_header in $config_headers :; do
6187 $_am_arg | $_am_arg:* )
6190 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6193 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6194 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6195 X"$_am_arg" : 'X\(//\)[^/]' \| \
6196 X"$_am_arg" : 'X\(//\)$' \| \
6197 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6198 $as_echo X"$_am_arg" |
6199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6215 s/.*/./; q'`/stamp-h$_am_stamp_count
6218 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6219 $as_echo "$as_me: executing $ac_file commands" >&6;}
6224 case $ac_file$ac_mode in
6225 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
6226 # are listed without --file. Let's play safe and only enable the eval
6227 # if we detect the quoting.
6228 case $CONFIG_FILES in
6229 *\'*) eval set x "$CONFIG_FILES" ;;
6230 *) set x $CONFIG_FILES ;;
6235 # Strip MF so we end up with the name of the file.
6236 mf=`echo "$mf" | sed -e 's/:.*$//'`
6237 # Check whether this is an Automake generated Makefile or not.
6238 # We used to match only the files named `Makefile.in', but
6239 # some people rename them; so instead we look at the file content.
6240 # Grep'ing the first line is not enough: some people post-process
6241 # each Makefile.in and add a new line on top of each file to say so.
6242 # Grep'ing the whole file is not good either: AIX grep has a line
6243 # limit of 2048, but all sed's we know have understand at least 4000.
6244 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6245 dirpart=`$as_dirname -- "$mf" ||
6246 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6247 X"$mf" : 'X\(//\)[^/]' \| \
6248 X"$mf" : 'X\(//\)$' \| \
6249 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6271 # Extract the definition of DEPDIR, am__include, and am__quote
6272 # from the Makefile without running `make'.
6273 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6274 test -z "$DEPDIR" && continue
6275 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6276 test -z "am__include" && continue
6277 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6278 # When using ansi2knr, U may be empty or an underscore; expand it
6279 U=`sed -n 's/^U = //p' < "$mf"`
6280 # Find all dependency output files, they are included files with
6281 # $(DEPDIR) in their names. We invoke sed twice because it is the
6282 # simplest approach to changing $(DEPDIR) to its actual value in the
6284 for file in `sed -n "
6285 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6286 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6287 # Make sure the directory exists.
6288 test -f "$dirpart/$file" && continue
6289 fdir=`$as_dirname -- "$file" ||
6290 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6291 X"$file" : 'X\(//\)[^/]' \| \
6292 X"$file" : 'X\(//\)$' \| \
6293 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6312 { as_dir=$dirpart/$fdir
6314 -*) as_dir=./$as_dir;;
6316 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6320 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6321 *) as_qdir=$as_dir;;
6323 as_dirs="'$as_qdir' $as_dirs"
6324 as_dir=`$as_dirname -- "$as_dir" ||
6325 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6326 X"$as_dir" : 'X\(//\)[^/]' \| \
6327 X"$as_dir" : 'X\(//\)$' \| \
6328 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6329 $as_echo X"$as_dir" |
6330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6347 test -d "$as_dir" && break
6349 test -z "$as_dirs" || eval "mkdir $as_dirs"
6350 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6351 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6352 { (exit 1); exit 1; }; }; }
6353 # echo "creating $dirpart/$file"
6354 echo '# dummy' > "$dirpart/$file"
6363 { (exit 0); exit 0; }
6365 chmod +x $CONFIG_STATUS
6366 ac_clean_files=$ac_clean_files_save
6368 test $ac_write_fail = 0 ||
6369 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6370 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6371 { (exit 1); exit 1; }; }
6374 # configure is writing to config.log, and then calls config.status.
6375 # config.status does its own redirection, appending to config.log.
6376 # Unfortunately, on DOS this fails, as config.log is still kept open
6377 # by configure, so config.status won't be able to write to it; its
6378 # output is simply discarded. So we exec the FD to /dev/null,
6379 # effectively closing config.log, so it can be properly (re)opened and
6380 # appended to by config.status. When coming back to configure, we
6381 # need to make the FD available again.
6382 if test "$no_create" != yes; then
6384 ac_config_status_args=
6385 test "$silent" = yes &&
6386 ac_config_status_args="$ac_config_status_args --quiet"
6388 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6390 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6391 # would make configure fail if this is the last instruction.
6392 $ac_cs_success || { (exit 1); exit 1; }
6394 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6395 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6396 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}