A few more m4sugar improvements, to benefit libtool.
[autoconf/ericb.git] / configure
blobbccfc0a4cb27f9a678dab738c010b037bc6d020f
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 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86 else
87 as_unset=false
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140 else
141 as_expr=false
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146 else
147 as_basename=false
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
161 /^X\/\(\/\/\)$/{
162 s//\1/
165 /^X\/\(\/\).*/{
166 s//\1/
169 s/.*/./; q'`
171 # CDPATH.
172 $as_unset CDPATH
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178 else
179 as_have_required=no
182 if test $as_have_required = yes && (eval ":
183 (as_func_return () {
184 (exit \$1)
186 as_func_success () {
187 as_func_return 0
189 as_func_failure () {
190 as_func_return 1
192 as_func_ret_success () {
193 return 0
195 as_func_ret_failure () {
196 return 1
199 exitcode=0
200 if as_func_success; then
202 else
203 exitcode=1
204 echo as_func_success failed.
207 if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
214 else
215 exitcode=1
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 else
227 exitcode=1
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
240 else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253 done
254 IFS=$as_save_IFS
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 _ASEOF
278 }; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289 else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292 esac
298 (as_func_return () {
299 (exit $1)
301 as_func_success () {
302 as_func_return 0
304 as_func_failure () {
305 as_func_return 1
307 as_func_ret_success () {
308 return 0
310 as_func_ret_failure () {
311 return 1
314 exitcode=0
315 if as_func_success; then
317 else
318 exitcode=1
319 echo as_func_success failed.
322 if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
329 else
330 exitcode=1
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 else
342 exitcode=1
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
354 _ASEOF
355 }; then
356 break
361 done
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
388 (exit \$1)
390 as_func_success () {
391 as_func_return 0
393 as_func_failure () {
394 as_func_return 1
396 as_func_ret_success () {
397 return 0
399 as_func_ret_failure () {
400 return 1
403 exitcode=0
404 if as_func_success; then
406 else
407 exitcode=1
408 echo as_func_success failed.
411 if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
418 else
419 exitcode=1
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 else
431 exitcode=1
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
468 :lineno
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490 else
491 as_dirname=false
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
502 ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507 else
508 as_expr=false
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514 else
515 rm -f conf$$.dir
516 mkdir conf$$.dir
518 echo >conf$$.file
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
532 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
533 rmdir conf$$.dir 2>/dev/null
535 if mkdir -p . 2>/dev/null; then
536 as_mkdir_p=:
537 else
538 test -d ./-p && rmdir ./-p
539 as_mkdir_p=false
542 if test -x / >/dev/null 2>&1; then
543 as_test_x='test -x'
544 else
545 if ls -dL / >/dev/null 2>&1; then
546 as_ls_L_option=L
547 else
548 as_ls_L_option=
550 as_test_x='
551 eval sh -c '\''
552 if test -d "$1"; then
553 test -d "$1/.";
554 else
555 case $1 in
556 -*)set "./$1";;
557 esac;
558 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
559 ???[sx]*):;;*)false;;esac;fi
560 '\'' sh
563 as_executable_p=$as_test_x
565 # Sed expression to map a string onto a valid CPP name.
566 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568 # Sed expression to map a string onto a valid variable name.
569 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573 exec 7<&0 </dev/null 6>&1
575 # Name of the host.
576 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 # Initializations.
583 ac_default_prefix=/usr/local
584 ac_clean_files=
585 ac_config_libobj_dir=.
586 LIBOBJS=
587 cross_compiling=no
588 subdirs=
589 MFLAGS=
590 MAKEFLAGS=
591 SHELL=${CONFIG_SHELL-/bin/sh}
593 # Identity of this package.
594 PACKAGE_NAME='GNU Autoconf'
595 PACKAGE_TARNAME='autoconf'
596 PACKAGE_VERSION='2.61b'
597 PACKAGE_STRING='GNU Autoconf 2.61b'
598 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
600 ac_unique_file="ChangeLog"
601 ac_subst_vars='SHELL
602 PATH_SEPARATOR
603 PACKAGE_NAME
604 PACKAGE_TARNAME
605 PACKAGE_VERSION
606 PACKAGE_STRING
607 PACKAGE_BUGREPORT
608 exec_prefix
609 prefix
610 program_transform_name
611 bindir
612 sbindir
613 libexecdir
614 datarootdir
615 datadir
616 sysconfdir
617 sharedstatedir
618 localstatedir
619 includedir
620 oldincludedir
621 docdir
622 infodir
623 htmldir
624 dvidir
625 pdfdir
626 psdir
627 libdir
628 localedir
629 mandir
630 DEFS
631 ECHO_C
632 ECHO_N
633 ECHO_T
634 LIBS
635 build_alias
636 host_alias
637 target_alias
638 INSTALL_PROGRAM
639 INSTALL_SCRIPT
640 INSTALL_DATA
641 am__isrc
642 CYGPATH_W
643 PACKAGE
644 VERSION
645 ACLOCAL
646 AUTOCONF
647 AUTOMAKE
648 AUTOHEADER
649 MAKEINFO
650 install_sh
651 STRIP
652 INSTALL_STRIP_PROGRAM
653 MKDIR_P
654 mkdir_p
656 SET_MAKE
657 am__leading_dot
658 AMTAR
659 am__tar
660 am__untar
661 ac_cv_sh_n_works
662 EXPR
664 M4_DEBUGFILE
665 HELP2MAN
666 PERL
667 TEST_EMACS
668 EMACS
669 EMACSLOADPATH
670 lispdir
671 GREP
672 EGREP
674 LIBOBJS
675 LTLIBOBJS'
676 ac_subst_files=''
677 ac_user_opts='
678 enable_option_checking
679 with_lispdir
681 ac_precious_vars='build_alias
682 host_alias
683 target_alias
685 EMACS
686 EMACSLOADPATH'
689 # Initialize some variables set by options.
690 ac_init_help=
691 ac_init_version=false
692 ac_unrecognized_opts=
693 ac_unrecognized_sep=
694 # The variables have the same names as the options, with
695 # dashes changed to underlines.
696 cache_file=/dev/null
697 exec_prefix=NONE
698 no_create=
699 no_recursion=
700 prefix=NONE
701 program_prefix=NONE
702 program_suffix=NONE
703 program_transform_name=s,x,x,
704 silent=
705 site=
706 srcdir=
707 verbose=
708 x_includes=NONE
709 x_libraries=NONE
711 # Installation directory options.
712 # These are left unexpanded so users can "make install exec_prefix=/foo"
713 # and all the variables that are supposed to be based on exec_prefix
714 # by default will actually change.
715 # Use braces instead of parens because sh, perl, etc. also accept them.
716 # (The list follows the same order as the GNU Coding Standards.)
717 bindir='${exec_prefix}/bin'
718 sbindir='${exec_prefix}/sbin'
719 libexecdir='${exec_prefix}/libexec'
720 datarootdir='${prefix}/share'
721 datadir='${datarootdir}'
722 sysconfdir='${prefix}/etc'
723 sharedstatedir='${prefix}/com'
724 localstatedir='${prefix}/var'
725 includedir='${prefix}/include'
726 oldincludedir='/usr/include'
727 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
728 infodir='${datarootdir}/info'
729 htmldir='${docdir}'
730 dvidir='${docdir}'
731 pdfdir='${docdir}'
732 psdir='${docdir}'
733 libdir='${exec_prefix}/lib'
734 localedir='${datarootdir}/locale'
735 mandir='${datarootdir}/man'
737 ac_prev=
738 ac_dashdash=
739 for ac_option
741 # If the previous option needs an argument, assign it.
742 if test -n "$ac_prev"; then
743 eval $ac_prev=\$ac_option
744 ac_prev=
745 continue
748 case $ac_option in
749 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
750 *) ac_optarg=yes ;;
751 esac
753 # Accept the important Cygnus configure options, so we can diagnose typos.
755 case $ac_dashdash$ac_option in
757 ac_dashdash=yes ;;
759 -bindir | --bindir | --bindi | --bind | --bin | --bi)
760 ac_prev=bindir ;;
761 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
762 bindir=$ac_optarg ;;
764 -build | --build | --buil | --bui | --bu)
765 ac_prev=build_alias ;;
766 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
767 build_alias=$ac_optarg ;;
769 -cache-file | --cache-file | --cache-fil | --cache-fi \
770 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
771 ac_prev=cache_file ;;
772 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
773 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
774 cache_file=$ac_optarg ;;
776 --config-cache | -C)
777 cache_file=config.cache ;;
779 -datadir | --datadir | --datadi | --datad)
780 ac_prev=datadir ;;
781 -datadir=* | --datadir=* | --datadi=* | --datad=*)
782 datadir=$ac_optarg ;;
784 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
785 | --dataroo | --dataro | --datar)
786 ac_prev=datarootdir ;;
787 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
788 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
789 datarootdir=$ac_optarg ;;
791 -disable-* | --disable-*)
792 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
796 { (exit 1); exit 1; }; }
797 ac_useropt_orig=$ac_useropt
798 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
799 case $ac_user_opts in
801 "enable_$ac_useropt"
802 "*) ;;
803 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
804 ac_unrecognized_sep=', ';;
805 esac
806 eval enable_$ac_useropt=no ;;
808 -docdir | --docdir | --docdi | --doc | --do)
809 ac_prev=docdir ;;
810 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
811 docdir=$ac_optarg ;;
813 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
814 ac_prev=dvidir ;;
815 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
816 dvidir=$ac_optarg ;;
818 -enable-* | --enable-*)
819 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
820 # Reject names that are not valid shell variable names.
821 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
822 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
823 { (exit 1); exit 1; }; }
824 ac_useropt_orig=$ac_useropt
825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
826 case $ac_user_opts in
828 "enable_$ac_useropt"
829 "*) ;;
830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
831 ac_unrecognized_sep=', ';;
832 esac
833 eval enable_$ac_useropt=\$ac_optarg ;;
835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
837 | --exec | --exe | --ex)
838 ac_prev=exec_prefix ;;
839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
841 | --exec=* | --exe=* | --ex=*)
842 exec_prefix=$ac_optarg ;;
844 -gas | --gas | --ga | --g)
845 # Obsolete; use --with-gas.
846 with_gas=yes ;;
848 -help | --help | --hel | --he | -h)
849 ac_init_help=long ;;
850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
851 ac_init_help=recursive ;;
852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
853 ac_init_help=short ;;
855 -host | --host | --hos | --ho)
856 ac_prev=host_alias ;;
857 -host=* | --host=* | --hos=* | --ho=*)
858 host_alias=$ac_optarg ;;
860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
861 ac_prev=htmldir ;;
862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
863 | --ht=*)
864 htmldir=$ac_optarg ;;
866 -includedir | --includedir | --includedi | --included | --include \
867 | --includ | --inclu | --incl | --inc)
868 ac_prev=includedir ;;
869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
870 | --includ=* | --inclu=* | --incl=* | --inc=*)
871 includedir=$ac_optarg ;;
873 -infodir | --infodir | --infodi | --infod | --info | --inf)
874 ac_prev=infodir ;;
875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
876 infodir=$ac_optarg ;;
878 -libdir | --libdir | --libdi | --libd)
879 ac_prev=libdir ;;
880 -libdir=* | --libdir=* | --libdi=* | --libd=*)
881 libdir=$ac_optarg ;;
883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
884 | --libexe | --libex | --libe)
885 ac_prev=libexecdir ;;
886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
887 | --libexe=* | --libex=* | --libe=*)
888 libexecdir=$ac_optarg ;;
890 -localedir | --localedir | --localedi | --localed | --locale)
891 ac_prev=localedir ;;
892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
893 localedir=$ac_optarg ;;
895 -localstatedir | --localstatedir | --localstatedi | --localstated \
896 | --localstate | --localstat | --localsta | --localst | --locals)
897 ac_prev=localstatedir ;;
898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
900 localstatedir=$ac_optarg ;;
902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
903 ac_prev=mandir ;;
904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
905 mandir=$ac_optarg ;;
907 -nfp | --nfp | --nf)
908 # Obsolete; use --without-fp.
909 with_fp=no ;;
911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912 | --no-cr | --no-c | -n)
913 no_create=yes ;;
915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
917 no_recursion=yes ;;
919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
921 | --oldin | --oldi | --old | --ol | --o)
922 ac_prev=oldincludedir ;;
923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
926 oldincludedir=$ac_optarg ;;
928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
929 ac_prev=prefix ;;
930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
931 prefix=$ac_optarg ;;
933 -program-prefix | --program-prefix | --program-prefi | --program-pref \
934 | --program-pre | --program-pr | --program-p)
935 ac_prev=program_prefix ;;
936 -program-prefix=* | --program-prefix=* | --program-prefi=* \
937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
938 program_prefix=$ac_optarg ;;
940 -program-suffix | --program-suffix | --program-suffi | --program-suff \
941 | --program-suf | --program-su | --program-s)
942 ac_prev=program_suffix ;;
943 -program-suffix=* | --program-suffix=* | --program-suffi=* \
944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
945 program_suffix=$ac_optarg ;;
947 -program-transform-name | --program-transform-name \
948 | --program-transform-nam | --program-transform-na \
949 | --program-transform-n | --program-transform- \
950 | --program-transform | --program-transfor \
951 | --program-transfo | --program-transf \
952 | --program-trans | --program-tran \
953 | --progr-tra | --program-tr | --program-t)
954 ac_prev=program_transform_name ;;
955 -program-transform-name=* | --program-transform-name=* \
956 | --program-transform-nam=* | --program-transform-na=* \
957 | --program-transform-n=* | --program-transform-=* \
958 | --program-transform=* | --program-transfor=* \
959 | --program-transfo=* | --program-transf=* \
960 | --program-trans=* | --program-tran=* \
961 | --progr-tra=* | --program-tr=* | --program-t=*)
962 program_transform_name=$ac_optarg ;;
964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
965 ac_prev=pdfdir ;;
966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
967 pdfdir=$ac_optarg ;;
969 -psdir | --psdir | --psdi | --psd | --ps)
970 ac_prev=psdir ;;
971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
972 psdir=$ac_optarg ;;
974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975 | -silent | --silent | --silen | --sile | --sil)
976 silent=yes ;;
978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
979 ac_prev=sbindir ;;
980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
981 | --sbi=* | --sb=*)
982 sbindir=$ac_optarg ;;
984 -sharedstatedir | --sharedstatedir | --sharedstatedi \
985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986 | --sharedst | --shareds | --shared | --share | --shar \
987 | --sha | --sh)
988 ac_prev=sharedstatedir ;;
989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
992 | --sha=* | --sh=*)
993 sharedstatedir=$ac_optarg ;;
995 -site | --site | --sit)
996 ac_prev=site ;;
997 -site=* | --site=* | --sit=*)
998 site=$ac_optarg ;;
1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1001 ac_prev=srcdir ;;
1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003 srcdir=$ac_optarg ;;
1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006 | --syscon | --sysco | --sysc | --sys | --sy)
1007 ac_prev=sysconfdir ;;
1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1010 sysconfdir=$ac_optarg ;;
1012 -target | --target | --targe | --targ | --tar | --ta | --t)
1013 ac_prev=target_alias ;;
1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1015 target_alias=$ac_optarg ;;
1017 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1018 verbose=yes ;;
1020 -version | --version | --versio | --versi | --vers | -V)
1021 ac_init_version=: ;;
1023 -with-* | --with-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1028 { (exit 1); exit 1; }; }
1029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1031 case $ac_user_opts in
1033 "with_$ac_useropt"
1034 "*) ;;
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1037 esac
1038 eval with_$ac_useropt=\$ac_optarg ;;
1040 -without-* | --without-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1044 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1045 { (exit 1); exit 1; }; }
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1048 case $ac_user_opts in
1050 "with_$ac_useropt"
1051 "*) ;;
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1054 esac
1055 eval with_$ac_useropt=no ;;
1057 --x)
1058 # Obsolete; use --with-x.
1059 with_x=yes ;;
1061 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1062 | --x-incl | --x-inc | --x-in | --x-i)
1063 ac_prev=x_includes ;;
1064 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1065 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1066 x_includes=$ac_optarg ;;
1068 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1069 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1070 ac_prev=x_libraries ;;
1071 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1072 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1073 x_libraries=$ac_optarg ;;
1075 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1076 Try \`$0 --help' for more information." >&2
1077 { (exit 1); exit 1; }; }
1080 *=*)
1081 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1084 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1085 { (exit 1); exit 1; }; }
1086 eval $ac_envvar=\$ac_optarg
1087 export $ac_envvar ;;
1090 # FIXME: should be removed in autoconf 3.0.
1091 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1092 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1093 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1094 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1097 esac
1098 done
1100 if test -n "$ac_prev"; then
1101 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1102 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1103 { (exit 1); exit 1; }; }
1106 if test -n "$ac_unrecognized_opts"; then
1107 case $enable_option_checking in
1108 no) ;;
1109 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1110 { (exit 1); exit 1; }; } ;;
1111 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1112 esac
1115 # Check all directory arguments for consistency.
1116 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1117 datadir sysconfdir sharedstatedir localstatedir includedir \
1118 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1119 libdir localedir mandir
1121 eval ac_val=\$$ac_var
1122 # Remove trailing slashes.
1123 case $ac_val in
1124 */ )
1125 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1126 eval $ac_var=\$ac_val;;
1127 esac
1128 # Be sure to have absolute directory names.
1129 case $ac_val in
1130 [\\/$]* | ?:[\\/]* ) continue;;
1131 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1132 esac
1133 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1134 { (exit 1); exit 1; }; }
1135 done
1137 # There might be people who depend on the old broken behavior: `$host'
1138 # used to hold the argument of --host etc.
1139 # FIXME: To remove some day.
1140 build=$build_alias
1141 host=$host_alias
1142 target=$target_alias
1144 # FIXME: To remove some day.
1145 if test "x$host_alias" != x; then
1146 if test "x$build_alias" = x; then
1147 cross_compiling=maybe
1148 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1149 If a cross compiler is detected then cross compile mode will be used." >&2
1150 elif test "x$build_alias" != "x$host_alias"; then
1151 cross_compiling=yes
1155 ac_tool_prefix=
1156 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1158 test "$silent" = yes && exec 6>/dev/null
1161 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1162 ac_ls_di=`ls -di .` &&
1163 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1164 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1165 { (exit 1); exit 1; }; }
1166 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1167 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1168 { (exit 1); exit 1; }; }
1171 # Find the source files, if location was not specified.
1172 if test -z "$srcdir"; then
1173 ac_srcdir_defaulted=yes
1174 # Try the directory containing this script, then the parent directory.
1175 ac_confdir=`$as_dirname -- "$0" ||
1176 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177 X"$0" : 'X\(//\)[^/]' \| \
1178 X"$0" : 'X\(//\)$' \| \
1179 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1180 $as_echo X"$0" |
1181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1182 s//\1/
1185 /^X\(\/\/\)[^/].*/{
1186 s//\1/
1189 /^X\(\/\/\)$/{
1190 s//\1/
1193 /^X\(\/\).*/{
1194 s//\1/
1197 s/.*/./; q'`
1198 srcdir=$ac_confdir
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 srcdir=..
1202 else
1203 ac_srcdir_defaulted=no
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1207 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1208 { (exit 1); exit 1; }; }
1210 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1211 ac_abs_confdir=`(
1212 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1213 { (exit 1); exit 1; }; }
1214 pwd)`
1215 # When building in place, set srcdir=.
1216 if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 srcdir=.
1219 # Remove unnecessary trailing slashes from srcdir.
1220 # Double slashes in file names in object file debugging info
1221 # mess up M-x gdb in Emacs.
1222 case $srcdir in
1223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1224 esac
1225 for ac_var in $ac_precious_vars; do
1226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_env_${ac_var}_value=\$${ac_var}
1228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1230 done
1233 # Report the --help message.
1235 if test "$ac_init_help" = "long"; then
1236 # Omit some internal or obsolete options to make the list less imposing.
1237 # This message is too long to be a string in the A/UX 3.1 sh.
1238 cat <<_ACEOF
1239 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1241 Usage: $0 [OPTION]... [VAR=VALUE]...
1243 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244 VAR=VALUE. See below for descriptions of some of the useful variables.
1246 Defaults for the options are specified in brackets.
1248 Configuration:
1249 -h, --help display this help and exit
1250 --help=short display options specific to this package
1251 --help=recursive display the short help of all the included packages
1252 -V, --version display version information and exit
1253 -q, --quiet, --silent do not print \`checking...' messages
1254 --cache-file=FILE cache test results in FILE [disabled]
1255 -C, --config-cache alias for \`--cache-file=config.cache'
1256 -n, --no-create do not create output files
1257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1259 Installation directories:
1260 --prefix=PREFIX install architecture-independent files in PREFIX
1261 [$ac_default_prefix]
1262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 [PREFIX]
1265 By default, \`make install' will install all the files in
1266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268 for instance \`--prefix=\$HOME'.
1270 For better control, use the options below.
1272 Fine tuning of the installation directories:
1273 --bindir=DIR user executables [EPREFIX/bin]
1274 --sbindir=DIR system admin executables [EPREFIX/sbin]
1275 --libexecdir=DIR program executables [EPREFIX/libexec]
1276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279 --libdir=DIR object code libraries [EPREFIX/lib]
1280 --includedir=DIR C header files [PREFIX/include]
1281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1284 --infodir=DIR info documentation [DATAROOTDIR/info]
1285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1286 --mandir=DIR man documentation [DATAROOTDIR/man]
1287 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1288 --htmldir=DIR html documentation [DOCDIR]
1289 --dvidir=DIR dvi documentation [DOCDIR]
1290 --pdfdir=DIR pdf documentation [DOCDIR]
1291 --psdir=DIR ps documentation [DOCDIR]
1292 _ACEOF
1294 cat <<\_ACEOF
1296 Program names:
1297 --program-prefix=PREFIX prepend PREFIX to installed program names
1298 --program-suffix=SUFFIX append SUFFIX to installed program names
1299 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1300 _ACEOF
1303 if test -n "$ac_init_help"; then
1304 case $ac_init_help in
1305 short | recursive ) echo "Configuration of GNU Autoconf 2.61b:";;
1306 esac
1307 cat <<\_ACEOF
1309 Optional Packages:
1310 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1311 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1312 --with-lispdir override the default lisp directory
1314 Some influential environment variables:
1315 M4 Location of GNU M4 1.4.5 or later. Defaults to the first program
1316 of `m4', `gm4', or `gnum4' on PATH that meets Autoconf needs.
1317 EMACS the Emacs editor command
1318 EMACSLOADPATH
1319 the Emacs library search path
1321 Use these variables to override the choices made by `configure' or to help
1322 it to find libraries and programs with nonstandard names/locations.
1324 Report bugs to <bug-autoconf@gnu.org>.
1325 _ACEOF
1326 ac_status=$?
1329 if test "$ac_init_help" = "recursive"; then
1330 # If there are subdirs, report their specific --help.
1331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1332 test -d "$ac_dir" || continue
1333 ac_builddir=.
1335 case "$ac_dir" in
1336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1339 # A ".." for each directory in $ac_dir_suffix.
1340 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1341 case $ac_top_builddir_sub in
1342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 esac ;;
1345 esac
1346 ac_abs_top_builddir=$ac_pwd
1347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348 # for backward compatibility:
1349 ac_top_builddir=$ac_top_build_prefix
1351 case $srcdir in
1352 .) # We are building in place.
1353 ac_srcdir=.
1354 ac_top_srcdir=$ac_top_builddir_sub
1355 ac_abs_top_srcdir=$ac_pwd ;;
1356 [\\/]* | ?:[\\/]* ) # Absolute name.
1357 ac_srcdir=$srcdir$ac_dir_suffix;
1358 ac_top_srcdir=$srcdir
1359 ac_abs_top_srcdir=$srcdir ;;
1360 *) # Relative name.
1361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362 ac_top_srcdir=$ac_top_build_prefix$srcdir
1363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 esac
1365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1367 cd "$ac_dir" || { ac_status=$?; continue; }
1368 # Check for guested configure.
1369 if test -f "$ac_srcdir/configure.gnu"; then
1370 echo &&
1371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372 elif test -f "$ac_srcdir/configure"; then
1373 echo &&
1374 $SHELL "$ac_srcdir/configure" --help=recursive
1375 else
1376 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 fi || ac_status=$?
1378 cd "$ac_pwd" || { ac_status=$?; break; }
1379 done
1382 test -n "$ac_init_help" && exit $ac_status
1383 if $ac_init_version; then
1384 cat <<\_ACEOF
1385 GNU Autoconf configure 2.61b
1386 generated by GNU Autoconf 2.61b
1388 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1389 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
1390 This configure script is free software; the Free Software Foundation
1391 gives unlimited permission to copy, distribute and modify it.
1392 _ACEOF
1393 exit
1395 cat >config.log <<_ACEOF
1396 This file contains any messages produced by compilers while
1397 running configure, to aid debugging if configure makes a mistake.
1399 It was created by GNU Autoconf $as_me 2.61b, which was
1400 generated by GNU Autoconf 2.61b. Invocation command line was
1402 $ $0 $@
1404 _ACEOF
1405 exec 5>>config.log
1407 cat <<_ASUNAME
1408 ## --------- ##
1409 ## Platform. ##
1410 ## --------- ##
1412 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1413 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1414 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1415 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1416 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1418 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1419 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1421 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1422 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1423 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1424 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1425 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1426 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1427 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1429 _ASUNAME
1431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1432 for as_dir in $PATH
1434 IFS=$as_save_IFS
1435 test -z "$as_dir" && as_dir=.
1436 $as_echo "PATH: $as_dir"
1437 done
1438 IFS=$as_save_IFS
1440 } >&5
1442 cat >&5 <<_ACEOF
1445 ## ----------- ##
1446 ## Core tests. ##
1447 ## ----------- ##
1449 _ACEOF
1452 # Keep a trace of the command line.
1453 # Strip out --no-create and --no-recursion so they do not pile up.
1454 # Strip out --silent because we don't want to record it for future runs.
1455 # Also quote any args containing shell meta-characters.
1456 # Make two passes to allow for proper duplicate-argument suppression.
1457 ac_configure_args=
1458 ac_configure_args0=
1459 ac_configure_args1=
1460 ac_must_keep_next=false
1461 for ac_pass in 1 2
1463 for ac_arg
1465 case $ac_arg in
1466 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1468 | -silent | --silent | --silen | --sile | --sil)
1469 continue ;;
1470 *\'*)
1471 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1472 esac
1473 case $ac_pass in
1474 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1476 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1477 if test $ac_must_keep_next = true; then
1478 ac_must_keep_next=false # Got value, back to normal.
1479 else
1480 case $ac_arg in
1481 *=* | --config-cache | -C | -disable-* | --disable-* \
1482 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1483 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1484 | -with-* | --with-* | -without-* | --without-* | --x)
1485 case "$ac_configure_args0 " in
1486 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1487 esac
1489 -* ) ac_must_keep_next=true ;;
1490 esac
1492 ac_configure_args="$ac_configure_args '$ac_arg'"
1494 esac
1495 done
1496 done
1497 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1498 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1500 # When interrupted or exit'd, cleanup temporary files, and complete
1501 # config.log. We remove comments because anyway the quotes in there
1502 # would cause problems or look ugly.
1503 # WARNING: Use '\'' to represent an apostrophe within the trap.
1504 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1505 trap 'exit_status=$?
1506 # Save into config.log some information that might help in debugging.
1508 echo
1510 cat <<\_ASBOX
1511 ## ---------------- ##
1512 ## Cache variables. ##
1513 ## ---------------- ##
1514 _ASBOX
1515 echo
1516 # The following way of writing the cache mishandles newlines in values,
1518 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1519 eval ac_val=\$$ac_var
1520 case $ac_val in #(
1521 *${as_nl}*)
1522 case $ac_var in #(
1523 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1524 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1525 esac
1526 case $ac_var in #(
1527 _ | IFS | as_nl) ;; #(
1528 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1529 *) $as_unset $ac_var ;;
1530 esac ;;
1531 esac
1532 done
1533 (set) 2>&1 |
1534 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1535 *${as_nl}ac_space=\ *)
1536 sed -n \
1537 "s/'\''/'\''\\\\'\'''\''/g;
1538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1539 ;; #(
1541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1543 esac |
1544 sort
1546 echo
1548 cat <<\_ASBOX
1549 ## ----------------- ##
1550 ## Output variables. ##
1551 ## ----------------- ##
1552 _ASBOX
1553 echo
1554 for ac_var in $ac_subst_vars
1556 eval ac_val=\$$ac_var
1557 case $ac_val in
1558 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1559 esac
1560 $as_echo "$ac_var='\''$ac_val'\''"
1561 done | sort
1562 echo
1564 if test -n "$ac_subst_files"; then
1565 cat <<\_ASBOX
1566 ## ------------------- ##
1567 ## File substitutions. ##
1568 ## ------------------- ##
1569 _ASBOX
1570 echo
1571 for ac_var in $ac_subst_files
1573 eval ac_val=\$$ac_var
1574 case $ac_val in
1575 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1576 esac
1577 $as_echo "$ac_var='\''$ac_val'\''"
1578 done | sort
1579 echo
1582 if test -s confdefs.h; then
1583 cat <<\_ASBOX
1584 ## ----------- ##
1585 ## confdefs.h. ##
1586 ## ----------- ##
1587 _ASBOX
1588 echo
1589 cat confdefs.h
1590 echo
1592 test "$ac_signal" != 0 &&
1593 $as_echo "$as_me: caught signal $ac_signal"
1594 $as_echo "$as_me: exit $exit_status"
1595 } >&5
1596 rm -f core *.core core.conftest.* &&
1597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1598 exit $exit_status
1600 for ac_signal in 1 2 13 15; do
1601 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1602 done
1603 ac_signal=0
1605 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1606 rm -f -r conftest* confdefs.h
1608 # Predefined preprocessor variables.
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_NAME "$PACKAGE_NAME"
1612 _ACEOF
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1617 _ACEOF
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1622 _ACEOF
1625 cat >>confdefs.h <<_ACEOF
1626 #define PACKAGE_STRING "$PACKAGE_STRING"
1627 _ACEOF
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1632 _ACEOF
1635 # Let the site file select an alternate cache file if it wants to.
1636 # Prefer an explicitly selected file to automatically selected ones.
1637 ac_site_file1=NONE
1638 ac_site_file2=NONE
1639 if test -n "$CONFIG_SITE"; then
1640 ac_site_file1=$CONFIG_SITE
1641 elif test "x$prefix" != xNONE; then
1642 ac_site_file1=$prefix/share/config.site
1643 ac_site_file2=$prefix/etc/config.site
1644 else
1645 ac_site_file1=$ac_default_prefix/share/config.site
1646 ac_site_file2=$ac_default_prefix/etc/config.site
1648 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1650 test "x$ac_site_file" = xNONE && continue
1651 if test -r "$ac_site_file"; then
1652 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1653 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1654 sed 's/^/| /' "$ac_site_file" >&5
1655 . "$ac_site_file"
1657 done
1659 if test -r "$cache_file"; then
1660 # Some versions of bash will fail to source /dev/null (special
1661 # files actually), so we avoid doing that.
1662 if test -f "$cache_file"; then
1663 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1664 $as_echo "$as_me: loading cache $cache_file" >&6;}
1665 case $cache_file in
1666 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1667 *) . "./$cache_file";;
1668 esac
1670 else
1671 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1672 $as_echo "$as_me: creating cache $cache_file" >&6;}
1673 >$cache_file
1676 # Check that the precious variables saved in the cache have kept the same
1677 # value.
1678 ac_cache_corrupted=false
1679 for ac_var in $ac_precious_vars; do
1680 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1681 eval ac_new_set=\$ac_env_${ac_var}_set
1682 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1683 eval ac_new_val=\$ac_env_${ac_var}_value
1684 case $ac_old_set,$ac_new_set in
1685 set,)
1686 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1687 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1688 ac_cache_corrupted=: ;;
1689 ,set)
1690 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1691 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1692 ac_cache_corrupted=: ;;
1693 ,);;
1695 if test "x$ac_old_val" != "x$ac_new_val"; then
1696 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1697 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1698 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1699 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1700 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1701 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1702 ac_cache_corrupted=:
1703 fi;;
1704 esac
1705 # Pass precious variables to config.status.
1706 if test "$ac_new_set" = set; then
1707 case $ac_new_val in
1708 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1709 *) ac_arg=$ac_var=$ac_new_val ;;
1710 esac
1711 case " $ac_configure_args " in
1712 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1713 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1714 esac
1716 done
1717 if $ac_cache_corrupted; then
1718 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1719 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1720 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1721 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1722 { (exit 1); exit 1; }; }
1749 ac_ext=c
1750 ac_cpp='$CPP $CPPFLAGS'
1751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1758 ac_aux_dir=
1759 for ac_dir in build-aux "$srcdir"/build-aux; do
1760 if test -f "$ac_dir/install-sh"; then
1761 ac_aux_dir=$ac_dir
1762 ac_install_sh="$ac_aux_dir/install-sh -c"
1763 break
1764 elif 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/shtool"; then
1769 ac_aux_dir=$ac_dir
1770 ac_install_sh="$ac_aux_dir/shtool install -c"
1771 break
1773 done
1774 if test -z "$ac_aux_dir"; then
1775 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1776 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1777 { (exit 1); exit 1; }; }
1780 # These three variables are undocumented and unsupported,
1781 # and are intended to be withdrawn in a future Autoconf release.
1782 # They can cause serious problems if a builder's source tree is in a directory
1783 # whose full name contains unusual characters.
1784 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1785 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1786 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1790 am__api_version='1.10'
1792 # Find a good install program. We prefer a C program (faster),
1793 # so one script is as good as another. But avoid the broken or
1794 # incompatible versions:
1795 # SysV /etc/install, /usr/sbin/install
1796 # SunOS /usr/etc/install
1797 # IRIX /sbin/install
1798 # AIX /bin/install
1799 # AmigaOS /C/install, which installs bootblocks on floppy discs
1800 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1801 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1802 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1803 # OS/2's system install, which has a completely different semantic
1804 # ./install, which can be erroneously created by make from ./install.sh.
1805 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1806 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1807 if test -z "$INSTALL"; then
1808 if test "${ac_cv_path_install+set}" = set; then
1809 $as_echo_n "(cached) " >&6
1810 else
1811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1812 for as_dir in $PATH
1814 IFS=$as_save_IFS
1815 test -z "$as_dir" && as_dir=.
1816 # Account for people who put trailing slashes in PATH elements.
1817 case $as_dir/ in
1818 ./ | .// | /cC/* | \
1819 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1820 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1821 /usr/ucb/* ) ;;
1823 # OSF1 and SCO ODT 3.0 have their own names for install.
1824 # Don't use installbsd from OSF since it installs stuff as root
1825 # by default.
1826 for ac_prog in ginstall scoinst install; do
1827 for ac_exec_ext in '' $ac_executable_extensions; do
1828 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1829 if test $ac_prog = install &&
1830 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1831 # AIX install. It has an incompatible calling convention.
1833 elif test $ac_prog = install &&
1834 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1835 # program-specific install script used by HP pwplus--don't use.
1837 else
1838 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1839 break 3
1842 done
1843 done
1845 esac
1846 done
1847 IFS=$as_save_IFS
1851 if test "${ac_cv_path_install+set}" = set; then
1852 INSTALL=$ac_cv_path_install
1853 else
1854 # As a last resort, use the slow shell script. Don't cache a
1855 # value for INSTALL within a source directory, because that will
1856 # break other packages using the cache if that directory is
1857 # removed, or if the value is a relative name.
1858 INSTALL=$ac_install_sh
1861 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1862 $as_echo "$INSTALL" >&6; }
1864 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1865 # It thinks the first close brace ends the variable substitution.
1866 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1868 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1870 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1872 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1873 $as_echo_n "checking whether build environment is sane... " >&6; }
1874 # Just in case
1875 sleep 1
1876 echo timestamp > conftest.file
1877 # Do `set' in a subshell so we don't clobber the current shell's
1878 # arguments. Must try -L first in case configure is actually a
1879 # symlink; some systems play weird games with the mod time of symlinks
1880 # (eg FreeBSD returns the mod time of the symlink's containing
1881 # directory).
1882 if (
1883 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1884 if test "$*" = "X"; then
1885 # -L didn't work.
1886 set X `ls -t $srcdir/configure conftest.file`
1888 rm -f conftest.file
1889 if test "$*" != "X $srcdir/configure conftest.file" \
1890 && test "$*" != "X conftest.file $srcdir/configure"; then
1892 # If neither matched, then we have a broken ls. This can happen
1893 # if, for instance, CONFIG_SHELL is bash and it inherits a
1894 # broken ls alias from the environment. This has actually
1895 # happened. Such a system could not be considered "sane".
1896 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1897 alias in your environment" >&5
1898 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1899 alias in your environment" >&2;}
1900 { (exit 1); exit 1; }; }
1903 test "$2" = conftest.file
1905 then
1906 # Ok.
1908 else
1909 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1910 Check your system clock" >&5
1911 $as_echo "$as_me: error: newly created file is older than distributed files!
1912 Check your system clock" >&2;}
1913 { (exit 1); exit 1; }; }
1915 { $as_echo "$as_me:$LINENO: result: yes" >&5
1916 $as_echo "yes" >&6; }
1917 test "$program_prefix" != NONE &&
1918 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1919 # Use a double $ so make ignores it.
1920 test "$program_suffix" != NONE &&
1921 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1922 # Double any \ or $.
1923 # By default was `s,x,x', remove it if useless.
1924 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1925 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1927 # expand $ac_aux_dir to an absolute path
1928 am_aux_dir=`cd $ac_aux_dir && pwd`
1930 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1931 # Use eval to expand $SHELL
1932 if eval "$MISSING --run true"; then
1933 am_missing_run="$MISSING --run "
1934 else
1935 am_missing_run=
1936 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1937 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1940 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1941 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1942 if test -z "$MKDIR_P"; then
1943 if test "${ac_cv_path_mkdir+set}" = set; then
1944 $as_echo_n "(cached) " >&6
1945 else
1946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1949 IFS=$as_save_IFS
1950 test -z "$as_dir" && as_dir=.
1951 for ac_prog in mkdir gmkdir; do
1952 for ac_exec_ext in '' $ac_executable_extensions; do
1953 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1954 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1955 'mkdir (GNU coreutils) '* | \
1956 'mkdir (coreutils) '* | \
1957 'mkdir (fileutils) '4.1*)
1958 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1959 break 3;;
1960 esac
1961 done
1962 done
1963 done
1964 IFS=$as_save_IFS
1968 if test "${ac_cv_path_mkdir+set}" = set; then
1969 MKDIR_P="$ac_cv_path_mkdir -p"
1970 else
1971 # As a last resort, use the slow shell script. Don't cache a
1972 # value for MKDIR_P within a source directory, because that will
1973 # break other packages using the cache if that directory is
1974 # removed, or if the value is a relative name.
1975 test -d ./--version && rmdir ./--version
1976 MKDIR_P="$ac_install_sh -d"
1979 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1980 $as_echo "$MKDIR_P" >&6; }
1982 mkdir_p="$MKDIR_P"
1983 case $mkdir_p in
1984 [\\/$]* | ?:[\\/]*) ;;
1985 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1986 esac
1988 for ac_prog in gawk mawk nawk awk
1990 # Extract the first word of "$ac_prog", so it can be a program name with args.
1991 set dummy $ac_prog; ac_word=$2
1992 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1993 $as_echo_n "checking for $ac_word... " >&6; }
1994 if test "${ac_cv_prog_AWK+set}" = set; then
1995 $as_echo_n "(cached) " >&6
1996 else
1997 if test -n "$AWK"; then
1998 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1999 else
2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001 for as_dir in $PATH
2003 IFS=$as_save_IFS
2004 test -z "$as_dir" && as_dir=.
2005 for ac_exec_ext in '' $ac_executable_extensions; do
2006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2007 ac_cv_prog_AWK="$ac_prog"
2008 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2009 break 2
2011 done
2012 done
2013 IFS=$as_save_IFS
2017 AWK=$ac_cv_prog_AWK
2018 if test -n "$AWK"; then
2019 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2020 $as_echo "$AWK" >&6; }
2021 else
2022 { $as_echo "$as_me:$LINENO: result: no" >&5
2023 $as_echo "no" >&6; }
2027 test -n "$AWK" && break
2028 done
2030 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2031 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2032 set x ${MAKE-make}
2033 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2034 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2035 $as_echo_n "(cached) " >&6
2036 else
2037 cat >conftest.make <<\_ACEOF
2038 SHELL = /bin/sh
2039 all:
2040 @echo '@@@%%%=$(MAKE)=@@@%%%'
2041 _ACEOF
2042 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2043 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2044 *@@@%%%=?*=@@@%%%*)
2045 eval ac_cv_prog_make_${ac_make}_set=yes;;
2047 eval ac_cv_prog_make_${ac_make}_set=no;;
2048 esac
2049 rm -f conftest.make
2051 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2052 { $as_echo "$as_me:$LINENO: result: yes" >&5
2053 $as_echo "yes" >&6; }
2054 SET_MAKE=
2055 else
2056 { $as_echo "$as_me:$LINENO: result: no" >&5
2057 $as_echo "no" >&6; }
2058 SET_MAKE="MAKE=${MAKE-make}"
2061 rm -rf .tst 2>/dev/null
2062 mkdir .tst 2>/dev/null
2063 if test -d .tst; then
2064 am__leading_dot=.
2065 else
2066 am__leading_dot=_
2068 rmdir .tst 2>/dev/null
2070 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2071 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2072 # is not polluted with repeated "-I."
2073 am__isrc=' -I$(srcdir)'
2074 # test to see if srcdir already configured
2075 if test -f $srcdir/config.status; then
2076 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2077 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2078 { (exit 1); exit 1; }; }
2082 # test whether we have cygpath
2083 if test -z "$CYGPATH_W"; then
2084 if (cygpath --version) >/dev/null 2>/dev/null; then
2085 CYGPATH_W='cygpath -w'
2086 else
2087 CYGPATH_W=echo
2092 # Define the identity of the package.
2093 PACKAGE='autoconf'
2094 VERSION='2.61b'
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE "$PACKAGE"
2099 _ACEOF
2102 cat >>confdefs.h <<_ACEOF
2103 #define VERSION "$VERSION"
2104 _ACEOF
2106 # Some tools Automake needs.
2108 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2111 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2114 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2117 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2120 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2122 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2124 # Installed binaries are usually stripped using `strip' when the user
2125 # run `make install-strip'. However `strip' might not be the right
2126 # tool to use in cross-compilation environments, therefore Automake
2127 # will honor the `STRIP' environment variable to overrule this program.
2128 if test "$cross_compiling" != no; then
2129 if test -n "$ac_tool_prefix"; then
2130 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2131 set dummy ${ac_tool_prefix}strip; ac_word=$2
2132 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2133 $as_echo_n "checking for $ac_word... " >&6; }
2134 if test "${ac_cv_prog_STRIP+set}" = set; then
2135 $as_echo_n "(cached) " >&6
2136 else
2137 if test -n "$STRIP"; then
2138 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2139 else
2140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 for as_dir in $PATH
2143 IFS=$as_save_IFS
2144 test -z "$as_dir" && as_dir=.
2145 for ac_exec_ext in '' $ac_executable_extensions; do
2146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2147 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2148 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2149 break 2
2151 done
2152 done
2153 IFS=$as_save_IFS
2157 STRIP=$ac_cv_prog_STRIP
2158 if test -n "$STRIP"; then
2159 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2160 $as_echo "$STRIP" >&6; }
2161 else
2162 { $as_echo "$as_me:$LINENO: result: no" >&5
2163 $as_echo "no" >&6; }
2168 if test -z "$ac_cv_prog_STRIP"; then
2169 ac_ct_STRIP=$STRIP
2170 # Extract the first word of "strip", so it can be a program name with args.
2171 set dummy strip; ac_word=$2
2172 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2173 $as_echo_n "checking for $ac_word... " >&6; }
2174 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2175 $as_echo_n "(cached) " >&6
2176 else
2177 if test -n "$ac_ct_STRIP"; then
2178 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2179 else
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 for as_dir in $PATH
2183 IFS=$as_save_IFS
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2187 ac_cv_prog_ac_ct_STRIP="strip"
2188 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 break 2
2191 done
2192 done
2193 IFS=$as_save_IFS
2197 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2198 if test -n "$ac_ct_STRIP"; then
2199 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2200 $as_echo "$ac_ct_STRIP" >&6; }
2201 else
2202 { $as_echo "$as_me:$LINENO: result: no" >&5
2203 $as_echo "no" >&6; }
2206 if test "x$ac_ct_STRIP" = x; then
2207 STRIP=":"
2208 else
2209 case $cross_compiling:$ac_tool_warned in
2210 yes:)
2211 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2212 whose name does not start with the host triplet. If you think this
2213 configuration is useful to you, please write to autoconf@gnu.org." >&5
2214 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2215 whose name does not start with the host triplet. If you think this
2216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2217 ac_tool_warned=yes ;;
2218 esac
2219 STRIP=$ac_ct_STRIP
2221 else
2222 STRIP="$ac_cv_prog_STRIP"
2226 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2228 # We need awk for the "check" target. The system "awk" is bad on
2229 # some platforms.
2230 # Always define AMTAR for backward compatibility.
2232 AMTAR=${AMTAR-"${am_missing_run}tar"}
2234 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2241 # We use `/bin/sh -n script' to check that there are no syntax errors
2242 # in the scripts. Although incredible, there are /bin/sh that go into
2243 # endless loops with `-n', e.g., SunOS's:
2245 # $ uname -a
2246 # SunOS ondine 4.1.3 2 sun4m unknown
2247 # $ cat endless.sh
2248 # while false
2249 # do
2251 # done
2252 # exit 0
2253 # $ time sh endless.sh
2254 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2255 # $ time sh -nx endless.sh
2256 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2258 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2259 # that they are unusable on large scripts like our testsuite.
2261 # So before using `/bin/sh -n' to check our scripts, we first check
2262 # that `/bin/sh -n' is known to not have these problems.
2264 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2265 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2266 if test "${ac_cv_sh_n_works+set}" = set; then
2267 $as_echo_n "(cached) " >&6
2268 else
2269 if (
2270 unset BASH_VERSION ZSH_VERSION
2271 /bin/sh -c '
2272 test -n "${BASH_VERSION+set}" || # Bash
2273 test -n "${KSH_VERSION+set}" || # pdksh
2274 test -n "${ZSH_VERSION+set}" || # zsh
2275 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2277 ) 2>/dev/null
2278 then ac_cv_sh_n_works=yes
2279 else ac_cv_sh_n_works=no
2283 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2284 $as_echo "$ac_cv_sh_n_works" >&6; }
2287 # Initialize the test suite.
2288 ac_config_commands="$ac_config_commands tests/atconfig"
2291 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2293 # Extract the first word of "expr", so it can be a program name with args.
2294 set dummy expr; ac_word=$2
2295 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2296 $as_echo_n "checking for $ac_word... " >&6; }
2297 if test "${ac_cv_path_EXPR+set}" = set; then
2298 $as_echo_n "(cached) " >&6
2299 else
2300 case $EXPR in
2301 [\\/]* | ?:[\\/]*)
2302 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 for as_dir in $PATH
2308 IFS=$as_save_IFS
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2312 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2313 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 break 2
2316 done
2317 done
2318 IFS=$as_save_IFS
2321 esac
2323 EXPR=$ac_cv_path_EXPR
2324 if test -n "$EXPR"; then
2325 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2326 $as_echo "$EXPR" >&6; }
2327 else
2328 { $as_echo "$as_me:$LINENO: result: no" >&5
2329 $as_echo "no" >&6; }
2335 ## ---- ##
2336 ## M4. ##
2337 ## ---- ##
2339 # We use an absolute name for GNU m4 so even if users have another m4 first in
2340 # their path, the installer can configure with a path that has GNU m4
2341 # on it and get that path embedded in the installed autoconf and
2342 # autoheader scripts.
2344 { $as_echo "$as_me:$LINENO: checking for GNU M4 that supports accurate traces" >&5
2345 $as_echo_n "checking for GNU M4 that supports accurate traces... " >&6; }
2346 if test "${ac_cv_path_M4+set}" = set; then
2347 $as_echo_n "(cached) " >&6
2348 else
2349 if test -z "$M4"; then
2350 ac_path_M4_found=false
2351 # Loop through the user's path and test for each of PROGNAME-LIST
2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353 for as_dir in $PATH
2355 IFS=$as_save_IFS
2356 test -z "$as_dir" && as_dir=.
2357 for ac_prog in m4 gm4 gnum4; do
2358 for ac_exec_ext in '' $ac_executable_extensions; do
2359 ac_path_M4="$as_dir/$ac_prog$ac_exec_ext"
2360 { test -f "$ac_path_M4" && $as_test_x "$ac_path_M4"; } || continue
2361 # Root out GNU M4 1.4.4, as well as non-GNU m4 that ignore --trace.
2362 ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)d'nl
2363 test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
2364 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
2365 $ac_path_M4_found && break 3
2366 done
2367 done
2368 done
2369 IFS=$as_save_IFS
2370 if test -z "$ac_cv_path_M4"; then
2371 { { $as_echo "$as_me:$LINENO: error: no acceptable m4 could be found in \$PATH.
2372 GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&5
2373 $as_echo "$as_me: error: no acceptable m4 could be found in \$PATH.
2374 GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&2;}
2375 { (exit 1); exit 1; }; }
2377 else
2378 ac_cv_path_M4=$M4
2382 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_M4" >&5
2383 $as_echo "$ac_cv_path_M4" >&6; }
2384 M4=$ac_cv_path_M4
2385 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2386 $as_echo_n "checking how m4 supports trace files... " >&6; }
2387 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2388 $as_echo_n "(cached) " >&6
2389 else
2390 case `$M4 --help < /dev/null 2>&1` in
2391 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2392 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2393 esac
2395 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2396 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2397 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2401 ## ----------- ##
2402 ## Man pages. ##
2403 ## ----------- ##
2405 ac_config_files="$ac_config_files man/Makefile"
2408 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2412 ## ------ ##
2413 ## Perl. ##
2414 ## ------ ##
2416 # We use an absolute name for perl so the #! line in autoscan will work.
2417 # Extract the first word of "perl", so it can be a program name with args.
2418 set dummy perl; ac_word=$2
2419 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2420 $as_echo_n "checking for $ac_word... " >&6; }
2421 if test "${ac_cv_path_PERL+set}" = set; then
2422 $as_echo_n "(cached) " >&6
2423 else
2424 case $PERL in
2425 [\\/]* | ?:[\\/]*)
2426 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 for as_dir in $PATH
2432 IFS=$as_save_IFS
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2436 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2437 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 break 2
2440 done
2441 done
2442 IFS=$as_save_IFS
2444 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2446 esac
2448 PERL=$ac_cv_path_PERL
2449 if test -n "$PERL"; then
2450 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2451 $as_echo "$PERL" >&6; }
2452 else
2453 { $as_echo "$as_me:$LINENO: result: no" >&5
2454 $as_echo "no" >&6; }
2458 if test "$PERL" = no; then
2459 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2460 $as_echo "$as_me: error: perl is not found" >&2;}
2461 { (exit 1); exit 1; }; }
2463 $PERL -e 'require 5.005_03;' || {
2464 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2465 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2466 { (exit 1); exit 1; }; }
2470 ## ------- ##
2471 ## Emacs. ##
2472 ## ------- ##
2474 ac_config_files="$ac_config_files lib/emacs/Makefile"
2476 TEST_EMACS=$EMACS
2477 test x"$TEST_EMACS" = xt && TEST_EMACS=
2478 for ac_prog in emacs xemacs
2480 # Extract the first word of "$ac_prog", so it can be a program name with args.
2481 set dummy $ac_prog; ac_word=$2
2482 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2483 $as_echo_n "checking for $ac_word... " >&6; }
2484 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2485 $as_echo_n "(cached) " >&6
2486 else
2487 if test -n "$TEST_EMACS"; then
2488 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2489 else
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 for as_dir in $PATH
2493 IFS=$as_save_IFS
2494 test -z "$as_dir" && as_dir=.
2495 for ac_exec_ext in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2497 ac_cv_prog_TEST_EMACS="$ac_prog"
2498 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2499 break 2
2501 done
2502 done
2503 IFS=$as_save_IFS
2507 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2508 if test -n "$TEST_EMACS"; then
2509 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2510 $as_echo "$TEST_EMACS" >&6; }
2511 else
2512 { $as_echo "$as_me:$LINENO: result: no" >&5
2513 $as_echo "no" >&6; }
2517 test -n "$TEST_EMACS" && break
2518 done
2519 test -n "$TEST_EMACS" || TEST_EMACS="no"
2522 # autoconf-mode.el and autotest-mode.el do not work with older version of
2523 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2524 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2525 # We detect this problem here.
2526 if test "$TEST_EMACS" != no; then
2527 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2528 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2529 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2530 $as_echo_n "(cached) " >&6
2531 else
2532 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2533 cat >conftest.el << "EOF"
2534 (defvar broken)
2535 (defun broken-mode () (setq broken-defaults `(broken nil)))
2537 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2538 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2539 ac_status=$?
2540 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; then
2542 ac_cv_prog_emacs_ok=yes
2543 else
2544 ac_cv_prog_emacs_ok=no
2547 rm -f conftest.el conftest.elc
2549 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2550 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2551 if test $ac_cv_prog_emacs_ok = no; then
2552 TEST_EMACS=no
2558 EMACS=$TEST_EMACS
2561 # If set to t, that means we are running in a shell under Emacs.
2562 # If you have an Emacs named "t", then use the full path.
2563 test x"$EMACS" = xt && EMACS=
2564 for ac_prog in emacs xemacs
2566 # Extract the first word of "$ac_prog", so it can be a program name with args.
2567 set dummy $ac_prog; ac_word=$2
2568 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if test "${ac_cv_prog_EMACS+set}" = set; then
2571 $as_echo_n "(cached) " >&6
2572 else
2573 if test -n "$EMACS"; then
2574 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2575 else
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 for as_dir in $PATH
2579 IFS=$as_save_IFS
2580 test -z "$as_dir" && as_dir=.
2581 for ac_exec_ext in '' $ac_executable_extensions; do
2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583 ac_cv_prog_EMACS="$ac_prog"
2584 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 break 2
2587 done
2588 done
2589 IFS=$as_save_IFS
2593 EMACS=$ac_cv_prog_EMACS
2594 if test -n "$EMACS"; then
2595 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2596 $as_echo "$EMACS" >&6; }
2597 else
2598 { $as_echo "$as_me:$LINENO: result: no" >&5
2599 $as_echo "no" >&6; }
2603 test -n "$EMACS" && break
2604 done
2605 test -n "$EMACS" || EMACS="no"
2610 # Check whether --with-lispdir was given.
2611 if test "${with_lispdir+set}" = set; then
2612 withval=$with_lispdir; lispdir="$withval"
2613 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2614 $as_echo_n "checking where .elc files should go... " >&6; }
2615 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2616 $as_echo "$lispdir" >&6; }
2617 else
2619 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2620 $as_echo_n "checking where .elc files should go... " >&6; }
2621 if test "${am_cv_lispdir+set}" = set; then
2622 $as_echo_n "(cached) " >&6
2623 else
2625 if test $EMACS != "no"; then
2626 if test x${lispdir+set} != xset; then
2627 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2628 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2629 # which is non-obvious for non-emacs users.
2630 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2631 # emacsen earlier and avoid running this altogether.
2632 { ($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
2633 ($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
2634 ac_status=$?
2635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }
2637 am_cv_lispdir=`sed -n \
2638 -e 's,/$,,' \
2639 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2640 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2641 conftest.out`
2642 rm conftest.out
2645 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2648 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2649 $as_echo "$am_cv_lispdir" >&6; }
2650 lispdir="$am_cv_lispdir"
2658 ## ------------ ##
2659 ## Grep & sed. ##
2660 ## ------------ ##
2661 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2662 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2663 if test "${ac_cv_path_GREP+set}" = set; then
2664 $as_echo_n "(cached) " >&6
2665 else
2666 if test -z "$GREP"; then
2667 ac_path_GREP_found=false
2668 # Loop through the user's path and test for each of PROGNAME-LIST
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2672 IFS=$as_save_IFS
2673 test -z "$as_dir" && as_dir=.
2674 for ac_prog in grep ggrep; do
2675 for ac_exec_ext in '' $ac_executable_extensions; do
2676 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2677 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2678 # Check for GNU ac_path_GREP and select it if it is found.
2679 # Check for GNU $ac_path_GREP
2680 case `"$ac_path_GREP" --version 2>&1` in
2681 *GNU*)
2682 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2684 ac_count=0
2685 $as_echo_n 0123456789 >"conftest.in"
2686 while :
2688 cat "conftest.in" "conftest.in" >"conftest.tmp"
2689 mv "conftest.tmp" "conftest.in"
2690 cp "conftest.in" "conftest.nl"
2691 $as_echo 'GREP' >> "conftest.nl"
2692 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2693 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2694 ac_count=`expr $ac_count + 1`
2695 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2696 # Best one so far, save it but keep looking for a better one
2697 ac_cv_path_GREP="$ac_path_GREP"
2698 ac_path_GREP_max=$ac_count
2700 # 10*(2^10) chars as input seems more than enough
2701 test $ac_count -gt 10 && break
2702 done
2703 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2704 esac
2706 $ac_path_GREP_found && break 3
2707 done
2708 done
2709 done
2710 IFS=$as_save_IFS
2711 if test -z "$ac_cv_path_GREP"; then
2712 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2713 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2714 { (exit 1); exit 1; }; }
2716 else
2717 ac_cv_path_GREP=$GREP
2721 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2722 $as_echo "$ac_cv_path_GREP" >&6; }
2723 GREP="$ac_cv_path_GREP"
2726 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2727 $as_echo_n "checking for egrep... " >&6; }
2728 if test "${ac_cv_path_EGREP+set}" = set; then
2729 $as_echo_n "(cached) " >&6
2730 else
2731 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2732 then ac_cv_path_EGREP="$GREP -E"
2733 else
2734 if test -z "$EGREP"; then
2735 ac_path_EGREP_found=false
2736 # Loop through the user's path and test for each of PROGNAME-LIST
2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2740 IFS=$as_save_IFS
2741 test -z "$as_dir" && as_dir=.
2742 for ac_prog in egrep; do
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2745 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2746 # Check for GNU ac_path_EGREP and select it if it is found.
2747 # Check for GNU $ac_path_EGREP
2748 case `"$ac_path_EGREP" --version 2>&1` in
2749 *GNU*)
2750 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2752 ac_count=0
2753 $as_echo_n 0123456789 >"conftest.in"
2754 while :
2756 cat "conftest.in" "conftest.in" >"conftest.tmp"
2757 mv "conftest.tmp" "conftest.in"
2758 cp "conftest.in" "conftest.nl"
2759 $as_echo 'EGREP' >> "conftest.nl"
2760 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2761 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2762 ac_count=`expr $ac_count + 1`
2763 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2764 # Best one so far, save it but keep looking for a better one
2765 ac_cv_path_EGREP="$ac_path_EGREP"
2766 ac_path_EGREP_max=$ac_count
2768 # 10*(2^10) chars as input seems more than enough
2769 test $ac_count -gt 10 && break
2770 done
2771 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2772 esac
2774 $ac_path_EGREP_found && break 3
2775 done
2776 done
2777 done
2778 IFS=$as_save_IFS
2779 if test -z "$ac_cv_path_EGREP"; then
2780 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2781 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2782 { (exit 1); exit 1; }; }
2784 else
2785 ac_cv_path_EGREP=$EGREP
2790 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2791 $as_echo "$ac_cv_path_EGREP" >&6; }
2792 EGREP="$ac_cv_path_EGREP"
2795 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2796 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2797 if test "${ac_cv_path_SED+set}" = set; then
2798 $as_echo_n "(cached) " >&6
2799 else
2800 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2801 for ac_i in 1 2 3 4 5 6 7; do
2802 ac_script="$ac_script$as_nl$ac_script"
2803 done
2804 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2805 $as_unset ac_script || ac_script=
2806 if test -z "$SED"; then
2807 ac_path_SED_found=false
2808 # Loop through the user's path and test for each of PROGNAME-LIST
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 for as_dir in $PATH
2812 IFS=$as_save_IFS
2813 test -z "$as_dir" && as_dir=.
2814 for ac_prog in sed gsed; do
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2817 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2818 # Check for GNU ac_path_SED and select it if it is found.
2819 # Check for GNU $ac_path_SED
2820 case `"$ac_path_SED" --version 2>&1` in
2821 *GNU*)
2822 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2824 ac_count=0
2825 $as_echo_n 0123456789 >"conftest.in"
2826 while :
2828 cat "conftest.in" "conftest.in" >"conftest.tmp"
2829 mv "conftest.tmp" "conftest.in"
2830 cp "conftest.in" "conftest.nl"
2831 $as_echo '' >> "conftest.nl"
2832 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2833 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2834 ac_count=`expr $ac_count + 1`
2835 if test $ac_count -gt ${ac_path_SED_max-0}; then
2836 # Best one so far, save it but keep looking for a better one
2837 ac_cv_path_SED="$ac_path_SED"
2838 ac_path_SED_max=$ac_count
2840 # 10*(2^10) chars as input seems more than enough
2841 test $ac_count -gt 10 && break
2842 done
2843 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2844 esac
2846 $ac_path_SED_found && break 3
2847 done
2848 done
2849 done
2850 IFS=$as_save_IFS
2851 if test -z "$ac_cv_path_SED"; then
2852 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2853 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2854 { (exit 1); exit 1; }; }
2856 else
2857 ac_cv_path_SED=$SED
2861 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2862 $as_echo "$ac_cv_path_SED" >&6; }
2863 SED="$ac_cv_path_SED"
2864 rm -f conftest.sed
2868 ## ------------ ##
2869 ## Conclusion. ##
2870 ## ------------ ##
2872 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"
2875 cat >confcache <<\_ACEOF
2876 # This file is a shell script that caches the results of configure
2877 # tests run on this system so they can be shared between configure
2878 # scripts and configure runs, see configure's option --config-cache.
2879 # It is not useful on other systems. If it contains results you don't
2880 # want to keep, you may remove or edit it.
2882 # config.status only pays attention to the cache file if you give it
2883 # the --recheck option to rerun configure.
2885 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2886 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2887 # following values.
2889 _ACEOF
2891 # The following way of writing the cache mishandles newlines in values,
2892 # but we know of no workaround that is simple, portable, and efficient.
2893 # So, we kill variables containing newlines.
2894 # Ultrix sh set writes to stderr and can't be redirected directly,
2895 # and sets the high bit in the cache file unless we assign to the vars.
2897 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2898 eval ac_val=\$$ac_var
2899 case $ac_val in #(
2900 *${as_nl}*)
2901 case $ac_var in #(
2902 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2903 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2904 esac
2905 case $ac_var in #(
2906 _ | IFS | as_nl) ;; #(
2907 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2908 *) $as_unset $ac_var ;;
2909 esac ;;
2910 esac
2911 done
2913 (set) 2>&1 |
2914 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2915 *${as_nl}ac_space=\ *)
2916 # `set' does not quote correctly, so add quotes (double-quote
2917 # substitution turns \\\\ into \\, and sed turns \\ into \).
2918 sed -n \
2919 "s/'/'\\\\''/g;
2920 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2921 ;; #(
2923 # `set' quotes correctly as required by POSIX, so do not add quotes.
2924 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2926 esac |
2927 sort
2929 sed '
2930 /^ac_cv_env_/b end
2931 t clear
2932 :clear
2933 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2934 t end
2935 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2936 :end' >>confcache
2937 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2938 if test -w "$cache_file"; then
2939 test "x$cache_file" != "x/dev/null" &&
2940 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2941 $as_echo "$as_me: updating cache $cache_file" >&6;}
2942 cat confcache >$cache_file
2943 else
2944 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2945 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2948 rm -f confcache
2950 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2951 # Let make expand exec_prefix.
2952 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2954 # Transform confdefs.h into DEFS.
2955 # Protect against shell expansion while executing Makefile rules.
2956 # Protect against Makefile macro expansion.
2958 # If the first sed substitution is executed (which looks for macros that
2959 # take arguments), then branch to the quote section. Otherwise,
2960 # look for a macro that doesn't take arguments.
2961 ac_script='
2962 :mline
2963 /\\$/{
2965 s,\\\n,,
2966 b mline
2968 t clear
2969 :clear
2970 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2971 t quote
2972 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2973 t quote
2974 b any
2975 :quote
2976 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2977 s/\[/\\&/g
2978 s/\]/\\&/g
2979 s/\$/$$/g
2981 :any
2984 s/^\n//
2985 s/\n/ /g
2989 DEFS=`sed -n "$ac_script" confdefs.h`
2992 ac_libobjs=
2993 ac_ltlibobjs=
2994 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2995 # 1. Remove the extension, and $U if already installed.
2996 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2997 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2998 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2999 # will be set to the directory where LIBOBJS objects are built.
3000 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3001 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3002 done
3003 LIBOBJS=$ac_libobjs
3005 LTLIBOBJS=$ac_ltlibobjs
3009 : ${CONFIG_STATUS=./config.status}
3010 ac_clean_files_save=$ac_clean_files
3011 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3012 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3013 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3014 cat >$CONFIG_STATUS <<_ACEOF
3015 #! $SHELL
3016 # Generated by $as_me.
3017 # Run this file to recreate the current configuration.
3018 # Compiler output produced by configure, useful for debugging
3019 # configure, is in config.log if it exists.
3021 debug=false
3022 ac_cs_recheck=false
3023 ac_cs_silent=false
3024 SHELL=\${CONFIG_SHELL-$SHELL}
3025 _ACEOF
3027 cat >>$CONFIG_STATUS <<\_ACEOF
3028 ## --------------------- ##
3029 ## M4sh Initialization. ##
3030 ## --------------------- ##
3032 # Be more Bourne compatible
3033 DUALCASE=1; export DUALCASE # for MKS sh
3034 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3035 emulate sh
3036 NULLCMD=:
3037 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3038 # is contrary to our usage. Disable this feature.
3039 alias -g '${1+"$@"}'='"$@"'
3040 setopt NO_GLOB_SUBST
3041 else
3042 case `(set -o) 2>/dev/null` in
3043 *posix*) set -o posix ;;
3044 esac
3051 # PATH needs CR
3052 # Avoid depending upon Character Ranges.
3053 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3054 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3055 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3056 as_cr_digits='0123456789'
3057 as_cr_alnum=$as_cr_Letters$as_cr_digits
3059 as_nl='
3061 export as_nl
3062 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3063 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3064 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3065 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3066 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3067 as_echo='printf %s\n'
3068 as_echo_n='printf %s'
3069 else
3070 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3071 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3072 as_echo_n='/usr/ucb/echo -n'
3073 else
3074 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3075 as_echo_n_body='eval
3076 arg=$1;
3077 case $arg in
3078 *"$as_nl"*)
3079 expr "X$arg" : "X\\(.*\\)$as_nl";
3080 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3081 esac;
3082 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3084 export as_echo_n_body
3085 as_echo_n='sh -c $as_echo_n_body as_echo'
3087 export as_echo_body
3088 as_echo='sh -c $as_echo_body as_echo'
3091 # The user is always right.
3092 if test "${PATH_SEPARATOR+set}" != set; then
3093 PATH_SEPARATOR=:
3094 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3095 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3096 PATH_SEPARATOR=';'
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 LC_ALL=C
3149 export LC_ALL
3150 LANGUAGE=C
3151 export LANGUAGE
3153 # Required to use basename.
3154 if expr a : '\(a\)' >/dev/null 2>&1 &&
3155 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3156 as_expr=expr
3157 else
3158 as_expr=false
3161 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3162 as_basename=basename
3163 else
3164 as_basename=false
3168 # Name of the executable.
3169 as_me=`$as_basename -- "$0" ||
3170 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3171 X"$0" : 'X\(//\)$' \| \
3172 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3173 $as_echo X/"$0" |
3174 sed '/^.*\/\([^/][^/]*\)\/*$/{
3175 s//\1/
3178 /^X\/\(\/\/\)$/{
3179 s//\1/
3182 /^X\/\(\/\).*/{
3183 s//\1/
3186 s/.*/./; q'`
3188 # CDPATH.
3189 $as_unset CDPATH
3193 as_lineno_1=$LINENO
3194 as_lineno_2=$LINENO
3195 test "x$as_lineno_1" != "x$as_lineno_2" &&
3196 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3198 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3199 # uniformly replaced by the line number. The first 'sed' inserts a
3200 # line-number line after each line using $LINENO; the second 'sed'
3201 # does the real work. The second script uses 'N' to pair each
3202 # line-number line with the line containing $LINENO, and appends
3203 # trailing '-' during substitution so that $LINENO is not a special
3204 # case at line end.
3205 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3206 # scripts with optimization help from Paolo Bonzini. Blame Lee
3207 # E. McMahon (1931-1989) for sed's syntax. :-)
3208 sed -n '
3210 /[$]LINENO/=
3211 ' <$as_myself |
3212 sed '
3213 s/[$]LINENO.*/&-/
3214 t lineno
3216 :lineno
3218 :loop
3219 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3220 t loop
3221 s/-\n.*//
3222 ' >$as_me.lineno &&
3223 chmod +x "$as_me.lineno" ||
3224 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3225 { (exit 1); exit 1; }; }
3227 # Don't try to exec as it changes $[0], causing all sort of problems
3228 # (the dirname of $[0] is not the place where we might find the
3229 # original and so on. Autoconf is especially sensitive to this).
3230 . "./$as_me.lineno"
3231 # Exit status is that of the last command.
3232 exit
3236 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3237 as_dirname=dirname
3238 else
3239 as_dirname=false
3242 ECHO_C= ECHO_N= ECHO_T=
3243 case `echo -n x` in
3244 -n*)
3245 case `echo 'x\c'` in
3246 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3247 *) ECHO_C='\c';;
3248 esac;;
3250 ECHO_N='-n';;
3251 esac
3252 if expr a : '\(a\)' >/dev/null 2>&1 &&
3253 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3254 as_expr=expr
3255 else
3256 as_expr=false
3259 rm -f conf$$ conf$$.exe conf$$.file
3260 if test -d conf$$.dir; then
3261 rm -f conf$$.dir/conf$$.file
3262 else
3263 rm -f conf$$.dir
3264 mkdir conf$$.dir
3266 echo >conf$$.file
3267 if ln -s conf$$.file conf$$ 2>/dev/null; then
3268 as_ln_s='ln -s'
3269 # ... but there are two gotchas:
3270 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3271 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3272 # In both cases, we have to default to `cp -p'.
3273 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3274 as_ln_s='cp -p'
3275 elif ln conf$$.file conf$$ 2>/dev/null; then
3276 as_ln_s=ln
3277 else
3278 as_ln_s='cp -p'
3280 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3281 rmdir conf$$.dir 2>/dev/null
3283 if mkdir -p . 2>/dev/null; then
3284 as_mkdir_p=:
3285 else
3286 test -d ./-p && rmdir ./-p
3287 as_mkdir_p=false
3290 if test -x / >/dev/null 2>&1; then
3291 as_test_x='test -x'
3292 else
3293 if ls -dL / >/dev/null 2>&1; then
3294 as_ls_L_option=L
3295 else
3296 as_ls_L_option=
3298 as_test_x='
3299 eval sh -c '\''
3300 if test -d "$1"; then
3301 test -d "$1/.";
3302 else
3303 case $1 in
3304 -*)set "./$1";;
3305 esac;
3306 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3307 ???[sx]*):;;*)false;;esac;fi
3308 '\'' sh
3311 as_executable_p=$as_test_x
3313 # Sed expression to map a string onto a valid CPP name.
3314 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3316 # Sed expression to map a string onto a valid variable name.
3317 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3320 exec 6>&1
3322 # Save the log message, to keep $[0] and so on meaningful, and to
3323 # report actual input values of CONFIG_FILES etc. instead of their
3324 # values after options handling.
3325 ac_log="
3326 This file was extended by GNU Autoconf $as_me 2.61b, which was
3327 generated by GNU Autoconf 2.61b. Invocation command line was
3329 CONFIG_FILES = $CONFIG_FILES
3330 CONFIG_HEADERS = $CONFIG_HEADERS
3331 CONFIG_LINKS = $CONFIG_LINKS
3332 CONFIG_COMMANDS = $CONFIG_COMMANDS
3333 $ $0 $@
3335 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3338 _ACEOF
3340 cat >>$CONFIG_STATUS <<_ACEOF
3341 # Files that config.status was made for.
3342 config_files="$ac_config_files"
3343 config_commands="$ac_config_commands"
3345 _ACEOF
3347 cat >>$CONFIG_STATUS <<\_ACEOF
3348 ac_cs_usage="\
3349 \`$as_me' instantiates files from templates according to the
3350 current configuration.
3352 Usage: $0 [OPTIONS] [FILE]...
3354 -h, --help print this help, then exit
3355 -V, --version print version number and configuration settings, then exit
3356 -q, --quiet do not print progress messages
3357 -d, --debug don't remove temporary files
3358 --recheck update $as_me by reconfiguring in the same conditions
3359 --file=FILE[:TEMPLATE]
3360 instantiate the configuration file FILE
3362 Configuration files:
3363 $config_files
3365 Configuration commands:
3366 $config_commands
3368 Report bugs to <bug-autoconf@gnu.org>."
3370 _ACEOF
3371 cat >>$CONFIG_STATUS <<_ACEOF
3372 ac_cs_version="\\
3373 GNU Autoconf config.status 2.61b
3374 configured by $0, generated by GNU Autoconf 2.61b,
3375 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3377 Copyright (C) 2007 Free Software Foundation, Inc.
3378 This config.status script is free software; the Free Software Foundation
3379 gives unlimited permission to copy, distribute and modify it."
3381 ac_pwd='$ac_pwd'
3382 srcdir='$srcdir'
3383 INSTALL='$INSTALL'
3384 MKDIR_P='$MKDIR_P'
3385 AWK='$AWK'
3386 test -n "\$AWK" || AWK=awk
3387 _ACEOF
3389 cat >>$CONFIG_STATUS <<\_ACEOF
3390 # The default lists apply if the user does not specify any file.
3391 ac_need_defaults=:
3392 while test $# != 0
3394 case $1 in
3395 --*=*)
3396 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3397 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3398 ac_shift=:
3401 ac_option=$1
3402 ac_optarg=$2
3403 ac_shift=shift
3405 esac
3407 case $ac_option in
3408 # Handling of the options.
3409 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3410 ac_cs_recheck=: ;;
3411 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3412 $as_echo "$ac_cs_version"; exit ;;
3413 --debug | --debu | --deb | --de | --d | -d )
3414 debug=: ;;
3415 --file | --fil | --fi | --f )
3416 $ac_shift
3417 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3418 ac_need_defaults=false;;
3419 --he | --h | --help | --hel | -h )
3420 $as_echo "$ac_cs_usage"; exit ;;
3421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3422 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3423 ac_cs_silent=: ;;
3425 # This is an error.
3426 -*) { $as_echo "$as_me: error: unrecognized option: $1
3427 Try \`$0 --help' for more information." >&2
3428 { (exit 1); exit 1; }; } ;;
3430 *) ac_config_targets="$ac_config_targets $1"
3431 ac_need_defaults=false ;;
3433 esac
3434 shift
3435 done
3437 ac_configure_extra_args=
3439 if $ac_cs_silent; then
3440 exec 6>/dev/null
3441 ac_configure_extra_args="$ac_configure_extra_args --silent"
3444 _ACEOF
3445 cat >>$CONFIG_STATUS <<_ACEOF
3446 if \$ac_cs_recheck; then
3447 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3448 shift
3449 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3450 CONFIG_SHELL='$SHELL'
3451 export CONFIG_SHELL
3452 exec "\$@"
3455 _ACEOF
3456 cat >>$CONFIG_STATUS <<\_ACEOF
3457 exec 5>>config.log
3459 echo
3460 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3461 ## Running $as_me. ##
3462 _ASBOX
3463 $as_echo "$ac_log"
3464 } >&5
3466 _ACEOF
3467 cat >>$CONFIG_STATUS <<_ACEOF
3468 _ACEOF
3470 cat >>$CONFIG_STATUS <<\_ACEOF
3472 # Handling of arguments.
3473 for ac_config_target in $ac_config_targets
3475 case $ac_config_target in
3476 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3477 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3478 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3479 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3480 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3481 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3482 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3483 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3484 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3485 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3486 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3487 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3488 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3489 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3491 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3492 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3493 { (exit 1); exit 1; }; };;
3494 esac
3495 done
3498 # If the user did not use the arguments to specify the items to instantiate,
3499 # then the envvar interface is used. Set only those that are not.
3500 # We use the long form for the default assignment because of an extremely
3501 # bizarre bug on SunOS 4.1.3.
3502 if $ac_need_defaults; then
3503 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3504 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3507 # Have a temporary directory for convenience. Make it in the build tree
3508 # simply because there is no reason against having it here, and in addition,
3509 # creating and moving files from /tmp can sometimes cause problems.
3510 # Hook for its removal unless debugging.
3511 # Note that there is a small window in which the directory will not be cleaned:
3512 # after its creation but before its name has been assigned to `$tmp'.
3513 $debug ||
3515 tmp=
3516 trap 'exit_status=$?
3517 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3519 trap '{ (exit 1); exit 1; }' 1 2 13 15
3521 # Create a (secure) tmp directory for tmp files.
3524 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3525 test -n "$tmp" && test -d "$tmp"
3526 } ||
3528 tmp=./conf$$-$RANDOM
3529 (umask 077 && mkdir "$tmp")
3530 } ||
3532 $as_echo "$me: cannot create a temporary directory in ." >&2
3533 { (exit 1); exit 1; }
3536 # Set up the scripts for CONFIG_FILES section.
3537 # No need to generate them if there are no CONFIG_FILES.
3538 # This happens for instance with `./config.status config.h'.
3539 if test -n "$CONFIG_FILES"; then
3542 ac_cr=' '
3543 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3544 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3545 ac_cs_awk_cr='\\r'
3546 else
3547 ac_cs_awk_cr=$ac_cr
3550 echo 'BEGIN {' >"$tmp/subs1.awk"
3551 _ACEOF
3555 echo "cat >conf$$subs.awk <<_ACEOF"
3556 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3557 echo "_ACEOF"
3558 } >conf$$subs.sh
3559 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3560 ac_delim='%!_!# '
3561 for ac_last_try in false false false false false :; do
3562 . ./conf$$subs.sh
3564 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3565 break
3566 elif $ac_last_try; then
3567 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3568 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3569 { (exit 1); exit 1; }; }
3570 else
3571 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3573 done
3574 rm -f conf$$subs.sh
3576 cat >>$CONFIG_STATUS <<_ACEOF
3577 cat >>"\$tmp/subs1.awk" <<\_ACAWK
3578 _ACEOF
3579 sed -n '
3581 s/^/S["/; s/!.*/"]=/
3584 s/^[^!]*!//
3585 :repl
3586 t repl
3587 s/'"$ac_delim"'$//
3588 t delim
3591 s/\(.\{148\}\).*/\1/
3592 t more1
3593 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3596 b repl
3597 :more1
3598 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3601 s/.\{148\}//
3602 t nl
3603 :delim
3605 s/\(.\{148\}\).*/\1/
3606 t more2
3607 s/["\\]/\\&/g; s/^/"/; s/$/"/
3610 :more2
3611 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3614 s/.\{148\}//
3615 t delim
3616 ' <conf$$subs.awk | sed '
3617 /^[^""]/{
3619 s/\n//
3621 ' >>$CONFIG_STATUS
3622 rm -f conf$$subs.awk
3623 cat >>$CONFIG_STATUS <<_ACEOF
3624 _ACAWK
3625 cat >>"\$tmp/subs1.awk" <<_ACAWK
3626 for (key in S) S_is_set[key] = 1
3627 FS = "\a"
3631 line = $ 0
3632 nfields = split(line, field, "@")
3633 substed = 0
3634 len = length(field[1])
3635 for (i = 2; i < nfields; i++) {
3636 key = field[i]
3637 keylen = length(key)
3638 if (S_is_set[key]) {
3639 value = S[key]
3640 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3641 len += length(value) + length(field[++i])
3642 substed = 1
3643 } else
3644 len += 1 + keylen
3647 print line
3650 _ACAWK
3651 sed "s/\$ac_cr\\\$//; s/\$ac_cr/\$ac_cs_awk_cr/g" < "\$tmp/subs1.awk" > "\$tmp/subs.awk"
3652 _ACEOF
3654 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3655 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3656 # trailing colons and then remove the whole line if VPATH becomes empty
3657 # (actually we leave an empty line to preserve line numbers).
3658 if test "x$srcdir" = x.; then
3659 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3660 s/:*\$(srcdir):*/:/
3661 s/:*\${srcdir}:*/:/
3662 s/:*@srcdir@:*/:/
3663 s/^\([^=]*=[ ]*\):*/\1/
3664 s/:*$//
3665 s/^[^=]*=[ ]*$//
3669 cat >>$CONFIG_STATUS <<\_ACEOF
3670 fi # test -n "$CONFIG_FILES"
3673 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3675 case $ac_tag in
3676 :[FHLC]) ac_mode=$ac_tag; continue;;
3677 esac
3678 case $ac_mode$ac_tag in
3679 :[FHL]*:*);;
3680 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3681 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3682 { (exit 1); exit 1; }; };;
3683 :[FH]-) ac_tag=-:-;;
3684 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3685 esac
3686 ac_save_IFS=$IFS
3687 IFS=:
3688 set x $ac_tag
3689 IFS=$ac_save_IFS
3690 shift
3691 ac_file=$1
3692 shift
3694 case $ac_mode in
3695 :L) ac_source=$1;;
3696 :[FH])
3697 ac_file_inputs=
3698 for ac_f
3700 case $ac_f in
3701 -) ac_f="$tmp/stdin";;
3702 *) # Look for the file first in the build tree, then in the source tree
3703 # (if the path is not absolute). The absolute path cannot be DOS-style,
3704 # because $ac_f cannot contain `:'.
3705 test -f "$ac_f" ||
3706 case $ac_f in
3707 [\\/$]*) false;;
3708 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3709 esac ||
3710 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3711 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3712 { (exit 1); exit 1; }; };;
3713 esac
3714 ac_file_inputs="$ac_file_inputs $ac_f"
3715 done
3717 # Let's still pretend it is `configure' which instantiates (i.e., don't
3718 # use $as_me), people would be surprised to read:
3719 # /* config.h. Generated by config.status. */
3720 configure_input='Generated from '`
3721 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3722 `' by configure.'
3723 if test x"$ac_file" != x-; then
3724 configure_input="$ac_file. $configure_input"
3725 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3726 $as_echo "$as_me: creating $ac_file" >&6;}
3729 case $ac_tag in
3730 *:-:* | *:-) cat >"$tmp/stdin";;
3731 esac
3733 esac
3735 ac_dir=`$as_dirname -- "$ac_file" ||
3736 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3737 X"$ac_file" : 'X\(//\)[^/]' \| \
3738 X"$ac_file" : 'X\(//\)$' \| \
3739 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3740 $as_echo X"$ac_file" |
3741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3742 s//\1/
3745 /^X\(\/\/\)[^/].*/{
3746 s//\1/
3749 /^X\(\/\/\)$/{
3750 s//\1/
3753 /^X\(\/\).*/{
3754 s//\1/
3757 s/.*/./; q'`
3758 { as_dir="$ac_dir"
3759 case $as_dir in #(
3760 -*) as_dir=./$as_dir;;
3761 esac
3762 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3763 as_dirs=
3764 while :; do
3765 case $as_dir in #(
3766 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3767 *) as_qdir=$as_dir;;
3768 esac
3769 as_dirs="'$as_qdir' $as_dirs"
3770 as_dir=`$as_dirname -- "$as_dir" ||
3771 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3772 X"$as_dir" : 'X\(//\)[^/]' \| \
3773 X"$as_dir" : 'X\(//\)$' \| \
3774 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3775 $as_echo X"$as_dir" |
3776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3777 s//\1/
3780 /^X\(\/\/\)[^/].*/{
3781 s//\1/
3784 /^X\(\/\/\)$/{
3785 s//\1/
3788 /^X\(\/\).*/{
3789 s//\1/
3792 s/.*/./; q'`
3793 test -d "$as_dir" && break
3794 done
3795 test -z "$as_dirs" || eval "mkdir $as_dirs"
3796 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3797 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3798 { (exit 1); exit 1; }; }; }
3799 ac_builddir=.
3801 case "$ac_dir" in
3802 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3804 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3805 # A ".." for each directory in $ac_dir_suffix.
3806 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3807 case $ac_top_builddir_sub in
3808 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3809 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3810 esac ;;
3811 esac
3812 ac_abs_top_builddir=$ac_pwd
3813 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3814 # for backward compatibility:
3815 ac_top_builddir=$ac_top_build_prefix
3817 case $srcdir in
3818 .) # We are building in place.
3819 ac_srcdir=.
3820 ac_top_srcdir=$ac_top_builddir_sub
3821 ac_abs_top_srcdir=$ac_pwd ;;
3822 [\\/]* | ?:[\\/]* ) # Absolute name.
3823 ac_srcdir=$srcdir$ac_dir_suffix;
3824 ac_top_srcdir=$srcdir
3825 ac_abs_top_srcdir=$srcdir ;;
3826 *) # Relative name.
3827 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3828 ac_top_srcdir=$ac_top_build_prefix$srcdir
3829 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3830 esac
3831 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3834 case $ac_mode in
3837 # CONFIG_FILE
3840 case $INSTALL in
3841 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3842 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3843 esac
3844 ac_MKDIR_P=$MKDIR_P
3845 case $MKDIR_P in
3846 [\\/$]* | ?:[\\/]* ) ;;
3847 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3848 esac
3849 _ACEOF
3851 cat >>$CONFIG_STATUS <<\_ACEOF
3852 # If the template does not know about datarootdir, expand it.
3853 # FIXME: This hack should be removed a few years after 2.60.
3854 ac_datarootdir_hack=; ac_datarootdir_seen=
3856 case `sed -n '/datarootdir/ {
3860 /@datadir@/p
3861 /@docdir@/p
3862 /@infodir@/p
3863 /@localedir@/p
3864 /@mandir@/p
3865 ' $ac_file_inputs` in
3866 *datarootdir*) ac_datarootdir_seen=yes;;
3867 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3868 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3869 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3870 _ACEOF
3871 cat >>$CONFIG_STATUS <<_ACEOF
3872 ac_datarootdir_hack='
3873 s&@datadir@&$datadir&g
3874 s&@docdir@&$docdir&g
3875 s&@infodir@&$infodir&g
3876 s&@localedir@&$localedir&g
3877 s&@mandir@&$mandir&g
3878 s&\\\${datarootdir}&$datarootdir&g' ;;
3879 esac
3880 _ACEOF
3882 # Neutralize VPATH when `$srcdir' = `.'.
3883 # Shell code in configure.ac might set extrasub.
3884 # FIXME: do we really want to maintain this feature?
3885 cat >>$CONFIG_STATUS <<_ACEOF
3886 sed "$ac_vpsub
3887 $extrasub
3888 _ACEOF
3889 cat >>$CONFIG_STATUS <<\_ACEOF
3891 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3892 s&@configure_input@&$configure_input&;t t
3893 s&@top_builddir@&$ac_top_builddir_sub&;t t
3894 s&@srcdir@&$ac_srcdir&;t t
3895 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3896 s&@top_srcdir@&$ac_top_srcdir&;t t
3897 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3898 s&@builddir@&$ac_builddir&;t t
3899 s&@abs_builddir@&$ac_abs_builddir&;t t
3900 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3901 s&@INSTALL@&$ac_INSTALL&;t t
3902 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3903 $ac_datarootdir_hack
3904 " $ac_file_inputs | $AWK -f "$tmp/subs.awk" >$tmp/out
3906 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3907 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3908 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3909 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3910 which seems to be undefined. Please make sure it is defined." >&5
3911 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3912 which seems to be undefined. Please make sure it is defined." >&2;}
3914 rm -f "$tmp/stdin"
3915 case $ac_file in
3916 -) cat "$tmp/out"; rm -f "$tmp/out";;
3917 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3918 esac
3922 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3923 $as_echo "$as_me: executing $ac_file commands" >&6;}
3925 esac
3928 case $ac_file$ac_mode in
3929 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3930 # Configurable variable values for building test suites.
3931 # Generated by $0.
3932 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3934 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3935 at_testdir='tests'
3936 abs_builddir='$ac_abs_builddir'
3937 at_srcdir='$ac_srcdir'
3938 abs_srcdir='$ac_abs_srcdir'
3939 at_top_srcdir='$ac_top_srcdir'
3940 abs_top_srcdir='$ac_abs_top_srcdir'
3941 at_top_build_prefix='$ac_top_build_prefix'
3942 abs_top_builddir='$ac_abs_top_builddir'
3944 # Backward compatibility with Autotest <= 2.59b:
3945 at_top_builddir=\$at_top_build_prefix
3947 AUTOTEST_PATH='tests'
3949 SHELL=\${CONFIG_SHELL-'$SHELL'}
3950 ATEOF
3953 esac
3954 done # for ac_tag
3957 { (exit 0); exit 0; }
3958 _ACEOF
3959 chmod +x $CONFIG_STATUS
3960 ac_clean_files=$ac_clean_files_save
3963 # configure is writing to config.log, and then calls config.status.
3964 # config.status does its own redirection, appending to config.log.
3965 # Unfortunately, on DOS this fails, as config.log is still kept open
3966 # by configure, so config.status won't be able to write to it; its
3967 # output is simply discarded. So we exec the FD to /dev/null,
3968 # effectively closing config.log, so it can be properly (re)opened and
3969 # appended to by config.status. When coming back to configure, we
3970 # need to make the FD available again.
3971 if test "$no_create" != yes; then
3972 ac_cs_success=:
3973 ac_config_status_args=
3974 test "$silent" = yes &&
3975 ac_config_status_args="$ac_config_status_args --quiet"
3976 exec 5>/dev/null
3977 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3978 exec 5>>config.log
3979 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3980 # would make configure fail if this is the last instruction.
3981 $ac_cs_success || { (exit 1); exit 1; }
3983 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3984 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
3985 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
3988 # Report the state of this version of Autoconf if this is a beta.
3989 cat <<EOF
3991 You are about to use an experimental version of Autoconf. Be sure to
3992 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3994 Below you will find information on the status of this version of Autoconf.
3998 sed -n '/^\* Status/,$p' $srcdir/BUGS