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="gperf.1"
589 program_transform_name
625 ac_precious_vars='build_alias
630 # Initialize some variables set by options.
632 ac_init_version=false
633 # The variables have the same names as the options, with
634 # dashes changed to underlines.
642 program_transform_name=s,x,x,
650 # Installation directory options.
651 # These are left unexpanded so users can "make install exec_prefix=/foo"
652 # and all the variables that are supposed to be based on exec_prefix
653 # by default will actually change.
654 # Use braces instead of parens because sh, perl, etc. also accept them.
655 # (The list follows the same order as the GNU Coding Standards.)
656 bindir='${exec_prefix}/bin'
657 sbindir='${exec_prefix}/sbin'
658 libexecdir='${exec_prefix}/libexec'
659 datarootdir='${prefix}/share'
660 datadir='${datarootdir}'
661 sysconfdir='${prefix}/etc'
662 sharedstatedir='${prefix}/com'
663 localstatedir='${prefix}/var'
664 includedir='${prefix}/include'
665 oldincludedir='/usr/include'
666 docdir='${datarootdir}/doc/${PACKAGE}'
667 infodir='${datarootdir}/info'
672 libdir='${exec_prefix}/lib'
673 localedir='${datarootdir}/locale'
674 mandir='${datarootdir}/man'
680 # If the previous option needs an argument, assign it.
681 if test -n "$ac_prev"; then
682 eval $ac_prev=\$ac_option
688 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
692 # Accept the important Cygnus configure options, so we can diagnose typos.
694 case $ac_dashdash$ac_option in
698 -bindir | --bindir | --bindi | --bind | --bin | --bi)
700 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
703 -build | --build | --buil | --bui | --bu)
704 ac_prev=build_alias ;;
705 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
706 build_alias=$ac_optarg ;;
708 -cache-file | --cache-file | --cache-fil | --cache-fi \
709 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
710 ac_prev=cache_file ;;
711 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
712 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
713 cache_file=$ac_optarg ;;
716 cache_file=config.cache ;;
718 -datadir | --datadir | --datadi | --datad)
720 -datadir=* | --datadir=* | --datadi=* | --datad=*)
721 datadir=$ac_optarg ;;
723 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
724 | --dataroo | --dataro | --datar)
725 ac_prev=datarootdir ;;
726 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
727 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
728 datarootdir=$ac_optarg ;;
730 -disable-* | --disable-*)
731 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
732 # Reject names that are not valid shell variable names.
733 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
734 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
735 { (exit 1); exit 1; }; }
736 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
737 eval enable_$ac_feature=no ;;
739 -docdir | --docdir | --docdi | --doc | --do)
741 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
744 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
746 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
749 -enable-* | --enable-*)
750 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
754 { (exit 1); exit 1; }; }
755 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
756 eval enable_$ac_feature=\$ac_optarg ;;
758 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
759 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
760 | --exec | --exe | --ex)
761 ac_prev=exec_prefix ;;
762 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
763 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
764 | --exec=* | --exe=* | --ex=*)
765 exec_prefix=$ac_optarg ;;
767 -gas | --gas | --ga | --g)
768 # Obsolete; use --with-gas.
771 -help | --help | --hel | --he | -h)
773 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
774 ac_init_help=recursive ;;
775 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
776 ac_init_help=short ;;
778 -host | --host | --hos | --ho)
779 ac_prev=host_alias ;;
780 -host=* | --host=* | --hos=* | --ho=*)
781 host_alias=$ac_optarg ;;
783 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
785 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
787 htmldir=$ac_optarg ;;
789 -includedir | --includedir | --includedi | --included | --include \
790 | --includ | --inclu | --incl | --inc)
791 ac_prev=includedir ;;
792 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
793 | --includ=* | --inclu=* | --incl=* | --inc=*)
794 includedir=$ac_optarg ;;
796 -infodir | --infodir | --infodi | --infod | --info | --inf)
798 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
799 infodir=$ac_optarg ;;
801 -libdir | --libdir | --libdi | --libd)
803 -libdir=* | --libdir=* | --libdi=* | --libd=*)
806 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
807 | --libexe | --libex | --libe)
808 ac_prev=libexecdir ;;
809 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
810 | --libexe=* | --libex=* | --libe=*)
811 libexecdir=$ac_optarg ;;
813 -localedir | --localedir | --localedi | --localed | --locale)
815 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
816 localedir=$ac_optarg ;;
818 -localstatedir | --localstatedir | --localstatedi | --localstated \
819 | --localstate | --localstat | --localsta | --localst | --locals)
820 ac_prev=localstatedir ;;
821 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
822 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
823 localstatedir=$ac_optarg ;;
825 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
827 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
831 # Obsolete; use --without-fp.
834 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
835 | --no-cr | --no-c | -n)
838 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
839 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
842 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
843 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
844 | --oldin | --oldi | --old | --ol | --o)
845 ac_prev=oldincludedir ;;
846 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
847 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
848 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
849 oldincludedir=$ac_optarg ;;
851 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
853 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
856 -program-prefix | --program-prefix | --program-prefi | --program-pref \
857 | --program-pre | --program-pr | --program-p)
858 ac_prev=program_prefix ;;
859 -program-prefix=* | --program-prefix=* | --program-prefi=* \
860 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
861 program_prefix=$ac_optarg ;;
863 -program-suffix | --program-suffix | --program-suffi | --program-suff \
864 | --program-suf | --program-su | --program-s)
865 ac_prev=program_suffix ;;
866 -program-suffix=* | --program-suffix=* | --program-suffi=* \
867 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
868 program_suffix=$ac_optarg ;;
870 -program-transform-name | --program-transform-name \
871 | --program-transform-nam | --program-transform-na \
872 | --program-transform-n | --program-transform- \
873 | --program-transform | --program-transfor \
874 | --program-transfo | --program-transf \
875 | --program-trans | --program-tran \
876 | --progr-tra | --program-tr | --program-t)
877 ac_prev=program_transform_name ;;
878 -program-transform-name=* | --program-transform-name=* \
879 | --program-transform-nam=* | --program-transform-na=* \
880 | --program-transform-n=* | --program-transform-=* \
881 | --program-transform=* | --program-transfor=* \
882 | --program-transfo=* | --program-transf=* \
883 | --program-trans=* | --program-tran=* \
884 | --progr-tra=* | --program-tr=* | --program-t=*)
885 program_transform_name=$ac_optarg ;;
887 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
889 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
892 -psdir | --psdir | --psdi | --psd | --ps)
894 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
897 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
898 | -silent | --silent | --silen | --sile | --sil)
901 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
903 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
905 sbindir=$ac_optarg ;;
907 -sharedstatedir | --sharedstatedir | --sharedstatedi \
908 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
909 | --sharedst | --shareds | --shared | --share | --shar \
911 ac_prev=sharedstatedir ;;
912 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
913 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
914 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
916 sharedstatedir=$ac_optarg ;;
918 -site | --site | --sit)
920 -site=* | --site=* | --sit=*)
923 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
925 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
928 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
929 | --syscon | --sysco | --sysc | --sys | --sy)
930 ac_prev=sysconfdir ;;
931 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
932 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
933 sysconfdir=$ac_optarg ;;
935 -target | --target | --targe | --targ | --tar | --ta | --t)
936 ac_prev=target_alias ;;
937 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
938 target_alias=$ac_optarg ;;
940 -v | -verbose | --verbose | --verbos | --verbo | --verb)
943 -version | --version | --versio | --versi | --vers | -V)
947 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
950 { echo "$as_me: error: invalid package name: $ac_package" >&2
951 { (exit 1); exit 1; }; }
952 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
953 eval with_$ac_package=\$ac_optarg ;;
955 -without-* | --without-*)
956 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
959 { echo "$as_me: error: invalid package name: $ac_package" >&2
960 { (exit 1); exit 1; }; }
961 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
962 eval with_$ac_package=no ;;
965 # Obsolete; use --with-x.
968 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
969 | --x-incl | --x-inc | --x-in | --x-i)
970 ac_prev=x_includes ;;
971 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
972 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
973 x_includes=$ac_optarg ;;
975 -x-libraries | --x-libraries | --x-librarie | --x-librari \
976 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
977 ac_prev=x_libraries ;;
978 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
979 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
980 x_libraries=$ac_optarg ;;
982 -*) { echo "$as_me: error: unrecognized option: $ac_option
983 Try \`$0 --help' for more information." >&2
984 { (exit 1); exit 1; }; }
988 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
991 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
992 { (exit 1); exit 1; }; }
993 eval $ac_envvar=\$ac_optarg
997 # FIXME: should be removed in autoconf 3.0.
998 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
999 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1000 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1001 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1007 if test -n "$ac_prev"; then
1008 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1009 { echo "$as_me: error: missing argument to $ac_option" >&2
1010 { (exit 1); exit 1; }; }
1013 # Be sure to have absolute directory names.
1014 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1015 datadir sysconfdir sharedstatedir localstatedir includedir \
1016 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1017 libdir localedir mandir
1019 eval ac_val=\$$ac_var
1021 [\\/$]* | ?:[\\/]* ) continue;;
1022 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1024 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1025 { (exit 1); exit 1; }; }
1028 # There might be people who depend on the old broken behavior: `$host'
1029 # used to hold the argument of --host etc.
1030 # FIXME: To remove some day.
1033 target=$target_alias
1035 # FIXME: To remove some day.
1036 if test "x$host_alias" != x; then
1037 if test "x$build_alias" = x; then
1038 cross_compiling=maybe
1039 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1040 If a cross compiler is detected then cross compile mode will be used." >&2
1041 elif test "x$build_alias" != "x$host_alias"; then
1047 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1049 test "$silent" = yes && exec 6>/dev/null
1052 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1053 ac_ls_di=`ls -di .` &&
1054 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1055 { echo "$as_me: error: Working directory cannot be determined" >&2
1056 { (exit 1); exit 1; }; }
1057 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1058 { echo "$as_me: error: pwd does not report name of working directory" >&2
1059 { (exit 1); exit 1; }; }
1062 # Find the source files, if location was not specified.
1063 if test -z "$srcdir"; then
1064 ac_srcdir_defaulted=yes
1065 # Try the directory containing this script, then the parent directory.
1066 ac_confdir=`$as_dirname -- "$0" ||
1067 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1068 X"$0" : 'X\(//\)[^/]' \| \
1069 X"$0" : 'X\(//\)$' \| \
1070 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1090 if test ! -r "$srcdir/$ac_unique_file"; then
1094 ac_srcdir_defaulted=no
1096 if test ! -r "$srcdir/$ac_unique_file"; then
1097 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1098 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1099 { (exit 1); exit 1; }; }
1101 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1103 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1104 { (exit 1); exit 1; }; }
1106 # When building in place, set srcdir=.
1107 if test "$ac_abs_confdir" = "$ac_pwd"; then
1110 # Remove unnecessary trailing slashes from srcdir.
1111 # Double slashes in file names in object file debugging info
1112 # mess up M-x gdb in Emacs.
1114 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1116 for ac_var in $ac_precious_vars; do
1117 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1118 eval ac_env_${ac_var}_value=\$${ac_var}
1119 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1120 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1124 # Report the --help message.
1126 if test "$ac_init_help" = "long"; then
1127 # Omit some internal or obsolete options to make the list less imposing.
1128 # This message is too long to be a string in the A/UX 3.1 sh.
1130 \`configure' configures this package to adapt to many kinds of systems.
1132 Usage: $0 [OPTION]... [VAR=VALUE]...
1134 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1135 VAR=VALUE. See below for descriptions of some of the useful variables.
1137 Defaults for the options are specified in brackets.
1140 -h, --help display this help and exit
1141 --help=short display options specific to this package
1142 --help=recursive display the short help of all the included packages
1143 -V, --version display version information and exit
1144 -q, --quiet, --silent do not print \`checking...' messages
1145 --cache-file=FILE cache test results in FILE [disabled]
1146 -C, --config-cache alias for \`--cache-file=config.cache'
1147 -n, --no-create do not create output files
1148 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1150 Installation directories:
1151 --prefix=PREFIX install architecture-independent files in PREFIX
1152 [$ac_default_prefix]
1153 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1156 By default, \`make install' will install all the files in
1157 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1158 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1159 for instance \`--prefix=\$HOME'.
1161 For better control, use the options below.
1163 Fine tuning of the installation directories:
1164 --bindir=DIR user executables [EPREFIX/bin]
1165 --sbindir=DIR system admin executables [EPREFIX/sbin]
1166 --libexecdir=DIR program executables [EPREFIX/libexec]
1167 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1168 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1169 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1170 --libdir=DIR object code libraries [EPREFIX/lib]
1171 --includedir=DIR C header files [PREFIX/include]
1172 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1173 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1174 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1175 --infodir=DIR info documentation [DATAROOTDIR/info]
1176 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1177 --mandir=DIR man documentation [DATAROOTDIR/man]
1178 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1179 --htmldir=DIR html documentation [DOCDIR]
1180 --dvidir=DIR dvi documentation [DOCDIR]
1181 --pdfdir=DIR pdf documentation [DOCDIR]
1182 --psdir=DIR ps documentation [DOCDIR]
1189 if test -n "$ac_init_help"; then
1197 if test "$ac_init_help" = "recursive"; then
1198 # If there are subdirs, report their specific --help.
1199 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1200 test -d "$ac_dir" || continue
1204 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1206 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1207 # A ".." for each directory in $ac_dir_suffix.
1208 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1209 case $ac_top_builddir_sub in
1210 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1211 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1214 ac_abs_top_builddir=$ac_pwd
1215 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1216 # for backward compatibility:
1217 ac_top_builddir=$ac_top_build_prefix
1220 .) # We are building in place.
1222 ac_top_srcdir=$ac_top_builddir_sub
1223 ac_abs_top_srcdir=$ac_pwd ;;
1224 [\\/]* | ?:[\\/]* ) # Absolute name.
1225 ac_srcdir=$srcdir$ac_dir_suffix;
1226 ac_top_srcdir=$srcdir
1227 ac_abs_top_srcdir=$srcdir ;;
1229 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1230 ac_top_srcdir=$ac_top_build_prefix$srcdir
1231 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1233 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1235 cd "$ac_dir" || { ac_status=$?; continue; }
1236 # Check for guested configure.
1237 if test -f "$ac_srcdir/configure.gnu"; then
1239 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1240 elif test -f "$ac_srcdir/configure"; then
1242 $SHELL "$ac_srcdir/configure" --help=recursive
1244 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1246 cd "$ac_pwd" || { ac_status=$?; break; }
1250 test -n "$ac_init_help" && exit $ac_status
1251 if $ac_init_version; then
1254 generated by GNU Autoconf 2.61
1256 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1257 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1258 This configure script is free software; the Free Software Foundation
1259 gives unlimited permission to copy, distribute and modify it.
1263 cat >config.log <<_ACEOF
1264 This file contains any messages produced by compilers while
1265 running configure, to aid debugging if configure makes a mistake.
1267 It was created by $as_me, which was
1268 generated by GNU Autoconf 2.61. Invocation command line was
1280 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1281 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1282 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1283 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1284 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1286 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1287 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1289 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1290 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1291 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1292 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1293 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1294 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1295 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1303 test -z "$as_dir" && as_dir=.
1304 echo "PATH: $as_dir"
1320 # Keep a trace of the command line.
1321 # Strip out --no-create and --no-recursion so they do not pile up.
1322 # Strip out --silent because we don't want to record it for future runs.
1323 # Also quote any args containing shell meta-characters.
1324 # Make two passes to allow for proper duplicate-argument suppression.
1328 ac_must_keep_next=false
1334 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1335 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1336 | -silent | --silent | --silen | --sile | --sil)
1339 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1342 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1344 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1345 if test $ac_must_keep_next = true; then
1346 ac_must_keep_next=false # Got value, back to normal.
1349 *=* | --config-cache | -C | -disable-* | --disable-* \
1350 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1351 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1352 | -with-* | --with-* | -without-* | --without-* | --x)
1353 case "$ac_configure_args0 " in
1354 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1357 -* ) ac_must_keep_next=true ;;
1360 ac_configure_args="$ac_configure_args '$ac_arg'"
1365 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1366 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1368 # When interrupted or exit'd, cleanup temporary files, and complete
1369 # config.log. We remove comments because anyway the quotes in there
1370 # would cause problems or look ugly.
1371 # WARNING: Use '\'' to represent an apostrophe within the trap.
1372 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1373 trap 'exit_status=$?
1374 # Save into config.log some information that might help in debugging.
1379 ## ---------------- ##
1380 ## Cache variables. ##
1381 ## ---------------- ##
1384 # The following way of writing the cache mishandles newlines in values,
1386 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1387 eval ac_val=\$$ac_var
1391 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1392 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1395 _ | IFS | as_nl) ;; #(
1396 *) $as_unset $ac_var ;;
1401 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1402 *${as_nl}ac_space=\ *)
1404 "s/'\''/'\''\\\\'\'''\''/g;
1405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1408 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1416 ## ----------------- ##
1417 ## Output variables. ##
1418 ## ----------------- ##
1421 for ac_var in $ac_subst_vars
1423 eval ac_val=\$$ac_var
1425 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1427 echo "$ac_var='\''$ac_val'\''"
1431 if test -n "$ac_subst_files"; then
1433 ## ------------------- ##
1434 ## File substitutions. ##
1435 ## ------------------- ##
1438 for ac_var in $ac_subst_files
1440 eval ac_val=\$$ac_var
1442 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1444 echo "$ac_var='\''$ac_val'\''"
1449 if test -s confdefs.h; then
1459 test "$ac_signal" != 0 &&
1460 echo "$as_me: caught signal $ac_signal"
1461 echo "$as_me: exit $exit_status"
1463 rm -f core *.core core.conftest.* &&
1464 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1467 for ac_signal in 1 2 13 15; do
1468 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1472 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1473 rm -f -r conftest* confdefs.h
1475 # Predefined preprocessor variables.
1477 cat >>confdefs.h <<_ACEOF
1478 #define PACKAGE_NAME "$PACKAGE_NAME"
1482 cat >>confdefs.h <<_ACEOF
1483 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1487 cat >>confdefs.h <<_ACEOF
1488 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1492 cat >>confdefs.h <<_ACEOF
1493 #define PACKAGE_STRING "$PACKAGE_STRING"
1497 cat >>confdefs.h <<_ACEOF
1498 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1502 # Let the site file select an alternate cache file if it wants to.
1503 # Prefer explicitly selected file to automatically selected ones.
1504 if test -n "$CONFIG_SITE"; then
1505 set x "$CONFIG_SITE"
1506 elif test "x$prefix" != xNONE; then
1507 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1509 set x "$ac_default_prefix/share/config.site" \
1510 "$ac_default_prefix/etc/config.site"
1515 if test -r "$ac_site_file"; then
1516 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1517 echo "$as_me: loading site script $ac_site_file" >&6;}
1518 sed 's/^/| /' "$ac_site_file" >&5
1523 if test -r "$cache_file"; then
1524 # Some versions of bash will fail to source /dev/null (special
1525 # files actually), so we avoid doing that.
1526 if test -f "$cache_file"; then
1527 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1528 echo "$as_me: loading cache $cache_file" >&6;}
1530 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1531 *) . "./$cache_file";;
1535 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1536 echo "$as_me: creating cache $cache_file" >&6;}
1540 # Check that the precious variables saved in the cache have kept the same
1542 ac_cache_corrupted=false
1543 for ac_var in $ac_precious_vars; do
1544 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1545 eval ac_new_set=\$ac_env_${ac_var}_set
1546 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1547 eval ac_new_val=\$ac_env_${ac_var}_value
1548 case $ac_old_set,$ac_new_set in
1550 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1551 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1552 ac_cache_corrupted=: ;;
1554 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1555 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1556 ac_cache_corrupted=: ;;
1559 if test "x$ac_old_val" != "x$ac_new_val"; then
1560 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1561 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1562 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1563 echo "$as_me: former value: $ac_old_val" >&2;}
1564 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1565 echo "$as_me: current value: $ac_new_val" >&2;}
1566 ac_cache_corrupted=:
1569 # Pass precious variables to config.status.
1570 if test "$ac_new_set" = set; then
1572 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1573 *) ac_arg=$ac_var=$ac_new_val ;;
1575 case " $ac_configure_args " in
1576 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1577 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1581 if $ac_cache_corrupted; then
1582 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1583 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1584 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1585 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1586 { (exit 1); exit 1; }; }
1606 ac_cpp='$CPP $CPPFLAGS'
1607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1614 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1615 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1616 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1617 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1618 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 cat >conftest.make <<\_ACEOF
1623 @echo '@@@%%%=$(MAKE)=@@@%%%'
1625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1628 eval ac_cv_prog_make_${ac_make}_set=yes;;
1630 eval ac_cv_prog_make_${ac_make}_set=no;;
1634 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1635 { echo "$as_me:$LINENO: result: yes" >&5
1636 echo "${ECHO_T}yes" >&6; }
1639 { echo "$as_me:$LINENO: result: no" >&5
1640 echo "${ECHO_T}no" >&6; }
1641 SET_MAKE="MAKE=${MAKE-make}"
1644 # Find a good install program. We prefer a C program (faster),
1645 # so one script is as good as another. But avoid the broken or
1646 # incompatible versions:
1647 # SysV /etc/install, /usr/sbin/install
1648 # SunOS /usr/etc/install
1649 # IRIX /sbin/install
1651 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1652 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1653 # ./install, which can be erroneously created by make from ./install.sh.
1654 { echo "$as_me:$LINENO: checking for a BSD compatible install" >&5
1655 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6; }
1656 if test -z "$INSTALL"; then
1657 if test "${cl_cv_path_install+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1661 for ac_dir in $PATH; do
1662 # Account for people who put trailing slashes in PATH elements.
1664 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1666 # OSF1 and SCO ODT 3.0 have their own names for install.
1667 for ac_prog in ginstall installbsd scoinst install; do
1668 if test -f $ac_dir/$ac_prog; then
1669 if test $ac_prog = install &&
1670 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1671 # AIX install. It has an incompatible calling convention.
1672 # OSF/1 installbsd also uses dspmsg, but is usable.
1675 if test $ac_prog = installbsd &&
1676 grep src/bos $ac_dir/$ac_prog >/dev/null 2>&1; then
1677 # AIX installbsd doesn't work without option "-g".
1680 cl_cv_path_install="$ac_dir/$ac_prog -c"
1690 # As a last resort, use cp.
1691 test -z "$cl_cv_path_install" && cl_cv_path_install="cp"
1694 INSTALL="$cl_cv_path_install"
1696 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1697 echo "${ECHO_T}$INSTALL" >&6; }
1698 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1699 # It thinks the first close brace ends the variable substitution.
1700 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='$(INSTALL)'
1701 if test -z "$INSTALL_DATA"; then
1703 cp | */cp ) INSTALL_DATA='$(INSTALL)' ;;
1704 * ) INSTALL_DATA='$(INSTALL) -m 644' ;;
1708 ac_config_files="$ac_config_files Makefile"
1710 cat >confcache <<\_ACEOF
1711 # This file is a shell script that caches the results of configure
1712 # tests run on this system so they can be shared between configure
1713 # scripts and configure runs, see configure's option --config-cache.
1714 # It is not useful on other systems. If it contains results you don't
1715 # want to keep, you may remove or edit it.
1717 # config.status only pays attention to the cache file if you give it
1718 # the --recheck option to rerun configure.
1720 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1721 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1726 # The following way of writing the cache mishandles newlines in values,
1727 # but we know of no workaround that is simple, portable, and efficient.
1728 # So, we kill variables containing newlines.
1729 # Ultrix sh set writes to stderr and can't be redirected directly,
1730 # and sets the high bit in the cache file unless we assign to the vars.
1732 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1733 eval ac_val=\$$ac_var
1737 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1738 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1741 _ | IFS | as_nl) ;; #(
1742 *) $as_unset $ac_var ;;
1748 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1749 *${as_nl}ac_space=\ *)
1750 # `set' does not quote correctly, so add quotes (double-quote
1751 # substitution turns \\\\ into \\, and sed turns \\ into \).
1754 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1757 # `set' quotes correctly as required by POSIX, so do not add quotes.
1758 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1767 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1769 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1771 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1772 if test -w "$cache_file"; then
1773 test "x$cache_file" != "x/dev/null" &&
1774 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1775 echo "$as_me: updating cache $cache_file" >&6;}
1776 cat confcache >$cache_file
1778 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1779 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1784 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1785 # Let make expand exec_prefix.
1786 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1788 # Transform confdefs.h into DEFS.
1789 # Protect against shell expansion while executing Makefile rules.
1790 # Protect against Makefile macro expansion.
1792 # If the first sed substitution is executed (which looks for macros that
1793 # take arguments), then branch to the quote section. Otherwise,
1794 # look for a macro that doesn't take arguments.
1798 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1800 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1804 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1817 DEFS=`sed -n "$ac_script" confdefs.h`
1822 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1823 # 1. Remove the extension, and $U if already installed.
1824 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1825 ac_i=`echo "$ac_i" | sed "$ac_script"`
1826 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1827 # will be set to the directory where LIBOBJS objects are built.
1828 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1829 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1833 LTLIBOBJS=$ac_ltlibobjs
1837 : ${CONFIG_STATUS=./config.status}
1838 ac_clean_files_save=$ac_clean_files
1839 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1840 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1841 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1842 cat >$CONFIG_STATUS <<_ACEOF
1844 # Generated by $as_me.
1845 # Run this file to recreate the current configuration.
1846 # Compiler output produced by configure, useful for debugging
1847 # configure, is in config.log if it exists.
1852 SHELL=\${CONFIG_SHELL-$SHELL}
1855 cat >>$CONFIG_STATUS <<\_ACEOF
1856 ## --------------------- ##
1857 ## M4sh Initialization. ##
1858 ## --------------------- ##
1860 # Be more Bourne compatible
1861 DUALCASE=1; export DUALCASE # for MKS sh
1862 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1865 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1866 # is contrary to our usage. Disable this feature.
1867 alias -g '${1+"$@"}'='"$@"'
1868 setopt NO_GLOB_SUBST
1870 case `(set -o) 2>/dev/null` in
1871 *posix*) set -o posix ;;
1880 # Avoid depending upon Character Ranges.
1881 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1882 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1883 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1884 as_cr_digits='0123456789'
1885 as_cr_alnum=$as_cr_Letters$as_cr_digits
1887 # The user is always right.
1888 if test "${PATH_SEPARATOR+set}" != set; then
1889 echo "#! /bin/sh" >conf$$.sh
1890 echo "exit 0" >>conf$$.sh
1892 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1900 # Support unset when possible.
1901 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1909 # We need space, tab and new line, in precisely that order. Quoting is
1910 # there to prevent editors from complaining about space-tab.
1911 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
1912 # splitting by setting IFS to empty value.)
1917 # Find who we are. Look in the path if we contain no directory separator.
1919 *[\\/]* ) as_myself=$0 ;;
1920 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924 test -z "$as_dir" && as_dir=.
1925 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1931 # We did not find ourselves, most probably we were run as `sh COMMAND'
1932 # in which case we are not to be found in the path.
1933 if test "x$as_myself" = x; then
1936 if test ! -f "$as_myself"; then
1937 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1938 { (exit 1); exit 1; }
1941 # Work around bugs in pre-3.0 UWIN ksh.
1942 for as_var in ENV MAIL MAILPATH
1943 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1951 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1952 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1953 LC_TELEPHONE LC_TIME
1955 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1956 eval $as_var=C; export $as_var
1958 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1962 # Required to use basename.
1963 if expr a : '\(a\)' >/dev/null 2>&1 &&
1964 test "X`expr 00001 : '.*\(...\)'`" = X001; then
1970 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1971 as_basename=basename
1977 # Name of the executable.
1978 as_me=`$as_basename -- "$0" ||
1979 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1980 X"$0" : 'X\(//\)$' \| \
1981 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1983 sed '/^.*\/\([^/][^/]*\)\/*$/{
2004 test "x$as_lineno_1" != "x$as_lineno_2" &&
2005 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2007 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2008 # uniformly replaced by the line number. The first 'sed' inserts a
2009 # line-number line after each line using $LINENO; the second 'sed'
2010 # does the real work. The second script uses 'N' to pair each
2011 # line-number line with the line containing $LINENO, and appends
2012 # trailing '-' during substitution so that $LINENO is not a special
2014 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2015 # scripts with optimization help from Paolo Bonzini. Blame Lee
2016 # E. McMahon (1931-1989) for sed's syntax. :-)
2028 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2032 chmod +x "$as_me.lineno" ||
2033 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2034 { (exit 1); exit 1; }; }
2036 # Don't try to exec as it changes $[0], causing all sort of problems
2037 # (the dirname of $[0] is not the place where we might find the
2038 # original and so on. Autoconf is especially sensitive to this).
2040 # Exit status is that of the last command.
2045 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2051 ECHO_C= ECHO_N= ECHO_T=
2054 case `echo 'x\c'` in
2055 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2062 if expr a : '\(a\)' >/dev/null 2>&1 &&
2063 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2069 rm -f conf$$ conf$$.exe conf$$.file
2070 if test -d conf$$.dir; then
2071 rm -f conf$$.dir/conf$$.file
2077 if ln -s conf$$.file conf$$ 2>/dev/null; then
2079 # ... but there are two gotchas:
2080 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2081 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2082 # In both cases, we have to default to `cp -p'.
2083 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2085 elif ln conf$$.file conf$$ 2>/dev/null; then
2090 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2091 rmdir conf$$.dir 2>/dev/null
2093 if mkdir -p . 2>/dev/null; then
2096 test -d ./-p && rmdir ./-p
2100 if test -x / >/dev/null 2>&1; then
2103 if ls -dL / >/dev/null 2>&1; then
2110 if test -d "$1"; then
2116 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2117 ???[sx]*):;;*)false;;esac;fi
2121 as_executable_p=$as_test_x
2123 # Sed expression to map a string onto a valid CPP name.
2124 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2126 # Sed expression to map a string onto a valid variable name.
2127 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2132 # Save the log message, to keep $[0] and so on meaningful, and to
2133 # report actual input values of CONFIG_FILES etc. instead of their
2134 # values after options handling.
2136 This file was extended by $as_me, which was
2137 generated by GNU Autoconf 2.61. Invocation command line was
2139 CONFIG_FILES = $CONFIG_FILES
2140 CONFIG_HEADERS = $CONFIG_HEADERS
2141 CONFIG_LINKS = $CONFIG_LINKS
2142 CONFIG_COMMANDS = $CONFIG_COMMANDS
2145 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2150 cat >>$CONFIG_STATUS <<_ACEOF
2151 # Files that config.status was made for.
2152 config_files="$ac_config_files"
2156 cat >>$CONFIG_STATUS <<\_ACEOF
2158 \`$as_me' instantiates files from templates according to the
2159 current configuration.
2161 Usage: $0 [OPTIONS] [FILE]...
2163 -h, --help print this help, then exit
2164 -V, --version print version number and configuration settings, then exit
2165 -q, --quiet do not print progress messages
2166 -d, --debug don't remove temporary files
2167 --recheck update $as_me by reconfiguring in the same conditions
2168 --file=FILE[:TEMPLATE]
2169 instantiate the configuration file FILE
2171 Configuration files:
2174 Report bugs to <bug-autoconf@gnu.org>."
2177 cat >>$CONFIG_STATUS <<_ACEOF
2180 configured by $0, generated by GNU Autoconf 2.61,
2181 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2183 Copyright (C) 2006 Free Software Foundation, Inc.
2184 This config.status script is free software; the Free Software Foundation
2185 gives unlimited permission to copy, distribute and modify it."
2191 cat >>$CONFIG_STATUS <<\_ACEOF
2192 # If no file are specified by the user, then we need to provide default
2193 # value. By we need to know if files were specified by the user.
2199 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2200 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2211 # Handling of the options.
2212 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2214 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2215 echo "$ac_cs_version"; exit ;;
2216 --debug | --debu | --deb | --de | --d | -d )
2218 --file | --fil | --fi | --f )
2220 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2221 ac_need_defaults=false;;
2222 --he | --h | --help | --hel | -h )
2223 echo "$ac_cs_usage"; exit ;;
2224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2225 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2229 -*) { echo "$as_me: error: unrecognized option: $1
2230 Try \`$0 --help' for more information." >&2
2231 { (exit 1); exit 1; }; } ;;
2233 *) ac_config_targets="$ac_config_targets $1"
2234 ac_need_defaults=false ;;
2240 ac_configure_extra_args=
2242 if $ac_cs_silent; then
2244 ac_configure_extra_args="$ac_configure_extra_args --silent"
2248 cat >>$CONFIG_STATUS <<_ACEOF
2249 if \$ac_cs_recheck; then
2250 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2253 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2257 cat >>$CONFIG_STATUS <<\_ACEOF
2261 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2262 ## Running $as_me. ##
2268 cat >>$CONFIG_STATUS <<_ACEOF
2271 cat >>$CONFIG_STATUS <<\_ACEOF
2273 # Handling of arguments.
2274 for ac_config_target in $ac_config_targets
2276 case $ac_config_target in
2277 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2279 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2280 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2281 { (exit 1); exit 1; }; };;
2286 # If the user did not use the arguments to specify the items to instantiate,
2287 # then the envvar interface is used. Set only those that are not.
2288 # We use the long form for the default assignment because of an extremely
2289 # bizarre bug on SunOS 4.1.3.
2290 if $ac_need_defaults; then
2291 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2294 # Have a temporary directory for convenience. Make it in the build tree
2295 # simply because there is no reason against having it here, and in addition,
2296 # creating and moving files from /tmp can sometimes cause problems.
2297 # Hook for its removal unless debugging.
2298 # Note that there is a small window in which the directory will not be cleaned:
2299 # after its creation but before its name has been assigned to `$tmp'.
2303 trap 'exit_status=$?
2304 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2306 trap '{ (exit 1); exit 1; }' 1 2 13 15
2308 # Create a (secure) tmp directory for tmp files.
2311 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2312 test -n "$tmp" && test -d "$tmp"
2315 tmp=./conf$$-$RANDOM
2316 (umask 077 && mkdir "$tmp")
2319 echo "$me: cannot create a temporary directory in ." >&2
2320 { (exit 1); exit 1; }
2324 # Set up the sed scripts for CONFIG_FILES section.
2327 # No need to generate the scripts if there are no CONFIG_FILES.
2328 # This happens for instance when ./config.status config.h
2329 if test -n "$CONFIG_FILES"; then
2336 for ac_last_try in false false false false false :; do
2337 cat >conf$$subs.sed <<_ACEOF
2338 SHELL!$SHELL$ac_delim
2339 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2340 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2341 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2342 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2343 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2344 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2345 exec_prefix!$exec_prefix$ac_delim
2346 prefix!$prefix$ac_delim
2347 program_transform_name!$program_transform_name$ac_delim
2348 bindir!$bindir$ac_delim
2349 sbindir!$sbindir$ac_delim
2350 libexecdir!$libexecdir$ac_delim
2351 datarootdir!$datarootdir$ac_delim
2352 datadir!$datadir$ac_delim
2353 sysconfdir!$sysconfdir$ac_delim
2354 sharedstatedir!$sharedstatedir$ac_delim
2355 localstatedir!$localstatedir$ac_delim
2356 includedir!$includedir$ac_delim
2357 oldincludedir!$oldincludedir$ac_delim
2358 docdir!$docdir$ac_delim
2359 infodir!$infodir$ac_delim
2360 htmldir!$htmldir$ac_delim
2361 dvidir!$dvidir$ac_delim
2362 pdfdir!$pdfdir$ac_delim
2363 psdir!$psdir$ac_delim
2364 libdir!$libdir$ac_delim
2365 localedir!$localedir$ac_delim
2366 mandir!$mandir$ac_delim
2368 ECHO_C!$ECHO_C$ac_delim
2369 ECHO_N!$ECHO_N$ac_delim
2370 ECHO_T!$ECHO_T$ac_delim
2372 build_alias!$build_alias$ac_delim
2373 host_alias!$host_alias$ac_delim
2374 target_alias!$target_alias$ac_delim
2375 PACKAGE!$PACKAGE$ac_delim
2376 SET_MAKE!$SET_MAKE$ac_delim
2377 INSTALL!$INSTALL$ac_delim
2378 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2379 INSTALL_DATA!$INSTALL_DATA$ac_delim
2380 LIBOBJS!$LIBOBJS$ac_delim
2381 LTLIBOBJS!$LTLIBOBJS$ac_delim
2384 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
2386 elif $ac_last_try; then
2387 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2388 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2389 { (exit 1); exit 1; }; }
2391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2395 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2396 if test -n "$ac_eof"; then
2397 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2398 ac_eof=`expr $ac_eof + 1`
2401 cat >>$CONFIG_STATUS <<_ACEOF
2402 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2403 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2406 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2407 s/^/s,@/; s/!/@,|#_!!_#|/
2410 s/'"$ac_delim"'$/,g/; t
2412 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2413 ' >>$CONFIG_STATUS <conf$$subs.sed
2414 rm -f conf$$subs.sed
2415 cat >>$CONFIG_STATUS <<_ACEOF
2422 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2423 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2424 # trailing colons and then remove the whole line if VPATH becomes empty
2425 # (actually we leave an empty line to preserve line numbers).
2426 if test "x$srcdir" = x.; then
2427 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2431 s/^\([^=]*=[ ]*\):*/\1/
2437 cat >>$CONFIG_STATUS <<\_ACEOF
2438 fi # test -n "$CONFIG_FILES"
2441 for ac_tag in :F $CONFIG_FILES
2444 :[FHLC]) ac_mode=$ac_tag; continue;;
2446 case $ac_mode$ac_tag in
2448 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2449 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2450 { (exit 1); exit 1; }; };;
2451 :[FH]-) ac_tag=-:-;;
2452 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2469 -) ac_f="$tmp/stdin";;
2470 *) # Look for the file first in the build tree, then in the source tree
2471 # (if the path is not absolute). The absolute path cannot be DOS-style,
2472 # because $ac_f cannot contain `:'.
2476 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2478 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2479 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2480 { (exit 1); exit 1; }; };;
2482 ac_file_inputs="$ac_file_inputs $ac_f"
2485 # Let's still pretend it is `configure' which instantiates (i.e., don't
2486 # use $as_me), people would be surprised to read:
2487 # /* config.h. Generated by config.status. */
2488 configure_input="Generated from "`IFS=:
2489 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2490 if test x"$ac_file" != x-; then
2491 configure_input="$ac_file. $configure_input"
2492 { echo "$as_me:$LINENO: creating $ac_file" >&5
2493 echo "$as_me: creating $ac_file" >&6;}
2497 *:-:* | *:-) cat >"$tmp/stdin";;
2502 ac_dir=`$as_dirname -- "$ac_file" ||
2503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2504 X"$ac_file" : 'X\(//\)[^/]' \| \
2505 X"$ac_file" : 'X\(//\)$' \| \
2506 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2527 -*) as_dir=./$as_dir;;
2529 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2533 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2534 *) as_qdir=$as_dir;;
2536 as_dirs="'$as_qdir' $as_dirs"
2537 as_dir=`$as_dirname -- "$as_dir" ||
2538 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2539 X"$as_dir" : 'X\(//\)[^/]' \| \
2540 X"$as_dir" : 'X\(//\)$' \| \
2541 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2560 test -d "$as_dir" && break
2562 test -z "$as_dirs" || eval "mkdir $as_dirs"
2563 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2564 echo "$as_me: error: cannot create directory $as_dir" >&2;}
2565 { (exit 1); exit 1; }; }; }
2569 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2571 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2572 # A ".." for each directory in $ac_dir_suffix.
2573 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2574 case $ac_top_builddir_sub in
2575 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2576 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2579 ac_abs_top_builddir=$ac_pwd
2580 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2581 # for backward compatibility:
2582 ac_top_builddir=$ac_top_build_prefix
2585 .) # We are building in place.
2587 ac_top_srcdir=$ac_top_builddir_sub
2588 ac_abs_top_srcdir=$ac_pwd ;;
2589 [\\/]* | ?:[\\/]* ) # Absolute name.
2590 ac_srcdir=$srcdir$ac_dir_suffix;
2591 ac_top_srcdir=$srcdir
2592 ac_abs_top_srcdir=$srcdir ;;
2594 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2595 ac_top_srcdir=$ac_top_build_prefix$srcdir
2596 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2598 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2609 cat >>$CONFIG_STATUS <<\_ACEOF
2610 # If the template does not know about datarootdir, expand it.
2611 # FIXME: This hack should be removed a few years after 2.60.
2612 ac_datarootdir_hack=; ac_datarootdir_seen=
2614 case `sed -n '/datarootdir/ {
2623 ' $ac_file_inputs` in
2624 *datarootdir*) ac_datarootdir_seen=yes;;
2625 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2626 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2627 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2629 cat >>$CONFIG_STATUS <<_ACEOF
2630 ac_datarootdir_hack='
2631 s&@datadir@&$datadir&g
2632 s&@docdir@&$docdir&g
2633 s&@infodir@&$infodir&g
2634 s&@localedir@&$localedir&g
2635 s&@mandir@&$mandir&g
2636 s&\\\${datarootdir}&$datarootdir&g' ;;
2640 # Neutralize VPATH when `$srcdir' = `.'.
2641 # Shell code in configure.ac might set extrasub.
2642 # FIXME: do we really want to maintain this feature?
2643 cat >>$CONFIG_STATUS <<_ACEOF
2647 cat >>$CONFIG_STATUS <<\_ACEOF
2649 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2650 s&@configure_input@&$configure_input&;t t
2651 s&@top_builddir@&$ac_top_builddir_sub&;t t
2652 s&@srcdir@&$ac_srcdir&;t t
2653 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2654 s&@top_srcdir@&$ac_top_srcdir&;t t
2655 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2656 s&@builddir@&$ac_builddir&;t t
2657 s&@abs_builddir@&$ac_abs_builddir&;t t
2658 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2659 $ac_datarootdir_hack
2660 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2662 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2663 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2664 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2665 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2666 which seems to be undefined. Please make sure it is defined." >&5
2667 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2668 which seems to be undefined. Please make sure it is defined." >&2;}
2672 -) cat "$tmp/out"; rm -f "$tmp/out";;
2673 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2684 { (exit 0); exit 0; }
2686 chmod +x $CONFIG_STATUS
2687 ac_clean_files=$ac_clean_files_save
2690 # configure is writing to config.log, and then calls config.status.
2691 # config.status does its own redirection, appending to config.log.
2692 # Unfortunately, on DOS this fails, as config.log is still kept open
2693 # by configure, so config.status won't be able to write to it; its
2694 # output is simply discarded. So we exec the FD to /dev/null,
2695 # effectively closing config.log, so it can be properly (re)opened and
2696 # appended to by config.status. When coming back to configure, we
2697 # need to make the FD available again.
2698 if test "$no_create" != yes; then
2700 ac_config_status_args=
2701 test "$silent" = yes &&
2702 ac_config_status_args="$ac_config_status_args --quiet"
2704 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2706 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2707 # would make configure fail if this is the last instruction.
2708 $ac_cs_success || { (exit 1); exit 1; }