2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61b for GNU Autoconf 2.61b.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 echo "#! /bin/sh" >conf$$.sh
77 echo "exit 0" >>conf$$.sh
79 if (PATH="/nonexistent;."; FPATH=$PATH; conf$$.sh) >/dev/null 2>&1; then
87 # Support unset when possible.
88 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
96 # We need space, tab and new line, in precisely that order. Quoting is
97 # there to prevent editors from complaining about space-tab.
98 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
99 # splitting by setting IFS to empty value.)
102 # Find who we are. Look in the path if we contain no directory separator.
104 *[\\/]* ) as_myself=$0 ;;
105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 test -z "$as_dir" && as_dir=.
110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x
; then
121 if test ! -f "$as_myself"; then
122 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
123 { (exit 1); exit 1; }
126 # Work around bugs in pre-3.0 UWIN ksh.
127 for as_var
in ENV MAIL MAILPATH
128 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
137 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
140 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
141 eval $as_var=C
; export $as_var
143 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
147 # Required to use basename.
148 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
149 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
155 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
162 # Name of the executable.
163 as_me
=`$as_basename -- "$0" ||
164 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
165 X"$0" : 'X\(//\)$' \| \
166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
168 sed '/^.*\/\([^/][^/]*\)\/*$/{
186 if test "x$CONFIG_SHELL" = x
; then
187 if (eval ":") 2>/dev
/null
; then
193 if test $as_have_required = yes && (eval ":
203 as_func_ret_success () {
206 as_func_ret_failure () {
211 if as_func_success; then
215 echo as_func_success failed.
218 if as_func_failure; then
220 echo as_func_failure succeeded.
223 if as_func_ret_success; then
227 echo as_func_ret_success failed.
230 if as_func_ret_failure; then
232 echo as_func_ret_failure succeeded.
235 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
239 echo positional parameters were not saved.
242 test \$exitcode = 0) || { (exit 1); exit 1; }
247 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
248 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
249 ") 2> /dev
/null
; then
253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
254 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
257 test -z "$as_dir" && as_dir
=.
260 for as_base
in sh bash ksh sh5
; do
261 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
268 for as_shell
in $as_candidate_shells $SHELL; do
269 # Try only shells that exist, to save several forks.
270 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
271 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
272 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
275 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
276 # is contrary to our usage. Disable this feature.
277 alias -g '${1+"$@"}'='"$@"'
280 case `(set -o) 2>/dev/null` in
281 *posix
*) set -o posix
;;
290 CONFIG_SHELL
=$as_shell
292 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
293 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
296 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
297 # is contrary to our usage. Disable this feature.
298 alias -g '${1+"$@"}'='"$@"'
301 case `(set -o) 2>/dev/null` in
302 *posix
*) set -o posix
;;
318 as_func_ret_success
() {
321 as_func_ret_failure
() {
326 if as_func_success
; then
330 echo as_func_success failed.
333 if as_func_failure
; then
335 echo as_func_failure succeeded.
338 if as_func_ret_success
; then
342 echo as_func_ret_success failed.
345 if as_func_ret_failure
; then
347 echo as_func_ret_failure succeeded.
350 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
354 echo positional parameters were not saved.
357 test $exitcode = 0) ||
{ (exit 1); exit 1; }
362 test "x$as_lineno_1" != "x$as_lineno_2" &&
363 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
374 if test "x$CONFIG_SHELL" != x
; then
375 for as_var
in BASH_ENV ENV
376 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
379 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
383 if test $as_have_required = no
; then
384 echo This
script requires a shell
more modern than all the
385 echo shells that I found on your system. Please
install a
386 echo modern shell
, or manually run the
script under such a
387 echo shell
if you
do have one.
388 { (exit 1); exit 1; }
398 (eval "as_func_return () {
407 as_func_ret_success () {
410 as_func_ret_failure () {
415 if as_func_success; then
419 echo as_func_success failed.
422 if as_func_failure; then
424 echo as_func_failure succeeded.
427 if as_func_ret_success; then
431 echo as_func_ret_success failed.
434 if as_func_ret_failure; then
436 echo as_func_ret_failure succeeded.
439 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
443 echo positional parameters were not saved.
446 test \$exitcode = 0") ||
{
447 echo No shell found that supports shell functions.
448 echo Please tell bug-autoconf@gnu.org about your system
,
449 echo including any error possibly output before this message.
450 echo This can
help us improve future autoconf versions.
451 echo Configuration will now proceed without shell functions.
458 test "x$as_lineno_1" != "x$as_lineno_2" &&
459 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
461 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
462 # uniformly replaced by the line number. The first 'sed' inserts a
463 # line-number line after each line using $LINENO; the second 'sed'
464 # does the real work. The second script uses 'N' to pair each
465 # line-number line with the line containing $LINENO, and appends
466 # trailing '-' during substitution so that $LINENO is not a special
468 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
469 # scripts with optimization help from Paolo Bonzini. Blame Lee
470 # E. McMahon (1931-1989) for sed's syntax. :-)
482 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486 chmod +x
"$as_me.lineno" ||
487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
488 { (exit 1); exit 1; }; }
490 # Don't try to exec as it changes $[0], causing all sort of problems
491 # (the dirname of $[0] is not the place where we might find the
492 # original and so on. Autoconf is especially sensitive to this).
494 # Exit status is that of the last command.
499 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
505 ECHO_C
= ECHO_N
= ECHO_T
=
509 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
515 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
516 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
522 rm -f conf$$ conf$$.exe conf$$.
file
523 if test -d conf$$.dir
; then
524 rm -f conf$$.dir
/conf$$.
file
530 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
532 # ... but there are two gotchas:
533 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
534 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
535 # In both cases, we have to default to `cp -p'.
536 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
538 elif ln conf$$.
file conf$$
2>/dev
/null
; then
543 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
544 rmdir conf$$.dir
2>/dev
/null
546 if mkdir
-p .
2>/dev
/null
; then
549 test -d .
/-p && rmdir .
/-p
553 if test -x / >/dev
/null
2>&1; then
556 if ls -dL / >/dev
/null
2>&1; then
563 if test -d "$1"; then
569 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
570 ???[sx]*):;;*)false;;esac;fi
574 as_executable_p
=$as_test_x
576 # Sed expression to map a string onto a valid CPP name.
577 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
579 # Sed expression to map a string onto a valid variable name.
580 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
584 exec 7<&0 </dev
/null
6>&1
587 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
588 # so uname gets run too.
589 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
594 ac_default_prefix
=/usr
/local
596 ac_config_libobj_dir
=.
602 SHELL
=${CONFIG_SHELL-/bin/sh}
604 # Identity of this package.
605 PACKAGE_NAME
='GNU Autoconf'
606 PACKAGE_TARNAME
='autoconf'
607 PACKAGE_VERSION
='2.61b'
608 PACKAGE_STRING
='GNU Autoconf 2.61b'
609 PACKAGE_BUGREPORT
='bug-autoconf@gnu.org'
611 ac_unique_file
="ChangeLog"
621 program_transform_name
663 INSTALL_STRIP_PROGRAM
689 enable_option_checking
692 ac_precious_vars
='build_alias
699 # Initialize some variables set by options.
701 ac_init_version
=false
702 ac_unrecognized_opts
=
704 # The variables have the same names as the options, with
705 # dashes changed to underlines.
713 program_transform_name
=s
,x
,x
,
721 # Installation directory options.
722 # These are left unexpanded so users can "make install exec_prefix=/foo"
723 # and all the variables that are supposed to be based on exec_prefix
724 # by default will actually change.
725 # Use braces instead of parens because sh, perl, etc. also accept them.
726 # (The list follows the same order as the GNU Coding Standards.)
727 bindir
='${exec_prefix}/bin'
728 sbindir
='${exec_prefix}/sbin'
729 libexecdir
='${exec_prefix}/libexec'
730 datarootdir
='${prefix}/share'
731 datadir
='${datarootdir}'
732 sysconfdir
='${prefix}/etc'
733 sharedstatedir
='${prefix}/com'
734 localstatedir
='${prefix}/var'
735 includedir
='${prefix}/include'
736 oldincludedir
='/usr/include'
737 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
738 infodir
='${datarootdir}/info'
743 libdir
='${exec_prefix}/lib'
744 localedir
='${datarootdir}/locale'
745 mandir
='${datarootdir}/man'
751 # If the previous option needs an argument, assign it.
752 if test -n "$ac_prev"; then
753 eval $ac_prev=\
$ac_option
759 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
763 # Accept the important Cygnus configure options, so we can diagnose typos.
765 case $ac_dashdash$ac_option in
769 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
771 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
774 -build |
--build |
--buil |
--bui |
--bu)
775 ac_prev
=build_alias
;;
776 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
777 build_alias
=$ac_optarg ;;
779 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
780 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
781 ac_prev
=cache_file
;;
782 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
783 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
784 cache_file
=$ac_optarg ;;
787 cache_file
=config.cache
;;
789 -datadir |
--datadir |
--datadi |
--datad)
791 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
792 datadir
=$ac_optarg ;;
794 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
795 |
--dataroo |
--dataro |
--datar)
796 ac_prev
=datarootdir
;;
797 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
798 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
799 datarootdir
=$ac_optarg ;;
801 -disable-* |
--disable-*)
802 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
803 # Reject names that are not valid shell variable names.
804 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
805 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
806 { (exit 1); exit 1; }; }
807 ac_useropt_orig
=$ac_useropt
808 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
809 case $ac_user_opts in
813 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
814 ac_unrecognized_sep
=', ';;
816 eval enable_
$ac_useropt=no
;;
818 -docdir |
--docdir |
--docdi |
--doc |
--do)
820 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
823 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
825 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
828 -enable-* |
--enable-*)
829 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
832 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
833 { (exit 1); exit 1; }; }
834 ac_useropt_orig
=$ac_useropt
835 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
836 case $ac_user_opts in
840 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
841 ac_unrecognized_sep
=', ';;
843 eval enable_
$ac_useropt=\
$ac_optarg ;;
845 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
846 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
847 |
--exec |
--exe |
--ex)
848 ac_prev
=exec_prefix
;;
849 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
850 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
851 |
--exec=* |
--exe=* |
--ex=*)
852 exec_prefix
=$ac_optarg ;;
854 -gas |
--gas |
--ga |
--g)
855 # Obsolete; use --with-gas.
858 -help |
--help |
--hel |
--he |
-h)
860 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
861 ac_init_help
=recursive
;;
862 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
863 ac_init_help
=short
;;
865 -host |
--host |
--hos |
--ho)
866 ac_prev
=host_alias
;;
867 -host=* |
--host=* |
--hos=* |
--ho=*)
868 host_alias
=$ac_optarg ;;
870 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
872 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
874 htmldir
=$ac_optarg ;;
876 -includedir |
--includedir |
--includedi |
--included |
--include \
877 |
--includ |
--inclu |
--incl |
--inc)
878 ac_prev
=includedir
;;
879 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
880 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
881 includedir
=$ac_optarg ;;
883 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
885 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
886 infodir
=$ac_optarg ;;
888 -libdir |
--libdir |
--libdi |
--libd)
890 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
893 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
894 |
--libexe |
--libex |
--libe)
895 ac_prev
=libexecdir
;;
896 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
897 |
--libexe=* |
--libex=* |
--libe=*)
898 libexecdir
=$ac_optarg ;;
900 -localedir |
--localedir |
--localedi |
--localed |
--locale)
902 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
903 localedir
=$ac_optarg ;;
905 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
906 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
907 ac_prev
=localstatedir
;;
908 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
909 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
910 localstatedir
=$ac_optarg ;;
912 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
914 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
918 # Obsolete; use --without-fp.
921 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
922 |
--no-cr |
--no-c |
-n)
925 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
926 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
929 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
930 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
931 |
--oldin |
--oldi |
--old |
--ol |
--o)
932 ac_prev
=oldincludedir
;;
933 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
934 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
935 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
936 oldincludedir
=$ac_optarg ;;
938 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
940 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
943 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
944 |
--program-pre |
--program-pr |
--program-p)
945 ac_prev
=program_prefix
;;
946 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
947 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
948 program_prefix
=$ac_optarg ;;
950 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
951 |
--program-suf |
--program-su |
--program-s)
952 ac_prev
=program_suffix
;;
953 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
954 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
955 program_suffix
=$ac_optarg ;;
957 -program-transform-name |
--program-transform-name \
958 |
--program-transform-nam |
--program-transform-na \
959 |
--program-transform-n |
--program-transform- \
960 |
--program-transform |
--program-transfor \
961 |
--program-transfo |
--program-transf \
962 |
--program-trans |
--program-tran \
963 |
--progr-tra |
--program-tr |
--program-t)
964 ac_prev
=program_transform_name
;;
965 -program-transform-name=* |
--program-transform-name=* \
966 |
--program-transform-nam=* |
--program-transform-na=* \
967 |
--program-transform-n=* |
--program-transform-=* \
968 |
--program-transform=* |
--program-transfor=* \
969 |
--program-transfo=* |
--program-transf=* \
970 |
--program-trans=* |
--program-tran=* \
971 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
972 program_transform_name
=$ac_optarg ;;
974 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
976 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
979 -psdir |
--psdir |
--psdi |
--psd |
--ps)
981 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
984 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
985 |
-silent |
--silent |
--silen |
--sile |
--sil)
988 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
990 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
992 sbindir
=$ac_optarg ;;
994 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
995 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
996 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
998 ac_prev
=sharedstatedir
;;
999 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1000 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1001 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1003 sharedstatedir
=$ac_optarg ;;
1005 -site |
--site |
--sit)
1007 -site=* |
--site=* |
--sit=*)
1010 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1012 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1013 srcdir
=$ac_optarg ;;
1015 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1016 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1017 ac_prev
=sysconfdir
;;
1018 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1019 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1020 sysconfdir
=$ac_optarg ;;
1022 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1023 ac_prev
=target_alias
;;
1024 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1025 target_alias
=$ac_optarg ;;
1027 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1030 -version |
--version |
--versio |
--versi |
--vers |
-V)
1031 ac_init_version
=: ;;
1034 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1037 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1038 { (exit 1); exit 1; }; }
1039 ac_useropt_orig
=$ac_useropt
1040 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1041 case $ac_user_opts in
1045 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046 ac_unrecognized_sep
=', ';;
1048 eval with_
$ac_useropt=\
$ac_optarg ;;
1050 -without-* |
--without-*)
1051 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1054 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1055 { (exit 1); exit 1; }; }
1056 ac_useropt_orig
=$ac_useropt
1057 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1058 case $ac_user_opts in
1062 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1063 ac_unrecognized_sep
=', ';;
1065 eval with_
$ac_useropt=no
;;
1068 # Obsolete; use --with-x.
1071 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1072 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1073 ac_prev
=x_includes
;;
1074 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1075 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1076 x_includes
=$ac_optarg ;;
1078 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1079 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1080 ac_prev
=x_libraries
;;
1081 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1082 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1083 x_libraries
=$ac_optarg ;;
1085 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
1091 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1094 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1095 { (exit 1); exit 1; }; }
1096 eval $ac_envvar=\
$ac_optarg
1097 export $ac_envvar ;;
1100 # FIXME: should be removed in autoconf 3.0.
1101 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1103 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1110 if test -n "$ac_prev"; then
1111 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1112 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1113 { (exit 1); exit 1; }; }
1116 if test -n "$ac_unrecognized_opts"; then
1117 case $enable_option_checking in
1119 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1120 { (exit 1); exit 1; }; } ;;
1121 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125 # Be sure to have absolute directory names.
1126 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1127 datadir sysconfdir sharedstatedir localstatedir includedir \
1128 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1129 libdir localedir mandir
1131 eval ac_val
=\$
$ac_var
1133 [\\/$
]* | ?
:[\\/]* ) continue;;
1134 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1136 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1137 { (exit 1); exit 1; }; }
1140 # There might be people who depend on the old broken behavior: `$host'
1141 # used to hold the argument of --host etc.
1142 # FIXME: To remove some day.
1145 target
=$target_alias
1147 # FIXME: To remove some day.
1148 if test "x$host_alias" != x
; then
1149 if test "x$build_alias" = x
; then
1150 cross_compiling
=maybe
1151 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1152 If a cross compiler is detected then cross compile mode will be used." >&2
1153 elif test "x$build_alias" != "x$host_alias"; then
1159 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1161 test "$silent" = yes && exec 6>/dev
/null
1164 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1165 ac_ls_di
=`ls -di .` &&
1166 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1167 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1168 { (exit 1); exit 1; }; }
1169 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1171 { (exit 1); exit 1; }; }
1174 # Find the source files, if location was not specified.
1175 if test -z "$srcdir"; then
1176 ac_srcdir_defaulted
=yes
1177 # Try the directory containing this script, then the parent directory.
1178 ac_confdir
=`$as_dirname -- "$0" ||
1179 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1180 X"$0" : 'X\(//\)[^/]' \| \
1181 X"$0" : 'X\(//\)$' \| \
1182 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1206 ac_srcdir_defaulted
=no
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1209 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1210 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1211 { (exit 1); exit 1; }; }
1213 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1215 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1216 { (exit 1); exit 1; }; }
1218 # When building in place, set srcdir=.
1219 if test "$ac_abs_confdir" = "$ac_pwd"; then
1222 # Remove unnecessary trailing slashes from srcdir.
1223 # Double slashes in file names in object file debugging info
1224 # mess up M-x gdb in Emacs.
1226 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1228 for ac_var
in $ac_precious_vars; do
1229 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1230 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1231 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1232 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1236 # Report the --help message.
1238 if test "$ac_init_help" = "long"; then
1239 # Omit some internal or obsolete options to make the list less imposing.
1240 # This message is too long to be a string in the A/UX 3.1 sh.
1242 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1244 Usage: $0 [OPTION]... [VAR=VALUE]...
1246 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1247 VAR=VALUE. See below for descriptions of some of the useful variables.
1249 Defaults for the options are specified in brackets.
1252 -h, --help display this help and exit
1253 --help=short display options specific to this package
1254 --help=recursive display the short help of all the included packages
1255 -V, --version display version information and exit
1256 -q, --quiet, --silent do not print \`checking...' messages
1257 --cache-file=FILE cache test results in FILE [disabled]
1258 -C, --config-cache alias for \`--cache-file=config.cache'
1259 -n, --no-create do not create output files
1260 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1262 Installation directories:
1263 --prefix=PREFIX install architecture-independent files in PREFIX
1264 [$ac_default_prefix]
1265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1268 By default, \`make install' will install all the files in
1269 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1270 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1271 for instance \`--prefix=\$HOME'.
1273 For better control, use the options below.
1275 Fine tuning of the installation directories:
1276 --bindir=DIR user executables [EPREFIX/bin]
1277 --sbindir=DIR system admin executables [EPREFIX/sbin]
1278 --libexecdir=DIR program executables [EPREFIX/libexec]
1279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1281 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1282 --libdir=DIR object code libraries [EPREFIX/lib]
1283 --includedir=DIR C header files [PREFIX/include]
1284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1287 --infodir=DIR info documentation [DATAROOTDIR/info]
1288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1289 --mandir=DIR man documentation [DATAROOTDIR/man]
1290 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1291 --htmldir=DIR html documentation [DOCDIR]
1292 --dvidir=DIR dvi documentation [DOCDIR]
1293 --pdfdir=DIR pdf documentation [DOCDIR]
1294 --psdir=DIR ps documentation [DOCDIR]
1300 --program-prefix=PREFIX prepend PREFIX to installed program names
1301 --program-suffix=SUFFIX append SUFFIX to installed program names
1302 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1306 if test -n "$ac_init_help"; then
1307 case $ac_init_help in
1308 short | recursive
) echo "Configuration of GNU Autoconf 2.61b:";;
1313 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1314 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1315 --with-lispdir override the default lisp directory
1317 Some influential environment variables
:
1318 EMACS the Emacs editor
command
1320 the Emacs library search path
1322 Use these variables to override the choices made by
`configure' or to help
1323 it to find libraries and programs with nonstandard names/locations.
1325 Report bugs to <bug-autoconf@gnu.org>.
1330 if test "$ac_init_help" = "recursive"; then
1331 # If there are subdirs, report their specific --help.
1332 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1333 test -d "$ac_dir" || continue
1337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1340 # A ".." for each directory in $ac_dir_suffix.
1341 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1342 case $ac_top_builddir_sub in
1343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1347 ac_abs_top_builddir=$ac_pwd
1348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1349 # for backward compatibility:
1350 ac_top_builddir=$ac_top_build_prefix
1353 .) # We are building in place.
1355 ac_top_srcdir=$ac_top_builddir_sub
1356 ac_abs_top_srcdir=$ac_pwd ;;
1357 [\\/]* | ?:[\\/]* ) # Absolute name.
1358 ac_srcdir=$srcdir$ac_dir_suffix;
1359 ac_top_srcdir=$srcdir
1360 ac_abs_top_srcdir=$srcdir ;;
1362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1363 ac_top_srcdir=$ac_top_build_prefix$srcdir
1364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1368 cd "$ac_dir" || { ac_status=$?; continue; }
1369 # Check for guested configure.
1370 if test -f "$ac_srcdir/configure.gnu"; then
1372 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1373 elif test -f "$ac_srcdir/configure"; then
1375 $SHELL "$ac_srcdir/configure" --help=recursive
1377 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1379 cd "$ac_pwd" || { ac_status=$?; break; }
1383 test -n "$ac_init_help" && exit $ac_status
1384 if $ac_init_version; then
1386 GNU Autoconf configure 2.61b
1387 generated by GNU Autoconf 2.61b
1389 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1390 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
1391 This configure script is free software; the Free Software Foundation
1392 gives unlimited permission to copy, distribute and modify it.
1396 cat >config.log <<_ACEOF
1397 This file contains any messages produced by compilers while
1398 running configure, to aid debugging if configure makes a mistake.
1400 It was created by GNU Autoconf $as_me 2.61b, which was
1401 generated by GNU Autoconf 2.61b. Invocation command line was
1413 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1414 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1415 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1416 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1417 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1419 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1420 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1422 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1423 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1424 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1425 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1426 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1427 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1428 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436 test -z "$as_dir" && as_dir=.
1437 $as_echo "PATH: $as_dir"
1453 # Keep a trace of the command line.
1454 # Strip out --no-create and --no-recursion so they do not pile up.
1455 # Strip out --silent because we don't want to record it for future runs.
1456 # Also quote any args containing shell meta-characters.
1457 # Make two passes to allow for proper duplicate-argument suppression.
1461 ac_must_keep_next=false
1467 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1468 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1469 | -silent | --silent | --silen | --sile | --sil)
1472 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1475 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1477 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1478 if test $ac_must_keep_next = true; then
1479 ac_must_keep_next=false # Got value, back to normal.
1482 *=* | --config-cache | -C | -disable-* | --disable-* \
1483 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1484 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1485 | -with-* | --with-* | -without-* | --without-* | --x)
1486 case "$ac_configure_args0 " in
1487 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1490 -* ) ac_must_keep_next=true ;;
1493 ac_configure_args="$ac_configure_args '$ac_arg'"
1498 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1499 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1501 # When interrupted or exit'd, cleanup temporary files, and complete
1502 # config.log. We remove comments because anyway the quotes in there
1503 # would cause problems or look ugly.
1504 # WARNING: Use '\'' to represent an apostrophe within the trap.
1505 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1506 trap 'exit_status=$?
1507 # Save into config.log some information that might help in debugging.
1512 ## ---------------- ##
1513 ## Cache variables. ##
1514 ## ---------------- ##
1517 # The following way of writing the cache mishandles newlines in values,
1519 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1520 eval ac_val=\$$ac_var
1524 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1525 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1528 _ | IFS | as_nl) ;; #(
1529 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1530 *) $as_unset $ac_var ;;
1535 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1536 *${as_nl}ac_space=\ *)
1538 "s/'\''/'\''\\\\'\'''\''/g;
1539 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1542 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1550 ## ----------------- ##
1551 ## Output variables. ##
1552 ## ----------------- ##
1555 for ac_var in $ac_subst_vars
1557 eval ac_val=\$$ac_var
1559 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1561 $as_echo "$ac_var='\''$ac_val'\''"
1565 if test -n "$ac_subst_files"; then
1567 ## ------------------- ##
1568 ## File substitutions. ##
1569 ## ------------------- ##
1572 for ac_var in $ac_subst_files
1574 eval ac_val=\$$ac_var
1576 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1578 $as_echo "$ac_var='\''$ac_val'\''"
1583 if test -s confdefs.h; then
1593 test "$ac_signal" != 0 &&
1594 $as_echo "$as_me: caught signal $ac_signal"
1595 $as_echo "$as_me: exit $exit_status"
1597 rm -f core *.core core.conftest.* &&
1598 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1601 for ac_signal in 1 2 13 15; do
1602 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1606 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1607 rm -f -r conftest* confdefs.h
1609 # Predefined preprocessor variables.
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_NAME "$PACKAGE_NAME"
1616 cat >>confdefs.h <<_ACEOF
1617 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1621 cat >>confdefs.h <<_ACEOF
1622 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE_STRING "$PACKAGE_STRING"
1631 cat >>confdefs.h <<_ACEOF
1632 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1636 # Let the site file select an alternate cache file if it wants to.
1637 # Prefer explicitly selected file to automatically selected ones.
1638 if test -n "$CONFIG_SITE"; then
1639 set x "$CONFIG_SITE"
1640 elif test "x$prefix" != xNONE; then
1641 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1643 set x "$ac_default_prefix/share/config.site" \
1644 "$ac_default_prefix/etc/config.site"
1649 if test -r "$ac_site_file"; then
1650 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1651 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1652 sed 's/^/| /' "$ac_site_file" >&5
1657 if test -r "$cache_file"; then
1658 # Some versions of bash will fail to source /dev/null (special
1659 # files actually), so we avoid doing that.
1660 if test -f "$cache_file"; then
1661 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1662 $as_echo "$as_me: loading cache $cache_file" >&6;}
1664 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1665 *) . "./$cache_file";;
1669 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1670 $as_echo "$as_me: creating cache $cache_file" >&6;}
1674 # Check that the precious variables saved in the cache have kept the same
1676 ac_cache_corrupted=false
1677 for ac_var in $ac_precious_vars; do
1678 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1679 eval ac_new_set=\$ac_env_${ac_var}_set
1680 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1681 eval ac_new_val=\$ac_env_${ac_var}_value
1682 case $ac_old_set,$ac_new_set in
1684 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1685 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1686 ac_cache_corrupted=: ;;
1688 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1689 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1690 ac_cache_corrupted=: ;;
1693 if test "x$ac_old_val" != "x$ac_new_val"; then
1694 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1695 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1696 { $as_echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1697 $as_echo "$as_me: former value
: $ac_old_val" >&2;}
1698 { $as_echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1699 $as_echo "$as_me: current value
: $ac_new_val" >&2;}
1700 ac_cache_corrupted=:
1703 # Pass precious variables to config.status.
1704 if test "$ac_new_set" = set; then
1706 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1707 *) ac_arg=$ac_var=$ac_new_val ;;
1709 case " $ac_configure_args " in
1710 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1711 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1715 if $ac_cache_corrupted; then
1716 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1717 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1718 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1719 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1720 { (exit 1); exit 1; }; }
1748 ac_cpp='$CPP $CPPFLAGS'
1749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1757 for ac_dir in build-aux "$srcdir"/build-aux; do
1758 if test -f "$ac_dir/install-sh"; then
1760 ac_install_sh="$ac_aux_dir/install-sh -c"
1762 elif test -f "$ac_dir/install.sh"; then
1764 ac_install_sh="$ac_aux_dir/install.sh -c"
1766 elif test -f "$ac_dir/shtool"; then
1768 ac_install_sh="$ac_aux_dir/shtool install -c"
1772 if test -z "$ac_aux_dir"; then
1773 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1774 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1775 { (exit 1); exit 1; }; }
1778 # These three variables are undocumented and unsupported,
1779 # and are intended to be withdrawn in a future Autoconf release.
1780 # They can cause serious problems if a builder's source tree is in a directory
1781 # whose full name contains unusual characters.
1782 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1783 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1784 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1788 am__api_version='1.10'
1790 # Find a good install program. We prefer a C program (faster),
1791 # so one script is as good as another. But avoid the broken or
1792 # incompatible versions:
1793 # SysV /etc/install, /usr/sbin/install
1794 # SunOS /usr/etc/install
1795 # IRIX /sbin/install
1797 # AmigaOS /C/install, which installs bootblocks on floppy discs
1798 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1799 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1800 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1801 # OS/2's system install, which has a completely different semantic
1802 # ./install, which can be erroneously created by make from ./install.sh.
1803 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1804 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1805 if test -z "$INSTALL"; then
1806 if test "${ac_cv_path_install+set}" = set; then
1807 $as_echo_n "(cached) " >&6
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813 test -z "$as_dir" && as_dir=.
1814 # Account for people who put trailing slashes in PATH elements.
1816 ./ | .// | /cC/* | \
1817 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1818 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1821 # OSF1 and SCO ODT 3.0 have their own names for install.
1822 # Don't use installbsd from OSF since it installs stuff as root
1824 for ac_prog in ginstall scoinst install; do
1825 for ac_exec_ext in '' $ac_executable_extensions; do
1826 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1827 if test $ac_prog = install &&
1828 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1829 # AIX install. It has an incompatible calling convention.
1831 elif test $ac_prog = install &&
1832 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1833 # program-specific install script used by HP pwplus--don't use.
1836 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1849 if test "${ac_cv_path_install+set}" = set; then
1850 INSTALL=$ac_cv_path_install
1852 # As a last resort, use the slow shell script. Don't cache a
1853 # value for INSTALL within a source directory, because that will
1854 # break other packages using the cache if that directory is
1855 # removed, or if the value is a relative name.
1856 INSTALL=$ac_install_sh
1859 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1860 $as_echo "$INSTALL" >&6; }
1862 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1863 # It thinks the first close brace ends the variable substitution.
1864 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1866 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1868 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1870 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1871 $as_echo_n "checking whether build environment is sane... " >&6; }
1874 echo timestamp > conftest.file
1875 # Do `set' in a subshell so we don't clobber the current shell
's
1876 # arguments. Must try -L first in case configure is actually a
1877 # symlink; some systems play weird games with the mod time of symlinks
1878 # (eg FreeBSD returns the mod time of the symlink's containing
1881 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1882 if test "$*" = "X"; then
1884 set X
`ls -t $srcdir/configure conftest.file`
1887 if test "$*" != "X $srcdir/configure conftest.file" \
1888 && test "$*" != "X conftest.file $srcdir/configure"; then
1890 # If neither matched, then we have a broken ls. This can happen
1891 # if, for instance, CONFIG_SHELL is bash and it inherits a
1892 # broken ls alias from the environment. This has actually
1893 # happened. Such a system could not be considered "sane".
1894 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1895 alias in your environment" >&5
1896 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1897 alias in your environment" >&2;}
1898 { (exit 1); exit 1; }; }
1901 test "$2" = conftest.
file
1907 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1908 Check your system clock" >&5
1909 $as_echo "$as_me: error: newly created file is older than distributed files!
1910 Check your system clock" >&2;}
1911 { (exit 1); exit 1; }; }
1913 { $as_echo "$as_me:$LINENO: result: yes" >&5
1914 $as_echo "yes" >&6; }
1915 test "$program_prefix" != NONE
&&
1916 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1917 # Use a double $ so make ignores it.
1918 test "$program_suffix" != NONE
&&
1919 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1920 # Double any \ or $.
1921 # By default was `s,x,x', remove it if useless.
1922 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
1923 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
1925 # expand $ac_aux_dir to an absolute path
1926 am_aux_dir
=`cd $ac_aux_dir && pwd`
1928 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1929 # Use eval to expand $SHELL
1930 if eval "$MISSING --run true"; then
1931 am_missing_run
="$MISSING --run "
1934 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1935 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1938 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1939 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1940 if test -z "$MKDIR_P"; then
1941 if test "${ac_cv_path_mkdir+set}" = set; then
1942 $as_echo_n "(cached) " >&6
1944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1945 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1948 test -z "$as_dir" && as_dir
=.
1949 for ac_prog
in mkdir gmkdir
; do
1950 for ac_exec_ext
in '' $ac_executable_extensions; do
1951 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
1952 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1953 'mkdir (GNU coreutils) '* | \
1954 'mkdir (coreutils) '* | \
1955 'mkdir (fileutils) '4.1*)
1956 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
1966 if test "${ac_cv_path_mkdir+set}" = set; then
1967 MKDIR_P
="$ac_cv_path_mkdir -p"
1969 # As a last resort, use the slow shell script. Don't cache a
1970 # value for MKDIR_P within a source directory, because that will
1971 # break other packages using the cache if that directory is
1972 # removed, or if the value is a relative name.
1973 test -d .
/--version && rmdir .
/--version
1974 MKDIR_P
="$ac_install_sh -d"
1977 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1978 $as_echo "$MKDIR_P" >&6; }
1982 [\\/$
]* | ?
:[\\/]*) ;;
1983 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
1986 for ac_prog
in gawk mawk nawk
awk
1988 # Extract the first word of "$ac_prog", so it can be a program name with args.
1989 set dummy
$ac_prog; ac_word
=$2
1990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1991 $as_echo_n "checking for $ac_word... " >&6; }
1992 if test "${ac_cv_prog_AWK+set}" = set; then
1993 $as_echo_n "(cached) " >&6
1995 if test -n "$AWK"; then
1996 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2002 test -z "$as_dir" && as_dir
=.
2003 for ac_exec_ext
in '' $ac_executable_extensions; do
2004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2005 ac_cv_prog_AWK
="$ac_prog"
2006 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2016 if test -n "$AWK"; then
2017 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2018 $as_echo "$AWK" >&6; }
2020 { $as_echo "$as_me:$LINENO: result: no" >&5
2021 $as_echo "no" >&6; }
2025 test -n "$AWK" && break
2028 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2029 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2031 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2032 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2033 $as_echo_n "(cached) " >&6
2035 cat >conftest.
make <<\_ACEOF
2038 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2040 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2043 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2045 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2049 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2050 { $as_echo "$as_me:$LINENO: result: yes" >&5
2051 $as_echo "yes" >&6; }
2054 { $as_echo "$as_me:$LINENO: result: no" >&5
2055 $as_echo "no" >&6; }
2056 SET_MAKE
="MAKE=${MAKE-make}"
2059 rm -rf .tst
2>/dev
/null
2060 mkdir .tst
2>/dev
/null
2061 if test -d .tst
; then
2066 rmdir .tst
2>/dev
/null
2068 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2069 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2070 # is not polluted with repeated "-I."
2071 am__isrc
=' -I$(srcdir)'
2072 # test to see if srcdir already configured
2073 if test -f $srcdir/config.status
; then
2074 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2075 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2076 { (exit 1); exit 1; }; }
2080 # test whether we have cygpath
2081 if test -z "$CYGPATH_W"; then
2082 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2083 CYGPATH_W
='cygpath -w'
2090 # Define the identity of the package.
2095 cat >>confdefs.h
<<_ACEOF
2096 #define PACKAGE "$PACKAGE"
2100 cat >>confdefs.h
<<_ACEOF
2101 #define VERSION "$VERSION"
2104 # Some tools Automake needs.
2106 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2109 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2112 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2115 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2118 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2120 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2122 # Installed binaries are usually stripped using `strip' when the user
2123 # run `make install-strip'. However `strip' might not be the right
2124 # tool to use in cross-compilation environments, therefore Automake
2125 # will honor the `STRIP' environment variable to overrule this program.
2126 if test "$cross_compiling" != no
; then
2127 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2129 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2130 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 $as_echo_n "checking for $ac_word... " >&6; }
2132 if test "${ac_cv_prog_STRIP+set}" = set; then
2133 $as_echo_n "(cached) " >&6
2135 if test -n "$STRIP"; then
2136 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir
=.
2143 for ac_exec_ext
in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2146 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 STRIP
=$ac_cv_prog_STRIP
2156 if test -n "$STRIP"; then
2157 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2158 $as_echo "$STRIP" >&6; }
2160 { $as_echo "$as_me:$LINENO: result: no" >&5
2161 $as_echo "no" >&6; }
2166 if test -z "$ac_cv_prog_STRIP"; then
2168 # Extract the first word of "strip", so it can be a program name with args.
2169 set dummy strip
; ac_word
=$2
2170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 $as_echo_n "checking for $ac_word... " >&6; }
2172 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2173 $as_echo_n "(cached) " >&6
2175 if test -n "$ac_ct_STRIP"; then
2176 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir
=.
2183 for ac_exec_ext
in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_ac_ct_STRIP
="strip"
2186 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2196 if test -n "$ac_ct_STRIP"; then
2197 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2198 $as_echo "$ac_ct_STRIP" >&6; }
2200 { $as_echo "$as_me:$LINENO: result: no" >&5
2201 $as_echo "no" >&6; }
2204 if test "x$ac_ct_STRIP" = x
; then
2207 case $cross_compiling:$ac_tool_warned in
2209 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2210 whose name does not start with the host triplet. If you think this
2211 configuration is useful to you, please write to autoconf@gnu.org." >&5
2212 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2213 whose name does not start with the host triplet. If you think this
2214 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2215 ac_tool_warned
=yes ;;
2220 STRIP
="$ac_cv_prog_STRIP"
2224 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2226 # We need awk for the "check" target. The system "awk" is bad on
2228 # Always define AMTAR for backward compatibility.
2230 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2232 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2239 # We use `/bin/sh -n script' to check that there are no syntax errors
2240 # in the scripts. Although incredible, there are /bin/sh that go into
2241 # endless loops with `-n', e.g., SunOS's:
2244 # SunOS ondine 4.1.3 2 sun4m unknown
2251 # $ time sh endless.sh
2252 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2253 # $ time sh -nx endless.sh
2254 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2256 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2257 # that they are unusable on large scripts like our testsuite.
2259 # So before using `/bin/sh -n' to check our scripts, we first check
2260 # that `/bin/sh -n' is known to not have these problems.
2262 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2263 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2264 if test "${ac_cv_sh_n_works+set}" = set; then
2265 $as_echo_n "(cached) " >&6
2268 unset BASH_VERSION ZSH_VERSION
2270 test -n "${BASH_VERSION+set}" || # Bash
2271 test -n "${KSH_VERSION+set}" || # pdksh
2272 test -n "${ZSH_VERSION+set}" || # zsh
2273 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2276 then ac_cv_sh_n_works
=yes
2277 else ac_cv_sh_n_works
=no
2281 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2282 $as_echo "$ac_cv_sh_n_works" >&6; }
2285 # Initialize the test suite.
2286 ac_config_commands
="$ac_config_commands tests/atconfig"
2289 ac_config_files
="$ac_config_files tests/Makefile tests/atlocal"
2291 # Extract the first word of "expr", so it can be a program name with args.
2292 set dummy
expr; ac_word
=$2
2293 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 $as_echo_n "checking for $ac_word... " >&6; }
2295 if test "${ac_cv_path_EXPR+set}" = set; then
2296 $as_echo_n "(cached) " >&6
2300 ac_cv_path_EXPR
="$EXPR" # Let the user override the test with a path.
2303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir
=.
2308 for ac_exec_ext
in '' $ac_executable_extensions; do
2309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2310 ac_cv_path_EXPR
="$as_dir/$ac_word$ac_exec_ext"
2311 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 EXPR
=$ac_cv_path_EXPR
2322 if test -n "$EXPR"; then
2323 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2324 $as_echo "$EXPR" >&6; }
2326 { $as_echo "$as_me:$LINENO: result: no" >&5
2327 $as_echo "no" >&6; }
2337 # We use an absolute name for GNU m4 so even if users have another m4 first in
2338 # their path, the installer can configure with a path that has GNU m4
2339 # first and get that path embedded in the installed autoconf and
2340 # autoheader scripts.
2341 for ac_prog
in gm4 gnum4
m4
2343 # Extract the first word of "$ac_prog", so it can be a program name with args.
2344 set dummy
$ac_prog; ac_word
=$2
2345 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 $as_echo_n "checking for $ac_word... " >&6; }
2347 if test "${ac_cv_path_M4+set}" = set; then
2348 $as_echo_n "(cached) " >&6
2352 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
2355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir
=.
2360 for ac_exec_ext
in '' $ac_executable_extensions; do
2361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2362 ac_cv_path_M4
="$as_dir/$ac_word$ac_exec_ext"
2363 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 if test -n "$M4"; then
2375 { $as_echo "$as_me:$LINENO: result: $M4" >&5
2376 $as_echo "$M4" >&6; }
2378 { $as_echo "$as_me:$LINENO: result: no" >&5
2379 $as_echo "no" >&6; }
2383 test -n "$M4" && break
2385 test -n "$M4" || M4
="m4"
2387 { $as_echo "$as_me:$LINENO: checking whether m4 supports accurate traces" >&5
2388 $as_echo_n "checking whether m4 supports accurate traces... " >&6; }
2389 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2390 $as_echo_n "(cached) " >&6
2392 ac_cv_prog_gnu_m4
=no
2393 if test x
"$M4" != x \
2394 && test -z "`echo if'def(mac,bug)d'nl | $M4 --trace=mac 2>&1`" ; then
2395 ac_cv_prog_gnu_m4
=yes
2398 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2399 $as_echo "$ac_cv_prog_gnu_m4" >&6; }
2400 if test $ac_cv_prog_gnu_m4 = yes ; then
2401 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2402 $as_echo_n "checking how m4 supports trace files... " >&6; }
2403 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2404 $as_echo_n "(cached) " >&6
2406 case `$M4 --help < /dev/null 2>&1` in
2407 *debugfile
*) ac_cv_prog_gnu_m4_debugfile
=--debugfile ;;
2408 *) ac_cv_prog_gnu_m4_debugfile
=--error-output ;;
2411 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2412 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2413 M4_DEBUGFILE
=$ac_cv_prog_gnu_m4_debugfile
2417 if test x
"$ac_cv_prog_gnu_m4" != xyes
; then
2418 { { $as_echo "$as_me:$LINENO: error: GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&5
2419 $as_echo "$as_me: error: GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&2;}
2420 { (exit 1); exit 1; }; }
2427 ac_config_files
="$ac_config_files man/Makefile"
2430 HELP2MAN
=${HELP2MAN-"${am_missing_run}help2man"}
2438 # We use an absolute name for perl so the #! line in autoscan will work.
2439 # Extract the first word of "perl", so it can be a program name with args.
2440 set dummy perl
; ac_word
=$2
2441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2442 $as_echo_n "checking for $ac_word... " >&6; }
2443 if test "${ac_cv_path_PERL+set}" = set; then
2444 $as_echo_n "(cached) " >&6
2448 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
2451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir
=.
2456 for ac_exec_ext
in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
2459 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
2470 PERL
=$ac_cv_path_PERL
2471 if test -n "$PERL"; then
2472 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2473 $as_echo "$PERL" >&6; }
2475 { $as_echo "$as_me:$LINENO: result: no" >&5
2476 $as_echo "no" >&6; }
2480 if test "$PERL" = no
; then
2481 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2482 $as_echo "$as_me: error: perl is not found" >&2;}
2483 { (exit 1); exit 1; }; }
2485 $PERL -e 'require 5.005_03;' ||
{
2486 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2487 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2488 { (exit 1); exit 1; }; }
2496 ac_config_files
="$ac_config_files lib/emacs/Makefile"
2499 test x
"$TEST_EMACS" = xt
&& TEST_EMACS
=
2500 for ac_prog
in emacs xemacs
2502 # Extract the first word of "$ac_prog", so it can be a program name with args.
2503 set dummy
$ac_prog; ac_word
=$2
2504 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
2506 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2507 $as_echo_n "(cached) " >&6
2509 if test -n "$TEST_EMACS"; then
2510 ac_cv_prog_TEST_EMACS
="$TEST_EMACS" # Let the user override the test.
2512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir
=.
2517 for ac_exec_ext
in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519 ac_cv_prog_TEST_EMACS
="$ac_prog"
2520 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 TEST_EMACS
=$ac_cv_prog_TEST_EMACS
2530 if test -n "$TEST_EMACS"; then
2531 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2532 $as_echo "$TEST_EMACS" >&6; }
2534 { $as_echo "$as_me:$LINENO: result: no" >&5
2535 $as_echo "no" >&6; }
2539 test -n "$TEST_EMACS" && break
2541 test -n "$TEST_EMACS" || TEST_EMACS
="no"
2544 # autoconf-mode.el and autotest-mode.el do not work with older version of
2545 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2546 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2547 # We detect this problem here.
2548 if test "$TEST_EMACS" != no
; then
2549 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2550 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2551 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2552 $as_echo_n "(cached) " >&6
2554 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2555 cat >conftest.el
<< "EOF"
2557 (defun broken-mode
() (setq broken-defaults
`(broken nil)))
2559 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2560 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; then
2564 ac_cv_prog_emacs_ok=yes
2566 ac_cv_prog_emacs_ok=no
2569 rm -f conftest.el conftest.elc
2571 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2572 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2573 if test $ac_cv_prog_emacs_ok = no; then
2583 # If set to t, that means we are running in a shell under Emacs.
2584 # If you have an Emacs named "t", then use the full path.
2585 test x"$EMACS" = xt && EMACS=
2586 for ac_prog in emacs xemacs
2588 # Extract the first word of "$ac_prog", so it can be a program name with args.
2589 set dummy $ac_prog; ac_word=$2
2590 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2591 $as_echo_n "checking for $ac_word... " >&6; }
2592 if test "${ac_cv_prog_EMACS+set}" = set; then
2593 $as_echo_n "(cached) " >&6
2595 if test -n "$EMACS"; then
2596 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir=.
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605 ac_cv_prog_EMACS="$ac_prog"
2606 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2615 EMACS=$ac_cv_prog_EMACS
2616 if test -n "$EMACS"; then
2617 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2618 $as_echo "$EMACS" >&6; }
2620 { $as_echo "$as_me:$LINENO: result: no" >&5
2621 $as_echo "no" >&6; }
2625 test -n "$EMACS" && break
2627 test -n "$EMACS" || EMACS="no"
2632 # Check whether --with-lispdir was given.
2633 if test "${with_lispdir+set}" = set; then
2634 withval=$with_lispdir; lispdir="$withval"
2635 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2636 $as_echo_n "checking where .elc files should go... " >&6; }
2637 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2638 $as_echo "$lispdir" >&6; }
2641 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2642 $as_echo_n "checking where .elc files should go... " >&6; }
2643 if test "${am_cv_lispdir+set}" = set; then
2644 $as_echo_n "(cached) " >&6
2647 if test $EMACS != "no"; then
2648 if test x${lispdir+set} != xset; then
2649 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2650 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2651 # which is non-obvious for non-emacs users.
2652 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2653 # emacsen earlier and avoid running this altogether.
2654 { ($as_echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5
2655 ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
2657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }
2659 am_cv_lispdir=`sed -n \
2661 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2662 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2667 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2670 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2671 $as_echo "$am_cv_lispdir" >&6; }
2672 lispdir="$am_cv_lispdir"
2683 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2684 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2685 if test "${ac_cv_path_GREP+set}" = set; then
2686 $as_echo_n "(cached) " >&6
2688 # Extract the first word of "grep ggrep" to use in msg output
2689 if test -z "$GREP"; then
2690 set dummy grep ggrep; ac_prog_name=$2
2691 if test "${ac_cv_path_GREP+set}" = set; then
2692 $as_echo_n "(cached) " >&6
2694 ac_path_GREP_found=false
2695 # Loop through the user's path and test for each of PROGNAME-LIST
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2700 test -z "$as_dir" && as_dir=.
2701 for ac_prog in grep ggrep; do
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2704 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2705 # Check for GNU ac_path_GREP and select it if it is found.
2706 # Check for GNU $ac_path_GREP
2707 case `"$ac_path_GREP" --version 2>&1` in
2709 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2712 $as_echo_n 0123456789 >"conftest.in"
2715 cat "conftest.in" "conftest.in" >"conftest.tmp"
2716 mv "conftest.tmp" "conftest.in"
2717 cp "conftest.in" "conftest.nl"
2718 $as_echo 'GREP' >> "conftest.nl"
2719 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2721 ac_count=`expr $ac_count + 1`
2722 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2723 # Best one so far, save it but keep looking for a better one
2724 ac_cv_path_GREP="$ac_path_GREP"
2725 ac_path_GREP_max=$ac_count
2727 # 10*(2^10) chars as input seems more than enough
2728 test $ac_count -gt 10 && break
2730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2734 $ac_path_GREP_found && break 3
2744 GREP="$ac_cv_path_GREP"
2745 if test -z "$GREP"; then
2746 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2747 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2748 { (exit 1); exit 1; }; }
2752 ac_cv_path_GREP=$GREP
2757 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2758 $as_echo "$ac_cv_path_GREP" >&6; }
2759 GREP="$ac_cv_path_GREP"
2762 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2763 $as_echo_n "checking for egrep... " >&6; }
2764 if test "${ac_cv_path_EGREP+set}" = set; then
2765 $as_echo_n "(cached) " >&6
2767 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2768 then ac_cv_path_EGREP="$GREP -E"
2770 # Extract the first word of "egrep" to use in msg output
2771 if test -z "$EGREP"; then
2772 set dummy egrep; ac_prog_name=$2
2773 if test "${ac_cv_path_EGREP+set}" = set; then
2774 $as_echo_n "(cached) " >&6
2776 ac_path_EGREP_found=false
2777 # Loop through the user's path and test for each of PROGNAME-LIST
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2782 test -z "$as_dir" && as_dir=.
2783 for ac_prog in egrep; do
2784 for ac_exec_ext in '' $ac_executable_extensions; do
2785 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2786 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2787 # Check for GNU ac_path_EGREP and select it if it is found.
2788 # Check for GNU $ac_path_EGREP
2789 case `"$ac_path_EGREP" --version 2>&1` in
2791 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2794 $as_echo_n 0123456789 >"conftest.in"
2797 cat "conftest.in" "conftest.in" >"conftest.tmp"
2798 mv "conftest.tmp" "conftest.in"
2799 cp "conftest.in" "conftest.nl"
2800 $as_echo 'EGREP' >> "conftest.nl"
2801 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2802 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2803 ac_count=`expr $ac_count + 1`
2804 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2805 # Best one so far, save it but keep looking for a better one
2806 ac_cv_path_EGREP="$ac_path_EGREP"
2807 ac_path_EGREP_max=$ac_count
2809 # 10*(2^10) chars as input seems more than enough
2810 test $ac_count -gt 10 && break
2812 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2816 $ac_path_EGREP_found && break 3
2826 EGREP="$ac_cv_path_EGREP"
2827 if test -z "$EGREP"; then
2828 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2829 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2830 { (exit 1); exit 1; }; }
2834 ac_cv_path_EGREP=$EGREP
2840 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2841 $as_echo "$ac_cv_path_EGREP" >&6; }
2842 EGREP="$ac_cv_path_EGREP"
2845 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2846 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2847 if test "${ac_cv_path_SED+set}" = set; then
2848 $as_echo_n "(cached) " >&6
2850 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2851 for ac_i in 1 2 3 4 5 6 7; do
2852 ac_script="$ac_script$as_nl$ac_script"
2854 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2855 $as_unset ac_script || ac_script=
2856 # Extract the first word of "sed gsed" to use in msg output
2857 if test -z "$SED"; then
2858 set dummy sed gsed; ac_prog_name=$2
2859 if test "${ac_cv_path_SED+set}" = set; then
2860 $as_echo_n "(cached) " >&6
2862 ac_path_SED_found=false
2863 # Loop through the user's path and test for each of PROGNAME-LIST
2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 test -z "$as_dir" && as_dir=.
2869 for ac_prog in sed gsed; do
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2872 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2873 # Check for GNU ac_path_SED and select it if it is found.
2874 # Check for GNU $ac_path_SED
2875 case `"$ac_path_SED" --version 2>&1` in
2877 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2880 $as_echo_n 0123456789 >"conftest.in"
2883 cat "conftest.in" "conftest.in" >"conftest.tmp"
2884 mv "conftest.tmp" "conftest.in"
2885 cp "conftest.in" "conftest.nl"
2886 $as_echo '' >> "conftest.nl"
2887 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2888 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2889 ac_count=`expr $ac_count + 1`
2890 if test $ac_count -gt ${ac_path_SED_max-0}; then
2891 # Best one so far, save it but keep looking for a better one
2892 ac_cv_path_SED="$ac_path_SED"
2893 ac_path_SED_max=$ac_count
2895 # 10*(2^10) chars as input seems more than enough
2896 test $ac_count -gt 10 && break
2898 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2902 $ac_path_SED_found && break 3
2912 SED="$ac_cv_path_SED"
2913 if test -z "$SED"; then
2914 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2915 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2916 { (exit 1); exit 1; }; }
2924 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2925 $as_echo "$ac_cv_path_SED" >&6; }
2926 SED="$ac_cv_path_SED"
2935 ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile lib/m4sugar/Makefile lib/autoconf/Makefile lib/autotest/Makefile bin/Makefile"
2938 cat >confcache <<\_ACEOF
2939 # This file is a shell script that caches the results of configure
2940 # tests run on this system so they can be shared between configure
2941 # scripts and configure runs, see configure's option --config-cache.
2942 # It is not useful on other systems. If it contains results you don't
2943 # want to keep, you may remove or edit it.
2945 # config.status only pays attention to the cache file if you give it
2946 # the --recheck option to rerun configure.
2948 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
2949 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2954 # The following way of writing the cache mishandles newlines in values,
2955 # but we know of no workaround that is simple, portable, and efficient.
2956 # So, we kill variables containing newlines.
2957 # Ultrix sh set writes to stderr and can't be redirected directly,
2958 # and sets the high bit in the cache file unless we assign to the vars.
2960 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2961 eval ac_val
=\$
$ac_var
2965 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2966 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2969 _ | IFS | as_nl
) ;; #(
2970 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2971 *) $as_unset $ac_var ;;
2977 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2978 *${as_nl}ac_space
=\
*)
2979 # `set' does not quote correctly, so add quotes (double-quote
2980 # substitution turns \\\\ into \\, and sed turns \\ into \).
2983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2986 # `set' quotes correctly as required by POSIX, so do not add quotes.
2987 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2998 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3000 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3001 if test -w "$cache_file"; then
3002 test "x$cache_file" != "x/dev/null" &&
3003 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3004 $as_echo "$as_me: updating cache $cache_file" >&6;}
3005 cat confcache
>$cache_file
3007 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3008 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3013 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3014 # Let make expand exec_prefix.
3015 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3017 # Transform confdefs.h into DEFS.
3018 # Protect against shell expansion while executing Makefile rules.
3019 # Protect against Makefile macro expansion.
3021 # If the first sed substitution is executed (which looks for macros that
3022 # take arguments), then branch to the quote section. Otherwise,
3023 # look for a macro that doesn't take arguments.
3027 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3029 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3033 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3046 DEFS
=`sed -n "$ac_script" confdefs.h`
3051 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3052 # 1. Remove the extension, and $U if already installed.
3053 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3054 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3055 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3056 # will be set to the directory where LIBOBJS objects are built.
3057 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3058 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3062 LTLIBOBJS
=$ac_ltlibobjs
3066 : ${CONFIG_STATUS=./config.status}
3067 ac_clean_files_save
=$ac_clean_files
3068 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3069 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3070 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3071 cat >$CONFIG_STATUS <<_ACEOF
3073 # Generated by $as_me.
3074 # Run this file to recreate the current configuration.
3075 # Compiler output produced by configure, useful for debugging
3076 # configure, is in config.log if it exists.
3081 SHELL=\${CONFIG_SHELL-$SHELL}
3084 cat >>$CONFIG_STATUS <<\_ACEOF
3085 ## --------------------- ##
3086 ## M4sh Initialization. ##
3087 ## --------------------- ##
3089 # Be more Bourne compatible
3090 DUALCASE
=1; export DUALCASE
# for MKS sh
3091 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3094 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3095 # is contrary to our usage. Disable this feature.
3096 alias -g '${1+"$@"}'='"$@"'
3097 setopt NO_GLOB_SUBST
3099 case `(set -o) 2>/dev/null` in
3100 *posix
*) set -o posix
;;
3109 # Avoid depending upon Character Ranges.
3110 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3111 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3112 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3113 as_cr_digits
='0123456789'
3114 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3119 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3120 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3121 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3122 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3123 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3124 as_echo='printf %s
\n'
3125 as_echo_n='printf %s
'
3127 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3128 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3129 as_echo_n='/usr
/ucb
/echo -n'
3131 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3132 as_echo_n_body='eval
3136 expr "X$arg" : "X\\(.*\\)$as_nl";
3137 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3139 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3141 export as_echo_n_body
3142 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3145 as_echo='sh
-c $as_echo_body as_echo
'
3148 # The user is always right.
3149 if test "${PATH_SEPARATOR+set}" != set; then
3150 echo "#! /bin/sh" >conf$$.sh
3151 echo "exit 0" >>conf$$.sh
3153 if (PATH="/nonexistent;."; FPATH=$PATH; conf$$.sh) >/dev/null 2>&1; then
3161 # Support unset when possible.
3162 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3170 # We need space, tab and new line, in precisely that order. Quoting is
3171 # there to prevent editors from complaining about space-tab.
3172 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3173 # splitting by setting IFS to empty value.)
3176 # Find who we are. Look in the path if we contain no directory separator.
3178 *[\\/]* ) as_myself=$0 ;;
3179 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir=.
3184 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3190 # We did not find ourselves, most probably we were run as `sh COMMAND'
3191 # in which case we are not to be found in the path.
3192 if test "x$as_myself" = x
; then
3195 if test ! -f "$as_myself"; then
3196 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3197 { (exit 1); exit 1; }
3200 # Work around bugs in pre-3.0 UWIN ksh.
3201 for as_var
in ENV MAIL MAILPATH
3202 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
3210 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3211 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3212 LC_TELEPHONE LC_TIME
3214 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3215 eval $as_var=C
; export $as_var
3217 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
3221 # Required to use basename.
3222 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3223 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3229 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3230 as_basename
=basename
3236 # Name of the executable.
3237 as_me
=`$as_basename -- "$0" ||
3238 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3239 X"$0" : 'X\(//\)$' \| \
3240 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3242 sed '/^.*\/\([^/][^/]*\)\/*$/{
3263 test "x$as_lineno_1" != "x$as_lineno_2" &&
3264 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
3266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3267 # uniformly replaced by the line number. The first 'sed' inserts a
3268 # line-number line after each line using $LINENO; the second 'sed'
3269 # does the real work. The second script uses 'N' to pair each
3270 # line-number line with the line containing $LINENO, and appends
3271 # trailing '-' during substitution so that $LINENO is not a special
3273 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3274 # scripts with optimization help from Paolo Bonzini. Blame Lee
3275 # E. McMahon (1931-1989) for sed's syntax. :-)
3287 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3291 chmod +x
"$as_me.lineno" ||
3292 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3293 { (exit 1); exit 1; }; }
3295 # Don't try to exec as it changes $[0], causing all sort of problems
3296 # (the dirname of $[0] is not the place where we might find the
3297 # original and so on. Autoconf is especially sensitive to this).
3299 # Exit status is that of the last command.
3304 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3310 ECHO_C
= ECHO_N
= ECHO_T
=
3313 case `echo 'x\c'` in
3314 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3320 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3321 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3327 rm -f conf$$ conf$$.exe conf$$.
file
3328 if test -d conf$$.dir
; then
3329 rm -f conf$$.dir
/conf$$.
file
3335 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3337 # ... but there are two gotchas:
3338 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3339 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3340 # In both cases, we have to default to `cp -p'.
3341 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3343 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3348 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3349 rmdir conf$$.dir
2>/dev
/null
3351 if mkdir
-p .
2>/dev
/null
; then
3354 test -d .
/-p && rmdir .
/-p
3358 if test -x / >/dev
/null
2>&1; then
3361 if ls -dL / >/dev
/null
2>&1; then
3368 if test -d "$1"; then
3374 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3375 ???[sx]*):;;*)false;;esac;fi
3379 as_executable_p
=$as_test_x
3381 # Sed expression to map a string onto a valid CPP name.
3382 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3384 # Sed expression to map a string onto a valid variable name.
3385 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3390 # Save the log message, to keep $[0] and so on meaningful, and to
3391 # report actual input values of CONFIG_FILES etc. instead of their
3392 # values after options handling.
3394 This file was extended by GNU Autoconf $as_me 2.61b, which was
3395 generated by GNU Autoconf 2.61b. Invocation command line was
3397 CONFIG_FILES = $CONFIG_FILES
3398 CONFIG_HEADERS = $CONFIG_HEADERS
3399 CONFIG_LINKS = $CONFIG_LINKS
3400 CONFIG_COMMANDS = $CONFIG_COMMANDS
3403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3408 cat >>$CONFIG_STATUS <<_ACEOF
3409 # Files that config.status was made for.
3410 config_files="$ac_config_files"
3411 config_commands="$ac_config_commands"
3415 cat >>$CONFIG_STATUS <<\_ACEOF
3417 \`$as_me' instantiates files from templates according to the
3418 current configuration.
3420 Usage: $0 [OPTIONS] [FILE]...
3422 -h, --help print this help, then exit
3423 -V, --version print version number and configuration settings, then exit
3424 -q, --quiet do not print progress messages
3425 -d, --debug don't remove temporary files
3426 --recheck update $as_me by reconfiguring in the same conditions
3427 --file=FILE[:TEMPLATE]
3428 instantiate the configuration file FILE
3430 Configuration files:
3433 Configuration commands:
3436 Report bugs to <bug-autoconf@gnu.org>."
3439 cat >>$CONFIG_STATUS <<_ACEOF
3441 GNU Autoconf config.status 2.61b
3442 configured by $0, generated by GNU Autoconf 2.61b,
3443 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3445 Copyright (C) 2007 Free Software Foundation, Inc.
3446 This config.status script is free software; the Free Software Foundation
3447 gives unlimited permission to copy, distribute and modify it."
3454 test -n "\$AWK" || AWK=awk
3457 cat >>$CONFIG_STATUS <<\_ACEOF
3458 # The default lists apply if the user does not specify any file.
3464 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3465 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3476 # Handling of the options.
3477 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3479 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3480 $as_echo "$ac_cs_version"; exit ;;
3481 --debug |
--debu |
--deb |
--de |
--d |
-d )
3483 --file |
--fil |
--fi |
--f )
3485 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3486 ac_need_defaults
=false
;;
3487 --he |
--h |
--help |
--hel |
-h )
3488 $as_echo "$ac_cs_usage"; exit ;;
3489 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3490 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3494 -*) { $as_echo "$as_me: error: unrecognized option: $1
3495 Try \`$0 --help' for more information." >&2
3496 { (exit 1); exit 1; }; } ;;
3498 *) ac_config_targets
="$ac_config_targets $1"
3499 ac_need_defaults
=false
;;
3505 ac_configure_extra_args
=
3507 if $ac_cs_silent; then
3509 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3513 cat >>$CONFIG_STATUS <<_ACEOF
3514 if \$ac_cs_recheck; then
3515 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3517 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3518 CONFIG_SHELL='$SHELL'
3524 cat >>$CONFIG_STATUS <<\_ACEOF
3528 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3529 ## Running $as_me. ##
3535 cat >>$CONFIG_STATUS <<_ACEOF
3538 cat >>$CONFIG_STATUS <<\_ACEOF
3540 # Handling of arguments.
3541 for ac_config_target
in $ac_config_targets
3543 case $ac_config_target in
3544 "tests/atconfig") CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/atconfig" ;;
3545 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
3546 "tests/atlocal") CONFIG_FILES
="$CONFIG_FILES tests/atlocal" ;;
3547 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
3548 "lib/emacs/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/emacs/Makefile" ;;
3549 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3550 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
3551 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
3552 "lib/Autom4te/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3553 "lib/autoscan/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autoscan/Makefile" ;;
3554 "lib/m4sugar/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3555 "lib/autoconf/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autoconf/Makefile" ;;
3556 "lib/autotest/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autotest/Makefile" ;;
3557 "bin/Makefile") CONFIG_FILES
="$CONFIG_FILES bin/Makefile" ;;
3559 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3560 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3561 { (exit 1); exit 1; }; };;
3566 # If the user did not use the arguments to specify the items to instantiate,
3567 # then the envvar interface is used. Set only those that are not.
3568 # We use the long form for the default assignment because of an extremely
3569 # bizarre bug on SunOS 4.1.3.
3570 if $ac_need_defaults; then
3571 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3572 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3575 # Have a temporary directory for convenience. Make it in the build tree
3576 # simply because there is no reason against having it here, and in addition,
3577 # creating and moving files from /tmp can sometimes cause problems.
3578 # Hook for its removal unless debugging.
3579 # Note that there is a small window in which the directory will not be cleaned:
3580 # after its creation but before its name has been assigned to `$tmp'.
3584 trap 'exit_status=$?
3585 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3587 trap '{ (exit 1); exit 1; }' 1 2 13 15
3589 # Create a (secure) tmp directory for tmp files.
3592 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3593 test -n "$tmp" && test -d "$tmp"
3596 tmp
=.
/conf$$
-$RANDOM
3597 (umask 077 && mkdir
"$tmp")
3600 $as_echo "$me: cannot create a temporary directory in ." >&2
3601 { (exit 1); exit 1; }
3604 # Set up the scripts for CONFIG_FILES section.
3605 # No need to generate them if there are no CONFIG_FILES.
3606 # This happens for instance with `./config.status config.h'.
3607 if test -n "$CONFIG_FILES"; then
3611 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3612 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3618 echo 'BEGIN {' >"$tmp/subs1.awk"
3623 echo "cat >conf$$subs.awk <<_ACEOF"
3624 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3627 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3629 for ac_last_try in false false false false false :; do
3632 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3634 elif $ac_last_try; then
3635 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
3636 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
3637 { (exit 1); exit 1; }; }
3639 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3644 cat >>$CONFIG_STATUS <<_ACEOF
3645 cat >>"\
$tmp/subs1.
awk" <<\CEOF
3649 s/^/S["/; s
/!.
*/"]=/
3659 s/\(.\{148\}\).*/\1/
3661 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3666 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3673 s/\(.\{148\}\).*/\1/
3675 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3679 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3684 ' <conf$$subs.awk | sed '
3690 rm -f conf$$subs.awk
3691 cat >>$CONFIG_STATUS <<_ACEOF
3693 cat >>"\$tmp/subs1.awk" <<CEOF
3694 for (key in S) S_is_set[key] = 1
3700 nfields = split(line, field, "@")
3702 len = length(field[1])
3703 for (i = 2; i < nfields; i++) {
3705 keylen = length(key)
3706 if (S_is_set[key]) {
3708 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3709 len += length(value) + length(field[++i])
3719 sed "s/\$ac_cr\\\$//; s/\$ac_cr/\$ac_cs_awk_cr/g" < "\$tmp/subs1.awk" > "\$tmp/subs.awk"
3722 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3723 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3724 # trailing colons and then remove the whole line if VPATH becomes empty
3725 # (actually we leave an empty line to preserve line numbers).
3726 if test "x$srcdir" = x.; then
3727 ac_vpsub='/^
[ ]*VPATH
[ ]*=/{
3731 s
/^\
([^
=]*=[ ]*\
):*/\
1/
3737 cat >>$CONFIG_STATUS <<\_ACEOF
3738 fi # test -n "$CONFIG_FILES"
3741 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3744 :[FHLC]) ac_mode=$ac_tag; continue;;
3746 case $ac_mode$ac_tag in
3748 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3749 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3750 { (exit 1); exit 1; }; };;
3751 :[FH]-) ac_tag=-:-;;
3752 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3769 -) ac_f="$tmp/stdin";;
3770 *) # Look for the file first in the build tree, then in the source tree
3771 # (if the path is not absolute). The absolute path cannot be DOS-style,
3772 # because $ac_f cannot contain `:'.
3776 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
3778 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3779 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3780 { (exit 1); exit 1; }; };;
3782 ac_file_inputs
="$ac_file_inputs $ac_f"
3785 # Let's still pretend it is `configure' which instantiates (i.e., don't
3786 # use $as_me), people would be surprised to read:
3787 # /* config.h. Generated by config.status. */
3788 configure_input
='Generated from '`
3789 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3791 if test x
"$ac_file" != x-
; then
3792 configure_input
="$ac_file. $configure_input"
3793 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3794 $as_echo "$as_me: creating $ac_file" >&6;}
3798 *:-:* |
*:-) cat >"$tmp/stdin";;
3803 ac_dir
=`$as_dirname -- "$ac_file" ||
3804 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3805 X"$ac_file" : 'X\(//\)[^/]' \| \
3806 X"$ac_file" : 'X\(//\)$' \| \
3807 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3808 $as_echo X"$ac_file" |
3809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3828 -*) as_dir
=.
/$as_dir;;
3830 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
3834 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3835 *) as_qdir
=$as_dir;;
3837 as_dirs
="'$as_qdir' $as_dirs"
3838 as_dir
=`$as_dirname -- "$as_dir" ||
3839 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3840 X"$as_dir" : 'X\(//\)[^/]' \| \
3841 X"$as_dir" : 'X\(//\)$' \| \
3842 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3843 $as_echo X"$as_dir" |
3844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3861 test -d "$as_dir" && break
3863 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3864 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3865 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3866 { (exit 1); exit 1; }; }; }
3870 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3872 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3873 # A ".." for each directory in $ac_dir_suffix.
3874 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3875 case $ac_top_builddir_sub in
3876 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3877 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
3880 ac_abs_top_builddir
=$ac_pwd
3881 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
3882 # for backward compatibility:
3883 ac_top_builddir
=$ac_top_build_prefix
3886 .
) # We are building in place.
3888 ac_top_srcdir
=$ac_top_builddir_sub
3889 ac_abs_top_srcdir
=$ac_pwd ;;
3890 [\\/]* | ?
:[\\/]* ) # Absolute name.
3891 ac_srcdir
=$srcdir$ac_dir_suffix;
3892 ac_top_srcdir
=$srcdir
3893 ac_abs_top_srcdir
=$srcdir ;;
3895 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
3896 ac_top_srcdir
=$ac_top_build_prefix$srcdir
3897 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
3899 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
3909 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
3910 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
3914 [\\/$
]* | ?
:[\\/]* ) ;;
3915 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
3919 cat >>$CONFIG_STATUS <<\_ACEOF
3920 # If the template does not know about datarootdir, expand it.
3921 # FIXME: This hack should be removed a few years after 2.60.
3922 ac_datarootdir_hack
=; ac_datarootdir_seen
=
3924 case `sed -n '/datarootdir/ {
3933 ' $ac_file_inputs` in
3934 *datarootdir
*) ac_datarootdir_seen
=yes;;
3935 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
3936 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3937 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3939 cat >>$CONFIG_STATUS <<_ACEOF
3940 ac_datarootdir_hack='
3941 s&@datadir@&$datadir&g
3942 s&@docdir@&$docdir&g
3943 s&@infodir@&$infodir&g
3944 s&@localedir@&$localedir&g
3945 s&@mandir@&$mandir&g
3946 s&\\\${datarootdir}&$datarootdir&g' ;;
3950 # Neutralize VPATH when `$srcdir' = `.'.
3951 # Shell code in configure.ac might set extrasub.
3952 # FIXME: do we really want to maintain this feature?
3953 cat >>$CONFIG_STATUS <<_ACEOF
3957 cat >>$CONFIG_STATUS <<\_ACEOF
3959 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3960 s
&@configure_input@
&$configure_input&;t t
3961 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
3962 s
&@srcdir@
&$ac_srcdir&;t t
3963 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
3964 s
&@top_srcdir@
&$ac_top_srcdir&;t t
3965 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
3966 s
&@builddir@
&$ac_builddir&;t t
3967 s
&@abs_builddir@
&$ac_abs_builddir&;t t
3968 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
3969 s
&@INSTALL@
&$ac_INSTALL&;t t
3970 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
3971 $ac_datarootdir_hack
3972 " $ac_file_inputs | $AWK -f "$tmp/subs.
awk" >$tmp/out
3974 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3975 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
3976 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
3977 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
3978 which seems to be undefined. Please make sure it is defined." >&5
3979 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
3980 which seems to be undefined. Please make sure it is defined." >&2;}
3984 -) cat "$tmp/out"; rm -f "$tmp/out";;
3985 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3990 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3991 $as_echo "$as_me: executing $ac_file commands" >&6;}
3996 case $ac_file$ac_mode in
3997 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3998 # Configurable variable values for building test suites.
4000 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
4002 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
4004 abs_builddir='$ac_abs_builddir'
4005 at_srcdir='$ac_srcdir'
4006 abs_srcdir='$ac_abs_srcdir'
4007 at_top_srcdir='$ac_top_srcdir'
4008 abs_top_srcdir='$ac_abs_top_srcdir'
4009 at_top_build_prefix='$ac_top_build_prefix'
4010 abs_top_builddir='$ac_abs_top_builddir'
4012 # Backward compatibility with Autotest <= 2.59b:
4013 at_top_builddir=\$at_top_build_prefix
4015 AUTOTEST_PATH='tests
'
4017 SHELL=\${CONFIG_SHELL-'$SHELL'}
4025 { (exit 0); exit 0; }
4027 chmod +x $CONFIG_STATUS
4028 ac_clean_files=$ac_clean_files_save
4031 # configure is writing to config.log, and then calls config.status.
4032 # config.status does its own redirection, appending to config.log.
4033 # Unfortunately, on DOS this fails, as config.log is still kept open
4034 # by configure, so config.status won't be able to
write to it
; its
4035 # output is simply discarded. So we exec the FD to /dev/null,
4036 # effectively closing config.log, so it can be properly (re)opened and
4037 # appended to by config.status. When coming back to configure, we
4038 # need to make the FD available again.
4039 if test "$no_create" != yes; then
4041 ac_config_status_args
=
4042 test "$silent" = yes &&
4043 ac_config_status_args
="$ac_config_status_args --quiet"
4045 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4047 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4048 # would make configure fail if this is the last instruction.
4049 $ac_cs_success ||
{ (exit 1); exit 1; }
4051 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4052 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4053 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4056 # Report the state of this version of Autoconf if this is a beta.
4059 You are about to use an experimental version of Autoconf. Be sure to
4060 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4062 Below you will find information on the status of this version of Autoconf.
4066 sed -n '/^\* Status/,$p' $srcdir/BUGS