* lib/autoconf/general.m4 (AC_ARG_ENABLE): Print help about
[autoconf.git] / configure
blob71e3b486aa1763ede7da1f32057a4e91034be52f
1 #! /bin/sh
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
18 emulate sh
19 NULLCMD=:
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+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
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
42 as_nl='
44 export as_nl
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
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
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'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
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
78 chmod +x conf$$.sh
79 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
80 PATH_SEPARATOR=';'
81 else
82 PATH_SEPARATOR=:
84 rm -f conf$$.sh
87 # Support unset when possible.
88 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89 as_unset=unset
90 else
91 as_unset=false
95 # IFS
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.)
100 IFS=" "" $as_nl"
102 # Find who we are. Look in the path if we contain no directory separator.
103 case $0 in
104 *[\\/]* ) as_myself=$0 ;;
105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 for as_dir in $PATH
108 IFS=$as_save_IFS
109 test -z "$as_dir" && as_dir=.
110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
111 done
112 IFS=$as_save_IFS
115 esac
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
119 as_myself=$0
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
129 done
130 PS1='$ '
131 PS2='> '
132 PS4='+ '
134 # NLS nuisances.
135 for as_var in \
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 \
138 LC_TELEPHONE LC_TIME
140 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
141 eval $as_var=C; export $as_var
142 else
143 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
145 done
147 # Required to use basename.
148 if expr a : '\(a\)' >/dev/null 2>&1 &&
149 test "X`expr 00001 : '.*\(...\)'`" = X001; then
150 as_expr=expr
151 else
152 as_expr=false
155 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
156 as_basename=basename
157 else
158 as_basename=false
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 ||
167 $as_echo X/"$0" |
168 sed '/^.*\/\([^/][^/]*\)\/*$/{
169 s//\1/
172 /^X\/\(\/\/\)$/{
173 s//\1/
176 /^X\/\(\/\).*/{
177 s//\1/
180 s/.*/./; q'`
182 # CDPATH.
183 $as_unset CDPATH
186 if test "x$CONFIG_SHELL" = x; then
187 if (eval ":") 2>/dev/null; then
188 as_have_required=yes
189 else
190 as_have_required=no
193 if test $as_have_required = yes && (eval ":
194 (as_func_return () {
195 (exit \$1)
197 as_func_success () {
198 as_func_return 0
200 as_func_failure () {
201 as_func_return 1
203 as_func_ret_success () {
204 return 0
206 as_func_ret_failure () {
207 return 1
210 exitcode=0
211 if as_func_success; then
213 else
214 exitcode=1
215 echo as_func_success failed.
218 if as_func_failure; then
219 exitcode=1
220 echo as_func_failure succeeded.
223 if as_func_ret_success; then
225 else
226 exitcode=1
227 echo as_func_ret_success failed.
230 if as_func_ret_failure; then
231 exitcode=1
232 echo as_func_ret_failure succeeded.
235 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
237 else
238 exitcode=1
239 echo positional parameters were not saved.
242 test \$exitcode = 0) || { (exit 1); exit 1; }
245 as_lineno_1=\$LINENO
246 as_lineno_2=\$LINENO
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
251 else
252 as_candidate_shells=
253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
254 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
256 IFS=$as_save_IFS
257 test -z "$as_dir" && as_dir=.
258 case $as_dir in
260 for as_base in sh bash ksh sh5; do
261 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
262 done;;
263 esac
264 done
265 IFS=$as_save_IFS
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
273 emulate sh
274 NULLCMD=:
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+"$@"}'='"$@"'
278 setopt NO_GLOB_SUBST
279 else
280 case `(set -o) 2>/dev/null` in
281 *posix*) set -o posix ;;
282 esac
288 _ASEOF
289 }; then
290 CONFIG_SHELL=$as_shell
291 as_have_required=yes
292 if { "$as_shell" 2> /dev/null <<\_ASEOF
293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
294 emulate sh
295 NULLCMD=:
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+"$@"}'='"$@"'
299 setopt NO_GLOB_SUBST
300 else
301 case `(set -o) 2>/dev/null` in
302 *posix*) set -o posix ;;
303 esac
309 (as_func_return () {
310 (exit $1)
312 as_func_success () {
313 as_func_return 0
315 as_func_failure () {
316 as_func_return 1
318 as_func_ret_success () {
319 return 0
321 as_func_ret_failure () {
322 return 1
325 exitcode=0
326 if as_func_success; then
328 else
329 exitcode=1
330 echo as_func_success failed.
333 if as_func_failure; then
334 exitcode=1
335 echo as_func_failure succeeded.
338 if as_func_ret_success; then
340 else
341 exitcode=1
342 echo as_func_ret_success failed.
345 if as_func_ret_failure; then
346 exitcode=1
347 echo as_func_ret_failure succeeded.
350 if ( set x; as_func_ret_success y && test x = "$1" ); then
352 else
353 exitcode=1
354 echo positional parameters were not saved.
357 test $exitcode = 0) || { (exit 1); exit 1; }
360 as_lineno_1=$LINENO
361 as_lineno_2=$LINENO
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; }
365 _ASEOF
366 }; then
367 break
372 done
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
377 done
378 export CONFIG_SHELL
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 () {
399 (exit \$1)
401 as_func_success () {
402 as_func_return 0
404 as_func_failure () {
405 as_func_return 1
407 as_func_ret_success () {
408 return 0
410 as_func_ret_failure () {
411 return 1
414 exitcode=0
415 if as_func_success; then
417 else
418 exitcode=1
419 echo as_func_success failed.
422 if as_func_failure; then
423 exitcode=1
424 echo as_func_failure succeeded.
427 if as_func_ret_success; then
429 else
430 exitcode=1
431 echo as_func_ret_success failed.
434 if as_func_ret_failure; then
435 exitcode=1
436 echo as_func_ret_failure succeeded.
439 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
441 else
442 exitcode=1
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
450 echo message
455 as_lineno_1=$LINENO
456 as_lineno_2=$LINENO
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
466 # case at line end.
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. :-)
470 sed -n '
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
478 :lineno
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
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).
492 . "./$as_me.lineno"
493 # Exit status is that of the last command.
494 exit
498 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
499 as_dirname=dirname
500 else
501 as_dirname=false
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in
506 -n*)
507 case `echo 'x\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) ECHO_C='\c';;
510 esac;;
512 ECHO_N='-n';;
513 esac
514 if expr a : '\(a\)' >/dev/null 2>&1 &&
515 test "X`expr 00001 : '.*\(...\)'`" = X001; then
516 as_expr=expr
517 else
518 as_expr=false
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir
528 echo >conf$$.file
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
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 ||
536 as_ln_s='cp -p'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -p'
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
546 as_mkdir_p=:
547 else
548 test -d ./-p && rmdir ./-p
549 as_mkdir_p=false
552 if test -x / >/dev/null 2>&1; then
553 as_test_x='test -x'
554 else
555 if ls -dL / >/dev/null 2>&1; then
556 as_ls_L_option=L
557 else
558 as_ls_L_option=
560 as_test_x='
561 eval sh -c '\''
562 if test -d "$1"; then
563 test -d "$1/.";
564 else
565 case $1 in
566 -*)set "./$1";;
567 esac;
568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
569 ???[sx]*):;;*)false;;esac;fi
570 '\'' sh
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
585 # Name of the host.
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`
591 # Initializations.
593 ac_default_prefix=/usr/local
594 ac_clean_files=
595 ac_config_libobj_dir=.
596 LIBOBJS=
597 cross_compiling=no
598 subdirs=
599 MFLAGS=
600 MAKEFLAGS=
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"
611 ac_subst_vars='SHELL
612 PATH_SEPARATOR
613 PACKAGE_NAME
614 PACKAGE_TARNAME
615 PACKAGE_VERSION
616 PACKAGE_STRING
617 PACKAGE_BUGREPORT
618 exec_prefix
619 prefix
620 program_transform_name
621 bindir
622 sbindir
623 libexecdir
624 datarootdir
625 datadir
626 sysconfdir
627 sharedstatedir
628 localstatedir
629 includedir
630 oldincludedir
631 docdir
632 infodir
633 htmldir
634 dvidir
635 pdfdir
636 psdir
637 libdir
638 localedir
639 mandir
640 DEFS
641 ECHO_C
642 ECHO_N
643 ECHO_T
644 LIBS
645 build_alias
646 host_alias
647 target_alias
648 INSTALL_PROGRAM
649 INSTALL_SCRIPT
650 INSTALL_DATA
651 am__isrc
652 CYGPATH_W
653 PACKAGE
654 VERSION
655 ACLOCAL
656 AUTOCONF
657 AUTOMAKE
658 AUTOHEADER
659 MAKEINFO
660 install_sh
661 STRIP
662 INSTALL_STRIP_PROGRAM
663 mkdir_p
665 SET_MAKE
666 am__leading_dot
667 AMTAR
668 am__tar
669 am__untar
670 ac_cv_sh_n_works
671 EXPR
673 M4_DEBUGFILE
674 HELP2MAN
675 PERL
676 TEST_EMACS
677 EMACS
678 EMACSLOADPATH
679 lispdir
680 GREP
681 EGREP
683 LIBOBJS
684 LTLIBOBJS'
685 ac_subst_files=''
686 ac_user_opts=':enable_option_checking:with_lispdir:'
687 ac_precious_vars='build_alias
688 host_alias
689 target_alias
690 EMACS
691 EMACSLOADPATH'
694 # Initialize some variables set by options.
695 ac_init_help=
696 ac_init_version=false
697 ac_unrecognized_opts=
698 ac_unrecognized_sep=
699 # The variables have the same names as the options, with
700 # dashes changed to underlines.
701 cache_file=/dev/null
702 exec_prefix=NONE
703 no_create=
704 no_recursion=
705 prefix=NONE
706 program_prefix=NONE
707 program_suffix=NONE
708 program_transform_name=s,x,x,
709 silent=
710 site=
711 srcdir=
712 verbose=
713 x_includes=NONE
714 x_libraries=NONE
716 # Installation directory options.
717 # These are left unexpanded so users can "make install exec_prefix=/foo"
718 # and all the variables that are supposed to be based on exec_prefix
719 # by default will actually change.
720 # Use braces instead of parens because sh, perl, etc. also accept them.
721 # (The list follows the same order as the GNU Coding Standards.)
722 bindir='${exec_prefix}/bin'
723 sbindir='${exec_prefix}/sbin'
724 libexecdir='${exec_prefix}/libexec'
725 datarootdir='${prefix}/share'
726 datadir='${datarootdir}'
727 sysconfdir='${prefix}/etc'
728 sharedstatedir='${prefix}/com'
729 localstatedir='${prefix}/var'
730 includedir='${prefix}/include'
731 oldincludedir='/usr/include'
732 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
733 infodir='${datarootdir}/info'
734 htmldir='${docdir}'
735 dvidir='${docdir}'
736 pdfdir='${docdir}'
737 psdir='${docdir}'
738 libdir='${exec_prefix}/lib'
739 localedir='${datarootdir}/locale'
740 mandir='${datarootdir}/man'
742 ac_prev=
743 ac_dashdash=
744 for ac_option
746 # If the previous option needs an argument, assign it.
747 if test -n "$ac_prev"; then
748 eval $ac_prev=\$ac_option
749 ac_prev=
750 continue
753 case $ac_option in
754 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
755 *) ac_optarg=yes ;;
756 esac
758 # Accept the important Cygnus configure options, so we can diagnose typos.
760 case $ac_dashdash$ac_option in
762 ac_dashdash=yes ;;
764 -bindir | --bindir | --bindi | --bind | --bin | --bi)
765 ac_prev=bindir ;;
766 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
767 bindir=$ac_optarg ;;
769 -build | --build | --buil | --bui | --bu)
770 ac_prev=build_alias ;;
771 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
772 build_alias=$ac_optarg ;;
774 -cache-file | --cache-file | --cache-fil | --cache-fi \
775 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
776 ac_prev=cache_file ;;
777 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
778 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
779 cache_file=$ac_optarg ;;
781 --config-cache | -C)
782 cache_file=config.cache ;;
784 -datadir | --datadir | --datadi | --datad)
785 ac_prev=datadir ;;
786 -datadir=* | --datadir=* | --datadi=* | --datad=*)
787 datadir=$ac_optarg ;;
789 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
790 | --dataroo | --dataro | --datar)
791 ac_prev=datarootdir ;;
792 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
793 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
794 datarootdir=$ac_optarg ;;
796 -disable-* | --disable-*)
797 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
801 { (exit 1); exit 1; }; }
802 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
803 case $ac_user_opts in
804 *:enable_$ac_useropt:*) ;;
805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt"
806 ac_unrecognized_sep=', ';;
807 esac
808 eval enable_$ac_useropt=no ;;
810 -docdir | --docdir | --docdi | --doc | --do)
811 ac_prev=docdir ;;
812 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
813 docdir=$ac_optarg ;;
815 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
816 ac_prev=dvidir ;;
817 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
818 dvidir=$ac_optarg ;;
820 -enable-* | --enable-*)
821 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
822 # Reject names that are not valid shell variable names.
823 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
824 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
825 { (exit 1); exit 1; }; }
826 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
827 case $ac_user_opts in
828 *:enable_$ac_useropt:*) ;;
829 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt"
830 ac_unrecognized_sep=', ';;
831 esac
832 eval enable_$ac_useropt=\$ac_optarg ;;
834 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
835 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
836 | --exec | --exe | --ex)
837 ac_prev=exec_prefix ;;
838 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
839 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
840 | --exec=* | --exe=* | --ex=*)
841 exec_prefix=$ac_optarg ;;
843 -gas | --gas | --ga | --g)
844 # Obsolete; use --with-gas.
845 with_gas=yes ;;
847 -help | --help | --hel | --he | -h)
848 ac_init_help=long ;;
849 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
850 ac_init_help=recursive ;;
851 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
852 ac_init_help=short ;;
854 -host | --host | --hos | --ho)
855 ac_prev=host_alias ;;
856 -host=* | --host=* | --hos=* | --ho=*)
857 host_alias=$ac_optarg ;;
859 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
860 ac_prev=htmldir ;;
861 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
862 | --ht=*)
863 htmldir=$ac_optarg ;;
865 -includedir | --includedir | --includedi | --included | --include \
866 | --includ | --inclu | --incl | --inc)
867 ac_prev=includedir ;;
868 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
869 | --includ=* | --inclu=* | --incl=* | --inc=*)
870 includedir=$ac_optarg ;;
872 -infodir | --infodir | --infodi | --infod | --info | --inf)
873 ac_prev=infodir ;;
874 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
875 infodir=$ac_optarg ;;
877 -libdir | --libdir | --libdi | --libd)
878 ac_prev=libdir ;;
879 -libdir=* | --libdir=* | --libdi=* | --libd=*)
880 libdir=$ac_optarg ;;
882 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
883 | --libexe | --libex | --libe)
884 ac_prev=libexecdir ;;
885 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
886 | --libexe=* | --libex=* | --libe=*)
887 libexecdir=$ac_optarg ;;
889 -localedir | --localedir | --localedi | --localed | --locale)
890 ac_prev=localedir ;;
891 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
892 localedir=$ac_optarg ;;
894 -localstatedir | --localstatedir | --localstatedi | --localstated \
895 | --localstate | --localstat | --localsta | --localst | --locals)
896 ac_prev=localstatedir ;;
897 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
898 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
899 localstatedir=$ac_optarg ;;
901 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
902 ac_prev=mandir ;;
903 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
904 mandir=$ac_optarg ;;
906 -nfp | --nfp | --nf)
907 # Obsolete; use --without-fp.
908 with_fp=no ;;
910 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
911 | --no-cr | --no-c | -n)
912 no_create=yes ;;
914 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
915 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
916 no_recursion=yes ;;
918 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
919 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
920 | --oldin | --oldi | --old | --ol | --o)
921 ac_prev=oldincludedir ;;
922 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
923 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
924 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
925 oldincludedir=$ac_optarg ;;
927 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
928 ac_prev=prefix ;;
929 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
930 prefix=$ac_optarg ;;
932 -program-prefix | --program-prefix | --program-prefi | --program-pref \
933 | --program-pre | --program-pr | --program-p)
934 ac_prev=program_prefix ;;
935 -program-prefix=* | --program-prefix=* | --program-prefi=* \
936 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
937 program_prefix=$ac_optarg ;;
939 -program-suffix | --program-suffix | --program-suffi | --program-suff \
940 | --program-suf | --program-su | --program-s)
941 ac_prev=program_suffix ;;
942 -program-suffix=* | --program-suffix=* | --program-suffi=* \
943 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
944 program_suffix=$ac_optarg ;;
946 -program-transform-name | --program-transform-name \
947 | --program-transform-nam | --program-transform-na \
948 | --program-transform-n | --program-transform- \
949 | --program-transform | --program-transfor \
950 | --program-transfo | --program-transf \
951 | --program-trans | --program-tran \
952 | --progr-tra | --program-tr | --program-t)
953 ac_prev=program_transform_name ;;
954 -program-transform-name=* | --program-transform-name=* \
955 | --program-transform-nam=* | --program-transform-na=* \
956 | --program-transform-n=* | --program-transform-=* \
957 | --program-transform=* | --program-transfor=* \
958 | --program-transfo=* | --program-transf=* \
959 | --program-trans=* | --program-tran=* \
960 | --progr-tra=* | --program-tr=* | --program-t=*)
961 program_transform_name=$ac_optarg ;;
963 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
964 ac_prev=pdfdir ;;
965 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
966 pdfdir=$ac_optarg ;;
968 -psdir | --psdir | --psdi | --psd | --ps)
969 ac_prev=psdir ;;
970 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
971 psdir=$ac_optarg ;;
973 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
974 | -silent | --silent | --silen | --sile | --sil)
975 silent=yes ;;
977 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
978 ac_prev=sbindir ;;
979 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
980 | --sbi=* | --sb=*)
981 sbindir=$ac_optarg ;;
983 -sharedstatedir | --sharedstatedir | --sharedstatedi \
984 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
985 | --sharedst | --shareds | --shared | --share | --shar \
986 | --sha | --sh)
987 ac_prev=sharedstatedir ;;
988 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
989 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
990 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
991 | --sha=* | --sh=*)
992 sharedstatedir=$ac_optarg ;;
994 -site | --site | --sit)
995 ac_prev=site ;;
996 -site=* | --site=* | --sit=*)
997 site=$ac_optarg ;;
999 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1000 ac_prev=srcdir ;;
1001 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1002 srcdir=$ac_optarg ;;
1004 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1005 | --syscon | --sysco | --sysc | --sys | --sy)
1006 ac_prev=sysconfdir ;;
1007 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1008 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1009 sysconfdir=$ac_optarg ;;
1011 -target | --target | --targe | --targ | --tar | --ta | --t)
1012 ac_prev=target_alias ;;
1013 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1014 target_alias=$ac_optarg ;;
1016 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1017 verbose=yes ;;
1019 -version | --version | --versio | --versi | --vers | -V)
1020 ac_init_version=: ;;
1022 -with-* | --with-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1026 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1027 { (exit 1); exit 1; }; }
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1029 case $ac_user_opts in
1030 *:with_$ac_useropt:*) ;;
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt"
1032 ac_unrecognized_sep=', ';;
1033 esac
1034 eval with_$ac_useropt=\$ac_optarg ;;
1036 -without-* | --without-*)
1037 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1040 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1041 { (exit 1); exit 1; }; }
1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1043 case $ac_user_opts in
1044 *:with_$ac_useropt:*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval with_$ac_useropt=no ;;
1050 --x)
1051 # Obsolete; use --with-x.
1052 with_x=yes ;;
1054 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1055 | --x-incl | --x-inc | --x-in | --x-i)
1056 ac_prev=x_includes ;;
1057 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1058 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1059 x_includes=$ac_optarg ;;
1061 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1062 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1063 ac_prev=x_libraries ;;
1064 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1065 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1066 x_libraries=$ac_optarg ;;
1068 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1069 Try \`$0 --help' for more information." >&2
1070 { (exit 1); exit 1; }; }
1073 *=*)
1074 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1077 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1078 { (exit 1); exit 1; }; }
1079 eval $ac_envvar=\$ac_optarg
1080 export $ac_envvar ;;
1083 # FIXME: should be removed in autoconf 3.0.
1084 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1086 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1087 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1090 esac
1091 done
1093 if test -n "$ac_prev"; then
1094 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1095 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1096 { (exit 1); exit 1; }; }
1099 if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in
1101 no) ;;
1102 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1103 { (exit 1); exit 1; }; } ;;
1104 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1105 esac
1108 # Be sure to have absolute directory names.
1109 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1110 datadir sysconfdir sharedstatedir localstatedir includedir \
1111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1112 libdir localedir mandir
1114 eval ac_val=\$$ac_var
1115 case $ac_val in
1116 [\\/$]* | ?:[\\/]* ) continue;;
1117 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1118 esac
1119 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1120 { (exit 1); exit 1; }; }
1121 done
1123 # There might be people who depend on the old broken behavior: `$host'
1124 # used to hold the argument of --host etc.
1125 # FIXME: To remove some day.
1126 build=$build_alias
1127 host=$host_alias
1128 target=$target_alias
1130 # FIXME: To remove some day.
1131 if test "x$host_alias" != x; then
1132 if test "x$build_alias" = x; then
1133 cross_compiling=maybe
1134 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1135 If a cross compiler is detected then cross compile mode will be used." >&2
1136 elif test "x$build_alias" != "x$host_alias"; then
1137 cross_compiling=yes
1141 ac_tool_prefix=
1142 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1144 test "$silent" = yes && exec 6>/dev/null
1147 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1148 ac_ls_di=`ls -di .` &&
1149 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1150 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1151 { (exit 1); exit 1; }; }
1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1154 { (exit 1); exit 1; }; }
1157 # Find the source files, if location was not specified.
1158 if test -z "$srcdir"; then
1159 ac_srcdir_defaulted=yes
1160 # Try the directory containing this script, then the parent directory.
1161 ac_confdir=`$as_dirname -- "$0" ||
1162 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1163 X"$0" : 'X\(//\)[^/]' \| \
1164 X"$0" : 'X\(//\)$' \| \
1165 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1166 $as_echo X"$0" |
1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1168 s//\1/
1171 /^X\(\/\/\)[^/].*/{
1172 s//\1/
1175 /^X\(\/\/\)$/{
1176 s//\1/
1179 /^X\(\/\).*/{
1180 s//\1/
1183 s/.*/./; q'`
1184 srcdir=$ac_confdir
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1186 srcdir=..
1188 else
1189 ac_srcdir_defaulted=no
1191 if test ! -r "$srcdir/$ac_unique_file"; then
1192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1193 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1194 { (exit 1); exit 1; }; }
1196 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1197 ac_abs_confdir=`(
1198 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1199 { (exit 1); exit 1; }; }
1200 pwd)`
1201 # When building in place, set srcdir=.
1202 if test "$ac_abs_confdir" = "$ac_pwd"; then
1203 srcdir=.
1205 # Remove unnecessary trailing slashes from srcdir.
1206 # Double slashes in file names in object file debugging info
1207 # mess up M-x gdb in Emacs.
1208 case $srcdir in
1209 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1210 esac
1211 for ac_var in $ac_precious_vars; do
1212 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1213 eval ac_env_${ac_var}_value=\$${ac_var}
1214 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1215 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1216 done
1219 # Report the --help message.
1221 if test "$ac_init_help" = "long"; then
1222 # Omit some internal or obsolete options to make the list less imposing.
1223 # This message is too long to be a string in the A/UX 3.1 sh.
1224 cat <<_ACEOF
1225 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1227 Usage: $0 [OPTION]... [VAR=VALUE]...
1229 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1230 VAR=VALUE. See below for descriptions of some of the useful variables.
1232 Defaults for the options are specified in brackets.
1234 Configuration:
1235 -h, --help display this help and exit
1236 --help=short display options specific to this package
1237 --help=recursive display the short help of all the included packages
1238 -V, --version display version information and exit
1239 -q, --quiet, --silent do not print \`checking...' messages
1240 --cache-file=FILE cache test results in FILE [disabled]
1241 -C, --config-cache alias for \`--cache-file=config.cache'
1242 -n, --no-create do not create output files
1243 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1245 Installation directories:
1246 --prefix=PREFIX install architecture-independent files in PREFIX
1247 [$ac_default_prefix]
1248 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1249 [PREFIX]
1251 By default, \`make install' will install all the files in
1252 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1253 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1254 for instance \`--prefix=\$HOME'.
1256 For better control, use the options below.
1258 Fine tuning of the installation directories:
1259 --bindir=DIR user executables [EPREFIX/bin]
1260 --sbindir=DIR system admin executables [EPREFIX/sbin]
1261 --libexecdir=DIR program executables [EPREFIX/libexec]
1262 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1263 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1264 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1265 --libdir=DIR object code libraries [EPREFIX/lib]
1266 --includedir=DIR C header files [PREFIX/include]
1267 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1270 --infodir=DIR info documentation [DATAROOTDIR/info]
1271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1272 --mandir=DIR man documentation [DATAROOTDIR/man]
1273 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1274 --htmldir=DIR html documentation [DOCDIR]
1275 --dvidir=DIR dvi documentation [DOCDIR]
1276 --pdfdir=DIR pdf documentation [DOCDIR]
1277 --psdir=DIR ps documentation [DOCDIR]
1278 _ACEOF
1280 cat <<\_ACEOF
1282 Program names:
1283 --program-prefix=PREFIX prepend PREFIX to installed program names
1284 --program-suffix=SUFFIX append SUFFIX to installed program names
1285 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1286 _ACEOF
1289 if test -n "$ac_init_help"; then
1290 case $ac_init_help in
1291 short | recursive ) echo "Configuration of GNU Autoconf 2.61b:";;
1292 esac
1293 cat <<\_ACEOF
1295 Optional Packages:
1296 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1297 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1298 --with-lispdir override the default lisp directory
1300 Some influential environment variables:
1301 EMACS the Emacs editor command
1302 EMACSLOADPATH
1303 the Emacs library search path
1305 Use these variables to override the choices made by `configure' or to help
1306 it to find libraries and programs with nonstandard names/locations.
1308 Report bugs to <bug-autoconf@gnu.org>.
1309 _ACEOF
1310 ac_status=$?
1313 if test "$ac_init_help" = "recursive"; then
1314 # If there are subdirs, report their specific --help.
1315 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1316 test -d "$ac_dir" || continue
1317 ac_builddir=.
1319 case "$ac_dir" in
1320 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1322 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
1323 # A ".." for each directory in $ac_dir_suffix.
1324 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1325 case $ac_top_builddir_sub in
1326 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1328 esac ;;
1329 esac
1330 ac_abs_top_builddir=$ac_pwd
1331 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1332 # for backward compatibility:
1333 ac_top_builddir=$ac_top_build_prefix
1335 case $srcdir in
1336 .) # We are building in place.
1337 ac_srcdir=.
1338 ac_top_srcdir=$ac_top_builddir_sub
1339 ac_abs_top_srcdir=$ac_pwd ;;
1340 [\\/]* | ?:[\\/]* ) # Absolute name.
1341 ac_srcdir=$srcdir$ac_dir_suffix;
1342 ac_top_srcdir=$srcdir
1343 ac_abs_top_srcdir=$srcdir ;;
1344 *) # Relative name.
1345 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1346 ac_top_srcdir=$ac_top_build_prefix$srcdir
1347 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1348 esac
1349 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1351 cd "$ac_dir" || { ac_status=$?; continue; }
1352 # Check for guested configure.
1353 if test -f "$ac_srcdir/configure.gnu"; then
1354 echo &&
1355 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1356 elif test -f "$ac_srcdir/configure"; then
1357 echo &&
1358 $SHELL "$ac_srcdir/configure" --help=recursive
1359 else
1360 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1361 fi || ac_status=$?
1362 cd "$ac_pwd" || { ac_status=$?; break; }
1363 done
1366 test -n "$ac_init_help" && exit $ac_status
1367 if $ac_init_version; then
1368 cat <<\_ACEOF
1369 GNU Autoconf configure 2.61b
1370 generated by GNU Autoconf 2.61b
1372 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1373 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1374 This configure script is free software; the Free Software Foundation
1375 gives unlimited permission to copy, distribute and modify it.
1376 _ACEOF
1377 exit
1379 cat >config.log <<_ACEOF
1380 This file contains any messages produced by compilers while
1381 running configure, to aid debugging if configure makes a mistake.
1383 It was created by GNU Autoconf $as_me 2.61b, which was
1384 generated by GNU Autoconf 2.61b. Invocation command line was
1386 $ $0 $@
1388 _ACEOF
1389 exec 5>>config.log
1391 cat <<_ASUNAME
1392 ## --------- ##
1393 ## Platform. ##
1394 ## --------- ##
1396 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1397 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1398 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1399 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1400 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1402 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1403 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1405 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1406 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1407 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1408 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1409 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1410 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1411 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1413 _ASUNAME
1415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1416 for as_dir in $PATH
1418 IFS=$as_save_IFS
1419 test -z "$as_dir" && as_dir=.
1420 $as_echo "PATH: $as_dir"
1421 done
1422 IFS=$as_save_IFS
1424 } >&5
1426 cat >&5 <<_ACEOF
1429 ## ----------- ##
1430 ## Core tests. ##
1431 ## ----------- ##
1433 _ACEOF
1436 # Keep a trace of the command line.
1437 # Strip out --no-create and --no-recursion so they do not pile up.
1438 # Strip out --silent because we don't want to record it for future runs.
1439 # Also quote any args containing shell meta-characters.
1440 # Make two passes to allow for proper duplicate-argument suppression.
1441 ac_configure_args=
1442 ac_configure_args0=
1443 ac_configure_args1=
1444 ac_must_keep_next=false
1445 for ac_pass in 1 2
1447 for ac_arg
1449 case $ac_arg in
1450 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1451 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1452 | -silent | --silent | --silen | --sile | --sil)
1453 continue ;;
1454 *\'*)
1455 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1456 esac
1457 case $ac_pass in
1458 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1460 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1461 if test $ac_must_keep_next = true; then
1462 ac_must_keep_next=false # Got value, back to normal.
1463 else
1464 case $ac_arg in
1465 *=* | --config-cache | -C | -disable-* | --disable-* \
1466 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1467 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1468 | -with-* | --with-* | -without-* | --without-* | --x)
1469 case "$ac_configure_args0 " in
1470 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1471 esac
1473 -* ) ac_must_keep_next=true ;;
1474 esac
1476 ac_configure_args="$ac_configure_args '$ac_arg'"
1478 esac
1479 done
1480 done
1481 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1482 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1484 # When interrupted or exit'd, cleanup temporary files, and complete
1485 # config.log. We remove comments because anyway the quotes in there
1486 # would cause problems or look ugly.
1487 # WARNING: Use '\'' to represent an apostrophe within the trap.
1488 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1489 trap 'exit_status=$?
1490 # Save into config.log some information that might help in debugging.
1492 echo
1494 cat <<\_ASBOX
1495 ## ---------------- ##
1496 ## Cache variables. ##
1497 ## ---------------- ##
1498 _ASBOX
1499 echo
1500 # The following way of writing the cache mishandles newlines in values,
1502 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1503 eval ac_val=\$$ac_var
1504 case $ac_val in #(
1505 *${as_nl}*)
1506 case $ac_var in #(
1507 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1508 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1509 esac
1510 case $ac_var in #(
1511 _ | IFS | as_nl) ;; #(
1512 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1513 *) $as_unset $ac_var ;;
1514 esac ;;
1515 esac
1516 done
1517 (set) 2>&1 |
1518 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1519 *${as_nl}ac_space=\ *)
1520 sed -n \
1521 "s/'\''/'\''\\\\'\'''\''/g;
1522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1523 ;; #(
1525 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1527 esac |
1528 sort
1530 echo
1532 cat <<\_ASBOX
1533 ## ----------------- ##
1534 ## Output variables. ##
1535 ## ----------------- ##
1536 _ASBOX
1537 echo
1538 for ac_var in $ac_subst_vars
1540 eval ac_val=\$$ac_var
1541 case $ac_val in
1542 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1543 esac
1544 $as_echo "$ac_var='\''$ac_val'\''"
1545 done | sort
1546 echo
1548 if test -n "$ac_subst_files"; then
1549 cat <<\_ASBOX
1550 ## ------------------- ##
1551 ## File substitutions. ##
1552 ## ------------------- ##
1553 _ASBOX
1554 echo
1555 for ac_var in $ac_subst_files
1557 eval ac_val=\$$ac_var
1558 case $ac_val in
1559 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1560 esac
1561 $as_echo "$ac_var='\''$ac_val'\''"
1562 done | sort
1563 echo
1566 if test -s confdefs.h; then
1567 cat <<\_ASBOX
1568 ## ----------- ##
1569 ## confdefs.h. ##
1570 ## ----------- ##
1571 _ASBOX
1572 echo
1573 cat confdefs.h
1574 echo
1576 test "$ac_signal" != 0 &&
1577 $as_echo "$as_me: caught signal $ac_signal"
1578 $as_echo "$as_me: exit $exit_status"
1579 } >&5
1580 rm -f core *.core core.conftest.* &&
1581 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1582 exit $exit_status
1584 for ac_signal in 1 2 13 15; do
1585 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1586 done
1587 ac_signal=0
1589 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1590 rm -f -r conftest* confdefs.h
1592 # Predefined preprocessor variables.
1594 cat >>confdefs.h <<_ACEOF
1595 #define PACKAGE_NAME "$PACKAGE_NAME"
1596 _ACEOF
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1601 _ACEOF
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1606 _ACEOF
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_STRING "$PACKAGE_STRING"
1611 _ACEOF
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1616 _ACEOF
1619 # Let the site file select an alternate cache file if it wants to.
1620 # Prefer explicitly selected file to automatically selected ones.
1621 if test -n "$CONFIG_SITE"; then
1622 set x "$CONFIG_SITE"
1623 elif test "x$prefix" != xNONE; then
1624 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1625 else
1626 set x "$ac_default_prefix/share/config.site" \
1627 "$ac_default_prefix/etc/config.site"
1629 shift
1630 for ac_site_file
1632 if test -r "$ac_site_file"; then
1633 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1634 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1635 sed 's/^/| /' "$ac_site_file" >&5
1636 . "$ac_site_file"
1638 done
1640 if test -r "$cache_file"; then
1641 # Some versions of bash will fail to source /dev/null (special
1642 # files actually), so we avoid doing that.
1643 if test -f "$cache_file"; then
1644 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1645 $as_echo "$as_me: loading cache $cache_file" >&6;}
1646 case $cache_file in
1647 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1648 *) . "./$cache_file";;
1649 esac
1651 else
1652 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1653 $as_echo "$as_me: creating cache $cache_file" >&6;}
1654 >$cache_file
1657 # Check that the precious variables saved in the cache have kept the same
1658 # value.
1659 ac_cache_corrupted=false
1660 for ac_var in $ac_precious_vars; do
1661 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1662 eval ac_new_set=\$ac_env_${ac_var}_set
1663 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1664 eval ac_new_val=\$ac_env_${ac_var}_value
1665 case $ac_old_set,$ac_new_set in
1666 set,)
1667 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1668 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1669 ac_cache_corrupted=: ;;
1670 ,set)
1671 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1672 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1673 ac_cache_corrupted=: ;;
1674 ,);;
1676 if test "x$ac_old_val" != "x$ac_new_val"; then
1677 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1678 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1679 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1680 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1681 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1682 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1683 ac_cache_corrupted=:
1684 fi;;
1685 esac
1686 # Pass precious variables to config.status.
1687 if test "$ac_new_set" = set; then
1688 case $ac_new_val in
1689 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1690 *) ac_arg=$ac_var=$ac_new_val ;;
1691 esac
1692 case " $ac_configure_args " in
1693 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1694 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1695 esac
1697 done
1698 if $ac_cache_corrupted; then
1699 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1700 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1701 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1702 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1703 { (exit 1); exit 1; }; }
1730 ac_ext=c
1731 ac_cpp='$CPP $CPPFLAGS'
1732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1739 ac_aux_dir=
1740 for ac_dir in build-aux "$srcdir"/build-aux; do
1741 if test -f "$ac_dir/install-sh"; then
1742 ac_aux_dir=$ac_dir
1743 ac_install_sh="$ac_aux_dir/install-sh -c"
1744 break
1745 elif test -f "$ac_dir/install.sh"; then
1746 ac_aux_dir=$ac_dir
1747 ac_install_sh="$ac_aux_dir/install.sh -c"
1748 break
1749 elif test -f "$ac_dir/shtool"; then
1750 ac_aux_dir=$ac_dir
1751 ac_install_sh="$ac_aux_dir/shtool install -c"
1752 break
1754 done
1755 if test -z "$ac_aux_dir"; then
1756 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1757 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1758 { (exit 1); exit 1; }; }
1761 # These three variables are undocumented and unsupported,
1762 # and are intended to be withdrawn in a future Autoconf release.
1763 # They can cause serious problems if a builder's source tree is in a directory
1764 # whose full name contains unusual characters.
1765 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1766 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1767 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1771 am__api_version='1.10'
1773 # Find a good install program. We prefer a C program (faster),
1774 # so one script is as good as another. But avoid the broken or
1775 # incompatible versions:
1776 # SysV /etc/install, /usr/sbin/install
1777 # SunOS /usr/etc/install
1778 # IRIX /sbin/install
1779 # AIX /bin/install
1780 # AmigaOS /C/install, which installs bootblocks on floppy discs
1781 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1782 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1783 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1784 # OS/2's system install, which has a completely different semantic
1785 # ./install, which can be erroneously created by make from ./install.sh.
1786 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1787 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1788 if test -z "$INSTALL"; then
1789 if test "${ac_cv_path_install+set}" = set; then
1790 $as_echo_n "(cached) " >&6
1791 else
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 for as_dir in $PATH
1795 IFS=$as_save_IFS
1796 test -z "$as_dir" && as_dir=.
1797 # Account for people who put trailing slashes in PATH elements.
1798 case $as_dir/ in
1799 ./ | .// | /cC/* | \
1800 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1801 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1802 /usr/ucb/* ) ;;
1804 # OSF1 and SCO ODT 3.0 have their own names for install.
1805 # Don't use installbsd from OSF since it installs stuff as root
1806 # by default.
1807 for ac_prog in ginstall scoinst install; do
1808 for ac_exec_ext in '' $ac_executable_extensions; do
1809 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1810 if test $ac_prog = install &&
1811 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1812 # AIX install. It has an incompatible calling convention.
1814 elif test $ac_prog = install &&
1815 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1816 # program-specific install script used by HP pwplus--don't use.
1818 else
1819 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1820 break 3
1823 done
1824 done
1826 esac
1827 done
1828 IFS=$as_save_IFS
1832 if test "${ac_cv_path_install+set}" = set; then
1833 INSTALL=$ac_cv_path_install
1834 else
1835 # As a last resort, use the slow shell script. Don't cache a
1836 # value for INSTALL within a source directory, because that will
1837 # break other packages using the cache if that directory is
1838 # removed, or if the value is a relative name.
1839 INSTALL=$ac_install_sh
1842 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1843 $as_echo "$INSTALL" >&6; }
1845 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1846 # It thinks the first close brace ends the variable substitution.
1847 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1849 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1851 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1853 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1854 $as_echo_n "checking whether build environment is sane... " >&6; }
1855 # Just in case
1856 sleep 1
1857 echo timestamp > conftest.file
1858 # Do `set' in a subshell so we don't clobber the current shell's
1859 # arguments. Must try -L first in case configure is actually a
1860 # symlink; some systems play weird games with the mod time of symlinks
1861 # (eg FreeBSD returns the mod time of the symlink's containing
1862 # directory).
1863 if (
1864 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1865 if test "$*" = "X"; then
1866 # -L didn't work.
1867 set X `ls -t $srcdir/configure conftest.file`
1869 rm -f conftest.file
1870 if test "$*" != "X $srcdir/configure conftest.file" \
1871 && test "$*" != "X conftest.file $srcdir/configure"; then
1873 # If neither matched, then we have a broken ls. This can happen
1874 # if, for instance, CONFIG_SHELL is bash and it inherits a
1875 # broken ls alias from the environment. This has actually
1876 # happened. Such a system could not be considered "sane".
1877 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1878 alias in your environment" >&5
1879 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1880 alias in your environment" >&2;}
1881 { (exit 1); exit 1; }; }
1884 test "$2" = conftest.file
1886 then
1887 # Ok.
1889 else
1890 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1891 Check your system clock" >&5
1892 $as_echo "$as_me: error: newly created file is older than distributed files!
1893 Check your system clock" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { $as_echo "$as_me:$LINENO: result: yes" >&5
1897 $as_echo "yes" >&6; }
1898 test "$program_prefix" != NONE &&
1899 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1900 # Use a double $ so make ignores it.
1901 test "$program_suffix" != NONE &&
1902 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1903 # Double any \ or $.
1904 # By default was `s,x,x', remove it if useless.
1905 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1906 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1908 # expand $ac_aux_dir to an absolute path
1909 am_aux_dir=`cd $ac_aux_dir && pwd`
1911 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1912 # Use eval to expand $SHELL
1913 if eval "$MISSING --run true"; then
1914 am_missing_run="$MISSING --run "
1915 else
1916 am_missing_run=
1917 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1921 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1922 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1923 if test -z "$MKDIR_P"; then
1924 if test "${ac_cv_path_mkdir+set}" = set; then
1925 $as_echo_n "(cached) " >&6
1926 else
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1928 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1930 IFS=$as_save_IFS
1931 test -z "$as_dir" && as_dir=.
1932 for ac_prog in mkdir gmkdir; do
1933 for ac_exec_ext in '' $ac_executable_extensions; do
1934 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1935 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1936 'mkdir (GNU coreutils) '* | \
1937 'mkdir (coreutils) '* | \
1938 'mkdir (fileutils) '4.1*)
1939 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1940 break 3;;
1941 esac
1942 done
1943 done
1944 done
1945 IFS=$as_save_IFS
1949 if test "${ac_cv_path_mkdir+set}" = set; then
1950 MKDIR_P="$ac_cv_path_mkdir -p"
1951 else
1952 # As a last resort, use the slow shell script. Don't cache a
1953 # value for MKDIR_P within a source directory, because that will
1954 # break other packages using the cache if that directory is
1955 # removed, or if the value is a relative name.
1956 test -d ./--version && rmdir ./--version
1957 MKDIR_P="$ac_install_sh -d"
1960 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1961 $as_echo "$MKDIR_P" >&6; }
1963 mkdir_p="$MKDIR_P"
1964 case $mkdir_p in
1965 [\\/$]* | ?:[\\/]*) ;;
1966 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1967 esac
1969 for ac_prog in gawk mawk nawk awk
1971 # Extract the first word of "$ac_prog", so it can be a program name with args.
1972 set dummy $ac_prog; ac_word=$2
1973 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 $as_echo_n "checking for $ac_word... " >&6; }
1975 if test "${ac_cv_prog_AWK+set}" = set; then
1976 $as_echo_n "(cached) " >&6
1977 else
1978 if test -n "$AWK"; then
1979 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1980 else
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 for as_dir in $PATH
1984 IFS=$as_save_IFS
1985 test -z "$as_dir" && as_dir=.
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1988 ac_cv_prog_AWK="$ac_prog"
1989 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 break 2
1992 done
1993 done
1994 IFS=$as_save_IFS
1998 AWK=$ac_cv_prog_AWK
1999 if test -n "$AWK"; then
2000 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2001 $as_echo "$AWK" >&6; }
2002 else
2003 { $as_echo "$as_me:$LINENO: result: no" >&5
2004 $as_echo "no" >&6; }
2008 test -n "$AWK" && break
2009 done
2011 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2013 set x ${MAKE-make}
2014 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2015 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2016 $as_echo_n "(cached) " >&6
2017 else
2018 cat >conftest.make <<\_ACEOF
2019 SHELL = /bin/sh
2020 all:
2021 @echo '@@@%%%=$(MAKE)=@@@%%%'
2022 _ACEOF
2023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2025 *@@@%%%=?*=@@@%%%*)
2026 eval ac_cv_prog_make_${ac_make}_set=yes;;
2028 eval ac_cv_prog_make_${ac_make}_set=no;;
2029 esac
2030 rm -f conftest.make
2032 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2033 { $as_echo "$as_me:$LINENO: result: yes" >&5
2034 $as_echo "yes" >&6; }
2035 SET_MAKE=
2036 else
2037 { $as_echo "$as_me:$LINENO: result: no" >&5
2038 $as_echo "no" >&6; }
2039 SET_MAKE="MAKE=${MAKE-make}"
2042 rm -rf .tst 2>/dev/null
2043 mkdir .tst 2>/dev/null
2044 if test -d .tst; then
2045 am__leading_dot=.
2046 else
2047 am__leading_dot=_
2049 rmdir .tst 2>/dev/null
2051 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2052 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2053 # is not polluted with repeated "-I."
2054 am__isrc=' -I$(srcdir)'
2055 # test to see if srcdir already configured
2056 if test -f $srcdir/config.status; then
2057 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2058 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2059 { (exit 1); exit 1; }; }
2063 # test whether we have cygpath
2064 if test -z "$CYGPATH_W"; then
2065 if (cygpath --version) >/dev/null 2>/dev/null; then
2066 CYGPATH_W='cygpath -w'
2067 else
2068 CYGPATH_W=echo
2073 # Define the identity of the package.
2074 PACKAGE='autoconf'
2075 VERSION='2.61b'
2078 cat >>confdefs.h <<_ACEOF
2079 #define PACKAGE "$PACKAGE"
2080 _ACEOF
2083 cat >>confdefs.h <<_ACEOF
2084 #define VERSION "$VERSION"
2085 _ACEOF
2087 # Some tools Automake needs.
2089 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2092 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2095 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2098 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2101 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2103 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2105 # Installed binaries are usually stripped using `strip' when the user
2106 # run `make install-strip'. However `strip' might not be the right
2107 # tool to use in cross-compilation environments, therefore Automake
2108 # will honor the `STRIP' environment variable to overrule this program.
2109 if test "$cross_compiling" != no; then
2110 if test -n "$ac_tool_prefix"; then
2111 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2112 set dummy ${ac_tool_prefix}strip; ac_word=$2
2113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 $as_echo_n "checking for $ac_word... " >&6; }
2115 if test "${ac_cv_prog_STRIP+set}" = set; then
2116 $as_echo_n "(cached) " >&6
2117 else
2118 if test -n "$STRIP"; then
2119 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2120 else
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122 for as_dir in $PATH
2124 IFS=$as_save_IFS
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2128 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 break 2
2132 done
2133 done
2134 IFS=$as_save_IFS
2138 STRIP=$ac_cv_prog_STRIP
2139 if test -n "$STRIP"; then
2140 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2141 $as_echo "$STRIP" >&6; }
2142 else
2143 { $as_echo "$as_me:$LINENO: result: no" >&5
2144 $as_echo "no" >&6; }
2149 if test -z "$ac_cv_prog_STRIP"; then
2150 ac_ct_STRIP=$STRIP
2151 # Extract the first word of "strip", so it can be a program name with args.
2152 set dummy strip; ac_word=$2
2153 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 $as_echo_n "checking for $ac_word... " >&6; }
2155 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2156 $as_echo_n "(cached) " >&6
2157 else
2158 if test -n "$ac_ct_STRIP"; then
2159 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2160 else
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162 for as_dir in $PATH
2164 IFS=$as_save_IFS
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168 ac_cv_prog_ac_ct_STRIP="strip"
2169 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 break 2
2172 done
2173 done
2174 IFS=$as_save_IFS
2178 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2179 if test -n "$ac_ct_STRIP"; then
2180 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2181 $as_echo "$ac_ct_STRIP" >&6; }
2182 else
2183 { $as_echo "$as_me:$LINENO: result: no" >&5
2184 $as_echo "no" >&6; }
2187 if test "x$ac_ct_STRIP" = x; then
2188 STRIP=":"
2189 else
2190 case $cross_compiling:$ac_tool_warned in
2191 yes:)
2192 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2193 whose name does not start with the host triplet. If you think this
2194 configuration is useful to you, please write to autoconf@gnu.org." >&5
2195 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2196 whose name does not start with the host triplet. If you think this
2197 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2198 ac_tool_warned=yes ;;
2199 esac
2200 STRIP=$ac_ct_STRIP
2202 else
2203 STRIP="$ac_cv_prog_STRIP"
2207 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2209 # We need awk for the "check" target. The system "awk" is bad on
2210 # some platforms.
2211 # Always define AMTAR for backward compatibility.
2213 AMTAR=${AMTAR-"${am_missing_run}tar"}
2215 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2222 # We use `/bin/sh -n script' to check that there are no syntax errors
2223 # in the scripts. Although incredible, there are /bin/sh that go into
2224 # endless loops with `-n', e.g., SunOS's:
2226 # $ uname -a
2227 # SunOS ondine 4.1.3 2 sun4m unknown
2228 # $ cat endless.sh
2229 # while false
2230 # do
2232 # done
2233 # exit 0
2234 # $ time sh endless.sh
2235 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2236 # $ time sh -nx endless.sh
2237 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2239 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2240 # that they are unusable on large scripts like our testsuite.
2242 # So before using `/bin/sh -n' to check our scripts, we first check
2243 # that `/bin/sh -n' is known to not have these problems.
2245 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2246 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2247 if test "${ac_cv_sh_n_works+set}" = set; then
2248 $as_echo_n "(cached) " >&6
2249 else
2250 if (
2251 unset BASH_VERSION ZSH_VERSION
2252 /bin/sh -c '
2253 test -n "${BASH_VERSION+set}" || # Bash
2254 test -n "${KSH_VERSION+set}" || # pdksh
2255 test -n "${ZSH_VERSION+set}" || # zsh
2256 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2258 ) 2>/dev/null
2259 then ac_cv_sh_n_works=yes
2260 else ac_cv_sh_n_works=no
2264 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2265 $as_echo "$ac_cv_sh_n_works" >&6; }
2268 # Initialize the test suite.
2269 ac_config_commands="$ac_config_commands tests/atconfig"
2272 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2274 # Extract the first word of "expr", so it can be a program name with args.
2275 set dummy expr; ac_word=$2
2276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 $as_echo_n "checking for $ac_word... " >&6; }
2278 if test "${ac_cv_path_EXPR+set}" = set; then
2279 $as_echo_n "(cached) " >&6
2280 else
2281 case $EXPR in
2282 [\\/]* | ?:[\\/]*)
2283 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 for as_dir in $PATH
2289 IFS=$as_save_IFS
2290 test -z "$as_dir" && as_dir=.
2291 for ac_exec_ext in '' $ac_executable_extensions; do
2292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2293 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 break 2
2297 done
2298 done
2299 IFS=$as_save_IFS
2302 esac
2304 EXPR=$ac_cv_path_EXPR
2305 if test -n "$EXPR"; then
2306 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2307 $as_echo "$EXPR" >&6; }
2308 else
2309 { $as_echo "$as_me:$LINENO: result: no" >&5
2310 $as_echo "no" >&6; }
2316 ## ---- ##
2317 ## M4. ##
2318 ## ---- ##
2320 # We use an absolute name for GNU m4 so even if users have another m4 first in
2321 # their path, the installer can configure with a path that has GNU m4
2322 # first and get that path embedded in the installed autoconf and
2323 # autoheader scripts.
2324 for ac_prog in gm4 gnum4 m4
2326 # Extract the first word of "$ac_prog", so it can be a program name with args.
2327 set dummy $ac_prog; ac_word=$2
2328 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2329 $as_echo_n "checking for $ac_word... " >&6; }
2330 if test "${ac_cv_path_M4+set}" = set; then
2331 $as_echo_n "(cached) " >&6
2332 else
2333 case $M4 in
2334 [\\/]* | ?:[\\/]*)
2335 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 for as_dir in $PATH
2341 IFS=$as_save_IFS
2342 test -z "$as_dir" && as_dir=.
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2345 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2346 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 break 2
2349 done
2350 done
2351 IFS=$as_save_IFS
2354 esac
2356 M4=$ac_cv_path_M4
2357 if test -n "$M4"; then
2358 { $as_echo "$as_me:$LINENO: result: $M4" >&5
2359 $as_echo "$M4" >&6; }
2360 else
2361 { $as_echo "$as_me:$LINENO: result: no" >&5
2362 $as_echo "no" >&6; }
2366 test -n "$M4" && break
2367 done
2368 test -n "$M4" || M4="m4"
2370 { $as_echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2371 $as_echo_n "checking whether m4 supports frozen files... " >&6; }
2372 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2373 $as_echo_n "(cached) " >&6
2374 else
2375 ac_cv_prog_gnu_m4=no
2376 if test x"$M4" != x; then
2377 case `$M4 --help < /dev/null 2>&1` in
2378 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2379 esac
2382 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2383 $as_echo "$ac_cv_prog_gnu_m4" >&6; }
2384 if test $ac_cv_prog_gnu_m4 = yes ; then
2385 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2386 $as_echo_n "checking how m4 supports trace files... " >&6; }
2387 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2388 $as_echo_n "(cached) " >&6
2389 else
2390 case `$M4 --help < /dev/null 2>&1` in
2391 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2392 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2393 esac
2395 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2396 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2397 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2401 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2402 { { $as_echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2403 $as_echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2404 { (exit 1); exit 1; }; }
2407 ## ----------- ##
2408 ## Man pages. ##
2409 ## ----------- ##
2411 ac_config_files="$ac_config_files man/Makefile"
2414 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2418 ## ------ ##
2419 ## Perl. ##
2420 ## ------ ##
2422 # We use an absolute name for perl so the #! line in autoscan will work.
2423 # Extract the first word of "perl", so it can be a program name with args.
2424 set dummy perl; ac_word=$2
2425 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 $as_echo_n "checking for $ac_word... " >&6; }
2427 if test "${ac_cv_path_PERL+set}" = set; then
2428 $as_echo_n "(cached) " >&6
2429 else
2430 case $PERL in
2431 [\\/]* | ?:[\\/]*)
2432 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 for as_dir in $PATH
2438 IFS=$as_save_IFS
2439 test -z "$as_dir" && as_dir=.
2440 for ac_exec_ext in '' $ac_executable_extensions; do
2441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2442 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2443 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 break 2
2446 done
2447 done
2448 IFS=$as_save_IFS
2450 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2452 esac
2454 PERL=$ac_cv_path_PERL
2455 if test -n "$PERL"; then
2456 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2457 $as_echo "$PERL" >&6; }
2458 else
2459 { $as_echo "$as_me:$LINENO: result: no" >&5
2460 $as_echo "no" >&6; }
2464 if test "$PERL" = no; then
2465 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2466 $as_echo "$as_me: error: perl is not found" >&2;}
2467 { (exit 1); exit 1; }; }
2469 $PERL -e 'require 5.005_03;' || {
2470 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2471 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2472 { (exit 1); exit 1; }; }
2476 ## ------- ##
2477 ## Emacs. ##
2478 ## ------- ##
2480 ac_config_files="$ac_config_files lib/emacs/Makefile"
2482 TEST_EMACS=$EMACS
2483 test x"$TEST_EMACS" = xt && TEST_EMACS=
2484 for ac_prog in emacs xemacs
2486 # Extract the first word of "$ac_prog", so it can be a program name with args.
2487 set dummy $ac_prog; ac_word=$2
2488 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 $as_echo_n "checking for $ac_word... " >&6; }
2490 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2491 $as_echo_n "(cached) " >&6
2492 else
2493 if test -n "$TEST_EMACS"; then
2494 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2495 else
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 for as_dir in $PATH
2499 IFS=$as_save_IFS
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_TEST_EMACS="$ac_prog"
2504 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 break 2
2507 done
2508 done
2509 IFS=$as_save_IFS
2513 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2514 if test -n "$TEST_EMACS"; then
2515 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2516 $as_echo "$TEST_EMACS" >&6; }
2517 else
2518 { $as_echo "$as_me:$LINENO: result: no" >&5
2519 $as_echo "no" >&6; }
2523 test -n "$TEST_EMACS" && break
2524 done
2525 test -n "$TEST_EMACS" || TEST_EMACS="no"
2528 # autoconf-mode.el and autotest-mode.el do not work with older version of
2529 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2530 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2531 # We detect this problem here.
2532 if test "$TEST_EMACS" != no; then
2533 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2534 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2535 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2536 $as_echo_n "(cached) " >&6
2537 else
2538 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2539 cat >conftest.el << "EOF"
2540 (defvar broken)
2541 (defun broken-mode () (setq broken-defaults `(broken nil)))
2543 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2544 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2545 ac_status=$?
2546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; then
2548 ac_cv_prog_emacs_ok=yes
2549 else
2550 ac_cv_prog_emacs_ok=no
2553 rm -f conftest.el conftest.elc
2555 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2556 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2557 if test $ac_cv_prog_emacs_ok = no; then
2558 TEST_EMACS=no
2564 EMACS=$TEST_EMACS
2567 # If set to t, that means we are running in a shell under Emacs.
2568 # If you have an Emacs named "t", then use the full path.
2569 test x"$EMACS" = xt && EMACS=
2570 for ac_prog in emacs xemacs
2572 # Extract the first word of "$ac_prog", so it can be a program name with args.
2573 set dummy $ac_prog; ac_word=$2
2574 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if test "${ac_cv_prog_EMACS+set}" = set; then
2577 $as_echo_n "(cached) " >&6
2578 else
2579 if test -n "$EMACS"; then
2580 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2581 else
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583 for as_dir in $PATH
2585 IFS=$as_save_IFS
2586 test -z "$as_dir" && as_dir=.
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 ac_cv_prog_EMACS="$ac_prog"
2590 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 break 2
2593 done
2594 done
2595 IFS=$as_save_IFS
2599 EMACS=$ac_cv_prog_EMACS
2600 if test -n "$EMACS"; then
2601 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2602 $as_echo "$EMACS" >&6; }
2603 else
2604 { $as_echo "$as_me:$LINENO: result: no" >&5
2605 $as_echo "no" >&6; }
2609 test -n "$EMACS" && break
2610 done
2611 test -n "$EMACS" || EMACS="no"
2616 # Check whether --with-lispdir was given.
2617 if test "${with_lispdir+set}" = set; then
2618 withval=$with_lispdir; lispdir="$withval"
2619 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2620 $as_echo_n "checking where .elc files should go... " >&6; }
2621 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2622 $as_echo "$lispdir" >&6; }
2623 else
2625 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2626 $as_echo_n "checking where .elc files should go... " >&6; }
2627 if test "${am_cv_lispdir+set}" = set; then
2628 $as_echo_n "(cached) " >&6
2629 else
2631 if test $EMACS != "no"; then
2632 if test x${lispdir+set} != xset; then
2633 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2634 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2635 # which is non-obvious for non-emacs users.
2636 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2637 # emacsen earlier and avoid running this altogether.
2638 { ($as_echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5
2639 ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
2640 ac_status=$?
2641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }
2643 am_cv_lispdir=`sed -n \
2644 -e 's,/$,,' \
2645 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2646 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2647 conftest.out`
2648 rm conftest.out
2651 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2654 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2655 $as_echo "$am_cv_lispdir" >&6; }
2656 lispdir="$am_cv_lispdir"
2664 ## ------------ ##
2665 ## Grep & sed. ##
2666 ## ------------ ##
2667 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2668 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2669 if test "${ac_cv_path_GREP+set}" = set; then
2670 $as_echo_n "(cached) " >&6
2671 else
2672 # Extract the first word of "grep ggrep" to use in msg output
2673 if test -z "$GREP"; then
2674 set dummy grep ggrep; ac_prog_name=$2
2675 if test "${ac_cv_path_GREP+set}" = set; then
2676 $as_echo_n "(cached) " >&6
2677 else
2678 ac_path_GREP_found=false
2679 # Loop through the user's path and test for each of PROGNAME-LIST
2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2683 IFS=$as_save_IFS
2684 test -z "$as_dir" && as_dir=.
2685 for ac_prog in grep ggrep; do
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2688 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2689 # Check for GNU ac_path_GREP and select it if it is found.
2690 # Check for GNU $ac_path_GREP
2691 case `"$ac_path_GREP" --version 2>&1` in
2692 *GNU*)
2693 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2695 ac_count=0
2696 $as_echo_n 0123456789 >"conftest.in"
2697 while :
2699 cat "conftest.in" "conftest.in" >"conftest.tmp"
2700 mv "conftest.tmp" "conftest.in"
2701 cp "conftest.in" "conftest.nl"
2702 $as_echo 'GREP' >> "conftest.nl"
2703 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2705 ac_count=`expr $ac_count + 1`
2706 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2707 # Best one so far, save it but keep looking for a better one
2708 ac_cv_path_GREP="$ac_path_GREP"
2709 ac_path_GREP_max=$ac_count
2711 # 10*(2^10) chars as input seems more than enough
2712 test $ac_count -gt 10 && break
2713 done
2714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2715 esac
2718 $ac_path_GREP_found && break 3
2719 done
2720 done
2722 done
2723 IFS=$as_save_IFS
2728 GREP="$ac_cv_path_GREP"
2729 if test -z "$GREP"; then
2730 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2731 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2732 { (exit 1); exit 1; }; }
2735 else
2736 ac_cv_path_GREP=$GREP
2741 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2742 $as_echo "$ac_cv_path_GREP" >&6; }
2743 GREP="$ac_cv_path_GREP"
2746 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2747 $as_echo_n "checking for egrep... " >&6; }
2748 if test "${ac_cv_path_EGREP+set}" = set; then
2749 $as_echo_n "(cached) " >&6
2750 else
2751 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2752 then ac_cv_path_EGREP="$GREP -E"
2753 else
2754 # Extract the first word of "egrep" to use in msg output
2755 if test -z "$EGREP"; then
2756 set dummy egrep; ac_prog_name=$2
2757 if test "${ac_cv_path_EGREP+set}" = set; then
2758 $as_echo_n "(cached) " >&6
2759 else
2760 ac_path_EGREP_found=false
2761 # Loop through the user's path and test for each of PROGNAME-LIST
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2765 IFS=$as_save_IFS
2766 test -z "$as_dir" && as_dir=.
2767 for ac_prog in egrep; do
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2770 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2771 # Check for GNU ac_path_EGREP and select it if it is found.
2772 # Check for GNU $ac_path_EGREP
2773 case `"$ac_path_EGREP" --version 2>&1` in
2774 *GNU*)
2775 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2777 ac_count=0
2778 $as_echo_n 0123456789 >"conftest.in"
2779 while :
2781 cat "conftest.in" "conftest.in" >"conftest.tmp"
2782 mv "conftest.tmp" "conftest.in"
2783 cp "conftest.in" "conftest.nl"
2784 $as_echo 'EGREP' >> "conftest.nl"
2785 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2787 ac_count=`expr $ac_count + 1`
2788 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2789 # Best one so far, save it but keep looking for a better one
2790 ac_cv_path_EGREP="$ac_path_EGREP"
2791 ac_path_EGREP_max=$ac_count
2793 # 10*(2^10) chars as input seems more than enough
2794 test $ac_count -gt 10 && break
2795 done
2796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2797 esac
2800 $ac_path_EGREP_found && break 3
2801 done
2802 done
2804 done
2805 IFS=$as_save_IFS
2810 EGREP="$ac_cv_path_EGREP"
2811 if test -z "$EGREP"; then
2812 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2813 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2814 { (exit 1); exit 1; }; }
2817 else
2818 ac_cv_path_EGREP=$EGREP
2824 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2825 $as_echo "$ac_cv_path_EGREP" >&6; }
2826 EGREP="$ac_cv_path_EGREP"
2829 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2830 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2831 if test "${ac_cv_path_SED+set}" = set; then
2832 $as_echo_n "(cached) " >&6
2833 else
2834 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2835 for ac_i in 1 2 3 4 5 6 7; do
2836 ac_script="$ac_script$as_nl$ac_script"
2837 done
2838 echo "$ac_script" | sed 99q >conftest.sed
2839 $as_unset ac_script || ac_script=
2840 # Extract the first word of "sed gsed" to use in msg output
2841 if test -z "$SED"; then
2842 set dummy sed gsed; ac_prog_name=$2
2843 if test "${ac_cv_path_SED+set}" = set; then
2844 $as_echo_n "(cached) " >&6
2845 else
2846 ac_path_SED_found=false
2847 # Loop through the user's path and test for each of PROGNAME-LIST
2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 for as_dir in $PATH
2851 IFS=$as_save_IFS
2852 test -z "$as_dir" && as_dir=.
2853 for ac_prog in sed gsed; do
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2856 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2857 # Check for GNU ac_path_SED and select it if it is found.
2858 # Check for GNU $ac_path_SED
2859 case `"$ac_path_SED" --version 2>&1` in
2860 *GNU*)
2861 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2863 ac_count=0
2864 $as_echo_n 0123456789 >"conftest.in"
2865 while :
2867 cat "conftest.in" "conftest.in" >"conftest.tmp"
2868 mv "conftest.tmp" "conftest.in"
2869 cp "conftest.in" "conftest.nl"
2870 $as_echo '' >> "conftest.nl"
2871 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2872 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2873 ac_count=`expr $ac_count + 1`
2874 if test $ac_count -gt ${ac_path_SED_max-0}; then
2875 # Best one so far, save it but keep looking for a better one
2876 ac_cv_path_SED="$ac_path_SED"
2877 ac_path_SED_max=$ac_count
2879 # 10*(2^10) chars as input seems more than enough
2880 test $ac_count -gt 10 && break
2881 done
2882 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2883 esac
2886 $ac_path_SED_found && break 3
2887 done
2888 done
2890 done
2891 IFS=$as_save_IFS
2896 SED="$ac_cv_path_SED"
2897 if test -z "$SED"; then
2898 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2899 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2900 { (exit 1); exit 1; }; }
2903 else
2904 ac_cv_path_SED=$SED
2908 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2909 $as_echo "$ac_cv_path_SED" >&6; }
2910 SED="$ac_cv_path_SED"
2911 rm -f conftest.sed
2915 ## ------------ ##
2916 ## Conclusion. ##
2917 ## ------------ ##
2919 ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile lib/m4sugar/Makefile lib/autoconf/Makefile lib/autotest/Makefile bin/Makefile"
2922 cat >confcache <<\_ACEOF
2923 # This file is a shell script that caches the results of configure
2924 # tests run on this system so they can be shared between configure
2925 # scripts and configure runs, see configure's option --config-cache.
2926 # It is not useful on other systems. If it contains results you don't
2927 # want to keep, you may remove or edit it.
2929 # config.status only pays attention to the cache file if you give it
2930 # the --recheck option to rerun configure.
2932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2934 # following values.
2936 _ACEOF
2938 # The following way of writing the cache mishandles newlines in values,
2939 # but we know of no workaround that is simple, portable, and efficient.
2940 # So, we kill variables containing newlines.
2941 # Ultrix sh set writes to stderr and can't be redirected directly,
2942 # and sets the high bit in the cache file unless we assign to the vars.
2944 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2945 eval ac_val=\$$ac_var
2946 case $ac_val in #(
2947 *${as_nl}*)
2948 case $ac_var in #(
2949 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2950 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2951 esac
2952 case $ac_var in #(
2953 _ | IFS | as_nl) ;; #(
2954 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2955 *) $as_unset $ac_var ;;
2956 esac ;;
2957 esac
2958 done
2960 (set) 2>&1 |
2961 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2962 *${as_nl}ac_space=\ *)
2963 # `set' does not quote correctly, so add quotes (double-quote
2964 # substitution turns \\\\ into \\, and sed turns \\ into \).
2965 sed -n \
2966 "s/'/'\\\\''/g;
2967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2968 ;; #(
2970 # `set' quotes correctly as required by POSIX, so do not add quotes.
2971 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2973 esac |
2974 sort
2976 sed '
2977 /^ac_cv_env_/b end
2978 t clear
2979 :clear
2980 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2981 t end
2982 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2983 :end' >>confcache
2984 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2985 if test -w "$cache_file"; then
2986 test "x$cache_file" != "x/dev/null" &&
2987 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2988 $as_echo "$as_me: updating cache $cache_file" >&6;}
2989 cat confcache >$cache_file
2990 else
2991 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2992 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2995 rm -f confcache
2997 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2998 # Let make expand exec_prefix.
2999 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3001 # Transform confdefs.h into DEFS.
3002 # Protect against shell expansion while executing Makefile rules.
3003 # Protect against Makefile macro expansion.
3005 # If the first sed substitution is executed (which looks for macros that
3006 # take arguments), then branch to the quote section. Otherwise,
3007 # look for a macro that doesn't take arguments.
3008 ac_script='
3009 t clear
3010 :clear
3011 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3012 t quote
3013 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3014 t quote
3015 b any
3016 :quote
3017 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3018 s/\[/\\&/g
3019 s/\]/\\&/g
3020 s/\$/$$/g
3022 :any
3025 s/^\n//
3026 s/\n/ /g
3030 DEFS=`sed -n "$ac_script" confdefs.h`
3033 ac_libobjs=
3034 ac_ltlibobjs=
3035 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3036 # 1. Remove the extension, and $U if already installed.
3037 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3038 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3039 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3040 # will be set to the directory where LIBOBJS objects are built.
3041 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3042 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3043 done
3044 LIBOBJS=$ac_libobjs
3046 LTLIBOBJS=$ac_ltlibobjs
3050 : ${CONFIG_STATUS=./config.status}
3051 ac_clean_files_save=$ac_clean_files
3052 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3053 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3054 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3055 cat >$CONFIG_STATUS <<_ACEOF
3056 #! $SHELL
3057 # Generated by $as_me.
3058 # Run this file to recreate the current configuration.
3059 # Compiler output produced by configure, useful for debugging
3060 # configure, is in config.log if it exists.
3062 debug=false
3063 ac_cs_recheck=false
3064 ac_cs_silent=false
3065 SHELL=\${CONFIG_SHELL-$SHELL}
3066 _ACEOF
3068 cat >>$CONFIG_STATUS <<\_ACEOF
3069 ## --------------------- ##
3070 ## M4sh Initialization. ##
3071 ## --------------------- ##
3073 # Be more Bourne compatible
3074 DUALCASE=1; export DUALCASE # for MKS sh
3075 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3076 emulate sh
3077 NULLCMD=:
3078 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3079 # is contrary to our usage. Disable this feature.
3080 alias -g '${1+"$@"}'='"$@"'
3081 setopt NO_GLOB_SUBST
3082 else
3083 case `(set -o) 2>/dev/null` in
3084 *posix*) set -o posix ;;
3085 esac
3092 # PATH needs CR
3093 # Avoid depending upon Character Ranges.
3094 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3095 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3096 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3097 as_cr_digits='0123456789'
3098 as_cr_alnum=$as_cr_Letters$as_cr_digits
3100 as_nl='
3102 export as_nl
3103 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3104 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3105 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3106 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3107 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3108 as_echo='printf %s\n'
3109 as_echo_n='printf %s'
3110 else
3111 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3112 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3113 as_echo_n='/usr/ucb/echo -n'
3114 else
3115 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3116 as_echo_n_body='eval
3117 arg=$1;
3118 case $arg in
3119 *"$as_nl"*)
3120 expr "X$arg" : "X\\(.*\\)$as_nl";
3121 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3122 esac;
3123 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3125 export as_echo_n_body
3126 as_echo_n='sh -c $as_echo_n_body as_echo'
3128 export as_echo_body
3129 as_echo='sh -c $as_echo_body as_echo'
3132 # The user is always right.
3133 if test "${PATH_SEPARATOR+set}" != set; then
3134 echo "#! /bin/sh" >conf$$.sh
3135 echo "exit 0" >>conf$$.sh
3136 chmod +x conf$$.sh
3137 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3138 PATH_SEPARATOR=';'
3139 else
3140 PATH_SEPARATOR=:
3142 rm -f conf$$.sh
3145 # Support unset when possible.
3146 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3147 as_unset=unset
3148 else
3149 as_unset=false
3153 # IFS
3154 # We need space, tab and new line, in precisely that order. Quoting is
3155 # there to prevent editors from complaining about space-tab.
3156 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3157 # splitting by setting IFS to empty value.)
3158 IFS=" "" $as_nl"
3160 # Find who we are. Look in the path if we contain no directory separator.
3161 case $0 in
3162 *[\\/]* ) as_myself=$0 ;;
3163 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 for as_dir in $PATH
3166 IFS=$as_save_IFS
3167 test -z "$as_dir" && as_dir=.
3168 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3169 done
3170 IFS=$as_save_IFS
3173 esac
3174 # We did not find ourselves, most probably we were run as `sh COMMAND'
3175 # in which case we are not to be found in the path.
3176 if test "x$as_myself" = x; then
3177 as_myself=$0
3179 if test ! -f "$as_myself"; then
3180 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3181 { (exit 1); exit 1; }
3184 # Work around bugs in pre-3.0 UWIN ksh.
3185 for as_var in ENV MAIL MAILPATH
3186 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3187 done
3188 PS1='$ '
3189 PS2='> '
3190 PS4='+ '
3192 # NLS nuisances.
3193 for as_var in \
3194 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3195 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3196 LC_TELEPHONE LC_TIME
3198 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3199 eval $as_var=C; export $as_var
3200 else
3201 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3203 done
3205 # Required to use basename.
3206 if expr a : '\(a\)' >/dev/null 2>&1 &&
3207 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3208 as_expr=expr
3209 else
3210 as_expr=false
3213 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3214 as_basename=basename
3215 else
3216 as_basename=false
3220 # Name of the executable.
3221 as_me=`$as_basename -- "$0" ||
3222 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3223 X"$0" : 'X\(//\)$' \| \
3224 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3225 $as_echo X/"$0" |
3226 sed '/^.*\/\([^/][^/]*\)\/*$/{
3227 s//\1/
3230 /^X\/\(\/\/\)$/{
3231 s//\1/
3234 /^X\/\(\/\).*/{
3235 s//\1/
3238 s/.*/./; q'`
3240 # CDPATH.
3241 $as_unset CDPATH
3245 as_lineno_1=$LINENO
3246 as_lineno_2=$LINENO
3247 test "x$as_lineno_1" != "x$as_lineno_2" &&
3248 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3250 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3251 # uniformly replaced by the line number. The first 'sed' inserts a
3252 # line-number line after each line using $LINENO; the second 'sed'
3253 # does the real work. The second script uses 'N' to pair each
3254 # line-number line with the line containing $LINENO, and appends
3255 # trailing '-' during substitution so that $LINENO is not a special
3256 # case at line end.
3257 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3258 # scripts with optimization help from Paolo Bonzini. Blame Lee
3259 # E. McMahon (1931-1989) for sed's syntax. :-)
3260 sed -n '
3262 /[$]LINENO/=
3263 ' <$as_myself |
3264 sed '
3265 s/[$]LINENO.*/&-/
3266 t lineno
3268 :lineno
3270 :loop
3271 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3272 t loop
3273 s/-\n.*//
3274 ' >$as_me.lineno &&
3275 chmod +x "$as_me.lineno" ||
3276 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3277 { (exit 1); exit 1; }; }
3279 # Don't try to exec as it changes $[0], causing all sort of problems
3280 # (the dirname of $[0] is not the place where we might find the
3281 # original and so on. Autoconf is especially sensitive to this).
3282 . "./$as_me.lineno"
3283 # Exit status is that of the last command.
3284 exit
3288 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3289 as_dirname=dirname
3290 else
3291 as_dirname=false
3294 ECHO_C= ECHO_N= ECHO_T=
3295 case `echo -n x` in
3296 -n*)
3297 case `echo 'x\c'` in
3298 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3299 *) ECHO_C='\c';;
3300 esac;;
3302 ECHO_N='-n';;
3303 esac
3304 if expr a : '\(a\)' >/dev/null 2>&1 &&
3305 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3306 as_expr=expr
3307 else
3308 as_expr=false
3311 rm -f conf$$ conf$$.exe conf$$.file
3312 if test -d conf$$.dir; then
3313 rm -f conf$$.dir/conf$$.file
3314 else
3315 rm -f conf$$.dir
3316 mkdir conf$$.dir
3318 echo >conf$$.file
3319 if ln -s conf$$.file conf$$ 2>/dev/null; then
3320 as_ln_s='ln -s'
3321 # ... but there are two gotchas:
3322 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3323 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3324 # In both cases, we have to default to `cp -p'.
3325 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3326 as_ln_s='cp -p'
3327 elif ln conf$$.file conf$$ 2>/dev/null; then
3328 as_ln_s=ln
3329 else
3330 as_ln_s='cp -p'
3332 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3333 rmdir conf$$.dir 2>/dev/null
3335 if mkdir -p . 2>/dev/null; then
3336 as_mkdir_p=:
3337 else
3338 test -d ./-p && rmdir ./-p
3339 as_mkdir_p=false
3342 if test -x / >/dev/null 2>&1; then
3343 as_test_x='test -x'
3344 else
3345 if ls -dL / >/dev/null 2>&1; then
3346 as_ls_L_option=L
3347 else
3348 as_ls_L_option=
3350 as_test_x='
3351 eval sh -c '\''
3352 if test -d "$1"; then
3353 test -d "$1/.";
3354 else
3355 case $1 in
3356 -*)set "./$1";;
3357 esac;
3358 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3359 ???[sx]*):;;*)false;;esac;fi
3360 '\'' sh
3363 as_executable_p=$as_test_x
3365 # Sed expression to map a string onto a valid CPP name.
3366 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3368 # Sed expression to map a string onto a valid variable name.
3369 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3372 exec 6>&1
3374 # Save the log message, to keep $[0] and so on meaningful, and to
3375 # report actual input values of CONFIG_FILES etc. instead of their
3376 # values after options handling.
3377 ac_log="
3378 This file was extended by GNU Autoconf $as_me 2.61b, which was
3379 generated by GNU Autoconf 2.61b. Invocation command line was
3381 CONFIG_FILES = $CONFIG_FILES
3382 CONFIG_HEADERS = $CONFIG_HEADERS
3383 CONFIG_LINKS = $CONFIG_LINKS
3384 CONFIG_COMMANDS = $CONFIG_COMMANDS
3385 $ $0 $@
3387 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3390 _ACEOF
3392 cat >>$CONFIG_STATUS <<_ACEOF
3393 # Files that config.status was made for.
3394 config_files="$ac_config_files"
3395 config_commands="$ac_config_commands"
3397 _ACEOF
3399 cat >>$CONFIG_STATUS <<\_ACEOF
3400 ac_cs_usage="\
3401 \`$as_me' instantiates files from templates according to the
3402 current configuration.
3404 Usage: $0 [OPTIONS] [FILE]...
3406 -h, --help print this help, then exit
3407 -V, --version print version number and configuration settings, then exit
3408 -q, --quiet do not print progress messages
3409 -d, --debug don't remove temporary files
3410 --recheck update $as_me by reconfiguring in the same conditions
3411 --file=FILE[:TEMPLATE]
3412 instantiate the configuration file FILE
3414 Configuration files:
3415 $config_files
3417 Configuration commands:
3418 $config_commands
3420 Report bugs to <bug-autoconf@gnu.org>."
3422 _ACEOF
3423 cat >>$CONFIG_STATUS <<_ACEOF
3424 ac_cs_version="\\
3425 GNU Autoconf config.status 2.61b
3426 configured by $0, generated by GNU Autoconf 2.61b,
3427 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3429 Copyright (C) 2006 Free Software Foundation, Inc.
3430 This config.status script is free software; the Free Software Foundation
3431 gives unlimited permission to copy, distribute and modify it."
3433 ac_pwd='$ac_pwd'
3434 srcdir='$srcdir'
3435 INSTALL='$INSTALL'
3436 MKDIR_P='$MKDIR_P'
3437 AWK='$AWK'
3438 test -n "\$AWK" || AWK=awk
3439 _ACEOF
3441 cat >>$CONFIG_STATUS <<\_ACEOF
3442 # If no file are specified by the user, then we need to provide default
3443 # value. By we need to know if files were specified by the user.
3444 ac_need_defaults=:
3445 while test $# != 0
3447 case $1 in
3448 --*=*)
3449 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3450 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3451 ac_shift=:
3454 ac_option=$1
3455 ac_optarg=$2
3456 ac_shift=shift
3458 esac
3460 case $ac_option in
3461 # Handling of the options.
3462 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3463 ac_cs_recheck=: ;;
3464 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3465 $as_echo "$ac_cs_version"; exit ;;
3466 --debug | --debu | --deb | --de | --d | -d )
3467 debug=: ;;
3468 --file | --fil | --fi | --f )
3469 $ac_shift
3470 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3471 ac_need_defaults=false;;
3472 --he | --h | --help | --hel | -h )
3473 $as_echo "$ac_cs_usage"; exit ;;
3474 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3475 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3476 ac_cs_silent=: ;;
3478 # This is an error.
3479 -*) { $as_echo "$as_me: error: unrecognized option: $1
3480 Try \`$0 --help' for more information." >&2
3481 { (exit 1); exit 1; }; } ;;
3483 *) ac_config_targets="$ac_config_targets $1"
3484 ac_need_defaults=false ;;
3486 esac
3487 shift
3488 done
3490 ac_configure_extra_args=
3492 if $ac_cs_silent; then
3493 exec 6>/dev/null
3494 ac_configure_extra_args="$ac_configure_extra_args --silent"
3497 _ACEOF
3498 cat >>$CONFIG_STATUS <<_ACEOF
3499 if \$ac_cs_recheck; then
3500 set X '$SHELL' '$0'$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3501 shift
3502 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3503 CONFIG_SHELL='$SHELL'
3504 export CONFIG_SHELL
3505 exec "\$@"
3508 _ACEOF
3509 cat >>$CONFIG_STATUS <<\_ACEOF
3510 exec 5>>config.log
3512 echo
3513 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3514 ## Running $as_me. ##
3515 _ASBOX
3516 $as_echo "$ac_log"
3517 } >&5
3519 _ACEOF
3520 cat >>$CONFIG_STATUS <<_ACEOF
3521 _ACEOF
3523 cat >>$CONFIG_STATUS <<\_ACEOF
3525 # Handling of arguments.
3526 for ac_config_target in $ac_config_targets
3528 case $ac_config_target in
3529 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3530 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3531 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3532 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3533 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3534 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3535 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3536 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3537 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3538 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3539 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3540 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3541 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3542 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3544 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3545 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3546 { (exit 1); exit 1; }; };;
3547 esac
3548 done
3551 # If the user did not use the arguments to specify the items to instantiate,
3552 # then the envvar interface is used. Set only those that are not.
3553 # We use the long form for the default assignment because of an extremely
3554 # bizarre bug on SunOS 4.1.3.
3555 if $ac_need_defaults; then
3556 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3557 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3560 # Have a temporary directory for convenience. Make it in the build tree
3561 # simply because there is no reason against having it here, and in addition,
3562 # creating and moving files from /tmp can sometimes cause problems.
3563 # Hook for its removal unless debugging.
3564 # Note that there is a small window in which the directory will not be cleaned:
3565 # after its creation but before its name has been assigned to `$tmp'.
3566 $debug ||
3568 tmp=
3569 trap 'exit_status=$?
3570 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3572 trap '{ (exit 1); exit 1; }' 1 2 13 15
3574 # Create a (secure) tmp directory for tmp files.
3577 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3578 test -n "$tmp" && test -d "$tmp"
3579 } ||
3581 tmp=./conf$$-$RANDOM
3582 (umask 077 && mkdir "$tmp")
3583 } ||
3585 $as_echo "$me: cannot create a temporary directory in ." >&2
3586 { (exit 1); exit 1; }
3589 # Set up the scripts for CONFIG_FILES section.
3590 # No need to generate them if there are no CONFIG_FILES.
3591 # This happens for instance with `./config.status config.h'.
3592 if test -n "$CONFIG_FILES"; then
3595 echo 'BEGIN {' >"$tmp/subs.awk"
3596 _ACEOF
3600 echo "cat >conf$$subs.awk <<_ACEOF"
3601 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3602 echo "_ACEOF"
3603 } >conf$$subs.sh
3604 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3605 ac_delim='%!_!# '
3606 for ac_last_try in false false false false false :; do
3607 . ./conf$$subs.sh
3609 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3610 break
3611 elif $ac_last_try; then
3612 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3613 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3614 { (exit 1); exit 1; }; }
3615 else
3616 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3618 done
3619 rm -f conf$$subs.sh
3621 cat >>$CONFIG_STATUS <<_ACEOF
3622 cat >>"\$tmp/subs.awk" <<\CEOF
3623 _ACEOF
3624 sed -n '
3626 s/^/S["/; s/!.*/"]=/
3629 s/^[^!]*!//
3630 :repl
3631 t repl
3632 s/'"$ac_delim"'$//
3633 t delim
3636 s/\(.\{148\}\).*/\1/
3637 t more1
3638 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3641 b repl
3642 :more1
3643 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3646 s/.\{148\}//
3647 t nl
3648 :delim
3650 s/\(.\{148\}\).*/\1/
3651 t more2
3652 s/["\\]/\\&/g; s/^/"/; s/$/"/
3655 :more2
3656 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3659 s/.\{148\}//
3660 t delim
3661 ' <conf$$subs.awk | sed '
3662 /^[^"]/{
3664 s/\n//
3666 ' >>$CONFIG_STATUS
3667 rm -f conf$$subs.awk
3668 cat >>$CONFIG_STATUS <<_ACEOF
3669 CEOF
3670 cat >>"\$tmp/subs.awk" <<CEOF
3671 for (key in S) S_is_set[key] = 1
3672 FS = "\a"
3676 line = $ 0
3677 nfields = split(line, field, "@")
3678 substed = 0
3679 len = length(field[1])
3680 for (i = 2; i < nfields; i++) {
3681 key = field[i]
3682 keylen = length(key)
3683 if (S_is_set[key]) {
3684 value = S[key]
3685 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3686 len += length(value) + length(field[++i])
3687 substed = 1
3688 } else
3689 len += 1 + keylen
3692 print line
3695 CEOF
3696 _ACEOF
3698 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3699 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3700 # trailing colons and then remove the whole line if VPATH becomes empty
3701 # (actually we leave an empty line to preserve line numbers).
3702 if test "x$srcdir" = x.; then
3703 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3704 s/:*\$(srcdir):*/:/
3705 s/:*\${srcdir}:*/:/
3706 s/:*@srcdir@:*/:/
3707 s/^\([^=]*=[ ]*\):*/\1/
3708 s/:*$//
3709 s/^[^=]*=[ ]*$//
3713 cat >>$CONFIG_STATUS <<\_ACEOF
3714 fi # test -n "$CONFIG_FILES"
3717 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3719 case $ac_tag in
3720 :[FHLC]) ac_mode=$ac_tag; continue;;
3721 esac
3722 case $ac_mode$ac_tag in
3723 :[FHL]*:*);;
3724 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3725 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3726 { (exit 1); exit 1; }; };;
3727 :[FH]-) ac_tag=-:-;;
3728 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3729 esac
3730 ac_save_IFS=$IFS
3731 IFS=:
3732 set x $ac_tag
3733 IFS=$ac_save_IFS
3734 shift
3735 ac_file=$1
3736 shift
3738 case $ac_mode in
3739 :L) ac_source=$1;;
3740 :[FH])
3741 ac_file_inputs=
3742 for ac_f
3744 case $ac_f in
3745 -) ac_f="$tmp/stdin";;
3746 *) # Look for the file first in the build tree, then in the source tree
3747 # (if the path is not absolute). The absolute path cannot be DOS-style,
3748 # because $ac_f cannot contain `:'.
3749 test -f "$ac_f" ||
3750 case $ac_f in
3751 [\\/$]*) false;;
3752 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3753 esac ||
3754 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3755 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3756 { (exit 1); exit 1; }; };;
3757 esac
3758 ac_file_inputs="$ac_file_inputs $ac_f"
3759 done
3761 # Let's still pretend it is `configure' which instantiates (i.e., don't
3762 # use $as_me), people would be surprised to read:
3763 # /* config.h. Generated by config.status. */
3764 configure_input='Generated from '`
3765 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3766 `' by configure.'
3767 if test x"$ac_file" != x-; then
3768 configure_input="$ac_file. $configure_input"
3769 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3770 $as_echo "$as_me: creating $ac_file" >&6;}
3773 case $ac_tag in
3774 *:-:* | *:-) cat >"$tmp/stdin";;
3775 esac
3777 esac
3779 ac_dir=`$as_dirname -- "$ac_file" ||
3780 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3781 X"$ac_file" : 'X\(//\)[^/]' \| \
3782 X"$ac_file" : 'X\(//\)$' \| \
3783 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3784 $as_echo X"$ac_file" |
3785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3786 s//\1/
3789 /^X\(\/\/\)[^/].*/{
3790 s//\1/
3793 /^X\(\/\/\)$/{
3794 s//\1/
3797 /^X\(\/\).*/{
3798 s//\1/
3801 s/.*/./; q'`
3802 { as_dir="$ac_dir"
3803 case $as_dir in #(
3804 -*) as_dir=./$as_dir;;
3805 esac
3806 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3807 as_dirs=
3808 while :; do
3809 case $as_dir in #(
3810 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3811 *) as_qdir=$as_dir;;
3812 esac
3813 as_dirs="'$as_qdir' $as_dirs"
3814 as_dir=`$as_dirname -- "$as_dir" ||
3815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3816 X"$as_dir" : 'X\(//\)[^/]' \| \
3817 X"$as_dir" : 'X\(//\)$' \| \
3818 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3819 $as_echo X"$as_dir" |
3820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3821 s//\1/
3824 /^X\(\/\/\)[^/].*/{
3825 s//\1/
3828 /^X\(\/\/\)$/{
3829 s//\1/
3832 /^X\(\/\).*/{
3833 s//\1/
3836 s/.*/./; q'`
3837 test -d "$as_dir" && break
3838 done
3839 test -z "$as_dirs" || eval "mkdir $as_dirs"
3840 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3841 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3842 { (exit 1); exit 1; }; }; }
3843 ac_builddir=.
3845 case "$ac_dir" in
3846 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3848 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3849 # A ".." for each directory in $ac_dir_suffix.
3850 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3851 case $ac_top_builddir_sub in
3852 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3853 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3854 esac ;;
3855 esac
3856 ac_abs_top_builddir=$ac_pwd
3857 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3858 # for backward compatibility:
3859 ac_top_builddir=$ac_top_build_prefix
3861 case $srcdir in
3862 .) # We are building in place.
3863 ac_srcdir=.
3864 ac_top_srcdir=$ac_top_builddir_sub
3865 ac_abs_top_srcdir=$ac_pwd ;;
3866 [\\/]* | ?:[\\/]* ) # Absolute name.
3867 ac_srcdir=$srcdir$ac_dir_suffix;
3868 ac_top_srcdir=$srcdir
3869 ac_abs_top_srcdir=$srcdir ;;
3870 *) # Relative name.
3871 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3872 ac_top_srcdir=$ac_top_build_prefix$srcdir
3873 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3874 esac
3875 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3878 case $ac_mode in
3881 # CONFIG_FILE
3884 case $INSTALL in
3885 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3886 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3887 esac
3888 ac_MKDIR_P=$MKDIR_P
3889 case $MKDIR_P in
3890 [\\/$]* | ?:[\\/]* ) ;;
3891 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3892 esac
3893 _ACEOF
3895 cat >>$CONFIG_STATUS <<\_ACEOF
3896 # If the template does not know about datarootdir, expand it.
3897 # FIXME: This hack should be removed a few years after 2.60.
3898 ac_datarootdir_hack=; ac_datarootdir_seen=
3900 case `sed -n '/datarootdir/ {
3904 /@datadir@/p
3905 /@docdir@/p
3906 /@infodir@/p
3907 /@localedir@/p
3908 /@mandir@/p
3909 ' $ac_file_inputs` in
3910 *datarootdir*) ac_datarootdir_seen=yes;;
3911 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3912 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3913 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3914 _ACEOF
3915 cat >>$CONFIG_STATUS <<_ACEOF
3916 ac_datarootdir_hack='
3917 s&@datadir@&$datadir&g
3918 s&@docdir@&$docdir&g
3919 s&@infodir@&$infodir&g
3920 s&@localedir@&$localedir&g
3921 s&@mandir@&$mandir&g
3922 s&\\\${datarootdir}&$datarootdir&g' ;;
3923 esac
3924 _ACEOF
3926 # Neutralize VPATH when `$srcdir' = `.'.
3927 # Shell code in configure.ac might set extrasub.
3928 # FIXME: do we really want to maintain this feature?
3929 cat >>$CONFIG_STATUS <<_ACEOF
3930 sed "$ac_vpsub
3931 $extrasub
3932 _ACEOF
3933 cat >>$CONFIG_STATUS <<\_ACEOF
3935 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3936 s&@configure_input@&$configure_input&;t t
3937 s&@top_builddir@&$ac_top_builddir_sub&;t t
3938 s&@srcdir@&$ac_srcdir&;t t
3939 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3940 s&@top_srcdir@&$ac_top_srcdir&;t t
3941 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3942 s&@builddir@&$ac_builddir&;t t
3943 s&@abs_builddir@&$ac_abs_builddir&;t t
3944 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3945 s&@INSTALL@&$ac_INSTALL&;t t
3946 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3947 $ac_datarootdir_hack
3948 " $ac_file_inputs | $AWK -f "$tmp/subs.awk" >$tmp/out
3950 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3951 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3952 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3953 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3954 which seems to be undefined. Please make sure it is defined." >&5
3955 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3956 which seems to be undefined. Please make sure it is defined." >&2;}
3958 rm -f "$tmp/stdin"
3959 case $ac_file in
3960 -) cat "$tmp/out"; rm -f "$tmp/out";;
3961 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3962 esac
3966 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3967 $as_echo "$as_me: executing $ac_file commands" >&6;}
3969 esac
3972 case $ac_file$ac_mode in
3973 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3974 # Configurable variable values for building test suites.
3975 # Generated by $0.
3976 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3978 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3979 at_testdir='tests'
3980 abs_builddir='$ac_abs_builddir'
3981 at_srcdir='$ac_srcdir'
3982 abs_srcdir='$ac_abs_srcdir'
3983 at_top_srcdir='$ac_top_srcdir'
3984 abs_top_srcdir='$ac_abs_top_srcdir'
3985 at_top_build_prefix='$ac_top_build_prefix'
3986 abs_top_builddir='$ac_abs_top_builddir'
3988 # Backward compatibility with Autotest <= 2.59b:
3989 at_top_builddir=\$at_top_build_prefix
3991 AUTOTEST_PATH='tests'
3993 SHELL=\${CONFIG_SHELL-'$SHELL'}
3994 ATEOF
3997 esac
3998 done # for ac_tag
4001 { (exit 0); exit 0; }
4002 _ACEOF
4003 chmod +x $CONFIG_STATUS
4004 ac_clean_files=$ac_clean_files_save
4007 # configure is writing to config.log, and then calls config.status.
4008 # config.status does its own redirection, appending to config.log.
4009 # Unfortunately, on DOS this fails, as config.log is still kept open
4010 # by configure, so config.status won't be able to write to it; its
4011 # output is simply discarded. So we exec the FD to /dev/null,
4012 # effectively closing config.log, so it can be properly (re)opened and
4013 # appended to by config.status. When coming back to configure, we
4014 # need to make the FD available again.
4015 if test "$no_create" != yes; then
4016 ac_cs_success=:
4017 ac_config_status_args=
4018 test "$silent" = yes &&
4019 ac_config_status_args="$ac_config_status_args --quiet"
4020 exec 5>/dev/null
4021 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4022 exec 5>>config.log
4023 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4024 # would make configure fail if this is the last instruction.
4025 $ac_cs_success || { (exit 1); exit 1; }
4027 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4028 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4029 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4032 # Report the state of this version of Autoconf if this is a beta.
4033 cat <<EOF
4035 You are about to use an experimental version of Autoconf. Be sure to
4036 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4038 Below you will find information on the status of this version of Autoconf.
4042 sed -n '/^\* Status/,$p' $srcdir/BUGS