* bin/autoconf.as: Update --version output to match current GCS.
[autoconf.git] / configure
blobc5a4b753dcc1a7cb6c7d1e01197c1253eae89ee1
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, 2007 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
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;."; FPATH=$PATH; 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 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
276 # is contrary to our usage. Disable this feature.
277 alias -g '${1+"$@"}'='"$@"'
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 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
297 # is contrary to our usage. Disable this feature.
298 alias -g '${1+"$@"}'='"$@"'
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 bug-autoconf@gnu.org about your system,
449 echo including any error possibly output before this message.
450 echo This can help us improve future autoconf versions.
451 echo Configuration will now proceed without shell functions.
456 as_lineno_1=$LINENO
457 as_lineno_2=$LINENO
458 test "x$as_lineno_1" != "x$as_lineno_2" &&
459 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
461 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
462 # uniformly replaced by the line number. The first 'sed' inserts a
463 # line-number line after each line using $LINENO; the second 'sed'
464 # does the real work. The second script uses 'N' to pair each
465 # line-number line with the line containing $LINENO, and appends
466 # trailing '-' during substitution so that $LINENO is not a special
467 # case at line end.
468 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
469 # scripts with optimization help from Paolo Bonzini. Blame Lee
470 # E. McMahon (1931-1989) for sed's syntax. :-)
471 sed -n '
473 /[$]LINENO/=
474 ' <$as_myself |
475 sed '
476 s/[$]LINENO.*/&-/
477 t lineno
479 :lineno
481 :loop
482 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
483 t loop
484 s/-\n.*//
485 ' >$as_me.lineno &&
486 chmod +x "$as_me.lineno" ||
487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
488 { (exit 1); exit 1; }; }
490 # Don't try to exec as it changes $[0], causing all sort of problems
491 # (the dirname of $[0] is not the place where we might find the
492 # original and so on. Autoconf is especially sensitive to this).
493 . "./$as_me.lineno"
494 # Exit status is that of the last command.
495 exit
499 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
500 as_dirname=dirname
501 else
502 as_dirname=false
505 ECHO_C= ECHO_N= ECHO_T=
506 case `echo -n x` in
507 -n*)
508 case `echo 'x\c'` in
509 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
510 *) ECHO_C='\c';;
511 esac;;
513 ECHO_N='-n';;
514 esac
515 if expr a : '\(a\)' >/dev/null 2>&1 &&
516 test "X`expr 00001 : '.*\(...\)'`" = X001; then
517 as_expr=expr
518 else
519 as_expr=false
522 rm -f conf$$ conf$$.exe conf$$.file
523 if test -d conf$$.dir; then
524 rm -f conf$$.dir/conf$$.file
525 else
526 rm -f conf$$.dir
527 mkdir conf$$.dir
529 echo >conf$$.file
530 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 as_ln_s='ln -s'
532 # ... but there are two gotchas:
533 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
534 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
535 # In both cases, we have to default to `cp -p'.
536 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 as_ln_s='cp -p'
538 elif ln conf$$.file conf$$ 2>/dev/null; then
539 as_ln_s=ln
540 else
541 as_ln_s='cp -p'
543 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
544 rmdir conf$$.dir 2>/dev/null
546 if mkdir -p . 2>/dev/null; then
547 as_mkdir_p=:
548 else
549 test -d ./-p && rmdir ./-p
550 as_mkdir_p=false
553 if test -x / >/dev/null 2>&1; then
554 as_test_x='test -x'
555 else
556 if ls -dL / >/dev/null 2>&1; then
557 as_ls_L_option=L
558 else
559 as_ls_L_option=
561 as_test_x='
562 eval sh -c '\''
563 if test -d "$1"; then
564 test -d "$1/.";
565 else
566 case $1 in
567 -*)set "./$1";;
568 esac;
569 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
570 ???[sx]*):;;*)false;;esac;fi
571 '\'' sh
574 as_executable_p=$as_test_x
576 # Sed expression to map a string onto a valid CPP name.
577 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
579 # Sed expression to map a string onto a valid variable name.
580 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
584 exec 7<&0 </dev/null 6>&1
586 # Name of the host.
587 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
588 # so uname gets run too.
589 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
592 # Initializations.
594 ac_default_prefix=/usr/local
595 ac_clean_files=
596 ac_config_libobj_dir=.
597 LIBOBJS=
598 cross_compiling=no
599 subdirs=
600 MFLAGS=
601 MAKEFLAGS=
602 SHELL=${CONFIG_SHELL-/bin/sh}
604 # Identity of this package.
605 PACKAGE_NAME='GNU Autoconf'
606 PACKAGE_TARNAME='autoconf'
607 PACKAGE_VERSION='2.61b'
608 PACKAGE_STRING='GNU Autoconf 2.61b'
609 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
611 ac_unique_file="ChangeLog"
612 ac_subst_vars='SHELL
613 PATH_SEPARATOR
614 PACKAGE_NAME
615 PACKAGE_TARNAME
616 PACKAGE_VERSION
617 PACKAGE_STRING
618 PACKAGE_BUGREPORT
619 exec_prefix
620 prefix
621 program_transform_name
622 bindir
623 sbindir
624 libexecdir
625 datarootdir
626 datadir
627 sysconfdir
628 sharedstatedir
629 localstatedir
630 includedir
631 oldincludedir
632 docdir
633 infodir
634 htmldir
635 dvidir
636 pdfdir
637 psdir
638 libdir
639 localedir
640 mandir
641 DEFS
642 ECHO_C
643 ECHO_N
644 ECHO_T
645 LIBS
646 build_alias
647 host_alias
648 target_alias
649 INSTALL_PROGRAM
650 INSTALL_SCRIPT
651 INSTALL_DATA
652 am__isrc
653 CYGPATH_W
654 PACKAGE
655 VERSION
656 ACLOCAL
657 AUTOCONF
658 AUTOMAKE
659 AUTOHEADER
660 MAKEINFO
661 install_sh
662 STRIP
663 INSTALL_STRIP_PROGRAM
664 MKDIR_P
665 mkdir_p
667 SET_MAKE
668 am__leading_dot
669 AMTAR
670 am__tar
671 am__untar
672 ac_cv_sh_n_works
673 EXPR
675 M4_DEBUGFILE
676 HELP2MAN
677 PERL
678 TEST_EMACS
679 EMACS
680 EMACSLOADPATH
681 lispdir
682 GREP
683 EGREP
685 LIBOBJS
686 LTLIBOBJS'
687 ac_subst_files=''
688 ac_user_opts='
689 enable_option_checking
690 with_lispdir
692 ac_precious_vars='build_alias
693 host_alias
694 target_alias
695 EMACS
696 EMACSLOADPATH'
699 # Initialize some variables set by options.
700 ac_init_help=
701 ac_init_version=false
702 ac_unrecognized_opts=
703 ac_unrecognized_sep=
704 # The variables have the same names as the options, with
705 # dashes changed to underlines.
706 cache_file=/dev/null
707 exec_prefix=NONE
708 no_create=
709 no_recursion=
710 prefix=NONE
711 program_prefix=NONE
712 program_suffix=NONE
713 program_transform_name=s,x,x,
714 silent=
715 site=
716 srcdir=
717 verbose=
718 x_includes=NONE
719 x_libraries=NONE
721 # Installation directory options.
722 # These are left unexpanded so users can "make install exec_prefix=/foo"
723 # and all the variables that are supposed to be based on exec_prefix
724 # by default will actually change.
725 # Use braces instead of parens because sh, perl, etc. also accept them.
726 # (The list follows the same order as the GNU Coding Standards.)
727 bindir='${exec_prefix}/bin'
728 sbindir='${exec_prefix}/sbin'
729 libexecdir='${exec_prefix}/libexec'
730 datarootdir='${prefix}/share'
731 datadir='${datarootdir}'
732 sysconfdir='${prefix}/etc'
733 sharedstatedir='${prefix}/com'
734 localstatedir='${prefix}/var'
735 includedir='${prefix}/include'
736 oldincludedir='/usr/include'
737 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
738 infodir='${datarootdir}/info'
739 htmldir='${docdir}'
740 dvidir='${docdir}'
741 pdfdir='${docdir}'
742 psdir='${docdir}'
743 libdir='${exec_prefix}/lib'
744 localedir='${datarootdir}/locale'
745 mandir='${datarootdir}/man'
747 ac_prev=
748 ac_dashdash=
749 for ac_option
751 # If the previous option needs an argument, assign it.
752 if test -n "$ac_prev"; then
753 eval $ac_prev=\$ac_option
754 ac_prev=
755 continue
758 case $ac_option in
759 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
760 *) ac_optarg=yes ;;
761 esac
763 # Accept the important Cygnus configure options, so we can diagnose typos.
765 case $ac_dashdash$ac_option in
767 ac_dashdash=yes ;;
769 -bindir | --bindir | --bindi | --bind | --bin | --bi)
770 ac_prev=bindir ;;
771 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
772 bindir=$ac_optarg ;;
774 -build | --build | --buil | --bui | --bu)
775 ac_prev=build_alias ;;
776 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
777 build_alias=$ac_optarg ;;
779 -cache-file | --cache-file | --cache-fil | --cache-fi \
780 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
781 ac_prev=cache_file ;;
782 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
783 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
784 cache_file=$ac_optarg ;;
786 --config-cache | -C)
787 cache_file=config.cache ;;
789 -datadir | --datadir | --datadi | --datad)
790 ac_prev=datadir ;;
791 -datadir=* | --datadir=* | --datadi=* | --datad=*)
792 datadir=$ac_optarg ;;
794 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
795 | --dataroo | --dataro | --datar)
796 ac_prev=datarootdir ;;
797 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
798 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
799 datarootdir=$ac_optarg ;;
801 -disable-* | --disable-*)
802 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
803 # Reject names that are not valid shell variable names.
804 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
805 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
806 { (exit 1); exit 1; }; }
807 ac_useropt_orig=$ac_useropt
808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
809 case $ac_user_opts in
811 "enable_$ac_useropt"
812 "*) ;;
813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
814 ac_unrecognized_sep=', ';;
815 esac
816 eval enable_$ac_useropt=no ;;
818 -docdir | --docdir | --docdi | --doc | --do)
819 ac_prev=docdir ;;
820 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
821 docdir=$ac_optarg ;;
823 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
824 ac_prev=dvidir ;;
825 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
826 dvidir=$ac_optarg ;;
828 -enable-* | --enable-*)
829 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
832 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
833 { (exit 1); exit 1; }; }
834 ac_useropt_orig=$ac_useropt
835 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
836 case $ac_user_opts in
838 "enable_$ac_useropt"
839 "*) ;;
840 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
841 ac_unrecognized_sep=', ';;
842 esac
843 eval enable_$ac_useropt=\$ac_optarg ;;
845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
846 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
847 | --exec | --exe | --ex)
848 ac_prev=exec_prefix ;;
849 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
850 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
851 | --exec=* | --exe=* | --ex=*)
852 exec_prefix=$ac_optarg ;;
854 -gas | --gas | --ga | --g)
855 # Obsolete; use --with-gas.
856 with_gas=yes ;;
858 -help | --help | --hel | --he | -h)
859 ac_init_help=long ;;
860 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
861 ac_init_help=recursive ;;
862 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
863 ac_init_help=short ;;
865 -host | --host | --hos | --ho)
866 ac_prev=host_alias ;;
867 -host=* | --host=* | --hos=* | --ho=*)
868 host_alias=$ac_optarg ;;
870 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
871 ac_prev=htmldir ;;
872 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
873 | --ht=*)
874 htmldir=$ac_optarg ;;
876 -includedir | --includedir | --includedi | --included | --include \
877 | --includ | --inclu | --incl | --inc)
878 ac_prev=includedir ;;
879 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
880 | --includ=* | --inclu=* | --incl=* | --inc=*)
881 includedir=$ac_optarg ;;
883 -infodir | --infodir | --infodi | --infod | --info | --inf)
884 ac_prev=infodir ;;
885 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
886 infodir=$ac_optarg ;;
888 -libdir | --libdir | --libdi | --libd)
889 ac_prev=libdir ;;
890 -libdir=* | --libdir=* | --libdi=* | --libd=*)
891 libdir=$ac_optarg ;;
893 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
894 | --libexe | --libex | --libe)
895 ac_prev=libexecdir ;;
896 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
897 | --libexe=* | --libex=* | --libe=*)
898 libexecdir=$ac_optarg ;;
900 -localedir | --localedir | --localedi | --localed | --locale)
901 ac_prev=localedir ;;
902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
903 localedir=$ac_optarg ;;
905 -localstatedir | --localstatedir | --localstatedi | --localstated \
906 | --localstate | --localstat | --localsta | --localst | --locals)
907 ac_prev=localstatedir ;;
908 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
909 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
910 localstatedir=$ac_optarg ;;
912 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
913 ac_prev=mandir ;;
914 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
915 mandir=$ac_optarg ;;
917 -nfp | --nfp | --nf)
918 # Obsolete; use --without-fp.
919 with_fp=no ;;
921 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
922 | --no-cr | --no-c | -n)
923 no_create=yes ;;
925 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
926 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
927 no_recursion=yes ;;
929 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
930 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
931 | --oldin | --oldi | --old | --ol | --o)
932 ac_prev=oldincludedir ;;
933 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
934 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
935 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
936 oldincludedir=$ac_optarg ;;
938 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
939 ac_prev=prefix ;;
940 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
941 prefix=$ac_optarg ;;
943 -program-prefix | --program-prefix | --program-prefi | --program-pref \
944 | --program-pre | --program-pr | --program-p)
945 ac_prev=program_prefix ;;
946 -program-prefix=* | --program-prefix=* | --program-prefi=* \
947 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
948 program_prefix=$ac_optarg ;;
950 -program-suffix | --program-suffix | --program-suffi | --program-suff \
951 | --program-suf | --program-su | --program-s)
952 ac_prev=program_suffix ;;
953 -program-suffix=* | --program-suffix=* | --program-suffi=* \
954 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
955 program_suffix=$ac_optarg ;;
957 -program-transform-name | --program-transform-name \
958 | --program-transform-nam | --program-transform-na \
959 | --program-transform-n | --program-transform- \
960 | --program-transform | --program-transfor \
961 | --program-transfo | --program-transf \
962 | --program-trans | --program-tran \
963 | --progr-tra | --program-tr | --program-t)
964 ac_prev=program_transform_name ;;
965 -program-transform-name=* | --program-transform-name=* \
966 | --program-transform-nam=* | --program-transform-na=* \
967 | --program-transform-n=* | --program-transform-=* \
968 | --program-transform=* | --program-transfor=* \
969 | --program-transfo=* | --program-transf=* \
970 | --program-trans=* | --program-tran=* \
971 | --progr-tra=* | --program-tr=* | --program-t=*)
972 program_transform_name=$ac_optarg ;;
974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
975 ac_prev=pdfdir ;;
976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
977 pdfdir=$ac_optarg ;;
979 -psdir | --psdir | --psdi | --psd | --ps)
980 ac_prev=psdir ;;
981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
982 psdir=$ac_optarg ;;
984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
985 | -silent | --silent | --silen | --sile | --sil)
986 silent=yes ;;
988 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
989 ac_prev=sbindir ;;
990 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
991 | --sbi=* | --sb=*)
992 sbindir=$ac_optarg ;;
994 -sharedstatedir | --sharedstatedir | --sharedstatedi \
995 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
996 | --sharedst | --shareds | --shared | --share | --shar \
997 | --sha | --sh)
998 ac_prev=sharedstatedir ;;
999 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1000 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1001 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1002 | --sha=* | --sh=*)
1003 sharedstatedir=$ac_optarg ;;
1005 -site | --site | --sit)
1006 ac_prev=site ;;
1007 -site=* | --site=* | --sit=*)
1008 site=$ac_optarg ;;
1010 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1011 ac_prev=srcdir ;;
1012 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1013 srcdir=$ac_optarg ;;
1015 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1016 | --syscon | --sysco | --sysc | --sys | --sy)
1017 ac_prev=sysconfdir ;;
1018 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1019 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1020 sysconfdir=$ac_optarg ;;
1022 -target | --target | --targe | --targ | --tar | --ta | --t)
1023 ac_prev=target_alias ;;
1024 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1025 target_alias=$ac_optarg ;;
1027 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1028 verbose=yes ;;
1030 -version | --version | --versio | --versi | --vers | -V)
1031 ac_init_version=: ;;
1033 -with-* | --with-*)
1034 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1037 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1038 { (exit 1); exit 1; }; }
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1041 case $ac_user_opts in
1043 "with_$ac_useropt"
1044 "*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval with_$ac_useropt=\$ac_optarg ;;
1050 -without-* | --without-*)
1051 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1054 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1055 { (exit 1); exit 1; }; }
1056 ac_useropt_orig=$ac_useropt
1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1058 case $ac_user_opts in
1060 "with_$ac_useropt"
1061 "*) ;;
1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1063 ac_unrecognized_sep=', ';;
1064 esac
1065 eval with_$ac_useropt=no ;;
1067 --x)
1068 # Obsolete; use --with-x.
1069 with_x=yes ;;
1071 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1072 | --x-incl | --x-inc | --x-in | --x-i)
1073 ac_prev=x_includes ;;
1074 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1075 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1076 x_includes=$ac_optarg ;;
1078 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1079 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1080 ac_prev=x_libraries ;;
1081 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1082 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1083 x_libraries=$ac_optarg ;;
1085 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
1090 *=*)
1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1094 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1095 { (exit 1); exit 1; }; }
1096 eval $ac_envvar=\$ac_optarg
1097 export $ac_envvar ;;
1100 # FIXME: should be removed in autoconf 3.0.
1101 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1107 esac
1108 done
1110 if test -n "$ac_prev"; then
1111 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1112 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1113 { (exit 1); exit 1; }; }
1116 if test -n "$ac_unrecognized_opts"; then
1117 case $enable_option_checking in
1118 no) ;;
1119 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1120 { (exit 1); exit 1; }; } ;;
1121 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1122 esac
1125 # Be sure to have absolute directory names.
1126 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1127 datadir sysconfdir sharedstatedir localstatedir includedir \
1128 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1129 libdir localedir mandir
1131 eval ac_val=\$$ac_var
1132 case $ac_val in
1133 [\\/$]* | ?:[\\/]* ) continue;;
1134 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1135 esac
1136 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1137 { (exit 1); exit 1; }; }
1138 done
1140 # There might be people who depend on the old broken behavior: `$host'
1141 # used to hold the argument of --host etc.
1142 # FIXME: To remove some day.
1143 build=$build_alias
1144 host=$host_alias
1145 target=$target_alias
1147 # FIXME: To remove some day.
1148 if test "x$host_alias" != x; then
1149 if test "x$build_alias" = x; then
1150 cross_compiling=maybe
1151 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1152 If a cross compiler is detected then cross compile mode will be used." >&2
1153 elif test "x$build_alias" != "x$host_alias"; then
1154 cross_compiling=yes
1158 ac_tool_prefix=
1159 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1161 test "$silent" = yes && exec 6>/dev/null
1164 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1165 ac_ls_di=`ls -di .` &&
1166 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1167 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1168 { (exit 1); exit 1; }; }
1169 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1171 { (exit 1); exit 1; }; }
1174 # Find the source files, if location was not specified.
1175 if test -z "$srcdir"; then
1176 ac_srcdir_defaulted=yes
1177 # Try the directory containing this script, then the parent directory.
1178 ac_confdir=`$as_dirname -- "$0" ||
1179 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1180 X"$0" : 'X\(//\)[^/]' \| \
1181 X"$0" : 'X\(//\)$' \| \
1182 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1183 $as_echo X"$0" |
1184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1185 s//\1/
1188 /^X\(\/\/\)[^/].*/{
1189 s//\1/
1192 /^X\(\/\/\)$/{
1193 s//\1/
1196 /^X\(\/\).*/{
1197 s//\1/
1200 s/.*/./; q'`
1201 srcdir=$ac_confdir
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1203 srcdir=..
1205 else
1206 ac_srcdir_defaulted=no
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1209 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1210 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1211 { (exit 1); exit 1; }; }
1213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 ac_abs_confdir=`(
1215 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1216 { (exit 1); exit 1; }; }
1217 pwd)`
1218 # When building in place, set srcdir=.
1219 if test "$ac_abs_confdir" = "$ac_pwd"; then
1220 srcdir=.
1222 # Remove unnecessary trailing slashes from srcdir.
1223 # Double slashes in file names in object file debugging info
1224 # mess up M-x gdb in Emacs.
1225 case $srcdir in
1226 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227 esac
1228 for ac_var in $ac_precious_vars; do
1229 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1230 eval ac_env_${ac_var}_value=\$${ac_var}
1231 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1233 done
1236 # Report the --help message.
1238 if test "$ac_init_help" = "long"; then
1239 # Omit some internal or obsolete options to make the list less imposing.
1240 # This message is too long to be a string in the A/UX 3.1 sh.
1241 cat <<_ACEOF
1242 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1244 Usage: $0 [OPTION]... [VAR=VALUE]...
1246 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1247 VAR=VALUE. See below for descriptions of some of the useful variables.
1249 Defaults for the options are specified in brackets.
1251 Configuration:
1252 -h, --help display this help and exit
1253 --help=short display options specific to this package
1254 --help=recursive display the short help of all the included packages
1255 -V, --version display version information and exit
1256 -q, --quiet, --silent do not print \`checking...' messages
1257 --cache-file=FILE cache test results in FILE [disabled]
1258 -C, --config-cache alias for \`--cache-file=config.cache'
1259 -n, --no-create do not create output files
1260 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1262 Installation directories:
1263 --prefix=PREFIX install architecture-independent files in PREFIX
1264 [$ac_default_prefix]
1265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1266 [PREFIX]
1268 By default, \`make install' will install all the files in
1269 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1270 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1271 for instance \`--prefix=\$HOME'.
1273 For better control, use the options below.
1275 Fine tuning of the installation directories:
1276 --bindir=DIR user executables [EPREFIX/bin]
1277 --sbindir=DIR system admin executables [EPREFIX/sbin]
1278 --libexecdir=DIR program executables [EPREFIX/libexec]
1279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1281 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1282 --libdir=DIR object code libraries [EPREFIX/lib]
1283 --includedir=DIR C header files [PREFIX/include]
1284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1287 --infodir=DIR info documentation [DATAROOTDIR/info]
1288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1289 --mandir=DIR man documentation [DATAROOTDIR/man]
1290 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1291 --htmldir=DIR html documentation [DOCDIR]
1292 --dvidir=DIR dvi documentation [DOCDIR]
1293 --pdfdir=DIR pdf documentation [DOCDIR]
1294 --psdir=DIR ps documentation [DOCDIR]
1295 _ACEOF
1297 cat <<\_ACEOF
1299 Program names:
1300 --program-prefix=PREFIX prepend PREFIX to installed program names
1301 --program-suffix=SUFFIX append SUFFIX to installed program names
1302 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1303 _ACEOF
1306 if test -n "$ac_init_help"; then
1307 case $ac_init_help in
1308 short | recursive ) echo "Configuration of GNU Autoconf 2.61b:";;
1309 esac
1310 cat <<\_ACEOF
1312 Optional Packages:
1313 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1314 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1315 --with-lispdir override the default lisp directory
1317 Some influential environment variables:
1318 EMACS the Emacs editor command
1319 EMACSLOADPATH
1320 the Emacs library search path
1322 Use these variables to override the choices made by `configure' or to help
1323 it to find libraries and programs with nonstandard names/locations.
1325 Report bugs to <bug-autoconf@gnu.org>.
1326 _ACEOF
1327 ac_status=$?
1330 if test "$ac_init_help" = "recursive"; then
1331 # If there are subdirs, report their specific --help.
1332 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1333 test -d "$ac_dir" || continue
1334 ac_builddir=.
1336 case "$ac_dir" in
1337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
1340 # A ".." for each directory in $ac_dir_suffix.
1341 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1342 case $ac_top_builddir_sub in
1343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345 esac ;;
1346 esac
1347 ac_abs_top_builddir=$ac_pwd
1348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1349 # for backward compatibility:
1350 ac_top_builddir=$ac_top_build_prefix
1352 case $srcdir in
1353 .) # We are building in place.
1354 ac_srcdir=.
1355 ac_top_srcdir=$ac_top_builddir_sub
1356 ac_abs_top_srcdir=$ac_pwd ;;
1357 [\\/]* | ?:[\\/]* ) # Absolute name.
1358 ac_srcdir=$srcdir$ac_dir_suffix;
1359 ac_top_srcdir=$srcdir
1360 ac_abs_top_srcdir=$srcdir ;;
1361 *) # Relative name.
1362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1363 ac_top_srcdir=$ac_top_build_prefix$srcdir
1364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1365 esac
1366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1368 cd "$ac_dir" || { ac_status=$?; continue; }
1369 # Check for guested configure.
1370 if test -f "$ac_srcdir/configure.gnu"; then
1371 echo &&
1372 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1373 elif test -f "$ac_srcdir/configure"; then
1374 echo &&
1375 $SHELL "$ac_srcdir/configure" --help=recursive
1376 else
1377 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1378 fi || ac_status=$?
1379 cd "$ac_pwd" || { ac_status=$?; break; }
1380 done
1383 test -n "$ac_init_help" && exit $ac_status
1384 if $ac_init_version; then
1385 cat <<\_ACEOF
1386 GNU Autoconf configure 2.61b
1387 generated by GNU Autoconf 2.61b
1389 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1390 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
1391 This configure script is free software; the Free Software Foundation
1392 gives unlimited permission to copy, distribute and modify it.
1393 _ACEOF
1394 exit
1396 cat >config.log <<_ACEOF
1397 This file contains any messages produced by compilers while
1398 running configure, to aid debugging if configure makes a mistake.
1400 It was created by GNU Autoconf $as_me 2.61b, which was
1401 generated by GNU Autoconf 2.61b. Invocation command line was
1403 $ $0 $@
1405 _ACEOF
1406 exec 5>>config.log
1408 cat <<_ASUNAME
1409 ## --------- ##
1410 ## Platform. ##
1411 ## --------- ##
1413 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1414 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1415 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1416 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1417 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1419 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1420 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1422 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1423 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1424 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1425 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1426 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1427 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1428 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1430 _ASUNAME
1432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433 for as_dir in $PATH
1435 IFS=$as_save_IFS
1436 test -z "$as_dir" && as_dir=.
1437 $as_echo "PATH: $as_dir"
1438 done
1439 IFS=$as_save_IFS
1441 } >&5
1443 cat >&5 <<_ACEOF
1446 ## ----------- ##
1447 ## Core tests. ##
1448 ## ----------- ##
1450 _ACEOF
1453 # Keep a trace of the command line.
1454 # Strip out --no-create and --no-recursion so they do not pile up.
1455 # Strip out --silent because we don't want to record it for future runs.
1456 # Also quote any args containing shell meta-characters.
1457 # Make two passes to allow for proper duplicate-argument suppression.
1458 ac_configure_args=
1459 ac_configure_args0=
1460 ac_configure_args1=
1461 ac_must_keep_next=false
1462 for ac_pass in 1 2
1464 for ac_arg
1466 case $ac_arg in
1467 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1468 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1469 | -silent | --silent | --silen | --sile | --sil)
1470 continue ;;
1471 *\'*)
1472 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1473 esac
1474 case $ac_pass in
1475 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1477 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1478 if test $ac_must_keep_next = true; then
1479 ac_must_keep_next=false # Got value, back to normal.
1480 else
1481 case $ac_arg in
1482 *=* | --config-cache | -C | -disable-* | --disable-* \
1483 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1484 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1485 | -with-* | --with-* | -without-* | --without-* | --x)
1486 case "$ac_configure_args0 " in
1487 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1488 esac
1490 -* ) ac_must_keep_next=true ;;
1491 esac
1493 ac_configure_args="$ac_configure_args '$ac_arg'"
1495 esac
1496 done
1497 done
1498 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1499 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1501 # When interrupted or exit'd, cleanup temporary files, and complete
1502 # config.log. We remove comments because anyway the quotes in there
1503 # would cause problems or look ugly.
1504 # WARNING: Use '\'' to represent an apostrophe within the trap.
1505 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1506 trap 'exit_status=$?
1507 # Save into config.log some information that might help in debugging.
1509 echo
1511 cat <<\_ASBOX
1512 ## ---------------- ##
1513 ## Cache variables. ##
1514 ## ---------------- ##
1515 _ASBOX
1516 echo
1517 # The following way of writing the cache mishandles newlines in values,
1519 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1520 eval ac_val=\$$ac_var
1521 case $ac_val in #(
1522 *${as_nl}*)
1523 case $ac_var in #(
1524 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1525 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1526 esac
1527 case $ac_var in #(
1528 _ | IFS | as_nl) ;; #(
1529 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1530 *) $as_unset $ac_var ;;
1531 esac ;;
1532 esac
1533 done
1534 (set) 2>&1 |
1535 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1536 *${as_nl}ac_space=\ *)
1537 sed -n \
1538 "s/'\''/'\''\\\\'\'''\''/g;
1539 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1540 ;; #(
1542 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1544 esac |
1545 sort
1547 echo
1549 cat <<\_ASBOX
1550 ## ----------------- ##
1551 ## Output variables. ##
1552 ## ----------------- ##
1553 _ASBOX
1554 echo
1555 for ac_var in $ac_subst_vars
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
1565 if test -n "$ac_subst_files"; then
1566 cat <<\_ASBOX
1567 ## ------------------- ##
1568 ## File substitutions. ##
1569 ## ------------------- ##
1570 _ASBOX
1571 echo
1572 for ac_var in $ac_subst_files
1574 eval ac_val=\$$ac_var
1575 case $ac_val in
1576 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1577 esac
1578 $as_echo "$ac_var='\''$ac_val'\''"
1579 done | sort
1580 echo
1583 if test -s confdefs.h; then
1584 cat <<\_ASBOX
1585 ## ----------- ##
1586 ## confdefs.h. ##
1587 ## ----------- ##
1588 _ASBOX
1589 echo
1590 cat confdefs.h
1591 echo
1593 test "$ac_signal" != 0 &&
1594 $as_echo "$as_me: caught signal $ac_signal"
1595 $as_echo "$as_me: exit $exit_status"
1596 } >&5
1597 rm -f core *.core core.conftest.* &&
1598 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1599 exit $exit_status
1601 for ac_signal in 1 2 13 15; do
1602 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1603 done
1604 ac_signal=0
1606 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1607 rm -f -r conftest* confdefs.h
1609 # Predefined preprocessor variables.
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_NAME "$PACKAGE_NAME"
1613 _ACEOF
1616 cat >>confdefs.h <<_ACEOF
1617 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1618 _ACEOF
1621 cat >>confdefs.h <<_ACEOF
1622 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1623 _ACEOF
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE_STRING "$PACKAGE_STRING"
1628 _ACEOF
1631 cat >>confdefs.h <<_ACEOF
1632 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1633 _ACEOF
1636 # Let the site file select an alternate cache file if it wants to.
1637 # Prefer explicitly selected file to automatically selected ones.
1638 if test -n "$CONFIG_SITE"; then
1639 set x "$CONFIG_SITE"
1640 elif test "x$prefix" != xNONE; then
1641 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1642 else
1643 set x "$ac_default_prefix/share/config.site" \
1644 "$ac_default_prefix/etc/config.site"
1646 shift
1647 for ac_site_file
1649 if test -r "$ac_site_file"; then
1650 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1651 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1652 sed 's/^/| /' "$ac_site_file" >&5
1653 . "$ac_site_file"
1655 done
1657 if test -r "$cache_file"; then
1658 # Some versions of bash will fail to source /dev/null (special
1659 # files actually), so we avoid doing that.
1660 if test -f "$cache_file"; then
1661 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1662 $as_echo "$as_me: loading cache $cache_file" >&6;}
1663 case $cache_file in
1664 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1665 *) . "./$cache_file";;
1666 esac
1668 else
1669 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1670 $as_echo "$as_me: creating cache $cache_file" >&6;}
1671 >$cache_file
1674 # Check that the precious variables saved in the cache have kept the same
1675 # value.
1676 ac_cache_corrupted=false
1677 for ac_var in $ac_precious_vars; do
1678 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1679 eval ac_new_set=\$ac_env_${ac_var}_set
1680 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1681 eval ac_new_val=\$ac_env_${ac_var}_value
1682 case $ac_old_set,$ac_new_set in
1683 set,)
1684 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1685 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1686 ac_cache_corrupted=: ;;
1687 ,set)
1688 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1689 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1690 ac_cache_corrupted=: ;;
1691 ,);;
1693 if test "x$ac_old_val" != "x$ac_new_val"; then
1694 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1695 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1696 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1697 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1698 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1699 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1700 ac_cache_corrupted=:
1701 fi;;
1702 esac
1703 # Pass precious variables to config.status.
1704 if test "$ac_new_set" = set; then
1705 case $ac_new_val in
1706 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1707 *) ac_arg=$ac_var=$ac_new_val ;;
1708 esac
1709 case " $ac_configure_args " in
1710 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1711 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1712 esac
1714 done
1715 if $ac_cache_corrupted; then
1716 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1717 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1718 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1719 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1720 { (exit 1); exit 1; }; }
1747 ac_ext=c
1748 ac_cpp='$CPP $CPPFLAGS'
1749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1756 ac_aux_dir=
1757 for ac_dir in build-aux "$srcdir"/build-aux; do
1758 if test -f "$ac_dir/install-sh"; then
1759 ac_aux_dir=$ac_dir
1760 ac_install_sh="$ac_aux_dir/install-sh -c"
1761 break
1762 elif test -f "$ac_dir/install.sh"; then
1763 ac_aux_dir=$ac_dir
1764 ac_install_sh="$ac_aux_dir/install.sh -c"
1765 break
1766 elif test -f "$ac_dir/shtool"; then
1767 ac_aux_dir=$ac_dir
1768 ac_install_sh="$ac_aux_dir/shtool install -c"
1769 break
1771 done
1772 if test -z "$ac_aux_dir"; then
1773 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1774 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1775 { (exit 1); exit 1; }; }
1778 # These three variables are undocumented and unsupported,
1779 # and are intended to be withdrawn in a future Autoconf release.
1780 # They can cause serious problems if a builder's source tree is in a directory
1781 # whose full name contains unusual characters.
1782 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1783 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1784 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1788 am__api_version='1.10'
1790 # Find a good install program. We prefer a C program (faster),
1791 # so one script is as good as another. But avoid the broken or
1792 # incompatible versions:
1793 # SysV /etc/install, /usr/sbin/install
1794 # SunOS /usr/etc/install
1795 # IRIX /sbin/install
1796 # AIX /bin/install
1797 # AmigaOS /C/install, which installs bootblocks on floppy discs
1798 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1799 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1800 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1801 # OS/2's system install, which has a completely different semantic
1802 # ./install, which can be erroneously created by make from ./install.sh.
1803 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1804 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1805 if test -z "$INSTALL"; then
1806 if test "${ac_cv_path_install+set}" = set; then
1807 $as_echo_n "(cached) " >&6
1808 else
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810 for as_dir in $PATH
1812 IFS=$as_save_IFS
1813 test -z "$as_dir" && as_dir=.
1814 # Account for people who put trailing slashes in PATH elements.
1815 case $as_dir/ in
1816 ./ | .// | /cC/* | \
1817 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1818 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1819 /usr/ucb/* ) ;;
1821 # OSF1 and SCO ODT 3.0 have their own names for install.
1822 # Don't use installbsd from OSF since it installs stuff as root
1823 # by default.
1824 for ac_prog in ginstall scoinst install; do
1825 for ac_exec_ext in '' $ac_executable_extensions; do
1826 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1827 if test $ac_prog = install &&
1828 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1829 # AIX install. It has an incompatible calling convention.
1831 elif test $ac_prog = install &&
1832 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1833 # program-specific install script used by HP pwplus--don't use.
1835 else
1836 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1837 break 3
1840 done
1841 done
1843 esac
1844 done
1845 IFS=$as_save_IFS
1849 if test "${ac_cv_path_install+set}" = set; then
1850 INSTALL=$ac_cv_path_install
1851 else
1852 # As a last resort, use the slow shell script. Don't cache a
1853 # value for INSTALL within a source directory, because that will
1854 # break other packages using the cache if that directory is
1855 # removed, or if the value is a relative name.
1856 INSTALL=$ac_install_sh
1859 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1860 $as_echo "$INSTALL" >&6; }
1862 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1863 # It thinks the first close brace ends the variable substitution.
1864 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1866 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1868 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1870 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1871 $as_echo_n "checking whether build environment is sane... " >&6; }
1872 # Just in case
1873 sleep 1
1874 echo timestamp > conftest.file
1875 # Do `set' in a subshell so we don't clobber the current shell's
1876 # arguments. Must try -L first in case configure is actually a
1877 # symlink; some systems play weird games with the mod time of symlinks
1878 # (eg FreeBSD returns the mod time of the symlink's containing
1879 # directory).
1880 if (
1881 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1882 if test "$*" = "X"; then
1883 # -L didn't work.
1884 set X `ls -t $srcdir/configure conftest.file`
1886 rm -f conftest.file
1887 if test "$*" != "X $srcdir/configure conftest.file" \
1888 && test "$*" != "X conftest.file $srcdir/configure"; then
1890 # If neither matched, then we have a broken ls. This can happen
1891 # if, for instance, CONFIG_SHELL is bash and it inherits a
1892 # broken ls alias from the environment. This has actually
1893 # happened. Such a system could not be considered "sane".
1894 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1895 alias in your environment" >&5
1896 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1897 alias in your environment" >&2;}
1898 { (exit 1); exit 1; }; }
1901 test "$2" = conftest.file
1903 then
1904 # Ok.
1906 else
1907 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1908 Check your system clock" >&5
1909 $as_echo "$as_me: error: newly created file is older than distributed files!
1910 Check your system clock" >&2;}
1911 { (exit 1); exit 1; }; }
1913 { $as_echo "$as_me:$LINENO: result: yes" >&5
1914 $as_echo "yes" >&6; }
1915 test "$program_prefix" != NONE &&
1916 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1917 # Use a double $ so make ignores it.
1918 test "$program_suffix" != NONE &&
1919 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1920 # Double any \ or $.
1921 # By default was `s,x,x', remove it if useless.
1922 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1923 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1925 # expand $ac_aux_dir to an absolute path
1926 am_aux_dir=`cd $ac_aux_dir && pwd`
1928 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1929 # Use eval to expand $SHELL
1930 if eval "$MISSING --run true"; then
1931 am_missing_run="$MISSING --run "
1932 else
1933 am_missing_run=
1934 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1935 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1938 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1939 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1940 if test -z "$MKDIR_P"; then
1941 if test "${ac_cv_path_mkdir+set}" = set; then
1942 $as_echo_n "(cached) " >&6
1943 else
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1947 IFS=$as_save_IFS
1948 test -z "$as_dir" && as_dir=.
1949 for ac_prog in mkdir gmkdir; do
1950 for ac_exec_ext in '' $ac_executable_extensions; do
1951 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1952 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1953 'mkdir (GNU coreutils) '* | \
1954 'mkdir (coreutils) '* | \
1955 'mkdir (fileutils) '4.1*)
1956 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1957 break 3;;
1958 esac
1959 done
1960 done
1961 done
1962 IFS=$as_save_IFS
1966 if test "${ac_cv_path_mkdir+set}" = set; then
1967 MKDIR_P="$ac_cv_path_mkdir -p"
1968 else
1969 # As a last resort, use the slow shell script. Don't cache a
1970 # value for MKDIR_P within a source directory, because that will
1971 # break other packages using the cache if that directory is
1972 # removed, or if the value is a relative name.
1973 test -d ./--version && rmdir ./--version
1974 MKDIR_P="$ac_install_sh -d"
1977 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1978 $as_echo "$MKDIR_P" >&6; }
1980 mkdir_p="$MKDIR_P"
1981 case $mkdir_p in
1982 [\\/$]* | ?:[\\/]*) ;;
1983 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1984 esac
1986 for ac_prog in gawk mawk nawk awk
1988 # Extract the first word of "$ac_prog", so it can be a program name with args.
1989 set dummy $ac_prog; ac_word=$2
1990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1991 $as_echo_n "checking for $ac_word... " >&6; }
1992 if test "${ac_cv_prog_AWK+set}" = set; then
1993 $as_echo_n "(cached) " >&6
1994 else
1995 if test -n "$AWK"; then
1996 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1997 else
1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 for as_dir in $PATH
2001 IFS=$as_save_IFS
2002 test -z "$as_dir" && as_dir=.
2003 for ac_exec_ext in '' $ac_executable_extensions; do
2004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2005 ac_cv_prog_AWK="$ac_prog"
2006 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 break 2
2009 done
2010 done
2011 IFS=$as_save_IFS
2015 AWK=$ac_cv_prog_AWK
2016 if test -n "$AWK"; then
2017 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2018 $as_echo "$AWK" >&6; }
2019 else
2020 { $as_echo "$as_me:$LINENO: result: no" >&5
2021 $as_echo "no" >&6; }
2025 test -n "$AWK" && break
2026 done
2028 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2029 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2030 set x ${MAKE-make}
2031 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2032 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2033 $as_echo_n "(cached) " >&6
2034 else
2035 cat >conftest.make <<\_ACEOF
2036 SHELL = /bin/sh
2037 all:
2038 @echo '@@@%%%=$(MAKE)=@@@%%%'
2039 _ACEOF
2040 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2042 *@@@%%%=?*=@@@%%%*)
2043 eval ac_cv_prog_make_${ac_make}_set=yes;;
2045 eval ac_cv_prog_make_${ac_make}_set=no;;
2046 esac
2047 rm -f conftest.make
2049 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2050 { $as_echo "$as_me:$LINENO: result: yes" >&5
2051 $as_echo "yes" >&6; }
2052 SET_MAKE=
2053 else
2054 { $as_echo "$as_me:$LINENO: result: no" >&5
2055 $as_echo "no" >&6; }
2056 SET_MAKE="MAKE=${MAKE-make}"
2059 rm -rf .tst 2>/dev/null
2060 mkdir .tst 2>/dev/null
2061 if test -d .tst; then
2062 am__leading_dot=.
2063 else
2064 am__leading_dot=_
2066 rmdir .tst 2>/dev/null
2068 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2069 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2070 # is not polluted with repeated "-I."
2071 am__isrc=' -I$(srcdir)'
2072 # test to see if srcdir already configured
2073 if test -f $srcdir/config.status; then
2074 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2075 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2076 { (exit 1); exit 1; }; }
2080 # test whether we have cygpath
2081 if test -z "$CYGPATH_W"; then
2082 if (cygpath --version) >/dev/null 2>/dev/null; then
2083 CYGPATH_W='cygpath -w'
2084 else
2085 CYGPATH_W=echo
2090 # Define the identity of the package.
2091 PACKAGE='autoconf'
2092 VERSION='2.61b'
2095 cat >>confdefs.h <<_ACEOF
2096 #define PACKAGE "$PACKAGE"
2097 _ACEOF
2100 cat >>confdefs.h <<_ACEOF
2101 #define VERSION "$VERSION"
2102 _ACEOF
2104 # Some tools Automake needs.
2106 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2109 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2112 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2115 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2118 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2120 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2122 # Installed binaries are usually stripped using `strip' when the user
2123 # run `make install-strip'. However `strip' might not be the right
2124 # tool to use in cross-compilation environments, therefore Automake
2125 # will honor the `STRIP' environment variable to overrule this program.
2126 if test "$cross_compiling" != no; then
2127 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2129 set dummy ${ac_tool_prefix}strip; ac_word=$2
2130 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 $as_echo_n "checking for $ac_word... " >&6; }
2132 if test "${ac_cv_prog_STRIP+set}" = set; then
2133 $as_echo_n "(cached) " >&6
2134 else
2135 if test -n "$STRIP"; then
2136 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2137 else
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 for as_dir in $PATH
2141 IFS=$as_save_IFS
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2146 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 break 2
2149 done
2150 done
2151 IFS=$as_save_IFS
2155 STRIP=$ac_cv_prog_STRIP
2156 if test -n "$STRIP"; then
2157 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2158 $as_echo "$STRIP" >&6; }
2159 else
2160 { $as_echo "$as_me:$LINENO: result: no" >&5
2161 $as_echo "no" >&6; }
2166 if test -z "$ac_cv_prog_STRIP"; then
2167 ac_ct_STRIP=$STRIP
2168 # Extract the first word of "strip", so it can be a program name with args.
2169 set dummy strip; ac_word=$2
2170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 $as_echo_n "checking for $ac_word... " >&6; }
2172 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2173 $as_echo_n "(cached) " >&6
2174 else
2175 if test -n "$ac_ct_STRIP"; then
2176 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2177 else
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 for as_dir in $PATH
2181 IFS=$as_save_IFS
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_ac_ct_STRIP="strip"
2186 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 break 2
2189 done
2190 done
2191 IFS=$as_save_IFS
2195 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2196 if test -n "$ac_ct_STRIP"; then
2197 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2198 $as_echo "$ac_ct_STRIP" >&6; }
2199 else
2200 { $as_echo "$as_me:$LINENO: result: no" >&5
2201 $as_echo "no" >&6; }
2204 if test "x$ac_ct_STRIP" = x; then
2205 STRIP=":"
2206 else
2207 case $cross_compiling:$ac_tool_warned in
2208 yes:)
2209 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2210 whose name does not start with the host triplet. If you think this
2211 configuration is useful to you, please write to autoconf@gnu.org." >&5
2212 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2213 whose name does not start with the host triplet. If you think this
2214 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2215 ac_tool_warned=yes ;;
2216 esac
2217 STRIP=$ac_ct_STRIP
2219 else
2220 STRIP="$ac_cv_prog_STRIP"
2224 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2226 # We need awk for the "check" target. The system "awk" is bad on
2227 # some platforms.
2228 # Always define AMTAR for backward compatibility.
2230 AMTAR=${AMTAR-"${am_missing_run}tar"}
2232 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2239 # We use `/bin/sh -n script' to check that there are no syntax errors
2240 # in the scripts. Although incredible, there are /bin/sh that go into
2241 # endless loops with `-n', e.g., SunOS's:
2243 # $ uname -a
2244 # SunOS ondine 4.1.3 2 sun4m unknown
2245 # $ cat endless.sh
2246 # while false
2247 # do
2249 # done
2250 # exit 0
2251 # $ time sh endless.sh
2252 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2253 # $ time sh -nx endless.sh
2254 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2256 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2257 # that they are unusable on large scripts like our testsuite.
2259 # So before using `/bin/sh -n' to check our scripts, we first check
2260 # that `/bin/sh -n' is known to not have these problems.
2262 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2263 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2264 if test "${ac_cv_sh_n_works+set}" = set; then
2265 $as_echo_n "(cached) " >&6
2266 else
2267 if (
2268 unset BASH_VERSION ZSH_VERSION
2269 /bin/sh -c '
2270 test -n "${BASH_VERSION+set}" || # Bash
2271 test -n "${KSH_VERSION+set}" || # pdksh
2272 test -n "${ZSH_VERSION+set}" || # zsh
2273 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2275 ) 2>/dev/null
2276 then ac_cv_sh_n_works=yes
2277 else ac_cv_sh_n_works=no
2281 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2282 $as_echo "$ac_cv_sh_n_works" >&6; }
2285 # Initialize the test suite.
2286 ac_config_commands="$ac_config_commands tests/atconfig"
2289 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2291 # Extract the first word of "expr", so it can be a program name with args.
2292 set dummy expr; ac_word=$2
2293 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 $as_echo_n "checking for $ac_word... " >&6; }
2295 if test "${ac_cv_path_EXPR+set}" = set; then
2296 $as_echo_n "(cached) " >&6
2297 else
2298 case $EXPR in
2299 [\\/]* | ?:[\\/]*)
2300 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 for as_dir in $PATH
2306 IFS=$as_save_IFS
2307 test -z "$as_dir" && as_dir=.
2308 for ac_exec_ext in '' $ac_executable_extensions; do
2309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2310 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2311 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 break 2
2314 done
2315 done
2316 IFS=$as_save_IFS
2319 esac
2321 EXPR=$ac_cv_path_EXPR
2322 if test -n "$EXPR"; then
2323 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2324 $as_echo "$EXPR" >&6; }
2325 else
2326 { $as_echo "$as_me:$LINENO: result: no" >&5
2327 $as_echo "no" >&6; }
2333 ## ---- ##
2334 ## M4. ##
2335 ## ---- ##
2337 # We use an absolute name for GNU m4 so even if users have another m4 first in
2338 # their path, the installer can configure with a path that has GNU m4
2339 # first and get that path embedded in the installed autoconf and
2340 # autoheader scripts.
2341 for ac_prog in gm4 gnum4 m4
2343 # Extract the first word of "$ac_prog", so it can be a program name with args.
2344 set dummy $ac_prog; ac_word=$2
2345 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2346 $as_echo_n "checking for $ac_word... " >&6; }
2347 if test "${ac_cv_path_M4+set}" = set; then
2348 $as_echo_n "(cached) " >&6
2349 else
2350 case $M4 in
2351 [\\/]* | ?:[\\/]*)
2352 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 for as_dir in $PATH
2358 IFS=$as_save_IFS
2359 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2362 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2363 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 break 2
2366 done
2367 done
2368 IFS=$as_save_IFS
2371 esac
2373 M4=$ac_cv_path_M4
2374 if test -n "$M4"; then
2375 { $as_echo "$as_me:$LINENO: result: $M4" >&5
2376 $as_echo "$M4" >&6; }
2377 else
2378 { $as_echo "$as_me:$LINENO: result: no" >&5
2379 $as_echo "no" >&6; }
2383 test -n "$M4" && break
2384 done
2385 test -n "$M4" || M4="m4"
2387 { $as_echo "$as_me:$LINENO: checking whether m4 supports accurate traces" >&5
2388 $as_echo_n "checking whether m4 supports accurate traces... " >&6; }
2389 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2390 $as_echo_n "(cached) " >&6
2391 else
2392 ac_cv_prog_gnu_m4=no
2393 if test x"$M4" != x \
2394 && test -z "`echo if'def(mac,bug)d'nl | $M4 --trace=mac 2>&1`" ; then
2395 ac_cv_prog_gnu_m4=yes
2398 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2399 $as_echo "$ac_cv_prog_gnu_m4" >&6; }
2400 if test $ac_cv_prog_gnu_m4 = yes ; then
2401 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2402 $as_echo_n "checking how m4 supports trace files... " >&6; }
2403 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2404 $as_echo_n "(cached) " >&6
2405 else
2406 case `$M4 --help < /dev/null 2>&1` in
2407 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2408 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2409 esac
2411 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2412 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2413 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2417 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2418 { { $as_echo "$as_me:$LINENO: error: GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&5
2419 $as_echo "$as_me: error: GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&2;}
2420 { (exit 1); exit 1; }; }
2423 ## ----------- ##
2424 ## Man pages. ##
2425 ## ----------- ##
2427 ac_config_files="$ac_config_files man/Makefile"
2430 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2434 ## ------ ##
2435 ## Perl. ##
2436 ## ------ ##
2438 # We use an absolute name for perl so the #! line in autoscan will work.
2439 # Extract the first word of "perl", so it can be a program name with args.
2440 set dummy perl; ac_word=$2
2441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2442 $as_echo_n "checking for $ac_word... " >&6; }
2443 if test "${ac_cv_path_PERL+set}" = set; then
2444 $as_echo_n "(cached) " >&6
2445 else
2446 case $PERL in
2447 [\\/]* | ?:[\\/]*)
2448 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 for as_dir in $PATH
2454 IFS=$as_save_IFS
2455 test -z "$as_dir" && as_dir=.
2456 for ac_exec_ext in '' $ac_executable_extensions; do
2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2459 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 break 2
2462 done
2463 done
2464 IFS=$as_save_IFS
2466 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2468 esac
2470 PERL=$ac_cv_path_PERL
2471 if test -n "$PERL"; then
2472 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2473 $as_echo "$PERL" >&6; }
2474 else
2475 { $as_echo "$as_me:$LINENO: result: no" >&5
2476 $as_echo "no" >&6; }
2480 if test "$PERL" = no; then
2481 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2482 $as_echo "$as_me: error: perl is not found" >&2;}
2483 { (exit 1); exit 1; }; }
2485 $PERL -e 'require 5.005_03;' || {
2486 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2487 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2488 { (exit 1); exit 1; }; }
2492 ## ------- ##
2493 ## Emacs. ##
2494 ## ------- ##
2496 ac_config_files="$ac_config_files lib/emacs/Makefile"
2498 TEST_EMACS=$EMACS
2499 test x"$TEST_EMACS" = xt && TEST_EMACS=
2500 for ac_prog in emacs xemacs
2502 # Extract the first word of "$ac_prog", so it can be a program name with args.
2503 set dummy $ac_prog; ac_word=$2
2504 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
2506 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2507 $as_echo_n "(cached) " >&6
2508 else
2509 if test -n "$TEST_EMACS"; then
2510 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2511 else
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 for as_dir in $PATH
2515 IFS=$as_save_IFS
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519 ac_cv_prog_TEST_EMACS="$ac_prog"
2520 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 break 2
2523 done
2524 done
2525 IFS=$as_save_IFS
2529 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2530 if test -n "$TEST_EMACS"; then
2531 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2532 $as_echo "$TEST_EMACS" >&6; }
2533 else
2534 { $as_echo "$as_me:$LINENO: result: no" >&5
2535 $as_echo "no" >&6; }
2539 test -n "$TEST_EMACS" && break
2540 done
2541 test -n "$TEST_EMACS" || TEST_EMACS="no"
2544 # autoconf-mode.el and autotest-mode.el do not work with older version of
2545 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2546 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2547 # We detect this problem here.
2548 if test "$TEST_EMACS" != no; then
2549 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2550 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2551 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2552 $as_echo_n "(cached) " >&6
2553 else
2554 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2555 cat >conftest.el << "EOF"
2556 (defvar broken)
2557 (defun broken-mode () (setq broken-defaults `(broken nil)))
2559 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2560 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2561 ac_status=$?
2562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; then
2564 ac_cv_prog_emacs_ok=yes
2565 else
2566 ac_cv_prog_emacs_ok=no
2569 rm -f conftest.el conftest.elc
2571 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2572 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2573 if test $ac_cv_prog_emacs_ok = no; then
2574 TEST_EMACS=no
2580 EMACS=$TEST_EMACS
2583 # If set to t, that means we are running in a shell under Emacs.
2584 # If you have an Emacs named "t", then use the full path.
2585 test x"$EMACS" = xt && EMACS=
2586 for ac_prog in emacs xemacs
2588 # Extract the first word of "$ac_prog", so it can be a program name with args.
2589 set dummy $ac_prog; ac_word=$2
2590 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2591 $as_echo_n "checking for $ac_word... " >&6; }
2592 if test "${ac_cv_prog_EMACS+set}" = set; then
2593 $as_echo_n "(cached) " >&6
2594 else
2595 if test -n "$EMACS"; then
2596 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2597 else
2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599 for as_dir in $PATH
2601 IFS=$as_save_IFS
2602 test -z "$as_dir" && as_dir=.
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605 ac_cv_prog_EMACS="$ac_prog"
2606 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 break 2
2609 done
2610 done
2611 IFS=$as_save_IFS
2615 EMACS=$ac_cv_prog_EMACS
2616 if test -n "$EMACS"; then
2617 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2618 $as_echo "$EMACS" >&6; }
2619 else
2620 { $as_echo "$as_me:$LINENO: result: no" >&5
2621 $as_echo "no" >&6; }
2625 test -n "$EMACS" && break
2626 done
2627 test -n "$EMACS" || EMACS="no"
2632 # Check whether --with-lispdir was given.
2633 if test "${with_lispdir+set}" = set; then
2634 withval=$with_lispdir; lispdir="$withval"
2635 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2636 $as_echo_n "checking where .elc files should go... " >&6; }
2637 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2638 $as_echo "$lispdir" >&6; }
2639 else
2641 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2642 $as_echo_n "checking where .elc files should go... " >&6; }
2643 if test "${am_cv_lispdir+set}" = set; then
2644 $as_echo_n "(cached) " >&6
2645 else
2647 if test $EMACS != "no"; then
2648 if test x${lispdir+set} != xset; then
2649 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2650 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2651 # which is non-obvious for non-emacs users.
2652 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2653 # emacsen earlier and avoid running this altogether.
2654 { ($as_echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5
2655 ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
2656 ac_status=$?
2657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }
2659 am_cv_lispdir=`sed -n \
2660 -e 's,/$,,' \
2661 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2662 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2663 conftest.out`
2664 rm conftest.out
2667 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2670 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2671 $as_echo "$am_cv_lispdir" >&6; }
2672 lispdir="$am_cv_lispdir"
2680 ## ------------ ##
2681 ## Grep & sed. ##
2682 ## ------------ ##
2683 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2684 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2685 if test "${ac_cv_path_GREP+set}" = set; then
2686 $as_echo_n "(cached) " >&6
2687 else
2688 # Extract the first word of "grep ggrep" to use in msg output
2689 if test -z "$GREP"; then
2690 set dummy grep ggrep; ac_prog_name=$2
2691 if test "${ac_cv_path_GREP+set}" = set; then
2692 $as_echo_n "(cached) " >&6
2693 else
2694 ac_path_GREP_found=false
2695 # Loop through the user's path and test for each of PROGNAME-LIST
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2699 IFS=$as_save_IFS
2700 test -z "$as_dir" && as_dir=.
2701 for ac_prog in grep ggrep; do
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2704 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2705 # Check for GNU ac_path_GREP and select it if it is found.
2706 # Check for GNU $ac_path_GREP
2707 case `"$ac_path_GREP" --version 2>&1` in
2708 *GNU*)
2709 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2711 ac_count=0
2712 $as_echo_n 0123456789 >"conftest.in"
2713 while :
2715 cat "conftest.in" "conftest.in" >"conftest.tmp"
2716 mv "conftest.tmp" "conftest.in"
2717 cp "conftest.in" "conftest.nl"
2718 $as_echo 'GREP' >> "conftest.nl"
2719 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2721 ac_count=`expr $ac_count + 1`
2722 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2723 # Best one so far, save it but keep looking for a better one
2724 ac_cv_path_GREP="$ac_path_GREP"
2725 ac_path_GREP_max=$ac_count
2727 # 10*(2^10) chars as input seems more than enough
2728 test $ac_count -gt 10 && break
2729 done
2730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2731 esac
2734 $ac_path_GREP_found && break 3
2735 done
2736 done
2738 done
2739 IFS=$as_save_IFS
2744 GREP="$ac_cv_path_GREP"
2745 if test -z "$GREP"; then
2746 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2747 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2748 { (exit 1); exit 1; }; }
2751 else
2752 ac_cv_path_GREP=$GREP
2757 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2758 $as_echo "$ac_cv_path_GREP" >&6; }
2759 GREP="$ac_cv_path_GREP"
2762 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2763 $as_echo_n "checking for egrep... " >&6; }
2764 if test "${ac_cv_path_EGREP+set}" = set; then
2765 $as_echo_n "(cached) " >&6
2766 else
2767 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2768 then ac_cv_path_EGREP="$GREP -E"
2769 else
2770 # Extract the first word of "egrep" to use in msg output
2771 if test -z "$EGREP"; then
2772 set dummy egrep; ac_prog_name=$2
2773 if test "${ac_cv_path_EGREP+set}" = set; then
2774 $as_echo_n "(cached) " >&6
2775 else
2776 ac_path_EGREP_found=false
2777 # Loop through the user's path and test for each of PROGNAME-LIST
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2781 IFS=$as_save_IFS
2782 test -z "$as_dir" && as_dir=.
2783 for ac_prog in egrep; do
2784 for ac_exec_ext in '' $ac_executable_extensions; do
2785 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2786 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2787 # Check for GNU ac_path_EGREP and select it if it is found.
2788 # Check for GNU $ac_path_EGREP
2789 case `"$ac_path_EGREP" --version 2>&1` in
2790 *GNU*)
2791 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2793 ac_count=0
2794 $as_echo_n 0123456789 >"conftest.in"
2795 while :
2797 cat "conftest.in" "conftest.in" >"conftest.tmp"
2798 mv "conftest.tmp" "conftest.in"
2799 cp "conftest.in" "conftest.nl"
2800 $as_echo 'EGREP' >> "conftest.nl"
2801 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2802 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2803 ac_count=`expr $ac_count + 1`
2804 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2805 # Best one so far, save it but keep looking for a better one
2806 ac_cv_path_EGREP="$ac_path_EGREP"
2807 ac_path_EGREP_max=$ac_count
2809 # 10*(2^10) chars as input seems more than enough
2810 test $ac_count -gt 10 && break
2811 done
2812 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2813 esac
2816 $ac_path_EGREP_found && break 3
2817 done
2818 done
2820 done
2821 IFS=$as_save_IFS
2826 EGREP="$ac_cv_path_EGREP"
2827 if test -z "$EGREP"; then
2828 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2829 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2830 { (exit 1); exit 1; }; }
2833 else
2834 ac_cv_path_EGREP=$EGREP
2840 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2841 $as_echo "$ac_cv_path_EGREP" >&6; }
2842 EGREP="$ac_cv_path_EGREP"
2845 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2846 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2847 if test "${ac_cv_path_SED+set}" = set; then
2848 $as_echo_n "(cached) " >&6
2849 else
2850 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2851 for ac_i in 1 2 3 4 5 6 7; do
2852 ac_script="$ac_script$as_nl$ac_script"
2853 done
2854 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2855 $as_unset ac_script || ac_script=
2856 # Extract the first word of "sed gsed" to use in msg output
2857 if test -z "$SED"; then
2858 set dummy sed gsed; ac_prog_name=$2
2859 if test "${ac_cv_path_SED+set}" = set; then
2860 $as_echo_n "(cached) " >&6
2861 else
2862 ac_path_SED_found=false
2863 # Loop through the user's path and test for each of PROGNAME-LIST
2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865 for as_dir in $PATH
2867 IFS=$as_save_IFS
2868 test -z "$as_dir" && as_dir=.
2869 for ac_prog in sed gsed; do
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2872 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2873 # Check for GNU ac_path_SED and select it if it is found.
2874 # Check for GNU $ac_path_SED
2875 case `"$ac_path_SED" --version 2>&1` in
2876 *GNU*)
2877 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2879 ac_count=0
2880 $as_echo_n 0123456789 >"conftest.in"
2881 while :
2883 cat "conftest.in" "conftest.in" >"conftest.tmp"
2884 mv "conftest.tmp" "conftest.in"
2885 cp "conftest.in" "conftest.nl"
2886 $as_echo '' >> "conftest.nl"
2887 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2888 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2889 ac_count=`expr $ac_count + 1`
2890 if test $ac_count -gt ${ac_path_SED_max-0}; then
2891 # Best one so far, save it but keep looking for a better one
2892 ac_cv_path_SED="$ac_path_SED"
2893 ac_path_SED_max=$ac_count
2895 # 10*(2^10) chars as input seems more than enough
2896 test $ac_count -gt 10 && break
2897 done
2898 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2899 esac
2902 $ac_path_SED_found && break 3
2903 done
2904 done
2906 done
2907 IFS=$as_save_IFS
2912 SED="$ac_cv_path_SED"
2913 if test -z "$SED"; then
2914 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2915 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2916 { (exit 1); exit 1; }; }
2919 else
2920 ac_cv_path_SED=$SED
2924 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2925 $as_echo "$ac_cv_path_SED" >&6; }
2926 SED="$ac_cv_path_SED"
2927 rm -f conftest.sed
2931 ## ------------ ##
2932 ## Conclusion. ##
2933 ## ------------ ##
2935 ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile lib/m4sugar/Makefile lib/autoconf/Makefile lib/autotest/Makefile bin/Makefile"
2938 cat >confcache <<\_ACEOF
2939 # This file is a shell script that caches the results of configure
2940 # tests run on this system so they can be shared between configure
2941 # scripts and configure runs, see configure's option --config-cache.
2942 # It is not useful on other systems. If it contains results you don't
2943 # want to keep, you may remove or edit it.
2945 # config.status only pays attention to the cache file if you give it
2946 # the --recheck option to rerun configure.
2948 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2949 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2950 # following values.
2952 _ACEOF
2954 # The following way of writing the cache mishandles newlines in values,
2955 # but we know of no workaround that is simple, portable, and efficient.
2956 # So, we kill variables containing newlines.
2957 # Ultrix sh set writes to stderr and can't be redirected directly,
2958 # and sets the high bit in the cache file unless we assign to the vars.
2960 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2961 eval ac_val=\$$ac_var
2962 case $ac_val in #(
2963 *${as_nl}*)
2964 case $ac_var in #(
2965 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2966 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2967 esac
2968 case $ac_var in #(
2969 _ | IFS | as_nl) ;; #(
2970 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2971 *) $as_unset $ac_var ;;
2972 esac ;;
2973 esac
2974 done
2976 (set) 2>&1 |
2977 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2978 *${as_nl}ac_space=\ *)
2979 # `set' does not quote correctly, so add quotes (double-quote
2980 # substitution turns \\\\ into \\, and sed turns \\ into \).
2981 sed -n \
2982 "s/'/'\\\\''/g;
2983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2984 ;; #(
2986 # `set' quotes correctly as required by POSIX, so do not add quotes.
2987 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2989 esac |
2990 sort
2992 sed '
2993 /^ac_cv_env_/b end
2994 t clear
2995 :clear
2996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2997 t end
2998 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2999 :end' >>confcache
3000 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3001 if test -w "$cache_file"; then
3002 test "x$cache_file" != "x/dev/null" &&
3003 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3004 $as_echo "$as_me: updating cache $cache_file" >&6;}
3005 cat confcache >$cache_file
3006 else
3007 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3008 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3011 rm -f confcache
3013 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3014 # Let make expand exec_prefix.
3015 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3017 # Transform confdefs.h into DEFS.
3018 # Protect against shell expansion while executing Makefile rules.
3019 # Protect against Makefile macro expansion.
3021 # If the first sed substitution is executed (which looks for macros that
3022 # take arguments), then branch to the quote section. Otherwise,
3023 # look for a macro that doesn't take arguments.
3024 ac_script='
3025 t clear
3026 :clear
3027 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3028 t quote
3029 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3030 t quote
3031 b any
3032 :quote
3033 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3034 s/\[/\\&/g
3035 s/\]/\\&/g
3036 s/\$/$$/g
3038 :any
3041 s/^\n//
3042 s/\n/ /g
3046 DEFS=`sed -n "$ac_script" confdefs.h`
3049 ac_libobjs=
3050 ac_ltlibobjs=
3051 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3052 # 1. Remove the extension, and $U if already installed.
3053 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3054 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3055 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3056 # will be set to the directory where LIBOBJS objects are built.
3057 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3058 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3059 done
3060 LIBOBJS=$ac_libobjs
3062 LTLIBOBJS=$ac_ltlibobjs
3066 : ${CONFIG_STATUS=./config.status}
3067 ac_clean_files_save=$ac_clean_files
3068 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3069 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3070 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3071 cat >$CONFIG_STATUS <<_ACEOF
3072 #! $SHELL
3073 # Generated by $as_me.
3074 # Run this file to recreate the current configuration.
3075 # Compiler output produced by configure, useful for debugging
3076 # configure, is in config.log if it exists.
3078 debug=false
3079 ac_cs_recheck=false
3080 ac_cs_silent=false
3081 SHELL=\${CONFIG_SHELL-$SHELL}
3082 _ACEOF
3084 cat >>$CONFIG_STATUS <<\_ACEOF
3085 ## --------------------- ##
3086 ## M4sh Initialization. ##
3087 ## --------------------- ##
3089 # Be more Bourne compatible
3090 DUALCASE=1; export DUALCASE # for MKS sh
3091 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3092 emulate sh
3093 NULLCMD=:
3094 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3095 # is contrary to our usage. Disable this feature.
3096 alias -g '${1+"$@"}'='"$@"'
3097 setopt NO_GLOB_SUBST
3098 else
3099 case `(set -o) 2>/dev/null` in
3100 *posix*) set -o posix ;;
3101 esac
3108 # PATH needs CR
3109 # Avoid depending upon Character Ranges.
3110 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3111 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3112 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3113 as_cr_digits='0123456789'
3114 as_cr_alnum=$as_cr_Letters$as_cr_digits
3116 as_nl='
3118 export as_nl
3119 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3120 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3121 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3122 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3123 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3124 as_echo='printf %s\n'
3125 as_echo_n='printf %s'
3126 else
3127 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3128 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3129 as_echo_n='/usr/ucb/echo -n'
3130 else
3131 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3132 as_echo_n_body='eval
3133 arg=$1;
3134 case $arg in
3135 *"$as_nl"*)
3136 expr "X$arg" : "X\\(.*\\)$as_nl";
3137 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3138 esac;
3139 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3141 export as_echo_n_body
3142 as_echo_n='sh -c $as_echo_n_body as_echo'
3144 export as_echo_body
3145 as_echo='sh -c $as_echo_body as_echo'
3148 # The user is always right.
3149 if test "${PATH_SEPARATOR+set}" != set; then
3150 echo "#! /bin/sh" >conf$$.sh
3151 echo "exit 0" >>conf$$.sh
3152 chmod +x conf$$.sh
3153 if (PATH="/nonexistent;."; FPATH=$PATH; conf$$.sh) >/dev/null 2>&1; then
3154 PATH_SEPARATOR=';'
3155 else
3156 PATH_SEPARATOR=:
3158 rm -f conf$$.sh
3161 # Support unset when possible.
3162 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3163 as_unset=unset
3164 else
3165 as_unset=false
3169 # IFS
3170 # We need space, tab and new line, in precisely that order. Quoting is
3171 # there to prevent editors from complaining about space-tab.
3172 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3173 # splitting by setting IFS to empty value.)
3174 IFS=" "" $as_nl"
3176 # Find who we are. Look in the path if we contain no directory separator.
3177 case $0 in
3178 *[\\/]* ) as_myself=$0 ;;
3179 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180 for as_dir in $PATH
3182 IFS=$as_save_IFS
3183 test -z "$as_dir" && as_dir=.
3184 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3185 done
3186 IFS=$as_save_IFS
3189 esac
3190 # We did not find ourselves, most probably we were run as `sh COMMAND'
3191 # in which case we are not to be found in the path.
3192 if test "x$as_myself" = x; then
3193 as_myself=$0
3195 if test ! -f "$as_myself"; then
3196 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3197 { (exit 1); exit 1; }
3200 # Work around bugs in pre-3.0 UWIN ksh.
3201 for as_var in ENV MAIL MAILPATH
3202 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3203 done
3204 PS1='$ '
3205 PS2='> '
3206 PS4='+ '
3208 # NLS nuisances.
3209 for as_var in \
3210 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3211 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3212 LC_TELEPHONE LC_TIME
3214 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3215 eval $as_var=C; export $as_var
3216 else
3217 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3219 done
3221 # Required to use basename.
3222 if expr a : '\(a\)' >/dev/null 2>&1 &&
3223 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3224 as_expr=expr
3225 else
3226 as_expr=false
3229 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3230 as_basename=basename
3231 else
3232 as_basename=false
3236 # Name of the executable.
3237 as_me=`$as_basename -- "$0" ||
3238 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3239 X"$0" : 'X\(//\)$' \| \
3240 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3241 $as_echo X/"$0" |
3242 sed '/^.*\/\([^/][^/]*\)\/*$/{
3243 s//\1/
3246 /^X\/\(\/\/\)$/{
3247 s//\1/
3250 /^X\/\(\/\).*/{
3251 s//\1/
3254 s/.*/./; q'`
3256 # CDPATH.
3257 $as_unset CDPATH
3261 as_lineno_1=$LINENO
3262 as_lineno_2=$LINENO
3263 test "x$as_lineno_1" != "x$as_lineno_2" &&
3264 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3267 # uniformly replaced by the line number. The first 'sed' inserts a
3268 # line-number line after each line using $LINENO; the second 'sed'
3269 # does the real work. The second script uses 'N' to pair each
3270 # line-number line with the line containing $LINENO, and appends
3271 # trailing '-' during substitution so that $LINENO is not a special
3272 # case at line end.
3273 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3274 # scripts with optimization help from Paolo Bonzini. Blame Lee
3275 # E. McMahon (1931-1989) for sed's syntax. :-)
3276 sed -n '
3278 /[$]LINENO/=
3279 ' <$as_myself |
3280 sed '
3281 s/[$]LINENO.*/&-/
3282 t lineno
3284 :lineno
3286 :loop
3287 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3288 t loop
3289 s/-\n.*//
3290 ' >$as_me.lineno &&
3291 chmod +x "$as_me.lineno" ||
3292 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3293 { (exit 1); exit 1; }; }
3295 # Don't try to exec as it changes $[0], causing all sort of problems
3296 # (the dirname of $[0] is not the place where we might find the
3297 # original and so on. Autoconf is especially sensitive to this).
3298 . "./$as_me.lineno"
3299 # Exit status is that of the last command.
3300 exit
3304 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3305 as_dirname=dirname
3306 else
3307 as_dirname=false
3310 ECHO_C= ECHO_N= ECHO_T=
3311 case `echo -n x` in
3312 -n*)
3313 case `echo 'x\c'` in
3314 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3315 *) ECHO_C='\c';;
3316 esac;;
3318 ECHO_N='-n';;
3319 esac
3320 if expr a : '\(a\)' >/dev/null 2>&1 &&
3321 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3322 as_expr=expr
3323 else
3324 as_expr=false
3327 rm -f conf$$ conf$$.exe conf$$.file
3328 if test -d conf$$.dir; then
3329 rm -f conf$$.dir/conf$$.file
3330 else
3331 rm -f conf$$.dir
3332 mkdir conf$$.dir
3334 echo >conf$$.file
3335 if ln -s conf$$.file conf$$ 2>/dev/null; then
3336 as_ln_s='ln -s'
3337 # ... but there are two gotchas:
3338 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3339 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3340 # In both cases, we have to default to `cp -p'.
3341 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3342 as_ln_s='cp -p'
3343 elif ln conf$$.file conf$$ 2>/dev/null; then
3344 as_ln_s=ln
3345 else
3346 as_ln_s='cp -p'
3348 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3349 rmdir conf$$.dir 2>/dev/null
3351 if mkdir -p . 2>/dev/null; then
3352 as_mkdir_p=:
3353 else
3354 test -d ./-p && rmdir ./-p
3355 as_mkdir_p=false
3358 if test -x / >/dev/null 2>&1; then
3359 as_test_x='test -x'
3360 else
3361 if ls -dL / >/dev/null 2>&1; then
3362 as_ls_L_option=L
3363 else
3364 as_ls_L_option=
3366 as_test_x='
3367 eval sh -c '\''
3368 if test -d "$1"; then
3369 test -d "$1/.";
3370 else
3371 case $1 in
3372 -*)set "./$1";;
3373 esac;
3374 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3375 ???[sx]*):;;*)false;;esac;fi
3376 '\'' sh
3379 as_executable_p=$as_test_x
3381 # Sed expression to map a string onto a valid CPP name.
3382 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3384 # Sed expression to map a string onto a valid variable name.
3385 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3388 exec 6>&1
3390 # Save the log message, to keep $[0] and so on meaningful, and to
3391 # report actual input values of CONFIG_FILES etc. instead of their
3392 # values after options handling.
3393 ac_log="
3394 This file was extended by GNU Autoconf $as_me 2.61b, which was
3395 generated by GNU Autoconf 2.61b. Invocation command line was
3397 CONFIG_FILES = $CONFIG_FILES
3398 CONFIG_HEADERS = $CONFIG_HEADERS
3399 CONFIG_LINKS = $CONFIG_LINKS
3400 CONFIG_COMMANDS = $CONFIG_COMMANDS
3401 $ $0 $@
3403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3406 _ACEOF
3408 cat >>$CONFIG_STATUS <<_ACEOF
3409 # Files that config.status was made for.
3410 config_files="$ac_config_files"
3411 config_commands="$ac_config_commands"
3413 _ACEOF
3415 cat >>$CONFIG_STATUS <<\_ACEOF
3416 ac_cs_usage="\
3417 \`$as_me' instantiates files from templates according to the
3418 current configuration.
3420 Usage: $0 [OPTIONS] [FILE]...
3422 -h, --help print this help, then exit
3423 -V, --version print version number and configuration settings, then exit
3424 -q, --quiet do not print progress messages
3425 -d, --debug don't remove temporary files
3426 --recheck update $as_me by reconfiguring in the same conditions
3427 --file=FILE[:TEMPLATE]
3428 instantiate the configuration file FILE
3430 Configuration files:
3431 $config_files
3433 Configuration commands:
3434 $config_commands
3436 Report bugs to <bug-autoconf@gnu.org>."
3438 _ACEOF
3439 cat >>$CONFIG_STATUS <<_ACEOF
3440 ac_cs_version="\\
3441 GNU Autoconf config.status 2.61b
3442 configured by $0, generated by GNU Autoconf 2.61b,
3443 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3445 Copyright (C) 2007 Free Software Foundation, Inc.
3446 This config.status script is free software; the Free Software Foundation
3447 gives unlimited permission to copy, distribute and modify it."
3449 ac_pwd='$ac_pwd'
3450 srcdir='$srcdir'
3451 INSTALL='$INSTALL'
3452 MKDIR_P='$MKDIR_P'
3453 AWK='$AWK'
3454 test -n "\$AWK" || AWK=awk
3455 _ACEOF
3457 cat >>$CONFIG_STATUS <<\_ACEOF
3458 # The default lists apply if the user does not specify any file.
3459 ac_need_defaults=:
3460 while test $# != 0
3462 case $1 in
3463 --*=*)
3464 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3465 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3466 ac_shift=:
3469 ac_option=$1
3470 ac_optarg=$2
3471 ac_shift=shift
3473 esac
3475 case $ac_option in
3476 # Handling of the options.
3477 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3478 ac_cs_recheck=: ;;
3479 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3480 $as_echo "$ac_cs_version"; exit ;;
3481 --debug | --debu | --deb | --de | --d | -d )
3482 debug=: ;;
3483 --file | --fil | --fi | --f )
3484 $ac_shift
3485 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3486 ac_need_defaults=false;;
3487 --he | --h | --help | --hel | -h )
3488 $as_echo "$ac_cs_usage"; exit ;;
3489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3490 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3491 ac_cs_silent=: ;;
3493 # This is an error.
3494 -*) { $as_echo "$as_me: error: unrecognized option: $1
3495 Try \`$0 --help' for more information." >&2
3496 { (exit 1); exit 1; }; } ;;
3498 *) ac_config_targets="$ac_config_targets $1"
3499 ac_need_defaults=false ;;
3501 esac
3502 shift
3503 done
3505 ac_configure_extra_args=
3507 if $ac_cs_silent; then
3508 exec 6>/dev/null
3509 ac_configure_extra_args="$ac_configure_extra_args --silent"
3512 _ACEOF
3513 cat >>$CONFIG_STATUS <<_ACEOF
3514 if \$ac_cs_recheck; then
3515 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3516 shift
3517 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3518 CONFIG_SHELL='$SHELL'
3519 export CONFIG_SHELL
3520 exec "\$@"
3523 _ACEOF
3524 cat >>$CONFIG_STATUS <<\_ACEOF
3525 exec 5>>config.log
3527 echo
3528 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3529 ## Running $as_me. ##
3530 _ASBOX
3531 $as_echo "$ac_log"
3532 } >&5
3534 _ACEOF
3535 cat >>$CONFIG_STATUS <<_ACEOF
3536 _ACEOF
3538 cat >>$CONFIG_STATUS <<\_ACEOF
3540 # Handling of arguments.
3541 for ac_config_target in $ac_config_targets
3543 case $ac_config_target in
3544 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3545 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3546 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3547 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3548 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3549 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3550 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3551 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3552 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3553 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3554 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3555 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3556 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3557 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3559 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3560 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3561 { (exit 1); exit 1; }; };;
3562 esac
3563 done
3566 # If the user did not use the arguments to specify the items to instantiate,
3567 # then the envvar interface is used. Set only those that are not.
3568 # We use the long form for the default assignment because of an extremely
3569 # bizarre bug on SunOS 4.1.3.
3570 if $ac_need_defaults; then
3571 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3572 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3575 # Have a temporary directory for convenience. Make it in the build tree
3576 # simply because there is no reason against having it here, and in addition,
3577 # creating and moving files from /tmp can sometimes cause problems.
3578 # Hook for its removal unless debugging.
3579 # Note that there is a small window in which the directory will not be cleaned:
3580 # after its creation but before its name has been assigned to `$tmp'.
3581 $debug ||
3583 tmp=
3584 trap 'exit_status=$?
3585 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3587 trap '{ (exit 1); exit 1; }' 1 2 13 15
3589 # Create a (secure) tmp directory for tmp files.
3592 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3593 test -n "$tmp" && test -d "$tmp"
3594 } ||
3596 tmp=./conf$$-$RANDOM
3597 (umask 077 && mkdir "$tmp")
3598 } ||
3600 $as_echo "$me: cannot create a temporary directory in ." >&2
3601 { (exit 1); exit 1; }
3604 # Set up the scripts for CONFIG_FILES section.
3605 # No need to generate them if there are no CONFIG_FILES.
3606 # This happens for instance with `./config.status config.h'.
3607 if test -n "$CONFIG_FILES"; then
3610 ac_cr=' '
3611 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3612 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3613 ac_cs_awk_cr='\\r'
3614 else
3615 ac_cs_awk_cr=$ac_cr
3618 echo 'BEGIN {' >"$tmp/subs1.awk"
3619 _ACEOF
3623 echo "cat >conf$$subs.awk <<_ACEOF"
3624 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3625 echo "_ACEOF"
3626 } >conf$$subs.sh
3627 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3628 ac_delim='%!_!# '
3629 for ac_last_try in false false false false false :; do
3630 . ./conf$$subs.sh
3632 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3633 break
3634 elif $ac_last_try; then
3635 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3636 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3637 { (exit 1); exit 1; }; }
3638 else
3639 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3641 done
3642 rm -f conf$$subs.sh
3644 cat >>$CONFIG_STATUS <<_ACEOF
3645 cat >>"\$tmp/subs1.awk" <<\CEOF
3646 _ACEOF
3647 sed -n '
3649 s/^/S["/; s/!.*/"]=/
3652 s/^[^!]*!//
3653 :repl
3654 t repl
3655 s/'"$ac_delim"'$//
3656 t delim
3659 s/\(.\{148\}\).*/\1/
3660 t more1
3661 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3664 b repl
3665 :more1
3666 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3669 s/.\{148\}//
3670 t nl
3671 :delim
3673 s/\(.\{148\}\).*/\1/
3674 t more2
3675 s/["\\]/\\&/g; s/^/"/; s/$/"/
3678 :more2
3679 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3682 s/.\{148\}//
3683 t delim
3684 ' <conf$$subs.awk | sed '
3685 /^[^"]/{
3687 s/\n//
3689 ' >>$CONFIG_STATUS
3690 rm -f conf$$subs.awk
3691 cat >>$CONFIG_STATUS <<_ACEOF
3692 CEOF
3693 cat >>"\$tmp/subs1.awk" <<CEOF
3694 for (key in S) S_is_set[key] = 1
3695 FS = "\a"
3699 line = $ 0
3700 nfields = split(line, field, "@")
3701 substed = 0
3702 len = length(field[1])
3703 for (i = 2; i < nfields; i++) {
3704 key = field[i]
3705 keylen = length(key)
3706 if (S_is_set[key]) {
3707 value = S[key]
3708 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3709 len += length(value) + length(field[++i])
3710 substed = 1
3711 } else
3712 len += 1 + keylen
3715 print line
3718 CEOF
3719 sed "s/\$ac_cr\\\$//; s/\$ac_cr/\$ac_cs_awk_cr/g" < "\$tmp/subs1.awk" > "\$tmp/subs.awk"
3720 _ACEOF
3722 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3723 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3724 # trailing colons and then remove the whole line if VPATH becomes empty
3725 # (actually we leave an empty line to preserve line numbers).
3726 if test "x$srcdir" = x.; then
3727 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3728 s/:*\$(srcdir):*/:/
3729 s/:*\${srcdir}:*/:/
3730 s/:*@srcdir@:*/:/
3731 s/^\([^=]*=[ ]*\):*/\1/
3732 s/:*$//
3733 s/^[^=]*=[ ]*$//
3737 cat >>$CONFIG_STATUS <<\_ACEOF
3738 fi # test -n "$CONFIG_FILES"
3741 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3743 case $ac_tag in
3744 :[FHLC]) ac_mode=$ac_tag; continue;;
3745 esac
3746 case $ac_mode$ac_tag in
3747 :[FHL]*:*);;
3748 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3749 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3750 { (exit 1); exit 1; }; };;
3751 :[FH]-) ac_tag=-:-;;
3752 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3753 esac
3754 ac_save_IFS=$IFS
3755 IFS=:
3756 set x $ac_tag
3757 IFS=$ac_save_IFS
3758 shift
3759 ac_file=$1
3760 shift
3762 case $ac_mode in
3763 :L) ac_source=$1;;
3764 :[FH])
3765 ac_file_inputs=
3766 for ac_f
3768 case $ac_f in
3769 -) ac_f="$tmp/stdin";;
3770 *) # Look for the file first in the build tree, then in the source tree
3771 # (if the path is not absolute). The absolute path cannot be DOS-style,
3772 # because $ac_f cannot contain `:'.
3773 test -f "$ac_f" ||
3774 case $ac_f in
3775 [\\/$]*) false;;
3776 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3777 esac ||
3778 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3779 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3780 { (exit 1); exit 1; }; };;
3781 esac
3782 ac_file_inputs="$ac_file_inputs $ac_f"
3783 done
3785 # Let's still pretend it is `configure' which instantiates (i.e., don't
3786 # use $as_me), people would be surprised to read:
3787 # /* config.h. Generated by config.status. */
3788 configure_input='Generated from '`
3789 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3790 `' by configure.'
3791 if test x"$ac_file" != x-; then
3792 configure_input="$ac_file. $configure_input"
3793 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3794 $as_echo "$as_me: creating $ac_file" >&6;}
3797 case $ac_tag in
3798 *:-:* | *:-) cat >"$tmp/stdin";;
3799 esac
3801 esac
3803 ac_dir=`$as_dirname -- "$ac_file" ||
3804 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3805 X"$ac_file" : 'X\(//\)[^/]' \| \
3806 X"$ac_file" : 'X\(//\)$' \| \
3807 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3808 $as_echo X"$ac_file" |
3809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3810 s//\1/
3813 /^X\(\/\/\)[^/].*/{
3814 s//\1/
3817 /^X\(\/\/\)$/{
3818 s//\1/
3821 /^X\(\/\).*/{
3822 s//\1/
3825 s/.*/./; q'`
3826 { as_dir="$ac_dir"
3827 case $as_dir in #(
3828 -*) as_dir=./$as_dir;;
3829 esac
3830 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3831 as_dirs=
3832 while :; do
3833 case $as_dir in #(
3834 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3835 *) as_qdir=$as_dir;;
3836 esac
3837 as_dirs="'$as_qdir' $as_dirs"
3838 as_dir=`$as_dirname -- "$as_dir" ||
3839 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3840 X"$as_dir" : 'X\(//\)[^/]' \| \
3841 X"$as_dir" : 'X\(//\)$' \| \
3842 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3843 $as_echo X"$as_dir" |
3844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3845 s//\1/
3848 /^X\(\/\/\)[^/].*/{
3849 s//\1/
3852 /^X\(\/\/\)$/{
3853 s//\1/
3856 /^X\(\/\).*/{
3857 s//\1/
3860 s/.*/./; q'`
3861 test -d "$as_dir" && break
3862 done
3863 test -z "$as_dirs" || eval "mkdir $as_dirs"
3864 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3865 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3866 { (exit 1); exit 1; }; }; }
3867 ac_builddir=.
3869 case "$ac_dir" in
3870 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3872 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3873 # A ".." for each directory in $ac_dir_suffix.
3874 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3875 case $ac_top_builddir_sub in
3876 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3877 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3878 esac ;;
3879 esac
3880 ac_abs_top_builddir=$ac_pwd
3881 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3882 # for backward compatibility:
3883 ac_top_builddir=$ac_top_build_prefix
3885 case $srcdir in
3886 .) # We are building in place.
3887 ac_srcdir=.
3888 ac_top_srcdir=$ac_top_builddir_sub
3889 ac_abs_top_srcdir=$ac_pwd ;;
3890 [\\/]* | ?:[\\/]* ) # Absolute name.
3891 ac_srcdir=$srcdir$ac_dir_suffix;
3892 ac_top_srcdir=$srcdir
3893 ac_abs_top_srcdir=$srcdir ;;
3894 *) # Relative name.
3895 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3896 ac_top_srcdir=$ac_top_build_prefix$srcdir
3897 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3898 esac
3899 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3902 case $ac_mode in
3905 # CONFIG_FILE
3908 case $INSTALL in
3909 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3910 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3911 esac
3912 ac_MKDIR_P=$MKDIR_P
3913 case $MKDIR_P in
3914 [\\/$]* | ?:[\\/]* ) ;;
3915 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3916 esac
3917 _ACEOF
3919 cat >>$CONFIG_STATUS <<\_ACEOF
3920 # If the template does not know about datarootdir, expand it.
3921 # FIXME: This hack should be removed a few years after 2.60.
3922 ac_datarootdir_hack=; ac_datarootdir_seen=
3924 case `sed -n '/datarootdir/ {
3928 /@datadir@/p
3929 /@docdir@/p
3930 /@infodir@/p
3931 /@localedir@/p
3932 /@mandir@/p
3933 ' $ac_file_inputs` in
3934 *datarootdir*) ac_datarootdir_seen=yes;;
3935 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3936 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3937 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3938 _ACEOF
3939 cat >>$CONFIG_STATUS <<_ACEOF
3940 ac_datarootdir_hack='
3941 s&@datadir@&$datadir&g
3942 s&@docdir@&$docdir&g
3943 s&@infodir@&$infodir&g
3944 s&@localedir@&$localedir&g
3945 s&@mandir@&$mandir&g
3946 s&\\\${datarootdir}&$datarootdir&g' ;;
3947 esac
3948 _ACEOF
3950 # Neutralize VPATH when `$srcdir' = `.'.
3951 # Shell code in configure.ac might set extrasub.
3952 # FIXME: do we really want to maintain this feature?
3953 cat >>$CONFIG_STATUS <<_ACEOF
3954 sed "$ac_vpsub
3955 $extrasub
3956 _ACEOF
3957 cat >>$CONFIG_STATUS <<\_ACEOF
3959 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3960 s&@configure_input@&$configure_input&;t t
3961 s&@top_builddir@&$ac_top_builddir_sub&;t t
3962 s&@srcdir@&$ac_srcdir&;t t
3963 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3964 s&@top_srcdir@&$ac_top_srcdir&;t t
3965 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3966 s&@builddir@&$ac_builddir&;t t
3967 s&@abs_builddir@&$ac_abs_builddir&;t t
3968 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3969 s&@INSTALL@&$ac_INSTALL&;t t
3970 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3971 $ac_datarootdir_hack
3972 " $ac_file_inputs | $AWK -f "$tmp/subs.awk" >$tmp/out
3974 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3975 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3976 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3977 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3978 which seems to be undefined. Please make sure it is defined." >&5
3979 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3980 which seems to be undefined. Please make sure it is defined." >&2;}
3982 rm -f "$tmp/stdin"
3983 case $ac_file in
3984 -) cat "$tmp/out"; rm -f "$tmp/out";;
3985 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3986 esac
3990 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3991 $as_echo "$as_me: executing $ac_file commands" >&6;}
3993 esac
3996 case $ac_file$ac_mode in
3997 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3998 # Configurable variable values for building test suites.
3999 # Generated by $0.
4000 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
4002 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
4003 at_testdir='tests'
4004 abs_builddir='$ac_abs_builddir'
4005 at_srcdir='$ac_srcdir'
4006 abs_srcdir='$ac_abs_srcdir'
4007 at_top_srcdir='$ac_top_srcdir'
4008 abs_top_srcdir='$ac_abs_top_srcdir'
4009 at_top_build_prefix='$ac_top_build_prefix'
4010 abs_top_builddir='$ac_abs_top_builddir'
4012 # Backward compatibility with Autotest <= 2.59b:
4013 at_top_builddir=\$at_top_build_prefix
4015 AUTOTEST_PATH='tests'
4017 SHELL=\${CONFIG_SHELL-'$SHELL'}
4018 ATEOF
4021 esac
4022 done # for ac_tag
4025 { (exit 0); exit 0; }
4026 _ACEOF
4027 chmod +x $CONFIG_STATUS
4028 ac_clean_files=$ac_clean_files_save
4031 # configure is writing to config.log, and then calls config.status.
4032 # config.status does its own redirection, appending to config.log.
4033 # Unfortunately, on DOS this fails, as config.log is still kept open
4034 # by configure, so config.status won't be able to write to it; its
4035 # output is simply discarded. So we exec the FD to /dev/null,
4036 # effectively closing config.log, so it can be properly (re)opened and
4037 # appended to by config.status. When coming back to configure, we
4038 # need to make the FD available again.
4039 if test "$no_create" != yes; then
4040 ac_cs_success=:
4041 ac_config_status_args=
4042 test "$silent" = yes &&
4043 ac_config_status_args="$ac_config_status_args --quiet"
4044 exec 5>/dev/null
4045 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4046 exec 5>>config.log
4047 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4048 # would make configure fail if this is the last instruction.
4049 $ac_cs_success || { (exit 1); exit 1; }
4051 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4052 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4053 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4056 # Report the state of this version of Autoconf if this is a beta.
4057 cat <<EOF
4059 You are about to use an experimental version of Autoconf. Be sure to
4060 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4062 Below you will find information on the status of this version of Autoconf.
4066 sed -n '/^\* Status/,$p' $srcdir/BUGS