2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs 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 ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="duct.c"
589 program_transform_name
638 ac_precious_vars='build_alias
648 # Initialize some variables set by options.
650 ac_init_version=false
651 # The variables have the same names as the options, with
652 # dashes changed to underlines.
660 program_transform_name=s,x,x,
668 # Installation directory options.
669 # These are left unexpanded so users can "make install exec_prefix=/foo"
670 # and all the variables that are supposed to be based on exec_prefix
671 # by default will actually change.
672 # Use braces instead of parens because sh, perl, etc. also accept them.
673 # (The list follows the same order as the GNU Coding Standards.)
674 bindir='${exec_prefix}/bin'
675 sbindir='${exec_prefix}/sbin'
676 libexecdir='${exec_prefix}/libexec'
677 datarootdir='${prefix}/share'
678 datadir='${datarootdir}'
679 sysconfdir='${prefix}/etc'
680 sharedstatedir='${prefix}/com'
681 localstatedir='${prefix}/var'
682 includedir='${prefix}/include'
683 oldincludedir='/usr/include'
684 docdir='${datarootdir}/doc/${PACKAGE}'
685 infodir='${datarootdir}/info'
690 libdir='${exec_prefix}/lib'
691 localedir='${datarootdir}/locale'
692 mandir='${datarootdir}/man'
698 # If the previous option needs an argument, assign it.
699 if test -n "$ac_prev"; then
700 eval $ac_prev=\$ac_option
706 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
710 # Accept the important Cygnus configure options, so we can diagnose typos.
712 case $ac_dashdash$ac_option in
716 -bindir | --bindir | --bindi | --bind | --bin | --bi)
718 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
721 -build | --build | --buil | --bui | --bu)
722 ac_prev=build_alias ;;
723 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
724 build_alias=$ac_optarg ;;
726 -cache-file | --cache-file | --cache-fil | --cache-fi \
727 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
728 ac_prev=cache_file ;;
729 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
730 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
731 cache_file=$ac_optarg ;;
734 cache_file=config.cache ;;
736 -datadir | --datadir | --datadi | --datad)
738 -datadir=* | --datadir=* | --datadi=* | --datad=*)
739 datadir=$ac_optarg ;;
741 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
742 | --dataroo | --dataro | --datar)
743 ac_prev=datarootdir ;;
744 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
745 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
746 datarootdir=$ac_optarg ;;
748 -disable-* | --disable-*)
749 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
753 { (exit 1); exit 1; }; }
754 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
755 eval enable_$ac_feature=no ;;
757 -docdir | --docdir | --docdi | --doc | --do)
759 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
762 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
767 -enable-* | --enable-*)
768 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
771 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
772 { (exit 1); exit 1; }; }
773 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
774 eval enable_$ac_feature=\$ac_optarg ;;
776 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
777 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
778 | --exec | --exe | --ex)
779 ac_prev=exec_prefix ;;
780 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
781 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
782 | --exec=* | --exe=* | --ex=*)
783 exec_prefix=$ac_optarg ;;
785 -gas | --gas | --ga | --g)
786 # Obsolete; use --with-gas.
789 -help | --help | --hel | --he | -h)
791 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
792 ac_init_help=recursive ;;
793 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
794 ac_init_help=short ;;
796 -host | --host | --hos | --ho)
797 ac_prev=host_alias ;;
798 -host=* | --host=* | --hos=* | --ho=*)
799 host_alias=$ac_optarg ;;
801 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
803 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
805 htmldir=$ac_optarg ;;
807 -includedir | --includedir | --includedi | --included | --include \
808 | --includ | --inclu | --incl | --inc)
809 ac_prev=includedir ;;
810 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
811 | --includ=* | --inclu=* | --incl=* | --inc=*)
812 includedir=$ac_optarg ;;
814 -infodir | --infodir | --infodi | --infod | --info | --inf)
816 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
817 infodir=$ac_optarg ;;
819 -libdir | --libdir | --libdi | --libd)
821 -libdir=* | --libdir=* | --libdi=* | --libd=*)
824 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
825 | --libexe | --libex | --libe)
826 ac_prev=libexecdir ;;
827 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
828 | --libexe=* | --libex=* | --libe=*)
829 libexecdir=$ac_optarg ;;
831 -localedir | --localedir | --localedi | --localed | --locale)
833 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
834 localedir=$ac_optarg ;;
836 -localstatedir | --localstatedir | --localstatedi | --localstated \
837 | --localstate | --localstat | --localsta | --localst | --locals)
838 ac_prev=localstatedir ;;
839 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
840 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
841 localstatedir=$ac_optarg ;;
843 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
845 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
849 # Obsolete; use --without-fp.
852 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
853 | --no-cr | --no-c | -n)
856 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
857 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
860 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
861 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
862 | --oldin | --oldi | --old | --ol | --o)
863 ac_prev=oldincludedir ;;
864 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
865 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
866 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
867 oldincludedir=$ac_optarg ;;
869 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
871 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
874 -program-prefix | --program-prefix | --program-prefi | --program-pref \
875 | --program-pre | --program-pr | --program-p)
876 ac_prev=program_prefix ;;
877 -program-prefix=* | --program-prefix=* | --program-prefi=* \
878 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
879 program_prefix=$ac_optarg ;;
881 -program-suffix | --program-suffix | --program-suffi | --program-suff \
882 | --program-suf | --program-su | --program-s)
883 ac_prev=program_suffix ;;
884 -program-suffix=* | --program-suffix=* | --program-suffi=* \
885 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
886 program_suffix=$ac_optarg ;;
888 -program-transform-name | --program-transform-name \
889 | --program-transform-nam | --program-transform-na \
890 | --program-transform-n | --program-transform- \
891 | --program-transform | --program-transfor \
892 | --program-transfo | --program-transf \
893 | --program-trans | --program-tran \
894 | --progr-tra | --program-tr | --program-t)
895 ac_prev=program_transform_name ;;
896 -program-transform-name=* | --program-transform-name=* \
897 | --program-transform-nam=* | --program-transform-na=* \
898 | --program-transform-n=* | --program-transform-=* \
899 | --program-transform=* | --program-transfor=* \
900 | --program-transfo=* | --program-transf=* \
901 | --program-trans=* | --program-tran=* \
902 | --progr-tra=* | --program-tr=* | --program-t=*)
903 program_transform_name=$ac_optarg ;;
905 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
907 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
910 -psdir | --psdir | --psdi | --psd | --ps)
912 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
916 | -silent | --silent | --silen | --sile | --sil)
919 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
921 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
923 sbindir=$ac_optarg ;;
925 -sharedstatedir | --sharedstatedir | --sharedstatedi \
926 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
927 | --sharedst | --shareds | --shared | --share | --shar \
929 ac_prev=sharedstatedir ;;
930 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
931 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
932 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
934 sharedstatedir=$ac_optarg ;;
936 -site | --site | --sit)
938 -site=* | --site=* | --sit=*)
941 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
943 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
946 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
947 | --syscon | --sysco | --sysc | --sys | --sy)
948 ac_prev=sysconfdir ;;
949 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
950 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
951 sysconfdir=$ac_optarg ;;
953 -target | --target | --targe | --targ | --tar | --ta | --t)
954 ac_prev=target_alias ;;
955 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
956 target_alias=$ac_optarg ;;
958 -v | -verbose | --verbose | --verbos | --verbo | --verb)
961 -version | --version | --versio | --versi | --vers | -V)
965 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
968 { echo "$as_me: error: invalid package name: $ac_package" >&2
969 { (exit 1); exit 1; }; }
970 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
971 eval with_$ac_package=\$ac_optarg ;;
973 -without-* | --without-*)
974 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
977 { echo "$as_me: error: invalid package name: $ac_package" >&2
978 { (exit 1); exit 1; }; }
979 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
980 eval with_$ac_package=no ;;
983 # Obsolete; use --with-x.
986 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
987 | --x-incl | --x-inc | --x-in | --x-i)
988 ac_prev=x_includes ;;
989 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
990 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
991 x_includes=$ac_optarg ;;
993 -x-libraries | --x-libraries | --x-librarie | --x-librari \
994 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
995 ac_prev=x_libraries ;;
996 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
997 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
998 x_libraries=$ac_optarg ;;
1000 -*) { echo "$as_me: error: unrecognized option: $ac_option
1001 Try \`$0 --help' for more information." >&2
1002 { (exit 1); exit 1; }; }
1006 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1009 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1010 { (exit 1); exit 1; }; }
1011 eval $ac_envvar=\$ac_optarg
1012 export $ac_envvar ;;
1015 # FIXME: should be removed in autoconf 3.0.
1016 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1017 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1018 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1019 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1025 if test -n "$ac_prev"; then
1026 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1027 { echo "$as_me: error: missing argument to $ac_option" >&2
1028 { (exit 1); exit 1; }; }
1031 # Be sure to have absolute directory names.
1032 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1033 datadir sysconfdir sharedstatedir localstatedir includedir \
1034 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1035 libdir localedir mandir
1037 eval ac_val=\$$ac_var
1039 [\\/$]* | ?:[\\/]* ) continue;;
1040 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1042 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1043 { (exit 1); exit 1; }; }
1046 # There might be people who depend on the old broken behavior: `$host'
1047 # used to hold the argument of --host etc.
1048 # FIXME: To remove some day.
1051 target=$target_alias
1053 # FIXME: To remove some day.
1054 if test "x$host_alias" != x; then
1055 if test "x$build_alias" = x; then
1056 cross_compiling=maybe
1057 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1058 If a cross compiler is detected then cross compile mode will be used." >&2
1059 elif test "x$build_alias" != "x$host_alias"; then
1065 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1067 test "$silent" = yes && exec 6>/dev/null
1070 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1071 ac_ls_di=`ls -di .` &&
1072 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1073 { echo "$as_me: error: Working directory cannot be determined" >&2
1074 { (exit 1); exit 1; }; }
1075 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1076 { echo "$as_me: error: pwd does not report name of working directory" >&2
1077 { (exit 1); exit 1; }; }
1080 # Find the source files, if location was not specified.
1081 if test -z "$srcdir"; then
1082 ac_srcdir_defaulted=yes
1083 # Try the directory containing this script, then the parent directory.
1084 ac_confdir=`$as_dirname -- "$0" ||
1085 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1086 X"$0" : 'X\(//\)[^/]' \| \
1087 X"$0" : 'X\(//\)$' \| \
1088 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1108 if test ! -r "$srcdir/$ac_unique_file"; then
1112 ac_srcdir_defaulted=no
1114 if test ! -r "$srcdir/$ac_unique_file"; then
1115 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1116 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1117 { (exit 1); exit 1; }; }
1119 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1121 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1122 { (exit 1); exit 1; }; }
1124 # When building in place, set srcdir=.
1125 if test "$ac_abs_confdir" = "$ac_pwd"; then
1128 # Remove unnecessary trailing slashes from srcdir.
1129 # Double slashes in file names in object file debugging info
1130 # mess up M-x gdb in Emacs.
1132 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1134 for ac_var in $ac_precious_vars; do
1135 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1136 eval ac_env_${ac_var}_value=\$${ac_var}
1137 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1138 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1142 # Report the --help message.
1144 if test "$ac_init_help" = "long"; then
1145 # Omit some internal or obsolete options to make the list less imposing.
1146 # This message is too long to be a string in the A/UX 3.1 sh.
1148 \`configure' configures this package to adapt to many kinds of systems.
1150 Usage: $0 [OPTION]... [VAR=VALUE]...
1152 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1153 VAR=VALUE. See below for descriptions of some of the useful variables.
1155 Defaults for the options are specified in brackets.
1158 -h, --help display this help and exit
1159 --help=short display options specific to this package
1160 --help=recursive display the short help of all the included packages
1161 -V, --version display version information and exit
1162 -q, --quiet, --silent do not print \`checking...' messages
1163 --cache-file=FILE cache test results in FILE [disabled]
1164 -C, --config-cache alias for \`--cache-file=config.cache'
1165 -n, --no-create do not create output files
1166 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1168 Installation directories:
1169 --prefix=PREFIX install architecture-independent files in PREFIX
1170 [$ac_default_prefix]
1171 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1174 By default, \`make install' will install all the files in
1175 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1176 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1177 for instance \`--prefix=\$HOME'.
1179 For better control, use the options below.
1181 Fine tuning of the installation directories:
1182 --bindir=DIR user executables [EPREFIX/bin]
1183 --sbindir=DIR system admin executables [EPREFIX/sbin]
1184 --libexecdir=DIR program executables [EPREFIX/libexec]
1185 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1186 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1187 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1188 --libdir=DIR object code libraries [EPREFIX/lib]
1189 --includedir=DIR C header files [PREFIX/include]
1190 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1191 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1192 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1193 --infodir=DIR info documentation [DATAROOTDIR/info]
1194 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1195 --mandir=DIR man documentation [DATAROOTDIR/man]
1196 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1197 --htmldir=DIR html documentation [DOCDIR]
1198 --dvidir=DIR dvi documentation [DOCDIR]
1199 --pdfdir=DIR pdf documentation [DOCDIR]
1200 --psdir=DIR ps documentation [DOCDIR]
1206 --program-prefix=PREFIX prepend PREFIX to installed program names
1207 --program-suffix=SUFFIX append SUFFIX to installed program names
1208 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1212 if test -n "$ac_init_help"; then
1216 Some influential environment variables:
1217 CC C compiler command
1218 CFLAGS C compiler flags
1219 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1220 nonstandard directory <lib dir>
1221 LIBS libraries to pass to the linker, e.g. -l<library>
1222 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1223 you have headers in a nonstandard directory <include dir>
1225 Use these variables to override the choices made by `configure' or to help
1226 it to find libraries and programs with nonstandard names/locations.
1232 if test "$ac_init_help" = "recursive"; then
1233 # If there are subdirs, report their specific --help.
1234 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1235 test -d "$ac_dir" || continue
1239 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1241 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1242 # A ".." for each directory in $ac_dir_suffix.
1243 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1244 case $ac_top_builddir_sub in
1245 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1246 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1249 ac_abs_top_builddir=$ac_pwd
1250 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1251 # for backward compatibility:
1252 ac_top_builddir=$ac_top_build_prefix
1255 .) # We are building in place.
1257 ac_top_srcdir=$ac_top_builddir_sub
1258 ac_abs_top_srcdir=$ac_pwd ;;
1259 [\\/]* | ?:[\\/]* ) # Absolute name.
1260 ac_srcdir=$srcdir$ac_dir_suffix;
1261 ac_top_srcdir=$srcdir
1262 ac_abs_top_srcdir=$srcdir ;;
1264 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1265 ac_top_srcdir=$ac_top_build_prefix$srcdir
1266 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1268 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1270 cd "$ac_dir" || { ac_status=$?; continue; }
1271 # Check for guested configure.
1272 if test -f "$ac_srcdir/configure.gnu"; then
1274 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1275 elif test -f "$ac_srcdir/configure"; then
1277 $SHELL "$ac_srcdir/configure" --help=recursive
1279 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1281 cd "$ac_pwd" || { ac_status=$?; break; }
1285 test -n "$ac_init_help" && exit $ac_status
1286 if $ac_init_version; then
1289 generated by GNU Autoconf 2.61
1291 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1292 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1293 This configure script is free software; the Free Software Foundation
1294 gives unlimited permission to copy, distribute and modify it.
1298 cat >config.log <<_ACEOF
1299 This file contains any messages produced by compilers while
1300 running configure, to aid debugging if configure makes a mistake.
1302 It was created by $as_me, which was
1303 generated by GNU Autoconf 2.61. Invocation command line was
1315 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1316 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1317 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1318 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1319 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1321 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1322 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1324 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1325 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1326 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1327 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1328 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1329 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1330 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1338 test -z "$as_dir" && as_dir=.
1339 echo "PATH: $as_dir"
1355 # Keep a trace of the command line.
1356 # Strip out --no-create and --no-recursion so they do not pile up.
1357 # Strip out --silent because we don't want to record it for future runs.
1358 # Also quote any args containing shell meta-characters.
1359 # Make two passes to allow for proper duplicate-argument suppression.
1363 ac_must_keep_next=false
1369 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1370 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1371 | -silent | --silent | --silen | --sile | --sil)
1374 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1377 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1379 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1380 if test $ac_must_keep_next = true; then
1381 ac_must_keep_next=false # Got value, back to normal.
1384 *=* | --config-cache | -C | -disable-* | --disable-* \
1385 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1386 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1387 | -with-* | --with-* | -without-* | --without-* | --x)
1388 case "$ac_configure_args0 " in
1389 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1392 -* ) ac_must_keep_next=true ;;
1395 ac_configure_args="$ac_configure_args '$ac_arg'"
1400 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1401 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1403 # When interrupted or exit'd, cleanup temporary files, and complete
1404 # config.log. We remove comments because anyway the quotes in there
1405 # would cause problems or look ugly.
1406 # WARNING: Use '\'' to represent an apostrophe within the trap.
1407 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1408 trap 'exit_status=$?
1409 # Save into config.log some information that might help in debugging.
1414 ## ---------------- ##
1415 ## Cache variables. ##
1416 ## ---------------- ##
1419 # The following way of writing the cache mishandles newlines in values,
1421 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1422 eval ac_val=\$$ac_var
1426 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1427 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1430 _ | IFS | as_nl) ;; #(
1431 *) $as_unset $ac_var ;;
1436 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1437 *${as_nl}ac_space=\ *)
1439 "s/'\''/'\''\\\\'\'''\''/g;
1440 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1451 ## ----------------- ##
1452 ## Output variables. ##
1453 ## ----------------- ##
1456 for ac_var in $ac_subst_vars
1458 eval ac_val=\$$ac_var
1460 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1462 echo "$ac_var='\''$ac_val'\''"
1466 if test -n "$ac_subst_files"; then
1468 ## ------------------- ##
1469 ## File substitutions. ##
1470 ## ------------------- ##
1473 for ac_var in $ac_subst_files
1475 eval ac_val=\$$ac_var
1477 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1479 echo "$ac_var='\''$ac_val'\''"
1484 if test -s confdefs.h; then
1494 test "$ac_signal" != 0 &&
1495 echo "$as_me: caught signal $ac_signal"
1496 echo "$as_me: exit $exit_status"
1498 rm -f core *.core core.conftest.* &&
1499 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1502 for ac_signal in 1 2 13 15; do
1503 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1507 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1508 rm -f -r conftest* confdefs.h
1510 # Predefined preprocessor variables.
1512 cat >>confdefs.h <<_ACEOF
1513 #define PACKAGE_NAME "$PACKAGE_NAME"
1517 cat >>confdefs.h <<_ACEOF
1518 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1522 cat >>confdefs.h <<_ACEOF
1523 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_STRING "$PACKAGE_STRING"
1532 cat >>confdefs.h <<_ACEOF
1533 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1537 # Let the site file select an alternate cache file if it wants to.
1538 # Prefer explicitly selected file to automatically selected ones.
1539 if test -n "$CONFIG_SITE"; then
1540 set x "$CONFIG_SITE"
1541 elif test "x$prefix" != xNONE; then
1542 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1544 set x "$ac_default_prefix/share/config.site" \
1545 "$ac_default_prefix/etc/config.site"
1550 if test -r "$ac_site_file"; then
1551 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1552 echo "$as_me: loading site script $ac_site_file" >&6;}
1553 sed 's/^/| /' "$ac_site_file" >&5
1558 if test -r "$cache_file"; then
1559 # Some versions of bash will fail to source /dev/null (special
1560 # files actually), so we avoid doing that.
1561 if test -f "$cache_file"; then
1562 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1563 echo "$as_me: loading cache $cache_file" >&6;}
1565 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1566 *) . "./$cache_file";;
1570 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1571 echo "$as_me: creating cache $cache_file" >&6;}
1575 # Check that the precious variables saved in the cache have kept the same
1577 ac_cache_corrupted=false
1578 for ac_var in $ac_precious_vars; do
1579 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1580 eval ac_new_set=\$ac_env_${ac_var}_set
1581 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1582 eval ac_new_val=\$ac_env_${ac_var}_value
1583 case $ac_old_set,$ac_new_set in
1585 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1586 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1587 ac_cache_corrupted=: ;;
1589 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1590 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1591 ac_cache_corrupted=: ;;
1594 if test "x$ac_old_val" != "x$ac_new_val"; then
1595 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1596 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1597 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1598 echo "$as_me: former value: $ac_old_val" >&2;}
1599 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1600 echo "$as_me: current value: $ac_new_val" >&2;}
1601 ac_cache_corrupted=:
1604 # Pass precious variables to config.status.
1605 if test "$ac_new_set" = set; then
1607 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1608 *) ac_arg=$ac_var=$ac_new_val ;;
1610 case " $ac_configure_args " in
1611 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1612 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1616 if $ac_cache_corrupted; then
1617 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1618 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1619 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1620 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1621 { (exit 1); exit 1; }; }
1641 ac_cpp='$CPP $CPPFLAGS'
1642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1648 for ac_dir in autoconf-aux "$srcdir"/autoconf-aux; do
1649 if test -f "$ac_dir/install-sh"; then
1651 ac_install_sh="$ac_aux_dir/install-sh -c"
1653 elif test -f "$ac_dir/install.sh"; then
1655 ac_install_sh="$ac_aux_dir/install.sh -c"
1657 elif test -f "$ac_dir/shtool"; then
1659 ac_install_sh="$ac_aux_dir/shtool install -c"
1663 if test -z "$ac_aux_dir"; then
1664 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf-aux \"$srcdir\"/autoconf-aux" >&5
1665 echo "$as_me: error: cannot find install-sh or install.sh in autoconf-aux \"$srcdir\"/autoconf-aux" >&2;}
1666 { (exit 1); exit 1; }; }
1669 # These three variables are undocumented and unsupported,
1670 # and are intended to be withdrawn in a future Autoconf release.
1671 # They can cause serious problems if a builder's source tree is in a directory
1672 # whose full name contains unusual characters.
1673 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1674 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1675 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1678 am__api_version="1.4"
1679 # Find a good install program. We prefer a C program (faster),
1680 # so one script is as good as another. But avoid the broken or
1681 # incompatible versions:
1682 # SysV /etc/install, /usr/sbin/install
1683 # SunOS /usr/etc/install
1684 # IRIX /sbin/install
1686 # AmigaOS /C/install, which installs bootblocks on floppy discs
1687 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1688 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1689 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1690 # OS/2's system install, which has a completely different semantic
1691 # ./install, which can be erroneously created by make from ./install.sh.
1692 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1693 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1694 if test -z "$INSTALL"; then
1695 if test "${ac_cv_path_install+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir=.
1703 # Account for people who put trailing slashes in PATH elements.
1705 ./ | .// | /cC/* | \
1706 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1707 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1710 # OSF1 and SCO ODT 3.0 have their own names for install.
1711 # Don't use installbsd from OSF since it installs stuff as root
1713 for ac_prog in ginstall scoinst install; do
1714 for ac_exec_ext in '' $ac_executable_extensions; do
1715 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1716 if test $ac_prog = install &&
1717 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1718 # AIX install. It has an incompatible calling convention.
1720 elif test $ac_prog = install &&
1721 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1722 # program-specific install script used by HP pwplus--don't use.
1725 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1738 if test "${ac_cv_path_install+set}" = set; then
1739 INSTALL=$ac_cv_path_install
1741 # As a last resort, use the slow shell script. Don't cache a
1742 # value for INSTALL within a source directory, because that will
1743 # break other packages using the cache if that directory is
1744 # removed, or if the value is a relative name.
1745 INSTALL=$ac_install_sh
1748 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1749 echo "${ECHO_T}$INSTALL" >&6; }
1751 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1752 # It thinks the first close brace ends the variable substitution.
1753 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1755 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1757 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1759 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1760 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1763 echo timestamp > conftestfile
1764 # Do `set' in a subshell so we don't clobber the current shell's
1765 # arguments. Must try -L first in case configure is actually a
1766 # symlink; some systems play weird games with the mod time of symlinks
1767 # (eg FreeBSD returns the mod time of the symlink's containing
1770 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1771 if test "$*" = "X"; then
1773 set X `ls -t $srcdir/configure conftestfile`
1775 if test "$*" != "X $srcdir/configure conftestfile" \
1776 && test "$*" != "X conftestfile $srcdir/configure"; then
1778 # If neither matched, then we have a broken ls. This can happen
1779 # if, for instance, CONFIG_SHELL is bash and it inherits a
1780 # broken ls alias from the environment. This has actually
1781 # happened. Such a system could not be considered "sane".
1782 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1783 alias in your environment" >&5
1784 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1785 alias in your environment" >&2;}
1786 { (exit 1); exit 1; }; }
1789 test "$2" = conftestfile
1795 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1796 Check your system clock" >&5
1797 echo "$as_me: error: newly created file is older than distributed files!
1798 Check your system clock" >&2;}
1799 { (exit 1); exit 1; }; }
1802 { echo "$as_me:$LINENO: result: yes" >&5
1803 echo "${ECHO_T}yes" >&6; }
1804 test "$program_prefix" != NONE &&
1805 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1806 # Use a double $ so make ignores it.
1807 test "$program_suffix" != NONE &&
1808 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1809 # Double any \ or $. echo might interpret backslashes.
1810 # By default was `s,x,x', remove it if useless.
1811 cat <<\_ACEOF >conftest.sed
1812 s/[\\$]/&&/g;s/;s,x,x,$//
1814 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1817 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1818 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1819 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1820 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1821 echo $ECHO_N "(cached) $ECHO_C" >&6
1823 cat >conftest.make <<\_ACEOF
1826 @echo '@@@%%%=$(MAKE)=@@@%%%'
1828 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1829 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1831 eval ac_cv_prog_make_${ac_make}_set=yes;;
1833 eval ac_cv_prog_make_${ac_make}_set=no;;
1837 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1838 { echo "$as_me:$LINENO: result: yes" >&5
1839 echo "${ECHO_T}yes" >&6; }
1842 { echo "$as_me:$LINENO: result: no" >&5
1843 echo "${ECHO_T}no" >&6; }
1844 SET_MAKE="MAKE=${MAKE-make}"
1852 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1853 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1854 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1855 { (exit 1); exit 1; }; }
1858 cat >>confdefs.h <<_ACEOF
1859 #define PACKAGE "$PACKAGE"
1863 cat >>confdefs.h <<_ACEOF
1864 #define VERSION "$VERSION"
1869 missing_dir=`cd $ac_aux_dir && pwd`
1870 { echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1871 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6; }
1872 # Run test in a subshell; some versions of sh will print an error if
1873 # an executable is not found, even if stderr is redirected.
1874 # Redirect stdin to placate older versions of autoconf. Sigh.
1875 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1876 ACLOCAL=aclocal-${am__api_version}
1877 { echo "$as_me:$LINENO: result: found" >&5
1878 echo "${ECHO_T}found" >&6; }
1880 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1881 { echo "$as_me:$LINENO: result: missing" >&5
1882 echo "${ECHO_T}missing" >&6; }
1885 { echo "$as_me:$LINENO: checking for working autoconf" >&5
1886 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6; }
1887 # Run test in a subshell; some versions of sh will print an error if
1888 # an executable is not found, even if stderr is redirected.
1889 # Redirect stdin to placate older versions of autoconf. Sigh.
1890 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1892 { echo "$as_me:$LINENO: result: found" >&5
1893 echo "${ECHO_T}found" >&6; }
1895 AUTOCONF="$missing_dir/missing autoconf"
1896 { echo "$as_me:$LINENO: result: missing" >&5
1897 echo "${ECHO_T}missing" >&6; }
1900 { echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1901 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6; }
1902 # Run test in a subshell; some versions of sh will print an error if
1903 # an executable is not found, even if stderr is redirected.
1904 # Redirect stdin to placate older versions of autoconf. Sigh.
1905 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1906 AUTOMAKE=automake-${am__api_version}
1907 { echo "$as_me:$LINENO: result: found" >&5
1908 echo "${ECHO_T}found" >&6; }
1910 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1911 { echo "$as_me:$LINENO: result: missing" >&5
1912 echo "${ECHO_T}missing" >&6; }
1915 { echo "$as_me:$LINENO: checking for working autoheader" >&5
1916 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6; }
1917 # Run test in a subshell; some versions of sh will print an error if
1918 # an executable is not found, even if stderr is redirected.
1919 # Redirect stdin to placate older versions of autoconf. Sigh.
1920 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1921 AUTOHEADER=autoheader
1922 { echo "$as_me:$LINENO: result: found" >&5
1923 echo "${ECHO_T}found" >&6; }
1925 AUTOHEADER="$missing_dir/missing autoheader"
1926 { echo "$as_me:$LINENO: result: missing" >&5
1927 echo "${ECHO_T}missing" >&6; }
1930 { echo "$as_me:$LINENO: checking for working makeinfo" >&5
1931 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6; }
1932 # Run test in a subshell; some versions of sh will print an error if
1933 # an executable is not found, even if stderr is redirected.
1934 # Redirect stdin to placate older versions of autoconf. Sigh.
1935 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1937 { echo "$as_me:$LINENO: result: found" >&5
1938 echo "${ECHO_T}found" >&6; }
1940 MAKEINFO="$missing_dir/missing makeinfo"
1941 { echo "$as_me:$LINENO: result: missing" >&5
1942 echo "${ECHO_T}missing" >&6; }
1948 ac_cpp='$CPP $CPPFLAGS'
1949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1952 if test -n "$ac_tool_prefix"; then
1953 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1954 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1957 if test "${ac_cv_prog_CC+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 if test -n "$CC"; then
1961 ac_cv_prog_CC="$CC" # Let the user override the test.
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir=.
1968 for ac_exec_ext in '' $ac_executable_extensions; do
1969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1970 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981 if test -n "$CC"; then
1982 { echo "$as_me:$LINENO: result: $CC" >&5
1983 echo "${ECHO_T}$CC" >&6; }
1985 { echo "$as_me:$LINENO: result: no" >&5
1986 echo "${ECHO_T}no" >&6; }
1991 if test -z "$ac_cv_prog_CC"; then
1993 # Extract the first word of "gcc", so it can be a program name with args.
1994 set dummy gcc; ac_word=$2
1995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1997 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 if test -n "$ac_ct_CC"; then
2001 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 test -z "$as_dir" && as_dir=.
2008 for ac_exec_ext in '' $ac_executable_extensions; do
2009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2010 ac_cv_prog_ac_ct_CC="gcc"
2011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2020 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2021 if test -n "$ac_ct_CC"; then
2022 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2023 echo "${ECHO_T}$ac_ct_CC" >&6; }
2025 { echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6; }
2029 if test "x$ac_ct_CC" = x; then
2032 case $cross_compiling:$ac_tool_warned in
2034 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2035 whose name does not start with the host triplet. If you think this
2036 configuration is useful to you, please write to autoconf@gnu.org." >&5
2037 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2038 whose name does not start with the host triplet. If you think this
2039 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2040 ac_tool_warned=yes ;;
2048 if test -z "$CC"; then
2049 if test -n "$ac_tool_prefix"; then
2050 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2051 set dummy ${ac_tool_prefix}cc; ac_word=$2
2052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2054 if test "${ac_cv_prog_CC+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 if test -n "$CC"; then
2058 ac_cv_prog_CC="$CC" # Let the user override the test.
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir=.
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2067 ac_cv_prog_CC="${ac_tool_prefix}cc"
2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 if test -n "$CC"; then
2079 { echo "$as_me:$LINENO: result: $CC" >&5
2080 echo "${ECHO_T}$CC" >&6; }
2082 { echo "$as_me:$LINENO: result: no" >&5
2083 echo "${ECHO_T}no" >&6; }
2089 if test -z "$CC"; then
2090 # Extract the first word of "cc", so it can be a program name with args.
2091 set dummy cc; ac_word=$2
2092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2094 if test "${ac_cv_prog_CC+set}" = set; then
2095 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 if test -n "$CC"; then
2098 ac_cv_prog_CC="$CC" # Let the user override the test.
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2109 ac_prog_rejected=yes
2113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120 if test $ac_prog_rejected = yes; then
2121 # We found a bogon in the path, so make sure we never use it.
2122 set dummy $ac_cv_prog_CC
2124 if test $# != 0; then
2125 # We chose a different compiler from the bogus one.
2126 # However, it has the same basename, so the bogon will be chosen
2127 # first if we set CC to just the basename; use the full file name.
2129 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2135 if test -n "$CC"; then
2136 { echo "$as_me:$LINENO: result: $CC" >&5
2137 echo "${ECHO_T}$CC" >&6; }
2139 { echo "$as_me:$LINENO: result: no" >&5
2140 echo "${ECHO_T}no" >&6; }
2145 if test -z "$CC"; then
2146 if test -n "$ac_tool_prefix"; then
2147 for ac_prog in cl.exe
2149 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2153 if test "${ac_cv_prog_CC+set}" = set; then
2154 echo $ECHO_N "(cached) $ECHO_C" >&6
2156 if test -n "$CC"; then
2157 ac_cv_prog_CC="$CC" # Let the user override the test.
2159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 test -z "$as_dir" && as_dir=.
2164 for ac_exec_ext in '' $ac_executable_extensions; do
2165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2166 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 if test -n "$CC"; then
2178 { echo "$as_me:$LINENO: result: $CC" >&5
2179 echo "${ECHO_T}$CC" >&6; }
2181 { echo "$as_me:$LINENO: result: no" >&5
2182 echo "${ECHO_T}no" >&6; }
2186 test -n "$CC" && break
2189 if test -z "$CC"; then
2191 for ac_prog in cl.exe
2193 # Extract the first word of "$ac_prog", so it can be a program name with args.
2194 set dummy $ac_prog; ac_word=$2
2195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2197 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 if test -n "$ac_ct_CC"; then
2201 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir=.
2208 for ac_exec_ext in '' $ac_executable_extensions; do
2209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2210 ac_cv_prog_ac_ct_CC="$ac_prog"
2211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2220 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2221 if test -n "$ac_ct_CC"; then
2222 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2223 echo "${ECHO_T}$ac_ct_CC" >&6; }
2225 { echo "$as_me:$LINENO: result: no" >&5
2226 echo "${ECHO_T}no" >&6; }
2230 test -n "$ac_ct_CC" && break
2233 if test "x$ac_ct_CC" = x; then
2236 case $cross_compiling:$ac_tool_warned in
2238 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2239 whose name does not start with the host triplet. If you think this
2240 configuration is useful to you, please write to autoconf@gnu.org." >&5
2241 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2242 whose name does not start with the host triplet. If you think this
2243 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2244 ac_tool_warned=yes ;;
2253 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2254 See \`config.log' for more details." >&5
2255 echo "$as_me: error: no acceptable C compiler found in \$PATH
2256 See \`config.log' for more details." >&2;}
2257 { (exit 1); exit 1; }; }
2259 # Provide some information about the compiler.
2260 echo "$as_me:$LINENO: checking for C compiler version" >&5
2261 ac_compiler=`set X $ac_compile; echo $2`
2262 { (ac_try="$ac_compiler --version >&5"
2264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2265 *) ac_try_echo=$ac_try;;
2267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2268 (eval "$ac_compiler --version >&5") 2>&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }
2272 { (ac_try="$ac_compiler -v >&5"
2274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2275 *) ac_try_echo=$ac_try;;
2277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2278 (eval "$ac_compiler -v >&5") 2>&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }
2282 { (ac_try="$ac_compiler -V >&5"
2284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2285 *) ac_try_echo=$ac_try;;
2287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2288 (eval "$ac_compiler -V >&5") 2>&5
2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); }
2293 cat >conftest.$ac_ext <<_ACEOF
2296 cat confdefs.h >>conftest.$ac_ext
2297 cat >>conftest.$ac_ext <<_ACEOF
2298 /* end confdefs.h. */
2308 ac_clean_files_save=$ac_clean_files
2309 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2310 # Try to create an executable without -o first, disregard a.out.
2311 # It will help us diagnose broken compilers, and finding out an intuition
2313 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2314 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2315 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2317 # List of possible output files, starting from the most likely.
2318 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2319 # only as a last resort. b.out is created by i960 compilers.
2320 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2322 # The IRIX 6 linker writes into existing files which may not be
2323 # executable, retaining their permissions. Remove them first so a
2324 # subsequent execution test works.
2326 for ac_file in $ac_files
2329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2330 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2335 if { (ac_try="$ac_link_default"
2337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2338 *) ac_try_echo=$ac_try;;
2340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2341 (eval "$ac_link_default") 2>&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; then
2345 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2346 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2347 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2348 # so that the user can short-circuit this test for compilers unknown to
2350 for ac_file in $ac_files ''
2352 test -f "$ac_file" || continue
2354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2357 # We found the default executable, but exeext='' is most
2361 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2363 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2365 # We set ac_cv_exeext here because the later test for it is not
2366 # safe: cross compilers may not add the suffix if given an `-o'
2367 # argument, so we may need to know it at that point already.
2368 # Even if this section looks crufty: it has the advantage of
2375 test "$ac_cv_exeext" = no && ac_cv_exeext=
2381 { echo "$as_me:$LINENO: result: $ac_file" >&5
2382 echo "${ECHO_T}$ac_file" >&6; }
2383 if test -z "$ac_file"; then
2384 echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2387 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2388 See \`config.log' for more details." >&5
2389 echo "$as_me: error: C compiler cannot create executables
2390 See \`config.log' for more details." >&2;}
2391 { (exit 77); exit 77; }; }
2394 ac_exeext=$ac_cv_exeext
2396 # Check that the compiler produces executables we can run. If not, either
2397 # the compiler is broken, or we cross compile.
2398 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2399 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2400 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2401 # If not cross compiling, check that we can run a simple program.
2402 if test "$cross_compiling" != yes; then
2403 if { ac_try='./$ac_file'
2404 { (case "(($ac_try" in
2405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2406 *) ac_try_echo=$ac_try;;
2408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2409 (eval "$ac_try") 2>&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; }; then
2415 if test "$cross_compiling" = maybe; then
2418 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2419 If you meant to cross compile, use \`--host'.
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: cannot run C compiled programs.
2422 If you meant to cross compile, use \`--host'.
2423 See \`config.log' for more details." >&2;}
2424 { (exit 1); exit 1; }; }
2428 { echo "$as_me:$LINENO: result: yes" >&5
2429 echo "${ECHO_T}yes" >&6; }
2431 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2432 ac_clean_files=$ac_clean_files_save
2433 # Check that the compiler produces executables we can run. If not, either
2434 # the compiler is broken, or we cross compile.
2435 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2436 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2437 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2438 echo "${ECHO_T}$cross_compiling" >&6; }
2440 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2441 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2442 if { (ac_try="$ac_link"
2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2445 *) ac_try_echo=$ac_try;;
2447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2448 (eval "$ac_link") 2>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; then
2452 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2453 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2454 # work properly (i.e., refer to `conftest.exe'), while it won't with
2456 for ac_file in conftest.exe conftest conftest.*; do
2457 test -f "$ac_file" || continue
2459 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2460 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2466 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2467 See \`config.log' for more details." >&5
2468 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2469 See \`config.log' for more details." >&2;}
2470 { (exit 1); exit 1; }; }
2473 rm -f conftest$ac_cv_exeext
2474 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2475 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2477 rm -f conftest.$ac_ext
2478 EXEEXT=$ac_cv_exeext
2480 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2481 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2482 if test "${ac_cv_objext+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 cat >conftest.$ac_ext <<_ACEOF
2488 cat confdefs.h >>conftest.$ac_ext
2489 cat >>conftest.$ac_ext <<_ACEOF
2490 /* end confdefs.h. */
2500 rm -f conftest.o conftest.obj
2501 if { (ac_try="$ac_compile"
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2507 (eval "$ac_compile") 2>&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; then
2511 for ac_file in conftest.o conftest.obj conftest.*; do
2512 test -f "$ac_file" || continue;
2514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2515 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2520 echo "$as_me: failed program was:" >&5
2521 sed 's/^/| /' conftest.$ac_ext >&5
2523 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2524 See \`config.log' for more details." >&5
2525 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2526 See \`config.log' for more details." >&2;}
2527 { (exit 1); exit 1; }; }
2530 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2532 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2533 echo "${ECHO_T}$ac_cv_objext" >&6; }
2534 OBJEXT=$ac_cv_objext
2536 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2537 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2538 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 cat >conftest.$ac_ext <<_ACEOF
2544 cat confdefs.h >>conftest.$ac_ext
2545 cat >>conftest.$ac_ext <<_ACEOF
2546 /* end confdefs.h. */
2559 rm -f conftest.$ac_objext
2560 if { (ac_try="$ac_compile"
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2566 (eval "$ac_compile") 2>conftest.er1
2568 grep -v '^ *+' conftest.er1 >conftest.err
2570 cat conftest.err >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); } && {
2573 test -z "$ac_c_werror_flag" ||
2574 test ! -s conftest.err
2575 } && test -s conftest.$ac_objext; then
2578 echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.$ac_ext >&5
2584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2585 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2588 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2589 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2590 GCC=`test $ac_compiler_gnu = yes && echo yes`
2591 ac_test_CFLAGS=${CFLAGS+set}
2592 ac_save_CFLAGS=$CFLAGS
2593 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2594 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2595 if test "${ac_cv_prog_cc_g+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 ac_save_c_werror_flag=$ac_c_werror_flag
2599 ac_c_werror_flag=yes
2602 cat >conftest.$ac_ext <<_ACEOF
2605 cat confdefs.h >>conftest.$ac_ext
2606 cat >>conftest.$ac_ext <<_ACEOF
2607 /* end confdefs.h. */
2617 rm -f conftest.$ac_objext
2618 if { (ac_try="$ac_compile"
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624 (eval "$ac_compile") 2>conftest.er1
2626 grep -v '^ *+' conftest.er1 >conftest.err
2628 cat conftest.err >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } && {
2631 test -z "$ac_c_werror_flag" ||
2632 test ! -s conftest.err
2633 } && test -s conftest.$ac_objext; then
2636 echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2640 cat >conftest.$ac_ext <<_ACEOF
2643 cat confdefs.h >>conftest.$ac_ext
2644 cat >>conftest.$ac_ext <<_ACEOF
2645 /* end confdefs.h. */
2655 rm -f conftest.$ac_objext
2656 if { (ac_try="$ac_compile"
2658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2662 (eval "$ac_compile") 2>conftest.er1
2664 grep -v '^ *+' conftest.er1 >conftest.err
2666 cat conftest.err >&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); } && {
2669 test -z "$ac_c_werror_flag" ||
2670 test ! -s conftest.err
2671 } && test -s conftest.$ac_objext; then
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.$ac_ext >&5
2677 ac_c_werror_flag=$ac_save_c_werror_flag
2679 cat >conftest.$ac_ext <<_ACEOF
2682 cat confdefs.h >>conftest.$ac_ext
2683 cat >>conftest.$ac_ext <<_ACEOF
2684 /* end confdefs.h. */
2694 rm -f conftest.$ac_objext
2695 if { (ac_try="$ac_compile"
2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2701 (eval "$ac_compile") 2>conftest.er1
2703 grep -v '^ *+' conftest.er1 >conftest.err
2705 cat conftest.err >&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } && {
2708 test -z "$ac_c_werror_flag" ||
2709 test ! -s conftest.err
2710 } && test -s conftest.$ac_objext; then
2713 echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2726 ac_c_werror_flag=$ac_save_c_werror_flag
2728 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2729 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2730 if test "$ac_test_CFLAGS" = set; then
2731 CFLAGS=$ac_save_CFLAGS
2732 elif test $ac_cv_prog_cc_g = yes; then
2733 if test "$GCC" = yes; then
2739 if test "$GCC" = yes; then
2745 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2746 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2747 if test "${ac_cv_prog_cc_c89+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 ac_cv_prog_cc_c89=no
2752 cat >conftest.$ac_ext <<_ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2760 #include <sys/types.h>
2761 #include <sys/stat.h>
2762 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2763 struct buf { int x; };
2764 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2765 static char *e (p, i)
2771 static char *f (char * (*g) (char **, int), char **p, ...)
2776 s = g (p, va_arg (v,int));
2781 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2782 function prototypes and stuff, but not '\xHH' hex character constants.
2783 These don't provoke an error unfortunately, instead are silently treated
2784 as 'x'. The following induces an error, until -std is added to get
2785 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2786 array size at least. It's necessary to write '\x00'==0 to get something
2787 that's true only with -std. */
2788 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2790 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2791 inside strings and character constants. */
2793 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2795 int test (int i, double x);
2796 struct s1 {int (*f) (int a);};
2797 struct s2 {int (*f) (double a);};
2798 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2804 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2809 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2810 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2812 CC="$ac_save_CC $ac_arg"
2813 rm -f conftest.$ac_objext
2814 if { (ac_try="$ac_compile"
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_compile") 2>conftest.er1
2822 grep -v '^ *+' conftest.er1 >conftest.err
2824 cat conftest.err >&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } && {
2827 test -z "$ac_c_werror_flag" ||
2828 test ! -s conftest.err
2829 } && test -s conftest.$ac_objext; then
2830 ac_cv_prog_cc_c89=$ac_arg
2832 echo "$as_me: failed program was:" >&5
2833 sed 's/^/| /' conftest.$ac_ext >&5
2838 rm -f core conftest.err conftest.$ac_objext
2839 test "x$ac_cv_prog_cc_c89" != "xno" && break
2841 rm -f conftest.$ac_ext
2846 case "x$ac_cv_prog_cc_c89" in
2848 { echo "$as_me:$LINENO: result: none needed" >&5
2849 echo "${ECHO_T}none needed" >&6; } ;;
2851 { echo "$as_me:$LINENO: result: unsupported" >&5
2852 echo "${ECHO_T}unsupported" >&6; } ;;
2854 CC="$CC $ac_cv_prog_cc_c89"
2855 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2856 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2861 ac_cpp='$CPP $CPPFLAGS'
2862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2868 ac_config_headers="$ac_config_headers config.h"
2870 ac_config_commands="$ac_config_commands default-1"
2872 ac_config_files="$ac_config_files Makefile"
2874 cat >confcache <<\_ACEOF
2875 # This file is a shell script that caches the results of configure
2876 # tests run on this system so they can be shared between configure
2877 # scripts and configure runs, see configure's option --config-cache.
2878 # It is not useful on other systems. If it contains results you don't
2879 # want to keep, you may remove or edit it.
2881 # config.status only pays attention to the cache file if you give it
2882 # the --recheck option to rerun configure.
2884 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2885 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2890 # The following way of writing the cache mishandles newlines in values,
2891 # but we know of no workaround that is simple, portable, and efficient.
2892 # So, we kill variables containing newlines.
2893 # Ultrix sh set writes to stderr and can't be redirected directly,
2894 # and sets the high bit in the cache file unless we assign to the vars.
2896 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2897 eval ac_val=\$$ac_var
2901 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2902 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2905 _ | IFS | as_nl) ;; #(
2906 *) $as_unset $ac_var ;;
2912 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2913 *${as_nl}ac_space=\ *)
2914 # `set' does not quote correctly, so add quotes (double-quote
2915 # substitution turns \\\\ into \\, and sed turns \\ into \).
2918 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2921 # `set' quotes correctly as required by POSIX, so do not add quotes.
2922 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2933 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2935 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2936 if test -w "$cache_file"; then
2937 test "x$cache_file" != "x/dev/null" &&
2938 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2939 echo "$as_me: updating cache $cache_file" >&6;}
2940 cat confcache >$cache_file
2942 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2943 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2948 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2949 # Let make expand exec_prefix.
2950 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2952 DEFS=-DHAVE_CONFIG_H
2956 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2957 # 1. Remove the extension, and $U if already installed.
2958 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2959 ac_i=`echo "$ac_i" | sed "$ac_script"`
2960 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2961 # will be set to the directory where LIBOBJS objects are built.
2962 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2963 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2967 LTLIBOBJS=$ac_ltlibobjs
2971 : ${CONFIG_STATUS=./config.status}
2972 ac_clean_files_save=$ac_clean_files
2973 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2974 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2975 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2976 cat >$CONFIG_STATUS <<_ACEOF
2978 # Generated by $as_me.
2979 # Run this file to recreate the current configuration.
2980 # Compiler output produced by configure, useful for debugging
2981 # configure, is in config.log if it exists.
2986 SHELL=\${CONFIG_SHELL-$SHELL}
2989 cat >>$CONFIG_STATUS <<\_ACEOF
2990 ## --------------------- ##
2991 ## M4sh Initialization. ##
2992 ## --------------------- ##
2994 # Be more Bourne compatible
2995 DUALCASE=1; export DUALCASE # for MKS sh
2996 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2999 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3000 # is contrary to our usage. Disable this feature.
3001 alias -g '${1+"$@"}'='"$@"'
3002 setopt NO_GLOB_SUBST
3004 case `(set -o) 2>/dev/null` in
3005 *posix*) set -o posix ;;
3014 # Avoid depending upon Character Ranges.
3015 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3016 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3017 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3018 as_cr_digits='0123456789'
3019 as_cr_alnum=$as_cr_Letters$as_cr_digits
3021 # The user is always right.
3022 if test "${PATH_SEPARATOR+set}" != set; then
3023 echo "#! /bin/sh" >conf$$.sh
3024 echo "exit 0" >>conf$$.sh
3026 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3034 # Support unset when possible.
3035 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3043 # We need space, tab and new line, in precisely that order. Quoting is
3044 # there to prevent editors from complaining about space-tab.
3045 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3046 # splitting by setting IFS to empty value.)
3051 # Find who we are. Look in the path if we contain no directory separator.
3053 *[\\/]* ) as_myself=$0 ;;
3054 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir=.
3059 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3065 # We did not find ourselves, most probably we were run as `sh COMMAND'
3066 # in which case we are not to be found in the path.
3067 if test "x$as_myself" = x; then
3070 if test ! -f "$as_myself"; then
3071 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3072 { (exit 1); exit 1; }
3075 # Work around bugs in pre-3.0 UWIN ksh.
3076 for as_var in ENV MAIL MAILPATH
3077 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3085 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3086 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3087 LC_TELEPHONE LC_TIME
3089 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3090 eval $as_var=C; export $as_var
3092 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3096 # Required to use basename.
3097 if expr a : '\(a\)' >/dev/null 2>&1 &&
3098 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3104 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3105 as_basename=basename
3111 # Name of the executable.
3112 as_me=`$as_basename -- "$0" ||
3113 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3114 X"$0" : 'X\(//\)$' \| \
3115 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3117 sed '/^.*\/\([^/][^/]*\)\/*$/{
3138 test "x$as_lineno_1" != "x$as_lineno_2" &&
3139 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3141 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3142 # uniformly replaced by the line number. The first 'sed' inserts a
3143 # line-number line after each line using $LINENO; the second 'sed'
3144 # does the real work. The second script uses 'N' to pair each
3145 # line-number line with the line containing $LINENO, and appends
3146 # trailing '-' during substitution so that $LINENO is not a special
3148 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3149 # scripts with optimization help from Paolo Bonzini. Blame Lee
3150 # E. McMahon (1931-1989) for sed's syntax. :-)
3162 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3166 chmod +x "$as_me.lineno" ||
3167 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3168 { (exit 1); exit 1; }; }
3170 # Don't try to exec as it changes $[0], causing all sort of problems
3171 # (the dirname of $[0] is not the place where we might find the
3172 # original and so on. Autoconf is especially sensitive to this).
3174 # Exit status is that of the last command.
3179 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3185 ECHO_C= ECHO_N= ECHO_T=
3188 case `echo 'x\c'` in
3189 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3196 if expr a : '\(a\)' >/dev/null 2>&1 &&
3197 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3203 rm -f conf$$ conf$$.exe conf$$.file
3204 if test -d conf$$.dir; then
3205 rm -f conf$$.dir/conf$$.file
3211 if ln -s conf$$.file conf$$ 2>/dev/null; then
3213 # ... but there are two gotchas:
3214 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3215 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3216 # In both cases, we have to default to `cp -p'.
3217 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3219 elif ln conf$$.file conf$$ 2>/dev/null; then
3224 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3225 rmdir conf$$.dir 2>/dev/null
3227 if mkdir -p . 2>/dev/null; then
3230 test -d ./-p && rmdir ./-p
3234 if test -x / >/dev/null 2>&1; then
3237 if ls -dL / >/dev/null 2>&1; then
3244 if test -d "$1"; then
3250 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3251 ???[sx]*):;;*)false;;esac;fi
3255 as_executable_p=$as_test_x
3257 # Sed expression to map a string onto a valid CPP name.
3258 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3260 # Sed expression to map a string onto a valid variable name.
3261 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3266 # Save the log message, to keep $[0] and so on meaningful, and to
3267 # report actual input values of CONFIG_FILES etc. instead of their
3268 # values after options handling.
3270 This file was extended by $as_me, which was
3271 generated by GNU Autoconf 2.61. Invocation command line was
3273 CONFIG_FILES = $CONFIG_FILES
3274 CONFIG_HEADERS = $CONFIG_HEADERS
3275 CONFIG_LINKS = $CONFIG_LINKS
3276 CONFIG_COMMANDS = $CONFIG_COMMANDS
3279 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3284 cat >>$CONFIG_STATUS <<_ACEOF
3285 # Files that config.status was made for.
3286 config_files="$ac_config_files"
3287 config_headers="$ac_config_headers"
3288 config_commands="$ac_config_commands"
3292 cat >>$CONFIG_STATUS <<\_ACEOF
3294 \`$as_me' instantiates files from templates according to the
3295 current configuration.
3297 Usage: $0 [OPTIONS] [FILE]...
3299 -h, --help print this help, then exit
3300 -V, --version print version number and configuration settings, then exit
3301 -q, --quiet do not print progress messages
3302 -d, --debug don't remove temporary files
3303 --recheck update $as_me by reconfiguring in the same conditions
3304 --file=FILE[:TEMPLATE]
3305 instantiate the configuration file FILE
3306 --header=FILE[:TEMPLATE]
3307 instantiate the configuration header FILE
3309 Configuration files:
3312 Configuration headers:
3315 Configuration commands:
3318 Report bugs to <bug-autoconf@gnu.org>."
3321 cat >>$CONFIG_STATUS <<_ACEOF
3324 configured by $0, generated by GNU Autoconf 2.61,
3325 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3327 Copyright (C) 2006 Free Software Foundation, Inc.
3328 This config.status script is free software; the Free Software Foundation
3329 gives unlimited permission to copy, distribute and modify it."
3336 cat >>$CONFIG_STATUS <<\_ACEOF
3337 # If no file are specified by the user, then we need to provide default
3338 # value. By we need to know if files were specified by the user.
3344 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3345 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3356 # Handling of the options.
3357 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3359 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3360 echo "$ac_cs_version"; exit ;;
3361 --debug | --debu | --deb | --de | --d | -d )
3363 --file | --fil | --fi | --f )
3365 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3366 ac_need_defaults=false;;
3367 --header | --heade | --head | --hea )
3369 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3370 ac_need_defaults=false;;
3372 # Conflict between --help and --header
3373 { echo "$as_me: error: ambiguous option: $1
3374 Try \`$0 --help' for more information." >&2
3375 { (exit 1); exit 1; }; };;
3376 --help | --hel | -h )
3377 echo "$ac_cs_usage"; exit ;;
3378 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3379 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3383 -*) { echo "$as_me: error: unrecognized option: $1
3384 Try \`$0 --help' for more information." >&2
3385 { (exit 1); exit 1; }; } ;;
3387 *) ac_config_targets="$ac_config_targets $1"
3388 ac_need_defaults=false ;;
3394 ac_configure_extra_args=
3396 if $ac_cs_silent; then
3398 ac_configure_extra_args="$ac_configure_extra_args --silent"
3402 cat >>$CONFIG_STATUS <<_ACEOF
3403 if \$ac_cs_recheck; then
3404 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3407 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3411 cat >>$CONFIG_STATUS <<\_ACEOF
3415 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3416 ## Running $as_me. ##
3422 cat >>$CONFIG_STATUS <<_ACEOF
3430 cat >>$CONFIG_STATUS <<\_ACEOF
3432 # Handling of arguments.
3433 for ac_config_target in $ac_config_targets
3435 case $ac_config_target in
3436 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3437 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
3438 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3440 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3441 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3442 { (exit 1); exit 1; }; };;
3447 # If the user did not use the arguments to specify the items to instantiate,
3448 # then the envvar interface is used. Set only those that are not.
3449 # We use the long form for the default assignment because of an extremely
3450 # bizarre bug on SunOS 4.1.3.
3451 if $ac_need_defaults; then
3452 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3453 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3454 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3457 # Have a temporary directory for convenience. Make it in the build tree
3458 # simply because there is no reason against having it here, and in addition,
3459 # creating and moving files from /tmp can sometimes cause problems.
3460 # Hook for its removal unless debugging.
3461 # Note that there is a small window in which the directory will not be cleaned:
3462 # after its creation but before its name has been assigned to `$tmp'.
3466 trap 'exit_status=$?
3467 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3469 trap '{ (exit 1); exit 1; }' 1 2 13 15
3471 # Create a (secure) tmp directory for tmp files.
3474 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3475 test -n "$tmp" && test -d "$tmp"
3478 tmp=./conf$$-$RANDOM
3479 (umask 077 && mkdir "$tmp")
3482 echo "$me: cannot create a temporary directory in ." >&2
3483 { (exit 1); exit 1; }
3487 # Set up the sed scripts for CONFIG_FILES section.
3490 # No need to generate the scripts if there are no CONFIG_FILES.
3491 # This happens for instance when ./config.status config.h
3492 if test -n "$CONFIG_FILES"; then
3499 for ac_last_try in false false false false false :; do
3500 cat >conf$$subs.sed <<_ACEOF
3501 SHELL!$SHELL$ac_delim
3502 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3503 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3504 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3505 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3506 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3507 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3508 exec_prefix!$exec_prefix$ac_delim
3509 prefix!$prefix$ac_delim
3510 program_transform_name!$program_transform_name$ac_delim
3511 bindir!$bindir$ac_delim
3512 sbindir!$sbindir$ac_delim
3513 libexecdir!$libexecdir$ac_delim
3514 datarootdir!$datarootdir$ac_delim
3515 datadir!$datadir$ac_delim
3516 sysconfdir!$sysconfdir$ac_delim
3517 sharedstatedir!$sharedstatedir$ac_delim
3518 localstatedir!$localstatedir$ac_delim
3519 includedir!$includedir$ac_delim
3520 oldincludedir!$oldincludedir$ac_delim
3521 docdir!$docdir$ac_delim
3522 infodir!$infodir$ac_delim
3523 htmldir!$htmldir$ac_delim
3524 dvidir!$dvidir$ac_delim
3525 pdfdir!$pdfdir$ac_delim
3526 psdir!$psdir$ac_delim
3527 libdir!$libdir$ac_delim
3528 localedir!$localedir$ac_delim
3529 mandir!$mandir$ac_delim
3531 ECHO_C!$ECHO_C$ac_delim
3532 ECHO_N!$ECHO_N$ac_delim
3533 ECHO_T!$ECHO_T$ac_delim
3535 build_alias!$build_alias$ac_delim
3536 host_alias!$host_alias$ac_delim
3537 target_alias!$target_alias$ac_delim
3538 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3539 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3540 INSTALL_DATA!$INSTALL_DATA$ac_delim
3541 PACKAGE!$PACKAGE$ac_delim
3542 VERSION!$VERSION$ac_delim
3543 ACLOCAL!$ACLOCAL$ac_delim
3544 AUTOCONF!$AUTOCONF$ac_delim
3545 AUTOMAKE!$AUTOMAKE$ac_delim
3546 AUTOHEADER!$AUTOHEADER$ac_delim
3547 MAKEINFO!$MAKEINFO$ac_delim
3548 SET_MAKE!$SET_MAKE$ac_delim
3550 CFLAGS!$CFLAGS$ac_delim
3551 LDFLAGS!$LDFLAGS$ac_delim
3552 CPPFLAGS!$CPPFLAGS$ac_delim
3553 ac_ct_CC!$ac_ct_CC$ac_delim
3554 EXEEXT!$EXEEXT$ac_delim
3555 OBJEXT!$OBJEXT$ac_delim
3556 LIBOBJS!$LIBOBJS$ac_delim
3557 LTLIBOBJS!$LTLIBOBJS$ac_delim
3560 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
3562 elif $ac_last_try; then
3563 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3564 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3565 { (exit 1); exit 1; }; }
3567 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3571 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3572 if test -n "$ac_eof"; then
3573 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3574 ac_eof=`expr $ac_eof + 1`
3577 cat >>$CONFIG_STATUS <<_ACEOF
3578 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3579 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3582 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3583 s/^/s,@/; s/!/@,|#_!!_#|/
3586 s/'"$ac_delim"'$/,g/; t
3588 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3589 ' >>$CONFIG_STATUS <conf$$subs.sed
3590 rm -f conf$$subs.sed
3591 cat >>$CONFIG_STATUS <<_ACEOF
3598 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3599 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3600 # trailing colons and then remove the whole line if VPATH becomes empty
3601 # (actually we leave an empty line to preserve line numbers).
3602 if test "x$srcdir" = x.; then
3603 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3607 s/^\([^=]*=[ ]*\):*/\1/
3613 cat >>$CONFIG_STATUS <<\_ACEOF
3614 fi # test -n "$CONFIG_FILES"
3617 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
3620 :[FHLC]) ac_mode=$ac_tag; continue;;
3622 case $ac_mode$ac_tag in
3624 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3625 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3626 { (exit 1); exit 1; }; };;
3627 :[FH]-) ac_tag=-:-;;
3628 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3645 -) ac_f="$tmp/stdin";;
3646 *) # Look for the file first in the build tree, then in the source tree
3647 # (if the path is not absolute). The absolute path cannot be DOS-style,
3648 # because $ac_f cannot contain `:'.
3652 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3654 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3655 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3656 { (exit 1); exit 1; }; };;
3658 ac_file_inputs="$ac_file_inputs $ac_f"
3661 # Let's still pretend it is `configure' which instantiates (i.e., don't
3662 # use $as_me), people would be surprised to read:
3663 # /* config.h. Generated by config.status. */
3664 configure_input="Generated from "`IFS=:
3665 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3666 if test x"$ac_file" != x-; then
3667 configure_input="$ac_file. $configure_input"
3668 { echo "$as_me:$LINENO: creating $ac_file" >&5
3669 echo "$as_me: creating $ac_file" >&6;}
3673 *:-:* | *:-) cat >"$tmp/stdin";;
3678 ac_dir=`$as_dirname -- "$ac_file" ||
3679 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3680 X"$ac_file" : 'X\(//\)[^/]' \| \
3681 X"$ac_file" : 'X\(//\)$' \| \
3682 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3703 -*) as_dir=./$as_dir;;
3705 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3709 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3710 *) as_qdir=$as_dir;;
3712 as_dirs="'$as_qdir' $as_dirs"
3713 as_dir=`$as_dirname -- "$as_dir" ||
3714 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3715 X"$as_dir" : 'X\(//\)[^/]' \| \
3716 X"$as_dir" : 'X\(//\)$' \| \
3717 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3736 test -d "$as_dir" && break
3738 test -z "$as_dirs" || eval "mkdir $as_dirs"
3739 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3740 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3741 { (exit 1); exit 1; }; }; }
3745 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3747 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3748 # A ".." for each directory in $ac_dir_suffix.
3749 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3750 case $ac_top_builddir_sub in
3751 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3752 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3755 ac_abs_top_builddir=$ac_pwd
3756 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3757 # for backward compatibility:
3758 ac_top_builddir=$ac_top_build_prefix
3761 .) # We are building in place.
3763 ac_top_srcdir=$ac_top_builddir_sub
3764 ac_abs_top_srcdir=$ac_pwd ;;
3765 [\\/]* | ?:[\\/]* ) # Absolute name.
3766 ac_srcdir=$srcdir$ac_dir_suffix;
3767 ac_top_srcdir=$srcdir
3768 ac_abs_top_srcdir=$srcdir ;;
3770 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3771 ac_top_srcdir=$ac_top_build_prefix$srcdir
3772 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3774 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3784 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3785 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3789 cat >>$CONFIG_STATUS <<\_ACEOF
3790 # If the template does not know about datarootdir, expand it.
3791 # FIXME: This hack should be removed a few years after 2.60.
3792 ac_datarootdir_hack=; ac_datarootdir_seen=
3794 case `sed -n '/datarootdir/ {
3803 ' $ac_file_inputs` in
3804 *datarootdir*) ac_datarootdir_seen=yes;;
3805 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3806 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3807 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3809 cat >>$CONFIG_STATUS <<_ACEOF
3810 ac_datarootdir_hack='
3811 s&@datadir@&$datadir&g
3812 s&@docdir@&$docdir&g
3813 s&@infodir@&$infodir&g
3814 s&@localedir@&$localedir&g
3815 s&@mandir@&$mandir&g
3816 s&\\\${datarootdir}&$datarootdir&g' ;;
3820 # Neutralize VPATH when `$srcdir' = `.'.
3821 # Shell code in configure.ac might set extrasub.
3822 # FIXME: do we really want to maintain this feature?
3823 cat >>$CONFIG_STATUS <<_ACEOF
3827 cat >>$CONFIG_STATUS <<\_ACEOF
3829 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3830 s&@configure_input@&$configure_input&;t t
3831 s&@top_builddir@&$ac_top_builddir_sub&;t t
3832 s&@srcdir@&$ac_srcdir&;t t
3833 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3834 s&@top_srcdir@&$ac_top_srcdir&;t t
3835 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3836 s&@builddir@&$ac_builddir&;t t
3837 s&@abs_builddir@&$ac_abs_builddir&;t t
3838 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3839 s&@INSTALL@&$ac_INSTALL&;t t
3840 $ac_datarootdir_hack
3841 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3843 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3844 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3845 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3846 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3847 which seems to be undefined. Please make sure it is defined." >&5
3848 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3849 which seems to be undefined. Please make sure it is defined." >&2;}
3853 -) cat "$tmp/out"; rm -f "$tmp/out";;
3854 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3863 # Transform confdefs.h into a sed script `conftest.defines', that
3864 # substitutes the proper values into config.h.in to produce config.h.
3865 rm -f conftest.defines conftest.tail
3866 # First, append a space to every undef/define line, to ease matching.
3867 echo 's/$/ /' >conftest.defines
3868 # Then, protect against being on the right side of a sed subst, or in
3869 # an unquoted here document, in config.status. If some macros were
3870 # called several times there might be several #defines for the same
3871 # symbol, which is useless. But do not sort them, since the last
3872 # AC_DEFINE must be honored.
3873 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3874 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
3875 # NAME is the cpp macro being defined, VALUE is the value it is being given.
3876 # PARAMS is the parameter list in the macro definition--in most cases, it's
3877 # just an empty string.
3878 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
3879 ac_dB='\\)[ (].*,\\1define\\2'
3887 s/^[ ]*#[ ]*define[ ][ ]*//
3892 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
3893 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
3894 ' >>conftest.defines
3896 # Remove the space that was appended to ease matching.
3897 # Then replace #undef with comments. This is necessary, for
3898 # example, in the case of _POSIX_SOURCE, which is predefined and required
3899 # on some systems where configure will not decide to define it.
3900 # (The regexp can be short, since the line contains either #define or #undef.)
3902 s,^[ #]*u.*,/* & */,' >>conftest.defines
3904 # Break up conftest.defines:
3907 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
3908 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
3909 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
3911 ac_in='$ac_file_inputs'
3912 ac_out='"$tmp/out1"'
3913 ac_nxt='"$tmp/out2"'
3917 # Write a here document:
3918 cat >>$CONFIG_STATUS <<_ACEOF
3919 # First, check the format of the line:
3920 cat >"\$tmp/defines.sed" <<\\CEOF
3921 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
3922 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
3926 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3928 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
3929 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
3930 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
3931 grep . conftest.tail >/dev/null || break
3932 rm -f conftest.defines
3933 mv conftest.tail conftest.defines
3935 rm -f conftest.defines conftest.tail
3937 echo "ac_result=$ac_in" >>$CONFIG_STATUS
3938 cat >>$CONFIG_STATUS <<\_ACEOF
3939 if test x"$ac_file" != x-; then
3940 echo "/* $configure_input */" >"$tmp/config.h"
3941 cat "$ac_result" >>"$tmp/config.h"
3942 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
3943 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3944 echo "$as_me: $ac_file is unchanged" >&6;}
3947 mv "$tmp/config.h" $ac_file
3950 echo "/* $configure_input */"
3956 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3957 echo "$as_me: executing $ac_file commands" >&6;}
3962 case $ac_file$ac_mode in
3963 "default-1":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
3969 { (exit 0); exit 0; }
3971 chmod +x $CONFIG_STATUS
3972 ac_clean_files=$ac_clean_files_save
3975 # configure is writing to config.log, and then calls config.status.
3976 # config.status does its own redirection, appending to config.log.
3977 # Unfortunately, on DOS this fails, as config.log is still kept open
3978 # by configure, so config.status won't be able to write to it; its
3979 # output is simply discarded. So we exec the FD to /dev/null,
3980 # effectively closing config.log, so it can be properly (re)opened and
3981 # appended to by config.status. When coming back to configure, we
3982 # need to make the FD available again.
3983 if test "$no_create" != yes; then
3985 ac_config_status_args=
3986 test "$silent" = yes &&
3987 ac_config_status_args="$ac_config_status_args --quiet"
3989 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3991 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3992 # would make configure fail if this is the last instruction.
3993 $ac_cs_success || { (exit 1); exit 1; }