* NEWS: Warnings are now generated by default for unknown
[autoconf/tsuna.git] / configure
blobb9d9b2bc26107afc726236b8a322d58c4d41db2e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61b for GNU Autoconf 2.61b.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 as_nl='
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 echo "#! /bin/sh" >conf$$.sh
77 echo "exit 0" >>conf$$.sh
78 chmod +x conf$$.sh
79 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
80 PATH_SEPARATOR=';'
81 else
82 PATH_SEPARATOR=:
84 rm -f conf$$.sh
87 # Support unset when possible.
88 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89 as_unset=unset
90 else
91 as_unset=false
95 # IFS
96 # We need space, tab and new line, in precisely that order. Quoting is
97 # there to prevent editors from complaining about space-tab.
98 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
99 # splitting by setting IFS to empty value.)
100 IFS=" "" $as_nl"
102 # Find who we are. Look in the path if we contain no directory separator.
103 case $0 in
104 *[\\/]* ) as_myself=$0 ;;
105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 for as_dir in $PATH
108 IFS=$as_save_IFS
109 test -z "$as_dir" && as_dir=.
110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
111 done
112 IFS=$as_save_IFS
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
121 if test ! -f "$as_myself"; then
122 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
123 { (exit 1); exit 1; }
126 # Work around bugs in pre-3.0 UWIN ksh.
127 for as_var in ENV MAIL MAILPATH
128 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
129 done
130 PS1='$ '
131 PS2='> '
132 PS4='+ '
134 # NLS nuisances.
135 for as_var in \
136 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
137 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
138 LC_TELEPHONE LC_TIME
140 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
141 eval $as_var=C; export $as_var
142 else
143 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
145 done
147 # Required to use basename.
148 if expr a : '\(a\)' >/dev/null 2>&1 &&
149 test "X`expr 00001 : '.*\(...\)'`" = X001; then
150 as_expr=expr
151 else
152 as_expr=false
155 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
156 as_basename=basename
157 else
158 as_basename=false
162 # Name of the executable.
163 as_me=`$as_basename -- "$0" ||
164 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
165 X"$0" : 'X\(//\)$' \| \
166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
167 $as_echo X/"$0" |
168 sed '/^.*\/\([^/][^/]*\)\/*$/{
169 s//\1/
172 /^X\/\(\/\/\)$/{
173 s//\1/
176 /^X\/\(\/\).*/{
177 s//\1/
180 s/.*/./; q'`
182 # CDPATH.
183 $as_unset CDPATH
186 if test "x$CONFIG_SHELL" = x; then
187 if (eval ":") 2>/dev/null; then
188 as_have_required=yes
189 else
190 as_have_required=no
193 if test $as_have_required = yes && (eval ":
194 (as_func_return () {
195 (exit \$1)
197 as_func_success () {
198 as_func_return 0
200 as_func_failure () {
201 as_func_return 1
203 as_func_ret_success () {
204 return 0
206 as_func_ret_failure () {
207 return 1
210 exitcode=0
211 if as_func_success; then
213 else
214 exitcode=1
215 echo as_func_success failed.
218 if as_func_failure; then
219 exitcode=1
220 echo as_func_failure succeeded.
223 if as_func_ret_success; then
225 else
226 exitcode=1
227 echo as_func_ret_success failed.
230 if as_func_ret_failure; then
231 exitcode=1
232 echo as_func_ret_failure succeeded.
235 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
237 else
238 exitcode=1
239 echo positional parameters were not saved.
242 test \$exitcode = 0) || { (exit 1); exit 1; }
245 as_lineno_1=\$LINENO
246 as_lineno_2=\$LINENO
247 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
248 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
249 ") 2> /dev/null; then
251 else
252 as_candidate_shells=
253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
254 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
256 IFS=$as_save_IFS
257 test -z "$as_dir" && as_dir=.
258 case $as_dir in
260 for as_base in sh bash ksh sh5; do
261 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
262 done;;
263 esac
264 done
265 IFS=$as_save_IFS
268 for as_shell in $as_candidate_shells $SHELL; do
269 # Try only shells that exist, to save several forks.
270 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
271 { ("$as_shell") 2> /dev/null <<\_ASEOF
272 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
273 emulate sh
274 NULLCMD=:
275 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
276 # is contrary to our usage. Disable this feature.
277 alias -g '${1+"$@"}'='"$@"'
278 setopt NO_GLOB_SUBST
279 else
280 case `(set -o) 2>/dev/null` in
281 *posix*) set -o posix ;;
282 esac
288 _ASEOF
289 }; then
290 CONFIG_SHELL=$as_shell
291 as_have_required=yes
292 if { "$as_shell" 2> /dev/null <<\_ASEOF
293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
294 emulate sh
295 NULLCMD=:
296 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
297 # is contrary to our usage. Disable this feature.
298 alias -g '${1+"$@"}'='"$@"'
299 setopt NO_GLOB_SUBST
300 else
301 case `(set -o) 2>/dev/null` in
302 *posix*) set -o posix ;;
303 esac
309 (as_func_return () {
310 (exit $1)
312 as_func_success () {
313 as_func_return 0
315 as_func_failure () {
316 as_func_return 1
318 as_func_ret_success () {
319 return 0
321 as_func_ret_failure () {
322 return 1
325 exitcode=0
326 if as_func_success; then
328 else
329 exitcode=1
330 echo as_func_success failed.
333 if as_func_failure; then
334 exitcode=1
335 echo as_func_failure succeeded.
338 if as_func_ret_success; then
340 else
341 exitcode=1
342 echo as_func_ret_success failed.
345 if as_func_ret_failure; then
346 exitcode=1
347 echo as_func_ret_failure succeeded.
350 if ( set x; as_func_ret_success y && test x = "$1" ); then
352 else
353 exitcode=1
354 echo positional parameters were not saved.
357 test $exitcode = 0) || { (exit 1); exit 1; }
360 as_lineno_1=$LINENO
361 as_lineno_2=$LINENO
362 test "x$as_lineno_1" != "x$as_lineno_2" &&
363 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
365 _ASEOF
366 }; then
367 break
372 done
374 if test "x$CONFIG_SHELL" != x; then
375 for as_var in BASH_ENV ENV
376 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
377 done
378 export CONFIG_SHELL
379 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
383 if test $as_have_required = no; then
384 echo This script requires a shell more modern than all the
385 echo shells that I found on your system. Please install a
386 echo modern shell, or manually run the script under such a
387 echo shell if you do have one.
388 { (exit 1); exit 1; }
398 (eval "as_func_return () {
399 (exit \$1)
401 as_func_success () {
402 as_func_return 0
404 as_func_failure () {
405 as_func_return 1
407 as_func_ret_success () {
408 return 0
410 as_func_ret_failure () {
411 return 1
414 exitcode=0
415 if as_func_success; then
417 else
418 exitcode=1
419 echo as_func_success failed.
422 if as_func_failure; then
423 exitcode=1
424 echo as_func_failure succeeded.
427 if as_func_ret_success; then
429 else
430 exitcode=1
431 echo as_func_ret_success failed.
434 if as_func_ret_failure; then
435 exitcode=1
436 echo as_func_ret_failure succeeded.
439 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
441 else
442 exitcode=1
443 echo positional parameters were not saved.
446 test \$exitcode = 0") || {
447 echo No shell found that supports shell functions.
448 echo Please tell autoconf@gnu.org about your system,
449 echo including any error possibly output before this
450 echo message
455 as_lineno_1=$LINENO
456 as_lineno_2=$LINENO
457 test "x$as_lineno_1" != "x$as_lineno_2" &&
458 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
460 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
461 # uniformly replaced by the line number. The first 'sed' inserts a
462 # line-number line after each line using $LINENO; the second 'sed'
463 # does the real work. The second script uses 'N' to pair each
464 # line-number line with the line containing $LINENO, and appends
465 # trailing '-' during substitution so that $LINENO is not a special
466 # case at line end.
467 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
468 # scripts with optimization help from Paolo Bonzini. Blame Lee
469 # E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
478 :lineno
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
487 { (exit 1); exit 1; }; }
489 # Don't try to exec as it changes $[0], causing all sort of problems
490 # (the dirname of $[0] is not the place where we might find the
491 # original and so on. Autoconf is especially sensitive to this).
492 . "./$as_me.lineno"
493 # Exit status is that of the last command.
494 exit
498 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
499 as_dirname=dirname
500 else
501 as_dirname=false
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in
506 -n*)
507 case `echo 'x\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) ECHO_C='\c';;
510 esac;;
512 ECHO_N='-n';;
513 esac
514 if expr a : '\(a\)' >/dev/null 2>&1 &&
515 test "X`expr 00001 : '.*\(...\)'`" = X001; then
516 as_expr=expr
517 else
518 as_expr=false
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir
528 echo >conf$$.file
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -p'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -p'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -p'
542 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
543 rmdir conf$$.dir 2>/dev/null
545 if mkdir -p . 2>/dev/null; then
546 as_mkdir_p=:
547 else
548 test -d ./-p && rmdir ./-p
549 as_mkdir_p=false
552 if test -x / >/dev/null 2>&1; then
553 as_test_x='test -x'
554 else
555 if ls -dL / >/dev/null 2>&1; then
556 as_ls_L_option=L
557 else
558 as_ls_L_option=
560 as_test_x='
561 eval sh -c '\''
562 if test -d "$1"; then
563 test -d "$1/.";
564 else
565 case $1 in
566 -*)set "./$1";;
567 esac;
568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
569 ???[sx]*):;;*)false;;esac;fi
570 '\'' sh
573 as_executable_p=$as_test_x
575 # Sed expression to map a string onto a valid CPP name.
576 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
578 # Sed expression to map a string onto a valid variable name.
579 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
583 exec 7<&0 </dev/null 6>&1
585 # Name of the host.
586 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
587 # so uname gets run too.
588 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
591 # Initializations.
593 ac_default_prefix=/usr/local
594 ac_clean_files=
595 ac_config_libobj_dir=.
596 LIBOBJS=
597 cross_compiling=no
598 subdirs=
599 MFLAGS=
600 MAKEFLAGS=
601 SHELL=${CONFIG_SHELL-/bin/sh}
603 # Identity of this package.
604 PACKAGE_NAME='GNU Autoconf'
605 PACKAGE_TARNAME='autoconf'
606 PACKAGE_VERSION='2.61b'
607 PACKAGE_STRING='GNU Autoconf 2.61b'
608 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
610 ac_unique_file="ChangeLog"
611 ac_subst_vars='SHELL
612 PATH_SEPARATOR
613 PACKAGE_NAME
614 PACKAGE_TARNAME
615 PACKAGE_VERSION
616 PACKAGE_STRING
617 PACKAGE_BUGREPORT
618 exec_prefix
619 prefix
620 program_transform_name
621 bindir
622 sbindir
623 libexecdir
624 datarootdir
625 datadir
626 sysconfdir
627 sharedstatedir
628 localstatedir
629 includedir
630 oldincludedir
631 docdir
632 infodir
633 htmldir
634 dvidir
635 pdfdir
636 psdir
637 libdir
638 localedir
639 mandir
640 DEFS
641 ECHO_C
642 ECHO_N
643 ECHO_T
644 LIBS
645 build_alias
646 host_alias
647 target_alias
648 INSTALL_PROGRAM
649 INSTALL_SCRIPT
650 INSTALL_DATA
651 am__isrc
652 CYGPATH_W
653 PACKAGE
654 VERSION
655 ACLOCAL
656 AUTOCONF
657 AUTOMAKE
658 AUTOHEADER
659 MAKEINFO
660 install_sh
661 STRIP
662 INSTALL_STRIP_PROGRAM
663 mkdir_p
665 SET_MAKE
666 am__leading_dot
667 AMTAR
668 am__tar
669 am__untar
670 ac_cv_sh_n_works
671 EXPR
673 M4_DEBUGFILE
674 HELP2MAN
675 PERL
676 TEST_EMACS
677 EMACS
678 EMACSLOADPATH
679 lispdir
680 GREP
681 EGREP
683 LIBOBJS
684 LTLIBOBJS'
685 ac_subst_files=''
686 ac_precious_vars='build_alias
687 host_alias
688 target_alias
689 EMACS
690 EMACSLOADPATH'
693 # Initialize some variables set by options.
694 ac_init_help=
695 ac_init_version=false
696 # The variables have the same names as the options, with
697 # dashes changed to underlines.
698 cache_file=/dev/null
699 exec_prefix=NONE
700 no_create=
701 no_recursion=
702 prefix=NONE
703 program_prefix=NONE
704 program_suffix=NONE
705 program_transform_name=s,x,x,
706 silent=
707 site=
708 srcdir=
709 verbose=
710 x_includes=NONE
711 x_libraries=NONE
713 # Installation directory options.
714 # These are left unexpanded so users can "make install exec_prefix=/foo"
715 # and all the variables that are supposed to be based on exec_prefix
716 # by default will actually change.
717 # Use braces instead of parens because sh, perl, etc. also accept them.
718 # (The list follows the same order as the GNU Coding Standards.)
719 bindir='${exec_prefix}/bin'
720 sbindir='${exec_prefix}/sbin'
721 libexecdir='${exec_prefix}/libexec'
722 datarootdir='${prefix}/share'
723 datadir='${datarootdir}'
724 sysconfdir='${prefix}/etc'
725 sharedstatedir='${prefix}/com'
726 localstatedir='${prefix}/var'
727 includedir='${prefix}/include'
728 oldincludedir='/usr/include'
729 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
730 infodir='${datarootdir}/info'
731 htmldir='${docdir}'
732 dvidir='${docdir}'
733 pdfdir='${docdir}'
734 psdir='${docdir}'
735 libdir='${exec_prefix}/lib'
736 localedir='${datarootdir}/locale'
737 mandir='${datarootdir}/man'
739 ac_prev=
740 ac_dashdash=
741 for ac_option
743 # If the previous option needs an argument, assign it.
744 if test -n "$ac_prev"; then
745 eval $ac_prev=\$ac_option
746 ac_prev=
747 continue
750 case $ac_option in
751 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752 *) ac_optarg=yes ;;
753 esac
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
759 ac_dashdash=yes ;;
761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
762 ac_prev=bindir ;;
763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
764 bindir=$ac_optarg ;;
766 -build | --build | --buil | --bui | --bu)
767 ac_prev=build_alias ;;
768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769 build_alias=$ac_optarg ;;
771 -cache-file | --cache-file | --cache-fil | --cache-fi \
772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773 ac_prev=cache_file ;;
774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776 cache_file=$ac_optarg ;;
778 --config-cache | -C)
779 cache_file=config.cache ;;
781 -datadir | --datadir | --datadi | --datad)
782 ac_prev=datadir ;;
783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
784 datadir=$ac_optarg ;;
786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787 | --dataroo | --dataro | --datar)
788 ac_prev=datarootdir ;;
789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791 datarootdir=$ac_optarg ;;
793 -disable-* | --disable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
797 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
798 { (exit 1); exit 1; }; }
799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
800 eval enable_$ac_useropt=no ;;
802 -docdir | --docdir | --docdi | --doc | --do)
803 ac_prev=docdir ;;
804 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
805 docdir=$ac_optarg ;;
807 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
808 ac_prev=dvidir ;;
809 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
810 dvidir=$ac_optarg ;;
812 -enable-* | --enable-*)
813 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
816 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
817 { (exit 1); exit 1; }; }
818 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
819 eval enable_$ac_useropt=\$ac_optarg ;;
821 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
822 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
823 | --exec | --exe | --ex)
824 ac_prev=exec_prefix ;;
825 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
826 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
827 | --exec=* | --exe=* | --ex=*)
828 exec_prefix=$ac_optarg ;;
830 -gas | --gas | --ga | --g)
831 # Obsolete; use --with-gas.
832 with_gas=yes ;;
834 -help | --help | --hel | --he | -h)
835 ac_init_help=long ;;
836 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
837 ac_init_help=recursive ;;
838 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
839 ac_init_help=short ;;
841 -host | --host | --hos | --ho)
842 ac_prev=host_alias ;;
843 -host=* | --host=* | --hos=* | --ho=*)
844 host_alias=$ac_optarg ;;
846 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
847 ac_prev=htmldir ;;
848 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
849 | --ht=*)
850 htmldir=$ac_optarg ;;
852 -includedir | --includedir | --includedi | --included | --include \
853 | --includ | --inclu | --incl | --inc)
854 ac_prev=includedir ;;
855 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
856 | --includ=* | --inclu=* | --incl=* | --inc=*)
857 includedir=$ac_optarg ;;
859 -infodir | --infodir | --infodi | --infod | --info | --inf)
860 ac_prev=infodir ;;
861 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
862 infodir=$ac_optarg ;;
864 -libdir | --libdir | --libdi | --libd)
865 ac_prev=libdir ;;
866 -libdir=* | --libdir=* | --libdi=* | --libd=*)
867 libdir=$ac_optarg ;;
869 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
870 | --libexe | --libex | --libe)
871 ac_prev=libexecdir ;;
872 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
873 | --libexe=* | --libex=* | --libe=*)
874 libexecdir=$ac_optarg ;;
876 -localedir | --localedir | --localedi | --localed | --locale)
877 ac_prev=localedir ;;
878 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
879 localedir=$ac_optarg ;;
881 -localstatedir | --localstatedir | --localstatedi | --localstated \
882 | --localstate | --localstat | --localsta | --localst | --locals)
883 ac_prev=localstatedir ;;
884 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
885 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
886 localstatedir=$ac_optarg ;;
888 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
889 ac_prev=mandir ;;
890 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
891 mandir=$ac_optarg ;;
893 -nfp | --nfp | --nf)
894 # Obsolete; use --without-fp.
895 with_fp=no ;;
897 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
898 | --no-cr | --no-c | -n)
899 no_create=yes ;;
901 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
902 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
903 no_recursion=yes ;;
905 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
906 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
907 | --oldin | --oldi | --old | --ol | --o)
908 ac_prev=oldincludedir ;;
909 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
910 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
911 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
912 oldincludedir=$ac_optarg ;;
914 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
915 ac_prev=prefix ;;
916 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
917 prefix=$ac_optarg ;;
919 -program-prefix | --program-prefix | --program-prefi | --program-pref \
920 | --program-pre | --program-pr | --program-p)
921 ac_prev=program_prefix ;;
922 -program-prefix=* | --program-prefix=* | --program-prefi=* \
923 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
924 program_prefix=$ac_optarg ;;
926 -program-suffix | --program-suffix | --program-suffi | --program-suff \
927 | --program-suf | --program-su | --program-s)
928 ac_prev=program_suffix ;;
929 -program-suffix=* | --program-suffix=* | --program-suffi=* \
930 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
931 program_suffix=$ac_optarg ;;
933 -program-transform-name | --program-transform-name \
934 | --program-transform-nam | --program-transform-na \
935 | --program-transform-n | --program-transform- \
936 | --program-transform | --program-transfor \
937 | --program-transfo | --program-transf \
938 | --program-trans | --program-tran \
939 | --progr-tra | --program-tr | --program-t)
940 ac_prev=program_transform_name ;;
941 -program-transform-name=* | --program-transform-name=* \
942 | --program-transform-nam=* | --program-transform-na=* \
943 | --program-transform-n=* | --program-transform-=* \
944 | --program-transform=* | --program-transfor=* \
945 | --program-transfo=* | --program-transf=* \
946 | --program-trans=* | --program-tran=* \
947 | --progr-tra=* | --program-tr=* | --program-t=*)
948 program_transform_name=$ac_optarg ;;
950 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
951 ac_prev=pdfdir ;;
952 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
953 pdfdir=$ac_optarg ;;
955 -psdir | --psdir | --psdi | --psd | --ps)
956 ac_prev=psdir ;;
957 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
958 psdir=$ac_optarg ;;
960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
961 | -silent | --silent | --silen | --sile | --sil)
962 silent=yes ;;
964 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
965 ac_prev=sbindir ;;
966 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
967 | --sbi=* | --sb=*)
968 sbindir=$ac_optarg ;;
970 -sharedstatedir | --sharedstatedir | --sharedstatedi \
971 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
972 | --sharedst | --shareds | --shared | --share | --shar \
973 | --sha | --sh)
974 ac_prev=sharedstatedir ;;
975 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
976 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
977 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
978 | --sha=* | --sh=*)
979 sharedstatedir=$ac_optarg ;;
981 -site | --site | --sit)
982 ac_prev=site ;;
983 -site=* | --site=* | --sit=*)
984 site=$ac_optarg ;;
986 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
987 ac_prev=srcdir ;;
988 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
989 srcdir=$ac_optarg ;;
991 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
992 | --syscon | --sysco | --sysc | --sys | --sy)
993 ac_prev=sysconfdir ;;
994 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
995 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
996 sysconfdir=$ac_optarg ;;
998 -target | --target | --targe | --targ | --tar | --ta | --t)
999 ac_prev=target_alias ;;
1000 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1001 target_alias=$ac_optarg ;;
1003 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1004 verbose=yes ;;
1006 -version | --version | --versio | --versi | --vers | -V)
1007 ac_init_version=: ;;
1009 -with-* | --with-*)
1010 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1013 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1014 { (exit 1); exit 1; }; }
1015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1016 eval with_$ac_useropt=\$ac_optarg ;;
1018 -without-* | --without-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1023 { (exit 1); exit 1; }; }
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1025 eval with_$ac_useropt=no ;;
1027 --x)
1028 # Obsolete; use --with-x.
1029 with_x=yes ;;
1031 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1032 | --x-incl | --x-inc | --x-in | --x-i)
1033 ac_prev=x_includes ;;
1034 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1035 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1036 x_includes=$ac_optarg ;;
1038 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1039 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1040 ac_prev=x_libraries ;;
1041 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1042 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1043 x_libraries=$ac_optarg ;;
1045 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1046 Try \`$0 --help' for more information." >&2
1047 { (exit 1); exit 1; }; }
1050 *=*)
1051 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1054 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1055 { (exit 1); exit 1; }; }
1056 eval $ac_envvar=\$ac_optarg
1057 export $ac_envvar ;;
1060 # FIXME: should be removed in autoconf 3.0.
1061 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1067 esac
1068 done
1070 if test -n "$ac_prev"; then
1071 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1072 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1073 { (exit 1); exit 1; }; }
1076 # Be sure to have absolute directory names.
1077 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1078 datadir sysconfdir sharedstatedir localstatedir includedir \
1079 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1080 libdir localedir mandir
1082 eval ac_val=\$$ac_var
1083 case $ac_val in
1084 [\\/$]* | ?:[\\/]* ) continue;;
1085 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1086 esac
1087 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1088 { (exit 1); exit 1; }; }
1089 done
1091 # There might be people who depend on the old broken behavior: `$host'
1092 # used to hold the argument of --host etc.
1093 # FIXME: To remove some day.
1094 build=$build_alias
1095 host=$host_alias
1096 target=$target_alias
1098 # FIXME: To remove some day.
1099 if test "x$host_alias" != x; then
1100 if test "x$build_alias" = x; then
1101 cross_compiling=maybe
1102 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1103 If a cross compiler is detected then cross compile mode will be used." >&2
1104 elif test "x$build_alias" != "x$host_alias"; then
1105 cross_compiling=yes
1109 ac_tool_prefix=
1110 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1112 test "$silent" = yes && exec 6>/dev/null
1115 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1116 ac_ls_di=`ls -di .` &&
1117 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1118 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1119 { (exit 1); exit 1; }; }
1120 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1121 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1122 { (exit 1); exit 1; }; }
1125 # Find the source files, if location was not specified.
1126 if test -z "$srcdir"; then
1127 ac_srcdir_defaulted=yes
1128 # Try the directory containing this script, then the parent directory.
1129 ac_confdir=`$as_dirname -- "$0" ||
1130 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1131 X"$0" : 'X\(//\)[^/]' \| \
1132 X"$0" : 'X\(//\)$' \| \
1133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1134 $as_echo X"$0" |
1135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1136 s//\1/
1139 /^X\(\/\/\)[^/].*/{
1140 s//\1/
1143 /^X\(\/\/\)$/{
1144 s//\1/
1147 /^X\(\/\).*/{
1148 s//\1/
1151 s/.*/./; q'`
1152 srcdir=$ac_confdir
1153 if test ! -r "$srcdir/$ac_unique_file"; then
1154 srcdir=..
1156 else
1157 ac_srcdir_defaulted=no
1159 if test ! -r "$srcdir/$ac_unique_file"; then
1160 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1161 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1162 { (exit 1); exit 1; }; }
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1165 ac_abs_confdir=`(
1166 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1167 { (exit 1); exit 1; }; }
1168 pwd)`
1169 # When building in place, set srcdir=.
1170 if test "$ac_abs_confdir" = "$ac_pwd"; then
1171 srcdir=.
1173 # Remove unnecessary trailing slashes from srcdir.
1174 # Double slashes in file names in object file debugging info
1175 # mess up M-x gdb in Emacs.
1176 case $srcdir in
1177 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1178 esac
1179 for ac_var in $ac_precious_vars; do
1180 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1181 eval ac_env_${ac_var}_value=\$${ac_var}
1182 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1183 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1184 done
1187 # Report the --help message.
1189 if test "$ac_init_help" = "long"; then
1190 # Omit some internal or obsolete options to make the list less imposing.
1191 # This message is too long to be a string in the A/UX 3.1 sh.
1192 cat <<_ACEOF
1193 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1195 Usage: $0 [OPTION]... [VAR=VALUE]...
1197 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1198 VAR=VALUE. See below for descriptions of some of the useful variables.
1200 Defaults for the options are specified in brackets.
1202 Configuration:
1203 -h, --help display this help and exit
1204 --help=short display options specific to this package
1205 --help=recursive display the short help of all the included packages
1206 -V, --version display version information and exit
1207 -q, --quiet, --silent do not print \`checking...' messages
1208 --cache-file=FILE cache test results in FILE [disabled]
1209 -C, --config-cache alias for \`--cache-file=config.cache'
1210 -n, --no-create do not create output files
1211 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1213 Installation directories:
1214 --prefix=PREFIX install architecture-independent files in PREFIX
1215 [$ac_default_prefix]
1216 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1217 [PREFIX]
1219 By default, \`make install' will install all the files in
1220 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1221 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1222 for instance \`--prefix=\$HOME'.
1224 For better control, use the options below.
1226 Fine tuning of the installation directories:
1227 --bindir=DIR user executables [EPREFIX/bin]
1228 --sbindir=DIR system admin executables [EPREFIX/sbin]
1229 --libexecdir=DIR program executables [EPREFIX/libexec]
1230 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1231 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1232 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1233 --libdir=DIR object code libraries [EPREFIX/lib]
1234 --includedir=DIR C header files [PREFIX/include]
1235 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1236 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1237 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1238 --infodir=DIR info documentation [DATAROOTDIR/info]
1239 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1240 --mandir=DIR man documentation [DATAROOTDIR/man]
1241 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1242 --htmldir=DIR html documentation [DOCDIR]
1243 --dvidir=DIR dvi documentation [DOCDIR]
1244 --pdfdir=DIR pdf documentation [DOCDIR]
1245 --psdir=DIR ps documentation [DOCDIR]
1246 _ACEOF
1248 cat <<\_ACEOF
1250 Program names:
1251 --program-prefix=PREFIX prepend PREFIX to installed program names
1252 --program-suffix=SUFFIX append SUFFIX to installed program names
1253 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1254 _ACEOF
1257 if test -n "$ac_init_help"; then
1258 case $ac_init_help in
1259 short | recursive ) echo "Configuration of GNU Autoconf 2.61b:";;
1260 esac
1261 cat <<\_ACEOF
1263 Optional Packages:
1264 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1265 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1266 --with-lispdir override the default lisp directory
1268 Some influential environment variables:
1269 EMACS the Emacs editor command
1270 EMACSLOADPATH
1271 the Emacs library search path
1273 Use these variables to override the choices made by `configure' or to help
1274 it to find libraries and programs with nonstandard names/locations.
1276 Report bugs to <bug-autoconf@gnu.org>.
1277 _ACEOF
1278 ac_status=$?
1281 if test "$ac_init_help" = "recursive"; then
1282 # If there are subdirs, report their specific --help.
1283 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1284 test -d "$ac_dir" || continue
1285 ac_builddir=.
1287 case "$ac_dir" in
1288 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1290 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
1291 # A ".." for each directory in $ac_dir_suffix.
1292 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1293 case $ac_top_builddir_sub in
1294 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1295 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1296 esac ;;
1297 esac
1298 ac_abs_top_builddir=$ac_pwd
1299 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1300 # for backward compatibility:
1301 ac_top_builddir=$ac_top_build_prefix
1303 case $srcdir in
1304 .) # We are building in place.
1305 ac_srcdir=.
1306 ac_top_srcdir=$ac_top_builddir_sub
1307 ac_abs_top_srcdir=$ac_pwd ;;
1308 [\\/]* | ?:[\\/]* ) # Absolute name.
1309 ac_srcdir=$srcdir$ac_dir_suffix;
1310 ac_top_srcdir=$srcdir
1311 ac_abs_top_srcdir=$srcdir ;;
1312 *) # Relative name.
1313 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1314 ac_top_srcdir=$ac_top_build_prefix$srcdir
1315 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1316 esac
1317 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1319 cd "$ac_dir" || { ac_status=$?; continue; }
1320 # Check for guested configure.
1321 if test -f "$ac_srcdir/configure.gnu"; then
1322 echo &&
1323 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1324 elif test -f "$ac_srcdir/configure"; then
1325 echo &&
1326 $SHELL "$ac_srcdir/configure" --help=recursive
1327 else
1328 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1329 fi || ac_status=$?
1330 cd "$ac_pwd" || { ac_status=$?; break; }
1331 done
1334 test -n "$ac_init_help" && exit $ac_status
1335 if $ac_init_version; then
1336 cat <<\_ACEOF
1337 GNU Autoconf configure 2.61b
1338 generated by GNU Autoconf 2.61b
1340 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1341 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1342 This configure script is free software; the Free Software Foundation
1343 gives unlimited permission to copy, distribute and modify it.
1344 _ACEOF
1345 exit
1347 cat >config.log <<_ACEOF
1348 This file contains any messages produced by compilers while
1349 running configure, to aid debugging if configure makes a mistake.
1351 It was created by GNU Autoconf $as_me 2.61b, which was
1352 generated by GNU Autoconf 2.61b. Invocation command line was
1354 $ $0 $@
1356 _ACEOF
1357 exec 5>>config.log
1359 cat <<_ASUNAME
1360 ## --------- ##
1361 ## Platform. ##
1362 ## --------- ##
1364 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1365 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1366 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1367 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1368 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1370 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1371 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1373 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1374 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1375 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1376 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1377 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1378 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1379 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1381 _ASUNAME
1383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1384 for as_dir in $PATH
1386 IFS=$as_save_IFS
1387 test -z "$as_dir" && as_dir=.
1388 $as_echo "PATH: $as_dir"
1389 done
1390 IFS=$as_save_IFS
1392 } >&5
1394 cat >&5 <<_ACEOF
1397 ## ----------- ##
1398 ## Core tests. ##
1399 ## ----------- ##
1401 _ACEOF
1404 # Keep a trace of the command line.
1405 # Strip out --no-create and --no-recursion so they do not pile up.
1406 # Strip out --silent because we don't want to record it for future runs.
1407 # Also quote any args containing shell meta-characters.
1408 # Make two passes to allow for proper duplicate-argument suppression.
1409 ac_configure_args=
1410 ac_configure_args0=
1411 ac_configure_args1=
1412 ac_must_keep_next=false
1413 for ac_pass in 1 2
1415 for ac_arg
1417 case $ac_arg in
1418 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1419 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1420 | -silent | --silent | --silen | --sile | --sil)
1421 continue ;;
1422 *\'*)
1423 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1424 esac
1425 case $ac_pass in
1426 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1428 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1429 if test $ac_must_keep_next = true; then
1430 ac_must_keep_next=false # Got value, back to normal.
1431 else
1432 case $ac_arg in
1433 *=* | --config-cache | -C | -disable-* | --disable-* \
1434 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1435 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1436 | -with-* | --with-* | -without-* | --without-* | --x)
1437 case "$ac_configure_args0 " in
1438 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1439 esac
1441 -* ) ac_must_keep_next=true ;;
1442 esac
1444 ac_configure_args="$ac_configure_args '$ac_arg'"
1446 esac
1447 done
1448 done
1449 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1450 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1452 # When interrupted or exit'd, cleanup temporary files, and complete
1453 # config.log. We remove comments because anyway the quotes in there
1454 # would cause problems or look ugly.
1455 # WARNING: Use '\'' to represent an apostrophe within the trap.
1456 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1457 trap 'exit_status=$?
1458 # Save into config.log some information that might help in debugging.
1460 echo
1462 cat <<\_ASBOX
1463 ## ---------------- ##
1464 ## Cache variables. ##
1465 ## ---------------- ##
1466 _ASBOX
1467 echo
1468 # The following way of writing the cache mishandles newlines in values,
1470 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1471 eval ac_val=\$$ac_var
1472 case $ac_val in #(
1473 *${as_nl}*)
1474 case $ac_var in #(
1475 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1476 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1477 esac
1478 case $ac_var in #(
1479 _ | IFS | as_nl) ;; #(
1480 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1481 *) $as_unset $ac_var ;;
1482 esac ;;
1483 esac
1484 done
1485 (set) 2>&1 |
1486 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1487 *${as_nl}ac_space=\ *)
1488 sed -n \
1489 "s/'\''/'\''\\\\'\'''\''/g;
1490 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1491 ;; #(
1493 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1495 esac |
1496 sort
1498 echo
1500 cat <<\_ASBOX
1501 ## ----------------- ##
1502 ## Output variables. ##
1503 ## ----------------- ##
1504 _ASBOX
1505 echo
1506 for ac_var in $ac_subst_vars
1508 eval ac_val=\$$ac_var
1509 case $ac_val in
1510 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1511 esac
1512 $as_echo "$ac_var='\''$ac_val'\''"
1513 done | sort
1514 echo
1516 if test -n "$ac_subst_files"; then
1517 cat <<\_ASBOX
1518 ## ------------------- ##
1519 ## File substitutions. ##
1520 ## ------------------- ##
1521 _ASBOX
1522 echo
1523 for ac_var in $ac_subst_files
1525 eval ac_val=\$$ac_var
1526 case $ac_val in
1527 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1528 esac
1529 $as_echo "$ac_var='\''$ac_val'\''"
1530 done | sort
1531 echo
1534 if test -s confdefs.h; then
1535 cat <<\_ASBOX
1536 ## ----------- ##
1537 ## confdefs.h. ##
1538 ## ----------- ##
1539 _ASBOX
1540 echo
1541 cat confdefs.h
1542 echo
1544 test "$ac_signal" != 0 &&
1545 $as_echo "$as_me: caught signal $ac_signal"
1546 $as_echo "$as_me: exit $exit_status"
1547 } >&5
1548 rm -f core *.core core.conftest.* &&
1549 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1550 exit $exit_status
1552 for ac_signal in 1 2 13 15; do
1553 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1554 done
1555 ac_signal=0
1557 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1558 rm -f -r conftest* confdefs.h
1560 # Predefined preprocessor variables.
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_NAME "$PACKAGE_NAME"
1564 _ACEOF
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1569 _ACEOF
1572 cat >>confdefs.h <<_ACEOF
1573 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1574 _ACEOF
1577 cat >>confdefs.h <<_ACEOF
1578 #define PACKAGE_STRING "$PACKAGE_STRING"
1579 _ACEOF
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1584 _ACEOF
1587 # Let the site file select an alternate cache file if it wants to.
1588 # Prefer explicitly selected file to automatically selected ones.
1589 if test -n "$CONFIG_SITE"; then
1590 set x "$CONFIG_SITE"
1591 elif test "x$prefix" != xNONE; then
1592 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1593 else
1594 set x "$ac_default_prefix/share/config.site" \
1595 "$ac_default_prefix/etc/config.site"
1597 shift
1598 for ac_site_file
1600 if test -r "$ac_site_file"; then
1601 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1602 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1603 sed 's/^/| /' "$ac_site_file" >&5
1604 . "$ac_site_file"
1606 done
1608 if test -r "$cache_file"; then
1609 # Some versions of bash will fail to source /dev/null (special
1610 # files actually), so we avoid doing that.
1611 if test -f "$cache_file"; then
1612 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1613 $as_echo "$as_me: loading cache $cache_file" >&6;}
1614 case $cache_file in
1615 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1616 *) . "./$cache_file";;
1617 esac
1619 else
1620 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1621 $as_echo "$as_me: creating cache $cache_file" >&6;}
1622 >$cache_file
1625 # Check that the precious variables saved in the cache have kept the same
1626 # value.
1627 ac_cache_corrupted=false
1628 for ac_var in $ac_precious_vars; do
1629 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1630 eval ac_new_set=\$ac_env_${ac_var}_set
1631 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1632 eval ac_new_val=\$ac_env_${ac_var}_value
1633 case $ac_old_set,$ac_new_set in
1634 set,)
1635 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1636 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1637 ac_cache_corrupted=: ;;
1638 ,set)
1639 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1640 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1641 ac_cache_corrupted=: ;;
1642 ,);;
1644 if test "x$ac_old_val" != "x$ac_new_val"; then
1645 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1646 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1647 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1648 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1649 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1650 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1651 ac_cache_corrupted=:
1652 fi;;
1653 esac
1654 # Pass precious variables to config.status.
1655 if test "$ac_new_set" = set; then
1656 case $ac_new_val in
1657 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1658 *) ac_arg=$ac_var=$ac_new_val ;;
1659 esac
1660 case " $ac_configure_args " in
1661 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1662 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1663 esac
1665 done
1666 if $ac_cache_corrupted; then
1667 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1668 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1669 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1670 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1671 { (exit 1); exit 1; }; }
1698 ac_ext=c
1699 ac_cpp='$CPP $CPPFLAGS'
1700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1707 ac_aux_dir=
1708 for ac_dir in build-aux "$srcdir"/build-aux; do
1709 if test -f "$ac_dir/install-sh"; then
1710 ac_aux_dir=$ac_dir
1711 ac_install_sh="$ac_aux_dir/install-sh -c"
1712 break
1713 elif test -f "$ac_dir/install.sh"; then
1714 ac_aux_dir=$ac_dir
1715 ac_install_sh="$ac_aux_dir/install.sh -c"
1716 break
1717 elif test -f "$ac_dir/shtool"; then
1718 ac_aux_dir=$ac_dir
1719 ac_install_sh="$ac_aux_dir/shtool install -c"
1720 break
1722 done
1723 if test -z "$ac_aux_dir"; then
1724 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1725 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1726 { (exit 1); exit 1; }; }
1729 # These three variables are undocumented and unsupported,
1730 # and are intended to be withdrawn in a future Autoconf release.
1731 # They can cause serious problems if a builder's source tree is in a directory
1732 # whose full name contains unusual characters.
1733 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1734 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1735 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1739 am__api_version='1.10'
1741 # Find a good install program. We prefer a C program (faster),
1742 # so one script is as good as another. But avoid the broken or
1743 # incompatible versions:
1744 # SysV /etc/install, /usr/sbin/install
1745 # SunOS /usr/etc/install
1746 # IRIX /sbin/install
1747 # AIX /bin/install
1748 # AmigaOS /C/install, which installs bootblocks on floppy discs
1749 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1750 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1751 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1752 # OS/2's system install, which has a completely different semantic
1753 # ./install, which can be erroneously created by make from ./install.sh.
1754 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1755 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1756 if test -z "$INSTALL"; then
1757 if test "${ac_cv_path_install+set}" = set; then
1758 $as_echo_n "(cached) " >&6
1759 else
1760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761 for as_dir in $PATH
1763 IFS=$as_save_IFS
1764 test -z "$as_dir" && as_dir=.
1765 # Account for people who put trailing slashes in PATH elements.
1766 case $as_dir/ in
1767 ./ | .// | /cC/* | \
1768 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1769 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1770 /usr/ucb/* ) ;;
1772 # OSF1 and SCO ODT 3.0 have their own names for install.
1773 # Don't use installbsd from OSF since it installs stuff as root
1774 # by default.
1775 for ac_prog in ginstall scoinst install; do
1776 for ac_exec_ext in '' $ac_executable_extensions; do
1777 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1778 if test $ac_prog = install &&
1779 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1780 # AIX install. It has an incompatible calling convention.
1782 elif test $ac_prog = install &&
1783 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1784 # program-specific install script used by HP pwplus--don't use.
1786 else
1787 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1788 break 3
1791 done
1792 done
1794 esac
1795 done
1796 IFS=$as_save_IFS
1800 if test "${ac_cv_path_install+set}" = set; then
1801 INSTALL=$ac_cv_path_install
1802 else
1803 # As a last resort, use the slow shell script. Don't cache a
1804 # value for INSTALL within a source directory, because that will
1805 # break other packages using the cache if that directory is
1806 # removed, or if the value is a relative name.
1807 INSTALL=$ac_install_sh
1810 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1811 $as_echo "$INSTALL" >&6; }
1813 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1814 # It thinks the first close brace ends the variable substitution.
1815 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1817 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1819 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1821 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1822 $as_echo_n "checking whether build environment is sane... " >&6; }
1823 # Just in case
1824 sleep 1
1825 echo timestamp > conftest.file
1826 # Do `set' in a subshell so we don't clobber the current shell's
1827 # arguments. Must try -L first in case configure is actually a
1828 # symlink; some systems play weird games with the mod time of symlinks
1829 # (eg FreeBSD returns the mod time of the symlink's containing
1830 # directory).
1831 if (
1832 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1833 if test "$*" = "X"; then
1834 # -L didn't work.
1835 set X `ls -t $srcdir/configure conftest.file`
1837 rm -f conftest.file
1838 if test "$*" != "X $srcdir/configure conftest.file" \
1839 && test "$*" != "X conftest.file $srcdir/configure"; then
1841 # If neither matched, then we have a broken ls. This can happen
1842 # if, for instance, CONFIG_SHELL is bash and it inherits a
1843 # broken ls alias from the environment. This has actually
1844 # happened. Such a system could not be considered "sane".
1845 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1846 alias in your environment" >&5
1847 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1848 alias in your environment" >&2;}
1849 { (exit 1); exit 1; }; }
1852 test "$2" = conftest.file
1854 then
1855 # Ok.
1857 else
1858 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1859 Check your system clock" >&5
1860 $as_echo "$as_me: error: newly created file is older than distributed files!
1861 Check your system clock" >&2;}
1862 { (exit 1); exit 1; }; }
1864 { $as_echo "$as_me:$LINENO: result: yes" >&5
1865 $as_echo "yes" >&6; }
1866 test "$program_prefix" != NONE &&
1867 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1868 # Use a double $ so make ignores it.
1869 test "$program_suffix" != NONE &&
1870 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1871 # Double any \ or $.
1872 # By default was `s,x,x', remove it if useless.
1873 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1874 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1876 # expand $ac_aux_dir to an absolute path
1877 am_aux_dir=`cd $ac_aux_dir && pwd`
1879 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1880 # Use eval to expand $SHELL
1881 if eval "$MISSING --run true"; then
1882 am_missing_run="$MISSING --run "
1883 else
1884 am_missing_run=
1885 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1886 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1889 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1890 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1891 if test -z "$MKDIR_P"; then
1892 if test "${ac_cv_path_mkdir+set}" = set; then
1893 $as_echo_n "(cached) " >&6
1894 else
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1896 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1898 IFS=$as_save_IFS
1899 test -z "$as_dir" && as_dir=.
1900 for ac_prog in mkdir gmkdir; do
1901 for ac_exec_ext in '' $ac_executable_extensions; do
1902 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1903 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1904 'mkdir (GNU coreutils) '* | \
1905 'mkdir (coreutils) '* | \
1906 'mkdir (fileutils) '4.1*)
1907 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1908 break 3;;
1909 esac
1910 done
1911 done
1912 done
1913 IFS=$as_save_IFS
1917 if test "${ac_cv_path_mkdir+set}" = set; then
1918 MKDIR_P="$ac_cv_path_mkdir -p"
1919 else
1920 # As a last resort, use the slow shell script. Don't cache a
1921 # value for MKDIR_P within a source directory, because that will
1922 # break other packages using the cache if that directory is
1923 # removed, or if the value is a relative name.
1924 test -d ./--version && rmdir ./--version
1925 MKDIR_P="$ac_install_sh -d"
1928 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1929 $as_echo "$MKDIR_P" >&6; }
1931 mkdir_p="$MKDIR_P"
1932 case $mkdir_p in
1933 [\\/$]* | ?:[\\/]*) ;;
1934 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1935 esac
1937 for ac_prog in gawk mawk nawk awk
1939 # Extract the first word of "$ac_prog", so it can be a program name with args.
1940 set dummy $ac_prog; ac_word=$2
1941 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1942 $as_echo_n "checking for $ac_word... " >&6; }
1943 if test "${ac_cv_prog_AWK+set}" = set; then
1944 $as_echo_n "(cached) " >&6
1945 else
1946 if test -n "$AWK"; then
1947 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1948 else
1949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950 for as_dir in $PATH
1952 IFS=$as_save_IFS
1953 test -z "$as_dir" && as_dir=.
1954 for ac_exec_ext in '' $ac_executable_extensions; do
1955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1956 ac_cv_prog_AWK="$ac_prog"
1957 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 break 2
1960 done
1961 done
1962 IFS=$as_save_IFS
1966 AWK=$ac_cv_prog_AWK
1967 if test -n "$AWK"; then
1968 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
1969 $as_echo "$AWK" >&6; }
1970 else
1971 { $as_echo "$as_me:$LINENO: result: no" >&5
1972 $as_echo "no" >&6; }
1976 test -n "$AWK" && break
1977 done
1979 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1980 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1981 set x ${MAKE-make}
1982 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1983 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1984 $as_echo_n "(cached) " >&6
1985 else
1986 cat >conftest.make <<\_ACEOF
1987 SHELL = /bin/sh
1988 all:
1989 @echo '@@@%%%=$(MAKE)=@@@%%%'
1990 _ACEOF
1991 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1992 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1993 *@@@%%%=?*=@@@%%%*)
1994 eval ac_cv_prog_make_${ac_make}_set=yes;;
1996 eval ac_cv_prog_make_${ac_make}_set=no;;
1997 esac
1998 rm -f conftest.make
2000 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2001 { $as_echo "$as_me:$LINENO: result: yes" >&5
2002 $as_echo "yes" >&6; }
2003 SET_MAKE=
2004 else
2005 { $as_echo "$as_me:$LINENO: result: no" >&5
2006 $as_echo "no" >&6; }
2007 SET_MAKE="MAKE=${MAKE-make}"
2010 rm -rf .tst 2>/dev/null
2011 mkdir .tst 2>/dev/null
2012 if test -d .tst; then
2013 am__leading_dot=.
2014 else
2015 am__leading_dot=_
2017 rmdir .tst 2>/dev/null
2019 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2020 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2021 # is not polluted with repeated "-I."
2022 am__isrc=' -I$(srcdir)'
2023 # test to see if srcdir already configured
2024 if test -f $srcdir/config.status; then
2025 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2026 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2027 { (exit 1); exit 1; }; }
2031 # test whether we have cygpath
2032 if test -z "$CYGPATH_W"; then
2033 if (cygpath --version) >/dev/null 2>/dev/null; then
2034 CYGPATH_W='cygpath -w'
2035 else
2036 CYGPATH_W=echo
2041 # Define the identity of the package.
2042 PACKAGE='autoconf'
2043 VERSION='2.61b'
2046 cat >>confdefs.h <<_ACEOF
2047 #define PACKAGE "$PACKAGE"
2048 _ACEOF
2051 cat >>confdefs.h <<_ACEOF
2052 #define VERSION "$VERSION"
2053 _ACEOF
2055 # Some tools Automake needs.
2057 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2060 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2063 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2066 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2069 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2071 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2073 # Installed binaries are usually stripped using `strip' when the user
2074 # run `make install-strip'. However `strip' might not be the right
2075 # tool to use in cross-compilation environments, therefore Automake
2076 # will honor the `STRIP' environment variable to overrule this program.
2077 if test "$cross_compiling" != no; then
2078 if test -n "$ac_tool_prefix"; then
2079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2080 set dummy ${ac_tool_prefix}strip; ac_word=$2
2081 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 $as_echo_n "checking for $ac_word... " >&6; }
2083 if test "${ac_cv_prog_STRIP+set}" = set; then
2084 $as_echo_n "(cached) " >&6
2085 else
2086 if test -n "$STRIP"; then
2087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2088 else
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH
2092 IFS=$as_save_IFS
2093 test -z "$as_dir" && as_dir=.
2094 for ac_exec_ext in '' $ac_executable_extensions; do
2095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2096 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2097 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 break 2
2100 done
2101 done
2102 IFS=$as_save_IFS
2106 STRIP=$ac_cv_prog_STRIP
2107 if test -n "$STRIP"; then
2108 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2109 $as_echo "$STRIP" >&6; }
2110 else
2111 { $as_echo "$as_me:$LINENO: result: no" >&5
2112 $as_echo "no" >&6; }
2117 if test -z "$ac_cv_prog_STRIP"; then
2118 ac_ct_STRIP=$STRIP
2119 # Extract the first word of "strip", so it can be a program name with args.
2120 set dummy strip; ac_word=$2
2121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 $as_echo_n "checking for $ac_word... " >&6; }
2123 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2124 $as_echo_n "(cached) " >&6
2125 else
2126 if test -n "$ac_ct_STRIP"; then
2127 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2128 else
2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2130 for as_dir in $PATH
2132 IFS=$as_save_IFS
2133 test -z "$as_dir" && as_dir=.
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2136 ac_cv_prog_ac_ct_STRIP="strip"
2137 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 break 2
2140 done
2141 done
2142 IFS=$as_save_IFS
2146 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2147 if test -n "$ac_ct_STRIP"; then
2148 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2149 $as_echo "$ac_ct_STRIP" >&6; }
2150 else
2151 { $as_echo "$as_me:$LINENO: result: no" >&5
2152 $as_echo "no" >&6; }
2155 if test "x$ac_ct_STRIP" = x; then
2156 STRIP=":"
2157 else
2158 case $cross_compiling:$ac_tool_warned in
2159 yes:)
2160 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2161 whose name does not start with the host triplet. If you think this
2162 configuration is useful to you, please write to autoconf@gnu.org." >&5
2163 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2164 whose name does not start with the host triplet. If you think this
2165 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2166 ac_tool_warned=yes ;;
2167 esac
2168 STRIP=$ac_ct_STRIP
2170 else
2171 STRIP="$ac_cv_prog_STRIP"
2175 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2177 # We need awk for the "check" target. The system "awk" is bad on
2178 # some platforms.
2179 # Always define AMTAR for backward compatibility.
2181 AMTAR=${AMTAR-"${am_missing_run}tar"}
2183 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2190 # We use `/bin/sh -n script' to check that there are no syntax errors
2191 # in the scripts. Although incredible, there are /bin/sh that go into
2192 # endless loops with `-n', e.g., SunOS's:
2194 # $ uname -a
2195 # SunOS ondine 4.1.3 2 sun4m unknown
2196 # $ cat endless.sh
2197 # while false
2198 # do
2200 # done
2201 # exit 0
2202 # $ time sh endless.sh
2203 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2204 # $ time sh -nx endless.sh
2205 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2207 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2208 # that they are unusable on large scripts like our testsuite.
2210 # So before using `/bin/sh -n' to check our scripts, we first check
2211 # that `/bin/sh -n' is known to not have these problems.
2213 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2214 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2215 if test "${ac_cv_sh_n_works+set}" = set; then
2216 $as_echo_n "(cached) " >&6
2217 else
2218 if (
2219 unset BASH_VERSION ZSH_VERSION
2220 /bin/sh -c '
2221 test -n "${BASH_VERSION+set}" || # Bash
2222 test -n "${KSH_VERSION+set}" || # pdksh
2223 test -n "${ZSH_VERSION+set}" || # zsh
2224 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2226 ) 2>/dev/null
2227 then ac_cv_sh_n_works=yes
2228 else ac_cv_sh_n_works=no
2232 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2233 $as_echo "$ac_cv_sh_n_works" >&6; }
2236 # Initialize the test suite.
2237 ac_config_commands="$ac_config_commands tests/atconfig"
2240 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2242 # Extract the first word of "expr", so it can be a program name with args.
2243 set dummy expr; ac_word=$2
2244 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 $as_echo_n "checking for $ac_word... " >&6; }
2246 if test "${ac_cv_path_EXPR+set}" = set; then
2247 $as_echo_n "(cached) " >&6
2248 else
2249 case $EXPR in
2250 [\\/]* | ?:[\\/]*)
2251 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 for as_dir in $PATH
2257 IFS=$as_save_IFS
2258 test -z "$as_dir" && as_dir=.
2259 for ac_exec_ext in '' $ac_executable_extensions; do
2260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2261 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2262 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 break 2
2265 done
2266 done
2267 IFS=$as_save_IFS
2270 esac
2272 EXPR=$ac_cv_path_EXPR
2273 if test -n "$EXPR"; then
2274 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2275 $as_echo "$EXPR" >&6; }
2276 else
2277 { $as_echo "$as_me:$LINENO: result: no" >&5
2278 $as_echo "no" >&6; }
2284 ## ---- ##
2285 ## M4. ##
2286 ## ---- ##
2288 # We use an absolute name for GNU m4 so even if users have another m4 first in
2289 # their path, the installer can configure with a path that has GNU m4
2290 # first and get that path embedded in the installed autoconf and
2291 # autoheader scripts.
2292 for ac_prog in gm4 gnum4 m4
2294 # Extract the first word of "$ac_prog", so it can be a program name with args.
2295 set dummy $ac_prog; ac_word=$2
2296 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 $as_echo_n "checking for $ac_word... " >&6; }
2298 if test "${ac_cv_path_M4+set}" = set; then
2299 $as_echo_n "(cached) " >&6
2300 else
2301 case $M4 in
2302 [\\/]* | ?:[\\/]*)
2303 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 for as_dir in $PATH
2309 IFS=$as_save_IFS
2310 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2314 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 break 2
2317 done
2318 done
2319 IFS=$as_save_IFS
2322 esac
2324 M4=$ac_cv_path_M4
2325 if test -n "$M4"; then
2326 { $as_echo "$as_me:$LINENO: result: $M4" >&5
2327 $as_echo "$M4" >&6; }
2328 else
2329 { $as_echo "$as_me:$LINENO: result: no" >&5
2330 $as_echo "no" >&6; }
2334 test -n "$M4" && break
2335 done
2336 test -n "$M4" || M4="m4"
2338 { $as_echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2339 $as_echo_n "checking whether m4 supports frozen files... " >&6; }
2340 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2341 $as_echo_n "(cached) " >&6
2342 else
2343 ac_cv_prog_gnu_m4=no
2344 if test x"$M4" != x; then
2345 case `$M4 --help < /dev/null 2>&1` in
2346 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2347 esac
2350 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2351 $as_echo "$ac_cv_prog_gnu_m4" >&6; }
2352 if test $ac_cv_prog_gnu_m4 = yes ; then
2353 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2354 $as_echo_n "checking how m4 supports trace files... " >&6; }
2355 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2356 $as_echo_n "(cached) " >&6
2357 else
2358 case `$M4 --help < /dev/null 2>&1` in
2359 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2360 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2361 esac
2363 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2364 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2365 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2369 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2370 { { $as_echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2371 $as_echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2372 { (exit 1); exit 1; }; }
2375 ## ----------- ##
2376 ## Man pages. ##
2377 ## ----------- ##
2379 ac_config_files="$ac_config_files man/Makefile"
2382 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2386 ## ------ ##
2387 ## Perl. ##
2388 ## ------ ##
2390 # We use an absolute name for perl so the #! line in autoscan will work.
2391 # Extract the first word of "perl", so it can be a program name with args.
2392 set dummy perl; ac_word=$2
2393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2394 $as_echo_n "checking for $ac_word... " >&6; }
2395 if test "${ac_cv_path_PERL+set}" = set; then
2396 $as_echo_n "(cached) " >&6
2397 else
2398 case $PERL in
2399 [\\/]* | ?:[\\/]*)
2400 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 for as_dir in $PATH
2406 IFS=$as_save_IFS
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 break 2
2414 done
2415 done
2416 IFS=$as_save_IFS
2418 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2420 esac
2422 PERL=$ac_cv_path_PERL
2423 if test -n "$PERL"; then
2424 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2425 $as_echo "$PERL" >&6; }
2426 else
2427 { $as_echo "$as_me:$LINENO: result: no" >&5
2428 $as_echo "no" >&6; }
2432 if test "$PERL" = no; then
2433 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2434 $as_echo "$as_me: error: perl is not found" >&2;}
2435 { (exit 1); exit 1; }; }
2437 $PERL -e 'require 5.005_03;' || {
2438 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2439 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2440 { (exit 1); exit 1; }; }
2444 ## ------- ##
2445 ## Emacs. ##
2446 ## ------- ##
2448 ac_config_files="$ac_config_files lib/emacs/Makefile"
2450 TEST_EMACS=$EMACS
2451 test x"$TEST_EMACS" = xt && TEST_EMACS=
2452 for ac_prog in emacs xemacs
2454 # Extract the first word of "$ac_prog", so it can be a program name with args.
2455 set dummy $ac_prog; ac_word=$2
2456 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2459 $as_echo_n "(cached) " >&6
2460 else
2461 if test -n "$TEST_EMACS"; then
2462 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2463 else
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 for as_dir in $PATH
2467 IFS=$as_save_IFS
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471 ac_cv_prog_TEST_EMACS="$ac_prog"
2472 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 break 2
2475 done
2476 done
2477 IFS=$as_save_IFS
2481 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2482 if test -n "$TEST_EMACS"; then
2483 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2484 $as_echo "$TEST_EMACS" >&6; }
2485 else
2486 { $as_echo "$as_me:$LINENO: result: no" >&5
2487 $as_echo "no" >&6; }
2491 test -n "$TEST_EMACS" && break
2492 done
2493 test -n "$TEST_EMACS" || TEST_EMACS="no"
2496 # autoconf-mode.el and autotest-mode.el do not work with older version of
2497 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2498 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2499 # We detect this problem here.
2500 if test "$TEST_EMACS" != no; then
2501 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2502 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2503 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2504 $as_echo_n "(cached) " >&6
2505 else
2506 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2507 cat >conftest.el << "EOF"
2508 (defvar broken)
2509 (defun broken-mode () (setq broken-defaults `(broken nil)))
2511 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2512 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2513 ac_status=$?
2514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; then
2516 ac_cv_prog_emacs_ok=yes
2517 else
2518 ac_cv_prog_emacs_ok=no
2521 rm -f conftest.el conftest.elc
2523 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2524 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2525 if test $ac_cv_prog_emacs_ok = no; then
2526 TEST_EMACS=no
2532 EMACS=$TEST_EMACS
2535 # If set to t, that means we are running in a shell under Emacs.
2536 # If you have an Emacs named "t", then use the full path.
2537 test x"$EMACS" = xt && EMACS=
2538 for ac_prog in emacs xemacs
2540 # Extract the first word of "$ac_prog", so it can be a program name with args.
2541 set dummy $ac_prog; ac_word=$2
2542 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2543 $as_echo_n "checking for $ac_word... " >&6; }
2544 if test "${ac_cv_prog_EMACS+set}" = set; then
2545 $as_echo_n "(cached) " >&6
2546 else
2547 if test -n "$EMACS"; then
2548 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2549 else
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 for as_dir in $PATH
2553 IFS=$as_save_IFS
2554 test -z "$as_dir" && as_dir=.
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2557 ac_cv_prog_EMACS="$ac_prog"
2558 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 break 2
2561 done
2562 done
2563 IFS=$as_save_IFS
2567 EMACS=$ac_cv_prog_EMACS
2568 if test -n "$EMACS"; then
2569 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2570 $as_echo "$EMACS" >&6; }
2571 else
2572 { $as_echo "$as_me:$LINENO: result: no" >&5
2573 $as_echo "no" >&6; }
2577 test -n "$EMACS" && break
2578 done
2579 test -n "$EMACS" || EMACS="no"
2584 # Check whether --with-lispdir was given.
2585 if test "${with_lispdir+set}" = set; then
2586 withval=$with_lispdir; lispdir="$withval"
2587 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2588 $as_echo_n "checking where .elc files should go... " >&6; }
2589 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2590 $as_echo "$lispdir" >&6; }
2591 else
2593 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2594 $as_echo_n "checking where .elc files should go... " >&6; }
2595 if test "${am_cv_lispdir+set}" = set; then
2596 $as_echo_n "(cached) " >&6
2597 else
2599 if test $EMACS != "no"; then
2600 if test x${lispdir+set} != xset; then
2601 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2602 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2603 # which is non-obvious for non-emacs users.
2604 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2605 # emacsen earlier and avoid running this altogether.
2606 { ($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
2607 ($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
2608 ac_status=$?
2609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2611 am_cv_lispdir=`sed -n \
2612 -e 's,/$,,' \
2613 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2614 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2615 conftest.out`
2616 rm conftest.out
2619 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2622 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2623 $as_echo "$am_cv_lispdir" >&6; }
2624 lispdir="$am_cv_lispdir"
2632 ## ------------ ##
2633 ## Grep & sed. ##
2634 ## ------------ ##
2635 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2636 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2637 if test "${ac_cv_path_GREP+set}" = set; then
2638 $as_echo_n "(cached) " >&6
2639 else
2640 # Extract the first word of "grep ggrep" to use in msg output
2641 if test -z "$GREP"; then
2642 set dummy grep ggrep; ac_prog_name=$2
2643 if test "${ac_cv_path_GREP+set}" = set; then
2644 $as_echo_n "(cached) " >&6
2645 else
2646 ac_path_GREP_found=false
2647 # Loop through the user's path and test for each of PROGNAME-LIST
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2651 IFS=$as_save_IFS
2652 test -z "$as_dir" && as_dir=.
2653 for ac_prog in grep ggrep; do
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2656 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2657 # Check for GNU ac_path_GREP and select it if it is found.
2658 # Check for GNU $ac_path_GREP
2659 case `"$ac_path_GREP" --version 2>&1` in
2660 *GNU*)
2661 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2663 ac_count=0
2664 $as_echo_n 0123456789 >"conftest.in"
2665 while :
2667 cat "conftest.in" "conftest.in" >"conftest.tmp"
2668 mv "conftest.tmp" "conftest.in"
2669 cp "conftest.in" "conftest.nl"
2670 $as_echo 'GREP' >> "conftest.nl"
2671 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2673 ac_count=`expr $ac_count + 1`
2674 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2675 # Best one so far, save it but keep looking for a better one
2676 ac_cv_path_GREP="$ac_path_GREP"
2677 ac_path_GREP_max=$ac_count
2679 # 10*(2^10) chars as input seems more than enough
2680 test $ac_count -gt 10 && break
2681 done
2682 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2683 esac
2686 $ac_path_GREP_found && break 3
2687 done
2688 done
2690 done
2691 IFS=$as_save_IFS
2696 GREP="$ac_cv_path_GREP"
2697 if test -z "$GREP"; then
2698 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2699 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2700 { (exit 1); exit 1; }; }
2703 else
2704 ac_cv_path_GREP=$GREP
2709 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2710 $as_echo "$ac_cv_path_GREP" >&6; }
2711 GREP="$ac_cv_path_GREP"
2714 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2715 $as_echo_n "checking for egrep... " >&6; }
2716 if test "${ac_cv_path_EGREP+set}" = set; then
2717 $as_echo_n "(cached) " >&6
2718 else
2719 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2720 then ac_cv_path_EGREP="$GREP -E"
2721 else
2722 # Extract the first word of "egrep" to use in msg output
2723 if test -z "$EGREP"; then
2724 set dummy egrep; ac_prog_name=$2
2725 if test "${ac_cv_path_EGREP+set}" = set; then
2726 $as_echo_n "(cached) " >&6
2727 else
2728 ac_path_EGREP_found=false
2729 # Loop through the user's path and test for each of PROGNAME-LIST
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2733 IFS=$as_save_IFS
2734 test -z "$as_dir" && as_dir=.
2735 for ac_prog in egrep; do
2736 for ac_exec_ext in '' $ac_executable_extensions; do
2737 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2738 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2739 # Check for GNU ac_path_EGREP and select it if it is found.
2740 # Check for GNU $ac_path_EGREP
2741 case `"$ac_path_EGREP" --version 2>&1` in
2742 *GNU*)
2743 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2745 ac_count=0
2746 $as_echo_n 0123456789 >"conftest.in"
2747 while :
2749 cat "conftest.in" "conftest.in" >"conftest.tmp"
2750 mv "conftest.tmp" "conftest.in"
2751 cp "conftest.in" "conftest.nl"
2752 $as_echo 'EGREP' >> "conftest.nl"
2753 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2754 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2755 ac_count=`expr $ac_count + 1`
2756 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2757 # Best one so far, save it but keep looking for a better one
2758 ac_cv_path_EGREP="$ac_path_EGREP"
2759 ac_path_EGREP_max=$ac_count
2761 # 10*(2^10) chars as input seems more than enough
2762 test $ac_count -gt 10 && break
2763 done
2764 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2765 esac
2768 $ac_path_EGREP_found && break 3
2769 done
2770 done
2772 done
2773 IFS=$as_save_IFS
2778 EGREP="$ac_cv_path_EGREP"
2779 if test -z "$EGREP"; then
2780 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2781 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2782 { (exit 1); exit 1; }; }
2785 else
2786 ac_cv_path_EGREP=$EGREP
2792 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2793 $as_echo "$ac_cv_path_EGREP" >&6; }
2794 EGREP="$ac_cv_path_EGREP"
2797 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2798 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2799 if test "${ac_cv_path_SED+set}" = set; then
2800 $as_echo_n "(cached) " >&6
2801 else
2802 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2803 for ac_i in 1 2 3 4 5 6 7; do
2804 ac_script="$ac_script$as_nl$ac_script"
2805 done
2806 echo "$ac_script" | sed 99q >conftest.sed
2807 $as_unset ac_script || ac_script=
2808 # Extract the first word of "sed gsed" to use in msg output
2809 if test -z "$SED"; then
2810 set dummy sed gsed; ac_prog_name=$2
2811 if test "${ac_cv_path_SED+set}" = set; then
2812 $as_echo_n "(cached) " >&6
2813 else
2814 ac_path_SED_found=false
2815 # Loop through the user's path and test for each of PROGNAME-LIST
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 for as_dir in $PATH
2819 IFS=$as_save_IFS
2820 test -z "$as_dir" && as_dir=.
2821 for ac_prog in sed gsed; do
2822 for ac_exec_ext in '' $ac_executable_extensions; do
2823 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2824 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2825 # Check for GNU ac_path_SED and select it if it is found.
2826 # Check for GNU $ac_path_SED
2827 case `"$ac_path_SED" --version 2>&1` in
2828 *GNU*)
2829 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2831 ac_count=0
2832 $as_echo_n 0123456789 >"conftest.in"
2833 while :
2835 cat "conftest.in" "conftest.in" >"conftest.tmp"
2836 mv "conftest.tmp" "conftest.in"
2837 cp "conftest.in" "conftest.nl"
2838 $as_echo '' >> "conftest.nl"
2839 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2840 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2841 ac_count=`expr $ac_count + 1`
2842 if test $ac_count -gt ${ac_path_SED_max-0}; then
2843 # Best one so far, save it but keep looking for a better one
2844 ac_cv_path_SED="$ac_path_SED"
2845 ac_path_SED_max=$ac_count
2847 # 10*(2^10) chars as input seems more than enough
2848 test $ac_count -gt 10 && break
2849 done
2850 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2851 esac
2854 $ac_path_SED_found && break 3
2855 done
2856 done
2858 done
2859 IFS=$as_save_IFS
2864 SED="$ac_cv_path_SED"
2865 if test -z "$SED"; then
2866 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2867 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2868 { (exit 1); exit 1; }; }
2871 else
2872 ac_cv_path_SED=$SED
2876 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2877 $as_echo "$ac_cv_path_SED" >&6; }
2878 SED="$ac_cv_path_SED"
2879 rm -f conftest.sed
2883 ## ------------ ##
2884 ## Conclusion. ##
2885 ## ------------ ##
2887 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"
2890 cat >confcache <<\_ACEOF
2891 # This file is a shell script that caches the results of configure
2892 # tests run on this system so they can be shared between configure
2893 # scripts and configure runs, see configure's option --config-cache.
2894 # It is not useful on other systems. If it contains results you don't
2895 # want to keep, you may remove or edit it.
2897 # config.status only pays attention to the cache file if you give it
2898 # the --recheck option to rerun configure.
2900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2902 # following values.
2904 _ACEOF
2906 # The following way of writing the cache mishandles newlines in values,
2907 # but we know of no workaround that is simple, portable, and efficient.
2908 # So, we kill variables containing newlines.
2909 # Ultrix sh set writes to stderr and can't be redirected directly,
2910 # and sets the high bit in the cache file unless we assign to the vars.
2912 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2913 eval ac_val=\$$ac_var
2914 case $ac_val in #(
2915 *${as_nl}*)
2916 case $ac_var in #(
2917 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2918 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2919 esac
2920 case $ac_var in #(
2921 _ | IFS | as_nl) ;; #(
2922 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2923 *) $as_unset $ac_var ;;
2924 esac ;;
2925 esac
2926 done
2928 (set) 2>&1 |
2929 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2930 *${as_nl}ac_space=\ *)
2931 # `set' does not quote correctly, so add quotes (double-quote
2932 # substitution turns \\\\ into \\, and sed turns \\ into \).
2933 sed -n \
2934 "s/'/'\\\\''/g;
2935 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2936 ;; #(
2938 # `set' quotes correctly as required by POSIX, so do not add quotes.
2939 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2941 esac |
2942 sort
2944 sed '
2945 /^ac_cv_env_/b end
2946 t clear
2947 :clear
2948 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2949 t end
2950 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2951 :end' >>confcache
2952 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2953 if test -w "$cache_file"; then
2954 test "x$cache_file" != "x/dev/null" &&
2955 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2956 $as_echo "$as_me: updating cache $cache_file" >&6;}
2957 cat confcache >$cache_file
2958 else
2959 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2960 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2963 rm -f confcache
2965 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2966 # Let make expand exec_prefix.
2967 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2969 # Transform confdefs.h into DEFS.
2970 # Protect against shell expansion while executing Makefile rules.
2971 # Protect against Makefile macro expansion.
2973 # If the first sed substitution is executed (which looks for macros that
2974 # take arguments), then branch to the quote section. Otherwise,
2975 # look for a macro that doesn't take arguments.
2976 ac_script='
2977 t clear
2978 :clear
2979 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2980 t quote
2981 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2982 t quote
2983 b any
2984 :quote
2985 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2986 s/\[/\\&/g
2987 s/\]/\\&/g
2988 s/\$/$$/g
2990 :any
2993 s/^\n//
2994 s/\n/ /g
2998 DEFS=`sed -n "$ac_script" confdefs.h`
3001 ac_libobjs=
3002 ac_ltlibobjs=
3003 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3004 # 1. Remove the extension, and $U if already installed.
3005 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3006 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3007 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3008 # will be set to the directory where LIBOBJS objects are built.
3009 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3010 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3011 done
3012 LIBOBJS=$ac_libobjs
3014 LTLIBOBJS=$ac_ltlibobjs
3018 : ${CONFIG_STATUS=./config.status}
3019 ac_clean_files_save=$ac_clean_files
3020 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3021 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3022 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3023 cat >$CONFIG_STATUS <<_ACEOF
3024 #! $SHELL
3025 # Generated by $as_me.
3026 # Run this file to recreate the current configuration.
3027 # Compiler output produced by configure, useful for debugging
3028 # configure, is in config.log if it exists.
3030 debug=false
3031 ac_cs_recheck=false
3032 ac_cs_silent=false
3033 SHELL=\${CONFIG_SHELL-$SHELL}
3034 _ACEOF
3036 cat >>$CONFIG_STATUS <<\_ACEOF
3037 ## --------------------- ##
3038 ## M4sh Initialization. ##
3039 ## --------------------- ##
3041 # Be more Bourne compatible
3042 DUALCASE=1; export DUALCASE # for MKS sh
3043 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3044 emulate sh
3045 NULLCMD=:
3046 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3047 # is contrary to our usage. Disable this feature.
3048 alias -g '${1+"$@"}'='"$@"'
3049 setopt NO_GLOB_SUBST
3050 else
3051 case `(set -o) 2>/dev/null` in
3052 *posix*) set -o posix ;;
3053 esac
3060 # PATH needs CR
3061 # Avoid depending upon Character Ranges.
3062 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3063 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3064 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3065 as_cr_digits='0123456789'
3066 as_cr_alnum=$as_cr_Letters$as_cr_digits
3068 as_nl='
3070 export as_nl
3071 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3072 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3073 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3074 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3075 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3076 as_echo='printf %s\n'
3077 as_echo_n='printf %s'
3078 else
3079 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3080 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3081 as_echo_n='/usr/ucb/echo -n'
3082 else
3083 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3084 as_echo_n_body='eval
3085 arg=$1;
3086 case $arg in
3087 *"$as_nl"*)
3088 expr "X$arg" : "X\\(.*\\)$as_nl";
3089 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3090 esac;
3091 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3093 export as_echo_n_body
3094 as_echo_n='sh -c $as_echo_n_body as_echo'
3096 export as_echo_body
3097 as_echo='sh -c $as_echo_body as_echo'
3100 # The user is always right.
3101 if test "${PATH_SEPARATOR+set}" != set; then
3102 echo "#! /bin/sh" >conf$$.sh
3103 echo "exit 0" >>conf$$.sh
3104 chmod +x conf$$.sh
3105 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3106 PATH_SEPARATOR=';'
3107 else
3108 PATH_SEPARATOR=:
3110 rm -f conf$$.sh
3113 # Support unset when possible.
3114 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3115 as_unset=unset
3116 else
3117 as_unset=false
3121 # IFS
3122 # We need space, tab and new line, in precisely that order. Quoting is
3123 # there to prevent editors from complaining about space-tab.
3124 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3125 # splitting by setting IFS to empty value.)
3126 IFS=" "" $as_nl"
3128 # Find who we are. Look in the path if we contain no directory separator.
3129 case $0 in
3130 *[\\/]* ) as_myself=$0 ;;
3131 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3134 IFS=$as_save_IFS
3135 test -z "$as_dir" && as_dir=.
3136 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3137 done
3138 IFS=$as_save_IFS
3141 esac
3142 # We did not find ourselves, most probably we were run as `sh COMMAND'
3143 # in which case we are not to be found in the path.
3144 if test "x$as_myself" = x; then
3145 as_myself=$0
3147 if test ! -f "$as_myself"; then
3148 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3149 { (exit 1); exit 1; }
3152 # Work around bugs in pre-3.0 UWIN ksh.
3153 for as_var in ENV MAIL MAILPATH
3154 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3155 done
3156 PS1='$ '
3157 PS2='> '
3158 PS4='+ '
3160 # NLS nuisances.
3161 for as_var in \
3162 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3163 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3164 LC_TELEPHONE LC_TIME
3166 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3167 eval $as_var=C; export $as_var
3168 else
3169 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3171 done
3173 # Required to use basename.
3174 if expr a : '\(a\)' >/dev/null 2>&1 &&
3175 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3176 as_expr=expr
3177 else
3178 as_expr=false
3181 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3182 as_basename=basename
3183 else
3184 as_basename=false
3188 # Name of the executable.
3189 as_me=`$as_basename -- "$0" ||
3190 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3191 X"$0" : 'X\(//\)$' \| \
3192 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3193 $as_echo X/"$0" |
3194 sed '/^.*\/\([^/][^/]*\)\/*$/{
3195 s//\1/
3198 /^X\/\(\/\/\)$/{
3199 s//\1/
3202 /^X\/\(\/\).*/{
3203 s//\1/
3206 s/.*/./; q'`
3208 # CDPATH.
3209 $as_unset CDPATH
3213 as_lineno_1=$LINENO
3214 as_lineno_2=$LINENO
3215 test "x$as_lineno_1" != "x$as_lineno_2" &&
3216 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3218 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3219 # uniformly replaced by the line number. The first 'sed' inserts a
3220 # line-number line after each line using $LINENO; the second 'sed'
3221 # does the real work. The second script uses 'N' to pair each
3222 # line-number line with the line containing $LINENO, and appends
3223 # trailing '-' during substitution so that $LINENO is not a special
3224 # case at line end.
3225 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3226 # scripts with optimization help from Paolo Bonzini. Blame Lee
3227 # E. McMahon (1931-1989) for sed's syntax. :-)
3228 sed -n '
3230 /[$]LINENO/=
3231 ' <$as_myself |
3232 sed '
3233 s/[$]LINENO.*/&-/
3234 t lineno
3236 :lineno
3238 :loop
3239 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3240 t loop
3241 s/-\n.*//
3242 ' >$as_me.lineno &&
3243 chmod +x "$as_me.lineno" ||
3244 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3245 { (exit 1); exit 1; }; }
3247 # Don't try to exec as it changes $[0], causing all sort of problems
3248 # (the dirname of $[0] is not the place where we might find the
3249 # original and so on. Autoconf is especially sensitive to this).
3250 . "./$as_me.lineno"
3251 # Exit status is that of the last command.
3252 exit
3256 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3257 as_dirname=dirname
3258 else
3259 as_dirname=false
3262 ECHO_C= ECHO_N= ECHO_T=
3263 case `echo -n x` in
3264 -n*)
3265 case `echo 'x\c'` in
3266 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3267 *) ECHO_C='\c';;
3268 esac;;
3270 ECHO_N='-n';;
3271 esac
3272 if expr a : '\(a\)' >/dev/null 2>&1 &&
3273 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3274 as_expr=expr
3275 else
3276 as_expr=false
3279 rm -f conf$$ conf$$.exe conf$$.file
3280 if test -d conf$$.dir; then
3281 rm -f conf$$.dir/conf$$.file
3282 else
3283 rm -f conf$$.dir
3284 mkdir conf$$.dir
3286 echo >conf$$.file
3287 if ln -s conf$$.file conf$$ 2>/dev/null; then
3288 as_ln_s='ln -s'
3289 # ... but there are two gotchas:
3290 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3291 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3292 # In both cases, we have to default to `cp -p'.
3293 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3294 as_ln_s='cp -p'
3295 elif ln conf$$.file conf$$ 2>/dev/null; then
3296 as_ln_s=ln
3297 else
3298 as_ln_s='cp -p'
3300 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3301 rmdir conf$$.dir 2>/dev/null
3303 if mkdir -p . 2>/dev/null; then
3304 as_mkdir_p=:
3305 else
3306 test -d ./-p && rmdir ./-p
3307 as_mkdir_p=false
3310 if test -x / >/dev/null 2>&1; then
3311 as_test_x='test -x'
3312 else
3313 if ls -dL / >/dev/null 2>&1; then
3314 as_ls_L_option=L
3315 else
3316 as_ls_L_option=
3318 as_test_x='
3319 eval sh -c '\''
3320 if test -d "$1"; then
3321 test -d "$1/.";
3322 else
3323 case $1 in
3324 -*)set "./$1";;
3325 esac;
3326 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3327 ???[sx]*):;;*)false;;esac;fi
3328 '\'' sh
3331 as_executable_p=$as_test_x
3333 # Sed expression to map a string onto a valid CPP name.
3334 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3336 # Sed expression to map a string onto a valid variable name.
3337 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3340 exec 6>&1
3342 # Save the log message, to keep $[0] and so on meaningful, and to
3343 # report actual input values of CONFIG_FILES etc. instead of their
3344 # values after options handling.
3345 ac_log="
3346 This file was extended by GNU Autoconf $as_me 2.61b, which was
3347 generated by GNU Autoconf 2.61b. Invocation command line was
3349 CONFIG_FILES = $CONFIG_FILES
3350 CONFIG_HEADERS = $CONFIG_HEADERS
3351 CONFIG_LINKS = $CONFIG_LINKS
3352 CONFIG_COMMANDS = $CONFIG_COMMANDS
3353 $ $0 $@
3355 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3358 _ACEOF
3360 cat >>$CONFIG_STATUS <<_ACEOF
3361 # Files that config.status was made for.
3362 config_files="$ac_config_files"
3363 config_commands="$ac_config_commands"
3365 _ACEOF
3367 cat >>$CONFIG_STATUS <<\_ACEOF
3368 ac_cs_usage="\
3369 \`$as_me' instantiates files from templates according to the
3370 current configuration.
3372 Usage: $0 [OPTIONS] [FILE]...
3374 -h, --help print this help, then exit
3375 -V, --version print version number and configuration settings, then exit
3376 -q, --quiet do not print progress messages
3377 -d, --debug don't remove temporary files
3378 --recheck update $as_me by reconfiguring in the same conditions
3379 --file=FILE[:TEMPLATE]
3380 instantiate the configuration file FILE
3382 Configuration files:
3383 $config_files
3385 Configuration commands:
3386 $config_commands
3388 Report bugs to <bug-autoconf@gnu.org>."
3390 _ACEOF
3391 cat >>$CONFIG_STATUS <<_ACEOF
3392 ac_cs_version="\\
3393 GNU Autoconf config.status 2.61b
3394 configured by $0, generated by GNU Autoconf 2.61b,
3395 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3397 Copyright (C) 2006 Free Software Foundation, Inc.
3398 This config.status script is free software; the Free Software Foundation
3399 gives unlimited permission to copy, distribute and modify it."
3401 ac_pwd='$ac_pwd'
3402 srcdir='$srcdir'
3403 INSTALL='$INSTALL'
3404 MKDIR_P='$MKDIR_P'
3405 AWK='$AWK'
3406 test -n "\$AWK" || AWK=awk
3407 _ACEOF
3409 cat >>$CONFIG_STATUS <<\_ACEOF
3410 # If no file are specified by the user, then we need to provide default
3411 # value. By we need to know if files were specified by the user.
3412 ac_need_defaults=:
3413 while test $# != 0
3415 case $1 in
3416 --*=*)
3417 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3418 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3419 ac_shift=:
3422 ac_option=$1
3423 ac_optarg=$2
3424 ac_shift=shift
3426 esac
3428 case $ac_option in
3429 # Handling of the options.
3430 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3431 ac_cs_recheck=: ;;
3432 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3433 $as_echo "$ac_cs_version"; exit ;;
3434 --debug | --debu | --deb | --de | --d | -d )
3435 debug=: ;;
3436 --file | --fil | --fi | --f )
3437 $ac_shift
3438 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3439 ac_need_defaults=false;;
3440 --he | --h | --help | --hel | -h )
3441 $as_echo "$ac_cs_usage"; exit ;;
3442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3443 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3444 ac_cs_silent=: ;;
3446 # This is an error.
3447 -*) { $as_echo "$as_me: error: unrecognized option: $1
3448 Try \`$0 --help' for more information." >&2
3449 { (exit 1); exit 1; }; } ;;
3451 *) ac_config_targets="$ac_config_targets $1"
3452 ac_need_defaults=false ;;
3454 esac
3455 shift
3456 done
3458 ac_configure_extra_args=
3460 if $ac_cs_silent; then
3461 exec 6>/dev/null
3462 ac_configure_extra_args="$ac_configure_extra_args --silent"
3465 _ACEOF
3466 cat >>$CONFIG_STATUS <<_ACEOF
3467 if \$ac_cs_recheck; then
3468 set X '$SHELL' '$0'$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3469 shift
3470 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3471 CONFIG_SHELL='$SHELL'
3472 export CONFIG_SHELL
3473 exec "\$@"
3476 _ACEOF
3477 cat >>$CONFIG_STATUS <<\_ACEOF
3478 exec 5>>config.log
3480 echo
3481 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3482 ## Running $as_me. ##
3483 _ASBOX
3484 $as_echo "$ac_log"
3485 } >&5
3487 _ACEOF
3488 cat >>$CONFIG_STATUS <<_ACEOF
3489 _ACEOF
3491 cat >>$CONFIG_STATUS <<\_ACEOF
3493 # Handling of arguments.
3494 for ac_config_target in $ac_config_targets
3496 case $ac_config_target in
3497 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3498 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3499 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3500 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3501 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3502 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3503 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3504 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3505 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3506 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3507 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3508 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3509 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3510 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3512 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3513 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3514 { (exit 1); exit 1; }; };;
3515 esac
3516 done
3519 # If the user did not use the arguments to specify the items to instantiate,
3520 # then the envvar interface is used. Set only those that are not.
3521 # We use the long form for the default assignment because of an extremely
3522 # bizarre bug on SunOS 4.1.3.
3523 if $ac_need_defaults; then
3524 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3525 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3528 # Have a temporary directory for convenience. Make it in the build tree
3529 # simply because there is no reason against having it here, and in addition,
3530 # creating and moving files from /tmp can sometimes cause problems.
3531 # Hook for its removal unless debugging.
3532 # Note that there is a small window in which the directory will not be cleaned:
3533 # after its creation but before its name has been assigned to `$tmp'.
3534 $debug ||
3536 tmp=
3537 trap 'exit_status=$?
3538 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3540 trap '{ (exit 1); exit 1; }' 1 2 13 15
3542 # Create a (secure) tmp directory for tmp files.
3545 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3546 test -n "$tmp" && test -d "$tmp"
3547 } ||
3549 tmp=./conf$$-$RANDOM
3550 (umask 077 && mkdir "$tmp")
3551 } ||
3553 $as_echo "$me: cannot create a temporary directory in ." >&2
3554 { (exit 1); exit 1; }
3557 # Set up the scripts for CONFIG_FILES section.
3558 # No need to generate them if there are no CONFIG_FILES.
3559 # This happens for instance with `./config.status config.h'.
3560 if test -n "$CONFIG_FILES"; then
3563 echo 'BEGIN {' >"$tmp/subs.awk"
3564 _ACEOF
3568 echo "cat >conf$$subs.awk <<_ACEOF"
3569 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3570 echo "_ACEOF"
3571 } >conf$$subs.sh
3572 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3573 ac_delim='%!_!# '
3574 for ac_last_try in false false false false false :; do
3575 . ./conf$$subs.sh
3577 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3578 break
3579 elif $ac_last_try; then
3580 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3581 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3582 { (exit 1); exit 1; }; }
3583 else
3584 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3586 done
3587 rm -f conf$$subs.sh
3589 cat >>$CONFIG_STATUS <<_ACEOF
3590 cat >>"\$tmp/subs.awk" <<\CEOF
3591 _ACEOF
3592 sed -n '
3594 s/^/S["/; s/!.*/"]=/
3597 s/^[^!]*!//
3598 :repl
3599 t repl
3600 s/'"$ac_delim"'$//
3601 t delim
3604 s/\(.\{148\}\).*/\1/
3605 t more1
3606 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3609 b repl
3610 :more1
3611 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3614 s/.\{148\}//
3615 t nl
3616 :delim
3618 s/\(.\{148\}\).*/\1/
3619 t more2
3620 s/["\\]/\\&/g; s/^/"/; s/$/"/
3623 :more2
3624 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3627 s/.\{148\}//
3628 t delim
3629 ' <conf$$subs.awk | sed '
3630 /^[^"]/{
3632 s/\n//
3634 ' >>$CONFIG_STATUS
3635 rm -f conf$$subs.awk
3636 cat >>$CONFIG_STATUS <<_ACEOF
3637 CEOF
3638 cat >>"\$tmp/subs.awk" <<CEOF
3639 for (key in S) S_is_set[key] = 1
3640 FS = "\a"
3644 line = $ 0
3645 nfields = split(line, field, "@")
3646 substed = 0
3647 len = length(field[1])
3648 for (i = 2; i < nfields; i++) {
3649 key = field[i]
3650 keylen = length(key)
3651 if (S_is_set[key]) {
3652 value = S[key]
3653 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3654 len += length(value) + length(field[++i])
3655 substed = 1
3656 } else
3657 len += 1 + keylen
3660 print line
3663 CEOF
3664 _ACEOF
3666 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3667 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3668 # trailing colons and then remove the whole line if VPATH becomes empty
3669 # (actually we leave an empty line to preserve line numbers).
3670 if test "x$srcdir" = x.; then
3671 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3672 s/:*\$(srcdir):*/:/
3673 s/:*\${srcdir}:*/:/
3674 s/:*@srcdir@:*/:/
3675 s/^\([^=]*=[ ]*\):*/\1/
3676 s/:*$//
3677 s/^[^=]*=[ ]*$//
3681 cat >>$CONFIG_STATUS <<\_ACEOF
3682 fi # test -n "$CONFIG_FILES"
3685 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3687 case $ac_tag in
3688 :[FHLC]) ac_mode=$ac_tag; continue;;
3689 esac
3690 case $ac_mode$ac_tag in
3691 :[FHL]*:*);;
3692 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3693 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3694 { (exit 1); exit 1; }; };;
3695 :[FH]-) ac_tag=-:-;;
3696 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3697 esac
3698 ac_save_IFS=$IFS
3699 IFS=:
3700 set x $ac_tag
3701 IFS=$ac_save_IFS
3702 shift
3703 ac_file=$1
3704 shift
3706 case $ac_mode in
3707 :L) ac_source=$1;;
3708 :[FH])
3709 ac_file_inputs=
3710 for ac_f
3712 case $ac_f in
3713 -) ac_f="$tmp/stdin";;
3714 *) # Look for the file first in the build tree, then in the source tree
3715 # (if the path is not absolute). The absolute path cannot be DOS-style,
3716 # because $ac_f cannot contain `:'.
3717 test -f "$ac_f" ||
3718 case $ac_f in
3719 [\\/$]*) false;;
3720 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3721 esac ||
3722 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3723 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3724 { (exit 1); exit 1; }; };;
3725 esac
3726 ac_file_inputs="$ac_file_inputs $ac_f"
3727 done
3729 # Let's still pretend it is `configure' which instantiates (i.e., don't
3730 # use $as_me), people would be surprised to read:
3731 # /* config.h. Generated by config.status. */
3732 configure_input='Generated from '`
3733 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3734 `' by configure.'
3735 if test x"$ac_file" != x-; then
3736 configure_input="$ac_file. $configure_input"
3737 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3738 $as_echo "$as_me: creating $ac_file" >&6;}
3741 case $ac_tag in
3742 *:-:* | *:-) cat >"$tmp/stdin";;
3743 esac
3745 esac
3747 ac_dir=`$as_dirname -- "$ac_file" ||
3748 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3749 X"$ac_file" : 'X\(//\)[^/]' \| \
3750 X"$ac_file" : 'X\(//\)$' \| \
3751 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3752 $as_echo X"$ac_file" |
3753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3754 s//\1/
3757 /^X\(\/\/\)[^/].*/{
3758 s//\1/
3761 /^X\(\/\/\)$/{
3762 s//\1/
3765 /^X\(\/\).*/{
3766 s//\1/
3769 s/.*/./; q'`
3770 { as_dir="$ac_dir"
3771 case $as_dir in #(
3772 -*) as_dir=./$as_dir;;
3773 esac
3774 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3775 as_dirs=
3776 while :; do
3777 case $as_dir in #(
3778 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3779 *) as_qdir=$as_dir;;
3780 esac
3781 as_dirs="'$as_qdir' $as_dirs"
3782 as_dir=`$as_dirname -- "$as_dir" ||
3783 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3784 X"$as_dir" : 'X\(//\)[^/]' \| \
3785 X"$as_dir" : 'X\(//\)$' \| \
3786 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3787 $as_echo X"$as_dir" |
3788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3789 s//\1/
3792 /^X\(\/\/\)[^/].*/{
3793 s//\1/
3796 /^X\(\/\/\)$/{
3797 s//\1/
3800 /^X\(\/\).*/{
3801 s//\1/
3804 s/.*/./; q'`
3805 test -d "$as_dir" && break
3806 done
3807 test -z "$as_dirs" || eval "mkdir $as_dirs"
3808 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3809 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3810 { (exit 1); exit 1; }; }; }
3811 ac_builddir=.
3813 case "$ac_dir" in
3814 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3816 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3817 # A ".." for each directory in $ac_dir_suffix.
3818 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3819 case $ac_top_builddir_sub in
3820 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3821 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3822 esac ;;
3823 esac
3824 ac_abs_top_builddir=$ac_pwd
3825 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3826 # for backward compatibility:
3827 ac_top_builddir=$ac_top_build_prefix
3829 case $srcdir in
3830 .) # We are building in place.
3831 ac_srcdir=.
3832 ac_top_srcdir=$ac_top_builddir_sub
3833 ac_abs_top_srcdir=$ac_pwd ;;
3834 [\\/]* | ?:[\\/]* ) # Absolute name.
3835 ac_srcdir=$srcdir$ac_dir_suffix;
3836 ac_top_srcdir=$srcdir
3837 ac_abs_top_srcdir=$srcdir ;;
3838 *) # Relative name.
3839 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3840 ac_top_srcdir=$ac_top_build_prefix$srcdir
3841 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3842 esac
3843 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3846 case $ac_mode in
3849 # CONFIG_FILE
3852 case $INSTALL in
3853 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3854 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3855 esac
3856 ac_MKDIR_P=$MKDIR_P
3857 case $MKDIR_P in
3858 [\\/$]* | ?:[\\/]* ) ;;
3859 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3860 esac
3861 _ACEOF
3863 cat >>$CONFIG_STATUS <<\_ACEOF
3864 # If the template does not know about datarootdir, expand it.
3865 # FIXME: This hack should be removed a few years after 2.60.
3866 ac_datarootdir_hack=; ac_datarootdir_seen=
3868 case `sed -n '/datarootdir/ {
3872 /@datadir@/p
3873 /@docdir@/p
3874 /@infodir@/p
3875 /@localedir@/p
3876 /@mandir@/p
3877 ' $ac_file_inputs` in
3878 *datarootdir*) ac_datarootdir_seen=yes;;
3879 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3880 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3881 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3882 _ACEOF
3883 cat >>$CONFIG_STATUS <<_ACEOF
3884 ac_datarootdir_hack='
3885 s&@datadir@&$datadir&g
3886 s&@docdir@&$docdir&g
3887 s&@infodir@&$infodir&g
3888 s&@localedir@&$localedir&g
3889 s&@mandir@&$mandir&g
3890 s&\\\${datarootdir}&$datarootdir&g' ;;
3891 esac
3892 _ACEOF
3894 # Neutralize VPATH when `$srcdir' = `.'.
3895 # Shell code in configure.ac might set extrasub.
3896 # FIXME: do we really want to maintain this feature?
3897 cat >>$CONFIG_STATUS <<_ACEOF
3898 sed "$ac_vpsub
3899 $extrasub
3900 _ACEOF
3901 cat >>$CONFIG_STATUS <<\_ACEOF
3903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3904 s&@configure_input@&$configure_input&;t t
3905 s&@top_builddir@&$ac_top_builddir_sub&;t t
3906 s&@srcdir@&$ac_srcdir&;t t
3907 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3908 s&@top_srcdir@&$ac_top_srcdir&;t t
3909 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3910 s&@builddir@&$ac_builddir&;t t
3911 s&@abs_builddir@&$ac_abs_builddir&;t t
3912 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3913 s&@INSTALL@&$ac_INSTALL&;t t
3914 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3915 $ac_datarootdir_hack
3916 " $ac_file_inputs | $AWK -f "$tmp/subs.awk" >$tmp/out
3918 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3919 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3920 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3921 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3922 which seems to be undefined. Please make sure it is defined." >&5
3923 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3924 which seems to be undefined. Please make sure it is defined." >&2;}
3926 rm -f "$tmp/stdin"
3927 case $ac_file in
3928 -) cat "$tmp/out"; rm -f "$tmp/out";;
3929 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3930 esac
3934 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3935 $as_echo "$as_me: executing $ac_file commands" >&6;}
3937 esac
3940 case $ac_file$ac_mode in
3941 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3942 # Configurable variable values for building test suites.
3943 # Generated by $0.
3944 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3946 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3947 at_testdir='tests'
3948 abs_builddir='$ac_abs_builddir'
3949 at_srcdir='$ac_srcdir'
3950 abs_srcdir='$ac_abs_srcdir'
3951 at_top_srcdir='$ac_top_srcdir'
3952 abs_top_srcdir='$ac_abs_top_srcdir'
3953 at_top_build_prefix='$ac_top_build_prefix'
3954 abs_top_builddir='$ac_abs_top_builddir'
3956 # Backward compatibility with Autotest <= 2.59b:
3957 at_top_builddir=\$at_top_build_prefix
3959 AUTOTEST_PATH='tests'
3961 SHELL=\${CONFIG_SHELL-'$SHELL'}
3962 ATEOF
3965 esac
3966 done # for ac_tag
3969 { (exit 0); exit 0; }
3970 _ACEOF
3971 chmod +x $CONFIG_STATUS
3972 ac_clean_files=$ac_clean_files_save
3975 # configure is writing to config.log, and then calls config.status.
3976 # config.status does its own redirection, appending to config.log.
3977 # Unfortunately, on DOS this fails, as config.log is still kept open
3978 # by configure, so config.status won't be able to write to it; its
3979 # output is simply discarded. So we exec the FD to /dev/null,
3980 # effectively closing config.log, so it can be properly (re)opened and
3981 # appended to by config.status. When coming back to configure, we
3982 # need to make the FD available again.
3983 if test "$no_create" != yes; then
3984 ac_cs_success=:
3985 ac_config_status_args=
3986 test "$silent" = yes &&
3987 ac_config_status_args="$ac_config_status_args --quiet"
3988 exec 5>/dev/null
3989 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3990 exec 5>>config.log
3991 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3992 # would make configure fail if this is the last instruction.
3993 $ac_cs_success || { (exit 1); exit 1; }
3996 # Report the state of this version of Autoconf if this is a beta.
3997 cat <<EOF
3999 You are about to use an experimental version of Autoconf. Be sure to
4000 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4002 Below you will find information on the status of this version of Autoconf.
4006 sed -n '/^\* Status/,$p' $srcdir/BUGS