2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for alstede 0.2.4.
5 # Report bugs to <no-define>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='alstede'
598 PACKAGE_TARNAME='alstede'
599 PACKAGE_VERSION='0.2.4'
600 PACKAGE_STRING='alstede 0.2.4'
601 PACKAGE_BUGREPORT='no-define'
603 ac_unique_file="config.h.in"
604 # Factoring default headers for most tests.
605 ac_includes_default="\
607 #ifdef HAVE_SYS_TYPES_H
608 # include <sys/types.h>
610 #ifdef HAVE_SYS_STAT_H
611 # include <sys/stat.h>
617 # ifdef HAVE_STDLIB_H
622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627 #ifdef HAVE_STRINGS_H
628 # include <strings.h>
630 #ifdef HAVE_INTTYPES_H
631 # include <inttypes.h>
640 ac_subst_vars='LTLIBOBJS
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 alstede 0.2.4 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/alstede]
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 alstede 0.2.4:";;
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 <no-define>.
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 alstede configure 0.2.4
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 alstede $as_me 0.2.4, which was
1466 generated by GNU Autoconf 2.63. Invocation command line was
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"
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
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"
1837 am__api_version='1.10'
1840 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1841 if test -f "$ac_dir/install-sh"; then
1843 ac_install_sh="$ac_aux_dir/install-sh -c"
1845 elif test -f "$ac_dir/install.sh"; then
1847 ac_install_sh="$ac_aux_dir/install.sh -c"
1849 elif test -f "$ac_dir/shtool"; then
1851 ac_install_sh="$ac_aux_dir/shtool install -c"
1855 if test -z "$ac_aux_dir"; then
1856 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1857 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1858 { (exit 1); exit 1; }; }
1861 # These three variables are undocumented and unsupported,
1862 # and are intended to be withdrawn in a future Autoconf release.
1863 # They can cause serious problems if a builder's source tree is in a directory
1864 # whose full name contains unusual characters.
1865 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1866 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1867 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1870 # Find a good install program. We prefer a C program (faster),
1871 # so one script is as good as another. But avoid the broken or
1872 # incompatible versions:
1873 # SysV /etc/install, /usr/sbin/install
1874 # SunOS /usr/etc/install
1875 # IRIX /sbin/install
1877 # AmigaOS /C/install, which installs bootblocks on floppy discs
1878 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1879 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1880 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1881 # OS/2's system install, which has a completely different semantic
1882 # ./install, which can be erroneously created by make from ./install.sh.
1883 # Reject install programs that cannot install multiple files.
1884 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1885 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1886 if test -z "$INSTALL"; then
1887 if test "${ac_cv_path_install+set}" = set; then
1888 $as_echo_n "(cached) " >&6
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir=.
1895 # Account for people who put trailing slashes in PATH elements.
1897 ./ | .// | /cC/* | \
1898 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1899 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1902 # OSF1 and SCO ODT 3.0 have their own names for install.
1903 # Don't use installbsd from OSF since it installs stuff as root
1905 for ac_prog in ginstall scoinst install; do
1906 for ac_exec_ext in '' $ac_executable_extensions; do
1907 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1908 if test $ac_prog = install &&
1909 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1910 # AIX install. It has an incompatible calling convention.
1912 elif test $ac_prog = install &&
1913 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1914 # program-specific install script used by HP pwplus--don't use.
1917 rm -rf conftest.one conftest.two conftest.dir
1918 echo one > conftest.one
1919 echo two > conftest.two
1921 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1922 test -s conftest.one && test -s conftest.two &&
1923 test -s conftest.dir/conftest.one &&
1924 test -s conftest.dir/conftest.two
1926 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1939 rm -rf conftest.one conftest.two conftest.dir
1942 if test "${ac_cv_path_install+set}" = set; then
1943 INSTALL=$ac_cv_path_install
1945 # As a last resort, use the slow shell script. Don't cache a
1946 # value for INSTALL within a source directory, because that will
1947 # break other packages using the cache if that directory is
1948 # removed, or if the value is a relative name.
1949 INSTALL=$ac_install_sh
1952 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1953 $as_echo "$INSTALL" >&6; }
1955 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1956 # It thinks the first close brace ends the variable substitution.
1957 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1959 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1961 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1963 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1964 $as_echo_n "checking whether build environment is sane... " >&6; }
1967 echo timestamp > conftest.file
1968 # Do `set' in a subshell so we don't clobber the current shell's
1969 # arguments. Must try -L first in case configure is actually a
1970 # symlink; some systems play weird games with the mod time of symlinks
1971 # (eg FreeBSD returns the mod time of the symlink's containing
1974 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1975 if test "$*" = "X"; then
1977 set X `ls -t $srcdir/configure conftest.file`
1980 if test "$*" != "X $srcdir/configure conftest.file" \
1981 && test "$*" != "X conftest.file $srcdir/configure"; then
1983 # If neither matched, then we have a broken ls. This can happen
1984 # if, for instance, CONFIG_SHELL is bash and it inherits a
1985 # broken ls alias from the environment. This has actually
1986 # happened. Such a system could not be considered "sane".
1987 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1988 alias in your environment" >&5
1989 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1990 alias in your environment" >&2;}
1991 { (exit 1); exit 1; }; }
1994 test "$2" = conftest.file
2000 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2001 Check your system clock" >&5
2002 $as_echo "$as_me: error: newly created file is older than distributed files!
2003 Check your system clock" >&2;}
2004 { (exit 1); exit 1; }; }
2006 { $as_echo "$as_me:$LINENO: result: yes" >&5
2007 $as_echo "yes" >&6; }
2008 test "$program_prefix" != NONE &&
2009 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2010 # Use a double $ so make ignores it.
2011 test "$program_suffix" != NONE &&
2012 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2013 # Double any \ or $.
2014 # By default was `s,x,x', remove it if useless.
2015 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2016 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2018 # expand $ac_aux_dir to an absolute path
2019 am_aux_dir=`cd $ac_aux_dir && pwd`
2021 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2022 # Use eval to expand $SHELL
2023 if eval "$MISSING --run true"; then
2024 am_missing_run="$MISSING --run "
2027 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2028 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2031 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2032 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2033 if test -z "$MKDIR_P"; then
2034 if test "${ac_cv_path_mkdir+set}" = set; then
2035 $as_echo_n "(cached) " >&6
2037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2041 test -z "$as_dir" && as_dir=.
2042 for ac_prog in mkdir gmkdir; do
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2045 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2046 'mkdir (GNU coreutils) '* | \
2047 'mkdir (coreutils) '* | \
2048 'mkdir (fileutils) '4.1*)
2049 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2059 if test "${ac_cv_path_mkdir+set}" = set; then
2060 MKDIR_P="$ac_cv_path_mkdir -p"
2062 # As a last resort, use the slow shell script. Don't cache a
2063 # value for MKDIR_P within a source directory, because that will
2064 # break other packages using the cache if that directory is
2065 # removed, or if the value is a relative name.
2066 test -d ./--version && rmdir ./--version
2067 MKDIR_P="$ac_install_sh -d"
2070 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2071 $as_echo "$MKDIR_P" >&6; }
2075 [\\/$]* | ?:[\\/]*) ;;
2076 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2079 for ac_prog in gawk mawk nawk awk
2081 # Extract the first word of "$ac_prog", so it can be a program name with args.
2082 set dummy $ac_prog; ac_word=$2
2083 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2084 $as_echo_n "checking for $ac_word... " >&6; }
2085 if test "${ac_cv_prog_AWK+set}" = set; then
2086 $as_echo_n "(cached) " >&6
2088 if test -n "$AWK"; then
2089 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir=.
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2098 ac_cv_prog_AWK="$ac_prog"
2099 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 if test -n "$AWK"; then
2110 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2111 $as_echo "$AWK" >&6; }
2113 { $as_echo "$as_me:$LINENO: result: no" >&5
2114 $as_echo "no" >&6; }
2118 test -n "$AWK" && break
2121 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2122 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2124 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2125 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2126 $as_echo_n "(cached) " >&6
2128 cat >conftest.make <<\_ACEOF
2131 @echo '@@@%%%=$(MAKE)=@@@%%%'
2133 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2134 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2136 eval ac_cv_prog_make_${ac_make}_set=yes;;
2138 eval ac_cv_prog_make_${ac_make}_set=no;;
2142 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2143 { $as_echo "$as_me:$LINENO: result: yes" >&5
2144 $as_echo "yes" >&6; }
2147 { $as_echo "$as_me:$LINENO: result: no" >&5
2148 $as_echo "no" >&6; }
2149 SET_MAKE="MAKE=${MAKE-make}"
2152 rm -rf .tst 2>/dev/null
2153 mkdir .tst 2>/dev/null
2154 if test -d .tst; then
2159 rmdir .tst 2>/dev/null
2161 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2162 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2163 # is not polluted with repeated "-I."
2164 am__isrc=' -I$(srcdir)'
2165 # test to see if srcdir already configured
2166 if test -f $srcdir/config.status; then
2167 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2168 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2169 { (exit 1); exit 1; }; }
2173 # test whether we have cygpath
2174 if test -z "$CYGPATH_W"; then
2175 if (cygpath --version) >/dev/null 2>/dev/null; then
2176 CYGPATH_W='cygpath -w'
2183 # Define the identity of the package.
2184 PACKAGE=$PACKAGE_NAME
2185 VERSION=$PACKAGE_VERSION
2188 cat >>confdefs.h <<_ACEOF
2189 #define PACKAGE "$PACKAGE"
2193 cat >>confdefs.h <<_ACEOF
2194 #define VERSION "$VERSION"
2197 # Some tools Automake needs.
2199 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2202 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2205 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2208 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2211 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2213 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2215 # Installed binaries are usually stripped using `strip' when the user
2216 # run `make install-strip'. However `strip' might not be the right
2217 # tool to use in cross-compilation environments, therefore Automake
2218 # will honor the `STRIP' environment variable to overrule this program.
2219 if test "$cross_compiling" != no; then
2220 if test -n "$ac_tool_prefix"; then
2221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2222 set dummy ${ac_tool_prefix}strip; ac_word=$2
2223 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 $as_echo_n "checking for $ac_word... " >&6; }
2225 if test "${ac_cv_prog_STRIP+set}" = set; then
2226 $as_echo_n "(cached) " >&6
2228 if test -n "$STRIP"; then
2229 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 test -z "$as_dir" && as_dir=.
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2238 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2239 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2248 STRIP=$ac_cv_prog_STRIP
2249 if test -n "$STRIP"; then
2250 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2251 $as_echo "$STRIP" >&6; }
2253 { $as_echo "$as_me:$LINENO: result: no" >&5
2254 $as_echo "no" >&6; }
2259 if test -z "$ac_cv_prog_STRIP"; then
2261 # Extract the first word of "strip", so it can be a program name with args.
2262 set dummy strip; ac_word=$2
2263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 $as_echo_n "checking for $ac_word... " >&6; }
2265 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2266 $as_echo_n "(cached) " >&6
2268 if test -n "$ac_ct_STRIP"; then
2269 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_ac_ct_STRIP="strip"
2279 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2289 if test -n "$ac_ct_STRIP"; then
2290 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2291 $as_echo "$ac_ct_STRIP" >&6; }
2293 { $as_echo "$as_me:$LINENO: result: no" >&5
2294 $as_echo "no" >&6; }
2297 if test "x$ac_ct_STRIP" = x; then
2300 case $cross_compiling:$ac_tool_warned in
2302 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2304 ac_tool_warned=yes ;;
2309 STRIP="$ac_cv_prog_STRIP"
2313 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2315 # We need awk for the "check" target. The system "awk" is bad on
2317 # Always define AMTAR for backward compatibility.
2319 AMTAR=${AMTAR-"${am_missing_run}tar"}
2321 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2328 # Checks for programs.
2330 ac_cpp='$CXXCPP $CPPFLAGS'
2331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2334 if test -z "$CXX"; then
2335 if test -n "$CCC"; then
2338 if test -n "$ac_tool_prefix"; then
2339 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2343 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if test "${ac_cv_prog_CXX+set}" = set; then
2346 $as_echo_n "(cached) " >&6
2348 if test -n "$CXX"; then
2349 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2358 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2359 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 if test -n "$CXX"; then
2370 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2371 $as_echo "$CXX" >&6; }
2373 { $as_echo "$as_me:$LINENO: result: no" >&5
2374 $as_echo "no" >&6; }
2378 test -n "$CXX" && break
2381 if test -z "$CXX"; then
2383 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2385 # Extract the first word of "$ac_prog", so it can be a program name with args.
2386 set dummy $ac_prog; ac_word=$2
2387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2388 $as_echo_n "checking for $ac_word... " >&6; }
2389 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2390 $as_echo_n "(cached) " >&6
2392 if test -n "$ac_ct_CXX"; then
2393 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2402 ac_cv_prog_ac_ct_CXX="$ac_prog"
2403 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2413 if test -n "$ac_ct_CXX"; then
2414 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2415 $as_echo "$ac_ct_CXX" >&6; }
2417 { $as_echo "$as_me:$LINENO: result: no" >&5
2418 $as_echo "no" >&6; }
2422 test -n "$ac_ct_CXX" && break
2425 if test "x$ac_ct_CXX" = x; then
2428 case $cross_compiling:$ac_tool_warned in
2430 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2432 ac_tool_warned=yes ;;
2440 # Provide some information about the compiler.
2441 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2444 { (ac_try="$ac_compiler --version >&5"
2446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2447 *) ac_try_echo=$ac_try;;
2449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2450 $as_echo "$ac_try_echo") >&5
2451 (eval "$ac_compiler --version >&5") 2>&5
2453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); }
2455 { (ac_try="$ac_compiler -v >&5"
2457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2458 *) ac_try_echo=$ac_try;;
2460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2461 $as_echo "$ac_try_echo") >&5
2462 (eval "$ac_compiler -v >&5") 2>&5
2464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }
2466 { (ac_try="$ac_compiler -V >&5"
2468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2469 *) ac_try_echo=$ac_try;;
2471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2472 $as_echo "$ac_try_echo") >&5
2473 (eval "$ac_compiler -V >&5") 2>&5
2475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }
2478 cat >conftest.$ac_ext <<_ACEOF
2481 cat confdefs.h >>conftest.$ac_ext
2482 cat >>conftest.$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2493 ac_clean_files_save=$ac_clean_files
2494 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2495 # Try to create an executable without -o first, disregard a.out.
2496 # It will help us diagnose broken compilers, and finding out an intuition
2498 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2499 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2500 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2502 # The possible output files:
2503 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2506 for ac_file in $ac_files
2509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2510 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2515 if { (ac_try="$ac_link_default"
2517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2521 $as_echo "$ac_try_echo") >&5
2522 (eval "$ac_link_default") 2>&5
2524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; then
2526 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2527 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2528 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2529 # so that the user can short-circuit this test for compilers unknown to
2531 for ac_file in $ac_files ''
2533 test -f "$ac_file" || continue
2535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2538 # We found the default executable, but exeext='' is most
2542 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2544 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2546 # We set ac_cv_exeext here because the later test for it is not
2547 # safe: cross compilers may not add the suffix if given an `-o'
2548 # argument, so we may need to know it at that point already.
2549 # Even if this section looks crufty: it has the advantage of
2556 test "$ac_cv_exeext" = no && ac_cv_exeext=
2562 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2563 $as_echo "$ac_file" >&6; }
2564 if test -z "$ac_file"; then
2565 $as_echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2568 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2570 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2571 See \`config.log' for more details." >&5
2572 $as_echo "$as_me: error: C++ compiler cannot create executables
2573 See \`config.log' for more details." >&2;}
2574 { (exit 77); exit 77; }; }; }
2577 ac_exeext=$ac_cv_exeext
2579 # Check that the compiler produces executables we can run. If not, either
2580 # the compiler is broken, or we cross compile.
2581 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2582 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2583 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2584 # If not cross compiling, check that we can run a simple program.
2585 if test "$cross_compiling" != yes; then
2586 if { ac_try='./$ac_file'
2587 { (case "(($ac_try" in
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2592 $as_echo "$ac_try_echo") >&5
2593 (eval "$ac_try") 2>&5
2595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; }; then
2599 if test "$cross_compiling" = maybe; then
2602 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2604 { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2605 If you meant to cross compile, use \`--host'.
2606 See \`config.log' for more details." >&5
2607 $as_echo "$as_me: error: cannot run C++ compiled programs.
2608 If you meant to cross compile, use \`--host'.
2609 See \`config.log' for more details." >&2;}
2610 { (exit 1); exit 1; }; }; }
2614 { $as_echo "$as_me:$LINENO: result: yes" >&5
2615 $as_echo "yes" >&6; }
2617 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2618 ac_clean_files=$ac_clean_files_save
2619 # Check that the compiler produces executables we can run. If not, either
2620 # the compiler is broken, or we cross compile.
2621 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2622 $as_echo_n "checking whether we are cross compiling... " >&6; }
2623 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2624 $as_echo "$cross_compiling" >&6; }
2626 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2627 $as_echo_n "checking for suffix of executables... " >&6; }
2628 if { (ac_try="$ac_link"
2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2634 $as_echo "$ac_try_echo") >&5
2635 (eval "$ac_link") 2>&5
2637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; then
2639 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2640 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2641 # work properly (i.e., refer to `conftest.exe'), while it won't with
2643 for ac_file in conftest.exe conftest conftest.*; do
2644 test -f "$ac_file" || continue
2646 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2647 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2653 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2656 See \`config.log' for more details." >&5
2657 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2658 See \`config.log' for more details." >&2;}
2659 { (exit 1); exit 1; }; }; }
2662 rm -f conftest$ac_cv_exeext
2663 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2664 $as_echo "$ac_cv_exeext" >&6; }
2666 rm -f conftest.$ac_ext
2667 EXEEXT=$ac_cv_exeext
2669 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2670 $as_echo_n "checking for suffix of object files... " >&6; }
2671 if test "${ac_cv_objext+set}" = set; then
2672 $as_echo_n "(cached) " >&6
2674 cat >conftest.$ac_ext <<_ACEOF
2677 cat confdefs.h >>conftest.$ac_ext
2678 cat >>conftest.$ac_ext <<_ACEOF
2679 /* end confdefs.h. */
2689 rm -f conftest.o conftest.obj
2690 if { (ac_try="$ac_compile"
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2696 $as_echo "$ac_try_echo") >&5
2697 (eval "$ac_compile") 2>&5
2699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; then
2701 for ac_file in conftest.o conftest.obj conftest.*; do
2702 test -f "$ac_file" || continue;
2704 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2705 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2710 $as_echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2713 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2715 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2716 See \`config.log' for more details." >&5
2717 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2718 See \`config.log' for more details." >&2;}
2719 { (exit 1); exit 1; }; }; }
2722 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2724 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2725 $as_echo "$ac_cv_objext" >&6; }
2726 OBJEXT=$ac_cv_objext
2728 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2729 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2730 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2731 $as_echo_n "(cached) " >&6
2733 cat >conftest.$ac_ext <<_ACEOF
2736 cat confdefs.h >>conftest.$ac_ext
2737 cat >>conftest.$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2751 rm -f conftest.$ac_objext
2752 if { (ac_try="$ac_compile"
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2758 $as_echo "$ac_try_echo") >&5
2759 (eval "$ac_compile") 2>conftest.er1
2761 grep -v '^ *+' conftest.er1 >conftest.err
2763 cat conftest.err >&5
2764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } && {
2766 test -z "$ac_cxx_werror_flag" ||
2767 test ! -s conftest.err
2768 } && test -s conftest.$ac_objext; then
2771 $as_echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2778 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2781 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2782 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2783 if test $ac_compiler_gnu = yes; then
2788 ac_test_CXXFLAGS=${CXXFLAGS+set}
2789 ac_save_CXXFLAGS=$CXXFLAGS
2790 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2791 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2792 if test "${ac_cv_prog_cxx_g+set}" = set; then
2793 $as_echo_n "(cached) " >&6
2795 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2796 ac_cxx_werror_flag=yes
2799 cat >conftest.$ac_ext <<_ACEOF
2802 cat confdefs.h >>conftest.$ac_ext
2803 cat >>conftest.$ac_ext <<_ACEOF
2804 /* end confdefs.h. */
2814 rm -f conftest.$ac_objext
2815 if { (ac_try="$ac_compile"
2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2821 $as_echo "$ac_try_echo") >&5
2822 (eval "$ac_compile") 2>conftest.er1
2824 grep -v '^ *+' conftest.er1 >conftest.err
2826 cat conftest.err >&5
2827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); } && {
2829 test -z "$ac_cxx_werror_flag" ||
2830 test ! -s conftest.err
2831 } && test -s conftest.$ac_objext; then
2832 ac_cv_prog_cxx_g=yes
2834 $as_echo "$as_me: failed program was:" >&5
2835 sed 's/^/| /' conftest.$ac_ext >&5
2838 cat >conftest.$ac_ext <<_ACEOF
2841 cat confdefs.h >>conftest.$ac_ext
2842 cat >>conftest.$ac_ext <<_ACEOF
2843 /* end confdefs.h. */
2853 rm -f conftest.$ac_objext
2854 if { (ac_try="$ac_compile"
2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2860 $as_echo "$ac_try_echo") >&5
2861 (eval "$ac_compile") 2>conftest.er1
2863 grep -v '^ *+' conftest.er1 >conftest.err
2865 cat conftest.err >&5
2866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } && {
2868 test -z "$ac_cxx_werror_flag" ||
2869 test ! -s conftest.err
2870 } && test -s conftest.$ac_objext; then
2873 $as_echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.$ac_ext >&5
2876 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2878 cat >conftest.$ac_ext <<_ACEOF
2881 cat confdefs.h >>conftest.$ac_ext
2882 cat >>conftest.$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2893 rm -f conftest.$ac_objext
2894 if { (ac_try="$ac_compile"
2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897 *) ac_try_echo=$ac_try;;
2899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2900 $as_echo "$ac_try_echo") >&5
2901 (eval "$ac_compile") 2>conftest.er1
2903 grep -v '^ *+' conftest.er1 >conftest.err
2905 cat conftest.err >&5
2906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } && {
2908 test -z "$ac_cxx_werror_flag" ||
2909 test ! -s conftest.err
2910 } && test -s conftest.$ac_objext; then
2911 ac_cv_prog_cxx_g=yes
2913 $as_echo "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2928 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2929 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2930 if test "$ac_test_CXXFLAGS" = set; then
2931 CXXFLAGS=$ac_save_CXXFLAGS
2932 elif test $ac_cv_prog_cxx_g = yes; then
2933 if test "$GXX" = yes; then
2939 if test "$GXX" = yes; then
2946 ac_cpp='$CPP $CPPFLAGS'
2947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2950 DEPDIR="${am__leading_dot}deps"
2952 ac_config_commands="$ac_config_commands depfiles"
2955 am_make=${MAKE-make}
2956 cat > confinc << 'END'
2961 # If we don't find an include directive, just comment out the code.
2962 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2963 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2967 # First try GNU make style include.
2968 echo "include confinc" > confmf
2969 # We grep out `Entering directory' and `Leaving directory'
2970 # messages which can occur if `w' ends up in MAKEFLAGS.
2971 # In particular we don't look at `^make:' because GNU make might
2972 # be invoked under some other name (usually "gmake"), in which
2973 # case it prints its new name instead of `make'.
2974 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2979 # Now try BSD make style include.
2980 if test "$am__include" = "#"; then
2981 echo '.include "confinc"' > confmf
2982 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2983 am__include=.include
2990 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2991 $as_echo "$_am_result" >&6; }
2992 rm -f confinc confmf
2994 # Check whether --enable-dependency-tracking was given.
2995 if test "${enable_dependency_tracking+set}" = set; then
2996 enableval=$enable_dependency_tracking;
2999 if test "x$enable_dependency_tracking" != xno; then
3000 am_depcomp="$ac_aux_dir/depcomp"
3003 if test "x$enable_dependency_tracking" != xno; then
3013 depcc="$CXX" am_compiler_list=
3015 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3016 $as_echo_n "checking dependency style of $depcc... " >&6; }
3017 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3018 $as_echo_n "(cached) " >&6
3020 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3021 # We make a subdir and do the tests there. Otherwise we can end up
3022 # making bogus files that we don't know about and never remove. For
3023 # instance it was reported that on HP-UX the gcc test will end up
3024 # making a dummy file named `D' -- because `-MD' means `put the output
3027 # Copy depcomp to subdir because otherwise we won't find it if we're
3028 # using a relative directory.
3029 cp "$am_depcomp" conftest.dir
3031 # We will build objects and dependencies in a subdirectory because
3032 # it helps to detect inapplicable dependency modes. For instance
3033 # both Tru64's cc and ICC support -MD to output dependencies as a
3034 # side effect of compilation, but ICC will put the dependencies in
3035 # the current directory while Tru64 will put them in the object
3039 am_cv_CXX_dependencies_compiler_type=none
3040 if test "$am_compiler_list" = ""; then
3041 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3043 for depmode in $am_compiler_list; do
3044 # Setup a source with many dependencies, because some compilers
3045 # like to wrap large dependency lists on column 80 (with \), and
3046 # we should not choose a depcomp mode which is confused by this.
3048 # We need to recreate these files for each test, as the compiler may
3049 # overwrite some of them when testing with obscure command lines.
3050 # This happens at least with the AIX C compiler.
3052 for i in 1 2 3 4 5 6; do
3053 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3054 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3055 # Solaris 8's {/usr,}/bin/sh.
3056 touch sub/conftst$i.h
3058 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3062 # after this tag, mechanisms are not by side-effect, so they'll
3063 # only be used when explicitly requested
3064 if test "x$enable_dependency_tracking" = xyes; then
3072 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3073 # mode. It turns out that the SunPro C++ compiler does not properly
3074 # handle `-M -o', and we need to detect this.
3075 if depmode=$depmode \
3076 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3077 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3078 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3079 >/dev/null 2>conftest.err &&
3080 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3081 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3082 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3083 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3084 # icc doesn't choke on unknown options, it will just issue warnings
3085 # or remarks (even with -Werror). So we grep stderr for any message
3086 # that says an option was ignored or not supported.
3087 # When given -MP, icc 7.0 and 7.1 complain thusly:
3088 # icc: Command line warning: ignoring option '-M'; no argument required
3089 # The diagnosis changed in icc 8.0:
3090 # icc: Command line remark: option '-MP' not supported
3091 if (grep 'ignoring option' conftest.err ||
3092 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3093 am_cv_CXX_dependencies_compiler_type=$depmode
3102 am_cv_CXX_dependencies_compiler_type=none
3106 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3107 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3108 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3111 test "x$enable_dependency_tracking" != xno \
3112 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3113 am__fastdepCXX_TRUE=
3114 am__fastdepCXX_FALSE='#'
3116 am__fastdepCXX_TRUE='#'
3117 am__fastdepCXX_FALSE=
3121 # Find a good install program. We prefer a C program (faster),
3122 # so one script is as good as another. But avoid the broken or
3123 # incompatible versions:
3124 # SysV /etc/install, /usr/sbin/install
3125 # SunOS /usr/etc/install
3126 # IRIX /sbin/install
3128 # AmigaOS /C/install, which installs bootblocks on floppy discs
3129 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3132 # OS/2's system install, which has a completely different semantic
3133 # ./install, which can be erroneously created by make from ./install.sh.
3134 # Reject install programs that cannot install multiple files.
3135 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3136 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3137 if test -z "$INSTALL"; then
3138 if test "${ac_cv_path_install+set}" = set; then
3139 $as_echo_n "(cached) " >&6
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir=.
3146 # Account for people who put trailing slashes in PATH elements.
3148 ./ | .// | /cC/* | \
3149 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3150 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3153 # OSF1 and SCO ODT 3.0 have their own names for install.
3154 # Don't use installbsd from OSF since it installs stuff as root
3156 for ac_prog in ginstall scoinst install; do
3157 for ac_exec_ext in '' $ac_executable_extensions; do
3158 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3159 if test $ac_prog = install &&
3160 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3161 # AIX install. It has an incompatible calling convention.
3163 elif test $ac_prog = install &&
3164 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3165 # program-specific install script used by HP pwplus--don't use.
3168 rm -rf conftest.one conftest.two conftest.dir
3169 echo one > conftest.one
3170 echo two > conftest.two
3172 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3173 test -s conftest.one && test -s conftest.two &&
3174 test -s conftest.dir/conftest.one &&
3175 test -s conftest.dir/conftest.two
3177 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3190 rm -rf conftest.one conftest.two conftest.dir
3193 if test "${ac_cv_path_install+set}" = set; then
3194 INSTALL=$ac_cv_path_install
3196 # As a last resort, use the slow shell script. Don't cache a
3197 # value for INSTALL within a source directory, because that will
3198 # break other packages using the cache if that directory is
3199 # removed, or if the value is a relative name.
3200 INSTALL=$ac_install_sh
3203 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3204 $as_echo "$INSTALL" >&6; }
3206 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3207 # It thinks the first close brace ends the variable substitution.
3208 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3210 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3212 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3215 # Checks for libraries.
3217 ac_cpp='$CPP $CPPFLAGS'
3218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3221 if test -n "$ac_tool_prefix"; then
3222 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3223 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3224 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if test "${ac_cv_prog_CC+set}" = set; then
3227 $as_echo_n "(cached) " >&6
3229 if test -n "$CC"; then
3230 ac_cv_prog_CC="$CC" # Let the user override the test.
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir=.
3237 for ac_exec_ext in '' $ac_executable_extensions; do
3238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3240 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3250 if test -n "$CC"; then
3251 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3252 $as_echo "$CC" >&6; }
3254 { $as_echo "$as_me:$LINENO: result: no" >&5
3255 $as_echo "no" >&6; }
3260 if test -z "$ac_cv_prog_CC"; then
3262 # Extract the first word of "gcc", so it can be a program name with args.
3263 set dummy gcc; ac_word=$2
3264 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3267 $as_echo_n "(cached) " >&6
3269 if test -n "$ac_ct_CC"; then
3270 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279 ac_cv_prog_ac_ct_CC="gcc"
3280 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3290 if test -n "$ac_ct_CC"; then
3291 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3292 $as_echo "$ac_ct_CC" >&6; }
3294 { $as_echo "$as_me:$LINENO: result: no" >&5
3295 $as_echo "no" >&6; }
3298 if test "x$ac_ct_CC" = x; then
3301 case $cross_compiling:$ac_tool_warned in
3303 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305 ac_tool_warned=yes ;;
3313 if test -z "$CC"; then
3314 if test -n "$ac_tool_prefix"; then
3315 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3316 set dummy ${ac_tool_prefix}cc; ac_word=$2
3317 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3318 $as_echo_n "checking for $ac_word... " >&6; }
3319 if test "${ac_cv_prog_CC+set}" = set; then
3320 $as_echo_n "(cached) " >&6
3322 if test -n "$CC"; then
3323 ac_cv_prog_CC="$CC" # Let the user override the test.
3325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 test -z "$as_dir" && as_dir=.
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3332 ac_cv_prog_CC="${ac_tool_prefix}cc"
3333 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 if test -n "$CC"; then
3344 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3345 $as_echo "$CC" >&6; }
3347 { $as_echo "$as_me:$LINENO: result: no" >&5
3348 $as_echo "no" >&6; }
3354 if test -z "$CC"; then
3355 # Extract the first word of "cc", so it can be a program name with args.
3356 set dummy cc; ac_word=$2
3357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3358 $as_echo_n "checking for $ac_word... " >&6; }
3359 if test "${ac_cv_prog_CC+set}" = set; then
3360 $as_echo_n "(cached) " >&6
3362 if test -n "$CC"; then
3363 ac_cv_prog_CC="$CC" # Let the user override the test.
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 test -z "$as_dir" && as_dir=.
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3374 ac_prog_rejected=yes
3378 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3385 if test $ac_prog_rejected = yes; then
3386 # We found a bogon in the path, so make sure we never use it.
3387 set dummy $ac_cv_prog_CC
3389 if test $# != 0; then
3390 # We chose a different compiler from the bogus one.
3391 # However, it has the same basename, so the bogon will be chosen
3392 # first if we set CC to just the basename; use the full file name.
3394 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3400 if test -n "$CC"; then
3401 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3402 $as_echo "$CC" >&6; }
3404 { $as_echo "$as_me:$LINENO: result: no" >&5
3405 $as_echo "no" >&6; }
3410 if test -z "$CC"; then
3411 if test -n "$ac_tool_prefix"; then
3412 for ac_prog in cl.exe
3414 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3415 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3416 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if test "${ac_cv_prog_CC+set}" = set; then
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$CC"; then
3422 ac_cv_prog_CC="$CC" # Let the user override the test.
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3431 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3432 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 if test -n "$CC"; then
3443 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3444 $as_echo "$CC" >&6; }
3446 { $as_echo "$as_me:$LINENO: result: no" >&5
3447 $as_echo "no" >&6; }
3451 test -n "$CC" && break
3454 if test -z "$CC"; then
3456 for ac_prog in cl.exe
3458 # Extract the first word of "$ac_prog", so it can be a program name with args.
3459 set dummy $ac_prog; ac_word=$2
3460 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3461 $as_echo_n "checking for $ac_word... " >&6; }
3462 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3463 $as_echo_n "(cached) " >&6
3465 if test -n "$ac_ct_CC"; then
3466 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3475 ac_cv_prog_ac_ct_CC="$ac_prog"
3476 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3485 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3486 if test -n "$ac_ct_CC"; then
3487 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3488 $as_echo "$ac_ct_CC" >&6; }
3490 { $as_echo "$as_me:$LINENO: result: no" >&5
3491 $as_echo "no" >&6; }
3495 test -n "$ac_ct_CC" && break
3498 if test "x$ac_ct_CC" = x; then
3501 case $cross_compiling:$ac_tool_warned in
3503 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3505 ac_tool_warned=yes ;;
3514 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3517 See \`config.log' for more details." >&5
3518 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3519 See \`config.log' for more details." >&2;}
3520 { (exit 1); exit 1; }; }; }
3522 # Provide some information about the compiler.
3523 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3526 { (ac_try="$ac_compiler --version >&5"
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3532 $as_echo "$ac_try_echo") >&5
3533 (eval "$ac_compiler --version >&5") 2>&5
3535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); }
3537 { (ac_try="$ac_compiler -v >&5"
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3543 $as_echo "$ac_try_echo") >&5
3544 (eval "$ac_compiler -v >&5") 2>&5
3546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }
3548 { (ac_try="$ac_compiler -V >&5"
3550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551 *) ac_try_echo=$ac_try;;
3553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3554 $as_echo "$ac_try_echo") >&5
3555 (eval "$ac_compiler -V >&5") 2>&5
3557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); }
3560 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3561 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3562 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3563 $as_echo_n "(cached) " >&6
3565 cat >conftest.$ac_ext <<_ACEOF
3568 cat confdefs.h >>conftest.$ac_ext
3569 cat >>conftest.$ac_ext <<_ACEOF
3570 /* end confdefs.h. */
3583 rm -f conftest.$ac_objext
3584 if { (ac_try="$ac_compile"
3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3590 $as_echo "$ac_try_echo") >&5
3591 (eval "$ac_compile") 2>conftest.er1
3593 grep -v '^ *+' conftest.er1 >conftest.err
3595 cat conftest.err >&5
3596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } && {
3598 test -z "$ac_c_werror_flag" ||
3599 test ! -s conftest.err
3600 } && test -s conftest.$ac_objext; then
3603 $as_echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.$ac_ext >&5
3609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3613 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3614 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3615 if test $ac_compiler_gnu = yes; then
3620 ac_test_CFLAGS=${CFLAGS+set}
3621 ac_save_CFLAGS=$CFLAGS
3622 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3623 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3624 if test "${ac_cv_prog_cc_g+set}" = set; then
3625 $as_echo_n "(cached) " >&6
3627 ac_save_c_werror_flag=$ac_c_werror_flag
3628 ac_c_werror_flag=yes
3631 cat >conftest.$ac_ext <<_ACEOF
3634 cat confdefs.h >>conftest.$ac_ext
3635 cat >>conftest.$ac_ext <<_ACEOF
3636 /* end confdefs.h. */
3646 rm -f conftest.$ac_objext
3647 if { (ac_try="$ac_compile"
3649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650 *) ac_try_echo=$ac_try;;
3652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3653 $as_echo "$ac_try_echo") >&5
3654 (eval "$ac_compile") 2>conftest.er1
3656 grep -v '^ *+' conftest.er1 >conftest.err
3658 cat conftest.err >&5
3659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } && {
3661 test -z "$ac_c_werror_flag" ||
3662 test ! -s conftest.err
3663 } && test -s conftest.$ac_objext; then
3666 $as_echo "$as_me: failed program was:" >&5
3667 sed 's/^/| /' conftest.$ac_ext >&5
3670 cat >conftest.$ac_ext <<_ACEOF
3673 cat confdefs.h >>conftest.$ac_ext
3674 cat >>conftest.$ac_ext <<_ACEOF
3675 /* end confdefs.h. */
3685 rm -f conftest.$ac_objext
3686 if { (ac_try="$ac_compile"
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3691 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3692 $as_echo "$ac_try_echo") >&5
3693 (eval "$ac_compile") 2>conftest.er1
3695 grep -v '^ *+' conftest.er1 >conftest.err
3697 cat conftest.err >&5
3698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); } && {
3700 test -z "$ac_c_werror_flag" ||
3701 test ! -s conftest.err
3702 } && test -s conftest.$ac_objext; then
3705 $as_echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.$ac_ext >&5
3708 ac_c_werror_flag=$ac_save_c_werror_flag
3710 cat >conftest.$ac_ext <<_ACEOF
3713 cat confdefs.h >>conftest.$ac_ext
3714 cat >>conftest.$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3725 rm -f conftest.$ac_objext
3726 if { (ac_try="$ac_compile"
3728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3729 *) ac_try_echo=$ac_try;;
3731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3732 $as_echo "$ac_try_echo") >&5
3733 (eval "$ac_compile") 2>conftest.er1
3735 grep -v '^ *+' conftest.er1 >conftest.err
3737 cat conftest.err >&5
3738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); } && {
3740 test -z "$ac_c_werror_flag" ||
3741 test ! -s conftest.err
3742 } && test -s conftest.$ac_objext; then
3745 $as_echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.$ac_ext >&5
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758 ac_c_werror_flag=$ac_save_c_werror_flag
3760 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3761 $as_echo "$ac_cv_prog_cc_g" >&6; }
3762 if test "$ac_test_CFLAGS" = set; then
3763 CFLAGS=$ac_save_CFLAGS
3764 elif test $ac_cv_prog_cc_g = yes; then
3765 if test "$GCC" = yes; then
3771 if test "$GCC" = yes; then
3777 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3778 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3779 if test "${ac_cv_prog_cc_c89+set}" = set; then
3780 $as_echo_n "(cached) " >&6
3782 ac_cv_prog_cc_c89=no
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3792 #include <sys/types.h>
3793 #include <sys/stat.h>
3794 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3795 struct buf { int x; };
3796 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3797 static char *e (p, i)
3803 static char *f (char * (*g) (char **, int), char **p, ...)
3808 s = g (p, va_arg (v,int));
3813 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3814 function prototypes and stuff, but not '\xHH' hex character constants.
3815 These don't provoke an error unfortunately, instead are silently treated
3816 as 'x'. The following induces an error, until -std is added to get
3817 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3818 array size at least. It's necessary to write '\x00'==0 to get something
3819 that's true only with -std. */
3820 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3822 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3823 inside strings and character constants. */
3825 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3827 int test (int i, double x);
3828 struct s1 {int (*f) (int a);};
3829 struct s2 {int (*f) (double a);};
3830 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3836 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3841 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3842 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3844 CC="$ac_save_CC $ac_arg"
3845 rm -f conftest.$ac_objext
3846 if { (ac_try="$ac_compile"
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3852 $as_echo "$ac_try_echo") >&5
3853 (eval "$ac_compile") 2>conftest.er1
3855 grep -v '^ *+' conftest.er1 >conftest.err
3857 cat conftest.err >&5
3858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); } && {
3860 test -z "$ac_c_werror_flag" ||
3861 test ! -s conftest.err
3862 } && test -s conftest.$ac_objext; then
3863 ac_cv_prog_cc_c89=$ac_arg
3865 $as_echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3871 rm -f core conftest.err conftest.$ac_objext
3872 test "x$ac_cv_prog_cc_c89" != "xno" && break
3874 rm -f conftest.$ac_ext
3879 case "x$ac_cv_prog_cc_c89" in
3881 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3882 $as_echo "none needed" >&6; } ;;
3884 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3885 $as_echo "unsupported" >&6; } ;;
3887 CC="$CC $ac_cv_prog_cc_c89"
3888 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3889 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3894 ac_cpp='$CPP $CPPFLAGS'
3895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3899 depcc="$CC" am_compiler_list=
3901 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3902 $as_echo_n "checking dependency style of $depcc... " >&6; }
3903 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3904 $as_echo_n "(cached) " >&6
3906 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3907 # We make a subdir and do the tests there. Otherwise we can end up
3908 # making bogus files that we don't know about and never remove. For
3909 # instance it was reported that on HP-UX the gcc test will end up
3910 # making a dummy file named `D' -- because `-MD' means `put the output
3913 # Copy depcomp to subdir because otherwise we won't find it if we're
3914 # using a relative directory.
3915 cp "$am_depcomp" conftest.dir
3917 # We will build objects and dependencies in a subdirectory because
3918 # it helps to detect inapplicable dependency modes. For instance
3919 # both Tru64's cc and ICC support -MD to output dependencies as a
3920 # side effect of compilation, but ICC will put the dependencies in
3921 # the current directory while Tru64 will put them in the object
3925 am_cv_CC_dependencies_compiler_type=none
3926 if test "$am_compiler_list" = ""; then
3927 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3929 for depmode in $am_compiler_list; do
3930 # Setup a source with many dependencies, because some compilers
3931 # like to wrap large dependency lists on column 80 (with \), and
3932 # we should not choose a depcomp mode which is confused by this.
3934 # We need to recreate these files for each test, as the compiler may
3935 # overwrite some of them when testing with obscure command lines.
3936 # This happens at least with the AIX C compiler.
3938 for i in 1 2 3 4 5 6; do
3939 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3940 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3941 # Solaris 8's {/usr,}/bin/sh.
3942 touch sub/conftst$i.h
3944 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3948 # after this tag, mechanisms are not by side-effect, so they'll
3949 # only be used when explicitly requested
3950 if test "x$enable_dependency_tracking" = xyes; then
3958 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3959 # mode. It turns out that the SunPro C++ compiler does not properly
3960 # handle `-M -o', and we need to detect this.
3961 if depmode=$depmode \
3962 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3963 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3964 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3965 >/dev/null 2>conftest.err &&
3966 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3967 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3968 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3969 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3970 # icc doesn't choke on unknown options, it will just issue warnings
3971 # or remarks (even with -Werror). So we grep stderr for any message
3972 # that says an option was ignored or not supported.
3973 # When given -MP, icc 7.0 and 7.1 complain thusly:
3974 # icc: Command line warning: ignoring option '-M'; no argument required
3975 # The diagnosis changed in icc 8.0:
3976 # icc: Command line remark: option '-MP' not supported
3977 if (grep 'ignoring option' conftest.err ||
3978 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3979 am_cv_CC_dependencies_compiler_type=$depmode
3988 am_cv_CC_dependencies_compiler_type=none
3992 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3993 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3994 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3997 test "x$enable_dependency_tracking" != xno \
3998 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4000 am__fastdepCC_FALSE='#'
4002 am__fastdepCC_TRUE='#'
4003 am__fastdepCC_FALSE=
4009 { $as_echo "$as_me:$LINENO: checking for -lboost_filesystem in -lboost_filesystem" >&5
4010 $as_echo_n "checking for -lboost_filesystem in -lboost_filesystem... " >&6; }
4011 if test "${ac_cv_lib_boost_filesystem__lboost_filesystem+set}" = set; then
4012 $as_echo_n "(cached) " >&6
4014 ac_check_lib_save_LIBS=$LIBS
4015 LIBS="-lboost_filesystem $LIBS"
4016 cat >conftest.$ac_ext <<_ACEOF
4019 cat confdefs.h >>conftest.$ac_ext
4020 cat >>conftest.$ac_ext <<_ACEOF
4021 /* end confdefs.h. */
4023 /* Override any GCC internal prototype to avoid an error.
4024 Use char because int might match the return type of a GCC
4025 builtin and then its argument prototype would still apply. */
4029 char -lboost_filesystem ();
4033 return -lboost_filesystem ();
4038 rm -f conftest.$ac_objext conftest$ac_exeext
4039 if { (ac_try="$ac_link"
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4045 $as_echo "$ac_try_echo") >&5
4046 (eval "$ac_link") 2>conftest.er1
4048 grep -v '^ *+' conftest.er1 >conftest.err
4050 cat conftest.err >&5
4051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); } && {
4053 test -z "$ac_c_werror_flag" ||
4054 test ! -s conftest.err
4055 } && test -s conftest$ac_exeext && {
4056 test "$cross_compiling" = yes ||
4057 $as_test_x conftest$ac_exeext
4059 ac_cv_lib_boost_filesystem__lboost_filesystem=yes
4061 $as_echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.$ac_ext >&5
4064 ac_cv_lib_boost_filesystem__lboost_filesystem=no
4067 rm -rf conftest.dSYM
4068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4069 conftest$ac_exeext conftest.$ac_ext
4070 LIBS=$ac_check_lib_save_LIBS
4072 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_boost_filesystem__lboost_filesystem" >&5
4073 $as_echo "$ac_cv_lib_boost_filesystem__lboost_filesystem" >&6; }
4074 if test "x$ac_cv_lib_boost_filesystem__lboost_filesystem" = x""yes; then
4075 cat >>confdefs.h <<_ACEOF
4076 #define HAVE_LIBBOOST_FILESYSTEM 1
4079 LIBS="-lboost_filesystem $LIBS"
4084 { $as_echo "$as_me:$LINENO: checking for -lislib in -lislib" >&5
4085 $as_echo_n "checking for -lislib in -lislib... " >&6; }
4086 if test "${ac_cv_lib_islib__lislib+set}" = set; then
4087 $as_echo_n "(cached) " >&6
4089 ac_check_lib_save_LIBS=$LIBS
4090 LIBS="-lislib $LIBS"
4091 cat >conftest.$ac_ext <<_ACEOF
4094 cat confdefs.h >>conftest.$ac_ext
4095 cat >>conftest.$ac_ext <<_ACEOF
4096 /* end confdefs.h. */
4098 /* Override any GCC internal prototype to avoid an error.
4099 Use char because int might match the return type of a GCC
4100 builtin and then its argument prototype would still apply. */
4113 rm -f conftest.$ac_objext conftest$ac_exeext
4114 if { (ac_try="$ac_link"
4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4120 $as_echo "$ac_try_echo") >&5
4121 (eval "$ac_link") 2>conftest.er1
4123 grep -v '^ *+' conftest.er1 >conftest.err
4125 cat conftest.err >&5
4126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } && {
4128 test -z "$ac_c_werror_flag" ||
4129 test ! -s conftest.err
4130 } && test -s conftest$ac_exeext && {
4131 test "$cross_compiling" = yes ||
4132 $as_test_x conftest$ac_exeext
4134 ac_cv_lib_islib__lislib=yes
4136 $as_echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.$ac_ext >&5
4139 ac_cv_lib_islib__lislib=no
4142 rm -rf conftest.dSYM
4143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4144 conftest$ac_exeext conftest.$ac_ext
4145 LIBS=$ac_check_lib_save_LIBS
4147 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_islib__lislib" >&5
4148 $as_echo "$ac_cv_lib_islib__lislib" >&6; }
4149 if test "x$ac_cv_lib_islib__lislib" = x""yes; then
4150 cat >>confdefs.h <<_ACEOF
4151 #define HAVE_LIBISLIB 1
4154 LIBS="-lislib $LIBS"
4159 # Checks for header files.
4161 ac_cpp='$CPP $CPPFLAGS'
4162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4165 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4166 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4167 # On Suns, sometimes $CPP names a directory.
4168 if test -n "$CPP" && test -d "$CPP"; then
4171 if test -z "$CPP"; then
4172 if test "${ac_cv_prog_CPP+set}" = set; then
4173 $as_echo_n "(cached) " >&6
4175 # Double quotes because CPP needs to be expanded
4176 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4179 for ac_c_preproc_warn_flag in '' yes
4181 # Use a header file that comes with gcc, so configuring glibc
4182 # with a fresh cross-compiler works.
4183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4184 # <limits.h> exists even on freestanding compilers.
4185 # On the NeXT, cc -E runs the code through the compiler's parser,
4186 # not just through cpp. "Syntax error" is here to catch this case.
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4194 # include <limits.h>
4196 # include <assert.h>
4200 if { (ac_try="$ac_cpp conftest.$ac_ext"
4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4206 $as_echo "$ac_try_echo") >&5
4207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4209 grep -v '^ *+' conftest.er1 >conftest.err
4211 cat conftest.err >&5
4212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); } >/dev/null && {
4214 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4215 test ! -s conftest.err
4219 $as_echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.$ac_ext >&5
4222 # Broken: fails on valid input.
4226 rm -f conftest.err conftest.$ac_ext
4228 # OK, works on sane cases. Now check whether nonexistent headers
4229 # can be detected and how.
4230 cat >conftest.$ac_ext <<_ACEOF
4233 cat confdefs.h >>conftest.$ac_ext
4234 cat >>conftest.$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4236 #include <ac_nonexistent.h>
4238 if { (ac_try="$ac_cpp conftest.$ac_ext"
4240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4241 *) ac_try_echo=$ac_try;;
4243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4244 $as_echo "$ac_try_echo") >&5
4245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } >/dev/null && {
4252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4253 test ! -s conftest.err
4255 # Broken: success on invalid input.
4258 $as_echo "$as_me: failed program was:" >&5
4259 sed 's/^/| /' conftest.$ac_ext >&5
4261 # Passes both tests.
4266 rm -f conftest.err conftest.$ac_ext
4269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4270 rm -f conftest.err conftest.$ac_ext
4271 if $ac_preproc_ok; then
4283 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4284 $as_echo "$CPP" >&6; }
4286 for ac_c_preproc_warn_flag in '' yes
4288 # Use a header file that comes with gcc, so configuring glibc
4289 # with a fresh cross-compiler works.
4290 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4291 # <limits.h> exists even on freestanding compilers.
4292 # On the NeXT, cc -E runs the code through the compiler's parser,
4293 # not just through cpp. "Syntax error" is here to catch this case.
4294 cat >conftest.$ac_ext <<_ACEOF
4297 cat confdefs.h >>conftest.$ac_ext
4298 cat >>conftest.$ac_ext <<_ACEOF
4299 /* end confdefs.h. */
4301 # include <limits.h>
4303 # include <assert.h>
4307 if { (ac_try="$ac_cpp conftest.$ac_ext"
4309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4310 *) ac_try_echo=$ac_try;;
4312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4313 $as_echo "$ac_try_echo") >&5
4314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4316 grep -v '^ *+' conftest.er1 >conftest.err
4318 cat conftest.err >&5
4319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); } >/dev/null && {
4321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4322 test ! -s conftest.err
4326 $as_echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.$ac_ext >&5
4329 # Broken: fails on valid input.
4333 rm -f conftest.err conftest.$ac_ext
4335 # OK, works on sane cases. Now check whether nonexistent headers
4336 # can be detected and how.
4337 cat >conftest.$ac_ext <<_ACEOF
4340 cat confdefs.h >>conftest.$ac_ext
4341 cat >>conftest.$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4343 #include <ac_nonexistent.h>
4345 if { (ac_try="$ac_cpp conftest.$ac_ext"
4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4351 $as_echo "$ac_try_echo") >&5
4352 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4354 grep -v '^ *+' conftest.er1 >conftest.err
4356 cat conftest.err >&5
4357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } >/dev/null && {
4359 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4360 test ! -s conftest.err
4362 # Broken: success on invalid input.
4365 $as_echo "$as_me: failed program was:" >&5
4366 sed 's/^/| /' conftest.$ac_ext >&5
4368 # Passes both tests.
4373 rm -f conftest.err conftest.$ac_ext
4376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4377 rm -f conftest.err conftest.$ac_ext
4378 if $ac_preproc_ok; then
4381 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4383 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4384 See \`config.log' for more details." >&5
4385 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4386 See \`config.log' for more details." >&2;}
4387 { (exit 1); exit 1; }; }; }
4391 ac_cpp='$CPP $CPPFLAGS'
4392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4397 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4398 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4399 if test "${ac_cv_path_GREP+set}" = set; then
4400 $as_echo_n "(cached) " >&6
4402 if test -z "$GREP"; then
4403 ac_path_GREP_found=false
4404 # Loop through the user's path and test for each of PROGNAME-LIST
4405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4409 test -z "$as_dir" && as_dir=.
4410 for ac_prog in grep ggrep; do
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4413 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4414 # Check for GNU ac_path_GREP and select it if it is found.
4415 # Check for GNU $ac_path_GREP
4416 case `"$ac_path_GREP" --version 2>&1` in
4418 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4421 $as_echo_n 0123456789 >"conftest.in"
4424 cat "conftest.in" "conftest.in" >"conftest.tmp"
4425 mv "conftest.tmp" "conftest.in"
4426 cp "conftest.in" "conftest.nl"
4427 $as_echo 'GREP' >> "conftest.nl"
4428 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4430 ac_count=`expr $ac_count + 1`
4431 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4432 # Best one so far, save it but keep looking for a better one
4433 ac_cv_path_GREP="$ac_path_GREP"
4434 ac_path_GREP_max=$ac_count
4436 # 10*(2^10) chars as input seems more than enough
4437 test $ac_count -gt 10 && break
4439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4442 $ac_path_GREP_found && break 3
4447 if test -z "$ac_cv_path_GREP"; then
4448 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4449 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4450 { (exit 1); exit 1; }; }
4453 ac_cv_path_GREP=$GREP
4457 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4458 $as_echo "$ac_cv_path_GREP" >&6; }
4459 GREP="$ac_cv_path_GREP"
4462 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4463 $as_echo_n "checking for egrep... " >&6; }
4464 if test "${ac_cv_path_EGREP+set}" = set; then
4465 $as_echo_n "(cached) " >&6
4467 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4468 then ac_cv_path_EGREP="$GREP -E"
4470 if test -z "$EGREP"; then
4471 ac_path_EGREP_found=false
4472 # Loop through the user's path and test for each of PROGNAME-LIST
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4477 test -z "$as_dir" && as_dir=.
4478 for ac_prog in egrep; do
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4481 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4482 # Check for GNU ac_path_EGREP and select it if it is found.
4483 # Check for GNU $ac_path_EGREP
4484 case `"$ac_path_EGREP" --version 2>&1` in
4486 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4489 $as_echo_n 0123456789 >"conftest.in"
4492 cat "conftest.in" "conftest.in" >"conftest.tmp"
4493 mv "conftest.tmp" "conftest.in"
4494 cp "conftest.in" "conftest.nl"
4495 $as_echo 'EGREP' >> "conftest.nl"
4496 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4497 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4498 ac_count=`expr $ac_count + 1`
4499 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4500 # Best one so far, save it but keep looking for a better one
4501 ac_cv_path_EGREP="$ac_path_EGREP"
4502 ac_path_EGREP_max=$ac_count
4504 # 10*(2^10) chars as input seems more than enough
4505 test $ac_count -gt 10 && break
4507 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4510 $ac_path_EGREP_found && break 3
4515 if test -z "$ac_cv_path_EGREP"; then
4516 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4517 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4518 { (exit 1); exit 1; }; }
4521 ac_cv_path_EGREP=$EGREP
4526 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4527 $as_echo "$ac_cv_path_EGREP" >&6; }
4528 EGREP="$ac_cv_path_EGREP"
4531 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4532 $as_echo_n "checking for ANSI C header files... " >&6; }
4533 if test "${ac_cv_header_stdc+set}" = set; then
4534 $as_echo_n "(cached) " >&6
4536 cat >conftest.$ac_ext <<_ACEOF
4539 cat confdefs.h >>conftest.$ac_ext
4540 cat >>conftest.$ac_ext <<_ACEOF
4541 /* end confdefs.h. */
4555 rm -f conftest.$ac_objext
4556 if { (ac_try="$ac_compile"
4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4562 $as_echo "$ac_try_echo") >&5
4563 (eval "$ac_compile") 2>conftest.er1
4565 grep -v '^ *+' conftest.er1 >conftest.err
4567 cat conftest.err >&5
4568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } && {
4570 test -z "$ac_c_werror_flag" ||
4571 test ! -s conftest.err
4572 } && test -s conftest.$ac_objext; then
4573 ac_cv_header_stdc=yes
4575 $as_echo "$as_me: failed program was:" >&5
4576 sed 's/^/| /' conftest.$ac_ext >&5
4578 ac_cv_header_stdc=no
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 if test $ac_cv_header_stdc = yes; then
4584 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4585 cat >conftest.$ac_ext <<_ACEOF
4588 cat confdefs.h >>conftest.$ac_ext
4589 cat >>conftest.$ac_ext <<_ACEOF
4590 /* end confdefs.h. */
4594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4595 $EGREP "memchr" >/dev/null 2>&1; then
4598 ac_cv_header_stdc=no
4604 if test $ac_cv_header_stdc = yes; then
4605 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4606 cat >conftest.$ac_ext <<_ACEOF
4609 cat confdefs.h >>conftest.$ac_ext
4610 cat >>conftest.$ac_ext <<_ACEOF
4611 /* end confdefs.h. */
4615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4616 $EGREP "free" >/dev/null 2>&1; then
4619 ac_cv_header_stdc=no
4625 if test $ac_cv_header_stdc = yes; then
4626 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4627 if test "$cross_compiling" = yes; then
4630 cat >conftest.$ac_ext <<_ACEOF
4633 cat confdefs.h >>conftest.$ac_ext
4634 cat >>conftest.$ac_ext <<_ACEOF
4635 /* end confdefs.h. */
4638 #if ((' ' & 0x0FF) == 0x020)
4639 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4640 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4642 # define ISLOWER(c) \
4643 (('a' <= (c) && (c) <= 'i') \
4644 || ('j' <= (c) && (c) <= 'r') \
4645 || ('s' <= (c) && (c) <= 'z'))
4646 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4649 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4654 for (i = 0; i < 256; i++)
4655 if (XOR (islower (i), ISLOWER (i))
4656 || toupper (i) != TOUPPER (i))
4661 rm -f conftest$ac_exeext
4662 if { (ac_try="$ac_link"
4664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4665 *) ac_try_echo=$ac_try;;
4667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4668 $as_echo "$ac_try_echo") >&5
4669 (eval "$ac_link") 2>&5
4671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4673 { (case "(($ac_try" in
4674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4675 *) ac_try_echo=$ac_try;;
4677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4678 $as_echo "$ac_try_echo") >&5
4679 (eval "$ac_try") 2>&5
4681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; }; then
4685 $as_echo "$as_me: program exited with status $ac_status" >&5
4686 $as_echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4690 ac_cv_header_stdc=no
4692 rm -rf conftest.dSYM
4693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4699 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4700 $as_echo "$ac_cv_header_stdc" >&6; }
4701 if test $ac_cv_header_stdc = yes; then
4703 cat >>confdefs.h <<\_ACEOF
4704 #define STDC_HEADERS 1
4709 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4719 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4720 inttypes.h stdint.h unistd.h
4722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4723 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4724 $as_echo_n "checking for $ac_header... " >&6; }
4725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4726 $as_echo_n "(cached) " >&6
4728 cat >conftest.$ac_ext <<_ACEOF
4731 cat confdefs.h >>conftest.$ac_ext
4732 cat >>conftest.$ac_ext <<_ACEOF
4733 /* end confdefs.h. */
4734 $ac_includes_default
4736 #include <$ac_header>
4738 rm -f conftest.$ac_objext
4739 if { (ac_try="$ac_compile"
4741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4742 *) ac_try_echo=$ac_try;;
4744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4745 $as_echo "$ac_try_echo") >&5
4746 (eval "$ac_compile") 2>conftest.er1
4748 grep -v '^ *+' conftest.er1 >conftest.err
4750 cat conftest.err >&5
4751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } && {
4753 test -z "$ac_c_werror_flag" ||
4754 test ! -s conftest.err
4755 } && test -s conftest.$ac_objext; then
4756 eval "$as_ac_Header=yes"
4758 $as_echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.$ac_ext >&5
4761 eval "$as_ac_Header=no"
4764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4766 ac_res=`eval 'as_val=${'$as_ac_Header'}
4767 $as_echo "$as_val"'`
4768 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4769 $as_echo "$ac_res" >&6; }
4770 as_val=`eval 'as_val=${'$as_ac_Header'}
4771 $as_echo "$as_val"'`
4772 if test "x$as_val" = x""yes; then
4773 cat >>confdefs.h <<_ACEOF
4774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4783 for ac_header in sys/stat.h
4785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4787 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4788 $as_echo_n "checking for $ac_header... " >&6; }
4789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4790 $as_echo_n "(cached) " >&6
4792 ac_res=`eval 'as_val=${'$as_ac_Header'}
4793 $as_echo "$as_val"'`
4794 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4795 $as_echo "$ac_res" >&6; }
4797 # Is the header compilable?
4798 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4799 $as_echo_n "checking $ac_header usability... " >&6; }
4800 cat >conftest.$ac_ext <<_ACEOF
4803 cat confdefs.h >>conftest.$ac_ext
4804 cat >>conftest.$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4806 $ac_includes_default
4807 #include <$ac_header>
4809 rm -f conftest.$ac_objext
4810 if { (ac_try="$ac_compile"
4812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4813 *) ac_try_echo=$ac_try;;
4815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4816 $as_echo "$ac_try_echo") >&5
4817 (eval "$ac_compile") 2>conftest.er1
4819 grep -v '^ *+' conftest.er1 >conftest.err
4821 cat conftest.err >&5
4822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); } && {
4824 test -z "$ac_c_werror_flag" ||
4825 test ! -s conftest.err
4826 } && test -s conftest.$ac_objext; then
4827 ac_header_compiler=yes
4829 $as_echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.$ac_ext >&5
4832 ac_header_compiler=no
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4836 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4837 $as_echo "$ac_header_compiler" >&6; }
4839 # Is the header present?
4840 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4841 $as_echo_n "checking $ac_header presence... " >&6; }
4842 cat >conftest.$ac_ext <<_ACEOF
4845 cat confdefs.h >>conftest.$ac_ext
4846 cat >>conftest.$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4848 #include <$ac_header>
4850 if { (ac_try="$ac_cpp conftest.$ac_ext"
4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4856 $as_echo "$ac_try_echo") >&5
4857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4859 grep -v '^ *+' conftest.er1 >conftest.err
4861 cat conftest.err >&5
4862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } >/dev/null && {
4864 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4865 test ! -s conftest.err
4867 ac_header_preproc=yes
4869 $as_echo "$as_me: failed program was:" >&5
4870 sed 's/^/| /' conftest.$ac_ext >&5
4872 ac_header_preproc=no
4875 rm -f conftest.err conftest.$ac_ext
4876 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4877 $as_echo "$ac_header_preproc" >&6; }
4879 # So? What about this header?
4880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4882 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4883 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4884 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4885 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4886 ac_header_preproc=yes
4889 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4890 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4891 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4892 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4893 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4894 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4895 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4896 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4897 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4898 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4899 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4900 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4902 ## ------------------------ ##
4903 ## Report this to no-define ##
4904 ## ------------------------ ##
4906 ) | sed "s/^/$as_me: WARNING: /" >&2
4909 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4910 $as_echo_n "checking for $ac_header... " >&6; }
4911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4912 $as_echo_n "(cached) " >&6
4914 eval "$as_ac_Header=\$ac_header_preproc"
4916 ac_res=`eval 'as_val=${'$as_ac_Header'}
4917 $as_echo "$as_val"'`
4918 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4919 $as_echo "$ac_res" >&6; }
4922 as_val=`eval 'as_val=${'$as_ac_Header'}
4923 $as_echo "$as_val"'`
4924 if test "x$as_val" = x""yes; then
4925 cat >>confdefs.h <<_ACEOF
4926 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4934 for ac_header in getopt.h
4936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4938 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4939 $as_echo_n "checking for $ac_header... " >&6; }
4940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4941 $as_echo_n "(cached) " >&6
4943 ac_res=`eval 'as_val=${'$as_ac_Header'}
4944 $as_echo "$as_val"'`
4945 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4946 $as_echo "$ac_res" >&6; }
4948 # Is the header compilable?
4949 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4950 $as_echo_n "checking $ac_header usability... " >&6; }
4951 cat >conftest.$ac_ext <<_ACEOF
4954 cat confdefs.h >>conftest.$ac_ext
4955 cat >>conftest.$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4957 $ac_includes_default
4958 #include <$ac_header>
4960 rm -f conftest.$ac_objext
4961 if { (ac_try="$ac_compile"
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4967 $as_echo "$ac_try_echo") >&5
4968 (eval "$ac_compile") 2>conftest.er1
4970 grep -v '^ *+' conftest.er1 >conftest.err
4972 cat conftest.err >&5
4973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); } && {
4975 test -z "$ac_c_werror_flag" ||
4976 test ! -s conftest.err
4977 } && test -s conftest.$ac_objext; then
4978 ac_header_compiler=yes
4980 $as_echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4983 ac_header_compiler=no
4986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4987 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4988 $as_echo "$ac_header_compiler" >&6; }
4990 # Is the header present?
4991 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4992 $as_echo_n "checking $ac_header presence... " >&6; }
4993 cat >conftest.$ac_ext <<_ACEOF
4996 cat confdefs.h >>conftest.$ac_ext
4997 cat >>conftest.$ac_ext <<_ACEOF
4998 /* end confdefs.h. */
4999 #include <$ac_header>
5001 if { (ac_try="$ac_cpp conftest.$ac_ext"
5003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5004 *) ac_try_echo=$ac_try;;
5006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5007 $as_echo "$ac_try_echo") >&5
5008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5010 grep -v '^ *+' conftest.er1 >conftest.err
5012 cat conftest.err >&5
5013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); } >/dev/null && {
5015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5016 test ! -s conftest.err
5018 ac_header_preproc=yes
5020 $as_echo "$as_me: failed program was:" >&5
5021 sed 's/^/| /' conftest.$ac_ext >&5
5023 ac_header_preproc=no
5026 rm -f conftest.err conftest.$ac_ext
5027 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5028 $as_echo "$ac_header_preproc" >&6; }
5030 # So? What about this header?
5031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5033 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5034 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5035 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5036 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5037 ac_header_preproc=yes
5040 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5041 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5042 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5043 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5044 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5045 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5046 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5047 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5048 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5049 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5050 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5051 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5053 ## ------------------------ ##
5054 ## Report this to no-define ##
5055 ## ------------------------ ##
5057 ) | sed "s/^/$as_me: WARNING: /" >&2
5060 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5061 $as_echo_n "checking for $ac_header... " >&6; }
5062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5063 $as_echo_n "(cached) " >&6
5065 eval "$as_ac_Header=\$ac_header_preproc"
5067 ac_res=`eval 'as_val=${'$as_ac_Header'}
5068 $as_echo "$as_val"'`
5069 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5070 $as_echo "$ac_res" >&6; }
5073 as_val=`eval 'as_val=${'$as_ac_Header'}
5074 $as_echo "$as_val"'`
5075 if test "x$as_val" = x""yes; then
5076 cat >>confdefs.h <<_ACEOF
5077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5085 for ac_header in unistd.h
5087 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5089 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5090 $as_echo_n "checking for $ac_header... " >&6; }
5091 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5092 $as_echo_n "(cached) " >&6
5094 ac_res=`eval 'as_val=${'$as_ac_Header'}
5095 $as_echo "$as_val"'`
5096 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5097 $as_echo "$ac_res" >&6; }
5099 # Is the header compilable?
5100 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5101 $as_echo_n "checking $ac_header usability... " >&6; }
5102 cat >conftest.$ac_ext <<_ACEOF
5105 cat confdefs.h >>conftest.$ac_ext
5106 cat >>conftest.$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5108 $ac_includes_default
5109 #include <$ac_header>
5111 rm -f conftest.$ac_objext
5112 if { (ac_try="$ac_compile"
5114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5115 *) ac_try_echo=$ac_try;;
5117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5118 $as_echo "$ac_try_echo") >&5
5119 (eval "$ac_compile") 2>conftest.er1
5121 grep -v '^ *+' conftest.er1 >conftest.err
5123 cat conftest.err >&5
5124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); } && {
5126 test -z "$ac_c_werror_flag" ||
5127 test ! -s conftest.err
5128 } && test -s conftest.$ac_objext; then
5129 ac_header_compiler=yes
5131 $as_echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.$ac_ext >&5
5134 ac_header_compiler=no
5137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5138 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5139 $as_echo "$ac_header_compiler" >&6; }
5141 # Is the header present?
5142 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5143 $as_echo_n "checking $ac_header presence... " >&6; }
5144 cat >conftest.$ac_ext <<_ACEOF
5147 cat confdefs.h >>conftest.$ac_ext
5148 cat >>conftest.$ac_ext <<_ACEOF
5149 /* end confdefs.h. */
5150 #include <$ac_header>
5152 if { (ac_try="$ac_cpp conftest.$ac_ext"
5154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5155 *) ac_try_echo=$ac_try;;
5157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5158 $as_echo "$ac_try_echo") >&5
5159 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5161 grep -v '^ *+' conftest.er1 >conftest.err
5163 cat conftest.err >&5
5164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); } >/dev/null && {
5166 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5167 test ! -s conftest.err
5169 ac_header_preproc=yes
5171 $as_echo "$as_me: failed program was:" >&5
5172 sed 's/^/| /' conftest.$ac_ext >&5
5174 ac_header_preproc=no
5177 rm -f conftest.err conftest.$ac_ext
5178 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5179 $as_echo "$ac_header_preproc" >&6; }
5181 # So? What about this header?
5182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5184 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5185 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5186 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5187 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5188 ac_header_preproc=yes
5191 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5192 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5193 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5194 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5195 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5196 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5197 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5198 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5199 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5200 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5202 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5204 ## ------------------------ ##
5205 ## Report this to no-define ##
5206 ## ------------------------ ##
5208 ) | sed "s/^/$as_me: WARNING: /" >&2
5211 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5212 $as_echo_n "checking for $ac_header... " >&6; }
5213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5214 $as_echo_n "(cached) " >&6
5216 eval "$as_ac_Header=\$ac_header_preproc"
5218 ac_res=`eval 'as_val=${'$as_ac_Header'}
5219 $as_echo "$as_val"'`
5220 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5221 $as_echo "$ac_res" >&6; }
5224 as_val=`eval 'as_val=${'$as_ac_Header'}
5225 $as_echo "$as_val"'`
5226 if test "x$as_val" = x""yes; then
5227 cat >>confdefs.h <<_ACEOF
5228 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5236 # Checks for typedefs, structures, and compiler characteristics.
5237 { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
5238 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5239 if test "${ac_cv_header_stdbool_h+set}" = set; then
5240 $as_echo_n "(cached) " >&6
5242 cat >conftest.$ac_ext <<_ACEOF
5245 cat confdefs.h >>conftest.$ac_ext
5246 cat >>conftest.$ac_ext <<_ACEOF
5247 /* end confdefs.h. */
5249 #include <stdbool.h>
5251 "error: bool is not defined"
5254 "error: false is not defined"
5257 "error: false is not 0"
5260 "error: true is not defined"
5263 "error: true is not 1"
5265 #ifndef __bool_true_false_are_defined
5266 "error: __bool_true_false_are_defined is not defined"
5269 struct s { _Bool s: 1; _Bool t; } s;
5271 char a[true == 1 ? 1 : -1];
5272 char b[false == 0 ? 1 : -1];
5273 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5274 char d[(bool) 0.5 == true ? 1 : -1];
5276 char f[(_Bool) 0.0 == false ? 1 : -1];
5278 char h[sizeof (_Bool)];
5280 enum { j = false, k = true, l = false * true, m = true * 256 };
5281 /* The following fails for
5282 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5284 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5285 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5286 # if defined __xlc__ || defined __GNUC__
5287 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
5288 reported by James Lemley on 2005-10-05; see
5289 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
5290 This test is not quite right, since xlc is allowed to
5291 reject this program, as the initializer for xlcbug is
5292 not one of the forms that C requires support for.
5293 However, doing the test right would require a runtime
5294 test, and that would make cross-compilation harder.
5295 Let us hope that IBM fixes the xlc bug, and also adds
5296 support for this kind of constant expression. In the
5297 meantime, this test will reject xlc, which is OK, since
5298 our stdbool.h substitute should suffice. We also test
5299 this with GCC, where it should work, to detect more
5300 quickly whether someone messes up the test in the
5302 char digs[] = "0123456789";
5303 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
5305 /* Catch a bug in an HP-UX C compiler. See
5306 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5307 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5318 /* Refer to every declared value, to avoid compiler optimizations. */
5319 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5320 + !m + !n + !o + !p + !q + !pq);
5326 rm -f conftest.$ac_objext
5327 if { (ac_try="$ac_compile"
5329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5330 *) ac_try_echo=$ac_try;;
5332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5333 $as_echo "$ac_try_echo") >&5
5334 (eval "$ac_compile") 2>conftest.er1
5336 grep -v '^ *+' conftest.er1 >conftest.err
5338 cat conftest.err >&5
5339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } && {
5341 test -z "$ac_c_werror_flag" ||
5342 test ! -s conftest.err
5343 } && test -s conftest.$ac_objext; then
5344 ac_cv_header_stdbool_h=yes
5346 $as_echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5349 ac_cv_header_stdbool_h=no
5352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5354 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
5355 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5356 { $as_echo "$as_me:$LINENO: checking for _Bool" >&5
5357 $as_echo_n "checking for _Bool... " >&6; }
5358 if test "${ac_cv_type__Bool+set}" = set; then
5359 $as_echo_n "(cached) " >&6
5362 cat >conftest.$ac_ext <<_ACEOF
5365 cat confdefs.h >>conftest.$ac_ext
5366 cat >>conftest.$ac_ext <<_ACEOF
5367 /* end confdefs.h. */
5368 $ac_includes_default
5378 rm -f conftest.$ac_objext
5379 if { (ac_try="$ac_compile"
5381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5382 *) ac_try_echo=$ac_try;;
5384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5385 $as_echo "$ac_try_echo") >&5
5386 (eval "$ac_compile") 2>conftest.er1
5388 grep -v '^ *+' conftest.er1 >conftest.err
5390 cat conftest.err >&5
5391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); } && {
5393 test -z "$ac_c_werror_flag" ||
5394 test ! -s conftest.err
5395 } && test -s conftest.$ac_objext; then
5396 cat >conftest.$ac_ext <<_ACEOF
5399 cat confdefs.h >>conftest.$ac_ext
5400 cat >>conftest.$ac_ext <<_ACEOF
5401 /* end confdefs.h. */
5402 $ac_includes_default
5406 if (sizeof ((_Bool)))
5412 rm -f conftest.$ac_objext
5413 if { (ac_try="$ac_compile"
5415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5416 *) ac_try_echo=$ac_try;;
5418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5419 $as_echo "$ac_try_echo") >&5
5420 (eval "$ac_compile") 2>conftest.er1
5422 grep -v '^ *+' conftest.er1 >conftest.err
5424 cat conftest.err >&5
5425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); } && {
5427 test -z "$ac_c_werror_flag" ||
5428 test ! -s conftest.err
5429 } && test -s conftest.$ac_objext; then
5432 $as_echo "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.$ac_ext >&5
5435 ac_cv_type__Bool=yes
5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5440 $as_echo "$as_me: failed program was:" >&5
5441 sed 's/^/| /' conftest.$ac_ext >&5
5446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5448 { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
5449 $as_echo "$ac_cv_type__Bool" >&6; }
5450 if test "x$ac_cv_type__Bool" = x""yes; then
5452 cat >>confdefs.h <<_ACEOF
5453 #define HAVE__BOOL 1
5459 if test $ac_cv_header_stdbool_h = yes; then
5461 cat >>confdefs.h <<\_ACEOF
5462 #define HAVE_STDBOOL_H 1
5467 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
5468 $as_echo_n "checking for size_t... " >&6; }
5469 if test "${ac_cv_type_size_t+set}" = set; then
5470 $as_echo_n "(cached) " >&6
5472 ac_cv_type_size_t=no
5473 cat >conftest.$ac_ext <<_ACEOF
5476 cat confdefs.h >>conftest.$ac_ext
5477 cat >>conftest.$ac_ext <<_ACEOF
5478 /* end confdefs.h. */
5479 $ac_includes_default
5483 if (sizeof (size_t))
5489 rm -f conftest.$ac_objext
5490 if { (ac_try="$ac_compile"
5492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5493 *) ac_try_echo=$ac_try;;
5495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5496 $as_echo "$ac_try_echo") >&5
5497 (eval "$ac_compile") 2>conftest.er1
5499 grep -v '^ *+' conftest.er1 >conftest.err
5501 cat conftest.err >&5
5502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } && {
5504 test -z "$ac_c_werror_flag" ||
5505 test ! -s conftest.err
5506 } && test -s conftest.$ac_objext; then
5507 cat >conftest.$ac_ext <<_ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5513 $ac_includes_default
5517 if (sizeof ((size_t)))
5523 rm -f conftest.$ac_objext
5524 if { (ac_try="$ac_compile"
5526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5527 *) ac_try_echo=$ac_try;;
5529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5530 $as_echo "$ac_try_echo") >&5
5531 (eval "$ac_compile") 2>conftest.er1
5533 grep -v '^ *+' conftest.er1 >conftest.err
5535 cat conftest.err >&5
5536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); } && {
5538 test -z "$ac_c_werror_flag" ||
5539 test ! -s conftest.err
5540 } && test -s conftest.$ac_objext; then
5543 $as_echo "$as_me: failed program was:" >&5
5544 sed 's/^/| /' conftest.$ac_ext >&5
5546 ac_cv_type_size_t=yes
5549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5551 $as_echo "$as_me: failed program was:" >&5
5552 sed 's/^/| /' conftest.$ac_ext >&5
5557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5559 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5560 $as_echo "$ac_cv_type_size_t" >&6; }
5561 if test "x$ac_cv_type_size_t" = x""yes; then
5565 cat >>confdefs.h <<_ACEOF
5566 #define size_t unsigned int
5572 # Checks for library functions.
5574 for ac_func in tzset
5576 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5577 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5578 $as_echo_n "checking for $ac_func... " >&6; }
5579 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5580 $as_echo_n "(cached) " >&6
5582 cat >conftest.$ac_ext <<_ACEOF
5585 cat confdefs.h >>conftest.$ac_ext
5586 cat >>conftest.$ac_ext <<_ACEOF
5587 /* end confdefs.h. */
5588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5590 #define $ac_func innocuous_$ac_func
5592 /* System header to define __stub macros and hopefully few prototypes,
5593 which can conflict with char $ac_func (); below.
5594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5595 <limits.h> exists even on freestanding compilers. */
5598 # include <limits.h>
5600 # include <assert.h>
5605 /* Override any GCC internal prototype to avoid an error.
5606 Use char because int might match the return type of a GCC
5607 builtin and then its argument prototype would still apply. */
5612 /* The GNU C library defines this for functions which it implements
5613 to always fail with ENOSYS. Some functions are actually named
5614 something starting with __ and the normal name is an alias. */
5615 #if defined __stub_$ac_func || defined __stub___$ac_func
5627 rm -f conftest.$ac_objext conftest$ac_exeext
5628 if { (ac_try="$ac_link"
5630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5631 *) ac_try_echo=$ac_try;;
5633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5634 $as_echo "$ac_try_echo") >&5
5635 (eval "$ac_link") 2>conftest.er1
5637 grep -v '^ *+' conftest.er1 >conftest.err
5639 cat conftest.err >&5
5640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } && {
5642 test -z "$ac_c_werror_flag" ||
5643 test ! -s conftest.err
5644 } && test -s conftest$ac_exeext && {
5645 test "$cross_compiling" = yes ||
5646 $as_test_x conftest$ac_exeext
5648 eval "$as_ac_var=yes"
5650 $as_echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.$ac_ext >&5
5653 eval "$as_ac_var=no"
5656 rm -rf conftest.dSYM
5657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5658 conftest$ac_exeext conftest.$ac_ext
5660 ac_res=`eval 'as_val=${'$as_ac_var'}
5661 $as_echo "$as_val"'`
5662 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5663 $as_echo "$ac_res" >&6; }
5664 as_val=`eval 'as_val=${'$as_ac_var'}
5665 $as_echo "$as_val"'`
5666 if test "x$as_val" = x""yes; then
5667 cat >>confdefs.h <<_ACEOF
5668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5675 ac_config_files="$ac_config_files Makefile"
5677 cat >confcache <<\_ACEOF
5678 # This file is a shell script that caches the results of configure
5679 # tests run on this system so they can be shared between configure
5680 # scripts and configure runs, see configure's option --config-cache.
5681 # It is not useful on other systems. If it contains results you don't
5682 # want to keep, you may remove or edit it.
5684 # config.status only pays attention to the cache file if you give it
5685 # the --recheck option to rerun configure.
5687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5693 # The following way of writing the cache mishandles newlines in values,
5694 # but we know of no workaround that is simple, portable, and efficient.
5695 # So, we kill variables containing newlines.
5696 # Ultrix sh set writes to stderr and can't be redirected directly,
5697 # and sets the high bit in the cache file unless we assign to the vars.
5699 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5700 eval ac_val=\$$ac_var
5704 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5705 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5708 _ | IFS | as_nl) ;; #(
5709 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5710 *) $as_unset $ac_var ;;
5716 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5717 *${as_nl}ac_space=\ *)
5718 # `set' does not quote correctly, so add quotes (double-quote
5719 # substitution turns \\\\ into \\, and sed turns \\ into \).
5722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5725 # `set' quotes correctly as required by POSIX, so do not add quotes.
5726 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5737 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5739 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5740 if test -w "$cache_file"; then
5741 test "x$cache_file" != "x/dev/null" &&
5742 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5743 $as_echo "$as_me: updating cache $cache_file" >&6;}
5744 cat confcache >$cache_file
5746 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5747 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5752 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5753 # Let make expand exec_prefix.
5754 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5756 DEFS=-DHAVE_CONFIG_H
5760 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5761 # 1. Remove the extension, and $U if already installed.
5762 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5763 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5764 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5765 # will be set to the directory where LIBOBJS objects are built.
5766 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5767 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5771 LTLIBOBJS=$ac_ltlibobjs
5774 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5775 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5776 Usually this means the macro was only invoked conditionally." >&5
5777 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5778 Usually this means the macro was only invoked conditionally." >&2;}
5779 { (exit 1); exit 1; }; }
5781 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5782 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5783 Usually this means the macro was only invoked conditionally." >&5
5784 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5785 Usually this means the macro was only invoked conditionally." >&2;}
5786 { (exit 1); exit 1; }; }
5788 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5789 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5790 Usually this means the macro was only invoked conditionally." >&5
5791 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5792 Usually this means the macro was only invoked conditionally." >&2;}
5793 { (exit 1); exit 1; }; }
5796 : ${CONFIG_STATUS=./config.status}
5798 ac_clean_files_save=$ac_clean_files
5799 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5800 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5801 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5802 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5804 # Generated by $as_me.
5805 # Run this file to recreate the current configuration.
5806 # Compiler output produced by configure, useful for debugging
5807 # configure, is in config.log if it exists.
5812 SHELL=\${CONFIG_SHELL-$SHELL}
5815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5816 ## --------------------- ##
5817 ## M4sh Initialization. ##
5818 ## --------------------- ##
5820 # Be more Bourne compatible
5821 DUALCASE=1; export DUALCASE # for MKS sh
5822 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5825 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5826 # is contrary to our usage. Disable this feature.
5827 alias -g '${1+"$@"}'='"$@"'
5828 setopt NO_GLOB_SUBST
5830 case `(set -o) 2>/dev/null` in
5831 *posix*) set -o posix ;;
5840 # Avoid depending upon Character Ranges.
5841 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5842 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5843 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5844 as_cr_digits='0123456789'
5845 as_cr_alnum=$as_cr_Letters$as_cr_digits
5850 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5851 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5852 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5853 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5854 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5855 as_echo='printf %s\n'
5856 as_echo_n='printf %s'
5858 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5859 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5860 as_echo_n='/usr/ucb/echo -n'
5862 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5863 as_echo_n_body='eval
5867 expr "X$arg" : "X\\(.*\\)$as_nl";
5868 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5870 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5872 export as_echo_n_body
5873 as_echo_n='sh -c $as_echo_n_body as_echo'
5876 as_echo='sh -c $as_echo_body as_echo'
5879 # The user is always right.
5880 if test "${PATH_SEPARATOR+set}" != set; then
5882 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5883 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5888 # Support unset when possible.
5889 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5897 # We need space, tab and new line, in precisely that order. Quoting is
5898 # there to prevent editors from complaining about space-tab.
5899 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5900 # splitting by setting IFS to empty value.)
5903 # Find who we are. Look in the path if we contain no directory separator.
5905 *[\\/]* ) as_myself=$0 ;;
5906 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir=.
5911 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5917 # We did not find ourselves, most probably we were run as `sh COMMAND'
5918 # in which case we are not to be found in the path.
5919 if test "x$as_myself" = x; then
5922 if test ! -f "$as_myself"; then
5923 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5924 { (exit 1); exit 1; }
5927 # Work around bugs in pre-3.0 UWIN ksh.
5928 for as_var in ENV MAIL MAILPATH
5929 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5941 # Required to use basename.
5942 if expr a : '\(a\)' >/dev/null 2>&1 &&
5943 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5949 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5950 as_basename=basename
5956 # Name of the executable.
5957 as_me=`$as_basename -- "$0" ||
5958 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5959 X"$0" : 'X\(//\)$' \| \
5960 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5962 sed '/^.*\/\([^/][^/]*\)\/*$/{
5983 test "x$as_lineno_1" != "x$as_lineno_2" &&
5984 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5986 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5987 # uniformly replaced by the line number. The first 'sed' inserts a
5988 # line-number line after each line using $LINENO; the second 'sed'
5989 # does the real work. The second script uses 'N' to pair each
5990 # line-number line with the line containing $LINENO, and appends
5991 # trailing '-' during substitution so that $LINENO is not a special
5993 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5994 # scripts with optimization help from Paolo Bonzini. Blame Lee
5995 # E. McMahon (1931-1989) for sed's syntax. :-)
6007 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6011 chmod +x "$as_me.lineno" ||
6012 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6013 { (exit 1); exit 1; }; }
6015 # Don't try to exec as it changes $[0], causing all sort of problems
6016 # (the dirname of $[0] is not the place where we might find the
6017 # original and so on. Autoconf is especially sensitive to this).
6019 # Exit status is that of the last command.
6024 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6030 ECHO_C= ECHO_N= ECHO_T=
6033 case `echo 'x\c'` in
6034 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6040 if expr a : '\(a\)' >/dev/null 2>&1 &&
6041 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6047 rm -f conf$$ conf$$.exe conf$$.file
6048 if test -d conf$$.dir; then
6049 rm -f conf$$.dir/conf$$.file
6052 mkdir conf$$.dir 2>/dev/null
6054 if (echo >conf$$.file) 2>/dev/null; then
6055 if ln -s conf$$.file conf$$ 2>/dev/null; then
6057 # ... but there are two gotchas:
6058 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6059 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6060 # In both cases, we have to default to `cp -p'.
6061 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6063 elif ln conf$$.file conf$$ 2>/dev/null; then
6071 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6072 rmdir conf$$.dir 2>/dev/null
6074 if mkdir -p . 2>/dev/null; then
6077 test -d ./-p && rmdir ./-p
6081 if test -x / >/dev/null 2>&1; then
6084 if ls -dL / >/dev/null 2>&1; then
6091 if test -d "$1"; then
6097 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6098 ???[sx]*):;;*)false;;esac;fi
6102 as_executable_p=$as_test_x
6104 # Sed expression to map a string onto a valid CPP name.
6105 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6107 # Sed expression to map a string onto a valid variable name.
6108 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6113 # Save the log message, to keep $[0] and so on meaningful, and to
6114 # report actual input values of CONFIG_FILES etc. instead of their
6115 # values after options handling.
6117 This file was extended by alstede $as_me 0.2.4, which was
6118 generated by GNU Autoconf 2.63. Invocation command line was
6120 CONFIG_FILES = $CONFIG_FILES
6121 CONFIG_HEADERS = $CONFIG_HEADERS
6122 CONFIG_LINKS = $CONFIG_LINKS
6123 CONFIG_COMMANDS = $CONFIG_COMMANDS
6126 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6131 case $ac_config_files in *"
6132 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6135 case $ac_config_headers in *"
6136 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6141 # Files that config.status was made for.
6142 config_files="$ac_config_files"
6143 config_headers="$ac_config_headers"
6144 config_commands="$ac_config_commands"
6148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6150 \`$as_me' instantiates files from templates according to the
6151 current configuration.
6153 Usage: $0 [OPTION]... [FILE]...
6155 -h, --help print this help, then exit
6156 -V, --version print version number and configuration settings, then exit
6157 -q, --quiet, --silent
6158 do not print progress messages
6159 -d, --debug don't remove temporary files
6160 --recheck update $as_me by reconfiguring in the same conditions
6161 --file=FILE[:TEMPLATE]
6162 instantiate the configuration file FILE
6163 --header=FILE[:TEMPLATE]
6164 instantiate the configuration header FILE
6166 Configuration files:
6169 Configuration headers:
6172 Configuration commands:
6175 Report bugs to <bug-autoconf@gnu.org>."
6178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6180 alstede config.status 0.2.4
6181 configured by $0, generated by GNU Autoconf 2.63,
6182 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6184 Copyright (C) 2008 Free Software Foundation, Inc.
6185 This config.status script is free software; the Free Software Foundation
6186 gives unlimited permission to copy, distribute and modify it."
6193 test -n "\$AWK" || AWK=awk
6196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6197 # The default lists apply if the user does not specify any file.
6203 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6204 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6215 # Handling of the options.
6216 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6218 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6219 $as_echo "$ac_cs_version"; exit ;;
6220 --debug | --debu | --deb | --de | --d | -d )
6222 --file | --fil | --fi | --f )
6225 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6227 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6228 ac_need_defaults=false;;
6229 --header | --heade | --head | --hea )
6232 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6234 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6235 ac_need_defaults=false;;
6237 # Conflict between --help and --header
6238 { $as_echo "$as_me: error: ambiguous option: $1
6239 Try \`$0 --help' for more information." >&2
6240 { (exit 1); exit 1; }; };;
6241 --help | --hel | -h )
6242 $as_echo "$ac_cs_usage"; exit ;;
6243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6244 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6248 -*) { $as_echo "$as_me: error: unrecognized option: $1
6249 Try \`$0 --help' for more information." >&2
6250 { (exit 1); exit 1; }; } ;;
6252 *) ac_config_targets="$ac_config_targets $1"
6253 ac_need_defaults=false ;;
6259 ac_configure_extra_args=
6261 if $ac_cs_silent; then
6263 ac_configure_extra_args="$ac_configure_extra_args --silent"
6267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6268 if \$ac_cs_recheck; then
6269 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6271 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6272 CONFIG_SHELL='$SHELL'
6278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6282 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6283 ## Running $as_me. ##
6289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6293 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6299 # Handling of arguments.
6300 for ac_config_target in $ac_config_targets
6302 case $ac_config_target in
6303 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6304 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6305 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6307 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6308 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6309 { (exit 1); exit 1; }; };;
6314 # If the user did not use the arguments to specify the items to instantiate,
6315 # then the envvar interface is used. Set only those that are not.
6316 # We use the long form for the default assignment because of an extremely
6317 # bizarre bug on SunOS 4.1.3.
6318 if $ac_need_defaults; then
6319 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6320 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6321 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6324 # Have a temporary directory for convenience. Make it in the build tree
6325 # simply because there is no reason against having it here, and in addition,
6326 # creating and moving files from /tmp can sometimes cause problems.
6327 # Hook for its removal unless debugging.
6328 # Note that there is a small window in which the directory will not be cleaned:
6329 # after its creation but before its name has been assigned to `$tmp'.
6333 trap 'exit_status=$?
6334 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6336 trap '{ (exit 1); exit 1; }' 1 2 13 15
6338 # Create a (secure) tmp directory for tmp files.
6341 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6342 test -n "$tmp" && test -d "$tmp"
6345 tmp=./conf$$-$RANDOM
6346 (umask 077 && mkdir "$tmp")
6349 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6350 { (exit 1); exit 1; }
6353 # Set up the scripts for CONFIG_FILES section.
6354 # No need to generate them if there are no CONFIG_FILES.
6355 # This happens for instance with `./config.status config.h'.
6356 if test -n "$CONFIG_FILES"; then
6360 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6361 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6367 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6372 echo "cat >conf$$subs.awk <<_ACEOF" &&
6373 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6376 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6377 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6378 { (exit 1); exit 1; }; }
6379 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6381 for ac_last_try in false false false false false :; do
6382 . ./conf$$subs.sh ||
6383 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6384 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6385 { (exit 1); exit 1; }; }
6387 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6388 if test $ac_delim_n = $ac_delim_num; then
6390 elif $ac_last_try; then
6391 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6392 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6393 { (exit 1); exit 1; }; }
6395 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6401 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6405 s/^/S["/; s/!.*/"]=/
6415 s/\(.\{148\}\).*/\1/
6417 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6422 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6429 s/\(.\{148\}\).*/\1/
6431 s/["\\]/\\&/g; s/^/"/; s/$/"/
6435 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6440 ' <conf$$subs.awk | sed '
6445 ' >>$CONFIG_STATUS || ac_write_fail=1
6446 rm -f conf$$subs.awk
6447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6449 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6450 for (key in S) S_is_set[key] = 1
6456 nfields = split(line, field, "@")
6458 len = length(field[1])
6459 for (i = 2; i < nfields; i++) {
6461 keylen = length(key)
6462 if (S_is_set[key]) {
6464 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6465 len += length(value) + length(field[++i])
6476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6477 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6478 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6481 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6482 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6483 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6484 { (exit 1); exit 1; }; }
6487 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6488 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6489 # trailing colons and then remove the whole line if VPATH becomes empty
6490 # (actually we leave an empty line to preserve line numbers).
6491 if test "x$srcdir" = x.; then
6492 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6496 s/^\([^=]*=[ ]*\):*/\1/
6502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6503 fi # test -n "$CONFIG_FILES"
6505 # Set up the scripts for CONFIG_HEADERS section.
6506 # No need to generate them if there are no CONFIG_HEADERS.
6507 # This happens for instance with `./config.status Makefile'.
6508 if test -n "$CONFIG_HEADERS"; then
6509 cat >"$tmp/defines.awk" <<\_ACAWK ||
6513 # Transform confdefs.h into an awk script `defines.awk', embedded as
6514 # here-document in config.status, that substitutes the proper values into
6515 # config.h.in to produce config.h.
6517 # Create a delimiter string that does not exist in confdefs.h, to ease
6518 # handling of long lines.
6520 for ac_last_try in false false :; do
6521 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6522 if test -z "$ac_t"; then
6524 elif $ac_last_try; then
6525 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6526 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6527 { (exit 1); exit 1; }; }
6529 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6533 # For the awk script, D is an array of macro values keyed by name,
6534 # likewise P contains macro parameters if any. Preserve backslash
6535 # newline sequences.
6537 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6539 s/.\{148\}/&'"$ac_delim"'/g
6542 s/^[ ]*#[ ]*define[ ][ ]*/ /
6549 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6551 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6555 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6556 D["\1"]=" \3\\\\\\n"\\/p
6558 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6563 s/.\{148\}/&'"$ac_delim"'/g
6568 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6571 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6573 ' <confdefs.h | sed '
6574 s/'"$ac_delim"'/"\\\
6575 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6578 for (key in D) D_is_set[key] = 1
6581 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6583 split(line, arg, " ")
6584 if (arg[1] == "#") {
6588 defundef = substr(arg[1], 2)
6591 split(mac1, mac2, "(") #)
6593 prefix = substr(line, 1, index(line, defundef) - 1)
6594 if (D_is_set[macro]) {
6595 # Preserve the white space surrounding the "#".
6596 print prefix "define", macro P[macro] D[macro]
6599 # Replace #undef with comments. This is necessary, for example,
6600 # in the case of _POSIX_SOURCE, which is predefined and required
6601 # on some systems where configure will not decide to define it.
6602 if (defundef == "undef") {
6603 print "/*", prefix defundef, macro, "*/"
6611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6612 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6613 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6614 { (exit 1); exit 1; }; }
6615 fi # test -n "$CONFIG_HEADERS"
6618 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6623 :[FHLC]) ac_mode=$ac_tag; continue;;
6625 case $ac_mode$ac_tag in
6627 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6628 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6629 { (exit 1); exit 1; }; };;
6630 :[FH]-) ac_tag=-:-;;
6631 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6648 -) ac_f="$tmp/stdin";;
6649 *) # Look for the file first in the build tree, then in the source tree
6650 # (if the path is not absolute). The absolute path cannot be DOS-style,
6651 # because $ac_f cannot contain `:'.
6655 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6657 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6658 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6659 { (exit 1); exit 1; }; };;
6661 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6662 ac_file_inputs="$ac_file_inputs '$ac_f'"
6665 # Let's still pretend it is `configure' which instantiates (i.e., don't
6666 # use $as_me), people would be surprised to read:
6667 # /* config.h. Generated by config.status. */
6668 configure_input='Generated from '`
6669 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6671 if test x"$ac_file" != x-; then
6672 configure_input="$ac_file. $configure_input"
6673 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6674 $as_echo "$as_me: creating $ac_file" >&6;}
6676 # Neutralize special characters interpreted by sed in replacement strings.
6677 case $configure_input in #(
6678 *\&* | *\|* | *\\* )
6679 ac_sed_conf_input=`$as_echo "$configure_input" |
6680 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6681 *) ac_sed_conf_input=$configure_input;;
6685 *:-:* | *:-) cat >"$tmp/stdin" \
6686 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6687 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6688 { (exit 1); exit 1; }; } ;;
6693 ac_dir=`$as_dirname -- "$ac_file" ||
6694 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6695 X"$ac_file" : 'X\(//\)[^/]' \| \
6696 X"$ac_file" : 'X\(//\)$' \| \
6697 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6698 $as_echo X"$ac_file" |
6699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6718 -*) as_dir=./$as_dir;;
6720 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6724 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6725 *) as_qdir=$as_dir;;
6727 as_dirs="'$as_qdir' $as_dirs"
6728 as_dir=`$as_dirname -- "$as_dir" ||
6729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6730 X"$as_dir" : 'X\(//\)[^/]' \| \
6731 X"$as_dir" : 'X\(//\)$' \| \
6732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6733 $as_echo X"$as_dir" |
6734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6751 test -d "$as_dir" && break
6753 test -z "$as_dirs" || eval "mkdir $as_dirs"
6754 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6755 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6756 { (exit 1); exit 1; }; }; }
6760 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6762 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6763 # A ".." for each directory in $ac_dir_suffix.
6764 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6765 case $ac_top_builddir_sub in
6766 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6767 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6770 ac_abs_top_builddir=$ac_pwd
6771 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6772 # for backward compatibility:
6773 ac_top_builddir=$ac_top_build_prefix
6776 .) # We are building in place.
6778 ac_top_srcdir=$ac_top_builddir_sub
6779 ac_abs_top_srcdir=$ac_pwd ;;
6780 [\\/]* | ?:[\\/]* ) # Absolute name.
6781 ac_srcdir=$srcdir$ac_dir_suffix;
6782 ac_top_srcdir=$srcdir
6783 ac_abs_top_srcdir=$srcdir ;;
6785 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6786 ac_top_srcdir=$ac_top_build_prefix$srcdir
6787 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6789 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6799 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6800 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6804 [\\/$]* | ?:[\\/]* ) ;;
6805 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6810 # If the template does not know about datarootdir, expand it.
6811 # FIXME: This hack should be removed a few years after 2.60.
6812 ac_datarootdir_hack=; ac_datarootdir_seen=
6825 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6826 *datarootdir*) ac_datarootdir_seen=yes;;
6827 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6828 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6829 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6832 ac_datarootdir_hack='
6833 s&@datadir@&$datadir&g
6834 s&@docdir@&$docdir&g
6835 s&@infodir@&$infodir&g
6836 s&@localedir@&$localedir&g
6837 s&@mandir@&$mandir&g
6838 s&\\\${datarootdir}&$datarootdir&g' ;;
6842 # Neutralize VPATH when `$srcdir' = `.'.
6843 # Shell code in configure.ac might set extrasub.
6844 # FIXME: do we really want to maintain this feature?
6845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6846 ac_sed_extra="$ac_vpsub
6849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6851 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6852 s|@configure_input@|$ac_sed_conf_input|;t t
6853 s&@top_builddir@&$ac_top_builddir_sub&;t t
6854 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6855 s&@srcdir@&$ac_srcdir&;t t
6856 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6857 s&@top_srcdir@&$ac_top_srcdir&;t t
6858 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6859 s&@builddir@&$ac_builddir&;t t
6860 s&@abs_builddir@&$ac_abs_builddir&;t t
6861 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6862 s&@INSTALL@&$ac_INSTALL&;t t
6863 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6864 $ac_datarootdir_hack
6866 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6867 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6868 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6869 { (exit 1); exit 1; }; }
6871 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6872 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6873 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6874 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6875 which seems to be undefined. Please make sure it is defined." >&5
6876 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6877 which seems to be undefined. Please make sure it is defined." >&2;}
6881 -) cat "$tmp/out" && rm -f "$tmp/out";;
6882 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6884 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6885 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6886 { (exit 1); exit 1; }; }
6892 if test x"$ac_file" != x-; then
6894 $as_echo "/* $configure_input */" \
6895 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6896 } >"$tmp/config.h" \
6897 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6898 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6899 { (exit 1); exit 1; }; }
6900 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6901 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6902 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6905 mv "$tmp/config.h" "$ac_file" \
6906 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6907 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6908 { (exit 1); exit 1; }; }
6911 $as_echo "/* $configure_input */" \
6912 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6913 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6914 $as_echo "$as_me: error: could not create -" >&2;}
6915 { (exit 1); exit 1; }; }
6917 # Compute "$ac_file"'s index in $config_headers.
6920 for _am_header in $config_headers :; do
6922 $_am_arg | $_am_arg:* )
6925 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6928 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6929 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6930 X"$_am_arg" : 'X\(//\)[^/]' \| \
6931 X"$_am_arg" : 'X\(//\)$' \| \
6932 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6933 $as_echo X"$_am_arg" |
6934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6950 s/.*/./; q'`/stamp-h$_am_stamp_count
6953 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6954 $as_echo "$as_me: executing $ac_file commands" >&6;}
6959 case $ac_file$ac_mode in
6960 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6961 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6962 # are listed without --file. Let's play safe and only enable the eval
6963 # if we detect the quoting.
6964 case $CONFIG_FILES in
6965 *\'*) eval set x "$CONFIG_FILES" ;;
6966 *) set x $CONFIG_FILES ;;
6971 # Strip MF so we end up with the name of the file.
6972 mf=`echo "$mf" | sed -e 's/:.*$//'`
6973 # Check whether this is an Automake generated Makefile or not.
6974 # We used to match only the files named `Makefile.in', but
6975 # some people rename them; so instead we look at the file content.
6976 # Grep'ing the first line is not enough: some people post-process
6977 # each Makefile.in and add a new line on top of each file to say so.
6978 # Grep'ing the whole file is not good either: AIX grep has a line
6979 # limit of 2048, but all sed's we know have understand at least 4000.
6980 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6981 dirpart=`$as_dirname -- "$mf" ||
6982 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6983 X"$mf" : 'X\(//\)[^/]' \| \
6984 X"$mf" : 'X\(//\)$' \| \
6985 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7007 # Extract the definition of DEPDIR, am__include, and am__quote
7008 # from the Makefile without running `make'.
7009 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7010 test -z "$DEPDIR" && continue
7011 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7012 test -z "am__include" && continue
7013 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7014 # When using ansi2knr, U may be empty or an underscore; expand it
7015 U=`sed -n 's/^U = //p' < "$mf"`
7016 # Find all dependency output files, they are included files with
7017 # $(DEPDIR) in their names. We invoke sed twice because it is the
7018 # simplest approach to changing $(DEPDIR) to its actual value in the
7020 for file in `sed -n "
7021 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7022 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7023 # Make sure the directory exists.
7024 test -f "$dirpart/$file" && continue
7025 fdir=`$as_dirname -- "$file" ||
7026 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7027 X"$file" : 'X\(//\)[^/]' \| \
7028 X"$file" : 'X\(//\)$' \| \
7029 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7048 { as_dir=$dirpart/$fdir
7050 -*) as_dir=./$as_dir;;
7052 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7056 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7057 *) as_qdir=$as_dir;;
7059 as_dirs="'$as_qdir' $as_dirs"
7060 as_dir=`$as_dirname -- "$as_dir" ||
7061 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7062 X"$as_dir" : 'X\(//\)[^/]' \| \
7063 X"$as_dir" : 'X\(//\)$' \| \
7064 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7065 $as_echo X"$as_dir" |
7066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7083 test -d "$as_dir" && break
7085 test -z "$as_dirs" || eval "mkdir $as_dirs"
7086 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7087 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7088 { (exit 1); exit 1; }; }; }
7089 # echo "creating $dirpart/$file"
7090 echo '# dummy' > "$dirpart/$file"
7100 { (exit 0); exit 0; }
7102 chmod +x $CONFIG_STATUS
7103 ac_clean_files=$ac_clean_files_save
7105 test $ac_write_fail = 0 ||
7106 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7107 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7108 { (exit 1); exit 1; }; }
7111 # configure is writing to config.log, and then calls config.status.
7112 # config.status does its own redirection, appending to config.log.
7113 # Unfortunately, on DOS this fails, as config.log is still kept open
7114 # by configure, so config.status won't be able to write to it; its
7115 # output is simply discarded. So we exec the FD to /dev/null,
7116 # effectively closing config.log, so it can be properly (re)opened and
7117 # appended to by config.status. When coming back to configure, we
7118 # need to make the FD available again.
7119 if test "$no_create" != yes; then
7121 ac_config_status_args=
7122 test "$silent" = yes &&
7123 ac_config_status_args="$ac_config_status_args --quiet"
7125 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7127 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7128 # would make configure fail if this is the last instruction.
7129 $ac_cs_success || { (exit 1); exit 1; }
7131 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7132 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7133 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}