2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61b for GNU Autoconf 2.61b.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 echo "#! /bin/sh" >conf$$.sh
77 echo "exit 0" >>conf$$.sh
79 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
87 # Support unset when possible.
88 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
96 # We need space, tab and new line, in precisely that order. Quoting is
97 # there to prevent editors from complaining about space-tab.
98 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
99 # splitting by setting IFS to empty value.)
102 # Find who we are. Look in the path if we contain no directory separator.
104 *[\\/]* ) as_myself=$0 ;;
105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 test -z "$as_dir" && as_dir=.
110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x
; then
121 if test ! -f "$as_myself"; then
122 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
123 { (exit 1); exit 1; }
126 # Work around bugs in pre-3.0 UWIN ksh.
127 for as_var
in ENV MAIL MAILPATH
128 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
137 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
140 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
141 eval $as_var=C
; export $as_var
143 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
147 # Required to use basename.
148 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
149 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
155 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
162 # Name of the executable.
163 as_me
=`$as_basename -- "$0" ||
164 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
165 X"$0" : 'X\(//\)$' \| \
166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
168 sed '/^.*\/\([^/][^/]*\)\/*$/{
186 if test "x$CONFIG_SHELL" = x
; then
187 if (eval ":") 2>/dev
/null
; then
193 if test $as_have_required = yes && (eval ":
203 as_func_ret_success () {
206 as_func_ret_failure () {
211 if as_func_success; then
215 echo as_func_success failed.
218 if as_func_failure; then
220 echo as_func_failure succeeded.
223 if as_func_ret_success; then
227 echo as_func_ret_success failed.
230 if as_func_ret_failure; then
232 echo as_func_ret_failure succeeded.
235 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
239 echo positional parameters were not saved.
242 test \$exitcode = 0) || { (exit 1); exit 1; }
247 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
248 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
249 ") 2> /dev
/null
; then
253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
254 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
257 test -z "$as_dir" && as_dir
=.
260 for as_base
in sh bash ksh sh5
; do
261 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
268 for as_shell
in $as_candidate_shells $SHELL; do
269 # Try only shells that exist, to save several forks.
270 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
271 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
272 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
275 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
276 # is contrary to our usage. Disable this feature.
277 alias -g '${1+"$@"}'='"$@"'
280 case `(set -o) 2>/dev/null` in
281 *posix
*) set -o posix
;;
290 CONFIG_SHELL
=$as_shell
292 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
293 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
296 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
297 # is contrary to our usage. Disable this feature.
298 alias -g '${1+"$@"}'='"$@"'
301 case `(set -o) 2>/dev/null` in
302 *posix
*) set -o posix
;;
318 as_func_ret_success
() {
321 as_func_ret_failure
() {
326 if as_func_success
; then
330 echo as_func_success failed.
333 if as_func_failure
; then
335 echo as_func_failure succeeded.
338 if as_func_ret_success
; then
342 echo as_func_ret_success failed.
345 if as_func_ret_failure
; then
347 echo as_func_ret_failure succeeded.
350 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
354 echo positional parameters were not saved.
357 test $exitcode = 0) ||
{ (exit 1); exit 1; }
362 test "x$as_lineno_1" != "x$as_lineno_2" &&
363 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
374 if test "x$CONFIG_SHELL" != x
; then
375 for as_var
in BASH_ENV ENV
376 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
379 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
383 if test $as_have_required = no
; then
384 echo This
script requires a shell
more modern than all the
385 echo shells that I found on your system. Please
install a
386 echo modern shell
, or manually run the
script under such a
387 echo shell
if you
do have one.
388 { (exit 1); exit 1; }
398 (eval "as_func_return () {
407 as_func_ret_success () {
410 as_func_ret_failure () {
415 if as_func_success; then
419 echo as_func_success failed.
422 if as_func_failure; then
424 echo as_func_failure succeeded.
427 if as_func_ret_success; then
431 echo as_func_ret_success failed.
434 if as_func_ret_failure; then
436 echo as_func_ret_failure succeeded.
439 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
443 echo positional parameters were not saved.
446 test \$exitcode = 0") ||
{
447 echo No shell found that supports shell functions.
448 echo Please tell autoconf@gnu.org about your system
,
449 echo including any error possibly output before this
457 test "x$as_lineno_1" != "x$as_lineno_2" &&
458 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
460 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
461 # uniformly replaced by the line number. The first 'sed' inserts a
462 # line-number line after each line using $LINENO; the second 'sed'
463 # does the real work. The second script uses 'N' to pair each
464 # line-number line with the line containing $LINENO, and appends
465 # trailing '-' during substitution so that $LINENO is not a special
467 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
468 # scripts with optimization help from Paolo Bonzini. Blame Lee
469 # E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
487 { (exit 1); exit 1; }; }
489 # Don't try to exec as it changes $[0], causing all sort of problems
490 # (the dirname of $[0] is not the place where we might find the
491 # original and so on. Autoconf is especially sensitive to this).
493 # Exit status is that of the last command.
498 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
504 ECHO_C
= ECHO_N
= ECHO_T
=
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
515 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -p'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
542 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
543 rmdir conf$$.dir
2>/dev
/null
545 if mkdir
-p .
2>/dev
/null
; then
548 test -d .
/-p && rmdir .
/-p
552 if test -x / >/dev
/null
2>&1; then
555 if ls -dL / >/dev
/null
2>&1; then
562 if test -d "$1"; then
568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
569 ???[sx]*):;;*)false;;esac;fi
573 as_executable_p
=$as_test_x
575 # Sed expression to map a string onto a valid CPP name.
576 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
578 # Sed expression to map a string onto a valid variable name.
579 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
583 exec 7<&0 </dev
/null
6>&1
586 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
587 # so uname gets run too.
588 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
593 ac_default_prefix
=/usr
/local
595 ac_config_libobj_dir
=.
601 SHELL
=${CONFIG_SHELL-/bin/sh}
603 # Identity of this package.
604 PACKAGE_NAME
='GNU Autoconf'
605 PACKAGE_TARNAME
='autoconf'
606 PACKAGE_VERSION
='2.61b'
607 PACKAGE_STRING
='GNU Autoconf 2.61b'
608 PACKAGE_BUGREPORT
='bug-autoconf@gnu.org'
610 ac_unique_file
="ChangeLog"
620 program_transform_name
662 INSTALL_STRIP_PROGRAM
687 enable_option_checking
690 ac_precious_vars
='build_alias
697 # Initialize some variables set by options.
699 ac_init_version
=false
700 ac_unrecognized_opts
=
702 # The variables have the same names as the options, with
703 # dashes changed to underlines.
711 program_transform_name
=s
,x
,x
,
719 # Installation directory options.
720 # These are left unexpanded so users can "make install exec_prefix=/foo"
721 # and all the variables that are supposed to be based on exec_prefix
722 # by default will actually change.
723 # Use braces instead of parens because sh, perl, etc. also accept them.
724 # (The list follows the same order as the GNU Coding Standards.)
725 bindir
='${exec_prefix}/bin'
726 sbindir
='${exec_prefix}/sbin'
727 libexecdir
='${exec_prefix}/libexec'
728 datarootdir
='${prefix}/share'
729 datadir
='${datarootdir}'
730 sysconfdir
='${prefix}/etc'
731 sharedstatedir
='${prefix}/com'
732 localstatedir
='${prefix}/var'
733 includedir
='${prefix}/include'
734 oldincludedir
='/usr/include'
735 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
736 infodir
='${datarootdir}/info'
741 libdir
='${exec_prefix}/lib'
742 localedir
='${datarootdir}/locale'
743 mandir
='${datarootdir}/man'
749 # If the previous option needs an argument, assign it.
750 if test -n "$ac_prev"; then
751 eval $ac_prev=\
$ac_option
757 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761 # Accept the important Cygnus configure options, so we can diagnose typos.
763 case $ac_dashdash$ac_option in
767 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
769 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
772 -build |
--build |
--buil |
--bui |
--bu)
773 ac_prev
=build_alias
;;
774 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
775 build_alias
=$ac_optarg ;;
777 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
778 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
779 ac_prev
=cache_file
;;
780 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
781 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
782 cache_file
=$ac_optarg ;;
785 cache_file
=config.cache
;;
787 -datadir |
--datadir |
--datadi |
--datad)
789 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
790 datadir
=$ac_optarg ;;
792 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
793 |
--dataroo |
--dataro |
--datar)
794 ac_prev
=datarootdir
;;
795 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
796 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
797 datarootdir
=$ac_optarg ;;
799 -disable-* |
--disable-*)
800 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
801 # Reject names that are not valid shell variable names.
802 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
803 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
804 { (exit 1); exit 1; }; }
805 ac_useropt_orig
=$ac_useropt
806 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
807 case $ac_user_opts in
811 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
812 ac_unrecognized_sep
=', ';;
814 eval enable_
$ac_useropt=no
;;
816 -docdir |
--docdir |
--docdi |
--doc |
--do)
818 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
821 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
823 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
826 -enable-* |
--enable-*)
827 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
830 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
831 { (exit 1); exit 1; }; }
832 ac_useropt_orig
=$ac_useropt
833 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
834 case $ac_user_opts in
838 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
839 ac_unrecognized_sep
=', ';;
841 eval enable_
$ac_useropt=\
$ac_optarg ;;
843 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
844 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
845 |
--exec |
--exe |
--ex)
846 ac_prev
=exec_prefix
;;
847 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
848 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
849 |
--exec=* |
--exe=* |
--ex=*)
850 exec_prefix
=$ac_optarg ;;
852 -gas |
--gas |
--ga |
--g)
853 # Obsolete; use --with-gas.
856 -help |
--help |
--hel |
--he |
-h)
858 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
859 ac_init_help
=recursive
;;
860 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
861 ac_init_help
=short
;;
863 -host |
--host |
--hos |
--ho)
864 ac_prev
=host_alias
;;
865 -host=* |
--host=* |
--hos=* |
--ho=*)
866 host_alias
=$ac_optarg ;;
868 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
870 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
872 htmldir
=$ac_optarg ;;
874 -includedir |
--includedir |
--includedi |
--included |
--include \
875 |
--includ |
--inclu |
--incl |
--inc)
876 ac_prev
=includedir
;;
877 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
878 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
879 includedir
=$ac_optarg ;;
881 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
883 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
884 infodir
=$ac_optarg ;;
886 -libdir |
--libdir |
--libdi |
--libd)
888 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
891 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
892 |
--libexe |
--libex |
--libe)
893 ac_prev
=libexecdir
;;
894 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
895 |
--libexe=* |
--libex=* |
--libe=*)
896 libexecdir
=$ac_optarg ;;
898 -localedir |
--localedir |
--localedi |
--localed |
--locale)
900 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
901 localedir
=$ac_optarg ;;
903 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
904 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
905 ac_prev
=localstatedir
;;
906 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
907 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
908 localstatedir
=$ac_optarg ;;
910 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
912 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
916 # Obsolete; use --without-fp.
919 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
920 |
--no-cr |
--no-c |
-n)
923 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
924 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
927 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
928 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
929 |
--oldin |
--oldi |
--old |
--ol |
--o)
930 ac_prev
=oldincludedir
;;
931 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
932 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
933 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
934 oldincludedir
=$ac_optarg ;;
936 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
938 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
941 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
942 |
--program-pre |
--program-pr |
--program-p)
943 ac_prev
=program_prefix
;;
944 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
945 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
946 program_prefix
=$ac_optarg ;;
948 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
949 |
--program-suf |
--program-su |
--program-s)
950 ac_prev
=program_suffix
;;
951 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
952 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
953 program_suffix
=$ac_optarg ;;
955 -program-transform-name |
--program-transform-name \
956 |
--program-transform-nam |
--program-transform-na \
957 |
--program-transform-n |
--program-transform- \
958 |
--program-transform |
--program-transfor \
959 |
--program-transfo |
--program-transf \
960 |
--program-trans |
--program-tran \
961 |
--progr-tra |
--program-tr |
--program-t)
962 ac_prev
=program_transform_name
;;
963 -program-transform-name=* |
--program-transform-name=* \
964 |
--program-transform-nam=* |
--program-transform-na=* \
965 |
--program-transform-n=* |
--program-transform-=* \
966 |
--program-transform=* |
--program-transfor=* \
967 |
--program-transfo=* |
--program-transf=* \
968 |
--program-trans=* |
--program-tran=* \
969 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
970 program_transform_name
=$ac_optarg ;;
972 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
974 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
977 -psdir |
--psdir |
--psdi |
--psd |
--ps)
979 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
982 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
983 |
-silent |
--silent |
--silen |
--sile |
--sil)
986 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
988 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
990 sbindir
=$ac_optarg ;;
992 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
993 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
994 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
996 ac_prev
=sharedstatedir
;;
997 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
998 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
999 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1001 sharedstatedir
=$ac_optarg ;;
1003 -site |
--site |
--sit)
1005 -site=* |
--site=* |
--sit=*)
1008 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1010 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1011 srcdir
=$ac_optarg ;;
1013 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1014 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1015 ac_prev
=sysconfdir
;;
1016 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1017 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1018 sysconfdir
=$ac_optarg ;;
1020 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1021 ac_prev
=target_alias
;;
1022 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1023 target_alias
=$ac_optarg ;;
1025 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1028 -version |
--version |
--versio |
--versi |
--vers |
-V)
1029 ac_init_version
=: ;;
1032 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1035 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1036 { (exit 1); exit 1; }; }
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1039 case $ac_user_opts in
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval with_
$ac_useropt=\
$ac_optarg ;;
1048 -without-* |
--without-*)
1049 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1052 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1053 { (exit 1); exit 1; }; }
1054 ac_useropt_orig
=$ac_useropt
1055 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1056 case $ac_user_opts in
1060 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1061 ac_unrecognized_sep
=', ';;
1063 eval with_
$ac_useropt=no
;;
1066 # Obsolete; use --with-x.
1069 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1070 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1071 ac_prev
=x_includes
;;
1072 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1073 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1074 x_includes
=$ac_optarg ;;
1076 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1077 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1078 ac_prev
=x_libraries
;;
1079 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1080 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1081 x_libraries
=$ac_optarg ;;
1083 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1084 Try \`$0 --help' for more information." >&2
1085 { (exit 1); exit 1; }; }
1089 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1092 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1093 { (exit 1); exit 1; }; }
1094 eval $ac_envvar=\
$ac_optarg
1095 export $ac_envvar ;;
1098 # FIXME: should be removed in autoconf 3.0.
1099 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1100 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1101 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1102 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1108 if test -n "$ac_prev"; then
1109 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1110 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1111 { (exit 1); exit 1; }; }
1114 if test -n "$ac_unrecognized_opts"; then
1115 case $enable_option_checking in
1117 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1118 { (exit 1); exit 1; }; } ;;
1119 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1123 # Be sure to have absolute directory names.
1124 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1125 datadir sysconfdir sharedstatedir localstatedir includedir \
1126 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1127 libdir localedir mandir
1129 eval ac_val
=\$
$ac_var
1131 [\\/$
]* | ?
:[\\/]* ) continue;;
1132 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1134 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1135 { (exit 1); exit 1; }; }
1138 # There might be people who depend on the old broken behavior: `$host'
1139 # used to hold the argument of --host etc.
1140 # FIXME: To remove some day.
1143 target
=$target_alias
1145 # FIXME: To remove some day.
1146 if test "x$host_alias" != x
; then
1147 if test "x$build_alias" = x
; then
1148 cross_compiling
=maybe
1149 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1150 If a cross compiler is detected then cross compile mode will be used." >&2
1151 elif test "x$build_alias" != "x$host_alias"; then
1157 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1159 test "$silent" = yes && exec 6>/dev
/null
1162 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1163 ac_ls_di
=`ls -di .` &&
1164 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1165 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1166 { (exit 1); exit 1; }; }
1167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1168 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1169 { (exit 1); exit 1; }; }
1172 # Find the source files, if location was not specified.
1173 if test -z "$srcdir"; then
1174 ac_srcdir_defaulted
=yes
1175 # Try the directory containing this script, then the parent directory.
1176 ac_confdir
=`$as_dirname -- "$0" ||
1177 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1178 X"$0" : 'X\(//\)[^/]' \| \
1179 X"$0" : 'X\(//\)$' \| \
1180 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1204 ac_srcdir_defaulted
=no
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1207 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1208 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1209 { (exit 1); exit 1; }; }
1211 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1213 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1214 { (exit 1); exit 1; }; }
1216 # When building in place, set srcdir=.
1217 if test "$ac_abs_confdir" = "$ac_pwd"; then
1220 # Remove unnecessary trailing slashes from srcdir.
1221 # Double slashes in file names in object file debugging info
1222 # mess up M-x gdb in Emacs.
1224 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 for ac_var
in $ac_precious_vars; do
1227 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1228 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1229 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1230 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1234 # Report the --help message.
1236 if test "$ac_init_help" = "long"; then
1237 # Omit some internal or obsolete options to make the list less imposing.
1238 # This message is too long to be a string in the A/UX 3.1 sh.
1240 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1242 Usage: $0 [OPTION]... [VAR=VALUE]...
1244 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1245 VAR=VALUE. See below for descriptions of some of the useful variables.
1247 Defaults for the options are specified in brackets.
1250 -h, --help display this help and exit
1251 --help=short display options specific to this package
1252 --help=recursive display the short help of all the included packages
1253 -V, --version display version information and exit
1254 -q, --quiet, --silent do not print \`checking...' messages
1255 --cache-file=FILE cache test results in FILE [disabled]
1256 -C, --config-cache alias for \`--cache-file=config.cache'
1257 -n, --no-create do not create output files
1258 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1260 Installation directories:
1261 --prefix=PREFIX install architecture-independent files in PREFIX
1262 [$ac_default_prefix]
1263 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1266 By default, \`make install' will install all the files in
1267 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1268 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1269 for instance \`--prefix=\$HOME'.
1271 For better control, use the options below.
1273 Fine tuning of the installation directories:
1274 --bindir=DIR user executables [EPREFIX/bin]
1275 --sbindir=DIR system admin executables [EPREFIX/sbin]
1276 --libexecdir=DIR program executables [EPREFIX/libexec]
1277 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1278 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1279 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1280 --libdir=DIR object code libraries [EPREFIX/lib]
1281 --includedir=DIR C header files [PREFIX/include]
1282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1285 --infodir=DIR info documentation [DATAROOTDIR/info]
1286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1287 --mandir=DIR man documentation [DATAROOTDIR/man]
1288 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1289 --htmldir=DIR html documentation [DOCDIR]
1290 --dvidir=DIR dvi documentation [DOCDIR]
1291 --pdfdir=DIR pdf documentation [DOCDIR]
1292 --psdir=DIR ps documentation [DOCDIR]
1298 --program-prefix=PREFIX prepend PREFIX to installed program names
1299 --program-suffix=SUFFIX append SUFFIX to installed program names
1300 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1304 if test -n "$ac_init_help"; then
1305 case $ac_init_help in
1306 short | recursive
) echo "Configuration of GNU Autoconf 2.61b:";;
1311 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1312 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1313 --with-lispdir override the default lisp directory
1315 Some influential environment variables
:
1316 EMACS the Emacs editor
command
1318 the Emacs library search path
1320 Use these variables to override the choices made by
`configure' or to help
1321 it to find libraries and programs with nonstandard names/locations.
1323 Report bugs to <bug-autoconf@gnu.org>.
1328 if test "$ac_init_help" = "recursive"; then
1329 # If there are subdirs, report their specific --help.
1330 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1331 test -d "$ac_dir" || continue
1335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1338 # A ".." for each directory in $ac_dir_suffix.
1339 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1340 case $ac_top_builddir_sub in
1341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345 ac_abs_top_builddir=$ac_pwd
1346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1347 # for backward compatibility:
1348 ac_top_builddir=$ac_top_build_prefix
1351 .) # We are building in place.
1353 ac_top_srcdir=$ac_top_builddir_sub
1354 ac_abs_top_srcdir=$ac_pwd ;;
1355 [\\/]* | ?:[\\/]* ) # Absolute name.
1356 ac_srcdir=$srcdir$ac_dir_suffix;
1357 ac_top_srcdir=$srcdir
1358 ac_abs_top_srcdir=$srcdir ;;
1360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1361 ac_top_srcdir=$ac_top_build_prefix$srcdir
1362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366 cd "$ac_dir" || { ac_status=$?; continue; }
1367 # Check for guested configure.
1368 if test -f "$ac_srcdir/configure.gnu"; then
1370 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1371 elif test -f "$ac_srcdir/configure"; then
1373 $SHELL "$ac_srcdir/configure" --help=recursive
1375 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 cd "$ac_pwd" || { ac_status=$?; break; }
1381 test -n "$ac_init_help" && exit $ac_status
1382 if $ac_init_version; then
1384 GNU Autoconf configure 2.61b
1385 generated by GNU Autoconf 2.61b
1387 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1388 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1389 This configure script is free software; the Free Software Foundation
1390 gives unlimited permission to copy, distribute and modify it.
1394 cat >config.log <<_ACEOF
1395 This file contains any messages produced by compilers while
1396 running configure, to aid debugging if configure makes a mistake.
1398 It was created by GNU Autoconf $as_me 2.61b, which was
1399 generated by GNU Autoconf 2.61b. Invocation command line was
1411 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1412 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1413 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1414 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1415 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1417 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1418 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1420 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1421 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1422 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1423 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1424 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1425 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1426 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1434 test -z "$as_dir" && as_dir=.
1435 $as_echo "PATH: $as_dir"
1451 # Keep a trace of the command line.
1452 # Strip out --no-create and --no-recursion so they do not pile up.
1453 # Strip out --silent because we don't want to record it for future runs.
1454 # Also quote any args containing shell meta-characters.
1455 # Make two passes to allow for proper duplicate-argument suppression.
1459 ac_must_keep_next=false
1465 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1467 | -silent | --silent | --silen | --sile | --sil)
1470 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1473 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1475 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1476 if test $ac_must_keep_next = true; then
1477 ac_must_keep_next=false # Got value, back to normal.
1480 *=* | --config-cache | -C | -disable-* | --disable-* \
1481 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1482 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1483 | -with-* | --with-* | -without-* | --without-* | --x)
1484 case "$ac_configure_args0 " in
1485 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1488 -* ) ac_must_keep_next=true ;;
1491 ac_configure_args="$ac_configure_args '$ac_arg'"
1496 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1497 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1499 # When interrupted or exit'd, cleanup temporary files, and complete
1500 # config.log. We remove comments because anyway the quotes in there
1501 # would cause problems or look ugly.
1502 # WARNING: Use '\'' to represent an apostrophe within the trap.
1503 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1504 trap 'exit_status=$?
1505 # Save into config.log some information that might help in debugging.
1510 ## ---------------- ##
1511 ## Cache variables. ##
1512 ## ---------------- ##
1515 # The following way of writing the cache mishandles newlines in values,
1517 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1518 eval ac_val=\$$ac_var
1522 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1523 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1526 _ | IFS | as_nl) ;; #(
1527 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1528 *) $as_unset $ac_var ;;
1533 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1534 *${as_nl}ac_space=\ *)
1536 "s/'\''/'\''\\\\'\'''\''/g;
1537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1548 ## ----------------- ##
1549 ## Output variables. ##
1550 ## ----------------- ##
1553 for ac_var in $ac_subst_vars
1555 eval ac_val=\$$ac_var
1557 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1559 $as_echo "$ac_var='\''$ac_val'\''"
1563 if test -n "$ac_subst_files"; then
1565 ## ------------------- ##
1566 ## File substitutions. ##
1567 ## ------------------- ##
1570 for ac_var in $ac_subst_files
1572 eval ac_val=\$$ac_var
1574 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1576 $as_echo "$ac_var='\''$ac_val'\''"
1581 if test -s confdefs.h; then
1591 test "$ac_signal" != 0 &&
1592 $as_echo "$as_me: caught signal $ac_signal"
1593 $as_echo "$as_me: exit $exit_status"
1595 rm -f core *.core core.conftest.* &&
1596 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1599 for ac_signal in 1 2 13 15; do
1600 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1604 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1605 rm -f -r conftest* confdefs.h
1607 # Predefined preprocessor variables.
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_NAME "$PACKAGE_NAME"
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_STRING "$PACKAGE_STRING"
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1634 # Let the site file select an alternate cache file if it wants to.
1635 # Prefer explicitly selected file to automatically selected ones.
1636 if test -n "$CONFIG_SITE"; then
1637 set x "$CONFIG_SITE"
1638 elif test "x$prefix" != xNONE; then
1639 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1641 set x "$ac_default_prefix/share/config.site" \
1642 "$ac_default_prefix/etc/config.site"
1647 if test -r "$ac_site_file"; then
1648 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1649 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1650 sed 's/^/| /' "$ac_site_file" >&5
1655 if test -r "$cache_file"; then
1656 # Some versions of bash will fail to source /dev/null (special
1657 # files actually), so we avoid doing that.
1658 if test -f "$cache_file"; then
1659 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1660 $as_echo "$as_me: loading cache $cache_file" >&6;}
1662 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1663 *) . "./$cache_file";;
1667 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1668 $as_echo "$as_me: creating cache $cache_file" >&6;}
1672 # Check that the precious variables saved in the cache have kept the same
1674 ac_cache_corrupted=false
1675 for ac_var in $ac_precious_vars; do
1676 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1677 eval ac_new_set=\$ac_env_${ac_var}_set
1678 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1679 eval ac_new_val=\$ac_env_${ac_var}_value
1680 case $ac_old_set,$ac_new_set in
1682 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1683 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1684 ac_cache_corrupted=: ;;
1686 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1687 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1688 ac_cache_corrupted=: ;;
1691 if test "x$ac_old_val" != "x$ac_new_val"; then
1692 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1693 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1694 { $as_echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1695 $as_echo "$as_me: former value
: $ac_old_val" >&2;}
1696 { $as_echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1697 $as_echo "$as_me: current value
: $ac_new_val" >&2;}
1698 ac_cache_corrupted=:
1701 # Pass precious variables to config.status.
1702 if test "$ac_new_set" = set; then
1704 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1705 *) ac_arg=$ac_var=$ac_new_val ;;
1707 case " $ac_configure_args " in
1708 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1709 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1713 if $ac_cache_corrupted; then
1714 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1715 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1716 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1717 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1718 { (exit 1); exit 1; }; }
1746 ac_cpp='$CPP $CPPFLAGS'
1747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1755 for ac_dir in build-aux "$srcdir"/build-aux; do
1756 if test -f "$ac_dir/install-sh"; then
1758 ac_install_sh="$ac_aux_dir/install-sh -c"
1760 elif test -f "$ac_dir/install.sh"; then
1762 ac_install_sh="$ac_aux_dir/install.sh -c"
1764 elif test -f "$ac_dir/shtool"; then
1766 ac_install_sh="$ac_aux_dir/shtool install -c"
1770 if test -z "$ac_aux_dir"; then
1771 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1772 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1773 { (exit 1); exit 1; }; }
1776 # These three variables are undocumented and unsupported,
1777 # and are intended to be withdrawn in a future Autoconf release.
1778 # They can cause serious problems if a builder's source tree is in a directory
1779 # whose full name contains unusual characters.
1780 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1781 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1782 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1786 am__api_version='1.10'
1788 # Find a good install program. We prefer a C program (faster),
1789 # so one script is as good as another. But avoid the broken or
1790 # incompatible versions:
1791 # SysV /etc/install, /usr/sbin/install
1792 # SunOS /usr/etc/install
1793 # IRIX /sbin/install
1795 # AmigaOS /C/install, which installs bootblocks on floppy discs
1796 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1797 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1798 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1799 # OS/2's system install, which has a completely different semantic
1800 # ./install, which can be erroneously created by make from ./install.sh.
1801 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1802 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1803 if test -z "$INSTALL"; then
1804 if test "${ac_cv_path_install+set}" = set; then
1805 $as_echo_n "(cached) " >&6
1807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811 test -z "$as_dir" && as_dir=.
1812 # Account for people who put trailing slashes in PATH elements.
1814 ./ | .// | /cC/* | \
1815 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1816 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1819 # OSF1 and SCO ODT 3.0 have their own names for install.
1820 # Don't use installbsd from OSF since it installs stuff as root
1822 for ac_prog in ginstall scoinst install; do
1823 for ac_exec_ext in '' $ac_executable_extensions; do
1824 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1825 if test $ac_prog = install &&
1826 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1827 # AIX install. It has an incompatible calling convention.
1829 elif test $ac_prog = install &&
1830 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1831 # program-specific install script used by HP pwplus--don't use.
1834 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1847 if test "${ac_cv_path_install+set}" = set; then
1848 INSTALL=$ac_cv_path_install
1850 # As a last resort, use the slow shell script. Don't cache a
1851 # value for INSTALL within a source directory, because that will
1852 # break other packages using the cache if that directory is
1853 # removed, or if the value is a relative name.
1854 INSTALL=$ac_install_sh
1857 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1858 $as_echo "$INSTALL" >&6; }
1860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1861 # It thinks the first close brace ends the variable substitution.
1862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1868 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1869 $as_echo_n "checking whether build environment is sane... " >&6; }
1872 echo timestamp > conftest.file
1873 # Do `set' in a subshell so we don't clobber the current shell
's
1874 # arguments. Must try -L first in case configure is actually a
1875 # symlink; some systems play weird games with the mod time of symlinks
1876 # (eg FreeBSD returns the mod time of the symlink's containing
1879 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1880 if test "$*" = "X"; then
1882 set X
`ls -t $srcdir/configure conftest.file`
1885 if test "$*" != "X $srcdir/configure conftest.file" \
1886 && test "$*" != "X conftest.file $srcdir/configure"; then
1888 # If neither matched, then we have a broken ls. This can happen
1889 # if, for instance, CONFIG_SHELL is bash and it inherits a
1890 # broken ls alias from the environment. This has actually
1891 # happened. Such a system could not be considered "sane".
1892 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1893 alias in your environment" >&5
1894 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1895 alias in your environment" >&2;}
1896 { (exit 1); exit 1; }; }
1899 test "$2" = conftest.
file
1905 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1906 Check your system clock" >&5
1907 $as_echo "$as_me: error: newly created file is older than distributed files!
1908 Check your system clock" >&2;}
1909 { (exit 1); exit 1; }; }
1911 { $as_echo "$as_me:$LINENO: result: yes" >&5
1912 $as_echo "yes" >&6; }
1913 test "$program_prefix" != NONE
&&
1914 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1915 # Use a double $ so make ignores it.
1916 test "$program_suffix" != NONE
&&
1917 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1918 # Double any \ or $.
1919 # By default was `s,x,x', remove it if useless.
1920 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
1921 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
1923 # expand $ac_aux_dir to an absolute path
1924 am_aux_dir
=`cd $ac_aux_dir && pwd`
1926 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1927 # Use eval to expand $SHELL
1928 if eval "$MISSING --run true"; then
1929 am_missing_run
="$MISSING --run "
1932 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1933 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1936 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1937 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1938 if test -z "$MKDIR_P"; then
1939 if test "${ac_cv_path_mkdir+set}" = set; then
1940 $as_echo_n "(cached) " >&6
1942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1943 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
1946 test -z "$as_dir" && as_dir
=.
1947 for ac_prog
in mkdir gmkdir
; do
1948 for ac_exec_ext
in '' $ac_executable_extensions; do
1949 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
1950 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1951 'mkdir (GNU coreutils) '* | \
1952 'mkdir (coreutils) '* | \
1953 'mkdir (fileutils) '4.1*)
1954 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
1964 if test "${ac_cv_path_mkdir+set}" = set; then
1965 MKDIR_P
="$ac_cv_path_mkdir -p"
1967 # As a last resort, use the slow shell script. Don't cache a
1968 # value for MKDIR_P within a source directory, because that will
1969 # break other packages using the cache if that directory is
1970 # removed, or if the value is a relative name.
1971 test -d .
/--version && rmdir .
/--version
1972 MKDIR_P
="$ac_install_sh -d"
1975 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1976 $as_echo "$MKDIR_P" >&6; }
1980 [\\/$
]* | ?
:[\\/]*) ;;
1981 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
1984 for ac_prog
in gawk mawk nawk
awk
1986 # Extract the first word of "$ac_prog", so it can be a program name with args.
1987 set dummy
$ac_prog; ac_word
=$2
1988 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1989 $as_echo_n "checking for $ac_word... " >&6; }
1990 if test "${ac_cv_prog_AWK+set}" = set; then
1991 $as_echo_n "(cached) " >&6
1993 if test -n "$AWK"; then
1994 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2000 test -z "$as_dir" && as_dir
=.
2001 for ac_exec_ext
in '' $ac_executable_extensions; do
2002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2003 ac_cv_prog_AWK
="$ac_prog"
2004 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2014 if test -n "$AWK"; then
2015 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2016 $as_echo "$AWK" >&6; }
2018 { $as_echo "$as_me:$LINENO: result: no" >&5
2019 $as_echo "no" >&6; }
2023 test -n "$AWK" && break
2026 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2027 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2029 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2030 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2031 $as_echo_n "(cached) " >&6
2033 cat >conftest.
make <<\_ACEOF
2036 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2038 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2039 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2041 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2043 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2047 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2048 { $as_echo "$as_me:$LINENO: result: yes" >&5
2049 $as_echo "yes" >&6; }
2052 { $as_echo "$as_me:$LINENO: result: no" >&5
2053 $as_echo "no" >&6; }
2054 SET_MAKE
="MAKE=${MAKE-make}"
2057 rm -rf .tst
2>/dev
/null
2058 mkdir .tst
2>/dev
/null
2059 if test -d .tst
; then
2064 rmdir .tst
2>/dev
/null
2066 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2067 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2068 # is not polluted with repeated "-I."
2069 am__isrc
=' -I$(srcdir)'
2070 # test to see if srcdir already configured
2071 if test -f $srcdir/config.status
; then
2072 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2073 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2074 { (exit 1); exit 1; }; }
2078 # test whether we have cygpath
2079 if test -z "$CYGPATH_W"; then
2080 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2081 CYGPATH_W
='cygpath -w'
2088 # Define the identity of the package.
2093 cat >>confdefs.h
<<_ACEOF
2094 #define PACKAGE "$PACKAGE"
2098 cat >>confdefs.h
<<_ACEOF
2099 #define VERSION "$VERSION"
2102 # Some tools Automake needs.
2104 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2107 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2110 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2113 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2116 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2118 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2120 # Installed binaries are usually stripped using `strip' when the user
2121 # run `make install-strip'. However `strip' might not be the right
2122 # tool to use in cross-compilation environments, therefore Automake
2123 # will honor the `STRIP' environment variable to overrule this program.
2124 if test "$cross_compiling" != no
; then
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2127 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 $as_echo_n "checking for $ac_word... " >&6; }
2130 if test "${ac_cv_prog_STRIP+set}" = set; then
2131 $as_echo_n "(cached) " >&6
2133 if test -n "$STRIP"; then
2134 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir
=.
2141 for ac_exec_ext
in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2144 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 STRIP
=$ac_cv_prog_STRIP
2154 if test -n "$STRIP"; then
2155 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2156 $as_echo "$STRIP" >&6; }
2158 { $as_echo "$as_me:$LINENO: result: no" >&5
2159 $as_echo "no" >&6; }
2164 if test -z "$ac_cv_prog_STRIP"; then
2166 # Extract the first word of "strip", so it can be a program name with args.
2167 set dummy strip
; ac_word
=$2
2168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 $as_echo_n "checking for $ac_word... " >&6; }
2170 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2171 $as_echo_n "(cached) " >&6
2173 if test -n "$ac_ct_STRIP"; then
2174 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir
=.
2181 for ac_exec_ext
in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 ac_cv_prog_ac_ct_STRIP
="strip"
2184 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2194 if test -n "$ac_ct_STRIP"; then
2195 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2196 $as_echo "$ac_ct_STRIP" >&6; }
2198 { $as_echo "$as_me:$LINENO: result: no" >&5
2199 $as_echo "no" >&6; }
2202 if test "x$ac_ct_STRIP" = x
; then
2205 case $cross_compiling:$ac_tool_warned in
2207 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2208 whose name does not start with the host triplet. If you think this
2209 configuration is useful to you, please write to autoconf@gnu.org." >&5
2210 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2211 whose name does not start with the host triplet. If you think this
2212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2213 ac_tool_warned
=yes ;;
2218 STRIP
="$ac_cv_prog_STRIP"
2222 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2224 # We need awk for the "check" target. The system "awk" is bad on
2226 # Always define AMTAR for backward compatibility.
2228 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2230 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2237 # We use `/bin/sh -n script' to check that there are no syntax errors
2238 # in the scripts. Although incredible, there are /bin/sh that go into
2239 # endless loops with `-n', e.g., SunOS's:
2242 # SunOS ondine 4.1.3 2 sun4m unknown
2249 # $ time sh endless.sh
2250 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2251 # $ time sh -nx endless.sh
2252 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2254 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2255 # that they are unusable on large scripts like our testsuite.
2257 # So before using `/bin/sh -n' to check our scripts, we first check
2258 # that `/bin/sh -n' is known to not have these problems.
2260 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2261 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2262 if test "${ac_cv_sh_n_works+set}" = set; then
2263 $as_echo_n "(cached) " >&6
2266 unset BASH_VERSION ZSH_VERSION
2268 test -n "${BASH_VERSION+set}" || # Bash
2269 test -n "${KSH_VERSION+set}" || # pdksh
2270 test -n "${ZSH_VERSION+set}" || # zsh
2271 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2274 then ac_cv_sh_n_works
=yes
2275 else ac_cv_sh_n_works
=no
2279 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2280 $as_echo "$ac_cv_sh_n_works" >&6; }
2283 # Initialize the test suite.
2284 ac_config_commands
="$ac_config_commands tests/atconfig"
2287 ac_config_files
="$ac_config_files tests/Makefile tests/atlocal"
2289 # Extract the first word of "expr", so it can be a program name with args.
2290 set dummy
expr; ac_word
=$2
2291 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 $as_echo_n "checking for $ac_word... " >&6; }
2293 if test "${ac_cv_path_EXPR+set}" = set; then
2294 $as_echo_n "(cached) " >&6
2298 ac_cv_path_EXPR
="$EXPR" # Let the user override the test with a path.
2301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir
=.
2306 for ac_exec_ext
in '' $ac_executable_extensions; do
2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2308 ac_cv_path_EXPR
="$as_dir/$ac_word$ac_exec_ext"
2309 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 EXPR
=$ac_cv_path_EXPR
2320 if test -n "$EXPR"; then
2321 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2322 $as_echo "$EXPR" >&6; }
2324 { $as_echo "$as_me:$LINENO: result: no" >&5
2325 $as_echo "no" >&6; }
2335 # We use an absolute name for GNU m4 so even if users have another m4 first in
2336 # their path, the installer can configure with a path that has GNU m4
2337 # first and get that path embedded in the installed autoconf and
2338 # autoheader scripts.
2339 for ac_prog
in gm4 gnum4
m4
2341 # Extract the first word of "$ac_prog", so it can be a program name with args.
2342 set dummy
$ac_prog; ac_word
=$2
2343 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if test "${ac_cv_path_M4+set}" = set; then
2346 $as_echo_n "(cached) " >&6
2350 ac_cv_path_M4
="$M4" # Let the user override the test with a path.
2353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2357 test -z "$as_dir" && as_dir
=.
2358 for ac_exec_ext
in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360 ac_cv_path_M4
="$as_dir/$ac_word$ac_exec_ext"
2361 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372 if test -n "$M4"; then
2373 { $as_echo "$as_me:$LINENO: result: $M4" >&5
2374 $as_echo "$M4" >&6; }
2376 { $as_echo "$as_me:$LINENO: result: no" >&5
2377 $as_echo "no" >&6; }
2381 test -n "$M4" && break
2383 test -n "$M4" || M4
="m4"
2385 { $as_echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2386 $as_echo_n "checking whether m4 supports frozen files... " >&6; }
2387 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2388 $as_echo_n "(cached) " >&6
2390 ac_cv_prog_gnu_m4
=no
2391 if test x
"$M4" != x
; then
2392 case `$M4 --help < /dev/null 2>&1` in
2393 *reload-state
*) ac_cv_prog_gnu_m4
=yes ;;
2397 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2398 $as_echo "$ac_cv_prog_gnu_m4" >&6; }
2399 if test $ac_cv_prog_gnu_m4 = yes ; then
2400 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2401 $as_echo_n "checking how m4 supports trace files... " >&6; }
2402 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2403 $as_echo_n "(cached) " >&6
2405 case `$M4 --help < /dev/null 2>&1` in
2406 *debugfile
*) ac_cv_prog_gnu_m4_debugfile
=--debugfile ;;
2407 *) ac_cv_prog_gnu_m4_debugfile
=--error-output ;;
2410 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2411 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2412 M4_DEBUGFILE
=$ac_cv_prog_gnu_m4_debugfile
2416 if test x
"$ac_cv_prog_gnu_m4" != xyes
; then
2417 { { $as_echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2418 $as_echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2419 { (exit 1); exit 1; }; }
2426 ac_config_files
="$ac_config_files man/Makefile"
2429 HELP2MAN
=${HELP2MAN-"${am_missing_run}help2man"}
2437 # We use an absolute name for perl so the #! line in autoscan will work.
2438 # Extract the first word of "perl", so it can be a program name with args.
2439 set dummy perl
; ac_word
=$2
2440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 $as_echo_n "checking for $ac_word... " >&6; }
2442 if test "${ac_cv_path_PERL+set}" = set; then
2443 $as_echo_n "(cached) " >&6
2447 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
2450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir
=.
2455 for ac_exec_ext
in '' $ac_executable_extensions; do
2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
2458 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
2469 PERL
=$ac_cv_path_PERL
2470 if test -n "$PERL"; then
2471 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2472 $as_echo "$PERL" >&6; }
2474 { $as_echo "$as_me:$LINENO: result: no" >&5
2475 $as_echo "no" >&6; }
2479 if test "$PERL" = no
; then
2480 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2481 $as_echo "$as_me: error: perl is not found" >&2;}
2482 { (exit 1); exit 1; }; }
2484 $PERL -e 'require 5.005_03;' ||
{
2485 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2486 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2487 { (exit 1); exit 1; }; }
2495 ac_config_files
="$ac_config_files lib/emacs/Makefile"
2498 test x
"$TEST_EMACS" = xt
&& TEST_EMACS
=
2499 for ac_prog
in emacs xemacs
2501 # Extract the first word of "$ac_prog", so it can be a program name with args.
2502 set dummy
$ac_prog; ac_word
=$2
2503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2506 $as_echo_n "(cached) " >&6
2508 if test -n "$TEST_EMACS"; then
2509 ac_cv_prog_TEST_EMACS
="$TEST_EMACS" # Let the user override the test.
2511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir
=.
2516 for ac_exec_ext
in '' $ac_executable_extensions; do
2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2518 ac_cv_prog_TEST_EMACS
="$ac_prog"
2519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 TEST_EMACS
=$ac_cv_prog_TEST_EMACS
2529 if test -n "$TEST_EMACS"; then
2530 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2531 $as_echo "$TEST_EMACS" >&6; }
2533 { $as_echo "$as_me:$LINENO: result: no" >&5
2534 $as_echo "no" >&6; }
2538 test -n "$TEST_EMACS" && break
2540 test -n "$TEST_EMACS" || TEST_EMACS
="no"
2543 # autoconf-mode.el and autotest-mode.el do not work with older version of
2544 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2545 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2546 # We detect this problem here.
2547 if test "$TEST_EMACS" != no
; then
2548 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2549 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2550 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2551 $as_echo_n "(cached) " >&6
2553 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2554 cat >conftest.el
<< "EOF"
2556 (defun broken-mode
() (setq broken-defaults
`(broken nil)))
2558 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2559 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; then
2563 ac_cv_prog_emacs_ok=yes
2565 ac_cv_prog_emacs_ok=no
2568 rm -f conftest.el conftest.elc
2570 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2571 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2572 if test $ac_cv_prog_emacs_ok = no; then
2582 # If set to t, that means we are running in a shell under Emacs.
2583 # If you have an Emacs named "t", then use the full path.
2584 test x"$EMACS" = xt && EMACS=
2585 for ac_prog in emacs xemacs
2587 # Extract the first word of "$ac_prog", so it can be a program name with args.
2588 set dummy $ac_prog; ac_word=$2
2589 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2590 $as_echo_n "checking for $ac_word... " >&6; }
2591 if test "${ac_cv_prog_EMACS+set}" = set; then
2592 $as_echo_n "(cached) " >&6
2594 if test -n "$EMACS"; then
2595 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 ac_cv_prog_EMACS="$ac_prog"
2605 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 EMACS=$ac_cv_prog_EMACS
2615 if test -n "$EMACS"; then
2616 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2617 $as_echo "$EMACS" >&6; }
2619 { $as_echo "$as_me:$LINENO: result: no" >&5
2620 $as_echo "no" >&6; }
2624 test -n "$EMACS" && break
2626 test -n "$EMACS" || EMACS="no"
2631 # Check whether --with-lispdir was given.
2632 if test "${with_lispdir+set}" = set; then
2633 withval=$with_lispdir; lispdir="$withval"
2634 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2635 $as_echo_n "checking where .elc files should go... " >&6; }
2636 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2637 $as_echo "$lispdir" >&6; }
2640 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2641 $as_echo_n "checking where .elc files should go... " >&6; }
2642 if test "${am_cv_lispdir+set}" = set; then
2643 $as_echo_n "(cached) " >&6
2646 if test $EMACS != "no"; then
2647 if test x${lispdir+set} != xset; then
2648 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2649 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2650 # which is non-obvious for non-emacs users.
2651 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2652 # emacsen earlier and avoid running this altogether.
2653 { ($as_echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5
2654 ($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
2656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }
2658 am_cv_lispdir=`sed -n \
2660 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2661 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2666 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2669 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2670 $as_echo "$am_cv_lispdir" >&6; }
2671 lispdir="$am_cv_lispdir"
2682 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2683 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2684 if test "${ac_cv_path_GREP+set}" = set; then
2685 $as_echo_n "(cached) " >&6
2687 # Extract the first word of "grep ggrep" to use in msg output
2688 if test -z "$GREP"; then
2689 set dummy grep ggrep; ac_prog_name=$2
2690 if test "${ac_cv_path_GREP+set}" = set; then
2691 $as_echo_n "(cached) " >&6
2693 ac_path_GREP_found=false
2694 # Loop through the user's path and test for each of PROGNAME-LIST
2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2699 test -z "$as_dir" && as_dir=.
2700 for ac_prog in grep ggrep; do
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2703 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2704 # Check for GNU ac_path_GREP and select it if it is found.
2705 # Check for GNU $ac_path_GREP
2706 case `"$ac_path_GREP" --version 2>&1` in
2708 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2711 $as_echo_n 0123456789 >"conftest.in"
2714 cat "conftest.in" "conftest.in" >"conftest.tmp"
2715 mv "conftest.tmp" "conftest.in"
2716 cp "conftest.in" "conftest.nl"
2717 $as_echo 'GREP' >> "conftest.nl"
2718 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2719 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2720 ac_count=`expr $ac_count + 1`
2721 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2722 # Best one so far, save it but keep looking for a better one
2723 ac_cv_path_GREP="$ac_path_GREP"
2724 ac_path_GREP_max=$ac_count
2726 # 10*(2^10) chars as input seems more than enough
2727 test $ac_count -gt 10 && break
2729 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2733 $ac_path_GREP_found && break 3
2743 GREP="$ac_cv_path_GREP"
2744 if test -z "$GREP"; then
2745 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2746 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2747 { (exit 1); exit 1; }; }
2751 ac_cv_path_GREP=$GREP
2756 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2757 $as_echo "$ac_cv_path_GREP" >&6; }
2758 GREP="$ac_cv_path_GREP"
2761 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2762 $as_echo_n "checking for egrep... " >&6; }
2763 if test "${ac_cv_path_EGREP+set}" = set; then
2764 $as_echo_n "(cached) " >&6
2766 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2767 then ac_cv_path_EGREP="$GREP -E"
2769 # Extract the first word of "egrep" to use in msg output
2770 if test -z "$EGREP"; then
2771 set dummy egrep; ac_prog_name=$2
2772 if test "${ac_cv_path_EGREP+set}" = set; then
2773 $as_echo_n "(cached) " >&6
2775 ac_path_EGREP_found=false
2776 # Loop through the user's path and test for each of PROGNAME-LIST
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2781 test -z "$as_dir" && as_dir=.
2782 for ac_prog in egrep; do
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2785 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2786 # Check for GNU ac_path_EGREP and select it if it is found.
2787 # Check for GNU $ac_path_EGREP
2788 case `"$ac_path_EGREP" --version 2>&1` in
2790 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2793 $as_echo_n 0123456789 >"conftest.in"
2796 cat "conftest.in" "conftest.in" >"conftest.tmp"
2797 mv "conftest.tmp" "conftest.in"
2798 cp "conftest.in" "conftest.nl"
2799 $as_echo 'EGREP' >> "conftest.nl"
2800 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2801 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2802 ac_count=`expr $ac_count + 1`
2803 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2804 # Best one so far, save it but keep looking for a better one
2805 ac_cv_path_EGREP="$ac_path_EGREP"
2806 ac_path_EGREP_max=$ac_count
2808 # 10*(2^10) chars as input seems more than enough
2809 test $ac_count -gt 10 && break
2811 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2815 $ac_path_EGREP_found && break 3
2825 EGREP="$ac_cv_path_EGREP"
2826 if test -z "$EGREP"; then
2827 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2828 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2829 { (exit 1); exit 1; }; }
2833 ac_cv_path_EGREP=$EGREP
2839 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2840 $as_echo "$ac_cv_path_EGREP" >&6; }
2841 EGREP="$ac_cv_path_EGREP"
2844 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2845 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2846 if test "${ac_cv_path_SED+set}" = set; then
2847 $as_echo_n "(cached) " >&6
2849 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2850 for ac_i in 1 2 3 4 5 6 7; do
2851 ac_script="$ac_script$as_nl$ac_script"
2853 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2854 $as_unset ac_script || ac_script=
2855 # Extract the first word of "sed gsed" to use in msg output
2856 if test -z "$SED"; then
2857 set dummy sed gsed; ac_prog_name=$2
2858 if test "${ac_cv_path_SED+set}" = set; then
2859 $as_echo_n "(cached) " >&6
2861 ac_path_SED_found=false
2862 # Loop through the user's path and test for each of PROGNAME-LIST
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 for ac_prog in sed gsed; do
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2871 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2872 # Check for GNU ac_path_SED and select it if it is found.
2873 # Check for GNU $ac_path_SED
2874 case `"$ac_path_SED" --version 2>&1` in
2876 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2879 $as_echo_n 0123456789 >"conftest.in"
2882 cat "conftest.in" "conftest.in" >"conftest.tmp"
2883 mv "conftest.tmp" "conftest.in"
2884 cp "conftest.in" "conftest.nl"
2885 $as_echo '' >> "conftest.nl"
2886 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2887 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2888 ac_count=`expr $ac_count + 1`
2889 if test $ac_count -gt ${ac_path_SED_max-0}; then
2890 # Best one so far, save it but keep looking for a better one
2891 ac_cv_path_SED="$ac_path_SED"
2892 ac_path_SED_max=$ac_count
2894 # 10*(2^10) chars as input seems more than enough
2895 test $ac_count -gt 10 && break
2897 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2901 $ac_path_SED_found && break 3
2911 SED="$ac_cv_path_SED"
2912 if test -z "$SED"; then
2913 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2914 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2915 { (exit 1); exit 1; }; }
2923 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2924 $as_echo "$ac_cv_path_SED" >&6; }
2925 SED="$ac_cv_path_SED"
2934 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"
2937 cat >confcache <<\_ACEOF
2938 # This file is a shell script that caches the results of configure
2939 # tests run on this system so they can be shared between configure
2940 # scripts and configure runs, see configure's option --config-cache.
2941 # It is not useful on other systems. If it contains results you don't
2942 # want to keep, you may remove or edit it.
2944 # config.status only pays attention to the cache file if you give it
2945 # the --recheck option to rerun configure.
2947 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
2948 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2953 # The following way of writing the cache mishandles newlines in values,
2954 # but we know of no workaround that is simple, portable, and efficient.
2955 # So, we kill variables containing newlines.
2956 # Ultrix sh set writes to stderr and can't be redirected directly,
2957 # and sets the high bit in the cache file unless we assign to the vars.
2959 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2960 eval ac_val
=\$
$ac_var
2964 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2965 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2968 _ | IFS | as_nl
) ;; #(
2969 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2970 *) $as_unset $ac_var ;;
2976 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2977 *${as_nl}ac_space
=\
*)
2978 # `set' does not quote correctly, so add quotes (double-quote
2979 # substitution turns \\\\ into \\, and sed turns \\ into \).
2982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2985 # `set' quotes correctly as required by POSIX, so do not add quotes.
2986 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2997 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2999 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3000 if test -w "$cache_file"; then
3001 test "x$cache_file" != "x/dev/null" &&
3002 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3003 $as_echo "$as_me: updating cache $cache_file" >&6;}
3004 cat confcache
>$cache_file
3006 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3007 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3012 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3013 # Let make expand exec_prefix.
3014 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3016 # Transform confdefs.h into DEFS.
3017 # Protect against shell expansion while executing Makefile rules.
3018 # Protect against Makefile macro expansion.
3020 # If the first sed substitution is executed (which looks for macros that
3021 # take arguments), then branch to the quote section. Otherwise,
3022 # look for a macro that doesn't take arguments.
3026 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3028 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3032 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3045 DEFS
=`sed -n "$ac_script" confdefs.h`
3050 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3051 # 1. Remove the extension, and $U if already installed.
3052 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3053 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3054 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3055 # will be set to the directory where LIBOBJS objects are built.
3056 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3057 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3061 LTLIBOBJS
=$ac_ltlibobjs
3065 : ${CONFIG_STATUS=./config.status}
3066 ac_clean_files_save
=$ac_clean_files
3067 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3068 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3069 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3070 cat >$CONFIG_STATUS <<_ACEOF
3072 # Generated by $as_me.
3073 # Run this file to recreate the current configuration.
3074 # Compiler output produced by configure, useful for debugging
3075 # configure, is in config.log if it exists.
3080 SHELL=\${CONFIG_SHELL-$SHELL}
3083 cat >>$CONFIG_STATUS <<\_ACEOF
3084 ## --------------------- ##
3085 ## M4sh Initialization. ##
3086 ## --------------------- ##
3088 # Be more Bourne compatible
3089 DUALCASE
=1; export DUALCASE
# for MKS sh
3090 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3093 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3094 # is contrary to our usage. Disable this feature.
3095 alias -g '${1+"$@"}'='"$@"'
3096 setopt NO_GLOB_SUBST
3098 case `(set -o) 2>/dev/null` in
3099 *posix
*) set -o posix
;;
3108 # Avoid depending upon Character Ranges.
3109 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3110 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3111 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3112 as_cr_digits
='0123456789'
3113 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3118 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3119 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3120 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3121 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3122 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3123 as_echo='printf %s
\n'
3124 as_echo_n='printf %s
'
3126 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3127 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3128 as_echo_n='/usr
/ucb
/echo -n'
3130 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3131 as_echo_n_body='eval
3135 expr "X$arg" : "X\\(.*\\)$as_nl";
3136 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3138 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3140 export as_echo_n_body
3141 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3144 as_echo='sh
-c $as_echo_body as_echo
'
3147 # The user is always right.
3148 if test "${PATH_SEPARATOR+set}" != set; then
3149 echo "#! /bin/sh" >conf$$.sh
3150 echo "exit 0" >>conf$$.sh
3152 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3160 # Support unset when possible.
3161 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3169 # We need space, tab and new line, in precisely that order. Quoting is
3170 # there to prevent editors from complaining about space-tab.
3171 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3172 # splitting by setting IFS to empty value.)
3175 # Find who we are. Look in the path if we contain no directory separator.
3177 *[\\/]* ) as_myself=$0 ;;
3178 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182 test -z "$as_dir" && as_dir=.
3183 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3189 # We did not find ourselves, most probably we were run as `sh COMMAND'
3190 # in which case we are not to be found in the path.
3191 if test "x$as_myself" = x
; then
3194 if test ! -f "$as_myself"; then
3195 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3196 { (exit 1); exit 1; }
3199 # Work around bugs in pre-3.0 UWIN ksh.
3200 for as_var
in ENV MAIL MAILPATH
3201 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
3209 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3210 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3211 LC_TELEPHONE LC_TIME
3213 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3214 eval $as_var=C
; export $as_var
3216 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
3220 # Required to use basename.
3221 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3222 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3228 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3229 as_basename
=basename
3235 # Name of the executable.
3236 as_me
=`$as_basename -- "$0" ||
3237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3238 X"$0" : 'X\(//\)$' \| \
3239 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3241 sed '/^.*\/\([^/][^/]*\)\/*$/{
3262 test "x$as_lineno_1" != "x$as_lineno_2" &&
3263 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
3265 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3266 # uniformly replaced by the line number. The first 'sed' inserts a
3267 # line-number line after each line using $LINENO; the second 'sed'
3268 # does the real work. The second script uses 'N' to pair each
3269 # line-number line with the line containing $LINENO, and appends
3270 # trailing '-' during substitution so that $LINENO is not a special
3272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3273 # scripts with optimization help from Paolo Bonzini. Blame Lee
3274 # E. McMahon (1931-1989) for sed's syntax. :-)
3286 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3290 chmod +x
"$as_me.lineno" ||
3291 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3292 { (exit 1); exit 1; }; }
3294 # Don't try to exec as it changes $[0], causing all sort of problems
3295 # (the dirname of $[0] is not the place where we might find the
3296 # original and so on. Autoconf is especially sensitive to this).
3298 # Exit status is that of the last command.
3303 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3309 ECHO_C
= ECHO_N
= ECHO_T
=
3312 case `echo 'x\c'` in
3313 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3319 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3320 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3326 rm -f conf$$ conf$$.exe conf$$.
file
3327 if test -d conf$$.dir
; then
3328 rm -f conf$$.dir
/conf$$.
file
3334 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3336 # ... but there are two gotchas:
3337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3339 # In both cases, we have to default to `cp -p'.
3340 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3342 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3347 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3348 rmdir conf$$.dir
2>/dev
/null
3350 if mkdir
-p .
2>/dev
/null
; then
3353 test -d .
/-p && rmdir .
/-p
3357 if test -x / >/dev
/null
2>&1; then
3360 if ls -dL / >/dev
/null
2>&1; then
3367 if test -d "$1"; then
3373 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3374 ???[sx]*):;;*)false;;esac;fi
3378 as_executable_p
=$as_test_x
3380 # Sed expression to map a string onto a valid CPP name.
3381 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3383 # Sed expression to map a string onto a valid variable name.
3384 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3389 # Save the log message, to keep $[0] and so on meaningful, and to
3390 # report actual input values of CONFIG_FILES etc. instead of their
3391 # values after options handling.
3393 This file was extended by GNU Autoconf $as_me 2.61b, which was
3394 generated by GNU Autoconf 2.61b. Invocation command line was
3396 CONFIG_FILES = $CONFIG_FILES
3397 CONFIG_HEADERS = $CONFIG_HEADERS
3398 CONFIG_LINKS = $CONFIG_LINKS
3399 CONFIG_COMMANDS = $CONFIG_COMMANDS
3402 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3407 cat >>$CONFIG_STATUS <<_ACEOF
3408 # Files that config.status was made for.
3409 config_files="$ac_config_files"
3410 config_commands="$ac_config_commands"
3414 cat >>$CONFIG_STATUS <<\_ACEOF
3416 \`$as_me' instantiates files from templates according to the
3417 current configuration.
3419 Usage: $0 [OPTIONS] [FILE]...
3421 -h, --help print this help, then exit
3422 -V, --version print version number and configuration settings, then exit
3423 -q, --quiet do not print progress messages
3424 -d, --debug don't remove temporary files
3425 --recheck update $as_me by reconfiguring in the same conditions
3426 --file=FILE[:TEMPLATE]
3427 instantiate the configuration file FILE
3429 Configuration files:
3432 Configuration commands:
3435 Report bugs to <bug-autoconf@gnu.org>."
3438 cat >>$CONFIG_STATUS <<_ACEOF
3440 GNU Autoconf config.status 2.61b
3441 configured by $0, generated by GNU Autoconf 2.61b,
3442 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3444 Copyright (C) 2006 Free Software Foundation, Inc.
3445 This config.status script is free software; the Free Software Foundation
3446 gives unlimited permission to copy, distribute and modify it."
3453 test -n "\$AWK" || AWK=awk
3456 cat >>$CONFIG_STATUS <<\_ACEOF
3457 # If no file are specified by the user, then we need to provide default
3458 # value. By we need to know if files were specified by the user.
3464 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3465 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3476 # Handling of the options.
3477 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3479 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3480 $as_echo "$ac_cs_version"; exit ;;
3481 --debug |
--debu |
--deb |
--de |
--d |
-d )
3483 --file |
--fil |
--fi |
--f )
3485 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3486 ac_need_defaults
=false
;;
3487 --he |
--h |
--help |
--hel |
-h )
3488 $as_echo "$ac_cs_usage"; exit ;;
3489 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3490 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3494 -*) { $as_echo "$as_me: error: unrecognized option: $1
3495 Try \`$0 --help' for more information." >&2
3496 { (exit 1); exit 1; }; } ;;
3498 *) ac_config_targets
="$ac_config_targets $1"
3499 ac_need_defaults
=false
;;
3505 ac_configure_extra_args
=
3507 if $ac_cs_silent; then
3509 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3513 cat >>$CONFIG_STATUS <<_ACEOF
3514 if \$ac_cs_recheck; then
3515 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3517 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3518 CONFIG_SHELL='$SHELL'
3524 cat >>$CONFIG_STATUS <<\_ACEOF
3528 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3529 ## Running $as_me. ##
3535 cat >>$CONFIG_STATUS <<_ACEOF
3538 cat >>$CONFIG_STATUS <<\_ACEOF
3540 # Handling of arguments.
3541 for ac_config_target
in $ac_config_targets
3543 case $ac_config_target in
3544 "tests/atconfig") CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/atconfig" ;;
3545 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
3546 "tests/atlocal") CONFIG_FILES
="$CONFIG_FILES tests/atlocal" ;;
3547 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
3548 "lib/emacs/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/emacs/Makefile" ;;
3549 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3550 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
3551 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
3552 "lib/Autom4te/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3553 "lib/autoscan/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autoscan/Makefile" ;;
3554 "lib/m4sugar/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3555 "lib/autoconf/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autoconf/Makefile" ;;
3556 "lib/autotest/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/autotest/Makefile" ;;
3557 "bin/Makefile") CONFIG_FILES
="$CONFIG_FILES bin/Makefile" ;;
3559 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3560 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3561 { (exit 1); exit 1; }; };;
3566 # If the user did not use the arguments to specify the items to instantiate,
3567 # then the envvar interface is used. Set only those that are not.
3568 # We use the long form for the default assignment because of an extremely
3569 # bizarre bug on SunOS 4.1.3.
3570 if $ac_need_defaults; then
3571 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3572 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
3575 # Have a temporary directory for convenience. Make it in the build tree
3576 # simply because there is no reason against having it here, and in addition,
3577 # creating and moving files from /tmp can sometimes cause problems.
3578 # Hook for its removal unless debugging.
3579 # Note that there is a small window in which the directory will not be cleaned:
3580 # after its creation but before its name has been assigned to `$tmp'.
3584 trap 'exit_status=$?
3585 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3587 trap '{ (exit 1); exit 1; }' 1 2 13 15
3589 # Create a (secure) tmp directory for tmp files.
3592 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3593 test -n "$tmp" && test -d "$tmp"
3596 tmp
=.
/conf$$
-$RANDOM
3597 (umask 077 && mkdir
"$tmp")
3600 $as_echo "$me: cannot create a temporary directory in ." >&2
3601 { (exit 1); exit 1; }
3604 # Set up the scripts for CONFIG_FILES section.
3605 # No need to generate them if there are no CONFIG_FILES.
3606 # This happens for instance with `./config.status config.h'.
3607 if test -n "$CONFIG_FILES"; then
3610 echo 'BEGIN {' >"$tmp/subs.awk"
3615 echo "cat >conf$$subs.awk <<_ACEOF"
3616 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3619 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3621 for ac_last_try in false false false false false :; do
3624 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3626 elif $ac_last_try; then
3627 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
3628 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
3629 { (exit 1); exit 1; }; }
3631 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3636 cat >>$CONFIG_STATUS <<_ACEOF
3637 cat >>"\
$tmp/subs.
awk" <<\CEOF
3641 s/^/S["/; s
/!.
*/"]=/
3651 s/\(.\{148\}\).*/\1/
3653 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3658 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3665 s/\(.\{148\}\).*/\1/
3667 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3671 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3676 ' <conf$$subs.awk | sed '
3682 rm -f conf$$subs.awk
3683 cat >>$CONFIG_STATUS <<_ACEOF
3685 cat >>"\$tmp/subs.awk" <<CEOF
3686 for (key in S) S_is_set[key] = 1
3692 nfields = split(line, field, "@")
3694 len = length(field[1])
3695 for (i = 2; i < nfields; i++) {
3697 keylen = length(key)
3698 if (S_is_set[key]) {
3700 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3701 len += length(value) + length(field[++i])
3713 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3714 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3715 # trailing colons and then remove the whole line if VPATH becomes empty
3716 # (actually we leave an empty line to preserve line numbers).
3717 if test "x$srcdir" = x.; then
3718 ac_vpsub='/^
[ ]*VPATH
[ ]*=/{
3722 s
/^\
([^
=]*=[ ]*\
):*/\
1/
3728 cat >>$CONFIG_STATUS <<\_ACEOF
3729 fi # test -n "$CONFIG_FILES"
3732 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3735 :[FHLC]) ac_mode=$ac_tag; continue;;
3737 case $ac_mode$ac_tag in
3739 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3740 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3741 { (exit 1); exit 1; }; };;
3742 :[FH]-) ac_tag=-:-;;
3743 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3760 -) ac_f="$tmp/stdin";;
3761 *) # Look for the file first in the build tree, then in the source tree
3762 # (if the path is not absolute). The absolute path cannot be DOS-style,
3763 # because $ac_f cannot contain `:'.
3767 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
3769 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3770 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3771 { (exit 1); exit 1; }; };;
3773 ac_file_inputs
="$ac_file_inputs $ac_f"
3776 # Let's still pretend it is `configure' which instantiates (i.e., don't
3777 # use $as_me), people would be surprised to read:
3778 # /* config.h. Generated by config.status. */
3779 configure_input
='Generated from '`
3780 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3782 if test x
"$ac_file" != x-
; then
3783 configure_input
="$ac_file. $configure_input"
3784 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3785 $as_echo "$as_me: creating $ac_file" >&6;}
3789 *:-:* |
*:-) cat >"$tmp/stdin";;
3794 ac_dir
=`$as_dirname -- "$ac_file" ||
3795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3796 X"$ac_file" : 'X\(//\)[^/]' \| \
3797 X"$ac_file" : 'X\(//\)$' \| \
3798 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3799 $as_echo X"$ac_file" |
3800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3819 -*) as_dir
=.
/$as_dir;;
3821 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
3825 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3826 *) as_qdir
=$as_dir;;
3828 as_dirs
="'$as_qdir' $as_dirs"
3829 as_dir
=`$as_dirname -- "$as_dir" ||
3830 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3831 X"$as_dir" : 'X\(//\)[^/]' \| \
3832 X"$as_dir" : 'X\(//\)$' \| \
3833 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3834 $as_echo X"$as_dir" |
3835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3852 test -d "$as_dir" && break
3854 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3855 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3856 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3857 { (exit 1); exit 1; }; }; }
3861 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3863 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3864 # A ".." for each directory in $ac_dir_suffix.
3865 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3866 case $ac_top_builddir_sub in
3867 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3868 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
3871 ac_abs_top_builddir
=$ac_pwd
3872 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
3873 # for backward compatibility:
3874 ac_top_builddir
=$ac_top_build_prefix
3877 .
) # We are building in place.
3879 ac_top_srcdir
=$ac_top_builddir_sub
3880 ac_abs_top_srcdir
=$ac_pwd ;;
3881 [\\/]* | ?
:[\\/]* ) # Absolute name.
3882 ac_srcdir
=$srcdir$ac_dir_suffix;
3883 ac_top_srcdir
=$srcdir
3884 ac_abs_top_srcdir
=$srcdir ;;
3886 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
3887 ac_top_srcdir
=$ac_top_build_prefix$srcdir
3888 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
3890 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
3900 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
3901 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
3905 [\\/$
]* | ?
:[\\/]* ) ;;
3906 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
3910 cat >>$CONFIG_STATUS <<\_ACEOF
3911 # If the template does not know about datarootdir, expand it.
3912 # FIXME: This hack should be removed a few years after 2.60.
3913 ac_datarootdir_hack
=; ac_datarootdir_seen
=
3915 case `sed -n '/datarootdir/ {
3924 ' $ac_file_inputs` in
3925 *datarootdir
*) ac_datarootdir_seen
=yes;;
3926 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
3927 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3928 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3930 cat >>$CONFIG_STATUS <<_ACEOF
3931 ac_datarootdir_hack='
3932 s&@datadir@&$datadir&g
3933 s&@docdir@&$docdir&g
3934 s&@infodir@&$infodir&g
3935 s&@localedir@&$localedir&g
3936 s&@mandir@&$mandir&g
3937 s&\\\${datarootdir}&$datarootdir&g' ;;
3941 # Neutralize VPATH when `$srcdir' = `.'.
3942 # Shell code in configure.ac might set extrasub.
3943 # FIXME: do we really want to maintain this feature?
3944 cat >>$CONFIG_STATUS <<_ACEOF
3948 cat >>$CONFIG_STATUS <<\_ACEOF
3950 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3951 s
&@configure_input@
&$configure_input&;t t
3952 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
3953 s
&@srcdir@
&$ac_srcdir&;t t
3954 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
3955 s
&@top_srcdir@
&$ac_top_srcdir&;t t
3956 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
3957 s
&@builddir@
&$ac_builddir&;t t
3958 s
&@abs_builddir@
&$ac_abs_builddir&;t t
3959 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
3960 s
&@INSTALL@
&$ac_INSTALL&;t t
3961 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
3962 $ac_datarootdir_hack
3963 " $ac_file_inputs | $AWK -f "$tmp/subs.
awk" >$tmp/out
3965 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3966 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
3967 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
3968 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
3969 which seems to be undefined. Please make sure it is defined." >&5
3970 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
3971 which seems to be undefined. Please make sure it is defined." >&2;}
3975 -) cat "$tmp/out"; rm -f "$tmp/out";;
3976 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3981 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3982 $as_echo "$as_me: executing $ac_file commands" >&6;}
3987 case $ac_file$ac_mode in
3988 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3989 # Configurable variable values for building test suites.
3991 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3993 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3995 abs_builddir='$ac_abs_builddir'
3996 at_srcdir='$ac_srcdir'
3997 abs_srcdir='$ac_abs_srcdir'
3998 at_top_srcdir='$ac_top_srcdir'
3999 abs_top_srcdir='$ac_abs_top_srcdir'
4000 at_top_build_prefix='$ac_top_build_prefix'
4001 abs_top_builddir='$ac_abs_top_builddir'
4003 # Backward compatibility with Autotest <= 2.59b:
4004 at_top_builddir=\$at_top_build_prefix
4006 AUTOTEST_PATH='tests
'
4008 SHELL=\${CONFIG_SHELL-'$SHELL'}
4016 { (exit 0); exit 0; }
4018 chmod +x $CONFIG_STATUS
4019 ac_clean_files=$ac_clean_files_save
4022 # configure is writing to config.log, and then calls config.status.
4023 # config.status does its own redirection, appending to config.log.
4024 # Unfortunately, on DOS this fails, as config.log is still kept open
4025 # by configure, so config.status won't be able to
write to it
; its
4026 # output is simply discarded. So we exec the FD to /dev/null,
4027 # effectively closing config.log, so it can be properly (re)opened and
4028 # appended to by config.status. When coming back to configure, we
4029 # need to make the FD available again.
4030 if test "$no_create" != yes; then
4032 ac_config_status_args
=
4033 test "$silent" = yes &&
4034 ac_config_status_args
="$ac_config_status_args --quiet"
4036 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4038 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4039 # would make configure fail if this is the last instruction.
4040 $ac_cs_success ||
{ (exit 1); exit 1; }
4042 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4043 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4044 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4047 # Report the state of this version of Autoconf if this is a beta.
4050 You are about to use an experimental version of Autoconf. Be sure to
4051 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4053 Below you will find information on the status of this version of Autoconf.
4057 sed -n '/^\* Status/,$p' $srcdir/BUGS