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 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 # Zsh 3.x and 4.x performs 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;."; 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 # Zsh 3.x and 4.x performs 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 # Zsh 3.x and 4.x performs 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 autoconf@gnu.org about your system
,
449 echo including any error possibly output before this
457 test "x$as_lineno_1" != "x$as_lineno_2" &&
458 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
460 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
461 # uniformly replaced by the line number. The first 'sed' inserts a
462 # line-number line after each line using $LINENO; the second 'sed'
463 # does the real work. The second script uses 'N' to pair each
464 # line-number line with the line containing $LINENO, and appends
465 # trailing '-' during substitution so that $LINENO is not a special
467 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
468 # scripts with optimization help from Paolo Bonzini. Blame Lee
469 # E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
487 { (exit 1); exit 1; }; }
489 # Don't try to exec as it changes $[0], causing all sort of problems
490 # (the dirname of $[0] is not the place where we might find the
491 # original and so on. Autoconf is especially sensitive to this).
493 # Exit status is that of the last command.
498 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
504 ECHO_C
= ECHO_N
= ECHO_T
=
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
515 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -p'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
542 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
543 rmdir conf$$.dir
2>/dev
/null
545 if mkdir
-p .
2>/dev
/null
; then
548 test -d .
/-p && rmdir .
/-p
552 if test -x / >/dev
/null
2>&1; then
555 if ls -dL / >/dev
/null
2>&1; then
562 if test -d "$1"; then
568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
569 ???[sx]*):;;*)false;;esac;fi
573 as_executable_p
=$as_test_x
575 # Sed expression to map a string onto a valid CPP name.
576 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
578 # Sed expression to map a string onto a valid variable name.
579 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
583 exec 7<&0 </dev
/null
6>&1
586 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
587 # so uname gets run too.
588 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
593 ac_default_prefix
=/usr
/local
595 ac_config_libobj_dir
=.
601 SHELL
=${CONFIG_SHELL-/bin/sh}
603 # Identity of this package.
604 PACKAGE_NAME
='GNU Autoconf'
605 PACKAGE_TARNAME
='autoconf'
606 PACKAGE_VERSION
='2.61b'
607 PACKAGE_STRING
='GNU Autoconf 2.61b'
608 PACKAGE_BUGREPORT
='bug-autoconf@gnu.org'
610 ac_unique_file
="ChangeLog"
620 program_transform_name
662 INSTALL_STRIP_PROGRAM
686 ac_user_opts
=':enable_option_checking:with_lispdir:'
687 ac_precious_vars
='build_alias
694 # Initialize some variables set by options.
696 ac_init_version
=false
697 ac_unrecognized_opts
=
699 # The variables have the same names as the options, with
700 # dashes changed to underlines.
708 program_transform_name
=s
,x
,x
,
716 # Installation directory options.
717 # These are left unexpanded so users can "make install exec_prefix=/foo"
718 # and all the variables that are supposed to be based on exec_prefix
719 # by default will actually change.
720 # Use braces instead of parens because sh, perl, etc. also accept them.
721 # (The list follows the same order as the GNU Coding Standards.)
722 bindir
='${exec_prefix}/bin'
723 sbindir
='${exec_prefix}/sbin'
724 libexecdir
='${exec_prefix}/libexec'
725 datarootdir
='${prefix}/share'
726 datadir
='${datarootdir}'
727 sysconfdir
='${prefix}/etc'
728 sharedstatedir
='${prefix}/com'
729 localstatedir
='${prefix}/var'
730 includedir
='${prefix}/include'
731 oldincludedir
='/usr/include'
732 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
733 infodir
='${datarootdir}/info'
738 libdir
='${exec_prefix}/lib'
739 localedir
='${datarootdir}/locale'
740 mandir
='${datarootdir}/man'
746 # If the previous option needs an argument, assign it.
747 if test -n "$ac_prev"; then
748 eval $ac_prev=\
$ac_option
754 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758 # Accept the important Cygnus configure options, so we can diagnose typos.
760 case $ac_dashdash$ac_option in
764 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
766 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
769 -build |
--build |
--buil |
--bui |
--bu)
770 ac_prev
=build_alias
;;
771 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
772 build_alias
=$ac_optarg ;;
774 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
775 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
776 ac_prev
=cache_file
;;
777 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
778 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
779 cache_file
=$ac_optarg ;;
782 cache_file
=config.cache
;;
784 -datadir |
--datadir |
--datadi |
--datad)
786 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
787 datadir
=$ac_optarg ;;
789 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
790 |
--dataroo |
--dataro |
--datar)
791 ac_prev
=datarootdir
;;
792 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
793 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
794 datarootdir
=$ac_optarg ;;
796 -disable-* |
--disable-*)
797 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
800 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
801 { (exit 1); exit 1; }; }
802 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
803 case $ac_user_opts in
804 *:enable_
$ac_useropt:*) ;;
805 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt"
806 ac_unrecognized_sep
=', ';;
808 eval enable_
$ac_useropt=no
;;
810 -docdir |
--docdir |
--docdi |
--doc |
--do)
812 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
815 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
817 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
820 -enable-* |
--enable-*)
821 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
822 # Reject names that are not valid shell variable names.
823 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
824 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
825 { (exit 1); exit 1; }; }
826 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
827 case $ac_user_opts in
828 *:enable_
$ac_useropt:*) ;;
829 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt"
830 ac_unrecognized_sep
=', ';;
832 eval enable_
$ac_useropt=\
$ac_optarg ;;
834 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
835 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
836 |
--exec |
--exe |
--ex)
837 ac_prev
=exec_prefix
;;
838 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
839 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
840 |
--exec=* |
--exe=* |
--ex=*)
841 exec_prefix
=$ac_optarg ;;
843 -gas |
--gas |
--ga |
--g)
844 # Obsolete; use --with-gas.
847 -help |
--help |
--hel |
--he |
-h)
849 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
850 ac_init_help
=recursive
;;
851 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
852 ac_init_help
=short
;;
854 -host |
--host |
--hos |
--ho)
855 ac_prev
=host_alias
;;
856 -host=* |
--host=* |
--hos=* |
--ho=*)
857 host_alias
=$ac_optarg ;;
859 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
861 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
863 htmldir
=$ac_optarg ;;
865 -includedir |
--includedir |
--includedi |
--included |
--include \
866 |
--includ |
--inclu |
--incl |
--inc)
867 ac_prev
=includedir
;;
868 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
869 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
870 includedir
=$ac_optarg ;;
872 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
874 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
875 infodir
=$ac_optarg ;;
877 -libdir |
--libdir |
--libdi |
--libd)
879 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
882 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
883 |
--libexe |
--libex |
--libe)
884 ac_prev
=libexecdir
;;
885 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
886 |
--libexe=* |
--libex=* |
--libe=*)
887 libexecdir
=$ac_optarg ;;
889 -localedir |
--localedir |
--localedi |
--localed |
--locale)
891 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
892 localedir
=$ac_optarg ;;
894 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
895 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
896 ac_prev
=localstatedir
;;
897 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
898 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
899 localstatedir
=$ac_optarg ;;
901 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
903 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
907 # Obsolete; use --without-fp.
910 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
911 |
--no-cr |
--no-c |
-n)
914 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
915 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
918 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
919 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
920 |
--oldin |
--oldi |
--old |
--ol |
--o)
921 ac_prev
=oldincludedir
;;
922 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
923 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
924 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
925 oldincludedir
=$ac_optarg ;;
927 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
929 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
932 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
933 |
--program-pre |
--program-pr |
--program-p)
934 ac_prev
=program_prefix
;;
935 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
936 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
937 program_prefix
=$ac_optarg ;;
939 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
940 |
--program-suf |
--program-su |
--program-s)
941 ac_prev
=program_suffix
;;
942 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
943 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
944 program_suffix
=$ac_optarg ;;
946 -program-transform-name |
--program-transform-name \
947 |
--program-transform-nam |
--program-transform-na \
948 |
--program-transform-n |
--program-transform- \
949 |
--program-transform |
--program-transfor \
950 |
--program-transfo |
--program-transf \
951 |
--program-trans |
--program-tran \
952 |
--progr-tra |
--program-tr |
--program-t)
953 ac_prev
=program_transform_name
;;
954 -program-transform-name=* |
--program-transform-name=* \
955 |
--program-transform-nam=* |
--program-transform-na=* \
956 |
--program-transform-n=* |
--program-transform-=* \
957 |
--program-transform=* |
--program-transfor=* \
958 |
--program-transfo=* |
--program-transf=* \
959 |
--program-trans=* |
--program-tran=* \
960 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
961 program_transform_name
=$ac_optarg ;;
963 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
965 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
968 -psdir |
--psdir |
--psdi |
--psd |
--ps)
970 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
973 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
974 |
-silent |
--silent |
--silen |
--sile |
--sil)
977 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
979 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
981 sbindir
=$ac_optarg ;;
983 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
984 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
985 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
987 ac_prev
=sharedstatedir
;;
988 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
989 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
990 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
992 sharedstatedir
=$ac_optarg ;;
994 -site |
--site |
--sit)
996 -site=* |
--site=* |
--sit=*)
999 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1001 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1002 srcdir
=$ac_optarg ;;
1004 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1005 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1006 ac_prev
=sysconfdir
;;
1007 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1008 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1009 sysconfdir
=$ac_optarg ;;
1011 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1012 ac_prev
=target_alias
;;
1013 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1014 target_alias
=$ac_optarg ;;
1016 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1019 -version |
--version |
--versio |
--versi |
--vers |
-V)
1020 ac_init_version
=: ;;
1023 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1026 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1027 { (exit 1); exit 1; }; }
1028 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1029 case $ac_user_opts in
1030 *:with_
$ac_useropt:*) ;;
1031 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt"
1032 ac_unrecognized_sep
=', ';;
1034 eval with_
$ac_useropt=\
$ac_optarg ;;
1036 -without-* |
--without-*)
1037 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1040 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1041 { (exit 1); exit 1; }; }
1042 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1043 case $ac_user_opts in
1044 *:with_
$ac_useropt:*) ;;
1045 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt"
1046 ac_unrecognized_sep
=', ';;
1048 eval with_
$ac_useropt=no
;;
1051 # Obsolete; use --with-x.
1054 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1055 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1056 ac_prev
=x_includes
;;
1057 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1058 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1059 x_includes
=$ac_optarg ;;
1061 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1062 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1063 ac_prev
=x_libraries
;;
1064 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1065 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1066 x_libraries
=$ac_optarg ;;
1068 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1069 Try \`$0 --help' for more information." >&2
1070 { (exit 1); exit 1; }; }
1074 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1077 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1078 { (exit 1); exit 1; }; }
1079 eval $ac_envvar=\
$ac_optarg
1080 export $ac_envvar ;;
1083 # FIXME: should be removed in autoconf 3.0.
1084 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1086 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1087 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1093 if test -n "$ac_prev"; then
1094 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1095 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1096 { (exit 1); exit 1; }; }
1099 if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in
1102 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1103 { (exit 1); exit 1; }; } ;;
1104 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1108 # Be sure to have absolute directory names.
1109 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1110 datadir sysconfdir sharedstatedir localstatedir includedir \
1111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1112 libdir localedir mandir
1114 eval ac_val
=\$
$ac_var
1116 [\\/$
]* | ?
:[\\/]* ) continue;;
1117 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1119 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1120 { (exit 1); exit 1; }; }
1123 # There might be people who depend on the old broken behavior: `$host'
1124 # used to hold the argument of --host etc.
1125 # FIXME: To remove some day.
1128 target
=$target_alias
1130 # FIXME: To remove some day.
1131 if test "x$host_alias" != x
; then
1132 if test "x$build_alias" = x
; then
1133 cross_compiling
=maybe
1134 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1135 If a cross compiler is detected then cross compile mode will be used." >&2
1136 elif test "x$build_alias" != "x$host_alias"; then
1142 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1144 test "$silent" = yes && exec 6>/dev
/null
1147 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1148 ac_ls_di
=`ls -di .` &&
1149 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1150 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1151 { (exit 1); exit 1; }; }
1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1154 { (exit 1); exit 1; }; }
1157 # Find the source files, if location was not specified.
1158 if test -z "$srcdir"; then
1159 ac_srcdir_defaulted
=yes
1160 # Try the directory containing this script, then the parent directory.
1161 ac_confdir
=`$as_dirname -- "$0" ||
1162 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1163 X"$0" : 'X\(//\)[^/]' \| \
1164 X"$0" : 'X\(//\)$' \| \
1165 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1189 ac_srcdir_defaulted
=no
1191 if test ! -r "$srcdir/$ac_unique_file"; then
1192 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1193 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1194 { (exit 1); exit 1; }; }
1196 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1198 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1199 { (exit 1); exit 1; }; }
1201 # When building in place, set srcdir=.
1202 if test "$ac_abs_confdir" = "$ac_pwd"; then
1205 # Remove unnecessary trailing slashes from srcdir.
1206 # Double slashes in file names in object file debugging info
1207 # mess up M-x gdb in Emacs.
1209 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1211 for ac_var
in $ac_precious_vars; do
1212 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1213 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1214 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1215 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1219 # Report the --help message.
1221 if test "$ac_init_help" = "long"; then
1222 # Omit some internal or obsolete options to make the list less imposing.
1223 # This message is too long to be a string in the A/UX 3.1 sh.
1225 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1227 Usage: $0 [OPTION]... [VAR=VALUE]...
1229 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1230 VAR=VALUE. See below for descriptions of some of the useful variables.
1232 Defaults for the options are specified in brackets.
1235 -h, --help display this help and exit
1236 --help=short display options specific to this package
1237 --help=recursive display the short help of all the included packages
1238 -V, --version display version information and exit
1239 -q, --quiet, --silent do not print \`checking...' messages
1240 --cache-file=FILE cache test results in FILE [disabled]
1241 -C, --config-cache alias for \`--cache-file=config.cache'
1242 -n, --no-create do not create output files
1243 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1245 Installation directories:
1246 --prefix=PREFIX install architecture-independent files in PREFIX
1247 [$ac_default_prefix]
1248 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1251 By default, \`make install' will install all the files in
1252 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1253 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1254 for instance \`--prefix=\$HOME'.
1256 For better control, use the options below.
1258 Fine tuning of the installation directories:
1259 --bindir=DIR user executables [EPREFIX/bin]
1260 --sbindir=DIR system admin executables [EPREFIX/sbin]
1261 --libexecdir=DIR program executables [EPREFIX/libexec]
1262 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1263 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1264 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1265 --libdir=DIR object code libraries [EPREFIX/lib]
1266 --includedir=DIR C header files [PREFIX/include]
1267 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1270 --infodir=DIR info documentation [DATAROOTDIR/info]
1271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1272 --mandir=DIR man documentation [DATAROOTDIR/man]
1273 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1274 --htmldir=DIR html documentation [DOCDIR]
1275 --dvidir=DIR dvi documentation [DOCDIR]
1276 --pdfdir=DIR pdf documentation [DOCDIR]
1277 --psdir=DIR ps documentation [DOCDIR]
1283 --program-prefix=PREFIX prepend PREFIX to installed program names
1284 --program-suffix=SUFFIX append SUFFIX to installed program names
1285 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1289 if test -n "$ac_init_help"; then
1290 case $ac_init_help in
1291 short | recursive
) echo "Configuration of GNU Autoconf 2.61b:";;
1296 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1297 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1298 --with-lispdir override the default lisp directory
1300 Some influential environment variables
:
1301 EMACS the Emacs editor
command
1303 the Emacs library search path
1305 Use these variables to override the choices made by
`configure' or to help
1306 it to find libraries and programs with nonstandard names/locations.
1308 Report bugs to <bug-autoconf@gnu.org>.
1313 if test "$ac_init_help" = "recursive"; then
1314 # If there are subdirs, report their specific --help.
1315 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1316 test -d "$ac_dir" || continue
1320 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1322 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1323 # A ".." for each directory in $ac_dir_suffix.
1324 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1325 case $ac_top_builddir_sub in
1326 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1330 ac_abs_top_builddir=$ac_pwd
1331 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1332 # for backward compatibility:
1333 ac_top_builddir=$ac_top_build_prefix
1336 .) # We are building in place.
1338 ac_top_srcdir=$ac_top_builddir_sub
1339 ac_abs_top_srcdir=$ac_pwd ;;
1340 [\\/]* | ?:[\\/]* ) # Absolute name.
1341 ac_srcdir=$srcdir$ac_dir_suffix;
1342 ac_top_srcdir=$srcdir
1343 ac_abs_top_srcdir=$srcdir ;;
1345 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1346 ac_top_srcdir=$ac_top_build_prefix$srcdir
1347 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1349 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1351 cd "$ac_dir" || { ac_status=$?; continue; }
1352 # Check for guested configure.
1353 if test -f "$ac_srcdir/configure.gnu"; then
1355 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1356 elif test -f "$ac_srcdir/configure"; then
1358 $SHELL "$ac_srcdir/configure" --help=recursive
1360 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1362 cd "$ac_pwd" || { ac_status=$?; break; }
1366 test -n "$ac_init_help" && exit $ac_status
1367 if $ac_init_version; then
1369 GNU Autoconf configure 2.61b
1370 generated by GNU Autoconf 2.61b
1372 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1373 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1374 This configure script is free software; the Free Software Foundation
1375 gives unlimited permission to copy, distribute and modify it.
1379 cat >config.log <<_ACEOF
1380 This file contains any messages produced by compilers while
1381 running configure, to aid debugging if configure makes a mistake.
1383 It was created by GNU Autoconf $as_me 2.61b, which was
1384 generated by GNU Autoconf 2.61b. Invocation command line was
1396 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1397 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1398 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1399 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1400 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1402 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1403 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1405 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1406 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1407 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1408 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1409 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1410 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1411 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419 test -z "$as_dir" && as_dir=.
1420 $as_echo "PATH: $as_dir"
1436 # Keep a trace of the command line.
1437 # Strip out --no-create and --no-recursion so they do not pile up.
1438 # Strip out --silent because we don't want to record it for future runs.
1439 # Also quote any args containing shell meta-characters.
1440 # Make two passes to allow for proper duplicate-argument suppression.
1444 ac_must_keep_next=false
1450 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1451 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1452 | -silent | --silent | --silen | --sile | --sil)
1455 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1458 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1460 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1461 if test $ac_must_keep_next = true; then
1462 ac_must_keep_next=false # Got value, back to normal.
1465 *=* | --config-cache | -C | -disable-* | --disable-* \
1466 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1467 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1468 | -with-* | --with-* | -without-* | --without-* | --x)
1469 case "$ac_configure_args0 " in
1470 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1473 -* ) ac_must_keep_next=true ;;
1476 ac_configure_args="$ac_configure_args '$ac_arg'"
1481 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1482 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1484 # When interrupted or exit'd, cleanup temporary files, and complete
1485 # config.log. We remove comments because anyway the quotes in there
1486 # would cause problems or look ugly.
1487 # WARNING: Use '\'' to represent an apostrophe within the trap.
1488 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1489 trap 'exit_status=$?
1490 # Save into config.log some information that might help in debugging.
1495 ## ---------------- ##
1496 ## Cache variables. ##
1497 ## ---------------- ##
1500 # The following way of writing the cache mishandles newlines in values,
1502 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1503 eval ac_val=\$$ac_var
1507 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1508 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1511 _ | IFS | as_nl) ;; #(
1512 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1513 *) $as_unset $ac_var ;;
1518 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1519 *${as_nl}ac_space=\ *)
1521 "s/'\''/'\''\\\\'\'''\''/g;
1522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1525 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1533 ## ----------------- ##
1534 ## Output variables. ##
1535 ## ----------------- ##
1538 for ac_var in $ac_subst_vars
1540 eval ac_val=\$$ac_var
1542 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1544 $as_echo "$ac_var='\''$ac_val'\''"
1548 if test -n "$ac_subst_files"; then
1550 ## ------------------- ##
1551 ## File substitutions. ##
1552 ## ------------------- ##
1555 for ac_var in $ac_subst_files
1557 eval ac_val=\$$ac_var
1559 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1561 $as_echo "$ac_var='\''$ac_val'\''"
1566 if test -s confdefs.h; then
1576 test "$ac_signal" != 0 &&
1577 $as_echo "$as_me: caught signal $ac_signal"
1578 $as_echo "$as_me: exit $exit_status"
1580 rm -f core *.core core.conftest.* &&
1581 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1584 for ac_signal in 1 2 13 15; do
1585 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1589 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1590 rm -f -r conftest* confdefs.h
1592 # Predefined preprocessor variables.
1594 cat >>confdefs.h <<_ACEOF
1595 #define PACKAGE_NAME "$PACKAGE_NAME"
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_STRING "$PACKAGE_STRING"
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1619 # Let the site file select an alternate cache file if it wants to.
1620 # Prefer explicitly selected file to automatically selected ones.
1621 if test -n "$CONFIG_SITE"; then
1622 set x "$CONFIG_SITE"
1623 elif test "x$prefix" != xNONE; then
1624 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1626 set x "$ac_default_prefix/share/config.site" \
1627 "$ac_default_prefix/etc/config.site"
1632 if test -r "$ac_site_file"; then
1633 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1634 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1635 sed 's/^/| /' "$ac_site_file" >&5
1640 if test -r "$cache_file"; then
1641 # Some versions of bash will fail to source /dev/null (special
1642 # files actually), so we avoid doing that.
1643 if test -f "$cache_file"; then
1644 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1645 $as_echo "$as_me: loading cache $cache_file" >&6;}
1647 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1648 *) . "./$cache_file";;
1652 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1653 $as_echo "$as_me: creating cache $cache_file" >&6;}
1657 # Check that the precious variables saved in the cache have kept the same
1659 ac_cache_corrupted=false
1660 for ac_var in $ac_precious_vars; do
1661 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1662 eval ac_new_set=\$ac_env_${ac_var}_set
1663 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1664 eval ac_new_val=\$ac_env_${ac_var}_value
1665 case $ac_old_set,$ac_new_set in
1667 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1668 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1669 ac_cache_corrupted=: ;;
1671 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1672 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1673 ac_cache_corrupted=: ;;
1676 if test "x$ac_old_val" != "x$ac_new_val"; then
1677 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1678 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1679 { $as_echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1680 $as_echo "$as_me: former value
: $ac_old_val" >&2;}
1681 { $as_echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1682 $as_echo "$as_me: current value
: $ac_new_val" >&2;}
1683 ac_cache_corrupted=:
1686 # Pass precious variables to config.status.
1687 if test "$ac_new_set" = set; then
1689 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1690 *) ac_arg=$ac_var=$ac_new_val ;;
1692 case " $ac_configure_args " in
1693 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1694 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1698 if $ac_cache_corrupted; then
1699 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1700 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1701 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1702 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1703 { (exit 1); exit 1; }; }
1731 ac_cpp='$CPP $CPPFLAGS'
1732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1740 for ac_dir in build-aux "$srcdir"/build-aux; do
1741 if test -f "$ac_dir/install-sh"; then
1743 ac_install_sh="$ac_aux_dir/install-sh -c"
1745 elif test -f "$ac_dir/install.sh"; then
1747 ac_install_sh="$ac_aux_dir/install.sh -c"
1749 elif test -f "$ac_dir/shtool"; then
1751 ac_install_sh="$ac_aux_dir/shtool install -c"
1755 if test -z "$ac_aux_dir"; then
1756 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1757 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # These three variables are undocumented and unsupported,
1762 # and are intended to be withdrawn in a future Autoconf release.
1763 # They can cause serious problems if a builder's source tree is in a directory
1764 # whose full name contains unusual characters.
1765 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1766 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1767 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1771 am__api_version='1.10'
1773 # Find a good install program. We prefer a C program (faster),
1774 # so one script is as good as another. But avoid the broken or
1775 # incompatible versions:
1776 # SysV /etc/install, /usr/sbin/install
1777 # SunOS /usr/etc/install
1778 # IRIX /sbin/install
1780 # AmigaOS /C/install, which installs bootblocks on floppy discs
1781 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1782 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1783 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1784 # OS/2's system install, which has a completely different semantic
1785 # ./install, which can be erroneously created by make from ./install.sh.
1786 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1787 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1788 if test -z "$INSTALL"; then
1789 if test "${ac_cv_path_install+set}" = set; then
1790 $as_echo_n "(cached) " >&6
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir=.
1797 # Account for people who put trailing slashes in PATH elements.
1799 ./ | .// | /cC/* | \
1800 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1801 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1804 # OSF1 and SCO ODT 3.0 have their own names for install.
1805 # Don't use installbsd from OSF since it installs stuff as root
1807 for ac_prog in ginstall scoinst install; do
1808 for ac_exec_ext in '' $ac_executable_extensions; do
1809 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1810 if test $ac_prog = install &&
1811 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1812 # AIX install. It has an incompatible calling convention.
1814 elif test $ac_prog = install &&
1815 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1816 # program-specific install script used by HP pwplus--don't use.
1819 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1832 if test "${ac_cv_path_install+set}" = set; then
1833 INSTALL=$ac_cv_path_install
1835 # As a last resort, use the slow shell script. Don't cache a
1836 # value for INSTALL within a source directory, because that will
1837 # break other packages using the cache if that directory is
1838 # removed, or if the value is a relative name.
1839 INSTALL=$ac_install_sh
1842 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1843 $as_echo "$INSTALL" >&6; }
1845 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1846 # It thinks the first close brace ends the variable substitution.
1847 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1849 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1851 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1853 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1854 $as_echo_n "checking whether build environment is sane... " >&6; }
1857 echo timestamp > conftest.file
1858 # Do `set' in a subshell so we don't clobber the current shell
's
1859 # arguments. Must try -L first in case configure is actually a
1860 # symlink; some systems play weird games with the mod time of symlinks
1861 # (eg FreeBSD returns the mod time of the symlink's containing
1864 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1865 if test "$*" = "X"; then
1867 set X
`ls -t $srcdir/configure conftest.file`
1870 if test "$*" != "X $srcdir/configure conftest.file" \
1871 && test "$*" != "X conftest.file $srcdir/configure"; then
1873 # If neither matched, then we have a broken ls. This can happen
1874 # if, for instance, CONFIG_SHELL is bash and it inherits a
1875 # broken ls alias from the environment. This has actually
1876 # happened. Such a system could not be considered "sane".
1877 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1878 alias in your environment" >&5
1879 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1880 alias in your environment" >&2;}
1881 { (exit 1); exit 1; }; }
1884 test "$2" = conftest.
file
1890 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1891 Check your system clock" >&5
1892 $as_echo "$as_me: error: newly created file is older than distributed files!
1893 Check your system clock" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { $as_echo "$as_me:$LINENO: result: yes" >&5
1897 $as_echo "yes" >&6; }
1898 test "$program_prefix" != NONE
&&
1899 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1900 # Use a double $ so make ignores it.
1901 test "$program_suffix" != NONE
&&
1902 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1903 # Double any \ or $.
1904 # By default was `s,x,x', remove it if useless.
1905 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
1906 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
1908 # expand $ac_aux_dir to an absolute path
1909 am_aux_dir
=`cd $ac_aux_dir && pwd`
1911 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1912 # Use eval to expand $SHELL
1913 if eval "$MISSING --run true"; then
1914 am_missing_run
="$MISSING --run "
1917 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1921 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1922 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1923 if test -z "$MKDIR_P"; then
1924 if test "${ac_cv_path_mkdir+set}" = set; then
1925 $as_echo_n "(cached) " >&6
1927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1928 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1931 test -z "$as_dir" && as_dir
=.
1932 for ac_prog
in mkdir gmkdir
; do
1933 for ac_exec_ext
in '' $ac_executable_extensions; do
1934 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
1935 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1936 'mkdir (GNU coreutils) '* | \
1937 'mkdir (coreutils) '* | \
1938 'mkdir (fileutils) '4.1*)
1939 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
1949 if test "${ac_cv_path_mkdir+set}" = set; then
1950 MKDIR_P
="$ac_cv_path_mkdir -p"
1952 # As a last resort, use the slow shell script. Don't cache a
1953 # value for MKDIR_P within a source directory, because that will
1954 # break other packages using the cache if that directory is
1955 # removed, or if the value is a relative name.
1956 test -d .
/--version && rmdir .
/--version
1957 MKDIR_P
="$ac_install_sh -d"
1960 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1961 $as_echo "$MKDIR_P" >&6; }
1965 [\\/$
]* | ?
:[\\/]*) ;;
1966 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
1969 for ac_prog
in gawk mawk nawk
awk
1971 # Extract the first word of "$ac_prog", so it can be a program name with args.
1972 set dummy
$ac_prog; ac_word
=$2
1973 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 $as_echo_n "checking for $ac_word... " >&6; }
1975 if test "${ac_cv_prog_AWK+set}" = set; then
1976 $as_echo_n "(cached) " >&6
1978 if test -n "$AWK"; then
1979 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir
=.
1986 for ac_exec_ext
in '' $ac_executable_extensions; do
1987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1988 ac_cv_prog_AWK
="$ac_prog"
1989 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999 if test -n "$AWK"; then
2000 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2001 $as_echo "$AWK" >&6; }
2003 { $as_echo "$as_me:$LINENO: result: no" >&5
2004 $as_echo "no" >&6; }
2008 test -n "$AWK" && break
2011 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2014 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2015 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2016 $as_echo_n "(cached) " >&6
2018 cat >conftest.
make <<\_ACEOF
2021 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2026 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2028 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2032 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2033 { $as_echo "$as_me:$LINENO: result: yes" >&5
2034 $as_echo "yes" >&6; }
2037 { $as_echo "$as_me:$LINENO: result: no" >&5
2038 $as_echo "no" >&6; }
2039 SET_MAKE
="MAKE=${MAKE-make}"
2042 rm -rf .tst
2>/dev
/null
2043 mkdir .tst
2>/dev
/null
2044 if test -d .tst
; then
2049 rmdir .tst
2>/dev
/null
2051 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2052 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2053 # is not polluted with repeated "-I."
2054 am__isrc
=' -I$(srcdir)'
2055 # test to see if srcdir already configured
2056 if test -f $srcdir/config.status
; then
2057 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2058 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2059 { (exit 1); exit 1; }; }
2063 # test whether we have cygpath
2064 if test -z "$CYGPATH_W"; then
2065 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2066 CYGPATH_W
='cygpath -w'
2073 # Define the identity of the package.
2078 cat >>confdefs.h
<<_ACEOF
2079 #define PACKAGE "$PACKAGE"
2083 cat >>confdefs.h
<<_ACEOF
2084 #define VERSION "$VERSION"
2087 # Some tools Automake needs.
2089 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2092 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2095 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2098 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2101 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2103 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2105 # Installed binaries are usually stripped using `strip' when the user
2106 # run `make install-strip'. However `strip' might not be the right
2107 # tool to use in cross-compilation environments, therefore Automake
2108 # will honor the `STRIP' environment variable to overrule this program.
2109 if test "$cross_compiling" != no
; then
2110 if test -n "$ac_tool_prefix"; then
2111 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2112 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 $as_echo_n "checking for $ac_word... " >&6; }
2115 if test "${ac_cv_prog_STRIP+set}" = set; then
2116 $as_echo_n "(cached) " >&6
2118 if test -n "$STRIP"; then
2119 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir
=.
2126 for ac_exec_ext
in '' $ac_executable_extensions; do
2127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2128 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 STRIP
=$ac_cv_prog_STRIP
2139 if test -n "$STRIP"; then
2140 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2141 $as_echo "$STRIP" >&6; }
2143 { $as_echo "$as_me:$LINENO: result: no" >&5
2144 $as_echo "no" >&6; }
2149 if test -z "$ac_cv_prog_STRIP"; then
2151 # Extract the first word of "strip", so it can be a program name with args.
2152 set dummy strip
; ac_word
=$2
2153 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 $as_echo_n "checking for $ac_word... " >&6; }
2155 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2156 $as_echo_n "(cached) " >&6
2158 if test -n "$ac_ct_STRIP"; then
2159 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir
=.
2166 for ac_exec_ext
in '' $ac_executable_extensions; do
2167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168 ac_cv_prog_ac_ct_STRIP
="strip"
2169 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2179 if test -n "$ac_ct_STRIP"; then
2180 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2181 $as_echo "$ac_ct_STRIP" >&6; }
2183 { $as_echo "$as_me:$LINENO: result: no" >&5
2184 $as_echo "no" >&6; }
2187 if test "x$ac_ct_STRIP" = x
; then
2190 case $cross_compiling:$ac_tool_warned in
2192 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2193 whose name does not start with the host triplet. If you think this
2194 configuration is useful to you, please write to autoconf@gnu.org." >&5
2195 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2196 whose name does not start with the host triplet. If you think this
2197 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2198 ac_tool_warned
=yes ;;
2203 STRIP
="$ac_cv_prog_STRIP"
2207 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2209 # We need awk for the "check" target. The system "awk" is bad on
2211 # Always define AMTAR for backward compatibility.
2213 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2215 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2222 # We use `/bin/sh -n script' to check that there are no syntax errors
2223 # in the scripts. Although incredible, there are /bin/sh that go into
2224 # endless loops with `-n', e.g., SunOS's:
2227 # SunOS ondine 4.1.3 2 sun4m unknown
2234 # $ time sh endless.sh
2235 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2236 # $ time sh -nx endless.sh
2237 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2239 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2240 # that they are unusable on large scripts like our testsuite.
2242 # So before using `/bin/sh -n' to check our scripts, we first check
2243 # that `/bin/sh -n' is known to not have these problems.
2245 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2246 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2247 if test "${ac_cv_sh_n_works+set}" = set; then
2248 $as_echo_n "(cached) " >&6
2251 unset BASH_VERSION ZSH_VERSION
2253 test -n "${BASH_VERSION+set}" || # Bash
2254 test -n "${KSH_VERSION+set}" || # pdksh
2255 test -n "${ZSH_VERSION+set}" || # zsh
2256 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2259 then ac_cv_sh_n_works
=yes
2260 else ac_cv_sh_n_works
=no
2264 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2265 $as_echo "$ac_cv_sh_n_works" >&6; }
2268 # Initialize the test suite.
2269 ac_config_commands
="$ac_config_commands tests/atconfig"
2272 ac_config_files
="$ac_config_files tests/Makefile tests/atlocal"
2274 # Extract the first word of "expr", so it can be a program name with args.
2275 set dummy
expr; ac_word
=$2
2276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 $as_echo_n "checking for $ac_word... " >&6; }
2278 if test "${ac_cv_path_EXPR+set}" = set; then
2279 $as_echo_n "(cached) " >&6
2283 ac_cv_path_EXPR
="$EXPR" # Let the user override the test with a path.
2286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir
=.
2291 for ac_exec_ext
in '' $ac_executable_extensions; do
2292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2293 ac_cv_path_EXPR
="$as_dir/$ac_word$ac_exec_ext"
2294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 EXPR
=$ac_cv_path_EXPR
2305 if test -n "$EXPR"; then
2306 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2307 $as_echo "$EXPR" >&6; }
2309 { $as_echo "$as_me:$LINENO: result: no" >&5
2310 $as_echo "no" >&6; }
2320 # We use an absolute name for GNU m4 so even if users have another m4 first in
2321 # their path, the installer can configure with a path that has GNU m4
2322 # first and get that path embedded in the installed autoconf and
2323 # autoheader scripts.
2324 for ac_prog
in gm4 gnum4
m4
2326 # Extract the first word of "$ac_prog", so it can be a program name with args.
2327 set dummy
$ac_prog; ac_word
=$2
2328 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2329 $as_echo_n "checking for $ac_word... " >&6; }
2330 if test "${ac_cv_path_M4+set}" = set; then
2331 $as_echo_n "(cached) " >&6
2335 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
2338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir
=.
2343 for ac_exec_ext
in '' $ac_executable_extensions; do
2344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2345 ac_cv_path_M4
="$as_dir/$ac_word$ac_exec_ext"
2346 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 if test -n "$M4"; then
2358 { $as_echo "$as_me:$LINENO: result: $M4" >&5
2359 $as_echo "$M4" >&6; }
2361 { $as_echo "$as_me:$LINENO: result: no" >&5
2362 $as_echo "no" >&6; }
2366 test -n "$M4" && break
2368 test -n "$M4" || M4
="m4"
2370 { $as_echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2371 $as_echo_n "checking whether m4 supports frozen files... " >&6; }
2372 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2373 $as_echo_n "(cached) " >&6
2375 ac_cv_prog_gnu_m4
=no
2376 if test x
"$M4" != x
; then
2377 case `$M4 --help < /dev/null 2>&1` in
2378 *reload-state
*) ac_cv_prog_gnu_m4
=yes ;;
2382 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2383 $as_echo "$ac_cv_prog_gnu_m4" >&6; }
2384 if test $ac_cv_prog_gnu_m4 = yes ; then
2385 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2386 $as_echo_n "checking how m4 supports trace files... " >&6; }
2387 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2388 $as_echo_n "(cached) " >&6
2390 case `$M4 --help < /dev/null 2>&1` in
2391 *debugfile
*) ac_cv_prog_gnu_m4_debugfile
=--debugfile ;;
2392 *) ac_cv_prog_gnu_m4_debugfile
=--error-output ;;
2395 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2396 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2397 M4_DEBUGFILE
=$ac_cv_prog_gnu_m4_debugfile
2401 if test x
"$ac_cv_prog_gnu_m4" != xyes
; then
2402 { { $as_echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2403 $as_echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2404 { (exit 1); exit 1; }; }
2411 ac_config_files
="$ac_config_files man/Makefile"
2414 HELP2MAN
=${HELP2MAN-"${am_missing_run}help2man"}
2422 # We use an absolute name for perl so the #! line in autoscan will work.
2423 # Extract the first word of "perl", so it can be a program name with args.
2424 set dummy perl
; ac_word
=$2
2425 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if test "${ac_cv_path_PERL+set}" = set; then
2428 $as_echo_n "(cached) " >&6
2432 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
2435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2439 test -z "$as_dir" && as_dir
=.
2440 for ac_exec_ext
in '' $ac_executable_extensions; do
2441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2442 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
2443 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
2454 PERL
=$ac_cv_path_PERL
2455 if test -n "$PERL"; then
2456 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2457 $as_echo "$PERL" >&6; }
2459 { $as_echo "$as_me:$LINENO: result: no" >&5
2460 $as_echo "no" >&6; }
2464 if test "$PERL" = no
; then
2465 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2466 $as_echo "$as_me: error: perl is not found" >&2;}
2467 { (exit 1); exit 1; }; }
2469 $PERL -e 'require 5.005_03;' ||
{
2470 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2471 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2472 { (exit 1); exit 1; }; }
2480 ac_config_files
="$ac_config_files lib/emacs/Makefile"
2483 test x
"$TEST_EMACS" = xt
&& TEST_EMACS
=
2484 for ac_prog
in emacs xemacs
2486 # Extract the first word of "$ac_prog", so it can be a program name with args.
2487 set dummy
$ac_prog; ac_word
=$2
2488 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 $as_echo_n "checking for $ac_word... " >&6; }
2490 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2491 $as_echo_n "(cached) " >&6
2493 if test -n "$TEST_EMACS"; then
2494 ac_cv_prog_TEST_EMACS
="$TEST_EMACS" # Let the user override the test.
2496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir
=.
2501 for ac_exec_ext
in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_TEST_EMACS
="$ac_prog"
2504 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 TEST_EMACS
=$ac_cv_prog_TEST_EMACS
2514 if test -n "$TEST_EMACS"; then
2515 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2516 $as_echo "$TEST_EMACS" >&6; }
2518 { $as_echo "$as_me:$LINENO: result: no" >&5
2519 $as_echo "no" >&6; }
2523 test -n "$TEST_EMACS" && break
2525 test -n "$TEST_EMACS" || TEST_EMACS
="no"
2528 # autoconf-mode.el and autotest-mode.el do not work with older version of
2529 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2530 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2531 # We detect this problem here.
2532 if test "$TEST_EMACS" != no
; then
2533 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2534 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2535 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2536 $as_echo_n "(cached) " >&6
2538 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2539 cat >conftest.el
<< "EOF"
2541 (defun broken-mode
() (setq broken-defaults
`(broken nil)))
2543 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2544 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; then
2548 ac_cv_prog_emacs_ok=yes
2550 ac_cv_prog_emacs_ok=no
2553 rm -f conftest.el conftest.elc
2555 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2556 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2557 if test $ac_cv_prog_emacs_ok = no; then
2567 # If set to t, that means we are running in a shell under Emacs.
2568 # If you have an Emacs named "t", then use the full path.
2569 test x"$EMACS" = xt && EMACS=
2570 for ac_prog in emacs xemacs
2572 # Extract the first word of "$ac_prog", so it can be a program name with args.
2573 set dummy $ac_prog; ac_word=$2
2574 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if test "${ac_cv_prog_EMACS+set}" = set; then
2577 $as_echo_n "(cached) " >&6
2579 if test -n "$EMACS"; then
2580 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir=.
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 ac_cv_prog_EMACS="$ac_prog"
2590 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2599 EMACS=$ac_cv_prog_EMACS
2600 if test -n "$EMACS"; then
2601 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2602 $as_echo "$EMACS" >&6; }
2604 { $as_echo "$as_me:$LINENO: result: no" >&5
2605 $as_echo "no" >&6; }
2609 test -n "$EMACS" && break
2611 test -n "$EMACS" || EMACS="no"
2616 # Check whether --with-lispdir was given.
2617 if test "${with_lispdir+set}" = set; then
2618 withval=$with_lispdir; lispdir="$withval"
2619 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2620 $as_echo_n "checking where .elc files should go... " >&6; }
2621 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2622 $as_echo "$lispdir" >&6; }
2625 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2626 $as_echo_n "checking where .elc files should go... " >&6; }
2627 if test "${am_cv_lispdir+set}" = set; then
2628 $as_echo_n "(cached) " >&6
2631 if test $EMACS != "no"; then
2632 if test x${lispdir+set} != xset; then
2633 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2634 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2635 # which is non-obvious for non-emacs users.
2636 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2637 # emacsen earlier and avoid running this altogether.
2638 { ($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
2639 ($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
2641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }
2643 am_cv_lispdir=`sed -n \
2645 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2646 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2651 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2654 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2655 $as_echo "$am_cv_lispdir" >&6; }
2656 lispdir="$am_cv_lispdir"
2667 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2668 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2669 if test "${ac_cv_path_GREP+set}" = set; then
2670 $as_echo_n "(cached) " >&6
2672 # Extract the first word of "grep ggrep" to use in msg output
2673 if test -z "$GREP"; then
2674 set dummy grep ggrep; ac_prog_name=$2
2675 if test "${ac_cv_path_GREP+set}" = set; then
2676 $as_echo_n "(cached) " >&6
2678 ac_path_GREP_found=false
2679 # Loop through the user's path and test for each of PROGNAME-LIST
2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2684 test -z "$as_dir" && as_dir=.
2685 for ac_prog in grep ggrep; do
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2688 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2689 # Check for GNU ac_path_GREP and select it if it is found.
2690 # Check for GNU $ac_path_GREP
2691 case `"$ac_path_GREP" --version 2>&1` in
2693 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2696 $as_echo_n 0123456789 >"conftest.in"
2699 cat "conftest.in" "conftest.in" >"conftest.tmp"
2700 mv "conftest.tmp" "conftest.in"
2701 cp "conftest.in" "conftest.nl"
2702 $as_echo 'GREP' >> "conftest.nl"
2703 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2705 ac_count=`expr $ac_count + 1`
2706 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2707 # Best one so far, save it but keep looking for a better one
2708 ac_cv_path_GREP="$ac_path_GREP"
2709 ac_path_GREP_max=$ac_count
2711 # 10*(2^10) chars as input seems more than enough
2712 test $ac_count -gt 10 && break
2714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2718 $ac_path_GREP_found && break 3
2728 GREP="$ac_cv_path_GREP"
2729 if test -z "$GREP"; then
2730 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2731 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2732 { (exit 1); exit 1; }; }
2736 ac_cv_path_GREP=$GREP
2741 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2742 $as_echo "$ac_cv_path_GREP" >&6; }
2743 GREP="$ac_cv_path_GREP"
2746 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2747 $as_echo_n "checking for egrep... " >&6; }
2748 if test "${ac_cv_path_EGREP+set}" = set; then
2749 $as_echo_n "(cached) " >&6
2751 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2752 then ac_cv_path_EGREP="$GREP -E"
2754 # Extract the first word of "egrep" to use in msg output
2755 if test -z "$EGREP"; then
2756 set dummy egrep; ac_prog_name=$2
2757 if test "${ac_cv_path_EGREP+set}" = set; then
2758 $as_echo_n "(cached) " >&6
2760 ac_path_EGREP_found=false
2761 # Loop through the user's path and test for each of PROGNAME-LIST
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2766 test -z "$as_dir" && as_dir=.
2767 for ac_prog in egrep; do
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2770 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2771 # Check for GNU ac_path_EGREP and select it if it is found.
2772 # Check for GNU $ac_path_EGREP
2773 case `"$ac_path_EGREP" --version 2>&1` in
2775 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2778 $as_echo_n 0123456789 >"conftest.in"
2781 cat "conftest.in" "conftest.in" >"conftest.tmp"
2782 mv "conftest.tmp" "conftest.in"
2783 cp "conftest.in" "conftest.nl"
2784 $as_echo 'EGREP' >> "conftest.nl"
2785 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2787 ac_count=`expr $ac_count + 1`
2788 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2789 # Best one so far, save it but keep looking for a better one
2790 ac_cv_path_EGREP="$ac_path_EGREP"
2791 ac_path_EGREP_max=$ac_count
2793 # 10*(2^10) chars as input seems more than enough
2794 test $ac_count -gt 10 && break
2796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2800 $ac_path_EGREP_found && break 3
2810 EGREP="$ac_cv_path_EGREP"
2811 if test -z "$EGREP"; then
2812 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2813 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2814 { (exit 1); exit 1; }; }
2818 ac_cv_path_EGREP=$EGREP
2824 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2825 $as_echo "$ac_cv_path_EGREP" >&6; }
2826 EGREP="$ac_cv_path_EGREP"
2829 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2830 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2831 if test "${ac_cv_path_SED+set}" = set; then
2832 $as_echo_n "(cached) " >&6
2834 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2835 for ac_i in 1 2 3 4 5 6 7; do
2836 ac_script="$ac_script$as_nl$ac_script"
2838 echo "$ac_script" | sed 99q >conftest.sed
2839 $as_unset ac_script || ac_script=
2840 # Extract the first word of "sed gsed" to use in msg output
2841 if test -z "$SED"; then
2842 set dummy sed gsed; ac_prog_name=$2
2843 if test "${ac_cv_path_SED+set}" = set; then
2844 $as_echo_n "(cached) " >&6
2846 ac_path_SED_found=false
2847 # Loop through the user's path and test for each of PROGNAME-LIST
2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir=.
2853 for ac_prog in sed gsed; do
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2856 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2857 # Check for GNU ac_path_SED and select it if it is found.
2858 # Check for GNU $ac_path_SED
2859 case `"$ac_path_SED" --version 2>&1` in
2861 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2864 $as_echo_n 0123456789 >"conftest.in"
2867 cat "conftest.in" "conftest.in" >"conftest.tmp"
2868 mv "conftest.tmp" "conftest.in"
2869 cp "conftest.in" "conftest.nl"
2870 $as_echo '' >> "conftest.nl"
2871 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2872 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2873 ac_count=`expr $ac_count + 1`
2874 if test $ac_count -gt ${ac_path_SED_max-0}; then
2875 # Best one so far, save it but keep looking for a better one
2876 ac_cv_path_SED="$ac_path_SED"
2877 ac_path_SED_max=$ac_count
2879 # 10*(2^10) chars as input seems more than enough
2880 test $ac_count -gt 10 && break
2882 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2886 $ac_path_SED_found && break 3
2896 SED="$ac_cv_path_SED"
2897 if test -z "$SED"; then
2898 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2899 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2900 { (exit 1); exit 1; }; }
2908 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2909 $as_echo "$ac_cv_path_SED" >&6; }
2910 SED="$ac_cv_path_SED"
2919 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"
2922 cat >confcache <<\_ACEOF
2923 # This file is a shell script that caches the results of configure
2924 # tests run on this system so they can be shared between configure
2925 # scripts and configure runs, see configure's option --config-cache.
2926 # It is not useful on other systems. If it contains results you don't
2927 # want to keep, you may remove or edit it.
2929 # config.status only pays attention to the cache file if you give it
2930 # the --recheck option to rerun configure.
2932 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
2933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2938 # The following way of writing the cache mishandles newlines in values,
2939 # but we know of no workaround that is simple, portable, and efficient.
2940 # So, we kill variables containing newlines.
2941 # Ultrix sh set writes to stderr and can't be redirected directly,
2942 # and sets the high bit in the cache file unless we assign to the vars.
2944 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2945 eval ac_val
=\$
$ac_var
2949 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2950 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2953 _ | IFS | as_nl
) ;; #(
2954 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2955 *) $as_unset $ac_var ;;
2961 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2962 *${as_nl}ac_space
=\
*)
2963 # `set' does not quote correctly, so add quotes (double-quote
2964 # substitution turns \\\\ into \\, and sed turns \\ into \).
2967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2970 # `set' quotes correctly as required by POSIX, so do not add quotes.
2971 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2980 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2982 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2984 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
2985 if test -w "$cache_file"; then
2986 test "x$cache_file" != "x/dev/null" &&
2987 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2988 $as_echo "$as_me: updating cache $cache_file" >&6;}
2989 cat confcache
>$cache_file
2991 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2992 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2997 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2998 # Let make expand exec_prefix.
2999 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3001 # Transform confdefs.h into DEFS.
3002 # Protect against shell expansion while executing Makefile rules.
3003 # Protect against Makefile macro expansion.
3005 # If the first sed substitution is executed (which looks for macros that
3006 # take arguments), then branch to the quote section. Otherwise,
3007 # look for a macro that doesn't take arguments.
3011 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3013 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3017 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3030 DEFS
=`sed -n "$ac_script" confdefs.h`
3035 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3036 # 1. Remove the extension, and $U if already installed.
3037 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3038 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3039 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3040 # will be set to the directory where LIBOBJS objects are built.
3041 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3042 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3046 LTLIBOBJS
=$ac_ltlibobjs
3050 : ${CONFIG_STATUS=./config.status}
3051 ac_clean_files_save
=$ac_clean_files
3052 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3053 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3054 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3055 cat >$CONFIG_STATUS <<_ACEOF
3057 # Generated by $as_me.
3058 # Run this file to recreate the current configuration.
3059 # Compiler output produced by configure, useful for debugging
3060 # configure, is in config.log if it exists.
3065 SHELL=\${CONFIG_SHELL-$SHELL}
3068 cat >>$CONFIG_STATUS <<\_ACEOF
3069 ## --------------------- ##
3070 ## M4sh Initialization. ##
3071 ## --------------------- ##
3073 # Be more Bourne compatible
3074 DUALCASE
=1; export DUALCASE
# for MKS sh
3075 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3078 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3079 # is contrary to our usage. Disable this feature.
3080 alias -g '${1+"$@"}'='"$@"'
3081 setopt NO_GLOB_SUBST
3083 case `(set -o) 2>/dev/null` in
3084 *posix
*) set -o posix
;;
3093 # Avoid depending upon Character Ranges.
3094 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3095 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3096 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3097 as_cr_digits
='0123456789'
3098 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3103 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3104 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3105 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3106 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3107 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3108 as_echo='printf %s
\n'
3109 as_echo_n='printf %s
'
3111 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3112 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3113 as_echo_n='/usr
/ucb
/echo -n'
3115 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3116 as_echo_n_body='eval
3120 expr "X$arg" : "X\\(.*\\)$as_nl";
3121 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3123 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3125 export as_echo_n_body
3126 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3129 as_echo='sh
-c $as_echo_body as_echo
'
3132 # The user is always right.
3133 if test "${PATH_SEPARATOR+set}" != set; then
3134 echo "#! /bin/sh" >conf$$.sh
3135 echo "exit 0" >>conf$$.sh
3137 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3145 # Support unset when possible.
3146 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3154 # We need space, tab and new line, in precisely that order. Quoting is
3155 # there to prevent editors from complaining about space-tab.
3156 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3157 # splitting by setting IFS to empty value.)
3160 # Find who we are. Look in the path if we contain no directory separator.
3162 *[\\/]* ) as_myself=$0 ;;
3163 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167 test -z "$as_dir" && as_dir=.
3168 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3174 # We did not find ourselves, most probably we were run as `sh COMMAND'
3175 # in which case we are not to be found in the path.
3176 if test "x$as_myself" = x
; then
3179 if test ! -f "$as_myself"; then
3180 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3181 { (exit 1); exit 1; }
3184 # Work around bugs in pre-3.0 UWIN ksh.
3185 for as_var
in ENV MAIL MAILPATH
3186 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
3194 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3195 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3196 LC_TELEPHONE LC_TIME
3198 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3199 eval $as_var=C
; export $as_var
3201 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
3205 # Required to use basename.
3206 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3207 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3213 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3214 as_basename
=basename
3220 # Name of the executable.
3221 as_me
=`$as_basename -- "$0" ||
3222 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3223 X"$0" : 'X\(//\)$' \| \
3224 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3226 sed '/^.*\/\([^/][^/]*\)\/*$/{
3247 test "x$as_lineno_1" != "x$as_lineno_2" &&
3248 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
3250 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3251 # uniformly replaced by the line number. The first 'sed' inserts a
3252 # line-number line after each line using $LINENO; the second 'sed'
3253 # does the real work. The second script uses 'N' to pair each
3254 # line-number line with the line containing $LINENO, and appends
3255 # trailing '-' during substitution so that $LINENO is not a special
3257 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3258 # scripts with optimization help from Paolo Bonzini. Blame Lee
3259 # E. McMahon (1931-1989) for sed's syntax. :-)
3271 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3275 chmod +x
"$as_me.lineno" ||
3276 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3277 { (exit 1); exit 1; }; }
3279 # Don't try to exec as it changes $[0], causing all sort of problems
3280 # (the dirname of $[0] is not the place where we might find the
3281 # original and so on. Autoconf is especially sensitive to this).
3283 # Exit status is that of the last command.
3288 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3294 ECHO_C
= ECHO_N
= ECHO_T
=
3297 case `echo 'x\c'` in
3298 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3304 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3305 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3311 rm -f conf$$ conf$$.exe conf$$.
file
3312 if test -d conf$$.dir
; then
3313 rm -f conf$$.dir
/conf$$.
file
3319 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3321 # ... but there are two gotchas:
3322 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3323 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3324 # In both cases, we have to default to `cp -p'.
3325 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3327 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3332 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3333 rmdir conf$$.dir
2>/dev
/null
3335 if mkdir
-p .
2>/dev
/null
; then
3338 test -d .
/-p && rmdir .
/-p
3342 if test -x / >/dev
/null
2>&1; then
3345 if ls -dL / >/dev
/null
2>&1; then
3352 if test -d "$1"; then
3358 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3359 ???[sx]*):;;*)false;;esac;fi
3363 as_executable_p
=$as_test_x
3365 # Sed expression to map a string onto a valid CPP name.
3366 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3368 # Sed expression to map a string onto a valid variable name.
3369 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3374 # Save the log message, to keep $[0] and so on meaningful, and to
3375 # report actual input values of CONFIG_FILES etc. instead of their
3376 # values after options handling.
3378 This file was extended by GNU Autoconf $as_me 2.61b, which was
3379 generated by GNU Autoconf 2.61b. Invocation command line was
3381 CONFIG_FILES = $CONFIG_FILES
3382 CONFIG_HEADERS = $CONFIG_HEADERS
3383 CONFIG_LINKS = $CONFIG_LINKS
3384 CONFIG_COMMANDS = $CONFIG_COMMANDS
3387 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3392 cat >>$CONFIG_STATUS <<_ACEOF
3393 # Files that config.status was made for.
3394 config_files="$ac_config_files"
3395 config_commands="$ac_config_commands"
3399 cat >>$CONFIG_STATUS <<\_ACEOF
3401 \`$as_me' instantiates files from templates according to the
3402 current configuration.
3404 Usage: $0 [OPTIONS] [FILE]...
3406 -h, --help print this help, then exit
3407 -V, --version print version number and configuration settings, then exit
3408 -q, --quiet do not print progress messages
3409 -d, --debug don't remove temporary files
3410 --recheck update $as_me by reconfiguring in the same conditions
3411 --file=FILE[:TEMPLATE]
3412 instantiate the configuration file FILE
3414 Configuration files:
3417 Configuration commands:
3420 Report bugs to <bug-autoconf@gnu.org>."
3423 cat >>$CONFIG_STATUS <<_ACEOF
3425 GNU Autoconf config.status 2.61b
3426 configured by $0, generated by GNU Autoconf 2.61b,
3427 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3429 Copyright (C) 2006 Free Software Foundation, Inc.
3430 This config.status script is free software; the Free Software Foundation
3431 gives unlimited permission to copy, distribute and modify it."
3438 test -n "\$AWK" || AWK=awk
3441 cat >>$CONFIG_STATUS <<\_ACEOF
3442 # If no file are specified by the user, then we need to provide default
3443 # value. By we need to know if files were specified by the user.
3449 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3450 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3461 # Handling of the options.
3462 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3464 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3465 $as_echo "$ac_cs_version"; exit ;;
3466 --debug |
--debu |
--deb |
--de |
--d |
-d )
3468 --file |
--fil |
--fi |
--f )
3470 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3471 ac_need_defaults
=false
;;
3472 --he |
--h |
--help |
--hel |
-h )
3473 $as_echo "$ac_cs_usage"; exit ;;
3474 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3475 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3479 -*) { $as_echo "$as_me: error: unrecognized option: $1
3480 Try \`$0 --help' for more information." >&2
3481 { (exit 1); exit 1; }; } ;;
3483 *) ac_config_targets
="$ac_config_targets $1"
3484 ac_need_defaults
=false
;;
3490 ac_configure_extra_args
=
3492 if $ac_cs_silent; then
3494 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3498 cat >>$CONFIG_STATUS <<_ACEOF
3499 if \$ac_cs_recheck; then
3500 set X '$SHELL' '$0'$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3502 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3503 CONFIG_SHELL='$SHELL'
3509 cat >>$CONFIG_STATUS <<\_ACEOF
3513 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3514 ## Running $as_me. ##
3520 cat >>$CONFIG_STATUS <<_ACEOF
3523 cat >>$CONFIG_STATUS <<\_ACEOF
3525 # Handling of arguments.
3526 for ac_config_target
in $ac_config_targets
3528 case $ac_config_target in
3529 "tests/atconfig") CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/atconfig" ;;
3530 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
3531 "tests/atlocal") CONFIG_FILES
="$CONFIG_FILES tests/atlocal" ;;
3532 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
3533 "lib/emacs/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/emacs/Makefile" ;;
3534 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3535 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
3536 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
3537 "lib/Autom4te/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3538 "lib/autoscan/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autoscan/Makefile" ;;
3539 "lib/m4sugar/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3540 "lib/autoconf/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autoconf/Makefile" ;;
3541 "lib/autotest/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autotest/Makefile" ;;
3542 "bin/Makefile") CONFIG_FILES
="$CONFIG_FILES bin/Makefile" ;;
3544 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3545 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3546 { (exit 1); exit 1; }; };;
3551 # If the user did not use the arguments to specify the items to instantiate,
3552 # then the envvar interface is used. Set only those that are not.
3553 # We use the long form for the default assignment because of an extremely
3554 # bizarre bug on SunOS 4.1.3.
3555 if $ac_need_defaults; then
3556 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3557 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3560 # Have a temporary directory for convenience. Make it in the build tree
3561 # simply because there is no reason against having it here, and in addition,
3562 # creating and moving files from /tmp can sometimes cause problems.
3563 # Hook for its removal unless debugging.
3564 # Note that there is a small window in which the directory will not be cleaned:
3565 # after its creation but before its name has been assigned to `$tmp'.
3569 trap 'exit_status=$?
3570 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3572 trap '{ (exit 1); exit 1; }' 1 2 13 15
3574 # Create a (secure) tmp directory for tmp files.
3577 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3578 test -n "$tmp" && test -d "$tmp"
3581 tmp
=.
/conf$$
-$RANDOM
3582 (umask 077 && mkdir
"$tmp")
3585 $as_echo "$me: cannot create a temporary directory in ." >&2
3586 { (exit 1); exit 1; }
3589 # Set up the scripts for CONFIG_FILES section.
3590 # No need to generate them if there are no CONFIG_FILES.
3591 # This happens for instance with `./config.status config.h'.
3592 if test -n "$CONFIG_FILES"; then
3595 echo 'BEGIN {' >"$tmp/subs.awk"
3600 echo "cat >conf$$subs.awk <<_ACEOF"
3601 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3604 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3606 for ac_last_try in false false false false false :; do
3609 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3611 elif $ac_last_try; then
3612 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
3613 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
3614 { (exit 1); exit 1; }; }
3616 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3621 cat >>$CONFIG_STATUS <<_ACEOF
3622 cat >>"\
$tmp/subs.
awk" <<\CEOF
3626 s/^/S["/; s
/!.
*/"]=/
3636 s/\(.\{148\}\).*/\1/
3638 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3643 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3650 s/\(.\{148\}\).*/\1/
3652 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3656 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3661 ' <conf$$subs.awk | sed '
3667 rm -f conf$$subs.awk
3668 cat >>$CONFIG_STATUS <<_ACEOF
3670 cat >>"\$tmp/subs.awk" <<CEOF
3671 for (key in S) S_is_set[key] = 1
3677 nfields = split(line, field, "@")
3679 len = length(field[1])
3680 for (i = 2; i < nfields; i++) {
3682 keylen = length(key)
3683 if (S_is_set[key]) {
3685 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3686 len += length(value) + length(field[++i])
3698 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3699 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3700 # trailing colons and then remove the whole line if VPATH becomes empty
3701 # (actually we leave an empty line to preserve line numbers).
3702 if test "x$srcdir" = x.; then
3703 ac_vpsub='/^
[ ]*VPATH
[ ]*=/{
3707 s
/^\
([^
=]*=[ ]*\
):*/\
1/
3713 cat >>$CONFIG_STATUS <<\_ACEOF
3714 fi # test -n "$CONFIG_FILES"
3717 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3720 :[FHLC]) ac_mode=$ac_tag; continue;;
3722 case $ac_mode$ac_tag in
3724 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3725 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3726 { (exit 1); exit 1; }; };;
3727 :[FH]-) ac_tag=-:-;;
3728 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3745 -) ac_f="$tmp/stdin";;
3746 *) # Look for the file first in the build tree, then in the source tree
3747 # (if the path is not absolute). The absolute path cannot be DOS-style,
3748 # because $ac_f cannot contain `:'.
3752 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
3754 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3755 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3756 { (exit 1); exit 1; }; };;
3758 ac_file_inputs
="$ac_file_inputs $ac_f"
3761 # Let's still pretend it is `configure' which instantiates (i.e., don't
3762 # use $as_me), people would be surprised to read:
3763 # /* config.h. Generated by config.status. */
3764 configure_input
='Generated from '`
3765 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3767 if test x
"$ac_file" != x-
; then
3768 configure_input
="$ac_file. $configure_input"
3769 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3770 $as_echo "$as_me: creating $ac_file" >&6;}
3774 *:-:* |
*:-) cat >"$tmp/stdin";;
3779 ac_dir
=`$as_dirname -- "$ac_file" ||
3780 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3781 X"$ac_file" : 'X\(//\)[^/]' \| \
3782 X"$ac_file" : 'X\(//\)$' \| \
3783 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3784 $as_echo X"$ac_file" |
3785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3804 -*) as_dir
=.
/$as_dir;;
3806 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
3810 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3811 *) as_qdir
=$as_dir;;
3813 as_dirs
="'$as_qdir' $as_dirs"
3814 as_dir
=`$as_dirname -- "$as_dir" ||
3815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3816 X"$as_dir" : 'X\(//\)[^/]' \| \
3817 X"$as_dir" : 'X\(//\)$' \| \
3818 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3819 $as_echo X"$as_dir" |
3820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3837 test -d "$as_dir" && break
3839 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3840 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3841 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3842 { (exit 1); exit 1; }; }; }
3846 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3848 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3849 # A ".." for each directory in $ac_dir_suffix.
3850 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3851 case $ac_top_builddir_sub in
3852 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3853 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
3856 ac_abs_top_builddir
=$ac_pwd
3857 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
3858 # for backward compatibility:
3859 ac_top_builddir
=$ac_top_build_prefix
3862 .
) # We are building in place.
3864 ac_top_srcdir
=$ac_top_builddir_sub
3865 ac_abs_top_srcdir
=$ac_pwd ;;
3866 [\\/]* | ?
:[\\/]* ) # Absolute name.
3867 ac_srcdir
=$srcdir$ac_dir_suffix;
3868 ac_top_srcdir
=$srcdir
3869 ac_abs_top_srcdir
=$srcdir ;;
3871 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
3872 ac_top_srcdir
=$ac_top_build_prefix$srcdir
3873 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
3875 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
3885 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
3886 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
3890 [\\/$
]* | ?
:[\\/]* ) ;;
3891 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
3895 cat >>$CONFIG_STATUS <<\_ACEOF
3896 # If the template does not know about datarootdir, expand it.
3897 # FIXME: This hack should be removed a few years after 2.60.
3898 ac_datarootdir_hack
=; ac_datarootdir_seen
=
3900 case `sed -n '/datarootdir/ {
3909 ' $ac_file_inputs` in
3910 *datarootdir
*) ac_datarootdir_seen
=yes;;
3911 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
3912 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3913 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3915 cat >>$CONFIG_STATUS <<_ACEOF
3916 ac_datarootdir_hack='
3917 s&@datadir@&$datadir&g
3918 s&@docdir@&$docdir&g
3919 s&@infodir@&$infodir&g
3920 s&@localedir@&$localedir&g
3921 s&@mandir@&$mandir&g
3922 s&\\\${datarootdir}&$datarootdir&g' ;;
3926 # Neutralize VPATH when `$srcdir' = `.'.
3927 # Shell code in configure.ac might set extrasub.
3928 # FIXME: do we really want to maintain this feature?
3929 cat >>$CONFIG_STATUS <<_ACEOF
3933 cat >>$CONFIG_STATUS <<\_ACEOF
3935 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3936 s
&@configure_input@
&$configure_input&;t t
3937 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
3938 s
&@srcdir@
&$ac_srcdir&;t t
3939 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
3940 s
&@top_srcdir@
&$ac_top_srcdir&;t t
3941 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
3942 s
&@builddir@
&$ac_builddir&;t t
3943 s
&@abs_builddir@
&$ac_abs_builddir&;t t
3944 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
3945 s
&@INSTALL@
&$ac_INSTALL&;t t
3946 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
3947 $ac_datarootdir_hack
3948 " $ac_file_inputs | $AWK -f "$tmp/subs.
awk" >$tmp/out
3950 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3951 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
3952 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
3953 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
3954 which seems to be undefined. Please make sure it is defined." >&5
3955 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
3956 which seems to be undefined. Please make sure it is defined." >&2;}
3960 -) cat "$tmp/out"; rm -f "$tmp/out";;
3961 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3966 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3967 $as_echo "$as_me: executing $ac_file commands" >&6;}
3972 case $ac_file$ac_mode in
3973 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3974 # Configurable variable values for building test suites.
3976 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3978 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3980 abs_builddir='$ac_abs_builddir'
3981 at_srcdir='$ac_srcdir'
3982 abs_srcdir='$ac_abs_srcdir'
3983 at_top_srcdir='$ac_top_srcdir'
3984 abs_top_srcdir='$ac_abs_top_srcdir'
3985 at_top_build_prefix='$ac_top_build_prefix'
3986 abs_top_builddir='$ac_abs_top_builddir'
3988 # Backward compatibility with Autotest <= 2.59b:
3989 at_top_builddir=\$at_top_build_prefix
3991 AUTOTEST_PATH='tests
'
3993 SHELL=\${CONFIG_SHELL-'$SHELL'}
4001 { (exit 0); exit 0; }
4003 chmod +x $CONFIG_STATUS
4004 ac_clean_files=$ac_clean_files_save
4007 # configure is writing to config.log, and then calls config.status.
4008 # config.status does its own redirection, appending to config.log.
4009 # Unfortunately, on DOS this fails, as config.log is still kept open
4010 # by configure, so config.status won't be able to
write to it
; its
4011 # output is simply discarded. So we exec the FD to /dev/null,
4012 # effectively closing config.log, so it can be properly (re)opened and
4013 # appended to by config.status. When coming back to configure, we
4014 # need to make the FD available again.
4015 if test "$no_create" != yes; then
4017 ac_config_status_args
=
4018 test "$silent" = yes &&
4019 ac_config_status_args
="$ac_config_status_args --quiet"
4021 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4023 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4024 # would make configure fail if this is the last instruction.
4025 $ac_cs_success ||
{ (exit 1); exit 1; }
4027 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4028 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4029 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4032 # Report the state of this version of Autoconf if this is a beta.
4035 You are about to use an experimental version of Autoconf. Be sure to
4036 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4038 Below you will find information on the status of this version of Autoconf.
4042 sed -n '/^\* Status/,$p' $srcdir/BUGS