2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59d for GNU Autoconf 2.59d.
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 Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells which exist, to save several forks.
236 if test -f "$as_shell" &&
237 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (dirname -- /) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME
='GNU Autoconf'
561 PACKAGE_TARNAME
='autoconf'
562 PACKAGE_VERSION
='2.59d'
563 PACKAGE_STRING
='GNU Autoconf 2.59d'
564 PACKAGE_BUGREPORT
='bug-autoconf@gnu.org'
566 ac_unique_file
="ChangeLog"
576 program_transform_name
617 INSTALL_STRIP_PROGRAM
640 ac_precious_vars
='build_alias
647 # Initialize some variables set by options.
649 ac_init_version
=false
650 # The variables have the same names as the options, with
651 # dashes changed to underlines.
659 program_transform_name
=s
,x
,x
,
667 # Installation directory options.
668 # These are left unexpanded so users can "make install exec_prefix=/foo"
669 # and all the variables that are supposed to be based on exec_prefix
670 # by default will actually change.
671 # Use braces instead of parens because sh, perl, etc. also accept them.
672 # (The list follows the same order as the GNU Coding Standards.)
673 bindir
='${exec_prefix}/bin'
674 sbindir
='${exec_prefix}/sbin'
675 libexecdir
='${exec_prefix}/libexec'
676 datarootdir
='${prefix}/share'
677 datadir
='${datarootdir}'
678 sysconfdir
='${prefix}/etc'
679 sharedstatedir
='${prefix}/com'
680 localstatedir
='${prefix}/var'
681 includedir
='${prefix}/include'
682 oldincludedir
='/usr/include'
683 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
684 infodir
='${datarootdir}/info'
689 libdir
='${exec_prefix}/lib'
690 localedir
='${datarootdir}/locale'
691 mandir
='${datarootdir}/man'
697 # If the previous option needs an argument, assign it.
698 if test -n "$ac_prev"; then
699 eval $ac_prev=\
$ac_option
705 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
709 # Accept the important Cygnus configure options, so we can diagnose typos.
711 case $ac_dashdash$ac_option in
715 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
717 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
720 -build |
--build |
--buil |
--bui |
--bu)
721 ac_prev
=build_alias
;;
722 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
723 build_alias
=$ac_optarg ;;
725 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
726 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
727 ac_prev
=cache_file
;;
728 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
729 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
730 cache_file
=$ac_optarg ;;
733 cache_file
=config.cache
;;
735 -datadir |
--datadir |
--datadi |
--datad)
737 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
738 datadir
=$ac_optarg ;;
740 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
741 |
--dataroo |
--dataro |
--datar)
742 ac_prev
=datarootdir
;;
743 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
744 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
745 datarootdir
=$ac_optarg ;;
747 -disable-* |
--disable-*)
748 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
751 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
752 { (exit 1); exit 1; }; }
753 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
754 eval enable_
$ac_feature=no
;;
756 -docdir |
--docdir |
--docdi |
--doc |
--do)
758 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
761 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
763 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
766 -enable-* |
--enable-*)
767 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
768 # Reject names that are not valid shell variable names.
769 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
770 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
771 { (exit 1); exit 1; }; }
772 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
773 eval enable_
$ac_feature=\
$ac_optarg ;;
775 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
776 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
777 |
--exec |
--exe |
--ex)
778 ac_prev
=exec_prefix
;;
779 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
780 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
781 |
--exec=* |
--exe=* |
--ex=*)
782 exec_prefix
=$ac_optarg ;;
784 -gas |
--gas |
--ga |
--g)
785 # Obsolete; use --with-gas.
788 -help |
--help |
--hel |
--he |
-h)
790 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
791 ac_init_help
=recursive
;;
792 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
793 ac_init_help
=short
;;
795 -host |
--host |
--hos |
--ho)
796 ac_prev
=host_alias
;;
797 -host=* |
--host=* |
--hos=* |
--ho=*)
798 host_alias
=$ac_optarg ;;
800 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
802 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
804 htmldir
=$ac_optarg ;;
806 -includedir |
--includedir |
--includedi |
--included |
--include \
807 |
--includ |
--inclu |
--incl |
--inc)
808 ac_prev
=includedir
;;
809 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
810 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
811 includedir
=$ac_optarg ;;
813 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
815 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
816 infodir
=$ac_optarg ;;
818 -libdir |
--libdir |
--libdi |
--libd)
820 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
823 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
824 |
--libexe |
--libex |
--libe)
825 ac_prev
=libexecdir
;;
826 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
827 |
--libexe=* |
--libex=* |
--libe=*)
828 libexecdir
=$ac_optarg ;;
830 -localedir |
--localedir |
--localedi |
--localed |
--locale)
832 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
833 localedir
=$ac_optarg ;;
835 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
836 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
837 ac_prev
=localstatedir
;;
838 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
839 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
840 localstatedir
=$ac_optarg ;;
842 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
844 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
848 # Obsolete; use --without-fp.
851 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
852 |
--no-cr |
--no-c |
-n)
855 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
856 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
859 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
860 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
861 |
--oldin |
--oldi |
--old |
--ol |
--o)
862 ac_prev
=oldincludedir
;;
863 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
864 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
865 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
866 oldincludedir
=$ac_optarg ;;
868 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
870 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
873 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
874 |
--program-pre |
--program-pr |
--program-p)
875 ac_prev
=program_prefix
;;
876 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
877 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
878 program_prefix
=$ac_optarg ;;
880 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
881 |
--program-suf |
--program-su |
--program-s)
882 ac_prev
=program_suffix
;;
883 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
884 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
885 program_suffix
=$ac_optarg ;;
887 -program-transform-name |
--program-transform-name \
888 |
--program-transform-nam |
--program-transform-na \
889 |
--program-transform-n |
--program-transform- \
890 |
--program-transform |
--program-transfor \
891 |
--program-transfo |
--program-transf \
892 |
--program-trans |
--program-tran \
893 |
--progr-tra |
--program-tr |
--program-t)
894 ac_prev
=program_transform_name
;;
895 -program-transform-name=* |
--program-transform-name=* \
896 |
--program-transform-nam=* |
--program-transform-na=* \
897 |
--program-transform-n=* |
--program-transform-=* \
898 |
--program-transform=* |
--program-transfor=* \
899 |
--program-transfo=* |
--program-transf=* \
900 |
--program-trans=* |
--program-tran=* \
901 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
902 program_transform_name
=$ac_optarg ;;
904 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
906 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
909 -psdir |
--psdir |
--psdi |
--psd |
--ps)
911 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
914 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
915 |
-silent |
--silent |
--silen |
--sile |
--sil)
918 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
920 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
922 sbindir
=$ac_optarg ;;
924 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
925 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
926 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
928 ac_prev
=sharedstatedir
;;
929 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
930 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
931 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
933 sharedstatedir
=$ac_optarg ;;
935 -site |
--site |
--sit)
937 -site=* |
--site=* |
--sit=*)
940 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
942 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
945 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
946 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
947 ac_prev
=sysconfdir
;;
948 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
949 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
950 sysconfdir
=$ac_optarg ;;
952 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
953 ac_prev
=target_alias
;;
954 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
955 target_alias
=$ac_optarg ;;
957 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
960 -version |
--version |
--versio |
--versi |
--vers |
-V)
964 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
967 { echo "$as_me: error: invalid package name: $ac_package" >&2
968 { (exit 1); exit 1; }; }
969 ac_package
=`echo $ac_package| sed 's/-/_/g'`
970 eval with_
$ac_package=\
$ac_optarg ;;
972 -without-* |
--without-*)
973 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
976 { echo "$as_me: error: invalid package name: $ac_package" >&2
977 { (exit 1); exit 1; }; }
978 ac_package
=`echo $ac_package | sed 's/-/_/g'`
979 eval with_
$ac_package=no
;;
982 # Obsolete; use --with-x.
985 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
986 |
--x-incl |
--x-inc |
--x-in |
--x-i)
987 ac_prev
=x_includes
;;
988 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
989 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
990 x_includes
=$ac_optarg ;;
992 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
993 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
994 ac_prev
=x_libraries
;;
995 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
996 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
997 x_libraries
=$ac_optarg ;;
999 -*) { echo "$as_me: error: unrecognized option: $ac_option
1000 Try \`$0 --help' for more information." >&2
1001 { (exit 1); exit 1; }; }
1005 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1008 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1009 { (exit 1); exit 1; }; }
1010 eval $ac_envvar=\
$ac_optarg
1011 export $ac_envvar ;;
1014 # FIXME: should be removed in autoconf 3.0.
1015 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1016 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1017 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1018 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1024 if test -n "$ac_prev"; then
1025 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1026 { echo "$as_me: error: missing argument to $ac_option" >&2
1027 { (exit 1); exit 1; }; }
1030 # Be sure to have absolute directory names.
1031 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1032 datadir sysconfdir sharedstatedir localstatedir includedir \
1033 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1034 libdir localedir mandir
1036 eval ac_val
=\$
$ac_var
1038 [\\/$
]* | ?
:[\\/]* ) continue;;
1039 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1041 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1042 { (exit 1); exit 1; }; }
1045 # There might be people who depend on the old broken behavior: `$host'
1046 # used to hold the argument of --host etc.
1047 # FIXME: To remove some day.
1050 target
=$target_alias
1052 # FIXME: To remove some day.
1053 if test "x$host_alias" != x
; then
1054 if test "x$build_alias" = x
; then
1055 cross_compiling
=maybe
1056 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1057 If a cross compiler is detected then cross compile mode will be used." >&2
1058 elif test "x$build_alias" != "x$host_alias"; then
1064 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1066 test "$silent" = yes && exec 6>/dev
/null
1069 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1070 ac_ls_di
=`ls -di .` &&
1071 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1072 { echo "$as_me: error: Working directory cannot be determined" >&2
1073 { (exit 1); exit 1; }; }
1074 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1075 { echo "$as_me: error: pwd does not report name of working directory" >&2
1076 { (exit 1); exit 1; }; }
1079 # Find the source files, if location was not specified.
1080 if test -z "$srcdir"; then
1081 ac_srcdir_defaulted
=yes
1082 # Try the directory containing this script, then the parent directory.
1083 ac_confdir
=`$as_dirname -- "$0" ||
1084 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1085 X"$0" : 'X\(//\)[^/]' \| \
1086 X"$0" : 'X\(//\)$' \| \
1087 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1107 if test ! -r "$srcdir/$ac_unique_file"; then
1111 ac_srcdir_defaulted
=no
1113 if test ! -r "$srcdir/$ac_unique_file"; then
1114 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1115 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1116 { (exit 1); exit 1; }; }
1118 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1120 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1121 { (exit 1); exit 1; }; }
1123 # When building in place, set srcdir=.
1124 if test "$ac_abs_confdir" = "$ac_pwd"; then
1127 # Remove unnecessary trailing slashes from srcdir.
1128 # Double slashes in file names in object file debugging info
1129 # mess up M-x gdb in Emacs.
1131 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1133 for ac_var
in $ac_precious_vars; do
1134 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1135 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1136 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1137 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1141 # Report the --help message.
1143 if test "$ac_init_help" = "long"; then
1144 # Omit some internal or obsolete options to make the list less imposing.
1145 # This message is too long to be a string in the A/UX 3.1 sh.
1147 \`configure' configures GNU Autoconf 2.59d to adapt to many kinds of systems.
1149 Usage: $0 [OPTION]... [VAR=VALUE]...
1151 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1152 VAR=VALUE. See below for descriptions of some of the useful variables.
1154 Defaults for the options are specified in brackets.
1157 -h, --help display this help and exit
1158 --help=short display options specific to this package
1159 --help=recursive display the short help of all the included packages
1160 -V, --version display version information and exit
1161 -q, --quiet, --silent do not print \`checking...' messages
1162 --cache-file=FILE cache test results in FILE [disabled]
1163 -C, --config-cache alias for \`--cache-file=config.cache'
1164 -n, --no-create do not create output files
1165 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1167 Installation directories:
1168 --prefix=PREFIX install architecture-independent files in PREFIX
1169 [$ac_default_prefix]
1170 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1173 By default, \`make install' will install all the files in
1174 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1175 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1176 for instance \`--prefix=\$HOME'.
1178 For better control, use the options below.
1180 Fine tuning of the installation directories:
1181 --bindir=DIR user executables [EPREFIX/bin]
1182 --sbindir=DIR system admin executables [EPREFIX/sbin]
1183 --libexecdir=DIR program executables [EPREFIX/libexec]
1184 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1185 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1186 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1187 --libdir=DIR object code libraries [EPREFIX/lib]
1188 --includedir=DIR C header files [PREFIX/include]
1189 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1190 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1191 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1192 --infodir=DIR info documentation [DATAROOTDIR/info]
1193 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1194 --mandir=DIR man documentation [DATAROOTDIR/man]
1195 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1196 --htmldir=DIR html documentation [DOCDIR]
1197 --dvidir=DIR dvi documentation [DOCDIR]
1198 --pdfdir=DIR pdf documentation [DOCDIR]
1199 --psdir=DIR ps documentation [DOCDIR]
1205 --program-prefix=PREFIX prepend PREFIX to installed program names
1206 --program-suffix=SUFFIX append SUFFIX to installed program names
1207 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1211 if test -n "$ac_init_help"; then
1212 case $ac_init_help in
1213 short | recursive
) echo "Configuration of GNU Autoconf 2.59d:";;
1218 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1219 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1220 --with-lispdir override the default lisp directory
1222 Some influential environment variables
:
1223 EMACS the Emacs editor
command
1225 the Emacs library search path
1227 Use these variables to override the choices made by
`configure' or to help
1228 it to find libraries and programs with nonstandard names/locations.
1230 Report bugs to <bug-autoconf@gnu.org>.
1235 if test "$ac_init_help" = "recursive"; then
1236 # If there are subdirs, report their specific --help.
1237 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1238 test -d "$ac_dir" || continue
1242 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1244 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1245 # A ".." for each directory in $ac_dir_suffix.
1246 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1247 case $ac_top_builddir_sub in
1248 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1249 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1252 ac_abs_top_builddir=$ac_pwd
1253 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1254 # for backward compatibility:
1255 ac_top_builddir=$ac_top_build_prefix
1258 .) # We are building in place.
1260 ac_top_srcdir=$ac_top_builddir_sub
1261 ac_abs_top_srcdir=$ac_pwd ;;
1262 [\\/]* | ?:[\\/]* ) # Absolute name.
1263 ac_srcdir=$srcdir$ac_dir_suffix;
1264 ac_top_srcdir=$srcdir
1265 ac_abs_top_srcdir=$srcdir ;;
1267 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1268 ac_top_srcdir=$ac_top_build_prefix$srcdir
1269 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1271 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1273 cd "$ac_dir" || { ac_status=$?; continue; }
1274 # Check for guested configure.
1275 if test -f "$ac_srcdir/configure.gnu"; then
1277 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1278 elif test -f "$ac_srcdir/configure"; then
1280 $SHELL "$ac_srcdir/configure" --help=recursive
1282 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1284 cd "$ac_pwd" || { ac_status=$?; break; }
1288 test -n "$ac_init_help" && exit $ac_status
1289 if $ac_init_version; then
1291 GNU Autoconf configure 2.59d
1292 generated by GNU Autoconf 2.59d
1294 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1295 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1296 This configure script is free software; the Free Software Foundation
1297 gives unlimited permission to copy, distribute and modify it.
1301 cat >config.log <<_ACEOF
1302 This file contains any messages produced by compilers while
1303 running configure, to aid debugging if configure makes a mistake.
1305 It was created by GNU Autoconf $as_me 2.59d, which was
1306 generated by GNU Autoconf 2.59d. Invocation command line was
1318 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1319 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1320 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1321 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1322 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1324 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1325 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1327 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1328 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1329 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1330 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1331 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1332 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1333 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1341 test -z "$as_dir" && as_dir=.
1342 echo "PATH: $as_dir"
1358 # Keep a trace of the command line.
1359 # Strip out --no-create and --no-recursion so they do not pile up.
1360 # Strip out --silent because we don't want to record it for future runs.
1361 # Also quote any args containing shell meta-characters.
1362 # Make two passes to allow for proper duplicate-argument suppression.
1367 ac_must_keep_next=false
1373 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1375 | -silent | --silent | --silen | --sile | --sil)
1378 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1381 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1383 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1384 if test $ac_must_keep_next = true; then
1385 ac_must_keep_next=false # Got value, back to normal.
1388 *=* | --config-cache | -C | -disable-* | --disable-* \
1389 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1390 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1391 | -with-* | --with-* | -without-* | --without-* | --x)
1392 case "$ac_configure_args0 " in
1393 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1396 -* ) ac_must_keep_next=true ;;
1399 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1400 # Get rid of the leading space.
1406 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1407 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1409 # When interrupted or exit'd, cleanup temporary files, and complete
1410 # config.log. We remove comments because anyway the quotes in there
1411 # would cause problems or look ugly.
1412 # WARNING: Use '\'' to represent an apostrophe within the trap.
1413 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1414 trap 'exit_status=$?
1415 # Save into config.log some information that might help in debugging.
1420 ## ---------------- ##
1421 ## Cache variables. ##
1422 ## ---------------- ##
1425 # The following way of writing the cache mishandles newlines in values,
1427 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1428 eval ac_val=\$$ac_var
1432 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1433 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1436 _ | IFS | as_nl) ;; #(
1437 *) $as_unset $ac_var ;;
1442 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1443 *${as_nl}ac_space=\ *)
1445 "s/'\''/'\''\\\\'\'''\''/g;
1446 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1449 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1457 ## ----------------- ##
1458 ## Output variables. ##
1459 ## ----------------- ##
1462 for ac_var in $ac_subst_vars
1464 eval ac_val=\$$ac_var
1465 echo "$ac_var='\''$ac_val'\''"
1469 if test -n "$ac_subst_files"; then
1471 ## ------------------- ##
1472 ## File substitutions. ##
1473 ## ------------------- ##
1476 for ac_var in $ac_subst_files
1478 eval ac_val=\$$ac_var
1479 echo "$ac_var='\''$ac_val'\''"
1484 if test -s confdefs.h; then
1494 test "$ac_signal" != 0 &&
1495 echo "$as_me: caught signal $ac_signal"
1496 echo "$as_me: exit $exit_status"
1498 rm -f core *.core core.conftest.* &&
1499 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1502 for ac_signal in 1 2 13 15; do
1503 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1507 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1508 rm -f -r conftest* confdefs.h
1510 # Predefined preprocessor variables.
1512 cat >>confdefs.h <<_ACEOF
1513 #define PACKAGE_NAME "$PACKAGE_NAME"
1517 cat >>confdefs.h <<_ACEOF
1518 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1522 cat >>confdefs.h <<_ACEOF
1523 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_STRING "$PACKAGE_STRING"
1532 cat >>confdefs.h <<_ACEOF
1533 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1537 # Let the site file select an alternate cache file if it wants to.
1538 # Prefer explicitly selected file to automatically selected ones.
1539 if test -n "$CONFIG_SITE"; then
1540 set x "$CONFIG_SITE"
1541 elif test "x$prefix" != xNONE; then
1542 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1544 set x "$ac_default_prefix/share/config.site" \
1545 "$ac_default_prefix/etc/config.site"
1550 if test -r "$ac_site_file"; then
1551 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1552 echo "$as_me: loading site script $ac_site_file" >&6;}
1553 sed 's/^/| /' "$ac_site_file" >&5
1558 if test -r "$cache_file"; then
1559 # Some versions of bash will fail to source /dev/null (special
1560 # files actually), so we avoid doing that.
1561 if test -f "$cache_file"; then
1562 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1563 echo "$as_me: loading cache $cache_file" >&6;}
1565 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1566 *) . "./$cache_file";;
1570 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1571 echo "$as_me: creating cache $cache_file" >&6;}
1575 # Check that the precious variables saved in the cache have kept the same
1577 ac_cache_corrupted=false
1578 for ac_var in $ac_precious_vars; do
1579 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1580 eval ac_new_set=\$ac_env_${ac_var}_set
1581 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1582 eval ac_new_val=\$ac_env_${ac_var}_value
1583 case $ac_old_set,$ac_new_set in
1585 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1586 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1587 ac_cache_corrupted=: ;;
1589 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1590 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1591 ac_cache_corrupted=: ;;
1594 if test "x$ac_old_val" != "x$ac_new_val"; then
1595 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1596 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1597 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1598 echo "$as_me: former value
: $ac_old_val" >&2;}
1599 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1600 echo "$as_me: current value
: $ac_new_val" >&2;}
1601 ac_cache_corrupted=:
1604 # Pass precious variables to config.status.
1605 if test "$ac_new_set" = set; then
1607 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1608 *) ac_arg=$ac_var=$ac_new_val ;;
1610 case " $ac_configure_args " in
1611 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1612 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1616 if $ac_cache_corrupted; then
1617 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1618 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1619 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1620 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1621 { (exit 1); exit 1; }; }
1649 ac_cpp='$CPP $CPPFLAGS'
1650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1658 for ac_dir in config "$srcdir"/config; do
1659 if test -f "$ac_dir/install-sh"; then
1661 ac_install_sh="$ac_aux_dir/install-sh -c"
1663 elif test -f "$ac_dir/install.sh"; then
1665 ac_install_sh="$ac_aux_dir/install.sh -c"
1667 elif test -f "$ac_dir/shtool"; then
1669 ac_install_sh="$ac_aux_dir/shtool install -c"
1673 if test -z "$ac_aux_dir"; then
1674 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1675 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1676 { (exit 1); exit 1; }; }
1679 # These three variables are undocumented and unsupported,
1680 # and are intended to be withdrawn in a future Autoconf release.
1681 # They can cause serious problems if a builder's source tree is in a directory
1682 # whose full name contains unusual characters.
1683 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1684 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1685 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1688 ac_config_files="$ac_config_files config/Makefile"
1691 am__api_version="1.9"
1692 # Find a good install program. We prefer a C program (faster),
1693 # so one script is as good as another. But avoid the broken or
1694 # incompatible versions:
1695 # SysV /etc/install, /usr/sbin/install
1696 # SunOS /usr/etc/install
1697 # IRIX /sbin/install
1699 # AmigaOS /C/install, which installs bootblocks on floppy discs
1700 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1701 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1702 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1703 # OS/2's system install, which has a completely different semantic
1704 # ./install, which can be erroneously created by make from ./install.sh.
1705 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1706 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1707 if test -z "$INSTALL"; then
1708 if test "${ac_cv_path_install+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 test -z "$as_dir" && as_dir=.
1716 # Account for people who put trailing slashes in PATH elements.
1718 ./ | .// | /cC/* | \
1719 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1720 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1723 # OSF1 and SCO ODT 3.0 have their own names for install.
1724 # Don't use installbsd from OSF since it installs stuff as root
1726 for ac_prog in ginstall scoinst install; do
1727 for ac_exec_ext in '' $ac_executable_extensions; do
1728 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1729 if test $ac_prog = install &&
1730 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1731 # AIX install. It has an incompatible calling convention.
1733 elif test $ac_prog = install &&
1734 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1735 # program-specific install script used by HP pwplus--don't use.
1738 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1751 if test "${ac_cv_path_install+set}" = set; then
1752 INSTALL=$ac_cv_path_install
1754 # As a last resort, use the slow shell script. Don't cache a
1755 # value for INSTALL within a source directory, because that will
1756 # break other packages using the cache if that directory is
1757 # removed, or if the value is a relative name.
1758 INSTALL=$ac_install_sh
1761 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1762 echo "${ECHO_T}$INSTALL" >&6; }
1764 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1765 # It thinks the first close brace ends the variable substitution.
1766 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1768 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1770 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1772 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1773 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1776 echo timestamp > conftest.file
1777 # Do `set' in a subshell so we don't clobber the current shell
's
1778 # arguments. Must try -L first in case configure is actually a
1779 # symlink; some systems play weird games with the mod time of symlinks
1780 # (eg FreeBSD returns the mod time of the symlink's containing
1783 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1784 if test "$*" = "X"; then
1786 set X
`ls -t $srcdir/configure conftest.file`
1789 if test "$*" != "X $srcdir/configure conftest.file" \
1790 && test "$*" != "X conftest.file $srcdir/configure"; then
1792 # If neither matched, then we have a broken ls. This can happen
1793 # if, for instance, CONFIG_SHELL is bash and it inherits a
1794 # broken ls alias from the environment. This has actually
1795 # happened. Such a system could not be considered "sane".
1796 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1797 alias in your environment" >&5
1798 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1799 alias in your environment" >&2;}
1800 { (exit 1); exit 1; }; }
1803 test "$2" = conftest.
file
1809 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1810 Check your system clock" >&5
1811 echo "$as_me: error: newly created file is older than distributed files!
1812 Check your system clock" >&2;}
1813 { (exit 1); exit 1; }; }
1815 { echo "$as_me:$LINENO: result: yes" >&5
1816 echo "${ECHO_T}yes" >&6; }
1817 test "$program_prefix" != NONE
&&
1818 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1819 # Use a double $ so make ignores it.
1820 test "$program_suffix" != NONE
&&
1821 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1822 # Double any \ or $. echo might interpret backslashes.
1823 # By default was `s,x,x', remove it if useless.
1824 cat <<\_ACEOF
>conftest.
sed
1825 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1827 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1830 # expand $ac_aux_dir to an absolute path
1831 am_aux_dir
=`cd $ac_aux_dir && pwd`
1833 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1834 # Use eval to expand $SHELL
1835 if eval "$MISSING --run true"; then
1836 am_missing_run
="$MISSING --run "
1839 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1840 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1843 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1844 # We used to keeping the `.' as first argument, in order to
1845 # allow $(mkdir_p) to be used without argument. As in
1846 # $(mkdir_p) $(somedir)
1847 # where $(somedir) is conditionally defined. However this is wrong
1849 # 1. if the package is installed by a user who cannot write `.'
1850 # make install will fail,
1851 # 2. the above comment should most certainly read
1852 # $(mkdir_p) $(DESTDIR)$(somedir)
1853 # so it does not work when $(somedir) is undefined and
1854 # $(DESTDIR) is not.
1855 # To support the latter case, we have to write
1856 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1857 # so the `.' trick is pointless.
1858 mkdir_p
='mkdir -p --'
1860 # On NextStep and OpenStep, the `mkdir' command does not
1861 # recognize any option. It will interpret all options as
1862 # directories to create, and then abort because `.' already
1864 for d
in .
/-p .
/--version;
1866 test -d $d && rmdir $d
1868 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1869 if test -f "$ac_aux_dir/mkinstalldirs"; then
1870 mkdir_p
='$(mkinstalldirs)'
1872 mkdir_p
='$(install_sh) -d'
1876 for ac_prog
in gawk mawk nawk
awk
1878 # Extract the first word of "$ac_prog", so it can be a program name with args.
1879 set dummy
$ac_prog; ac_word
=$2
1880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1882 if test "${ac_cv_prog_AWK+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 if test -n "$AWK"; then
1886 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1892 test -z "$as_dir" && as_dir
=.
1893 for ac_exec_ext
in '' $ac_executable_extensions; do
1894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1895 ac_cv_prog_AWK
="$ac_prog"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 if test -n "$AWK"; then
1907 { echo "$as_me:$LINENO: result: $AWK" >&5
1908 echo "${ECHO_T}$AWK" >&6; }
1910 { echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6; }
1915 test -n "$AWK" && break
1918 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1919 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1920 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1921 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 cat >conftest.
make <<\_ACEOF
1927 @
echo 'ac_maketemp=X"$(MAKE)"'
1929 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1930 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1931 if test "$ac_maketemp" != X
; then
1932 eval ac_cv_prog_make_
${ac_make}_set
=yes
1934 eval ac_cv_prog_make_
${ac_make}_set
=no
1938 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1939 { echo "$as_me:$LINENO: result: yes" >&5
1940 echo "${ECHO_T}yes" >&6; }
1943 { echo "$as_me:$LINENO: result: no" >&5
1944 echo "${ECHO_T}no" >&6; }
1945 SET_MAKE
="MAKE=${MAKE-make}"
1948 rm -rf .tst
2>/dev
/null
1949 mkdir .tst
2>/dev
/null
1950 if test -d .tst
; then
1955 rmdir .tst
2>/dev
/null
1957 # test to see if srcdir already configured
1958 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1959 test -f $srcdir/config.status
; then
1960 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1961 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1962 { (exit 1); exit 1; }; }
1965 # test whether we have cygpath
1966 if test -z "$CYGPATH_W"; then
1967 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1968 CYGPATH_W
='cygpath -w'
1975 # Define the identity of the package.
1980 cat >>confdefs.h
<<_ACEOF
1981 #define PACKAGE "$PACKAGE"
1985 cat >>confdefs.h
<<_ACEOF
1986 #define VERSION "$VERSION"
1989 # Some tools Automake needs.
1991 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1994 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1997 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2000 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2003 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2005 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2007 # Installed binaries are usually stripped using `strip' when the user
2008 # run `make install-strip'. However `strip' might not be the right
2009 # tool to use in cross-compilation environments, therefore Automake
2010 # will honor the `STRIP' environment variable to overrule this program.
2011 if test "$cross_compiling" != no
; then
2012 if test -n "$ac_tool_prefix"; then
2013 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2014 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2017 if test "${ac_cv_prog_STRIP+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 if test -n "$STRIP"; then
2021 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir
=.
2028 for ac_exec_ext
in '' $ac_executable_extensions; do
2029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2030 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 STRIP
=$ac_cv_prog_STRIP
2041 if test -n "$STRIP"; then
2042 { echo "$as_me:$LINENO: result: $STRIP" >&5
2043 echo "${ECHO_T}$STRIP" >&6; }
2045 { echo "$as_me:$LINENO: result: no" >&5
2046 echo "${ECHO_T}no" >&6; }
2051 if test -z "$ac_cv_prog_STRIP"; then
2053 # Extract the first word of "strip", so it can be a program name with args.
2054 set dummy strip
; ac_word
=$2
2055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2057 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 if test -n "$ac_ct_STRIP"; then
2061 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir
=.
2068 for ac_exec_ext
in '' $ac_executable_extensions; do
2069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2070 ac_cv_prog_ac_ct_STRIP
="strip"
2071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2081 if test -n "$ac_ct_STRIP"; then
2082 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2083 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2085 { echo "$as_me:$LINENO: result: no" >&5
2086 echo "${ECHO_T}no" >&6; }
2089 if test "x$ac_ct_STRIP" = x
; then
2092 case $cross_compiling:$ac_tool_warned in
2094 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2095 whose name does not start with the host triplet. If you think this
2096 configuration is useful to you, please write to autoconf@gnu.org." >&5
2097 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2098 whose name does not start with the host triplet. If you think this
2099 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2100 ac_tool_warned
=yes ;;
2105 STRIP
="$ac_cv_prog_STRIP"
2109 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2111 # We need awk for the "check" target. The system "awk" is bad on
2113 # Always define AMTAR for backward compatibility.
2115 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2117 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2124 # We use `/bin/sh -n script' to check that there are no syntax errors
2125 # in the scripts. Although incredible, there are /bin/sh that go into
2126 # endless loops with `-n', e.g., SunOS's:
2129 # SunOS ondine 4.1.3 2 sun4m unknown
2136 # $ time sh endless.sh
2137 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2138 # $ time sh -nx endless.sh
2139 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2141 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2142 # that they are unusable on large scripts like our testsuite.
2144 # So before using `/bin/sh -n' to check our scripts, we first check
2145 # that `/bin/sh -n' is known to not have these problems.
2147 { echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2148 echo $ECHO_N "checking whether /bin/sh -n is known to work... $ECHO_C" >&6; }
2149 if test "${ac_cv_sh_n_works+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 unset BASH_VERSION ZSH_VERSION
2155 test -n "${BASH_VERSION+set}" || # Bash
2156 test -n "${KSH_VERSION+set}" || # pdksh
2157 test -n "${ZSH_VERSION+set}" || # zsh
2158 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2161 then ac_cv_sh_n_works
=yes
2162 else ac_cv_sh_n_works
=no
2166 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2167 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2170 # Initialize the test suite.
2171 ac_config_commands
="$ac_config_commands tests/atconfig"
2174 ac_config_files
="$ac_config_files tests/Makefile tests/atlocal"
2176 # Extract the first word of "expr", so it can be a program name with args.
2177 set dummy
expr; ac_word
=$2
2178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2180 if test "${ac_cv_path_EXPR+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 ac_cv_path_EXPR
="$EXPR" # Let the user override the test with a path.
2188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2192 test -z "$as_dir" && as_dir
=.
2193 for ac_exec_ext
in '' $ac_executable_extensions; do
2194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2195 ac_cv_path_EXPR
="$as_dir/$ac_word$ac_exec_ext"
2196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 EXPR
=$ac_cv_path_EXPR
2207 if test -n "$EXPR"; then
2208 { echo "$as_me:$LINENO: result: $EXPR" >&5
2209 echo "${ECHO_T}$EXPR" >&6; }
2211 { echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6; }
2222 # We use an absolute name for GNU m4 so even if users have another m4 first in
2223 # their path, the installer can configure with a path that has GNU m4
2224 # first and get that path embedded in the installed autoconf and
2225 # autoheader scripts.
2226 for ac_prog
in gm4 gnum4
m4
2228 # Extract the first word of "$ac_prog", so it can be a program name with args.
2229 set dummy
$ac_prog; ac_word
=$2
2230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2232 if test "${ac_cv_path_M4+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
2240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir
=.
2245 for ac_exec_ext
in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2247 ac_cv_path_M4
="$as_dir/$ac_word$ac_exec_ext"
2248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 if test -n "$M4"; then
2260 { echo "$as_me:$LINENO: result: $M4" >&5
2261 echo "${ECHO_T}$M4" >&6; }
2263 { echo "$as_me:$LINENO: result: no" >&5
2264 echo "${ECHO_T}no" >&6; }
2268 test -n "$M4" && break
2270 test -n "$M4" || M4
="m4"
2272 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2273 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2274 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 ac_cv_prog_gnu_m4
=no
2278 if test x
"$M4" != x
; then
2279 case `$M4 --help < /dev/null 2>&1` in
2280 *reload-state
*) ac_cv_prog_gnu_m4
=yes ;;
2284 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2285 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2286 if test x
"$ac_cv_prog_gnu_m4" != xyes
; then
2287 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2288 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2289 { (exit 1); exit 1; }; }
2296 ac_config_files
="$ac_config_files man/Makefile"
2299 HELP2MAN
=${HELP2MAN-"${am_missing_run}help2man"}
2307 # We use an absolute name for perl so the #! line in autoscan will work.
2308 # Extract the first word of "perl", so it can be a program name with args.
2309 set dummy perl
; ac_word
=$2
2310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2312 if test "${ac_cv_path_PERL+set}" = set; then
2313 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
2320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir
=.
2325 for ac_exec_ext
in '' $ac_executable_extensions; do
2326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2327 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
2339 PERL
=$ac_cv_path_PERL
2340 if test -n "$PERL"; then
2341 { echo "$as_me:$LINENO: result: $PERL" >&5
2342 echo "${ECHO_T}$PERL" >&6; }
2344 { echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6; }
2349 if test "$PERL" = no
; then
2350 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2351 echo "$as_me: error: perl is not found" >&2;}
2352 { (exit 1); exit 1; }; }
2354 $PERL -e 'require 5.005_03;' ||
{
2355 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2356 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2357 { (exit 1); exit 1; }; }
2365 ac_config_files
="$ac_config_files lib/emacs/Makefile"
2368 test x
"$TEST_EMACS" = xt
&& TEST_EMACS
=
2369 for ac_prog
in emacs xemacs
2371 # Extract the first word of "$ac_prog", so it can be a program name with args.
2372 set dummy
$ac_prog; ac_word
=$2
2373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2375 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 if test -n "$TEST_EMACS"; then
2379 ac_cv_prog_TEST_EMACS
="$TEST_EMACS" # Let the user override the test.
2381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2385 test -z "$as_dir" && as_dir
=.
2386 for ac_exec_ext
in '' $ac_executable_extensions; do
2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2388 ac_cv_prog_TEST_EMACS
="$ac_prog"
2389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2398 TEST_EMACS
=$ac_cv_prog_TEST_EMACS
2399 if test -n "$TEST_EMACS"; then
2400 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2401 echo "${ECHO_T}$TEST_EMACS" >&6; }
2403 { echo "$as_me:$LINENO: result: no" >&5
2404 echo "${ECHO_T}no" >&6; }
2408 test -n "$TEST_EMACS" && break
2410 test -n "$TEST_EMACS" || TEST_EMACS
="no"
2413 # autoconf-mode.el and autotest-mode.el do not work with older version of
2414 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2415 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2416 # We detect this problem here.
2417 if test "$TEST_EMACS" != no
; then
2418 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2419 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2420 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2424 cat >conftest.el
<< "EOF"
2426 (defun broken-mode
() (setq broken-defaults
`(broken nil)))
2428 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2429 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }; then
2433 ac_cv_prog_emacs_ok=yes
2435 ac_cv_prog_emacs_ok=no
2438 rm -f conftest.el conftest.elc
2440 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2441 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2442 if test $ac_cv_prog_emacs_ok = no; then
2452 # If set to t, that means we are running in a shell under Emacs.
2453 # If you have an Emacs named "t", then use the full path.
2454 test x"$EMACS" = xt && EMACS=
2455 for ac_prog in emacs xemacs
2457 # Extract the first word of "$ac_prog", so it can be a program name with args.
2458 set dummy $ac_prog; ac_word=$2
2459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2461 if test "${ac_cv_prog_EMACS+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 if test -n "$EMACS"; then
2465 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 test -z "$as_dir" && as_dir=.
2472 for ac_exec_ext in '' $ac_executable_extensions; do
2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2474 ac_cv_prog_EMACS="$ac_prog"
2475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 EMACS=$ac_cv_prog_EMACS
2485 if test -n "$EMACS"; then
2486 { echo "$as_me:$LINENO: result: $EMACS" >&5
2487 echo "${ECHO_T}$EMACS" >&6; }
2489 { echo "$as_me:$LINENO: result: no" >&5
2490 echo "${ECHO_T}no" >&6; }
2494 test -n "$EMACS" && break
2496 test -n "$EMACS" || EMACS="no"
2501 # Check whether --with-lispdir was given.
2502 if test "${with_lispdir+set}" = set; then
2503 withval=$with_lispdir; lispdir="$withval"
2504 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2505 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2506 { echo "$as_me:$LINENO: result: $lispdir" >&5
2507 echo "${ECHO_T}$lispdir" >&6; }
2510 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2511 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2512 if test "${am_cv_lispdir+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 if test $EMACS != "no"; then
2517 if test x${lispdir+set} != xset; then
2518 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2519 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2520 # which is non-obvious for non-emacs users.
2521 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2522 # emacsen earlier and avoid running this altogether.
2523 { (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
2524 ($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
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }
2528 am_cv_lispdir=`sed -n \
2530 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2531 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2536 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2539 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2540 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2541 lispdir="$am_cv_lispdir"
2552 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2553 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2554 if test "${ac_cv_path_GREP+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 # Extract the first word of "grep ggrep" to use in msg output
2558 if test -z "$GREP"; then
2559 set dummy grep ggrep; ac_prog_name=$2
2560 if test "${ac_cv_path_GREP+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 ac_path_GREP_found=false
2564 # Loop through the user's path and test for each of PROGNAME-LIST
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2569 test -z "$as_dir" && as_dir=.
2570 for ac_prog in grep ggrep; do
2571 for ac_exec_ext in '' $ac_executable_extensions; do
2572 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2573 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2574 # Check for GNU ac_path_GREP and select it if it is found.
2575 # Check for GNU $ac_path_GREP
2576 case `"$ac_path_GREP" --version 2>&1` in
2578 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2581 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2584 cat "conftest.in" "conftest.in" >"conftest.tmp"
2585 mv "conftest.tmp" "conftest.in"
2586 cp "conftest.in" "conftest.nl"
2587 echo 'GREP' >> "conftest.nl"
2588 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2589 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2590 ac_count=`expr $ac_count + 1`
2591 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2592 # Best one so far, save it but keep looking for a better one
2593 ac_cv_path_GREP="$ac_path_GREP"
2594 ac_path_GREP_max=$ac_count
2596 # 10*(2^10) chars as input seems more than enough
2597 test $ac_count -gt 10 && break
2599 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2603 $ac_path_GREP_found && break 3
2613 GREP="$ac_cv_path_GREP"
2614 if test -z "$GREP"; then
2615 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2616 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2617 { (exit 1); exit 1; }; }
2621 ac_cv_path_GREP=$GREP
2626 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2627 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2628 GREP="$ac_cv_path_GREP"
2631 { echo "$as_me:$LINENO: checking for egrep" >&5
2632 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2633 if test "${ac_cv_path_EGREP+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2637 then ac_cv_path_EGREP="$GREP -E"
2639 # Extract the first word of "egrep" to use in msg output
2640 if test -z "$EGREP"; then
2641 set dummy egrep; ac_prog_name=$2
2642 if test "${ac_cv_path_EGREP+set}" = set; then
2643 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 ac_path_EGREP_found=false
2646 # Loop through the user's path and test for each of PROGNAME-LIST
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2651 test -z "$as_dir" && as_dir=.
2652 for ac_prog in egrep; do
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2655 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2656 # Check for GNU ac_path_EGREP and select it if it is found.
2657 # Check for GNU $ac_path_EGREP
2658 case `"$ac_path_EGREP" --version 2>&1` in
2660 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2663 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2666 cat "conftest.in" "conftest.in" >"conftest.tmp"
2667 mv "conftest.tmp" "conftest.in"
2668 cp "conftest.in" "conftest.nl"
2669 echo 'EGREP' >> "conftest.nl"
2670 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2671 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2672 ac_count=`expr $ac_count + 1`
2673 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2674 # Best one so far, save it but keep looking for a better one
2675 ac_cv_path_EGREP="$ac_path_EGREP"
2676 ac_path_EGREP_max=$ac_count
2678 # 10*(2^10) chars as input seems more than enough
2679 test $ac_count -gt 10 && break
2681 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2685 $ac_path_EGREP_found && break 3
2695 EGREP="$ac_cv_path_EGREP"
2696 if test -z "$EGREP"; then
2697 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2698 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2699 { (exit 1); exit 1; }; }
2703 ac_cv_path_EGREP=$EGREP
2709 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2710 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2711 EGREP="$ac_cv_path_EGREP"
2714 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2715 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2716 if test "${ac_cv_path_SED+set}" = set; then
2717 echo $ECHO_N "(cached) $ECHO_C" >&6
2719 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2720 for ac_i in 1 2 3 4 5 6 7; do
2721 ac_script="$ac_script$as_nl$ac_script"
2723 echo "$ac_script" | sed 99q >conftest.sed
2724 $as_unset ac_script || ac_script=
2725 # Extract the first word of "sed gsed" to use in msg output
2726 if test -z "$SED"; then
2727 set dummy sed gsed; ac_prog_name=$2
2728 if test "${ac_cv_path_SED+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2731 ac_path_SED_found=false
2732 # Loop through the user's path and test for each of PROGNAME-LIST
2733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737 test -z "$as_dir" && as_dir=.
2738 for ac_prog in sed gsed; do
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2741 { test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
2742 # Check for GNU ac_path_SED and select it if it is found.
2743 # Check for GNU $ac_path_SED
2744 case `"$ac_path_SED" --version 2>&1` in
2746 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2749 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2752 cat "conftest.in" "conftest.in" >"conftest.tmp"
2753 mv "conftest.tmp" "conftest.in"
2754 cp "conftest.in" "conftest.nl"
2755 echo '' >> "conftest.nl"
2756 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2757 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2758 ac_count=`expr $ac_count + 1`
2759 if test $ac_count -gt ${ac_path_SED_max-0}; then
2760 # Best one so far, save it but keep looking for a better one
2761 ac_cv_path_SED="$ac_path_SED"
2762 ac_path_SED_max=$ac_count
2764 # 10*(2^10) chars as input seems more than enough
2765 test $ac_count -gt 10 && break
2767 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2771 $ac_path_SED_found && break 3
2781 SED="$ac_cv_path_SED"
2782 if test -z "$SED"; then
2783 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2784 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2785 { (exit 1); exit 1; }; }
2793 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2794 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2795 SED="$ac_cv_path_SED"
2804 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"
2807 cat >confcache <<\_ACEOF
2808 # This file is a shell script that caches the results of configure
2809 # tests run on this system so they can be shared between configure
2810 # scripts and configure runs, see configure's option --config-cache.
2811 # It is not useful on other systems. If it contains results you don't
2812 # want to keep, you may remove or edit it.
2814 # config.status only pays attention to the cache file if you give it
2815 # the --recheck option to rerun configure.
2817 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
2818 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2823 # The following way of writing the cache mishandles newlines in values,
2824 # but we know of no workaround that is simple, portable, and efficient.
2825 # So, we kill variables containing newlines.
2826 # Ultrix sh set writes to stderr and can't be redirected directly,
2827 # and sets the high bit in the cache file unless we assign to the vars.
2829 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2830 eval ac_val
=\$
$ac_var
2834 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2835 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2838 _ | IFS | as_nl
) ;; #(
2839 *) $as_unset $ac_var ;;
2845 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2846 *${as_nl}ac_space
=\
*)
2847 # `set' does not quote correctly, so add quotes (double-quote
2848 # substitution turns \\\\ into \\, and sed turns \\ into \).
2851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2854 # `set' quotes correctly as required by POSIX, so do not add quotes.
2855 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2864 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2866 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2868 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
2869 if test -w "$cache_file"; then
2870 test "x$cache_file" != "x/dev/null" &&
2871 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2872 echo "$as_me: updating cache $cache_file" >&6;}
2873 cat confcache
>$cache_file
2875 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2876 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2881 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2882 # Let make expand exec_prefix.
2883 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2885 # Transform confdefs.h into DEFS.
2886 # Protect against shell expansion while executing Makefile rules.
2887 # Protect against Makefile macro expansion.
2889 # If the first sed substitution is executed (which looks for macros that
2890 # take arguments), then we branch to the quote section. Otherwise,
2891 # look for a macro that doesn't take arguments.
2892 cat >confdef2opt.
sed <<\_ACEOF
2895 s
/^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2897 s
/^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2901 s
/[ `~#$^&*(){}\\|;'"<>?]/\\&/g
2907 # We use echo to avoid assuming a particular line-breaking character.
2908 # The extra dot is to prevent the shell from consuming trailing
2909 # line-breaks from the sub-command output. A line-break within
2910 # single-quotes doesn't work because, if this script is created in a
2911 # platform that uses two characters for line-breaks (e.g., DOS), tr
2913 ac_LF_and_DOT=`echo; echo .
`
2914 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
2915 rm -f confdef2opt.sed
2920 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2921 # 1. Remove the extension, and $U if already installed.
2922 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2923 ac_i=`echo "$ac_i" |
sed "$ac_script"`
2924 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2925 # will be set to the directory where LIBOBJS objects are built.
2926 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2927 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2931 LTLIBOBJS=$ac_ltlibobjs
2935 : ${CONFIG_STATUS=./config.status}
2936 ac_clean_files_save=$ac_clean_files
2937 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2938 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2939 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2940 cat >$CONFIG_STATUS <<_ACEOF
2942 # Generated by $as_me.
2943 # Run this file to recreate the current configuration.
2944 # Compiler output produced by configure, useful for debugging
2945 # configure, is in config.log if it exists.
2950 SHELL=\${CONFIG_SHELL-$SHELL}
2953 cat >>$CONFIG_STATUS <<\_ACEOF
2954 ## --------------------- ##
2955 ## M4sh Initialization. ##
2956 ## --------------------- ##
2958 # Be Bourne compatible
2959 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2962 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2963 # is contrary to our usage. Disable this feature.
2964 alias -g '${1+"$@"}'='"$@"'
2965 setopt NO_GLOB_SUBST
2967 case `(set -o) 2>/dev
/null
` in *posix*) set -o posix;; esac
2969 BIN_SH=xpg4; export BIN_SH # for Tru64
2970 DUALCASE=1; export DUALCASE # for MKS sh
2974 # Avoid depending upon Character Ranges.
2975 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2976 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2977 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2978 as_cr_digits='0123456789'
2979 as_cr_alnum=$as_cr_Letters$as_cr_digits
2981 # The user is always right.
2982 if test "${PATH_SEPARATOR+set}" != set; then
2983 echo "#! /bin/sh" >conf$$.sh
2984 echo "exit 0" >>conf$$.sh
2986 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2994 # Support unset when possible.
2995 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3003 # We need space, tab and new line, in precisely that order. Quoting is
3004 # there to prevent editors from complaining about space-tab.
3005 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3006 # splitting by setting IFS to empty value.)
3011 # Find who we are. Look in the path if we contain no directory separator.
3013 *[\\/]* ) as_myself=$0 ;;
3014 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 test -z "$as_dir" && as_dir=.
3019 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3025 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3026 # in which case we are not to be found in the path.
3027 if test "x$as_myself" = x; then
3030 if test ! -f "$as_myself"; then
3031 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3032 { (exit 1); exit 1; }
3035 # Work around bugs in pre-3.0 UWIN ksh.
3036 for as_var in ENV MAIL MAILPATH
3037 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3045 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3046 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3047 LC_TELEPHONE LC_TIME
3049 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3050 eval $as_var=C; export $as_var
3052 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3056 # Required to use basename.
3057 if expr a : '\
(a\
)' >/dev/null 2>&1 &&
3058 test "X`expr 00001 : '.
*\
(...\
)'`" = X001; then
3064 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3065 as_basename=basename
3071 # Name of the executable.
3072 as_me=`$as_basename -- "$0" ||
3073 $as_expr X/"$0" : '.
*/\
([^
/][^
/]*\
)/*$
' \| \
3074 X"$0" : 'X\
(//\
)$
' \| \
3075 X"$0" : 'X\
(/\
)' \| . 2>/dev/null ||
3077 sed '/^.
*\
/\
([^
/][^
/]*\
)\
/*$
/{
3098 test "x$as_lineno_1" != "x$as_lineno_2" &&
3099 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3101 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3102 # uniformly replaced by the line number. The first 'sed' inserts a
3103 # line-number line after each line using $LINENO; the second 'sed'
3104 # does the real work. The second script uses 'N
' to pair each
3105 # line-number line with the line containing $LINENO, and appends
3106 # trailing '-' during substitution so that $LINENO is not a special
3108 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3109 # scripts with optimization help from Paolo Bonzini. Blame Lee
3110 # E. McMahon (1931-1989) for sed's syntax.
:-)
3122 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3126 chmod +x
"$as_me.lineno" ||
3127 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3128 { (exit 1); exit 1; }; }
3130 # Don't try to exec as it changes $[0], causing all sort of problems
3131 # (the dirname of $[0] is not the place where we might find the
3132 # original and so on. Autoconf is especially sensitive to this).
3134 # Exit status is that of the last command.
3139 if (dirname -- /) >/dev
/null
2>&1; then
3145 ECHO_C
= ECHO_N
= ECHO_T
=
3148 case `echo 'x\c'` in
3149 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3156 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3157 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3163 rm -f conf$$ conf$$.exe conf$$.
file
3164 if test -d conf$$.dir
; then
3165 rm -f conf$$.dir
/conf$$.
file
3171 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3173 # ... but there are two gotchas:
3174 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3175 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3176 # In both cases, we have to default to `cp -p'.
3177 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3179 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3184 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3185 rmdir conf$$.dir
2>/dev
/null
3187 if mkdir
-p .
2>/dev
/null
; then
3190 test -d .
/-p && rmdir .
/-p
3194 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3195 # systems may use methods other than mode bits to determine executability.
3196 cat >conf$$.
file <<_ASEOF
3200 chmod +x conf$$.
file
3201 if test -x conf$$.
file >/dev
/null
2>&1; then
3202 as_executable_p
="test -x"
3208 # Sed expression to map a string onto a valid CPP name.
3209 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3211 # Sed expression to map a string onto a valid variable name.
3212 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3217 # Save the log message, to keep $[0] and so on meaningful, and to
3218 # report actual input values of CONFIG_FILES etc. instead of their
3219 # values after options handling.
3221 This file was extended by GNU Autoconf $as_me 2.59d, which was
3222 generated by GNU Autoconf 2.59d. Invocation command line was
3224 CONFIG_FILES = $CONFIG_FILES
3225 CONFIG_HEADERS = $CONFIG_HEADERS
3226 CONFIG_LINKS = $CONFIG_LINKS
3227 CONFIG_COMMANDS = $CONFIG_COMMANDS
3230 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3235 cat >>$CONFIG_STATUS <<_ACEOF
3236 # Files that config.status was made for.
3237 config_files="$ac_config_files"
3238 config_commands="$ac_config_commands"
3242 cat >>$CONFIG_STATUS <<\_ACEOF
3244 \`$as_me' instantiates files from templates according to the
3245 current configuration.
3247 Usage: $0 [OPTIONS] [FILE]...
3249 -h, --help print this help, then exit
3250 -V, --version print version number, then exit
3251 -q, --quiet do not print progress messages
3252 -d, --debug don't remove temporary files
3253 --recheck update $as_me by reconfiguring in the same conditions
3254 --file=FILE[:TEMPLATE]
3255 instantiate the configuration file FILE
3257 Configuration files:
3260 Configuration commands:
3263 Report bugs to <bug-autoconf@gnu.org>."
3266 cat >>$CONFIG_STATUS <<_ACEOF
3268 GNU Autoconf config.status 2.59d
3269 configured by $0, generated by GNU Autoconf 2.59d,
3270 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3272 Copyright (C) 2006 Free Software Foundation, Inc.
3273 This config.status script is free software; the Free Software Foundation
3274 gives unlimited permission to copy, distribute and modify it."
3281 cat >>$CONFIG_STATUS <<\_ACEOF
3282 # If no file are specified by the user, then we need to provide default
3283 # value. By we need to know if files were specified by the user.
3289 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3290 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3301 # Handling of the options.
3302 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3304 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3305 echo "$ac_cs_version"; exit ;;
3306 --debug |
--debu |
--deb |
--de |
--d |
-d )
3308 --file |
--fil |
--fi |
--f )
3310 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3311 ac_need_defaults
=false
;;
3312 --he |
--h |
--help |
--hel |
-h )
3313 echo "$ac_cs_usage"; exit ;;
3314 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3315 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3319 -*) { echo "$as_me: error: unrecognized option: $1
3320 Try \`$0 --help' for more information." >&2
3321 { (exit 1); exit 1; }; } ;;
3323 *) ac_config_targets
="$ac_config_targets $1"
3324 ac_need_defaults
=false
;;
3330 ac_configure_extra_args
=
3332 if $ac_cs_silent; then
3334 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3338 cat >>$CONFIG_STATUS <<_ACEOF
3339 if \$ac_cs_recheck; then
3340 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3343 exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3347 cat >>$CONFIG_STATUS <<\_ACEOF
3351 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3352 ## Running $as_me. ##
3358 cat >>$CONFIG_STATUS <<_ACEOF
3361 cat >>$CONFIG_STATUS <<\_ACEOF
3363 # Handling of arguments.
3364 for ac_config_target
in $ac_config_targets
3366 case $ac_config_target in
3367 "config/Makefile") CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
3368 "tests/atconfig") CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/atconfig" ;;
3369 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
3370 "tests/atlocal") CONFIG_FILES
="$CONFIG_FILES tests/atlocal" ;;
3371 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
3372 "lib/emacs/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/emacs/Makefile" ;;
3373 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3374 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
3375 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
3376 "lib/Autom4te/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3377 "lib/autoscan/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autoscan/Makefile" ;;
3378 "lib/m4sugar/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3379 "lib/autoconf/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autoconf/Makefile" ;;
3380 "lib/autotest/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autotest/Makefile" ;;
3381 "bin/Makefile") CONFIG_FILES
="$CONFIG_FILES bin/Makefile" ;;
3383 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3384 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3385 { (exit 1); exit 1; }; };;
3390 # If the user did not use the arguments to specify the items to instantiate,
3391 # then the envvar interface is used. Set only those that are not.
3392 # We use the long form for the default assignment because of an extremely
3393 # bizarre bug on SunOS 4.1.3.
3394 if $ac_need_defaults; then
3395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3396 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3399 # Have a temporary directory for convenience. Make it in the build tree
3400 # simply because there is no reason against having it here, and in addition,
3401 # creating and moving files from /tmp can sometimes cause problems.
3402 # Hook for its removal unless debugging.
3403 # Note that there is a small window in which the directory will not be cleaned:
3404 # after its creation but before its name has been assigned to `$tmp'.
3408 trap 'exit_status=$?
3409 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3411 trap '{ (exit 1); exit 1; }' 1 2 13 15
3413 # Create a (secure) tmp directory for tmp files.
3416 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3417 test -n "$tmp" && test -d "$tmp"
3420 tmp
=.
/conf$$
-$RANDOM
3421 (umask 077 && mkdir
"$tmp")
3424 echo "$me: cannot create a temporary directory in ." >&2
3425 { (exit 1); exit 1; }
3429 # Set up the sed scripts for CONFIG_FILES section.
3432 # No need to generate the scripts if there are no CONFIG_FILES.
3433 # This happens for instance when ./config.status config.h
3434 if test -n "$CONFIG_FILES"; then
3441 for ac_last_try
in false false false false false
:; do
3442 cat >conf$
$subs.
sed <<_ACEOF
3443 SHELL!$SHELL$ac_delim
3444 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3445 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3446 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3447 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3448 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3449 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3450 exec_prefix!$exec_prefix$ac_delim
3451 prefix!$prefix$ac_delim
3452 program_transform_name!$program_transform_name$ac_delim
3453 bindir!$bindir$ac_delim
3454 sbindir!$sbindir$ac_delim
3455 libexecdir!$libexecdir$ac_delim
3456 datarootdir!$datarootdir$ac_delim
3457 datadir!$datadir$ac_delim
3458 sysconfdir!$sysconfdir$ac_delim
3459 sharedstatedir!$sharedstatedir$ac_delim
3460 localstatedir!$localstatedir$ac_delim
3461 includedir!$includedir$ac_delim
3462 oldincludedir!$oldincludedir$ac_delim
3463 docdir!$docdir$ac_delim
3464 infodir!$infodir$ac_delim
3465 htmldir!$htmldir$ac_delim
3466 dvidir!$dvidir$ac_delim
3467 pdfdir!$pdfdir$ac_delim
3468 psdir!$psdir$ac_delim
3469 libdir!$libdir$ac_delim
3470 localedir!$localedir$ac_delim
3471 mandir!$mandir$ac_delim
3473 ECHO_C!$ECHO_C$ac_delim
3474 ECHO_N!$ECHO_N$ac_delim
3475 ECHO_T!$ECHO_T$ac_delim
3477 build_alias!$build_alias$ac_delim
3478 host_alias!$host_alias$ac_delim
3479 target_alias!$target_alias$ac_delim
3480 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3481 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3482 INSTALL_DATA!$INSTALL_DATA$ac_delim
3483 CYGPATH_W!$CYGPATH_W$ac_delim
3484 PACKAGE!$PACKAGE$ac_delim
3485 VERSION!$VERSION$ac_delim
3486 ACLOCAL!$ACLOCAL$ac_delim
3487 AUTOCONF!$AUTOCONF$ac_delim
3488 AUTOMAKE!$AUTOMAKE$ac_delim
3489 AUTOHEADER!$AUTOHEADER$ac_delim
3490 MAKEINFO!$MAKEINFO$ac_delim
3491 install_sh!$install_sh$ac_delim
3492 STRIP!$STRIP$ac_delim
3493 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3494 mkdir_p!$mkdir_p$ac_delim
3496 SET_MAKE!$SET_MAKE$ac_delim
3497 am__leading_dot!$am__leading_dot$ac_delim
3498 AMTAR!$AMTAR$ac_delim
3499 am__tar!$am__tar$ac_delim
3500 am__untar!$am__untar$ac_delim
3501 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3504 HELP2MAN!$HELP2MAN$ac_delim
3506 TEST_EMACS!$TEST_EMACS$ac_delim
3507 EMACS!$EMACS$ac_delim
3508 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3509 lispdir!$lispdir$ac_delim
3511 EGREP!$EGREP$ac_delim
3513 LIBOBJS!$LIBOBJS$ac_delim
3514 LTLIBOBJS!$LTLIBOBJS$ac_delim
3517 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 72; then
3519 elif $ac_last_try; then
3520 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3521 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3522 { (exit 1); exit 1; }; }
3524 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
3529 if grep '^CEOF$' conf$
$subs.
sed >/dev
/null
; then
3530 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3531 ac_eof
=`expr 0$ac_eof + 1`
3534 cat >>$CONFIG_STATUS <<_ACEOF
3535 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3536 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3539 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3540 s/^/s,@/; s/!/@,|#_!!_#|/
3543 s/'"$ac_delim"'$/,g/; t
3545 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3546 ' >>$CONFIG_STATUS <conf$
$subs.
sed
3547 rm -f conf$
$subs.
sed
3548 cat >>$CONFIG_STATUS <<_ACEOF
3555 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3556 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3557 # trailing colons and then remove the whole line if VPATH becomes empty
3558 # (actually we leave an empty line to preserve line numbers).
3559 if test "x$srcdir" = x.
; then
3560 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3564 s/^\([^=]*=[ ]*\):*/\1/
3570 cat >>$CONFIG_STATUS <<\_ACEOF
3571 fi # test -n "$CONFIG_FILES"
3574 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
3577 :[FHLC
]) ac_mode
=$ac_tag; continue;;
3579 case $ac_mode$ac_tag in
3581 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3582 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3583 { (exit 1); exit 1; }; };;
3584 :[FH
]-) ac_tag
=-:-;;
3585 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
3602 -) ac_f
="$tmp/stdin";;
3603 *) # Look for the file first in the build tree, then in the source tree
3604 # (if the path is not absolute). The absolute path cannot be DOS-style,
3605 # because $ac_f cannot contain `:'.
3609 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
3611 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3612 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3613 { (exit 1); exit 1; }; };;
3615 ac_file_inputs
="$ac_file_inputs $ac_f"
3618 # Let's still pretend it is `configure' which instantiates (i.e., don't
3619 # use $as_me), people would be surprised to read:
3620 # /* config.h. Generated by config.status. */
3621 configure_input
="Generated from "`IFS=:
3622 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3623 if test x
"$ac_file" != x-
; then
3624 configure_input
="$ac_file. $configure_input"
3625 { echo "$as_me:$LINENO: creating $ac_file" >&5
3626 echo "$as_me: creating $ac_file" >&6;}
3630 *:-:* |
*:-) cat >"$tmp/stdin";;
3635 ac_dir
=`$as_dirname -- "$ac_file" ||
3636 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3637 X"$ac_file" : 'X\(//\)[^/]' \| \
3638 X"$ac_file" : 'X\(//\)$' \| \
3639 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3660 -*) as_dir
=.
/$as_dir;;
3662 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
3666 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3667 *) as_qdir
=$as_dir;;
3669 as_dirs
="'$as_qdir' $as_dirs"
3670 as_dir
=`$as_dirname -- "$as_dir" ||
3671 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3672 X"$as_dir" : 'X\(//\)[^/]' \| \
3673 X"$as_dir" : 'X\(//\)$' \| \
3674 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3693 test -d "$as_dir" && break
3695 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3696 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3697 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3698 { (exit 1); exit 1; }; }; }
3702 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3704 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3705 # A ".." for each directory in $ac_dir_suffix.
3706 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3707 case $ac_top_builddir_sub in
3708 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3709 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
3712 ac_abs_top_builddir
=$ac_pwd
3713 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
3714 # for backward compatibility:
3715 ac_top_builddir
=$ac_top_build_prefix
3718 .
) # We are building in place.
3720 ac_top_srcdir
=$ac_top_builddir_sub
3721 ac_abs_top_srcdir
=$ac_pwd ;;
3722 [\\/]* | ?
:[\\/]* ) # Absolute name.
3723 ac_srcdir
=$srcdir$ac_dir_suffix;
3724 ac_top_srcdir
=$srcdir
3725 ac_abs_top_srcdir
=$srcdir ;;
3727 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
3728 ac_top_srcdir
=$ac_top_build_prefix$srcdir
3729 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
3731 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
3741 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
3742 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
3746 cat >>$CONFIG_STATUS <<\_ACEOF
3747 # If the template does not know about datarootdir, expand it.
3748 # FIXME: This hack should be removed a few years after 2.60.
3749 ac_datarootdir_hack
=
3751 case `sed -n '/datarootdir/ {
3760 ' $ac_file_inputs` in
3762 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
3763 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3764 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3766 cat >>$CONFIG_STATUS <<_ACEOF
3767 ac_datarootdir_hack='
3768 s&@datadir@&$datadir&g
3769 s&@docdir@&$docdir&g
3770 s&@infodir@&$infodir&g
3771 s&@localedir@&$localedir&g
3772 s&@mandir@&$mandir&g
3773 s&\\\${datarootdir}&$datarootdir&g' ;;
3777 # Neutralize VPATH when `$srcdir' = `.'.
3778 # Shell code in configure.ac might set extrasub.
3779 # FIXME: do we really want to maintain this feature?
3780 cat >>$CONFIG_STATUS <<_ACEOF
3784 cat >>$CONFIG_STATUS <<\_ACEOF
3786 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3787 s
&@configure_input@
&$configure_input&;t t
3788 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
3789 s
&@srcdir@
&$ac_srcdir&;t t
3790 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
3791 s
&@top_srcdir@
&$ac_top_srcdir&;t t
3792 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
3793 s
&@builddir@
&$ac_builddir&;t t
3794 s
&@abs_builddir@
&$ac_abs_builddir&;t t
3795 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
3796 s
&@INSTALL@
&$ac_INSTALL&;t t
3797 $ac_datarootdir_hack
3798 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
3802 -) cat "$tmp/out
"; rm -f "$tmp/out
";;
3803 *) rm -f "$ac_file"; mv "$tmp/out
" $ac_file;;
3808 :C) { echo "$as_me:$LINENO: executing
$ac_file commands
" >&5
3809 echo "$as_me: executing
$ac_file commands
" >&6;}
3814 case $ac_file$ac_mode in
3815 "tests
/atconfig
":C) cat >tests/atconfig <<ATEOF
3816 # Configurable variable values for building test suites.
3818 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3820 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3822 abs_builddir='$ac_abs_builddir'
3823 at_srcdir='$ac_srcdir'
3824 abs_srcdir='$ac_abs_srcdir'
3825 at_top_srcdir='$ac_top_srcdir'
3826 abs_top_srcdir='$ac_abs_top_srcdir'
3827 at_top_build_prefix='$ac_top_build_prefix'
3828 abs_top_builddir='$ac_abs_top_builddir'
3830 # Backward compatibility with Autotest <= 2.59b:
3831 at_top_builddir=\$at_top_build_prefix
3833 AUTOTEST_PATH='tests'
3835 SHELL=\${CONFIG_SHELL-'$SHELL'}
3843 { (exit 0); exit 0; }
3845 chmod +x $CONFIG_STATUS
3846 ac_clean_files=$ac_clean_files_save
3849 # configure is writing to config.log, and then calls config.status.
3850 # config.status does its own redirection, appending to config.log.
3851 # Unfortunately, on DOS this fails, as config.log is still kept open
3852 # by configure, so config.status won't be able to write to it; its
3853 # output is simply discarded. So we exec the FD to /dev/null,
3854 # effectively closing config.log, so it can be properly (re)opened and
3855 # appended to by config.status. When coming back to configure, we
3856 # need to make the FD available again.
3857 if test "$no_create" != yes; then
3859 ac_config_status_args=
3860 test "$silent" = yes &&
3861 ac_config_status_args="$ac_config_status_args --quiet"
3863 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3865 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3866 # would make configure fail if this is the last instruction.
3867 $ac_cs_success || { (exit 1); exit 1; }
3870 # Report the state of this version of Autoconf if this is a beta.
3873 You are about to use an experimental version of Autoconf. Be sure to
3874 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3876 Below you will find information on the status of this version of Autoconf.
3880 sed -n '/^\* Status/,$p' $srcdir/BUGS