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="doc/gperf.1"
589 program_transform_name
622 ac_precious_vars='build_alias
625 ac_subdirs_all='lib src tests doc'
627 # Initialize some variables set by options.
629 ac_init_version=false
630 # The variables have the same names as the options, with
631 # dashes changed to underlines.
639 program_transform_name=s,x,x,
647 # Installation directory options.
648 # These are left unexpanded so users can "make install exec_prefix=/foo"
649 # and all the variables that are supposed to be based on exec_prefix
650 # by default will actually change.
651 # Use braces instead of parens because sh, perl, etc. also accept them.
652 # (The list follows the same order as the GNU Coding Standards.)
653 bindir='${exec_prefix}/bin'
654 sbindir='${exec_prefix}/sbin'
655 libexecdir='${exec_prefix}/libexec'
656 datarootdir='${prefix}/share'
657 datadir='${datarootdir}'
658 sysconfdir='${prefix}/etc'
659 sharedstatedir='${prefix}/com'
660 localstatedir='${prefix}/var'
661 includedir='${prefix}/include'
662 oldincludedir='/usr/include'
663 docdir='${datarootdir}/doc/${PACKAGE}'
664 infodir='${datarootdir}/info'
669 libdir='${exec_prefix}/lib'
670 localedir='${datarootdir}/locale'
671 mandir='${datarootdir}/man'
677 # If the previous option needs an argument, assign it.
678 if test -n "$ac_prev"; then
679 eval $ac_prev=\$ac_option
685 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
689 # Accept the important Cygnus configure options, so we can diagnose typos.
691 case $ac_dashdash$ac_option in
695 -bindir | --bindir | --bindi | --bind | --bin | --bi)
697 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
700 -build | --build | --buil | --bui | --bu)
701 ac_prev=build_alias ;;
702 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
703 build_alias=$ac_optarg ;;
705 -cache-file | --cache-file | --cache-fil | --cache-fi \
706 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
707 ac_prev=cache_file ;;
708 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
709 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
710 cache_file=$ac_optarg ;;
713 cache_file=config.cache ;;
715 -datadir | --datadir | --datadi | --datad)
717 -datadir=* | --datadir=* | --datadi=* | --datad=*)
718 datadir=$ac_optarg ;;
720 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
721 | --dataroo | --dataro | --datar)
722 ac_prev=datarootdir ;;
723 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
724 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
725 datarootdir=$ac_optarg ;;
727 -disable-* | --disable-*)
728 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
729 # Reject names that are not valid shell variable names.
730 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
731 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
732 { (exit 1); exit 1; }; }
733 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
734 eval enable_$ac_feature=no ;;
736 -docdir | --docdir | --docdi | --doc | --do)
738 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
741 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
743 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
746 -enable-* | --enable-*)
747 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
748 # Reject names that are not valid shell variable names.
749 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
750 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
751 { (exit 1); exit 1; }; }
752 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
753 eval enable_$ac_feature=\$ac_optarg ;;
755 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
756 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
757 | --exec | --exe | --ex)
758 ac_prev=exec_prefix ;;
759 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
760 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
761 | --exec=* | --exe=* | --ex=*)
762 exec_prefix=$ac_optarg ;;
764 -gas | --gas | --ga | --g)
765 # Obsolete; use --with-gas.
768 -help | --help | --hel | --he | -h)
770 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
771 ac_init_help=recursive ;;
772 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
773 ac_init_help=short ;;
775 -host | --host | --hos | --ho)
776 ac_prev=host_alias ;;
777 -host=* | --host=* | --hos=* | --ho=*)
778 host_alias=$ac_optarg ;;
780 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
782 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
784 htmldir=$ac_optarg ;;
786 -includedir | --includedir | --includedi | --included | --include \
787 | --includ | --inclu | --incl | --inc)
788 ac_prev=includedir ;;
789 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
790 | --includ=* | --inclu=* | --incl=* | --inc=*)
791 includedir=$ac_optarg ;;
793 -infodir | --infodir | --infodi | --infod | --info | --inf)
795 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
796 infodir=$ac_optarg ;;
798 -libdir | --libdir | --libdi | --libd)
800 -libdir=* | --libdir=* | --libdi=* | --libd=*)
803 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
804 | --libexe | --libex | --libe)
805 ac_prev=libexecdir ;;
806 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
807 | --libexe=* | --libex=* | --libe=*)
808 libexecdir=$ac_optarg ;;
810 -localedir | --localedir | --localedi | --localed | --locale)
812 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
813 localedir=$ac_optarg ;;
815 -localstatedir | --localstatedir | --localstatedi | --localstated \
816 | --localstate | --localstat | --localsta | --localst | --locals)
817 ac_prev=localstatedir ;;
818 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
819 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
820 localstatedir=$ac_optarg ;;
822 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
824 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
828 # Obsolete; use --without-fp.
831 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
832 | --no-cr | --no-c | -n)
835 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
836 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
839 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
840 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
841 | --oldin | --oldi | --old | --ol | --o)
842 ac_prev=oldincludedir ;;
843 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
844 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
845 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
846 oldincludedir=$ac_optarg ;;
848 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
850 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
853 -program-prefix | --program-prefix | --program-prefi | --program-pref \
854 | --program-pre | --program-pr | --program-p)
855 ac_prev=program_prefix ;;
856 -program-prefix=* | --program-prefix=* | --program-prefi=* \
857 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
858 program_prefix=$ac_optarg ;;
860 -program-suffix | --program-suffix | --program-suffi | --program-suff \
861 | --program-suf | --program-su | --program-s)
862 ac_prev=program_suffix ;;
863 -program-suffix=* | --program-suffix=* | --program-suffi=* \
864 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
865 program_suffix=$ac_optarg ;;
867 -program-transform-name | --program-transform-name \
868 | --program-transform-nam | --program-transform-na \
869 | --program-transform-n | --program-transform- \
870 | --program-transform | --program-transfor \
871 | --program-transfo | --program-transf \
872 | --program-trans | --program-tran \
873 | --progr-tra | --program-tr | --program-t)
874 ac_prev=program_transform_name ;;
875 -program-transform-name=* | --program-transform-name=* \
876 | --program-transform-nam=* | --program-transform-na=* \
877 | --program-transform-n=* | --program-transform-=* \
878 | --program-transform=* | --program-transfor=* \
879 | --program-transfo=* | --program-transf=* \
880 | --program-trans=* | --program-tran=* \
881 | --progr-tra=* | --program-tr=* | --program-t=*)
882 program_transform_name=$ac_optarg ;;
884 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
886 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
889 -psdir | --psdir | --psdi | --psd | --ps)
891 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
894 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
895 | -silent | --silent | --silen | --sile | --sil)
898 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
900 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
902 sbindir=$ac_optarg ;;
904 -sharedstatedir | --sharedstatedir | --sharedstatedi \
905 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
906 | --sharedst | --shareds | --shared | --share | --shar \
908 ac_prev=sharedstatedir ;;
909 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
910 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
911 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
913 sharedstatedir=$ac_optarg ;;
915 -site | --site | --sit)
917 -site=* | --site=* | --sit=*)
920 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
922 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
925 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
926 | --syscon | --sysco | --sysc | --sys | --sy)
927 ac_prev=sysconfdir ;;
928 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
929 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
930 sysconfdir=$ac_optarg ;;
932 -target | --target | --targe | --targ | --tar | --ta | --t)
933 ac_prev=target_alias ;;
934 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
935 target_alias=$ac_optarg ;;
937 -v | -verbose | --verbose | --verbos | --verbo | --verb)
940 -version | --version | --versio | --versi | --vers | -V)
944 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
947 { echo "$as_me: error: invalid package name: $ac_package" >&2
948 { (exit 1); exit 1; }; }
949 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
950 eval with_$ac_package=\$ac_optarg ;;
952 -without-* | --without-*)
953 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
956 { echo "$as_me: error: invalid package name: $ac_package" >&2
957 { (exit 1); exit 1; }; }
958 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
959 eval with_$ac_package=no ;;
962 # Obsolete; use --with-x.
965 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
966 | --x-incl | --x-inc | --x-in | --x-i)
967 ac_prev=x_includes ;;
968 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
969 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
970 x_includes=$ac_optarg ;;
972 -x-libraries | --x-libraries | --x-librarie | --x-librari \
973 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
974 ac_prev=x_libraries ;;
975 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
976 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
977 x_libraries=$ac_optarg ;;
979 -*) { echo "$as_me: error: unrecognized option: $ac_option
980 Try \`$0 --help' for more information." >&2
981 { (exit 1); exit 1; }; }
985 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
986 # Reject names that are not valid shell variable names.
987 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
988 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
989 { (exit 1); exit 1; }; }
990 eval $ac_envvar=\$ac_optarg
994 # FIXME: should be removed in autoconf 3.0.
995 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
996 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
997 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
998 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1004 if test -n "$ac_prev"; then
1005 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1006 { echo "$as_me: error: missing argument to $ac_option" >&2
1007 { (exit 1); exit 1; }; }
1010 # Be sure to have absolute directory names.
1011 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1012 datadir sysconfdir sharedstatedir localstatedir includedir \
1013 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1014 libdir localedir mandir
1016 eval ac_val=\$$ac_var
1018 [\\/$]* | ?:[\\/]* ) continue;;
1019 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1021 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1022 { (exit 1); exit 1; }; }
1025 # There might be people who depend on the old broken behavior: `$host'
1026 # used to hold the argument of --host etc.
1027 # FIXME: To remove some day.
1030 target=$target_alias
1032 # FIXME: To remove some day.
1033 if test "x$host_alias" != x; then
1034 if test "x$build_alias" = x; then
1035 cross_compiling=maybe
1036 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1037 If a cross compiler is detected then cross compile mode will be used." >&2
1038 elif test "x$build_alias" != "x$host_alias"; then
1044 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1046 test "$silent" = yes && exec 6>/dev/null
1049 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1050 ac_ls_di=`ls -di .` &&
1051 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1052 { echo "$as_me: error: Working directory cannot be determined" >&2
1053 { (exit 1); exit 1; }; }
1054 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1055 { echo "$as_me: error: pwd does not report name of working directory" >&2
1056 { (exit 1); exit 1; }; }
1059 # Find the source files, if location was not specified.
1060 if test -z "$srcdir"; then
1061 ac_srcdir_defaulted=yes
1062 # Try the directory containing this script, then the parent directory.
1063 ac_confdir=`$as_dirname -- "$0" ||
1064 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1065 X"$0" : 'X\(//\)[^/]' \| \
1066 X"$0" : 'X\(//\)$' \| \
1067 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1087 if test ! -r "$srcdir/$ac_unique_file"; then
1091 ac_srcdir_defaulted=no
1093 if test ! -r "$srcdir/$ac_unique_file"; then
1094 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1095 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1096 { (exit 1); exit 1; }; }
1098 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1100 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1101 { (exit 1); exit 1; }; }
1103 # When building in place, set srcdir=.
1104 if test "$ac_abs_confdir" = "$ac_pwd"; then
1107 # Remove unnecessary trailing slashes from srcdir.
1108 # Double slashes in file names in object file debugging info
1109 # mess up M-x gdb in Emacs.
1111 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1113 for ac_var in $ac_precious_vars; do
1114 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1115 eval ac_env_${ac_var}_value=\$${ac_var}
1116 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1117 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1121 # Report the --help message.
1123 if test "$ac_init_help" = "long"; then
1124 # Omit some internal or obsolete options to make the list less imposing.
1125 # This message is too long to be a string in the A/UX 3.1 sh.
1127 \`configure' configures this package to adapt to many kinds of systems.
1129 Usage: $0 [OPTION]... [VAR=VALUE]...
1131 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1132 VAR=VALUE. See below for descriptions of some of the useful variables.
1134 Defaults for the options are specified in brackets.
1137 -h, --help display this help and exit
1138 --help=short display options specific to this package
1139 --help=recursive display the short help of all the included packages
1140 -V, --version display version information and exit
1141 -q, --quiet, --silent do not print \`checking...' messages
1142 --cache-file=FILE cache test results in FILE [disabled]
1143 -C, --config-cache alias for \`--cache-file=config.cache'
1144 -n, --no-create do not create output files
1145 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1147 Installation directories:
1148 --prefix=PREFIX install architecture-independent files in PREFIX
1149 [$ac_default_prefix]
1150 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1153 By default, \`make install' will install all the files in
1154 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1155 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1156 for instance \`--prefix=\$HOME'.
1158 For better control, use the options below.
1160 Fine tuning of the installation directories:
1161 --bindir=DIR user executables [EPREFIX/bin]
1162 --sbindir=DIR system admin executables [EPREFIX/sbin]
1163 --libexecdir=DIR program executables [EPREFIX/libexec]
1164 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1165 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1166 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1167 --libdir=DIR object code libraries [EPREFIX/lib]
1168 --includedir=DIR C header files [PREFIX/include]
1169 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1170 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1171 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1172 --infodir=DIR info documentation [DATAROOTDIR/info]
1173 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1174 --mandir=DIR man documentation [DATAROOTDIR/man]
1175 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1176 --htmldir=DIR html documentation [DOCDIR]
1177 --dvidir=DIR dvi documentation [DOCDIR]
1178 --pdfdir=DIR pdf documentation [DOCDIR]
1179 --psdir=DIR ps documentation [DOCDIR]
1186 if test -n "$ac_init_help"; then
1194 if test "$ac_init_help" = "recursive"; then
1195 # If there are subdirs, report their specific --help.
1196 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1197 test -d "$ac_dir" || continue
1201 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1203 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1204 # A ".." for each directory in $ac_dir_suffix.
1205 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1206 case $ac_top_builddir_sub in
1207 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1208 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1211 ac_abs_top_builddir=$ac_pwd
1212 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1213 # for backward compatibility:
1214 ac_top_builddir=$ac_top_build_prefix
1217 .) # We are building in place.
1219 ac_top_srcdir=$ac_top_builddir_sub
1220 ac_abs_top_srcdir=$ac_pwd ;;
1221 [\\/]* | ?:[\\/]* ) # Absolute name.
1222 ac_srcdir=$srcdir$ac_dir_suffix;
1223 ac_top_srcdir=$srcdir
1224 ac_abs_top_srcdir=$srcdir ;;
1226 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1227 ac_top_srcdir=$ac_top_build_prefix$srcdir
1228 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1230 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1232 cd "$ac_dir" || { ac_status=$?; continue; }
1233 # Check for guested configure.
1234 if test -f "$ac_srcdir/configure.gnu"; then
1236 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1237 elif test -f "$ac_srcdir/configure"; then
1239 $SHELL "$ac_srcdir/configure" --help=recursive
1241 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1243 cd "$ac_pwd" || { ac_status=$?; break; }
1247 test -n "$ac_init_help" && exit $ac_status
1248 if $ac_init_version; then
1251 generated by GNU Autoconf 2.61
1253 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1254 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1255 This configure script is free software; the Free Software Foundation
1256 gives unlimited permission to copy, distribute and modify it.
1260 cat >config.log <<_ACEOF
1261 This file contains any messages produced by compilers while
1262 running configure, to aid debugging if configure makes a mistake.
1264 It was created by $as_me, which was
1265 generated by GNU Autoconf 2.61. Invocation command line was
1277 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1278 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1279 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1280 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1281 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1283 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1284 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1286 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1287 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1288 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1289 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1290 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1291 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1292 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1300 test -z "$as_dir" && as_dir=.
1301 echo "PATH: $as_dir"
1317 # Keep a trace of the command line.
1318 # Strip out --no-create and --no-recursion so they do not pile up.
1319 # Strip out --silent because we don't want to record it for future runs.
1320 # Also quote any args containing shell meta-characters.
1321 # Make two passes to allow for proper duplicate-argument suppression.
1325 ac_must_keep_next=false
1331 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1332 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1333 | -silent | --silent | --silen | --sile | --sil)
1336 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1339 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1341 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1342 if test $ac_must_keep_next = true; then
1343 ac_must_keep_next=false # Got value, back to normal.
1346 *=* | --config-cache | -C | -disable-* | --disable-* \
1347 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1348 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1349 | -with-* | --with-* | -without-* | --without-* | --x)
1350 case "$ac_configure_args0 " in
1351 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1354 -* ) ac_must_keep_next=true ;;
1357 ac_configure_args="$ac_configure_args '$ac_arg'"
1362 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1363 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1365 # When interrupted or exit'd, cleanup temporary files, and complete
1366 # config.log. We remove comments because anyway the quotes in there
1367 # would cause problems or look ugly.
1368 # WARNING: Use '\'' to represent an apostrophe within the trap.
1369 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1370 trap 'exit_status=$?
1371 # Save into config.log some information that might help in debugging.
1376 ## ---------------- ##
1377 ## Cache variables. ##
1378 ## ---------------- ##
1381 # The following way of writing the cache mishandles newlines in values,
1383 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1384 eval ac_val=\$$ac_var
1388 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1389 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1392 _ | IFS | as_nl) ;; #(
1393 *) $as_unset $ac_var ;;
1398 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1399 *${as_nl}ac_space=\ *)
1401 "s/'\''/'\''\\\\'\'''\''/g;
1402 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1405 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1413 ## ----------------- ##
1414 ## Output variables. ##
1415 ## ----------------- ##
1418 for ac_var in $ac_subst_vars
1420 eval ac_val=\$$ac_var
1422 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1424 echo "$ac_var='\''$ac_val'\''"
1428 if test -n "$ac_subst_files"; then
1430 ## ------------------- ##
1431 ## File substitutions. ##
1432 ## ------------------- ##
1435 for ac_var in $ac_subst_files
1437 eval ac_val=\$$ac_var
1439 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1441 echo "$ac_var='\''$ac_val'\''"
1446 if test -s confdefs.h; then
1456 test "$ac_signal" != 0 &&
1457 echo "$as_me: caught signal $ac_signal"
1458 echo "$as_me: exit $exit_status"
1460 rm -f core *.core core.conftest.* &&
1461 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1464 for ac_signal in 1 2 13 15; do
1465 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1469 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1470 rm -f -r conftest* confdefs.h
1472 # Predefined preprocessor variables.
1474 cat >>confdefs.h <<_ACEOF
1475 #define PACKAGE_NAME "$PACKAGE_NAME"
1479 cat >>confdefs.h <<_ACEOF
1480 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1484 cat >>confdefs.h <<_ACEOF
1485 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1489 cat >>confdefs.h <<_ACEOF
1490 #define PACKAGE_STRING "$PACKAGE_STRING"
1494 cat >>confdefs.h <<_ACEOF
1495 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1499 # Let the site file select an alternate cache file if it wants to.
1500 # Prefer explicitly selected file to automatically selected ones.
1501 if test -n "$CONFIG_SITE"; then
1502 set x "$CONFIG_SITE"
1503 elif test "x$prefix" != xNONE; then
1504 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1506 set x "$ac_default_prefix/share/config.site" \
1507 "$ac_default_prefix/etc/config.site"
1512 if test -r "$ac_site_file"; then
1513 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1514 echo "$as_me: loading site script $ac_site_file" >&6;}
1515 sed 's/^/| /' "$ac_site_file" >&5
1520 if test -r "$cache_file"; then
1521 # Some versions of bash will fail to source /dev/null (special
1522 # files actually), so we avoid doing that.
1523 if test -f "$cache_file"; then
1524 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1525 echo "$as_me: loading cache $cache_file" >&6;}
1527 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1528 *) . "./$cache_file";;
1532 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1533 echo "$as_me: creating cache $cache_file" >&6;}
1537 # Check that the precious variables saved in the cache have kept the same
1539 ac_cache_corrupted=false
1540 for ac_var in $ac_precious_vars; do
1541 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1542 eval ac_new_set=\$ac_env_${ac_var}_set
1543 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1544 eval ac_new_val=\$ac_env_${ac_var}_value
1545 case $ac_old_set,$ac_new_set in
1547 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1548 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1549 ac_cache_corrupted=: ;;
1551 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1552 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1553 ac_cache_corrupted=: ;;
1556 if test "x$ac_old_val" != "x$ac_new_val"; then
1557 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1558 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1559 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1560 echo "$as_me: former value: $ac_old_val" >&2;}
1561 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1562 echo "$as_me: current value: $ac_new_val" >&2;}
1563 ac_cache_corrupted=:
1566 # Pass precious variables to config.status.
1567 if test "$ac_new_set" = set; then
1569 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1570 *) ac_arg=$ac_var=$ac_new_val ;;
1572 case " $ac_configure_args " in
1573 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1574 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1578 if $ac_cache_corrupted; then
1579 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1580 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1581 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1582 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1583 { (exit 1); exit 1; }; }
1603 ac_cpp='$CPP $CPPFLAGS'
1604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1609 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1610 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1611 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1612 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 cat >conftest.make <<\_ACEOF
1618 @echo '@@@%%%=$(MAKE)=@@@%%%'
1620 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1621 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1623 eval ac_cv_prog_make_${ac_make}_set=yes;;
1625 eval ac_cv_prog_make_${ac_make}_set=no;;
1629 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1630 { echo "$as_me:$LINENO: result: yes" >&5
1631 echo "${ECHO_T}yes" >&6; }
1634 { echo "$as_me:$LINENO: result: no" >&5
1635 echo "${ECHO_T}no" >&6; }
1636 SET_MAKE="MAKE=${MAKE-make}"
1644 subdirs="$subdirs lib src tests doc"
1647 extrasub="$extrasub"'
1665 ac_config_files="$ac_config_files Makefile"
1667 cat >confcache <<\_ACEOF
1668 # This file is a shell script that caches the results of configure
1669 # tests run on this system so they can be shared between configure
1670 # scripts and configure runs, see configure's option --config-cache.
1671 # It is not useful on other systems. If it contains results you don't
1672 # want to keep, you may remove or edit it.
1674 # config.status only pays attention to the cache file if you give it
1675 # the --recheck option to rerun configure.
1677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1683 # The following way of writing the cache mishandles newlines in values,
1684 # but we know of no workaround that is simple, portable, and efficient.
1685 # So, we kill variables containing newlines.
1686 # Ultrix sh set writes to stderr and can't be redirected directly,
1687 # and sets the high bit in the cache file unless we assign to the vars.
1689 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1690 eval ac_val=\$$ac_var
1694 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1695 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1698 _ | IFS | as_nl) ;; #(
1699 *) $as_unset $ac_var ;;
1705 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1706 *${as_nl}ac_space=\ *)
1707 # `set' does not quote correctly, so add quotes (double-quote
1708 # substitution turns \\\\ into \\, and sed turns \\ into \).
1711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1714 # `set' quotes correctly as required by POSIX, so do not add quotes.
1715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1726 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1728 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1729 if test -w "$cache_file"; then
1730 test "x$cache_file" != "x/dev/null" &&
1731 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1732 echo "$as_me: updating cache $cache_file" >&6;}
1733 cat confcache >$cache_file
1735 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1736 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1741 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1742 # Let make expand exec_prefix.
1743 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1745 # Transform confdefs.h into DEFS.
1746 # Protect against shell expansion while executing Makefile rules.
1747 # Protect against Makefile macro expansion.
1749 # If the first sed substitution is executed (which looks for macros that
1750 # take arguments), then branch to the quote section. Otherwise,
1751 # look for a macro that doesn't take arguments.
1755 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1757 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1761 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1774 DEFS=`sed -n "$ac_script" confdefs.h`
1779 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1780 # 1. Remove the extension, and $U if already installed.
1781 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1782 ac_i=`echo "$ac_i" | sed "$ac_script"`
1783 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1784 # will be set to the directory where LIBOBJS objects are built.
1785 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1786 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1790 LTLIBOBJS=$ac_ltlibobjs
1794 : ${CONFIG_STATUS=./config.status}
1795 ac_clean_files_save=$ac_clean_files
1796 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1797 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1798 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1799 cat >$CONFIG_STATUS <<_ACEOF
1801 # Generated by $as_me.
1802 # Run this file to recreate the current configuration.
1803 # Compiler output produced by configure, useful for debugging
1804 # configure, is in config.log if it exists.
1809 SHELL=\${CONFIG_SHELL-$SHELL}
1812 cat >>$CONFIG_STATUS <<\_ACEOF
1813 ## --------------------- ##
1814 ## M4sh Initialization. ##
1815 ## --------------------- ##
1817 # Be more Bourne compatible
1818 DUALCASE=1; export DUALCASE # for MKS sh
1819 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1822 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1823 # is contrary to our usage. Disable this feature.
1824 alias -g '${1+"$@"}'='"$@"'
1825 setopt NO_GLOB_SUBST
1827 case `(set -o) 2>/dev/null` in
1828 *posix*) set -o posix ;;
1837 # Avoid depending upon Character Ranges.
1838 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1839 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1840 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1841 as_cr_digits='0123456789'
1842 as_cr_alnum=$as_cr_Letters$as_cr_digits
1844 # The user is always right.
1845 if test "${PATH_SEPARATOR+set}" != set; then
1846 echo "#! /bin/sh" >conf$$.sh
1847 echo "exit 0" >>conf$$.sh
1849 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1857 # Support unset when possible.
1858 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1866 # We need space, tab and new line, in precisely that order. Quoting is
1867 # there to prevent editors from complaining about space-tab.
1868 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
1869 # splitting by setting IFS to empty value.)
1874 # Find who we are. Look in the path if we contain no directory separator.
1876 *[\\/]* ) as_myself=$0 ;;
1877 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir=.
1882 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1888 # We did not find ourselves, most probably we were run as `sh COMMAND'
1889 # in which case we are not to be found in the path.
1890 if test "x$as_myself" = x; then
1893 if test ! -f "$as_myself"; then
1894 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1895 { (exit 1); exit 1; }
1898 # Work around bugs in pre-3.0 UWIN ksh.
1899 for as_var in ENV MAIL MAILPATH
1900 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1908 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1909 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1910 LC_TELEPHONE LC_TIME
1912 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1913 eval $as_var=C; export $as_var
1915 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1919 # Required to use basename.
1920 if expr a : '\(a\)' >/dev/null 2>&1 &&
1921 test "X`expr 00001 : '.*\(...\)'`" = X001; then
1927 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1928 as_basename=basename
1934 # Name of the executable.
1935 as_me=`$as_basename -- "$0" ||
1936 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1937 X"$0" : 'X\(//\)$' \| \
1938 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1940 sed '/^.*\/\([^/][^/]*\)\/*$/{
1961 test "x$as_lineno_1" != "x$as_lineno_2" &&
1962 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1964 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1965 # uniformly replaced by the line number. The first 'sed' inserts a
1966 # line-number line after each line using $LINENO; the second 'sed'
1967 # does the real work. The second script uses 'N' to pair each
1968 # line-number line with the line containing $LINENO, and appends
1969 # trailing '-' during substitution so that $LINENO is not a special
1971 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1972 # scripts with optimization help from Paolo Bonzini. Blame Lee
1973 # E. McMahon (1931-1989) for sed's syntax. :-)
1985 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1989 chmod +x "$as_me.lineno" ||
1990 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1991 { (exit 1); exit 1; }; }
1993 # Don't try to exec as it changes $[0], causing all sort of problems
1994 # (the dirname of $[0] is not the place where we might find the
1995 # original and so on. Autoconf is especially sensitive to this).
1997 # Exit status is that of the last command.
2002 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2008 ECHO_C= ECHO_N= ECHO_T=
2011 case `echo 'x\c'` in
2012 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2019 if expr a : '\(a\)' >/dev/null 2>&1 &&
2020 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2026 rm -f conf$$ conf$$.exe conf$$.file
2027 if test -d conf$$.dir; then
2028 rm -f conf$$.dir/conf$$.file
2034 if ln -s conf$$.file conf$$ 2>/dev/null; then
2036 # ... but there are two gotchas:
2037 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2038 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2039 # In both cases, we have to default to `cp -p'.
2040 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2042 elif ln conf$$.file conf$$ 2>/dev/null; then
2047 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2048 rmdir conf$$.dir 2>/dev/null
2050 if mkdir -p . 2>/dev/null; then
2053 test -d ./-p && rmdir ./-p
2057 if test -x / >/dev/null 2>&1; then
2060 if ls -dL / >/dev/null 2>&1; then
2067 if test -d "$1"; then
2073 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2074 ???[sx]*):;;*)false;;esac;fi
2078 as_executable_p=$as_test_x
2080 # Sed expression to map a string onto a valid CPP name.
2081 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2083 # Sed expression to map a string onto a valid variable name.
2084 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2089 # Save the log message, to keep $[0] and so on meaningful, and to
2090 # report actual input values of CONFIG_FILES etc. instead of their
2091 # values after options handling.
2093 This file was extended by $as_me, which was
2094 generated by GNU Autoconf 2.61. Invocation command line was
2096 CONFIG_FILES = $CONFIG_FILES
2097 CONFIG_HEADERS = $CONFIG_HEADERS
2098 CONFIG_LINKS = $CONFIG_LINKS
2099 CONFIG_COMMANDS = $CONFIG_COMMANDS
2102 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2107 cat >>$CONFIG_STATUS <<_ACEOF
2108 # Files that config.status was made for.
2109 config_files="$ac_config_files"
2113 cat >>$CONFIG_STATUS <<\_ACEOF
2115 \`$as_me' instantiates files from templates according to the
2116 current configuration.
2118 Usage: $0 [OPTIONS] [FILE]...
2120 -h, --help print this help, then exit
2121 -V, --version print version number and configuration settings, then exit
2122 -q, --quiet do not print progress messages
2123 -d, --debug don't remove temporary files
2124 --recheck update $as_me by reconfiguring in the same conditions
2125 --file=FILE[:TEMPLATE]
2126 instantiate the configuration file FILE
2128 Configuration files:
2131 Report bugs to <bug-autoconf@gnu.org>."
2134 cat >>$CONFIG_STATUS <<_ACEOF
2137 configured by $0, generated by GNU Autoconf 2.61,
2138 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2140 Copyright (C) 2006 Free Software Foundation, Inc.
2141 This config.status script is free software; the Free Software Foundation
2142 gives unlimited permission to copy, distribute and modify it."
2148 cat >>$CONFIG_STATUS <<\_ACEOF
2149 # If no file are specified by the user, then we need to provide default
2150 # value. By we need to know if files were specified by the user.
2156 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2157 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2168 # Handling of the options.
2169 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2171 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2172 echo "$ac_cs_version"; exit ;;
2173 --debug | --debu | --deb | --de | --d | -d )
2175 --file | --fil | --fi | --f )
2177 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2178 ac_need_defaults=false;;
2179 --he | --h | --help | --hel | -h )
2180 echo "$ac_cs_usage"; exit ;;
2181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2182 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2186 -*) { echo "$as_me: error: unrecognized option: $1
2187 Try \`$0 --help' for more information." >&2
2188 { (exit 1); exit 1; }; } ;;
2190 *) ac_config_targets="$ac_config_targets $1"
2191 ac_need_defaults=false ;;
2197 ac_configure_extra_args=
2199 if $ac_cs_silent; then
2201 ac_configure_extra_args="$ac_configure_extra_args --silent"
2205 cat >>$CONFIG_STATUS <<_ACEOF
2206 if \$ac_cs_recheck; then
2207 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2210 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2214 cat >>$CONFIG_STATUS <<\_ACEOF
2218 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2219 ## Running $as_me. ##
2225 cat >>$CONFIG_STATUS <<_ACEOF
2228 cat >>$CONFIG_STATUS <<\_ACEOF
2230 # Handling of arguments.
2231 for ac_config_target in $ac_config_targets
2233 case $ac_config_target in
2234 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2236 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2237 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2238 { (exit 1); exit 1; }; };;
2243 # If the user did not use the arguments to specify the items to instantiate,
2244 # then the envvar interface is used. Set only those that are not.
2245 # We use the long form for the default assignment because of an extremely
2246 # bizarre bug on SunOS 4.1.3.
2247 if $ac_need_defaults; then
2248 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2251 # Have a temporary directory for convenience. Make it in the build tree
2252 # simply because there is no reason against having it here, and in addition,
2253 # creating and moving files from /tmp can sometimes cause problems.
2254 # Hook for its removal unless debugging.
2255 # Note that there is a small window in which the directory will not be cleaned:
2256 # after its creation but before its name has been assigned to `$tmp'.
2260 trap 'exit_status=$?
2261 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2263 trap '{ (exit 1); exit 1; }' 1 2 13 15
2265 # Create a (secure) tmp directory for tmp files.
2268 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2269 test -n "$tmp" && test -d "$tmp"
2272 tmp=./conf$$-$RANDOM
2273 (umask 077 && mkdir "$tmp")
2276 echo "$me: cannot create a temporary directory in ." >&2
2277 { (exit 1); exit 1; }
2281 # Set up the sed scripts for CONFIG_FILES section.
2284 # No need to generate the scripts if there are no CONFIG_FILES.
2285 # This happens for instance when ./config.status config.h
2286 if test -n "$CONFIG_FILES"; then
2293 for ac_last_try in false false false false false :; do
2294 cat >conf$$subs.sed <<_ACEOF
2295 SHELL!$SHELL$ac_delim
2296 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2297 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2298 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2299 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2300 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2301 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2302 exec_prefix!$exec_prefix$ac_delim
2303 prefix!$prefix$ac_delim
2304 program_transform_name!$program_transform_name$ac_delim
2305 bindir!$bindir$ac_delim
2306 sbindir!$sbindir$ac_delim
2307 libexecdir!$libexecdir$ac_delim
2308 datarootdir!$datarootdir$ac_delim
2309 datadir!$datadir$ac_delim
2310 sysconfdir!$sysconfdir$ac_delim
2311 sharedstatedir!$sharedstatedir$ac_delim
2312 localstatedir!$localstatedir$ac_delim
2313 includedir!$includedir$ac_delim
2314 oldincludedir!$oldincludedir$ac_delim
2315 docdir!$docdir$ac_delim
2316 infodir!$infodir$ac_delim
2317 htmldir!$htmldir$ac_delim
2318 dvidir!$dvidir$ac_delim
2319 pdfdir!$pdfdir$ac_delim
2320 psdir!$psdir$ac_delim
2321 libdir!$libdir$ac_delim
2322 localedir!$localedir$ac_delim
2323 mandir!$mandir$ac_delim
2325 ECHO_C!$ECHO_C$ac_delim
2326 ECHO_N!$ECHO_N$ac_delim
2327 ECHO_T!$ECHO_T$ac_delim
2329 build_alias!$build_alias$ac_delim
2330 host_alias!$host_alias$ac_delim
2331 target_alias!$target_alias$ac_delim
2332 SET_MAKE!$SET_MAKE$ac_delim
2333 subdirs!$subdirs$ac_delim
2334 LIBOBJS!$LIBOBJS$ac_delim
2335 LTLIBOBJS!$LTLIBOBJS$ac_delim
2338 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
2340 elif $ac_last_try; then
2341 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2342 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2343 { (exit 1); exit 1; }; }
2345 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2349 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2350 if test -n "$ac_eof"; then
2351 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2352 ac_eof=`expr $ac_eof + 1`
2355 cat >>$CONFIG_STATUS <<_ACEOF
2356 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2357 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2360 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2361 s/^/s,@/; s/!/@,|#_!!_#|/
2364 s/'"$ac_delim"'$/,g/; t
2366 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2367 ' >>$CONFIG_STATUS <conf$$subs.sed
2368 rm -f conf$$subs.sed
2369 cat >>$CONFIG_STATUS <<_ACEOF
2376 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2377 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2378 # trailing colons and then remove the whole line if VPATH becomes empty
2379 # (actually we leave an empty line to preserve line numbers).
2380 if test "x$srcdir" = x.; then
2381 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2385 s/^\([^=]*=[ ]*\):*/\1/
2391 cat >>$CONFIG_STATUS <<\_ACEOF
2392 fi # test -n "$CONFIG_FILES"
2395 for ac_tag in :F $CONFIG_FILES
2398 :[FHLC]) ac_mode=$ac_tag; continue;;
2400 case $ac_mode$ac_tag in
2402 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2403 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2404 { (exit 1); exit 1; }; };;
2405 :[FH]-) ac_tag=-:-;;
2406 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2423 -) ac_f="$tmp/stdin";;
2424 *) # Look for the file first in the build tree, then in the source tree
2425 # (if the path is not absolute). The absolute path cannot be DOS-style,
2426 # because $ac_f cannot contain `:'.
2430 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2432 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2433 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2434 { (exit 1); exit 1; }; };;
2436 ac_file_inputs="$ac_file_inputs $ac_f"
2439 # Let's still pretend it is `configure' which instantiates (i.e., don't
2440 # use $as_me), people would be surprised to read:
2441 # /* config.h. Generated by config.status. */
2442 configure_input="Generated from "`IFS=:
2443 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2444 if test x"$ac_file" != x-; then
2445 configure_input="$ac_file. $configure_input"
2446 { echo "$as_me:$LINENO: creating $ac_file" >&5
2447 echo "$as_me: creating $ac_file" >&6;}
2451 *:-:* | *:-) cat >"$tmp/stdin";;
2456 ac_dir=`$as_dirname -- "$ac_file" ||
2457 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2458 X"$ac_file" : 'X\(//\)[^/]' \| \
2459 X"$ac_file" : 'X\(//\)$' \| \
2460 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2481 -*) as_dir=./$as_dir;;
2483 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2487 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2488 *) as_qdir=$as_dir;;
2490 as_dirs="'$as_qdir' $as_dirs"
2491 as_dir=`$as_dirname -- "$as_dir" ||
2492 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2493 X"$as_dir" : 'X\(//\)[^/]' \| \
2494 X"$as_dir" : 'X\(//\)$' \| \
2495 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2514 test -d "$as_dir" && break
2516 test -z "$as_dirs" || eval "mkdir $as_dirs"
2517 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2518 echo "$as_me: error: cannot create directory $as_dir" >&2;}
2519 { (exit 1); exit 1; }; }; }
2523 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2525 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2526 # A ".." for each directory in $ac_dir_suffix.
2527 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2528 case $ac_top_builddir_sub in
2529 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2530 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2533 ac_abs_top_builddir=$ac_pwd
2534 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2535 # for backward compatibility:
2536 ac_top_builddir=$ac_top_build_prefix
2539 .) # We are building in place.
2541 ac_top_srcdir=$ac_top_builddir_sub
2542 ac_abs_top_srcdir=$ac_pwd ;;
2543 [\\/]* | ?:[\\/]* ) # Absolute name.
2544 ac_srcdir=$srcdir$ac_dir_suffix;
2545 ac_top_srcdir=$srcdir
2546 ac_abs_top_srcdir=$srcdir ;;
2548 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2549 ac_top_srcdir=$ac_top_build_prefix$srcdir
2550 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2552 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2563 cat >>$CONFIG_STATUS <<\_ACEOF
2564 # If the template does not know about datarootdir, expand it.
2565 # FIXME: This hack should be removed a few years after 2.60.
2566 ac_datarootdir_hack=; ac_datarootdir_seen=
2568 case `sed -n '/datarootdir/ {
2577 ' $ac_file_inputs` in
2578 *datarootdir*) ac_datarootdir_seen=yes;;
2579 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2580 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2581 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2583 cat >>$CONFIG_STATUS <<_ACEOF
2584 ac_datarootdir_hack='
2585 s&@datadir@&$datadir&g
2586 s&@docdir@&$docdir&g
2587 s&@infodir@&$infodir&g
2588 s&@localedir@&$localedir&g
2589 s&@mandir@&$mandir&g
2590 s&\\\${datarootdir}&$datarootdir&g' ;;
2594 # Neutralize VPATH when `$srcdir' = `.'.
2595 # Shell code in configure.ac might set extrasub.
2596 # FIXME: do we really want to maintain this feature?
2597 cat >>$CONFIG_STATUS <<_ACEOF
2601 cat >>$CONFIG_STATUS <<\_ACEOF
2603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2604 s&@configure_input@&$configure_input&;t t
2605 s&@top_builddir@&$ac_top_builddir_sub&;t t
2606 s&@srcdir@&$ac_srcdir&;t t
2607 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2608 s&@top_srcdir@&$ac_top_srcdir&;t t
2609 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2610 s&@builddir@&$ac_builddir&;t t
2611 s&@abs_builddir@&$ac_abs_builddir&;t t
2612 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2613 $ac_datarootdir_hack
2614 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2616 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2617 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2618 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2619 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2620 which seems to be undefined. Please make sure it is defined." >&5
2621 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2622 which seems to be undefined. Please make sure it is defined." >&2;}
2626 -) cat "$tmp/out"; rm -f "$tmp/out";;
2627 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2638 { (exit 0); exit 0; }
2640 chmod +x $CONFIG_STATUS
2641 ac_clean_files=$ac_clean_files_save
2644 # configure is writing to config.log, and then calls config.status.
2645 # config.status does its own redirection, appending to config.log.
2646 # Unfortunately, on DOS this fails, as config.log is still kept open
2647 # by configure, so config.status won't be able to write to it; its
2648 # output is simply discarded. So we exec the FD to /dev/null,
2649 # effectively closing config.log, so it can be properly (re)opened and
2650 # appended to by config.status. When coming back to configure, we
2651 # need to make the FD available again.
2652 if test "$no_create" != yes; then
2654 ac_config_status_args=
2655 test "$silent" = yes &&
2656 ac_config_status_args="$ac_config_status_args --quiet"
2658 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2660 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2661 # would make configure fail if this is the last instruction.
2662 $ac_cs_success || { (exit 1); exit 1; }
2666 # CONFIG_SUBDIRS section.
2668 if test "$no_recursion" != yes; then
2670 # Remove --cache-file and --srcdir arguments so they do not pile up.
2671 ac_sub_configure_args=
2673 eval "set x $ac_configure_args"
2677 if test -n "$ac_prev"; then
2682 -cache-file | --cache-file | --cache-fil | --cache-fi \
2683 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2684 ac_prev=cache_file ;;
2685 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2686 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
2689 --config-cache | -C)
2691 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2693 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2695 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2697 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2701 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2703 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
2707 # Always prepend --prefix to ensure using the same prefix
2708 # in subdir configurations.
2709 ac_arg="--prefix=$prefix"
2711 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2713 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
2716 if test "$silent" = yes; then
2717 ac_sub_configure_args="--silent $ac_sub_configure_args"
2721 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
2723 # Do not complain, so a configure script can configure whichever
2724 # parts of a large source tree are present.
2725 test -d "$srcdir/$ac_dir" || continue
2727 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
2728 echo "$as_me:$LINENO: $ac_msg" >&5
2732 -*) as_dir=./$as_dir;;
2734 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2738 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2739 *) as_qdir=$as_dir;;
2741 as_dirs="'$as_qdir' $as_dirs"
2742 as_dir=`$as_dirname -- "$as_dir" ||
2743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2744 X"$as_dir" : 'X\(//\)[^/]' \| \
2745 X"$as_dir" : 'X\(//\)$' \| \
2746 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2765 test -d "$as_dir" && break
2767 test -z "$as_dirs" || eval "mkdir $as_dirs"
2768 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2769 echo "$as_me: error: cannot create directory $as_dir" >&2;}
2770 { (exit 1); exit 1; }; }; }
2774 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2776 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2777 # A ".." for each directory in $ac_dir_suffix.
2778 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2779 case $ac_top_builddir_sub in
2780 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2781 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2784 ac_abs_top_builddir=$ac_pwd
2785 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2786 # for backward compatibility:
2787 ac_top_builddir=$ac_top_build_prefix
2790 .) # We are building in place.
2792 ac_top_srcdir=$ac_top_builddir_sub
2793 ac_abs_top_srcdir=$ac_pwd ;;
2794 [\\/]* | ?:[\\/]* ) # Absolute name.
2795 ac_srcdir=$srcdir$ac_dir_suffix;
2796 ac_top_srcdir=$srcdir
2797 ac_abs_top_srcdir=$srcdir ;;
2799 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2800 ac_top_srcdir=$ac_top_build_prefix$srcdir
2801 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2803 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2808 # Check for guested configure; otherwise get Cygnus style configure.
2809 if test -f "$ac_srcdir/configure.gnu"; then
2810 ac_sub_configure=$ac_srcdir/configure.gnu
2811 elif test -f "$ac_srcdir/configure"; then
2812 ac_sub_configure=$ac_srcdir/configure
2813 elif test -f "$ac_srcdir/configure.in"; then
2814 # This should be Cygnus configure.
2815 ac_sub_configure=$ac_aux_dir/configure
2817 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
2818 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
2822 # The recursion is here.
2823 if test -n "$ac_sub_configure"; then
2824 # Make the cache file name correct relative to the subdirectory.
2826 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
2828 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
2831 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
2832 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
2833 # The eval makes quoting arguments work.
2834 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
2835 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
2836 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
2837 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
2838 { (exit 1); exit 1; }; }