Document another awk pitfall.
[autoconf/ericb.git] / configure
bloba97a5517f0b4f688c635f3c2b1f604a766843020
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
696 EMACS
697 EMACSLOADPATH'
700 # Initialize some variables set by options.
701 ac_init_help=
702 ac_init_version=false
703 ac_unrecognized_opts=
704 ac_unrecognized_sep=
705 # The variables have the same names as the options, with
706 # dashes changed to underlines.
707 cache_file=/dev/null
708 exec_prefix=NONE
709 no_create=
710 no_recursion=
711 prefix=NONE
712 program_prefix=NONE
713 program_suffix=NONE
714 program_transform_name=s,x,x,
715 silent=
716 site=
717 srcdir=
718 verbose=
719 x_includes=NONE
720 x_libraries=NONE
722 # Installation directory options.
723 # These are left unexpanded so users can "make install exec_prefix=/foo"
724 # and all the variables that are supposed to be based on exec_prefix
725 # by default will actually change.
726 # Use braces instead of parens because sh, perl, etc. also accept them.
727 # (The list follows the same order as the GNU Coding Standards.)
728 bindir='${exec_prefix}/bin'
729 sbindir='${exec_prefix}/sbin'
730 libexecdir='${exec_prefix}/libexec'
731 datarootdir='${prefix}/share'
732 datadir='${datarootdir}'
733 sysconfdir='${prefix}/etc'
734 sharedstatedir='${prefix}/com'
735 localstatedir='${prefix}/var'
736 includedir='${prefix}/include'
737 oldincludedir='/usr/include'
738 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
739 infodir='${datarootdir}/info'
740 htmldir='${docdir}'
741 dvidir='${docdir}'
742 pdfdir='${docdir}'
743 psdir='${docdir}'
744 libdir='${exec_prefix}/lib'
745 localedir='${datarootdir}/locale'
746 mandir='${datarootdir}/man'
748 ac_prev=
749 ac_dashdash=
750 for ac_option
752 # If the previous option needs an argument, assign it.
753 if test -n "$ac_prev"; then
754 eval $ac_prev=\$ac_option
755 ac_prev=
756 continue
759 case $ac_option in
760 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761 *) ac_optarg=yes ;;
762 esac
764 # Accept the important Cygnus configure options, so we can diagnose typos.
766 case $ac_dashdash$ac_option in
768 ac_dashdash=yes ;;
770 -bindir | --bindir | --bindi | --bind | --bin | --bi)
771 ac_prev=bindir ;;
772 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
773 bindir=$ac_optarg ;;
775 -build | --build | --buil | --bui | --bu)
776 ac_prev=build_alias ;;
777 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
778 build_alias=$ac_optarg ;;
780 -cache-file | --cache-file | --cache-fil | --cache-fi \
781 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
782 ac_prev=cache_file ;;
783 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
784 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
785 cache_file=$ac_optarg ;;
787 --config-cache | -C)
788 cache_file=config.cache ;;
790 -datadir | --datadir | --datadi | --datad)
791 ac_prev=datadir ;;
792 -datadir=* | --datadir=* | --datadi=* | --datad=*)
793 datadir=$ac_optarg ;;
795 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
796 | --dataroo | --dataro | --datar)
797 ac_prev=datarootdir ;;
798 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
799 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
800 datarootdir=$ac_optarg ;;
802 -disable-* | --disable-*)
803 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
806 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
807 { (exit 1); exit 1; }; }
808 ac_useropt_orig=$ac_useropt
809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
810 case $ac_user_opts in
812 "enable_$ac_useropt"
813 "*) ;;
814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
815 ac_unrecognized_sep=', ';;
816 esac
817 eval enable_$ac_useropt=no ;;
819 -docdir | --docdir | --docdi | --doc | --do)
820 ac_prev=docdir ;;
821 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
822 docdir=$ac_optarg ;;
824 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
825 ac_prev=dvidir ;;
826 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
827 dvidir=$ac_optarg ;;
829 -enable-* | --enable-*)
830 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
831 # Reject names that are not valid shell variable names.
832 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
833 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
834 { (exit 1); exit 1; }; }
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
837 case $ac_user_opts in
839 "enable_$ac_useropt"
840 "*) ;;
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
843 esac
844 eval enable_$ac_useropt=\$ac_optarg ;;
846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848 | --exec | --exe | --ex)
849 ac_prev=exec_prefix ;;
850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852 | --exec=* | --exe=* | --ex=*)
853 exec_prefix=$ac_optarg ;;
855 -gas | --gas | --ga | --g)
856 # Obsolete; use --with-gas.
857 with_gas=yes ;;
859 -help | --help | --hel | --he | -h)
860 ac_init_help=long ;;
861 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862 ac_init_help=recursive ;;
863 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864 ac_init_help=short ;;
866 -host | --host | --hos | --ho)
867 ac_prev=host_alias ;;
868 -host=* | --host=* | --hos=* | --ho=*)
869 host_alias=$ac_optarg ;;
871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872 ac_prev=htmldir ;;
873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874 | --ht=*)
875 htmldir=$ac_optarg ;;
877 -includedir | --includedir | --includedi | --included | --include \
878 | --includ | --inclu | --incl | --inc)
879 ac_prev=includedir ;;
880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881 | --includ=* | --inclu=* | --incl=* | --inc=*)
882 includedir=$ac_optarg ;;
884 -infodir | --infodir | --infodi | --infod | --info | --inf)
885 ac_prev=infodir ;;
886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887 infodir=$ac_optarg ;;
889 -libdir | --libdir | --libdi | --libd)
890 ac_prev=libdir ;;
891 -libdir=* | --libdir=* | --libdi=* | --libd=*)
892 libdir=$ac_optarg ;;
894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895 | --libexe | --libex | --libe)
896 ac_prev=libexecdir ;;
897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898 | --libexe=* | --libex=* | --libe=*)
899 libexecdir=$ac_optarg ;;
901 -localedir | --localedir | --localedi | --localed | --locale)
902 ac_prev=localedir ;;
903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904 localedir=$ac_optarg ;;
906 -localstatedir | --localstatedir | --localstatedi | --localstated \
907 | --localstate | --localstat | --localsta | --localst | --locals)
908 ac_prev=localstatedir ;;
909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911 localstatedir=$ac_optarg ;;
913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
914 ac_prev=mandir ;;
915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
916 mandir=$ac_optarg ;;
918 -nfp | --nfp | --nf)
919 # Obsolete; use --without-fp.
920 with_fp=no ;;
922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923 | --no-cr | --no-c | -n)
924 no_create=yes ;;
926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928 no_recursion=yes ;;
930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932 | --oldin | --oldi | --old | --ol | --o)
933 ac_prev=oldincludedir ;;
934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937 oldincludedir=$ac_optarg ;;
939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
940 ac_prev=prefix ;;
941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942 prefix=$ac_optarg ;;
944 -program-prefix | --program-prefix | --program-prefi | --program-pref \
945 | --program-pre | --program-pr | --program-p)
946 ac_prev=program_prefix ;;
947 -program-prefix=* | --program-prefix=* | --program-prefi=* \
948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949 program_prefix=$ac_optarg ;;
951 -program-suffix | --program-suffix | --program-suffi | --program-suff \
952 | --program-suf | --program-su | --program-s)
953 ac_prev=program_suffix ;;
954 -program-suffix=* | --program-suffix=* | --program-suffi=* \
955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956 program_suffix=$ac_optarg ;;
958 -program-transform-name | --program-transform-name \
959 | --program-transform-nam | --program-transform-na \
960 | --program-transform-n | --program-transform- \
961 | --program-transform | --program-transfor \
962 | --program-transfo | --program-transf \
963 | --program-trans | --program-tran \
964 | --progr-tra | --program-tr | --program-t)
965 ac_prev=program_transform_name ;;
966 -program-transform-name=* | --program-transform-name=* \
967 | --program-transform-nam=* | --program-transform-na=* \
968 | --program-transform-n=* | --program-transform-=* \
969 | --program-transform=* | --program-transfor=* \
970 | --program-transfo=* | --program-transf=* \
971 | --program-trans=* | --program-tran=* \
972 | --progr-tra=* | --program-tr=* | --program-t=*)
973 program_transform_name=$ac_optarg ;;
975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976 ac_prev=pdfdir ;;
977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978 pdfdir=$ac_optarg ;;
980 -psdir | --psdir | --psdi | --psd | --ps)
981 ac_prev=psdir ;;
982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983 psdir=$ac_optarg ;;
985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986 | -silent | --silent | --silen | --sile | --sil)
987 silent=yes ;;
989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
990 ac_prev=sbindir ;;
991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
992 | --sbi=* | --sb=*)
993 sbindir=$ac_optarg ;;
995 -sharedstatedir | --sharedstatedir | --sharedstatedi \
996 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
997 | --sharedst | --shareds | --shared | --share | --shar \
998 | --sha | --sh)
999 ac_prev=sharedstatedir ;;
1000 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1001 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1002 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1003 | --sha=* | --sh=*)
1004 sharedstatedir=$ac_optarg ;;
1006 -site | --site | --sit)
1007 ac_prev=site ;;
1008 -site=* | --site=* | --sit=*)
1009 site=$ac_optarg ;;
1011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1012 ac_prev=srcdir ;;
1013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014 srcdir=$ac_optarg ;;
1016 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1017 | --syscon | --sysco | --sysc | --sys | --sy)
1018 ac_prev=sysconfdir ;;
1019 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1020 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1021 sysconfdir=$ac_optarg ;;
1023 -target | --target | --targe | --targ | --tar | --ta | --t)
1024 ac_prev=target_alias ;;
1025 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1026 target_alias=$ac_optarg ;;
1028 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1029 verbose=yes ;;
1031 -version | --version | --versio | --versi | --vers | -V)
1032 ac_init_version=: ;;
1034 -with-* | --with-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1038 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1039 { (exit 1); exit 1; }; }
1040 ac_useropt_orig=$ac_useropt
1041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1042 case $ac_user_opts in
1044 "with_$ac_useropt"
1045 "*) ;;
1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1047 ac_unrecognized_sep=', ';;
1048 esac
1049 eval with_$ac_useropt=\$ac_optarg ;;
1051 -without-* | --without-*)
1052 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1055 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1056 { (exit 1); exit 1; }; }
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1059 case $ac_user_opts in
1061 "with_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval with_$ac_useropt=no ;;
1068 --x)
1069 # Obsolete; use --with-x.
1070 with_x=yes ;;
1072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1073 | --x-incl | --x-inc | --x-in | --x-i)
1074 ac_prev=x_includes ;;
1075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1077 x_includes=$ac_optarg ;;
1079 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1081 ac_prev=x_libraries ;;
1082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1084 x_libraries=$ac_optarg ;;
1086 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1087 Try \`$0 --help' for more information." >&2
1088 { (exit 1); exit 1; }; }
1091 *=*)
1092 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1095 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1096 { (exit 1); exit 1; }; }
1097 eval $ac_envvar=\$ac_optarg
1098 export $ac_envvar ;;
1101 # FIXME: should be removed in autoconf 3.0.
1102 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1104 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1105 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1108 esac
1109 done
1111 if test -n "$ac_prev"; then
1112 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1113 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1114 { (exit 1); exit 1; }; }
1117 if test -n "$ac_unrecognized_opts"; then
1118 case $enable_option_checking in
1119 no) ;;
1120 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1121 { (exit 1); exit 1; }; } ;;
1122 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1123 esac
1126 # Be sure to have absolute directory names.
1127 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1128 datadir sysconfdir sharedstatedir localstatedir includedir \
1129 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1130 libdir localedir mandir
1132 eval ac_val=\$$ac_var
1133 case $ac_val in
1134 [\\/$]* | ?:[\\/]* ) continue;;
1135 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1136 esac
1137 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1138 { (exit 1); exit 1; }; }
1139 done
1141 # There might be people who depend on the old broken behavior: `$host'
1142 # used to hold the argument of --host etc.
1143 # FIXME: To remove some day.
1144 build=$build_alias
1145 host=$host_alias
1146 target=$target_alias
1148 # FIXME: To remove some day.
1149 if test "x$host_alias" != x; then
1150 if test "x$build_alias" = x; then
1151 cross_compiling=maybe
1152 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1153 If a cross compiler is detected then cross compile mode will be used." >&2
1154 elif test "x$build_alias" != "x$host_alias"; then
1155 cross_compiling=yes
1159 ac_tool_prefix=
1160 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1162 test "$silent" = yes && exec 6>/dev/null
1165 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1166 ac_ls_di=`ls -di .` &&
1167 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1168 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1169 { (exit 1); exit 1; }; }
1170 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1171 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1172 { (exit 1); exit 1; }; }
1175 # Find the source files, if location was not specified.
1176 if test -z "$srcdir"; then
1177 ac_srcdir_defaulted=yes
1178 # Try the directory containing this script, then the parent directory.
1179 ac_confdir=`$as_dirname -- "$0" ||
1180 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1181 X"$0" : 'X\(//\)[^/]' \| \
1182 X"$0" : 'X\(//\)$' \| \
1183 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1184 $as_echo X"$0" |
1185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 s//\1/
1189 /^X\(\/\/\)[^/].*/{
1190 s//\1/
1193 /^X\(\/\/\)$/{
1194 s//\1/
1197 /^X\(\/\).*/{
1198 s//\1/
1201 s/.*/./; q'`
1202 srcdir=$ac_confdir
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 srcdir=..
1206 else
1207 ac_srcdir_defaulted=no
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1211 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1212 { (exit 1); exit 1; }; }
1214 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1215 ac_abs_confdir=`(
1216 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1217 { (exit 1); exit 1; }; }
1218 pwd)`
1219 # When building in place, set srcdir=.
1220 if test "$ac_abs_confdir" = "$ac_pwd"; then
1221 srcdir=.
1223 # Remove unnecessary trailing slashes from srcdir.
1224 # Double slashes in file names in object file debugging info
1225 # mess up M-x gdb in Emacs.
1226 case $srcdir in
1227 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1228 esac
1229 for ac_var in $ac_precious_vars; do
1230 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_env_${ac_var}_value=\$${ac_var}
1232 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1234 done
1237 # Report the --help message.
1239 if test "$ac_init_help" = "long"; then
1240 # Omit some internal or obsolete options to make the list less imposing.
1241 # This message is too long to be a string in the A/UX 3.1 sh.
1242 cat <<_ACEOF
1243 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1245 Usage: $0 [OPTION]... [VAR=VALUE]...
1247 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1248 VAR=VALUE. See below for descriptions of some of the useful variables.
1250 Defaults for the options are specified in brackets.
1252 Configuration:
1253 -h, --help display this help and exit
1254 --help=short display options specific to this package
1255 --help=recursive display the short help of all the included packages
1256 -V, --version display version information and exit
1257 -q, --quiet, --silent do not print \`checking...' messages
1258 --cache-file=FILE cache test results in FILE [disabled]
1259 -C, --config-cache alias for \`--cache-file=config.cache'
1260 -n, --no-create do not create output files
1261 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1263 Installation directories:
1264 --prefix=PREFIX install architecture-independent files in PREFIX
1265 [$ac_default_prefix]
1266 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1267 [PREFIX]
1269 By default, \`make install' will install all the files in
1270 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1271 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1272 for instance \`--prefix=\$HOME'.
1274 For better control, use the options below.
1276 Fine tuning of the installation directories:
1277 --bindir=DIR user executables [EPREFIX/bin]
1278 --sbindir=DIR system admin executables [EPREFIX/sbin]
1279 --libexecdir=DIR program executables [EPREFIX/libexec]
1280 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1281 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1282 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1283 --libdir=DIR object code libraries [EPREFIX/lib]
1284 --includedir=DIR C header files [PREFIX/include]
1285 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1286 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1287 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1288 --infodir=DIR info documentation [DATAROOTDIR/info]
1289 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1290 --mandir=DIR man documentation [DATAROOTDIR/man]
1291 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1292 --htmldir=DIR html documentation [DOCDIR]
1293 --dvidir=DIR dvi documentation [DOCDIR]
1294 --pdfdir=DIR pdf documentation [DOCDIR]
1295 --psdir=DIR ps documentation [DOCDIR]
1296 _ACEOF
1298 cat <<\_ACEOF
1300 Program names:
1301 --program-prefix=PREFIX prepend PREFIX to installed program names
1302 --program-suffix=SUFFIX append SUFFIX to installed program names
1303 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1304 _ACEOF
1307 if test -n "$ac_init_help"; then
1308 case $ac_init_help in
1309 short | recursive ) echo "Configuration of GNU Autoconf 2.61b:";;
1310 esac
1311 cat <<\_ACEOF
1313 Optional Packages:
1314 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1315 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1316 --with-lispdir override the default lisp directory
1318 Some influential environment variables:
1319 M4 Location of GNU M4 1.4.5 or later. Defaults to the first program
1320 of `m4', `gm4', or `gnum4' on PATH that meets Autoconf needs.
1321 EMACS the Emacs editor command
1322 EMACSLOADPATH
1323 the Emacs library search path
1325 Use these variables to override the choices made by `configure' or to help
1326 it to find libraries and programs with nonstandard names/locations.
1328 Report bugs to <bug-autoconf@gnu.org>.
1329 _ACEOF
1330 ac_status=$?
1333 if test "$ac_init_help" = "recursive"; then
1334 # If there are subdirs, report their specific --help.
1335 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1336 test -d "$ac_dir" || continue
1337 ac_builddir=.
1339 case "$ac_dir" in
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1348 esac ;;
1349 esac
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1355 case $srcdir in
1356 .) # We are building in place.
1357 ac_srcdir=.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1364 *) # Relative name.
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1368 esac
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1374 echo &&
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1377 echo &&
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1379 else
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381 fi || ac_status=$?
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1383 done
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1388 cat <<\_ACEOF
1389 GNU Autoconf configure 2.61b
1390 generated by GNU Autoconf 2.61b
1392 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1393 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
1394 This configure script is free software; the Free Software Foundation
1395 gives unlimited permission to copy, distribute and modify it.
1396 _ACEOF
1397 exit
1399 cat >config.log <<_ACEOF
1400 This file contains any messages produced by compilers while
1401 running configure, to aid debugging if configure makes a mistake.
1403 It was created by GNU Autoconf $as_me 2.61b, which was
1404 generated by GNU Autoconf 2.61b. Invocation command line was
1406 $ $0 $@
1408 _ACEOF
1409 exec 5>>config.log
1411 cat <<_ASUNAME
1412 ## --------- ##
1413 ## Platform. ##
1414 ## --------- ##
1416 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1417 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1418 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1419 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1420 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1422 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1423 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1425 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1426 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1427 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1428 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1429 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1430 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1431 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1433 _ASUNAME
1435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436 for as_dir in $PATH
1438 IFS=$as_save_IFS
1439 test -z "$as_dir" && as_dir=.
1440 $as_echo "PATH: $as_dir"
1441 done
1442 IFS=$as_save_IFS
1444 } >&5
1446 cat >&5 <<_ACEOF
1449 ## ----------- ##
1450 ## Core tests. ##
1451 ## ----------- ##
1453 _ACEOF
1456 # Keep a trace of the command line.
1457 # Strip out --no-create and --no-recursion so they do not pile up.
1458 # Strip out --silent because we don't want to record it for future runs.
1459 # Also quote any args containing shell meta-characters.
1460 # Make two passes to allow for proper duplicate-argument suppression.
1461 ac_configure_args=
1462 ac_configure_args0=
1463 ac_configure_args1=
1464 ac_must_keep_next=false
1465 for ac_pass in 1 2
1467 for ac_arg
1469 case $ac_arg in
1470 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1471 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1472 | -silent | --silent | --silen | --sile | --sil)
1473 continue ;;
1474 *\'*)
1475 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1476 esac
1477 case $ac_pass in
1478 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1480 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1481 if test $ac_must_keep_next = true; then
1482 ac_must_keep_next=false # Got value, back to normal.
1483 else
1484 case $ac_arg in
1485 *=* | --config-cache | -C | -disable-* | --disable-* \
1486 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1487 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1488 | -with-* | --with-* | -without-* | --without-* | --x)
1489 case "$ac_configure_args0 " in
1490 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1491 esac
1493 -* ) ac_must_keep_next=true ;;
1494 esac
1496 ac_configure_args="$ac_configure_args '$ac_arg'"
1498 esac
1499 done
1500 done
1501 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1502 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1504 # When interrupted or exit'd, cleanup temporary files, and complete
1505 # config.log. We remove comments because anyway the quotes in there
1506 # would cause problems or look ugly.
1507 # WARNING: Use '\'' to represent an apostrophe within the trap.
1508 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1509 trap 'exit_status=$?
1510 # Save into config.log some information that might help in debugging.
1512 echo
1514 cat <<\_ASBOX
1515 ## ---------------- ##
1516 ## Cache variables. ##
1517 ## ---------------- ##
1518 _ASBOX
1519 echo
1520 # The following way of writing the cache mishandles newlines in values,
1522 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1523 eval ac_val=\$$ac_var
1524 case $ac_val in #(
1525 *${as_nl}*)
1526 case $ac_var in #(
1527 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1528 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1529 esac
1530 case $ac_var in #(
1531 _ | IFS | as_nl) ;; #(
1532 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1533 *) $as_unset $ac_var ;;
1534 esac ;;
1535 esac
1536 done
1537 (set) 2>&1 |
1538 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1539 *${as_nl}ac_space=\ *)
1540 sed -n \
1541 "s/'\''/'\''\\\\'\'''\''/g;
1542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1543 ;; #(
1545 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1547 esac |
1548 sort
1550 echo
1552 cat <<\_ASBOX
1553 ## ----------------- ##
1554 ## Output variables. ##
1555 ## ----------------- ##
1556 _ASBOX
1557 echo
1558 for ac_var in $ac_subst_vars
1560 eval ac_val=\$$ac_var
1561 case $ac_val in
1562 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1563 esac
1564 $as_echo "$ac_var='\''$ac_val'\''"
1565 done | sort
1566 echo
1568 if test -n "$ac_subst_files"; then
1569 cat <<\_ASBOX
1570 ## ------------------- ##
1571 ## File substitutions. ##
1572 ## ------------------- ##
1573 _ASBOX
1574 echo
1575 for ac_var in $ac_subst_files
1577 eval ac_val=\$$ac_var
1578 case $ac_val in
1579 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1580 esac
1581 $as_echo "$ac_var='\''$ac_val'\''"
1582 done | sort
1583 echo
1586 if test -s confdefs.h; then
1587 cat <<\_ASBOX
1588 ## ----------- ##
1589 ## confdefs.h. ##
1590 ## ----------- ##
1591 _ASBOX
1592 echo
1593 cat confdefs.h
1594 echo
1596 test "$ac_signal" != 0 &&
1597 $as_echo "$as_me: caught signal $ac_signal"
1598 $as_echo "$as_me: exit $exit_status"
1599 } >&5
1600 rm -f core *.core core.conftest.* &&
1601 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1602 exit $exit_status
1604 for ac_signal in 1 2 13 15; do
1605 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1606 done
1607 ac_signal=0
1609 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1610 rm -f -r conftest* confdefs.h
1612 # Predefined preprocessor variables.
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_NAME "$PACKAGE_NAME"
1616 _ACEOF
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1621 _ACEOF
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1626 _ACEOF
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE_STRING "$PACKAGE_STRING"
1631 _ACEOF
1634 cat >>confdefs.h <<_ACEOF
1635 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1636 _ACEOF
1639 # Let the site file select an alternate cache file if it wants to.
1640 # Prefer an explicitly selected file to automatically selected ones.
1641 ac_site_file1=NONE
1642 ac_site_file2=NONE
1643 if test -n "$CONFIG_SITE"; then
1644 ac_site_file1=$CONFIG_SITE
1645 elif test "x$prefix" != xNONE; then
1646 ac_site_file1=$prefix/share/config.site
1647 ac_site_file2=$prefix/etc/config.site
1648 else
1649 ac_site_file1=$ac_default_prefix/share/config.site
1650 ac_site_file2=$ac_default_prefix/etc/config.site
1652 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1654 test "x$ac_site_file" = xNONE && continue
1655 if test -r "$ac_site_file"; then
1656 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1657 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1658 sed 's/^/| /' "$ac_site_file" >&5
1659 . "$ac_site_file"
1661 done
1663 if test -r "$cache_file"; then
1664 # Some versions of bash will fail to source /dev/null (special
1665 # files actually), so we avoid doing that.
1666 if test -f "$cache_file"; then
1667 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1668 $as_echo "$as_me: loading cache $cache_file" >&6;}
1669 case $cache_file in
1670 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1671 *) . "./$cache_file";;
1672 esac
1674 else
1675 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1676 $as_echo "$as_me: creating cache $cache_file" >&6;}
1677 >$cache_file
1680 # Check that the precious variables saved in the cache have kept the same
1681 # value.
1682 ac_cache_corrupted=false
1683 for ac_var in $ac_precious_vars; do
1684 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1685 eval ac_new_set=\$ac_env_${ac_var}_set
1686 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1687 eval ac_new_val=\$ac_env_${ac_var}_value
1688 case $ac_old_set,$ac_new_set in
1689 set,)
1690 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1691 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1692 ac_cache_corrupted=: ;;
1693 ,set)
1694 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1695 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1696 ac_cache_corrupted=: ;;
1697 ,);;
1699 if test "x$ac_old_val" != "x$ac_new_val"; then
1700 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1701 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1702 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1703 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1704 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1705 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1706 ac_cache_corrupted=:
1707 fi;;
1708 esac
1709 # Pass precious variables to config.status.
1710 if test "$ac_new_set" = set; then
1711 case $ac_new_val in
1712 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1713 *) ac_arg=$ac_var=$ac_new_val ;;
1714 esac
1715 case " $ac_configure_args " in
1716 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1717 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1718 esac
1720 done
1721 if $ac_cache_corrupted; then
1722 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1723 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1724 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1725 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1726 { (exit 1); exit 1; }; }
1753 ac_ext=c
1754 ac_cpp='$CPP $CPPFLAGS'
1755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1762 ac_aux_dir=
1763 for ac_dir in build-aux "$srcdir"/build-aux; do
1764 if test -f "$ac_dir/install-sh"; then
1765 ac_aux_dir=$ac_dir
1766 ac_install_sh="$ac_aux_dir/install-sh -c"
1767 break
1768 elif test -f "$ac_dir/install.sh"; then
1769 ac_aux_dir=$ac_dir
1770 ac_install_sh="$ac_aux_dir/install.sh -c"
1771 break
1772 elif test -f "$ac_dir/shtool"; then
1773 ac_aux_dir=$ac_dir
1774 ac_install_sh="$ac_aux_dir/shtool install -c"
1775 break
1777 done
1778 if test -z "$ac_aux_dir"; then
1779 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1780 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1781 { (exit 1); exit 1; }; }
1784 # These three variables are undocumented and unsupported,
1785 # and are intended to be withdrawn in a future Autoconf release.
1786 # They can cause serious problems if a builder's source tree is in a directory
1787 # whose full name contains unusual characters.
1788 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1789 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1790 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1794 am__api_version='1.10'
1796 # Find a good install program. We prefer a C program (faster),
1797 # so one script is as good as another. But avoid the broken or
1798 # incompatible versions:
1799 # SysV /etc/install, /usr/sbin/install
1800 # SunOS /usr/etc/install
1801 # IRIX /sbin/install
1802 # AIX /bin/install
1803 # AmigaOS /C/install, which installs bootblocks on floppy discs
1804 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1805 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1806 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1807 # OS/2's system install, which has a completely different semantic
1808 # ./install, which can be erroneously created by make from ./install.sh.
1809 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1810 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1811 if test -z "$INSTALL"; then
1812 if test "${ac_cv_path_install+set}" = set; then
1813 $as_echo_n "(cached) " >&6
1814 else
1815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1816 for as_dir in $PATH
1818 IFS=$as_save_IFS
1819 test -z "$as_dir" && as_dir=.
1820 # Account for people who put trailing slashes in PATH elements.
1821 case $as_dir/ in
1822 ./ | .// | /cC/* | \
1823 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1824 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1825 /usr/ucb/* ) ;;
1827 # OSF1 and SCO ODT 3.0 have their own names for install.
1828 # Don't use installbsd from OSF since it installs stuff as root
1829 # by default.
1830 for ac_prog in ginstall scoinst install; do
1831 for ac_exec_ext in '' $ac_executable_extensions; do
1832 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1833 if test $ac_prog = install &&
1834 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1835 # AIX install. It has an incompatible calling convention.
1837 elif test $ac_prog = install &&
1838 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1839 # program-specific install script used by HP pwplus--don't use.
1841 else
1842 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1843 break 3
1846 done
1847 done
1849 esac
1850 done
1851 IFS=$as_save_IFS
1855 if test "${ac_cv_path_install+set}" = set; then
1856 INSTALL=$ac_cv_path_install
1857 else
1858 # As a last resort, use the slow shell script. Don't cache a
1859 # value for INSTALL within a source directory, because that will
1860 # break other packages using the cache if that directory is
1861 # removed, or if the value is a relative name.
1862 INSTALL=$ac_install_sh
1865 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1866 $as_echo "$INSTALL" >&6; }
1868 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1869 # It thinks the first close brace ends the variable substitution.
1870 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1872 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1874 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1876 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1877 $as_echo_n "checking whether build environment is sane... " >&6; }
1878 # Just in case
1879 sleep 1
1880 echo timestamp > conftest.file
1881 # Do `set' in a subshell so we don't clobber the current shell's
1882 # arguments. Must try -L first in case configure is actually a
1883 # symlink; some systems play weird games with the mod time of symlinks
1884 # (eg FreeBSD returns the mod time of the symlink's containing
1885 # directory).
1886 if (
1887 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1888 if test "$*" = "X"; then
1889 # -L didn't work.
1890 set X `ls -t $srcdir/configure conftest.file`
1892 rm -f conftest.file
1893 if test "$*" != "X $srcdir/configure conftest.file" \
1894 && test "$*" != "X conftest.file $srcdir/configure"; then
1896 # If neither matched, then we have a broken ls. This can happen
1897 # if, for instance, CONFIG_SHELL is bash and it inherits a
1898 # broken ls alias from the environment. This has actually
1899 # happened. Such a system could not be considered "sane".
1900 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1901 alias in your environment" >&5
1902 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1903 alias in your environment" >&2;}
1904 { (exit 1); exit 1; }; }
1907 test "$2" = conftest.file
1909 then
1910 # Ok.
1912 else
1913 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1914 Check your system clock" >&5
1915 $as_echo "$as_me: error: newly created file is older than distributed files!
1916 Check your system clock" >&2;}
1917 { (exit 1); exit 1; }; }
1919 { $as_echo "$as_me:$LINENO: result: yes" >&5
1920 $as_echo "yes" >&6; }
1921 test "$program_prefix" != NONE &&
1922 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1923 # Use a double $ so make ignores it.
1924 test "$program_suffix" != NONE &&
1925 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1926 # Double any \ or $.
1927 # By default was `s,x,x', remove it if useless.
1928 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1929 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1931 # expand $ac_aux_dir to an absolute path
1932 am_aux_dir=`cd $ac_aux_dir && pwd`
1934 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1935 # Use eval to expand $SHELL
1936 if eval "$MISSING --run true"; then
1937 am_missing_run="$MISSING --run "
1938 else
1939 am_missing_run=
1940 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1941 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1944 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1945 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1946 if test -z "$MKDIR_P"; then
1947 if test "${ac_cv_path_mkdir+set}" = set; then
1948 $as_echo_n "(cached) " >&6
1949 else
1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1951 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1953 IFS=$as_save_IFS
1954 test -z "$as_dir" && as_dir=.
1955 for ac_prog in mkdir gmkdir; do
1956 for ac_exec_ext in '' $ac_executable_extensions; do
1957 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1958 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1959 'mkdir (GNU coreutils) '* | \
1960 'mkdir (coreutils) '* | \
1961 'mkdir (fileutils) '4.1*)
1962 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1963 break 3;;
1964 esac
1965 done
1966 done
1967 done
1968 IFS=$as_save_IFS
1972 if test "${ac_cv_path_mkdir+set}" = set; then
1973 MKDIR_P="$ac_cv_path_mkdir -p"
1974 else
1975 # As a last resort, use the slow shell script. Don't cache a
1976 # value for MKDIR_P within a source directory, because that will
1977 # break other packages using the cache if that directory is
1978 # removed, or if the value is a relative name.
1979 test -d ./--version && rmdir ./--version
1980 MKDIR_P="$ac_install_sh -d"
1983 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1984 $as_echo "$MKDIR_P" >&6; }
1986 mkdir_p="$MKDIR_P"
1987 case $mkdir_p in
1988 [\\/$]* | ?:[\\/]*) ;;
1989 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1990 esac
1992 for ac_prog in gawk mawk nawk awk
1994 # Extract the first word of "$ac_prog", so it can be a program name with args.
1995 set dummy $ac_prog; ac_word=$2
1996 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 $as_echo_n "checking for $ac_word... " >&6; }
1998 if test "${ac_cv_prog_AWK+set}" = set; then
1999 $as_echo_n "(cached) " >&6
2000 else
2001 if test -n "$AWK"; then
2002 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2003 else
2004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005 for as_dir in $PATH
2007 IFS=$as_save_IFS
2008 test -z "$as_dir" && as_dir=.
2009 for ac_exec_ext in '' $ac_executable_extensions; do
2010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2011 ac_cv_prog_AWK="$ac_prog"
2012 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013 break 2
2015 done
2016 done
2017 IFS=$as_save_IFS
2021 AWK=$ac_cv_prog_AWK
2022 if test -n "$AWK"; then
2023 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2024 $as_echo "$AWK" >&6; }
2025 else
2026 { $as_echo "$as_me:$LINENO: result: no" >&5
2027 $as_echo "no" >&6; }
2031 test -n "$AWK" && break
2032 done
2034 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2035 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2036 set x ${MAKE-make}
2037 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2038 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2039 $as_echo_n "(cached) " >&6
2040 else
2041 cat >conftest.make <<\_ACEOF
2042 SHELL = /bin/sh
2043 all:
2044 @echo '@@@%%%=$(MAKE)=@@@%%%'
2045 _ACEOF
2046 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2047 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2048 *@@@%%%=?*=@@@%%%*)
2049 eval ac_cv_prog_make_${ac_make}_set=yes;;
2051 eval ac_cv_prog_make_${ac_make}_set=no;;
2052 esac
2053 rm -f conftest.make
2055 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2056 { $as_echo "$as_me:$LINENO: result: yes" >&5
2057 $as_echo "yes" >&6; }
2058 SET_MAKE=
2059 else
2060 { $as_echo "$as_me:$LINENO: result: no" >&5
2061 $as_echo "no" >&6; }
2062 SET_MAKE="MAKE=${MAKE-make}"
2065 rm -rf .tst 2>/dev/null
2066 mkdir .tst 2>/dev/null
2067 if test -d .tst; then
2068 am__leading_dot=.
2069 else
2070 am__leading_dot=_
2072 rmdir .tst 2>/dev/null
2074 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2075 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2076 # is not polluted with repeated "-I."
2077 am__isrc=' -I$(srcdir)'
2078 # test to see if srcdir already configured
2079 if test -f $srcdir/config.status; then
2080 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2081 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2082 { (exit 1); exit 1; }; }
2086 # test whether we have cygpath
2087 if test -z "$CYGPATH_W"; then
2088 if (cygpath --version) >/dev/null 2>/dev/null; then
2089 CYGPATH_W='cygpath -w'
2090 else
2091 CYGPATH_W=echo
2096 # Define the identity of the package.
2097 PACKAGE='autoconf'
2098 VERSION='2.61b'
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE "$PACKAGE"
2103 _ACEOF
2106 cat >>confdefs.h <<_ACEOF
2107 #define VERSION "$VERSION"
2108 _ACEOF
2110 # Some tools Automake needs.
2112 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2115 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2118 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2121 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2124 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2126 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2128 # Installed binaries are usually stripped using `strip' when the user
2129 # run `make install-strip'. However `strip' might not be the right
2130 # tool to use in cross-compilation environments, therefore Automake
2131 # will honor the `STRIP' environment variable to overrule this program.
2132 if test "$cross_compiling" != no; then
2133 if test -n "$ac_tool_prefix"; then
2134 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2135 set dummy ${ac_tool_prefix}strip; ac_word=$2
2136 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 $as_echo_n "checking for $ac_word... " >&6; }
2138 if test "${ac_cv_prog_STRIP+set}" = set; then
2139 $as_echo_n "(cached) " >&6
2140 else
2141 if test -n "$STRIP"; then
2142 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2143 else
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 for as_dir in $PATH
2147 IFS=$as_save_IFS
2148 test -z "$as_dir" && as_dir=.
2149 for ac_exec_ext in '' $ac_executable_extensions; do
2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2151 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2152 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 break 2
2155 done
2156 done
2157 IFS=$as_save_IFS
2161 STRIP=$ac_cv_prog_STRIP
2162 if test -n "$STRIP"; then
2163 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2164 $as_echo "$STRIP" >&6; }
2165 else
2166 { $as_echo "$as_me:$LINENO: result: no" >&5
2167 $as_echo "no" >&6; }
2172 if test -z "$ac_cv_prog_STRIP"; then
2173 ac_ct_STRIP=$STRIP
2174 # Extract the first word of "strip", so it can be a program name with args.
2175 set dummy strip; ac_word=$2
2176 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 $as_echo_n "checking for $ac_word... " >&6; }
2178 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2179 $as_echo_n "(cached) " >&6
2180 else
2181 if test -n "$ac_ct_STRIP"; then
2182 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2183 else
2184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2185 for as_dir in $PATH
2187 IFS=$as_save_IFS
2188 test -z "$as_dir" && as_dir=.
2189 for ac_exec_ext in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_prog_ac_ct_STRIP="strip"
2192 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 break 2
2195 done
2196 done
2197 IFS=$as_save_IFS
2201 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2202 if test -n "$ac_ct_STRIP"; then
2203 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2204 $as_echo "$ac_ct_STRIP" >&6; }
2205 else
2206 { $as_echo "$as_me:$LINENO: result: no" >&5
2207 $as_echo "no" >&6; }
2210 if test "x$ac_ct_STRIP" = x; then
2211 STRIP=":"
2212 else
2213 case $cross_compiling:$ac_tool_warned in
2214 yes:)
2215 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2216 whose name does not start with the host triplet. If you think this
2217 configuration is useful to you, please write to autoconf@gnu.org." >&5
2218 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2219 whose name does not start with the host triplet. If you think this
2220 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2221 ac_tool_warned=yes ;;
2222 esac
2223 STRIP=$ac_ct_STRIP
2225 else
2226 STRIP="$ac_cv_prog_STRIP"
2230 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2232 # We need awk for the "check" target. The system "awk" is bad on
2233 # some platforms.
2234 # Always define AMTAR for backward compatibility.
2236 AMTAR=${AMTAR-"${am_missing_run}tar"}
2238 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2245 # We use `/bin/sh -n script' to check that there are no syntax errors
2246 # in the scripts. Although incredible, there are /bin/sh that go into
2247 # endless loops with `-n', e.g., SunOS's:
2249 # $ uname -a
2250 # SunOS ondine 4.1.3 2 sun4m unknown
2251 # $ cat endless.sh
2252 # while false
2253 # do
2255 # done
2256 # exit 0
2257 # $ time sh endless.sh
2258 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2259 # $ time sh -nx endless.sh
2260 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2262 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2263 # that they are unusable on large scripts like our testsuite.
2265 # So before using `/bin/sh -n' to check our scripts, we first check
2266 # that `/bin/sh -n' is known to not have these problems.
2268 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2269 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2270 if test "${ac_cv_sh_n_works+set}" = set; then
2271 $as_echo_n "(cached) " >&6
2272 else
2273 if (
2274 unset BASH_VERSION ZSH_VERSION
2275 /bin/sh -c '
2276 test -n "${BASH_VERSION+set}" || # Bash
2277 test -n "${KSH_VERSION+set}" || # pdksh
2278 test -n "${ZSH_VERSION+set}" || # zsh
2279 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2281 ) 2>/dev/null
2282 then ac_cv_sh_n_works=yes
2283 else ac_cv_sh_n_works=no
2287 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2288 $as_echo "$ac_cv_sh_n_works" >&6; }
2291 # Initialize the test suite.
2292 ac_config_commands="$ac_config_commands tests/atconfig"
2295 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2297 # Extract the first word of "expr", so it can be a program name with args.
2298 set dummy expr; ac_word=$2
2299 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if test "${ac_cv_path_EXPR+set}" = set; then
2302 $as_echo_n "(cached) " >&6
2303 else
2304 case $EXPR in
2305 [\\/]* | ?:[\\/]*)
2306 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 for as_dir in $PATH
2312 IFS=$as_save_IFS
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2317 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 break 2
2320 done
2321 done
2322 IFS=$as_save_IFS
2325 esac
2327 EXPR=$ac_cv_path_EXPR
2328 if test -n "$EXPR"; then
2329 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2330 $as_echo "$EXPR" >&6; }
2331 else
2332 { $as_echo "$as_me:$LINENO: result: no" >&5
2333 $as_echo "no" >&6; }
2339 ## ---- ##
2340 ## M4. ##
2341 ## ---- ##
2343 # We use an absolute name for GNU m4 so even if users have another m4 first in
2344 # their path, the installer can configure with a path that has GNU m4
2345 # on it and get that path embedded in the installed autoconf and
2346 # autoheader scripts.
2348 { $as_echo "$as_me:$LINENO: checking for GNU M4 that supports accurate traces" >&5
2349 $as_echo_n "checking for GNU M4 that supports accurate traces... " >&6; }
2350 if test "${ac_cv_path_M4+set}" = set; then
2351 $as_echo_n "(cached) " >&6
2352 else
2353 if test -z "$M4"; then
2354 ac_path_M4_found=false
2355 # Loop through the user's path and test for each of PROGNAME-LIST
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 for as_dir in $PATH
2359 IFS=$as_save_IFS
2360 test -z "$as_dir" && as_dir=.
2361 for ac_prog in m4 gm4 gnum4; do
2362 for ac_exec_ext in '' $ac_executable_extensions; do
2363 ac_path_M4="$as_dir/$ac_prog$ac_exec_ext"
2364 { test -f "$ac_path_M4" && $as_test_x "$ac_path_M4"; } || continue
2365 test -z "`echo if'def(mac,bug)d'nl | $ac_path_M4 --trace=mac 2>&1`" \
2366 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
2367 $ac_path_M4_found && break 3
2368 done
2369 done
2370 done
2371 IFS=$as_save_IFS
2372 if test -z "$ac_cv_path_M4"; then
2373 { { $as_echo "$as_me:$LINENO: error: no acceptable m4 could be found in \$PATH.
2374 GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&5
2375 $as_echo "$as_me: error: no acceptable m4 could be found in \$PATH.
2376 GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&2;}
2377 { (exit 1); exit 1; }; }
2379 else
2380 ac_cv_path_M4=$M4
2384 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_M4" >&5
2385 $as_echo "$ac_cv_path_M4" >&6; }
2386 M4=$ac_cv_path_M4
2387 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2388 $as_echo_n "checking how m4 supports trace files... " >&6; }
2389 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2390 $as_echo_n "(cached) " >&6
2391 else
2392 case `$M4 --help < /dev/null 2>&1` in
2393 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2394 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2395 esac
2397 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2398 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2399 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2403 ## ----------- ##
2404 ## Man pages. ##
2405 ## ----------- ##
2407 ac_config_files="$ac_config_files man/Makefile"
2410 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2414 ## ------ ##
2415 ## Perl. ##
2416 ## ------ ##
2418 # We use an absolute name for perl so the #! line in autoscan will work.
2419 # Extract the first word of "perl", so it can be a program name with args.
2420 set dummy perl; ac_word=$2
2421 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2422 $as_echo_n "checking for $ac_word... " >&6; }
2423 if test "${ac_cv_path_PERL+set}" = set; then
2424 $as_echo_n "(cached) " >&6
2425 else
2426 case $PERL in
2427 [\\/]* | ?:[\\/]*)
2428 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 for as_dir in $PATH
2434 IFS=$as_save_IFS
2435 test -z "$as_dir" && as_dir=.
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2438 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2439 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 break 2
2442 done
2443 done
2444 IFS=$as_save_IFS
2446 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2448 esac
2450 PERL=$ac_cv_path_PERL
2451 if test -n "$PERL"; then
2452 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2453 $as_echo "$PERL" >&6; }
2454 else
2455 { $as_echo "$as_me:$LINENO: result: no" >&5
2456 $as_echo "no" >&6; }
2460 if test "$PERL" = no; then
2461 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2462 $as_echo "$as_me: error: perl is not found" >&2;}
2463 { (exit 1); exit 1; }; }
2465 $PERL -e 'require 5.005_03;' || {
2466 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2467 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2468 { (exit 1); exit 1; }; }
2472 ## ------- ##
2473 ## Emacs. ##
2474 ## ------- ##
2476 ac_config_files="$ac_config_files lib/emacs/Makefile"
2478 TEST_EMACS=$EMACS
2479 test x"$TEST_EMACS" = xt && TEST_EMACS=
2480 for ac_prog in emacs xemacs
2482 # Extract the first word of "$ac_prog", so it can be a program name with args.
2483 set dummy $ac_prog; ac_word=$2
2484 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 $as_echo_n "checking for $ac_word... " >&6; }
2486 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2487 $as_echo_n "(cached) " >&6
2488 else
2489 if test -n "$TEST_EMACS"; then
2490 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2491 else
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 for as_dir in $PATH
2495 IFS=$as_save_IFS
2496 test -z "$as_dir" && as_dir=.
2497 for ac_exec_ext in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 ac_cv_prog_TEST_EMACS="$ac_prog"
2500 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2501 break 2
2503 done
2504 done
2505 IFS=$as_save_IFS
2509 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2510 if test -n "$TEST_EMACS"; then
2511 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2512 $as_echo "$TEST_EMACS" >&6; }
2513 else
2514 { $as_echo "$as_me:$LINENO: result: no" >&5
2515 $as_echo "no" >&6; }
2519 test -n "$TEST_EMACS" && break
2520 done
2521 test -n "$TEST_EMACS" || TEST_EMACS="no"
2524 # autoconf-mode.el and autotest-mode.el do not work with older version of
2525 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2526 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2527 # We detect this problem here.
2528 if test "$TEST_EMACS" != no; then
2529 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2530 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2531 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2532 $as_echo_n "(cached) " >&6
2533 else
2534 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2535 cat >conftest.el << "EOF"
2536 (defvar broken)
2537 (defun broken-mode () (setq broken-defaults `(broken nil)))
2539 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2540 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2541 ac_status=$?
2542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 ac_cv_prog_emacs_ok=yes
2545 else
2546 ac_cv_prog_emacs_ok=no
2549 rm -f conftest.el conftest.elc
2551 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2552 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2553 if test $ac_cv_prog_emacs_ok = no; then
2554 TEST_EMACS=no
2560 EMACS=$TEST_EMACS
2563 # If set to t, that means we are running in a shell under Emacs.
2564 # If you have an Emacs named "t", then use the full path.
2565 test x"$EMACS" = xt && EMACS=
2566 for ac_prog in emacs xemacs
2568 # Extract the first word of "$ac_prog", so it can be a program name with args.
2569 set dummy $ac_prog; ac_word=$2
2570 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if test "${ac_cv_prog_EMACS+set}" = set; then
2573 $as_echo_n "(cached) " >&6
2574 else
2575 if test -n "$EMACS"; then
2576 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2577 else
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 for as_dir in $PATH
2581 IFS=$as_save_IFS
2582 test -z "$as_dir" && as_dir=.
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585 ac_cv_prog_EMACS="$ac_prog"
2586 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 break 2
2589 done
2590 done
2591 IFS=$as_save_IFS
2595 EMACS=$ac_cv_prog_EMACS
2596 if test -n "$EMACS"; then
2597 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2598 $as_echo "$EMACS" >&6; }
2599 else
2600 { $as_echo "$as_me:$LINENO: result: no" >&5
2601 $as_echo "no" >&6; }
2605 test -n "$EMACS" && break
2606 done
2607 test -n "$EMACS" || EMACS="no"
2612 # Check whether --with-lispdir was given.
2613 if test "${with_lispdir+set}" = set; then
2614 withval=$with_lispdir; lispdir="$withval"
2615 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2616 $as_echo_n "checking where .elc files should go... " >&6; }
2617 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2618 $as_echo "$lispdir" >&6; }
2619 else
2621 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2622 $as_echo_n "checking where .elc files should go... " >&6; }
2623 if test "${am_cv_lispdir+set}" = set; then
2624 $as_echo_n "(cached) " >&6
2625 else
2627 if test $EMACS != "no"; then
2628 if test x${lispdir+set} != xset; then
2629 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2630 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2631 # which is non-obvious for non-emacs users.
2632 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2633 # emacsen earlier and avoid running this altogether.
2634 { ($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
2635 ($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
2636 ac_status=$?
2637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }
2639 am_cv_lispdir=`sed -n \
2640 -e 's,/$,,' \
2641 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2642 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2643 conftest.out`
2644 rm conftest.out
2647 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2650 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2651 $as_echo "$am_cv_lispdir" >&6; }
2652 lispdir="$am_cv_lispdir"
2660 ## ------------ ##
2661 ## Grep & sed. ##
2662 ## ------------ ##
2663 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2664 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2665 if test "${ac_cv_path_GREP+set}" = set; then
2666 $as_echo_n "(cached) " >&6
2667 else
2668 if test -z "$GREP"; then
2669 ac_path_GREP_found=false
2670 # Loop through the user's path and test for each of PROGNAME-LIST
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2674 IFS=$as_save_IFS
2675 test -z "$as_dir" && as_dir=.
2676 for ac_prog in grep ggrep; do
2677 for ac_exec_ext in '' $ac_executable_extensions; do
2678 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2679 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2680 # Check for GNU ac_path_GREP and select it if it is found.
2681 # Check for GNU $ac_path_GREP
2682 case `"$ac_path_GREP" --version 2>&1` in
2683 *GNU*)
2684 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2686 ac_count=0
2687 $as_echo_n 0123456789 >"conftest.in"
2688 while :
2690 cat "conftest.in" "conftest.in" >"conftest.tmp"
2691 mv "conftest.tmp" "conftest.in"
2692 cp "conftest.in" "conftest.nl"
2693 $as_echo 'GREP' >> "conftest.nl"
2694 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2695 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2696 ac_count=`expr $ac_count + 1`
2697 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2698 # Best one so far, save it but keep looking for a better one
2699 ac_cv_path_GREP="$ac_path_GREP"
2700 ac_path_GREP_max=$ac_count
2702 # 10*(2^10) chars as input seems more than enough
2703 test $ac_count -gt 10 && break
2704 done
2705 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2706 esac
2708 $ac_path_GREP_found && break 3
2709 done
2710 done
2711 done
2712 IFS=$as_save_IFS
2713 if test -z "$ac_cv_path_GREP"; then
2714 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2715 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2716 { (exit 1); exit 1; }; }
2718 else
2719 ac_cv_path_GREP=$GREP
2723 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2724 $as_echo "$ac_cv_path_GREP" >&6; }
2725 GREP="$ac_cv_path_GREP"
2728 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2729 $as_echo_n "checking for egrep... " >&6; }
2730 if test "${ac_cv_path_EGREP+set}" = set; then
2731 $as_echo_n "(cached) " >&6
2732 else
2733 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2734 then ac_cv_path_EGREP="$GREP -E"
2735 else
2736 if test -z "$EGREP"; then
2737 ac_path_EGREP_found=false
2738 # Loop through the user's path and test for each of PROGNAME-LIST
2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2742 IFS=$as_save_IFS
2743 test -z "$as_dir" && as_dir=.
2744 for ac_prog in egrep; do
2745 for ac_exec_ext in '' $ac_executable_extensions; do
2746 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2747 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2748 # Check for GNU ac_path_EGREP and select it if it is found.
2749 # Check for GNU $ac_path_EGREP
2750 case `"$ac_path_EGREP" --version 2>&1` in
2751 *GNU*)
2752 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2754 ac_count=0
2755 $as_echo_n 0123456789 >"conftest.in"
2756 while :
2758 cat "conftest.in" "conftest.in" >"conftest.tmp"
2759 mv "conftest.tmp" "conftest.in"
2760 cp "conftest.in" "conftest.nl"
2761 $as_echo 'EGREP' >> "conftest.nl"
2762 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2764 ac_count=`expr $ac_count + 1`
2765 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2766 # Best one so far, save it but keep looking for a better one
2767 ac_cv_path_EGREP="$ac_path_EGREP"
2768 ac_path_EGREP_max=$ac_count
2770 # 10*(2^10) chars as input seems more than enough
2771 test $ac_count -gt 10 && break
2772 done
2773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2774 esac
2776 $ac_path_EGREP_found && break 3
2777 done
2778 done
2779 done
2780 IFS=$as_save_IFS
2781 if test -z "$ac_cv_path_EGREP"; then
2782 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2783 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2784 { (exit 1); exit 1; }; }
2786 else
2787 ac_cv_path_EGREP=$EGREP
2792 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2793 $as_echo "$ac_cv_path_EGREP" >&6; }
2794 EGREP="$ac_cv_path_EGREP"
2797 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2798 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2799 if test "${ac_cv_path_SED+set}" = set; then
2800 $as_echo_n "(cached) " >&6
2801 else
2802 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2803 for ac_i in 1 2 3 4 5 6 7; do
2804 ac_script="$ac_script$as_nl$ac_script"
2805 done
2806 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2807 $as_unset ac_script || ac_script=
2808 if test -z "$SED"; then
2809 ac_path_SED_found=false
2810 # Loop through the user's path and test for each of PROGNAME-LIST
2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 for as_dir in $PATH
2814 IFS=$as_save_IFS
2815 test -z "$as_dir" && as_dir=.
2816 for ac_prog in sed gsed; do
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2819 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2820 # Check for GNU ac_path_SED and select it if it is found.
2821 # Check for GNU $ac_path_SED
2822 case `"$ac_path_SED" --version 2>&1` in
2823 *GNU*)
2824 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2826 ac_count=0
2827 $as_echo_n 0123456789 >"conftest.in"
2828 while :
2830 cat "conftest.in" "conftest.in" >"conftest.tmp"
2831 mv "conftest.tmp" "conftest.in"
2832 cp "conftest.in" "conftest.nl"
2833 $as_echo '' >> "conftest.nl"
2834 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2835 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2836 ac_count=`expr $ac_count + 1`
2837 if test $ac_count -gt ${ac_path_SED_max-0}; then
2838 # Best one so far, save it but keep looking for a better one
2839 ac_cv_path_SED="$ac_path_SED"
2840 ac_path_SED_max=$ac_count
2842 # 10*(2^10) chars as input seems more than enough
2843 test $ac_count -gt 10 && break
2844 done
2845 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2846 esac
2848 $ac_path_SED_found && break 3
2849 done
2850 done
2851 done
2852 IFS=$as_save_IFS
2853 if test -z "$ac_cv_path_SED"; then
2854 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2855 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2856 { (exit 1); exit 1; }; }
2858 else
2859 ac_cv_path_SED=$SED
2863 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2864 $as_echo "$ac_cv_path_SED" >&6; }
2865 SED="$ac_cv_path_SED"
2866 rm -f conftest.sed
2870 ## ------------ ##
2871 ## Conclusion. ##
2872 ## ------------ ##
2874 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"
2877 cat >confcache <<\_ACEOF
2878 # This file is a shell script that caches the results of configure
2879 # tests run on this system so they can be shared between configure
2880 # scripts and configure runs, see configure's option --config-cache.
2881 # It is not useful on other systems. If it contains results you don't
2882 # want to keep, you may remove or edit it.
2884 # config.status only pays attention to the cache file if you give it
2885 # the --recheck option to rerun configure.
2887 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2888 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2889 # following values.
2891 _ACEOF
2893 # The following way of writing the cache mishandles newlines in values,
2894 # but we know of no workaround that is simple, portable, and efficient.
2895 # So, we kill variables containing newlines.
2896 # Ultrix sh set writes to stderr and can't be redirected directly,
2897 # and sets the high bit in the cache file unless we assign to the vars.
2899 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2900 eval ac_val=\$$ac_var
2901 case $ac_val in #(
2902 *${as_nl}*)
2903 case $ac_var in #(
2904 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2905 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2906 esac
2907 case $ac_var in #(
2908 _ | IFS | as_nl) ;; #(
2909 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2910 *) $as_unset $ac_var ;;
2911 esac ;;
2912 esac
2913 done
2915 (set) 2>&1 |
2916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2917 *${as_nl}ac_space=\ *)
2918 # `set' does not quote correctly, so add quotes (double-quote
2919 # substitution turns \\\\ into \\, and sed turns \\ into \).
2920 sed -n \
2921 "s/'/'\\\\''/g;
2922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2923 ;; #(
2925 # `set' quotes correctly as required by POSIX, so do not add quotes.
2926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2928 esac |
2929 sort
2931 sed '
2932 /^ac_cv_env_/b end
2933 t clear
2934 :clear
2935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2936 t end
2937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2938 :end' >>confcache
2939 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2940 if test -w "$cache_file"; then
2941 test "x$cache_file" != "x/dev/null" &&
2942 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2943 $as_echo "$as_me: updating cache $cache_file" >&6;}
2944 cat confcache >$cache_file
2945 else
2946 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2947 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2950 rm -f confcache
2952 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2953 # Let make expand exec_prefix.
2954 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2956 # Transform confdefs.h into DEFS.
2957 # Protect against shell expansion while executing Makefile rules.
2958 # Protect against Makefile macro expansion.
2960 # If the first sed substitution is executed (which looks for macros that
2961 # take arguments), then branch to the quote section. Otherwise,
2962 # look for a macro that doesn't take arguments.
2963 ac_script='
2964 t clear
2965 :clear
2966 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2967 t quote
2968 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2969 t quote
2970 b any
2971 :quote
2972 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2973 s/\[/\\&/g
2974 s/\]/\\&/g
2975 s/\$/$$/g
2977 :any
2980 s/^\n//
2981 s/\n/ /g
2985 DEFS=`sed -n "$ac_script" confdefs.h`
2988 ac_libobjs=
2989 ac_ltlibobjs=
2990 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2991 # 1. Remove the extension, and $U if already installed.
2992 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2993 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2994 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2995 # will be set to the directory where LIBOBJS objects are built.
2996 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2997 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2998 done
2999 LIBOBJS=$ac_libobjs
3001 LTLIBOBJS=$ac_ltlibobjs
3005 : ${CONFIG_STATUS=./config.status}
3006 ac_clean_files_save=$ac_clean_files
3007 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3008 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3009 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3010 cat >$CONFIG_STATUS <<_ACEOF
3011 #! $SHELL
3012 # Generated by $as_me.
3013 # Run this file to recreate the current configuration.
3014 # Compiler output produced by configure, useful for debugging
3015 # configure, is in config.log if it exists.
3017 debug=false
3018 ac_cs_recheck=false
3019 ac_cs_silent=false
3020 SHELL=\${CONFIG_SHELL-$SHELL}
3021 _ACEOF
3023 cat >>$CONFIG_STATUS <<\_ACEOF
3024 ## --------------------- ##
3025 ## M4sh Initialization. ##
3026 ## --------------------- ##
3028 # Be more Bourne compatible
3029 DUALCASE=1; export DUALCASE # for MKS sh
3030 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3031 emulate sh
3032 NULLCMD=:
3033 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3034 # is contrary to our usage. Disable this feature.
3035 alias -g '${1+"$@"}'='"$@"'
3036 setopt NO_GLOB_SUBST
3037 else
3038 case `(set -o) 2>/dev/null` in
3039 *posix*) set -o posix ;;
3040 esac
3047 # PATH needs CR
3048 # Avoid depending upon Character Ranges.
3049 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3050 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3051 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3052 as_cr_digits='0123456789'
3053 as_cr_alnum=$as_cr_Letters$as_cr_digits
3055 as_nl='
3057 export as_nl
3058 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3059 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3060 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3061 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3062 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3063 as_echo='printf %s\n'
3064 as_echo_n='printf %s'
3065 else
3066 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3067 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3068 as_echo_n='/usr/ucb/echo -n'
3069 else
3070 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3071 as_echo_n_body='eval
3072 arg=$1;
3073 case $arg in
3074 *"$as_nl"*)
3075 expr "X$arg" : "X\\(.*\\)$as_nl";
3076 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3077 esac;
3078 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3080 export as_echo_n_body
3081 as_echo_n='sh -c $as_echo_n_body as_echo'
3083 export as_echo_body
3084 as_echo='sh -c $as_echo_body as_echo'
3087 # The user is always right.
3088 if test "${PATH_SEPARATOR+set}" != set; then
3089 echo "#! /bin/sh" >conf$$.sh
3090 echo "exit 0" >>conf$$.sh
3091 chmod +x conf$$.sh
3092 if (PATH="/nonexistent;."; FPATH=$PATH; conf$$.sh) >/dev/null 2>&1; then
3093 PATH_SEPARATOR=';'
3094 else
3095 PATH_SEPARATOR=:
3097 rm -f conf$$.sh
3100 # Support unset when possible.
3101 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3102 as_unset=unset
3103 else
3104 as_unset=false
3108 # IFS
3109 # We need space, tab and new line, in precisely that order. Quoting is
3110 # there to prevent editors from complaining about space-tab.
3111 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3112 # splitting by setting IFS to empty value.)
3113 IFS=" "" $as_nl"
3115 # Find who we are. Look in the path if we contain no directory separator.
3116 case $0 in
3117 *[\\/]* ) as_myself=$0 ;;
3118 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 for as_dir in $PATH
3121 IFS=$as_save_IFS
3122 test -z "$as_dir" && as_dir=.
3123 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3124 done
3125 IFS=$as_save_IFS
3128 esac
3129 # We did not find ourselves, most probably we were run as `sh COMMAND'
3130 # in which case we are not to be found in the path.
3131 if test "x$as_myself" = x; then
3132 as_myself=$0
3134 if test ! -f "$as_myself"; then
3135 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3136 { (exit 1); exit 1; }
3139 # Work around bugs in pre-3.0 UWIN ksh.
3140 for as_var in ENV MAIL MAILPATH
3141 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3142 done
3143 PS1='$ '
3144 PS2='> '
3145 PS4='+ '
3147 # NLS nuisances.
3148 for as_var in \
3149 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3150 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3151 LC_TELEPHONE LC_TIME
3153 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3154 eval $as_var=C; export $as_var
3155 else
3156 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3158 done
3160 # Required to use basename.
3161 if expr a : '\(a\)' >/dev/null 2>&1 &&
3162 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3163 as_expr=expr
3164 else
3165 as_expr=false
3168 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3169 as_basename=basename
3170 else
3171 as_basename=false
3175 # Name of the executable.
3176 as_me=`$as_basename -- "$0" ||
3177 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3178 X"$0" : 'X\(//\)$' \| \
3179 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3180 $as_echo X/"$0" |
3181 sed '/^.*\/\([^/][^/]*\)\/*$/{
3182 s//\1/
3185 /^X\/\(\/\/\)$/{
3186 s//\1/
3189 /^X\/\(\/\).*/{
3190 s//\1/
3193 s/.*/./; q'`
3195 # CDPATH.
3196 $as_unset CDPATH
3200 as_lineno_1=$LINENO
3201 as_lineno_2=$LINENO
3202 test "x$as_lineno_1" != "x$as_lineno_2" &&
3203 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3205 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3206 # uniformly replaced by the line number. The first 'sed' inserts a
3207 # line-number line after each line using $LINENO; the second 'sed'
3208 # does the real work. The second script uses 'N' to pair each
3209 # line-number line with the line containing $LINENO, and appends
3210 # trailing '-' during substitution so that $LINENO is not a special
3211 # case at line end.
3212 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3213 # scripts with optimization help from Paolo Bonzini. Blame Lee
3214 # E. McMahon (1931-1989) for sed's syntax. :-)
3215 sed -n '
3217 /[$]LINENO/=
3218 ' <$as_myself |
3219 sed '
3220 s/[$]LINENO.*/&-/
3221 t lineno
3223 :lineno
3225 :loop
3226 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3227 t loop
3228 s/-\n.*//
3229 ' >$as_me.lineno &&
3230 chmod +x "$as_me.lineno" ||
3231 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3232 { (exit 1); exit 1; }; }
3234 # Don't try to exec as it changes $[0], causing all sort of problems
3235 # (the dirname of $[0] is not the place where we might find the
3236 # original and so on. Autoconf is especially sensitive to this).
3237 . "./$as_me.lineno"
3238 # Exit status is that of the last command.
3239 exit
3243 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3244 as_dirname=dirname
3245 else
3246 as_dirname=false
3249 ECHO_C= ECHO_N= ECHO_T=
3250 case `echo -n x` in
3251 -n*)
3252 case `echo 'x\c'` in
3253 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3254 *) ECHO_C='\c';;
3255 esac;;
3257 ECHO_N='-n';;
3258 esac
3259 if expr a : '\(a\)' >/dev/null 2>&1 &&
3260 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3261 as_expr=expr
3262 else
3263 as_expr=false
3266 rm -f conf$$ conf$$.exe conf$$.file
3267 if test -d conf$$.dir; then
3268 rm -f conf$$.dir/conf$$.file
3269 else
3270 rm -f conf$$.dir
3271 mkdir conf$$.dir
3273 echo >conf$$.file
3274 if ln -s conf$$.file conf$$ 2>/dev/null; then
3275 as_ln_s='ln -s'
3276 # ... but there are two gotchas:
3277 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3278 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3279 # In both cases, we have to default to `cp -p'.
3280 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3281 as_ln_s='cp -p'
3282 elif ln conf$$.file conf$$ 2>/dev/null; then
3283 as_ln_s=ln
3284 else
3285 as_ln_s='cp -p'
3287 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3288 rmdir conf$$.dir 2>/dev/null
3290 if mkdir -p . 2>/dev/null; then
3291 as_mkdir_p=:
3292 else
3293 test -d ./-p && rmdir ./-p
3294 as_mkdir_p=false
3297 if test -x / >/dev/null 2>&1; then
3298 as_test_x='test -x'
3299 else
3300 if ls -dL / >/dev/null 2>&1; then
3301 as_ls_L_option=L
3302 else
3303 as_ls_L_option=
3305 as_test_x='
3306 eval sh -c '\''
3307 if test -d "$1"; then
3308 test -d "$1/.";
3309 else
3310 case $1 in
3311 -*)set "./$1";;
3312 esac;
3313 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3314 ???[sx]*):;;*)false;;esac;fi
3315 '\'' sh
3318 as_executable_p=$as_test_x
3320 # Sed expression to map a string onto a valid CPP name.
3321 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3323 # Sed expression to map a string onto a valid variable name.
3324 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3327 exec 6>&1
3329 # Save the log message, to keep $[0] and so on meaningful, and to
3330 # report actual input values of CONFIG_FILES etc. instead of their
3331 # values after options handling.
3332 ac_log="
3333 This file was extended by GNU Autoconf $as_me 2.61b, which was
3334 generated by GNU Autoconf 2.61b. Invocation command line was
3336 CONFIG_FILES = $CONFIG_FILES
3337 CONFIG_HEADERS = $CONFIG_HEADERS
3338 CONFIG_LINKS = $CONFIG_LINKS
3339 CONFIG_COMMANDS = $CONFIG_COMMANDS
3340 $ $0 $@
3342 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3345 _ACEOF
3347 cat >>$CONFIG_STATUS <<_ACEOF
3348 # Files that config.status was made for.
3349 config_files="$ac_config_files"
3350 config_commands="$ac_config_commands"
3352 _ACEOF
3354 cat >>$CONFIG_STATUS <<\_ACEOF
3355 ac_cs_usage="\
3356 \`$as_me' instantiates files from templates according to the
3357 current configuration.
3359 Usage: $0 [OPTIONS] [FILE]...
3361 -h, --help print this help, then exit
3362 -V, --version print version number and configuration settings, then exit
3363 -q, --quiet do not print progress messages
3364 -d, --debug don't remove temporary files
3365 --recheck update $as_me by reconfiguring in the same conditions
3366 --file=FILE[:TEMPLATE]
3367 instantiate the configuration file FILE
3369 Configuration files:
3370 $config_files
3372 Configuration commands:
3373 $config_commands
3375 Report bugs to <bug-autoconf@gnu.org>."
3377 _ACEOF
3378 cat >>$CONFIG_STATUS <<_ACEOF
3379 ac_cs_version="\\
3380 GNU Autoconf config.status 2.61b
3381 configured by $0, generated by GNU Autoconf 2.61b,
3382 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3384 Copyright (C) 2007 Free Software Foundation, Inc.
3385 This config.status script is free software; the Free Software Foundation
3386 gives unlimited permission to copy, distribute and modify it."
3388 ac_pwd='$ac_pwd'
3389 srcdir='$srcdir'
3390 INSTALL='$INSTALL'
3391 MKDIR_P='$MKDIR_P'
3392 AWK='$AWK'
3393 test -n "\$AWK" || AWK=awk
3394 _ACEOF
3396 cat >>$CONFIG_STATUS <<\_ACEOF
3397 # The default lists apply if the user does not specify any file.
3398 ac_need_defaults=:
3399 while test $# != 0
3401 case $1 in
3402 --*=*)
3403 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3404 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3405 ac_shift=:
3408 ac_option=$1
3409 ac_optarg=$2
3410 ac_shift=shift
3412 esac
3414 case $ac_option in
3415 # Handling of the options.
3416 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3417 ac_cs_recheck=: ;;
3418 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3419 $as_echo "$ac_cs_version"; exit ;;
3420 --debug | --debu | --deb | --de | --d | -d )
3421 debug=: ;;
3422 --file | --fil | --fi | --f )
3423 $ac_shift
3424 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3425 ac_need_defaults=false;;
3426 --he | --h | --help | --hel | -h )
3427 $as_echo "$ac_cs_usage"; exit ;;
3428 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3429 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3430 ac_cs_silent=: ;;
3432 # This is an error.
3433 -*) { $as_echo "$as_me: error: unrecognized option: $1
3434 Try \`$0 --help' for more information." >&2
3435 { (exit 1); exit 1; }; } ;;
3437 *) ac_config_targets="$ac_config_targets $1"
3438 ac_need_defaults=false ;;
3440 esac
3441 shift
3442 done
3444 ac_configure_extra_args=
3446 if $ac_cs_silent; then
3447 exec 6>/dev/null
3448 ac_configure_extra_args="$ac_configure_extra_args --silent"
3451 _ACEOF
3452 cat >>$CONFIG_STATUS <<_ACEOF
3453 if \$ac_cs_recheck; then
3454 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3455 shift
3456 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3457 CONFIG_SHELL='$SHELL'
3458 export CONFIG_SHELL
3459 exec "\$@"
3462 _ACEOF
3463 cat >>$CONFIG_STATUS <<\_ACEOF
3464 exec 5>>config.log
3466 echo
3467 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3468 ## Running $as_me. ##
3469 _ASBOX
3470 $as_echo "$ac_log"
3471 } >&5
3473 _ACEOF
3474 cat >>$CONFIG_STATUS <<_ACEOF
3475 _ACEOF
3477 cat >>$CONFIG_STATUS <<\_ACEOF
3479 # Handling of arguments.
3480 for ac_config_target in $ac_config_targets
3482 case $ac_config_target in
3483 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3484 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3485 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3486 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3487 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3488 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3489 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3490 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3491 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3492 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3493 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3494 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3495 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3496 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3498 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3499 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3500 { (exit 1); exit 1; }; };;
3501 esac
3502 done
3505 # If the user did not use the arguments to specify the items to instantiate,
3506 # then the envvar interface is used. Set only those that are not.
3507 # We use the long form for the default assignment because of an extremely
3508 # bizarre bug on SunOS 4.1.3.
3509 if $ac_need_defaults; then
3510 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3511 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3514 # Have a temporary directory for convenience. Make it in the build tree
3515 # simply because there is no reason against having it here, and in addition,
3516 # creating and moving files from /tmp can sometimes cause problems.
3517 # Hook for its removal unless debugging.
3518 # Note that there is a small window in which the directory will not be cleaned:
3519 # after its creation but before its name has been assigned to `$tmp'.
3520 $debug ||
3522 tmp=
3523 trap 'exit_status=$?
3524 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3526 trap '{ (exit 1); exit 1; }' 1 2 13 15
3528 # Create a (secure) tmp directory for tmp files.
3531 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3532 test -n "$tmp" && test -d "$tmp"
3533 } ||
3535 tmp=./conf$$-$RANDOM
3536 (umask 077 && mkdir "$tmp")
3537 } ||
3539 $as_echo "$me: cannot create a temporary directory in ." >&2
3540 { (exit 1); exit 1; }
3543 # Set up the scripts for CONFIG_FILES section.
3544 # No need to generate them if there are no CONFIG_FILES.
3545 # This happens for instance with `./config.status config.h'.
3546 if test -n "$CONFIG_FILES"; then
3549 ac_cr=' '
3550 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3551 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3552 ac_cs_awk_cr='\\r'
3553 else
3554 ac_cs_awk_cr=$ac_cr
3557 echo 'BEGIN {' >"$tmp/subs1.awk"
3558 _ACEOF
3562 echo "cat >conf$$subs.awk <<_ACEOF"
3563 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3564 echo "_ACEOF"
3565 } >conf$$subs.sh
3566 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3567 ac_delim='%!_!# '
3568 for ac_last_try in false false false false false :; do
3569 . ./conf$$subs.sh
3571 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3572 break
3573 elif $ac_last_try; then
3574 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3575 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3576 { (exit 1); exit 1; }; }
3577 else
3578 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3580 done
3581 rm -f conf$$subs.sh
3583 cat >>$CONFIG_STATUS <<_ACEOF
3584 cat >>"\$tmp/subs1.awk" <<\CEOF
3585 _ACEOF
3586 sed -n '
3588 s/^/S["/; s/!.*/"]=/
3591 s/^[^!]*!//
3592 :repl
3593 t repl
3594 s/'"$ac_delim"'$//
3595 t delim
3598 s/\(.\{148\}\).*/\1/
3599 t more1
3600 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3603 b repl
3604 :more1
3605 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3608 s/.\{148\}//
3609 t nl
3610 :delim
3612 s/\(.\{148\}\).*/\1/
3613 t more2
3614 s/["\\]/\\&/g; s/^/"/; s/$/"/
3617 :more2
3618 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3621 s/.\{148\}//
3622 t delim
3623 ' <conf$$subs.awk | sed '
3624 /^[^"]/{
3626 s/\n//
3628 ' >>$CONFIG_STATUS
3629 rm -f conf$$subs.awk
3630 cat >>$CONFIG_STATUS <<_ACEOF
3631 CEOF
3632 cat >>"\$tmp/subs1.awk" <<CEOF
3633 for (key in S) S_is_set[key] = 1
3634 FS = "\a"
3638 line = $ 0
3639 nfields = split(line, field, "@")
3640 substed = 0
3641 len = length(field[1])
3642 for (i = 2; i < nfields; i++) {
3643 key = field[i]
3644 keylen = length(key)
3645 if (S_is_set[key]) {
3646 value = S[key]
3647 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3648 len += length(value) + length(field[++i])
3649 substed = 1
3650 } else
3651 len += 1 + keylen
3654 print line
3657 CEOF
3658 sed "s/\$ac_cr\\\$//; s/\$ac_cr/\$ac_cs_awk_cr/g" < "\$tmp/subs1.awk" > "\$tmp/subs.awk"
3659 _ACEOF
3661 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3662 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3663 # trailing colons and then remove the whole line if VPATH becomes empty
3664 # (actually we leave an empty line to preserve line numbers).
3665 if test "x$srcdir" = x.; then
3666 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3667 s/:*\$(srcdir):*/:/
3668 s/:*\${srcdir}:*/:/
3669 s/:*@srcdir@:*/:/
3670 s/^\([^=]*=[ ]*\):*/\1/
3671 s/:*$//
3672 s/^[^=]*=[ ]*$//
3676 cat >>$CONFIG_STATUS <<\_ACEOF
3677 fi # test -n "$CONFIG_FILES"
3680 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3682 case $ac_tag in
3683 :[FHLC]) ac_mode=$ac_tag; continue;;
3684 esac
3685 case $ac_mode$ac_tag in
3686 :[FHL]*:*);;
3687 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3688 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3689 { (exit 1); exit 1; }; };;
3690 :[FH]-) ac_tag=-:-;;
3691 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3692 esac
3693 ac_save_IFS=$IFS
3694 IFS=:
3695 set x $ac_tag
3696 IFS=$ac_save_IFS
3697 shift
3698 ac_file=$1
3699 shift
3701 case $ac_mode in
3702 :L) ac_source=$1;;
3703 :[FH])
3704 ac_file_inputs=
3705 for ac_f
3707 case $ac_f in
3708 -) ac_f="$tmp/stdin";;
3709 *) # Look for the file first in the build tree, then in the source tree
3710 # (if the path is not absolute). The absolute path cannot be DOS-style,
3711 # because $ac_f cannot contain `:'.
3712 test -f "$ac_f" ||
3713 case $ac_f in
3714 [\\/$]*) false;;
3715 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3716 esac ||
3717 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3718 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3719 { (exit 1); exit 1; }; };;
3720 esac
3721 ac_file_inputs="$ac_file_inputs $ac_f"
3722 done
3724 # Let's still pretend it is `configure' which instantiates (i.e., don't
3725 # use $as_me), people would be surprised to read:
3726 # /* config.h. Generated by config.status. */
3727 configure_input='Generated from '`
3728 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3729 `' by configure.'
3730 if test x"$ac_file" != x-; then
3731 configure_input="$ac_file. $configure_input"
3732 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3733 $as_echo "$as_me: creating $ac_file" >&6;}
3736 case $ac_tag in
3737 *:-:* | *:-) cat >"$tmp/stdin";;
3738 esac
3740 esac
3742 ac_dir=`$as_dirname -- "$ac_file" ||
3743 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3744 X"$ac_file" : 'X\(//\)[^/]' \| \
3745 X"$ac_file" : 'X\(//\)$' \| \
3746 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3747 $as_echo X"$ac_file" |
3748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3749 s//\1/
3752 /^X\(\/\/\)[^/].*/{
3753 s//\1/
3756 /^X\(\/\/\)$/{
3757 s//\1/
3760 /^X\(\/\).*/{
3761 s//\1/
3764 s/.*/./; q'`
3765 { as_dir="$ac_dir"
3766 case $as_dir in #(
3767 -*) as_dir=./$as_dir;;
3768 esac
3769 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3770 as_dirs=
3771 while :; do
3772 case $as_dir in #(
3773 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3774 *) as_qdir=$as_dir;;
3775 esac
3776 as_dirs="'$as_qdir' $as_dirs"
3777 as_dir=`$as_dirname -- "$as_dir" ||
3778 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3779 X"$as_dir" : 'X\(//\)[^/]' \| \
3780 X"$as_dir" : 'X\(//\)$' \| \
3781 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3782 $as_echo X"$as_dir" |
3783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3784 s//\1/
3787 /^X\(\/\/\)[^/].*/{
3788 s//\1/
3791 /^X\(\/\/\)$/{
3792 s//\1/
3795 /^X\(\/\).*/{
3796 s//\1/
3799 s/.*/./; q'`
3800 test -d "$as_dir" && break
3801 done
3802 test -z "$as_dirs" || eval "mkdir $as_dirs"
3803 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3804 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3805 { (exit 1); exit 1; }; }; }
3806 ac_builddir=.
3808 case "$ac_dir" in
3809 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3811 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3812 # A ".." for each directory in $ac_dir_suffix.
3813 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3814 case $ac_top_builddir_sub in
3815 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3816 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3817 esac ;;
3818 esac
3819 ac_abs_top_builddir=$ac_pwd
3820 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3821 # for backward compatibility:
3822 ac_top_builddir=$ac_top_build_prefix
3824 case $srcdir in
3825 .) # We are building in place.
3826 ac_srcdir=.
3827 ac_top_srcdir=$ac_top_builddir_sub
3828 ac_abs_top_srcdir=$ac_pwd ;;
3829 [\\/]* | ?:[\\/]* ) # Absolute name.
3830 ac_srcdir=$srcdir$ac_dir_suffix;
3831 ac_top_srcdir=$srcdir
3832 ac_abs_top_srcdir=$srcdir ;;
3833 *) # Relative name.
3834 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3835 ac_top_srcdir=$ac_top_build_prefix$srcdir
3836 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3837 esac
3838 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3841 case $ac_mode in
3844 # CONFIG_FILE
3847 case $INSTALL in
3848 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3849 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3850 esac
3851 ac_MKDIR_P=$MKDIR_P
3852 case $MKDIR_P in
3853 [\\/$]* | ?:[\\/]* ) ;;
3854 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3855 esac
3856 _ACEOF
3858 cat >>$CONFIG_STATUS <<\_ACEOF
3859 # If the template does not know about datarootdir, expand it.
3860 # FIXME: This hack should be removed a few years after 2.60.
3861 ac_datarootdir_hack=; ac_datarootdir_seen=
3863 case `sed -n '/datarootdir/ {
3867 /@datadir@/p
3868 /@docdir@/p
3869 /@infodir@/p
3870 /@localedir@/p
3871 /@mandir@/p
3872 ' $ac_file_inputs` in
3873 *datarootdir*) ac_datarootdir_seen=yes;;
3874 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3875 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3876 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3877 _ACEOF
3878 cat >>$CONFIG_STATUS <<_ACEOF
3879 ac_datarootdir_hack='
3880 s&@datadir@&$datadir&g
3881 s&@docdir@&$docdir&g
3882 s&@infodir@&$infodir&g
3883 s&@localedir@&$localedir&g
3884 s&@mandir@&$mandir&g
3885 s&\\\${datarootdir}&$datarootdir&g' ;;
3886 esac
3887 _ACEOF
3889 # Neutralize VPATH when `$srcdir' = `.'.
3890 # Shell code in configure.ac might set extrasub.
3891 # FIXME: do we really want to maintain this feature?
3892 cat >>$CONFIG_STATUS <<_ACEOF
3893 sed "$ac_vpsub
3894 $extrasub
3895 _ACEOF
3896 cat >>$CONFIG_STATUS <<\_ACEOF
3898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3899 s&@configure_input@&$configure_input&;t t
3900 s&@top_builddir@&$ac_top_builddir_sub&;t t
3901 s&@srcdir@&$ac_srcdir&;t t
3902 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3903 s&@top_srcdir@&$ac_top_srcdir&;t t
3904 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3905 s&@builddir@&$ac_builddir&;t t
3906 s&@abs_builddir@&$ac_abs_builddir&;t t
3907 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3908 s&@INSTALL@&$ac_INSTALL&;t t
3909 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3910 $ac_datarootdir_hack
3911 " $ac_file_inputs | $AWK -f "$tmp/subs.awk" >$tmp/out
3913 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3914 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3915 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3916 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3917 which seems to be undefined. Please make sure it is defined." >&5
3918 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3919 which seems to be undefined. Please make sure it is defined." >&2;}
3921 rm -f "$tmp/stdin"
3922 case $ac_file in
3923 -) cat "$tmp/out"; rm -f "$tmp/out";;
3924 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3925 esac
3929 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3930 $as_echo "$as_me: executing $ac_file commands" >&6;}
3932 esac
3935 case $ac_file$ac_mode in
3936 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3937 # Configurable variable values for building test suites.
3938 # Generated by $0.
3939 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3941 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3942 at_testdir='tests'
3943 abs_builddir='$ac_abs_builddir'
3944 at_srcdir='$ac_srcdir'
3945 abs_srcdir='$ac_abs_srcdir'
3946 at_top_srcdir='$ac_top_srcdir'
3947 abs_top_srcdir='$ac_abs_top_srcdir'
3948 at_top_build_prefix='$ac_top_build_prefix'
3949 abs_top_builddir='$ac_abs_top_builddir'
3951 # Backward compatibility with Autotest <= 2.59b:
3952 at_top_builddir=\$at_top_build_prefix
3954 AUTOTEST_PATH='tests'
3956 SHELL=\${CONFIG_SHELL-'$SHELL'}
3957 ATEOF
3960 esac
3961 done # for ac_tag
3964 { (exit 0); exit 0; }
3965 _ACEOF
3966 chmod +x $CONFIG_STATUS
3967 ac_clean_files=$ac_clean_files_save
3970 # configure is writing to config.log, and then calls config.status.
3971 # config.status does its own redirection, appending to config.log.
3972 # Unfortunately, on DOS this fails, as config.log is still kept open
3973 # by configure, so config.status won't be able to write to it; its
3974 # output is simply discarded. So we exec the FD to /dev/null,
3975 # effectively closing config.log, so it can be properly (re)opened and
3976 # appended to by config.status. When coming back to configure, we
3977 # need to make the FD available again.
3978 if test "$no_create" != yes; then
3979 ac_cs_success=:
3980 ac_config_status_args=
3981 test "$silent" = yes &&
3982 ac_config_status_args="$ac_config_status_args --quiet"
3983 exec 5>/dev/null
3984 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3985 exec 5>>config.log
3986 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3987 # would make configure fail if this is the last instruction.
3988 $ac_cs_success || { (exit 1); exit 1; }
3990 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3991 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
3992 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
3995 # Report the state of this version of Autoconf if this is a beta.
3996 cat <<EOF
3998 You are about to use an experimental version of Autoconf. Be sure to
3999 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4001 Below you will find information on the status of this version of Autoconf.
4005 sed -n '/^\* Status/,$p' $srcdir/BUGS