* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
[autoconf/tsuna.git] / configure
blob583be14457f92b1c8696fdfb049c56ae9061a18c
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
664 mkdir_p
666 SET_MAKE
667 am__leading_dot
668 AMTAR
669 am__tar
670 am__untar
671 ac_cv_sh_n_works
672 EXPR
674 M4_DEBUGFILE
675 HELP2MAN
676 PERL
677 TEST_EMACS
678 EMACS
679 EMACSLOADPATH
680 lispdir
681 GREP
682 EGREP
684 LIBOBJS
685 LTLIBOBJS'
686 ac_subst_files=''
687 ac_user_opts='
688 enable_option_checking
689 with_lispdir
691 ac_precious_vars='build_alias
692 host_alias
693 target_alias
694 EMACS
695 EMACSLOADPATH'
698 # Initialize some variables set by options.
699 ac_init_help=
700 ac_init_version=false
701 ac_unrecognized_opts=
702 ac_unrecognized_sep=
703 # The variables have the same names as the options, with
704 # dashes changed to underlines.
705 cache_file=/dev/null
706 exec_prefix=NONE
707 no_create=
708 no_recursion=
709 prefix=NONE
710 program_prefix=NONE
711 program_suffix=NONE
712 program_transform_name=s,x,x,
713 silent=
714 site=
715 srcdir=
716 verbose=
717 x_includes=NONE
718 x_libraries=NONE
720 # Installation directory options.
721 # These are left unexpanded so users can "make install exec_prefix=/foo"
722 # and all the variables that are supposed to be based on exec_prefix
723 # by default will actually change.
724 # Use braces instead of parens because sh, perl, etc. also accept them.
725 # (The list follows the same order as the GNU Coding Standards.)
726 bindir='${exec_prefix}/bin'
727 sbindir='${exec_prefix}/sbin'
728 libexecdir='${exec_prefix}/libexec'
729 datarootdir='${prefix}/share'
730 datadir='${datarootdir}'
731 sysconfdir='${prefix}/etc'
732 sharedstatedir='${prefix}/com'
733 localstatedir='${prefix}/var'
734 includedir='${prefix}/include'
735 oldincludedir='/usr/include'
736 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
737 infodir='${datarootdir}/info'
738 htmldir='${docdir}'
739 dvidir='${docdir}'
740 pdfdir='${docdir}'
741 psdir='${docdir}'
742 libdir='${exec_prefix}/lib'
743 localedir='${datarootdir}/locale'
744 mandir='${datarootdir}/man'
746 ac_prev=
747 ac_dashdash=
748 for ac_option
750 # If the previous option needs an argument, assign it.
751 if test -n "$ac_prev"; then
752 eval $ac_prev=\$ac_option
753 ac_prev=
754 continue
757 case $ac_option in
758 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
759 *) ac_optarg=yes ;;
760 esac
762 # Accept the important Cygnus configure options, so we can diagnose typos.
764 case $ac_dashdash$ac_option in
766 ac_dashdash=yes ;;
768 -bindir | --bindir | --bindi | --bind | --bin | --bi)
769 ac_prev=bindir ;;
770 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
771 bindir=$ac_optarg ;;
773 -build | --build | --buil | --bui | --bu)
774 ac_prev=build_alias ;;
775 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
776 build_alias=$ac_optarg ;;
778 -cache-file | --cache-file | --cache-fil | --cache-fi \
779 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
780 ac_prev=cache_file ;;
781 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
782 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
783 cache_file=$ac_optarg ;;
785 --config-cache | -C)
786 cache_file=config.cache ;;
788 -datadir | --datadir | --datadi | --datad)
789 ac_prev=datadir ;;
790 -datadir=* | --datadir=* | --datadi=* | --datad=*)
791 datadir=$ac_optarg ;;
793 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
794 | --dataroo | --dataro | --datar)
795 ac_prev=datarootdir ;;
796 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
797 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
798 datarootdir=$ac_optarg ;;
800 -disable-* | --disable-*)
801 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
802 # Reject names that are not valid shell variable names.
803 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
804 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
805 { (exit 1); exit 1; }; }
806 ac_useropt_orig=$ac_useropt
807 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
808 case $ac_user_opts in
810 "enable_$ac_useropt"
811 "*) ;;
812 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
813 ac_unrecognized_sep=', ';;
814 esac
815 eval enable_$ac_useropt=no ;;
817 -docdir | --docdir | --docdi | --doc | --do)
818 ac_prev=docdir ;;
819 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
820 docdir=$ac_optarg ;;
822 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
823 ac_prev=dvidir ;;
824 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
825 dvidir=$ac_optarg ;;
827 -enable-* | --enable-*)
828 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
829 # Reject names that are not valid shell variable names.
830 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
831 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
832 { (exit 1); exit 1; }; }
833 ac_useropt_orig=$ac_useropt
834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
835 case $ac_user_opts in
837 "enable_$ac_useropt"
838 "*) ;;
839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
840 ac_unrecognized_sep=', ';;
841 esac
842 eval enable_$ac_useropt=\$ac_optarg ;;
844 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
845 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
846 | --exec | --exe | --ex)
847 ac_prev=exec_prefix ;;
848 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
849 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
850 | --exec=* | --exe=* | --ex=*)
851 exec_prefix=$ac_optarg ;;
853 -gas | --gas | --ga | --g)
854 # Obsolete; use --with-gas.
855 with_gas=yes ;;
857 -help | --help | --hel | --he | -h)
858 ac_init_help=long ;;
859 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
860 ac_init_help=recursive ;;
861 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
862 ac_init_help=short ;;
864 -host | --host | --hos | --ho)
865 ac_prev=host_alias ;;
866 -host=* | --host=* | --hos=* | --ho=*)
867 host_alias=$ac_optarg ;;
869 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
870 ac_prev=htmldir ;;
871 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
872 | --ht=*)
873 htmldir=$ac_optarg ;;
875 -includedir | --includedir | --includedi | --included | --include \
876 | --includ | --inclu | --incl | --inc)
877 ac_prev=includedir ;;
878 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
879 | --includ=* | --inclu=* | --incl=* | --inc=*)
880 includedir=$ac_optarg ;;
882 -infodir | --infodir | --infodi | --infod | --info | --inf)
883 ac_prev=infodir ;;
884 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
885 infodir=$ac_optarg ;;
887 -libdir | --libdir | --libdi | --libd)
888 ac_prev=libdir ;;
889 -libdir=* | --libdir=* | --libdi=* | --libd=*)
890 libdir=$ac_optarg ;;
892 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
893 | --libexe | --libex | --libe)
894 ac_prev=libexecdir ;;
895 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
896 | --libexe=* | --libex=* | --libe=*)
897 libexecdir=$ac_optarg ;;
899 -localedir | --localedir | --localedi | --localed | --locale)
900 ac_prev=localedir ;;
901 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
902 localedir=$ac_optarg ;;
904 -localstatedir | --localstatedir | --localstatedi | --localstated \
905 | --localstate | --localstat | --localsta | --localst | --locals)
906 ac_prev=localstatedir ;;
907 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
908 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
909 localstatedir=$ac_optarg ;;
911 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
912 ac_prev=mandir ;;
913 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
914 mandir=$ac_optarg ;;
916 -nfp | --nfp | --nf)
917 # Obsolete; use --without-fp.
918 with_fp=no ;;
920 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
921 | --no-cr | --no-c | -n)
922 no_create=yes ;;
924 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
925 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
926 no_recursion=yes ;;
928 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
929 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
930 | --oldin | --oldi | --old | --ol | --o)
931 ac_prev=oldincludedir ;;
932 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
933 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
934 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
935 oldincludedir=$ac_optarg ;;
937 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
938 ac_prev=prefix ;;
939 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
940 prefix=$ac_optarg ;;
942 -program-prefix | --program-prefix | --program-prefi | --program-pref \
943 | --program-pre | --program-pr | --program-p)
944 ac_prev=program_prefix ;;
945 -program-prefix=* | --program-prefix=* | --program-prefi=* \
946 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
947 program_prefix=$ac_optarg ;;
949 -program-suffix | --program-suffix | --program-suffi | --program-suff \
950 | --program-suf | --program-su | --program-s)
951 ac_prev=program_suffix ;;
952 -program-suffix=* | --program-suffix=* | --program-suffi=* \
953 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
954 program_suffix=$ac_optarg ;;
956 -program-transform-name | --program-transform-name \
957 | --program-transform-nam | --program-transform-na \
958 | --program-transform-n | --program-transform- \
959 | --program-transform | --program-transfor \
960 | --program-transfo | --program-transf \
961 | --program-trans | --program-tran \
962 | --progr-tra | --program-tr | --program-t)
963 ac_prev=program_transform_name ;;
964 -program-transform-name=* | --program-transform-name=* \
965 | --program-transform-nam=* | --program-transform-na=* \
966 | --program-transform-n=* | --program-transform-=* \
967 | --program-transform=* | --program-transfor=* \
968 | --program-transfo=* | --program-transf=* \
969 | --program-trans=* | --program-tran=* \
970 | --progr-tra=* | --program-tr=* | --program-t=*)
971 program_transform_name=$ac_optarg ;;
973 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
974 ac_prev=pdfdir ;;
975 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
976 pdfdir=$ac_optarg ;;
978 -psdir | --psdir | --psdi | --psd | --ps)
979 ac_prev=psdir ;;
980 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
981 psdir=$ac_optarg ;;
983 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
984 | -silent | --silent | --silen | --sile | --sil)
985 silent=yes ;;
987 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
988 ac_prev=sbindir ;;
989 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
990 | --sbi=* | --sb=*)
991 sbindir=$ac_optarg ;;
993 -sharedstatedir | --sharedstatedir | --sharedstatedi \
994 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
995 | --sharedst | --shareds | --shared | --share | --shar \
996 | --sha | --sh)
997 ac_prev=sharedstatedir ;;
998 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
999 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1000 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1001 | --sha=* | --sh=*)
1002 sharedstatedir=$ac_optarg ;;
1004 -site | --site | --sit)
1005 ac_prev=site ;;
1006 -site=* | --site=* | --sit=*)
1007 site=$ac_optarg ;;
1009 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1010 ac_prev=srcdir ;;
1011 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1012 srcdir=$ac_optarg ;;
1014 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1015 | --syscon | --sysco | --sysc | --sys | --sy)
1016 ac_prev=sysconfdir ;;
1017 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1018 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1019 sysconfdir=$ac_optarg ;;
1021 -target | --target | --targe | --targ | --tar | --ta | --t)
1022 ac_prev=target_alias ;;
1023 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1024 target_alias=$ac_optarg ;;
1026 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1027 verbose=yes ;;
1029 -version | --version | --versio | --versi | --vers | -V)
1030 ac_init_version=: ;;
1032 -with-* | --with-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1036 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1037 { (exit 1); exit 1; }; }
1038 ac_useropt_orig=$ac_useropt
1039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1040 case $ac_user_opts in
1042 "with_$ac_useropt"
1043 "*) ;;
1044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1045 ac_unrecognized_sep=', ';;
1046 esac
1047 eval with_$ac_useropt=\$ac_optarg ;;
1049 -without-* | --without-*)
1050 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1054 { (exit 1); exit 1; }; }
1055 ac_useropt_orig=$ac_useropt
1056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1057 case $ac_user_opts in
1059 "with_$ac_useropt"
1060 "*) ;;
1061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1062 ac_unrecognized_sep=', ';;
1063 esac
1064 eval with_$ac_useropt=no ;;
1066 --x)
1067 # Obsolete; use --with-x.
1068 with_x=yes ;;
1070 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071 | --x-incl | --x-inc | --x-in | --x-i)
1072 ac_prev=x_includes ;;
1073 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075 x_includes=$ac_optarg ;;
1077 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1078 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079 ac_prev=x_libraries ;;
1080 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082 x_libraries=$ac_optarg ;;
1084 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1085 Try \`$0 --help' for more information." >&2
1086 { (exit 1); exit 1; }; }
1089 *=*)
1090 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1093 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1094 { (exit 1); exit 1; }; }
1095 eval $ac_envvar=\$ac_optarg
1096 export $ac_envvar ;;
1099 # FIXME: should be removed in autoconf 3.0.
1100 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1106 esac
1107 done
1109 if test -n "$ac_prev"; then
1110 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1112 { (exit 1); exit 1; }; }
1115 if test -n "$ac_unrecognized_opts"; then
1116 case $enable_option_checking in
1117 no) ;;
1118 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1119 { (exit 1); exit 1; }; } ;;
1120 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1121 esac
1124 # Be sure to have absolute directory names.
1125 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1126 datadir sysconfdir sharedstatedir localstatedir includedir \
1127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1128 libdir localedir mandir
1130 eval ac_val=\$$ac_var
1131 case $ac_val in
1132 [\\/$]* | ?:[\\/]* ) continue;;
1133 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1134 esac
1135 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1136 { (exit 1); exit 1; }; }
1137 done
1139 # There might be people who depend on the old broken behavior: `$host'
1140 # used to hold the argument of --host etc.
1141 # FIXME: To remove some day.
1142 build=$build_alias
1143 host=$host_alias
1144 target=$target_alias
1146 # FIXME: To remove some day.
1147 if test "x$host_alias" != x; then
1148 if test "x$build_alias" = x; then
1149 cross_compiling=maybe
1150 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1151 If a cross compiler is detected then cross compile mode will be used." >&2
1152 elif test "x$build_alias" != "x$host_alias"; then
1153 cross_compiling=yes
1157 ac_tool_prefix=
1158 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1160 test "$silent" = yes && exec 6>/dev/null
1163 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di=`ls -di .` &&
1165 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1166 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1167 { (exit 1); exit 1; }; }
1168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1170 { (exit 1); exit 1; }; }
1173 # Find the source files, if location was not specified.
1174 if test -z "$srcdir"; then
1175 ac_srcdir_defaulted=yes
1176 # Try the directory containing this script, then the parent directory.
1177 ac_confdir=`$as_dirname -- "$0" ||
1178 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$0" : 'X\(//\)[^/]' \| \
1180 X"$0" : 'X\(//\)$' \| \
1181 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1182 $as_echo X"$0" |
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 s//\1/
1187 /^X\(\/\/\)[^/].*/{
1188 s//\1/
1191 /^X\(\/\/\)$/{
1192 s//\1/
1195 /^X\(\/\).*/{
1196 s//\1/
1199 s/.*/./; q'`
1200 srcdir=$ac_confdir
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202 srcdir=..
1204 else
1205 ac_srcdir_defaulted=no
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1210 { (exit 1); exit 1; }; }
1212 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1213 ac_abs_confdir=`(
1214 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1215 { (exit 1); exit 1; }; }
1216 pwd)`
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1219 srcdir=.
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1224 case $srcdir in
1225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 esac
1227 for ac_var in $ac_precious_vars; do
1228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_env_${ac_var}_value=\$${ac_var}
1230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1232 done
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1240 cat <<_ACEOF
1241 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1250 Configuration:
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265 [PREFIX]
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1290 --htmldir=DIR html documentation [DOCDIR]
1291 --dvidir=DIR dvi documentation [DOCDIR]
1292 --pdfdir=DIR pdf documentation [DOCDIR]
1293 --psdir=DIR ps documentation [DOCDIR]
1294 _ACEOF
1296 cat <<\_ACEOF
1298 Program names:
1299 --program-prefix=PREFIX prepend PREFIX to installed program names
1300 --program-suffix=SUFFIX append SUFFIX to installed program names
1301 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1302 _ACEOF
1305 if test -n "$ac_init_help"; then
1306 case $ac_init_help in
1307 short | recursive ) echo "Configuration of GNU Autoconf 2.61b:";;
1308 esac
1309 cat <<\_ACEOF
1311 Optional Packages:
1312 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1313 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1314 --with-lispdir override the default lisp directory
1316 Some influential environment variables:
1317 EMACS the Emacs editor command
1318 EMACSLOADPATH
1319 the Emacs library search path
1321 Use these variables to override the choices made by `configure' or to help
1322 it to find libraries and programs with nonstandard names/locations.
1324 Report bugs to <bug-autoconf@gnu.org>.
1325 _ACEOF
1326 ac_status=$?
1329 if test "$ac_init_help" = "recursive"; then
1330 # If there are subdirs, report their specific --help.
1331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1332 test -d "$ac_dir" || continue
1333 ac_builddir=.
1335 case "$ac_dir" in
1336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
1339 # A ".." for each directory in $ac_dir_suffix.
1340 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1341 case $ac_top_builddir_sub in
1342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 esac ;;
1345 esac
1346 ac_abs_top_builddir=$ac_pwd
1347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348 # for backward compatibility:
1349 ac_top_builddir=$ac_top_build_prefix
1351 case $srcdir in
1352 .) # We are building in place.
1353 ac_srcdir=.
1354 ac_top_srcdir=$ac_top_builddir_sub
1355 ac_abs_top_srcdir=$ac_pwd ;;
1356 [\\/]* | ?:[\\/]* ) # Absolute name.
1357 ac_srcdir=$srcdir$ac_dir_suffix;
1358 ac_top_srcdir=$srcdir
1359 ac_abs_top_srcdir=$srcdir ;;
1360 *) # Relative name.
1361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362 ac_top_srcdir=$ac_top_build_prefix$srcdir
1363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 esac
1365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1367 cd "$ac_dir" || { ac_status=$?; continue; }
1368 # Check for guested configure.
1369 if test -f "$ac_srcdir/configure.gnu"; then
1370 echo &&
1371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372 elif test -f "$ac_srcdir/configure"; then
1373 echo &&
1374 $SHELL "$ac_srcdir/configure" --help=recursive
1375 else
1376 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 fi || ac_status=$?
1378 cd "$ac_pwd" || { ac_status=$?; break; }
1379 done
1382 test -n "$ac_init_help" && exit $ac_status
1383 if $ac_init_version; then
1384 cat <<\_ACEOF
1385 GNU Autoconf configure 2.61b
1386 generated by GNU Autoconf 2.61b
1388 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1389 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1390 This configure script is free software; the Free Software Foundation
1391 gives unlimited permission to copy, distribute and modify it.
1392 _ACEOF
1393 exit
1395 cat >config.log <<_ACEOF
1396 This file contains any messages produced by compilers while
1397 running configure, to aid debugging if configure makes a mistake.
1399 It was created by GNU Autoconf $as_me 2.61b, which was
1400 generated by GNU Autoconf 2.61b. Invocation command line was
1402 $ $0 $@
1404 _ACEOF
1405 exec 5>>config.log
1407 cat <<_ASUNAME
1408 ## --------- ##
1409 ## Platform. ##
1410 ## --------- ##
1412 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1413 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1414 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1415 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1416 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1418 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1419 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1421 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1422 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1423 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1424 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1425 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1426 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1427 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1429 _ASUNAME
1431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1432 for as_dir in $PATH
1434 IFS=$as_save_IFS
1435 test -z "$as_dir" && as_dir=.
1436 $as_echo "PATH: $as_dir"
1437 done
1438 IFS=$as_save_IFS
1440 } >&5
1442 cat >&5 <<_ACEOF
1445 ## ----------- ##
1446 ## Core tests. ##
1447 ## ----------- ##
1449 _ACEOF
1452 # Keep a trace of the command line.
1453 # Strip out --no-create and --no-recursion so they do not pile up.
1454 # Strip out --silent because we don't want to record it for future runs.
1455 # Also quote any args containing shell meta-characters.
1456 # Make two passes to allow for proper duplicate-argument suppression.
1457 ac_configure_args=
1458 ac_configure_args0=
1459 ac_configure_args1=
1460 ac_must_keep_next=false
1461 for ac_pass in 1 2
1463 for ac_arg
1465 case $ac_arg in
1466 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1468 | -silent | --silent | --silen | --sile | --sil)
1469 continue ;;
1470 *\'*)
1471 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1472 esac
1473 case $ac_pass in
1474 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1476 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1477 if test $ac_must_keep_next = true; then
1478 ac_must_keep_next=false # Got value, back to normal.
1479 else
1480 case $ac_arg in
1481 *=* | --config-cache | -C | -disable-* | --disable-* \
1482 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1483 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1484 | -with-* | --with-* | -without-* | --without-* | --x)
1485 case "$ac_configure_args0 " in
1486 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1487 esac
1489 -* ) ac_must_keep_next=true ;;
1490 esac
1492 ac_configure_args="$ac_configure_args '$ac_arg'"
1494 esac
1495 done
1496 done
1497 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1498 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1500 # When interrupted or exit'd, cleanup temporary files, and complete
1501 # config.log. We remove comments because anyway the quotes in there
1502 # would cause problems or look ugly.
1503 # WARNING: Use '\'' to represent an apostrophe within the trap.
1504 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1505 trap 'exit_status=$?
1506 # Save into config.log some information that might help in debugging.
1508 echo
1510 cat <<\_ASBOX
1511 ## ---------------- ##
1512 ## Cache variables. ##
1513 ## ---------------- ##
1514 _ASBOX
1515 echo
1516 # The following way of writing the cache mishandles newlines in values,
1518 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1519 eval ac_val=\$$ac_var
1520 case $ac_val in #(
1521 *${as_nl}*)
1522 case $ac_var in #(
1523 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1524 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1525 esac
1526 case $ac_var in #(
1527 _ | IFS | as_nl) ;; #(
1528 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1529 *) $as_unset $ac_var ;;
1530 esac ;;
1531 esac
1532 done
1533 (set) 2>&1 |
1534 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1535 *${as_nl}ac_space=\ *)
1536 sed -n \
1537 "s/'\''/'\''\\\\'\'''\''/g;
1538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1539 ;; #(
1541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1543 esac |
1544 sort
1546 echo
1548 cat <<\_ASBOX
1549 ## ----------------- ##
1550 ## Output variables. ##
1551 ## ----------------- ##
1552 _ASBOX
1553 echo
1554 for ac_var in $ac_subst_vars
1556 eval ac_val=\$$ac_var
1557 case $ac_val in
1558 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1559 esac
1560 $as_echo "$ac_var='\''$ac_val'\''"
1561 done | sort
1562 echo
1564 if test -n "$ac_subst_files"; then
1565 cat <<\_ASBOX
1566 ## ------------------- ##
1567 ## File substitutions. ##
1568 ## ------------------- ##
1569 _ASBOX
1570 echo
1571 for ac_var in $ac_subst_files
1573 eval ac_val=\$$ac_var
1574 case $ac_val in
1575 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1576 esac
1577 $as_echo "$ac_var='\''$ac_val'\''"
1578 done | sort
1579 echo
1582 if test -s confdefs.h; then
1583 cat <<\_ASBOX
1584 ## ----------- ##
1585 ## confdefs.h. ##
1586 ## ----------- ##
1587 _ASBOX
1588 echo
1589 cat confdefs.h
1590 echo
1592 test "$ac_signal" != 0 &&
1593 $as_echo "$as_me: caught signal $ac_signal"
1594 $as_echo "$as_me: exit $exit_status"
1595 } >&5
1596 rm -f core *.core core.conftest.* &&
1597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1598 exit $exit_status
1600 for ac_signal in 1 2 13 15; do
1601 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1602 done
1603 ac_signal=0
1605 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1606 rm -f -r conftest* confdefs.h
1608 # Predefined preprocessor variables.
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_NAME "$PACKAGE_NAME"
1612 _ACEOF
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1617 _ACEOF
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1622 _ACEOF
1625 cat >>confdefs.h <<_ACEOF
1626 #define PACKAGE_STRING "$PACKAGE_STRING"
1627 _ACEOF
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1632 _ACEOF
1635 # Let the site file select an alternate cache file if it wants to.
1636 # Prefer explicitly selected file to automatically selected ones.
1637 if test -n "$CONFIG_SITE"; then
1638 set x "$CONFIG_SITE"
1639 elif test "x$prefix" != xNONE; then
1640 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1641 else
1642 set x "$ac_default_prefix/share/config.site" \
1643 "$ac_default_prefix/etc/config.site"
1645 shift
1646 for ac_site_file
1648 if test -r "$ac_site_file"; then
1649 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1650 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1651 sed 's/^/| /' "$ac_site_file" >&5
1652 . "$ac_site_file"
1654 done
1656 if test -r "$cache_file"; then
1657 # Some versions of bash will fail to source /dev/null (special
1658 # files actually), so we avoid doing that.
1659 if test -f "$cache_file"; then
1660 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1661 $as_echo "$as_me: loading cache $cache_file" >&6;}
1662 case $cache_file in
1663 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1664 *) . "./$cache_file";;
1665 esac
1667 else
1668 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1669 $as_echo "$as_me: creating cache $cache_file" >&6;}
1670 >$cache_file
1673 # Check that the precious variables saved in the cache have kept the same
1674 # value.
1675 ac_cache_corrupted=false
1676 for ac_var in $ac_precious_vars; do
1677 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1678 eval ac_new_set=\$ac_env_${ac_var}_set
1679 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1680 eval ac_new_val=\$ac_env_${ac_var}_value
1681 case $ac_old_set,$ac_new_set in
1682 set,)
1683 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1684 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1685 ac_cache_corrupted=: ;;
1686 ,set)
1687 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1688 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1689 ac_cache_corrupted=: ;;
1690 ,);;
1692 if test "x$ac_old_val" != "x$ac_new_val"; then
1693 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1694 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1695 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1696 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1697 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1698 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1699 ac_cache_corrupted=:
1700 fi;;
1701 esac
1702 # Pass precious variables to config.status.
1703 if test "$ac_new_set" = set; then
1704 case $ac_new_val in
1705 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1706 *) ac_arg=$ac_var=$ac_new_val ;;
1707 esac
1708 case " $ac_configure_args " in
1709 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1710 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1711 esac
1713 done
1714 if $ac_cache_corrupted; then
1715 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1716 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1717 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1718 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1719 { (exit 1); exit 1; }; }
1746 ac_ext=c
1747 ac_cpp='$CPP $CPPFLAGS'
1748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1755 ac_aux_dir=
1756 for ac_dir in build-aux "$srcdir"/build-aux; do
1757 if test -f "$ac_dir/install-sh"; then
1758 ac_aux_dir=$ac_dir
1759 ac_install_sh="$ac_aux_dir/install-sh -c"
1760 break
1761 elif test -f "$ac_dir/install.sh"; then
1762 ac_aux_dir=$ac_dir
1763 ac_install_sh="$ac_aux_dir/install.sh -c"
1764 break
1765 elif test -f "$ac_dir/shtool"; then
1766 ac_aux_dir=$ac_dir
1767 ac_install_sh="$ac_aux_dir/shtool install -c"
1768 break
1770 done
1771 if test -z "$ac_aux_dir"; then
1772 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1773 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1774 { (exit 1); exit 1; }; }
1777 # These three variables are undocumented and unsupported,
1778 # and are intended to be withdrawn in a future Autoconf release.
1779 # They can cause serious problems if a builder's source tree is in a directory
1780 # whose full name contains unusual characters.
1781 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1782 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1783 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1787 am__api_version='1.10'
1789 # Find a good install program. We prefer a C program (faster),
1790 # so one script is as good as another. But avoid the broken or
1791 # incompatible versions:
1792 # SysV /etc/install, /usr/sbin/install
1793 # SunOS /usr/etc/install
1794 # IRIX /sbin/install
1795 # AIX /bin/install
1796 # AmigaOS /C/install, which installs bootblocks on floppy discs
1797 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1798 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1799 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1800 # OS/2's system install, which has a completely different semantic
1801 # ./install, which can be erroneously created by make from ./install.sh.
1802 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1803 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1804 if test -z "$INSTALL"; then
1805 if test "${ac_cv_path_install+set}" = set; then
1806 $as_echo_n "(cached) " >&6
1807 else
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809 for as_dir in $PATH
1811 IFS=$as_save_IFS
1812 test -z "$as_dir" && as_dir=.
1813 # Account for people who put trailing slashes in PATH elements.
1814 case $as_dir/ in
1815 ./ | .// | /cC/* | \
1816 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1817 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1818 /usr/ucb/* ) ;;
1820 # OSF1 and SCO ODT 3.0 have their own names for install.
1821 # Don't use installbsd from OSF since it installs stuff as root
1822 # by default.
1823 for ac_prog in ginstall scoinst install; do
1824 for ac_exec_ext in '' $ac_executable_extensions; do
1825 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1826 if test $ac_prog = install &&
1827 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1828 # AIX install. It has an incompatible calling convention.
1830 elif test $ac_prog = install &&
1831 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1832 # program-specific install script used by HP pwplus--don't use.
1834 else
1835 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1836 break 3
1839 done
1840 done
1842 esac
1843 done
1844 IFS=$as_save_IFS
1848 if test "${ac_cv_path_install+set}" = set; then
1849 INSTALL=$ac_cv_path_install
1850 else
1851 # As a last resort, use the slow shell script. Don't cache a
1852 # value for INSTALL within a source directory, because that will
1853 # break other packages using the cache if that directory is
1854 # removed, or if the value is a relative name.
1855 INSTALL=$ac_install_sh
1858 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1859 $as_echo "$INSTALL" >&6; }
1861 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1862 # It thinks the first close brace ends the variable substitution.
1863 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1865 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1867 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1869 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1870 $as_echo_n "checking whether build environment is sane... " >&6; }
1871 # Just in case
1872 sleep 1
1873 echo timestamp > conftest.file
1874 # Do `set' in a subshell so we don't clobber the current shell's
1875 # arguments. Must try -L first in case configure is actually a
1876 # symlink; some systems play weird games with the mod time of symlinks
1877 # (eg FreeBSD returns the mod time of the symlink's containing
1878 # directory).
1879 if (
1880 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1881 if test "$*" = "X"; then
1882 # -L didn't work.
1883 set X `ls -t $srcdir/configure conftest.file`
1885 rm -f conftest.file
1886 if test "$*" != "X $srcdir/configure conftest.file" \
1887 && test "$*" != "X conftest.file $srcdir/configure"; then
1889 # If neither matched, then we have a broken ls. This can happen
1890 # if, for instance, CONFIG_SHELL is bash and it inherits a
1891 # broken ls alias from the environment. This has actually
1892 # happened. Such a system could not be considered "sane".
1893 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1894 alias in your environment" >&5
1895 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1896 alias in your environment" >&2;}
1897 { (exit 1); exit 1; }; }
1900 test "$2" = conftest.file
1902 then
1903 # Ok.
1905 else
1906 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1907 Check your system clock" >&5
1908 $as_echo "$as_me: error: newly created file is older than distributed files!
1909 Check your system clock" >&2;}
1910 { (exit 1); exit 1; }; }
1912 { $as_echo "$as_me:$LINENO: result: yes" >&5
1913 $as_echo "yes" >&6; }
1914 test "$program_prefix" != NONE &&
1915 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1916 # Use a double $ so make ignores it.
1917 test "$program_suffix" != NONE &&
1918 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1919 # Double any \ or $.
1920 # By default was `s,x,x', remove it if useless.
1921 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1922 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1924 # expand $ac_aux_dir to an absolute path
1925 am_aux_dir=`cd $ac_aux_dir && pwd`
1927 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1928 # Use eval to expand $SHELL
1929 if eval "$MISSING --run true"; then
1930 am_missing_run="$MISSING --run "
1931 else
1932 am_missing_run=
1933 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1934 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1937 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1938 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1939 if test -z "$MKDIR_P"; then
1940 if test "${ac_cv_path_mkdir+set}" = set; then
1941 $as_echo_n "(cached) " >&6
1942 else
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1946 IFS=$as_save_IFS
1947 test -z "$as_dir" && as_dir=.
1948 for ac_prog in mkdir gmkdir; do
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1951 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1952 'mkdir (GNU coreutils) '* | \
1953 'mkdir (coreutils) '* | \
1954 'mkdir (fileutils) '4.1*)
1955 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1956 break 3;;
1957 esac
1958 done
1959 done
1960 done
1961 IFS=$as_save_IFS
1965 if test "${ac_cv_path_mkdir+set}" = set; then
1966 MKDIR_P="$ac_cv_path_mkdir -p"
1967 else
1968 # As a last resort, use the slow shell script. Don't cache a
1969 # value for MKDIR_P within a source directory, because that will
1970 # break other packages using the cache if that directory is
1971 # removed, or if the value is a relative name.
1972 test -d ./--version && rmdir ./--version
1973 MKDIR_P="$ac_install_sh -d"
1976 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1977 $as_echo "$MKDIR_P" >&6; }
1979 mkdir_p="$MKDIR_P"
1980 case $mkdir_p in
1981 [\\/$]* | ?:[\\/]*) ;;
1982 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1983 esac
1985 for ac_prog in gawk mawk nawk awk
1987 # Extract the first word of "$ac_prog", so it can be a program name with args.
1988 set dummy $ac_prog; ac_word=$2
1989 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1990 $as_echo_n "checking for $ac_word... " >&6; }
1991 if test "${ac_cv_prog_AWK+set}" = set; then
1992 $as_echo_n "(cached) " >&6
1993 else
1994 if test -n "$AWK"; then
1995 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1996 else
1997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998 for as_dir in $PATH
2000 IFS=$as_save_IFS
2001 test -z "$as_dir" && as_dir=.
2002 for ac_exec_ext in '' $ac_executable_extensions; do
2003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2004 ac_cv_prog_AWK="$ac_prog"
2005 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2006 break 2
2008 done
2009 done
2010 IFS=$as_save_IFS
2014 AWK=$ac_cv_prog_AWK
2015 if test -n "$AWK"; then
2016 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2017 $as_echo "$AWK" >&6; }
2018 else
2019 { $as_echo "$as_me:$LINENO: result: no" >&5
2020 $as_echo "no" >&6; }
2024 test -n "$AWK" && break
2025 done
2027 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2028 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2029 set x ${MAKE-make}
2030 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2031 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2032 $as_echo_n "(cached) " >&6
2033 else
2034 cat >conftest.make <<\_ACEOF
2035 SHELL = /bin/sh
2036 all:
2037 @echo '@@@%%%=$(MAKE)=@@@%%%'
2038 _ACEOF
2039 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2040 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2041 *@@@%%%=?*=@@@%%%*)
2042 eval ac_cv_prog_make_${ac_make}_set=yes;;
2044 eval ac_cv_prog_make_${ac_make}_set=no;;
2045 esac
2046 rm -f conftest.make
2048 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2049 { $as_echo "$as_me:$LINENO: result: yes" >&5
2050 $as_echo "yes" >&6; }
2051 SET_MAKE=
2052 else
2053 { $as_echo "$as_me:$LINENO: result: no" >&5
2054 $as_echo "no" >&6; }
2055 SET_MAKE="MAKE=${MAKE-make}"
2058 rm -rf .tst 2>/dev/null
2059 mkdir .tst 2>/dev/null
2060 if test -d .tst; then
2061 am__leading_dot=.
2062 else
2063 am__leading_dot=_
2065 rmdir .tst 2>/dev/null
2067 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2068 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2069 # is not polluted with repeated "-I."
2070 am__isrc=' -I$(srcdir)'
2071 # test to see if srcdir already configured
2072 if test -f $srcdir/config.status; then
2073 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2074 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2075 { (exit 1); exit 1; }; }
2079 # test whether we have cygpath
2080 if test -z "$CYGPATH_W"; then
2081 if (cygpath --version) >/dev/null 2>/dev/null; then
2082 CYGPATH_W='cygpath -w'
2083 else
2084 CYGPATH_W=echo
2089 # Define the identity of the package.
2090 PACKAGE='autoconf'
2091 VERSION='2.61b'
2094 cat >>confdefs.h <<_ACEOF
2095 #define PACKAGE "$PACKAGE"
2096 _ACEOF
2099 cat >>confdefs.h <<_ACEOF
2100 #define VERSION "$VERSION"
2101 _ACEOF
2103 # Some tools Automake needs.
2105 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2108 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2111 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2114 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2117 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2119 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2121 # Installed binaries are usually stripped using `strip' when the user
2122 # run `make install-strip'. However `strip' might not be the right
2123 # tool to use in cross-compilation environments, therefore Automake
2124 # will honor the `STRIP' environment variable to overrule this program.
2125 if test "$cross_compiling" != no; then
2126 if test -n "$ac_tool_prefix"; then
2127 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2128 set dummy ${ac_tool_prefix}strip; ac_word=$2
2129 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 $as_echo_n "checking for $ac_word... " >&6; }
2131 if test "${ac_cv_prog_STRIP+set}" = set; then
2132 $as_echo_n "(cached) " >&6
2133 else
2134 if test -n "$STRIP"; then
2135 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2136 else
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2140 IFS=$as_save_IFS
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2145 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 break 2
2148 done
2149 done
2150 IFS=$as_save_IFS
2154 STRIP=$ac_cv_prog_STRIP
2155 if test -n "$STRIP"; then
2156 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2157 $as_echo "$STRIP" >&6; }
2158 else
2159 { $as_echo "$as_me:$LINENO: result: no" >&5
2160 $as_echo "no" >&6; }
2165 if test -z "$ac_cv_prog_STRIP"; then
2166 ac_ct_STRIP=$STRIP
2167 # Extract the first word of "strip", so it can be a program name with args.
2168 set dummy strip; ac_word=$2
2169 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 $as_echo_n "checking for $ac_word... " >&6; }
2171 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2172 $as_echo_n "(cached) " >&6
2173 else
2174 if test -n "$ac_ct_STRIP"; then
2175 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2176 else
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 for as_dir in $PATH
2180 IFS=$as_save_IFS
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 ac_cv_prog_ac_ct_STRIP="strip"
2185 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 break 2
2188 done
2189 done
2190 IFS=$as_save_IFS
2194 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2195 if test -n "$ac_ct_STRIP"; then
2196 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2197 $as_echo "$ac_ct_STRIP" >&6; }
2198 else
2199 { $as_echo "$as_me:$LINENO: result: no" >&5
2200 $as_echo "no" >&6; }
2203 if test "x$ac_ct_STRIP" = x; then
2204 STRIP=":"
2205 else
2206 case $cross_compiling:$ac_tool_warned in
2207 yes:)
2208 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2209 whose name does not start with the host triplet. If you think this
2210 configuration is useful to you, please write to autoconf@gnu.org." >&5
2211 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2212 whose name does not start with the host triplet. If you think this
2213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2214 ac_tool_warned=yes ;;
2215 esac
2216 STRIP=$ac_ct_STRIP
2218 else
2219 STRIP="$ac_cv_prog_STRIP"
2223 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2225 # We need awk for the "check" target. The system "awk" is bad on
2226 # some platforms.
2227 # Always define AMTAR for backward compatibility.
2229 AMTAR=${AMTAR-"${am_missing_run}tar"}
2231 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2238 # We use `/bin/sh -n script' to check that there are no syntax errors
2239 # in the scripts. Although incredible, there are /bin/sh that go into
2240 # endless loops with `-n', e.g., SunOS's:
2242 # $ uname -a
2243 # SunOS ondine 4.1.3 2 sun4m unknown
2244 # $ cat endless.sh
2245 # while false
2246 # do
2248 # done
2249 # exit 0
2250 # $ time sh endless.sh
2251 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2252 # $ time sh -nx endless.sh
2253 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2255 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2256 # that they are unusable on large scripts like our testsuite.
2258 # So before using `/bin/sh -n' to check our scripts, we first check
2259 # that `/bin/sh -n' is known to not have these problems.
2261 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2262 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2263 if test "${ac_cv_sh_n_works+set}" = set; then
2264 $as_echo_n "(cached) " >&6
2265 else
2266 if (
2267 unset BASH_VERSION ZSH_VERSION
2268 /bin/sh -c '
2269 test -n "${BASH_VERSION+set}" || # Bash
2270 test -n "${KSH_VERSION+set}" || # pdksh
2271 test -n "${ZSH_VERSION+set}" || # zsh
2272 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2274 ) 2>/dev/null
2275 then ac_cv_sh_n_works=yes
2276 else ac_cv_sh_n_works=no
2280 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2281 $as_echo "$ac_cv_sh_n_works" >&6; }
2284 # Initialize the test suite.
2285 ac_config_commands="$ac_config_commands tests/atconfig"
2288 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2290 # Extract the first word of "expr", so it can be a program name with args.
2291 set dummy expr; ac_word=$2
2292 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 $as_echo_n "checking for $ac_word... " >&6; }
2294 if test "${ac_cv_path_EXPR+set}" = set; then
2295 $as_echo_n "(cached) " >&6
2296 else
2297 case $EXPR in
2298 [\\/]* | ?:[\\/]*)
2299 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 for as_dir in $PATH
2305 IFS=$as_save_IFS
2306 test -z "$as_dir" && as_dir=.
2307 for ac_exec_ext in '' $ac_executable_extensions; do
2308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2310 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 break 2
2313 done
2314 done
2315 IFS=$as_save_IFS
2318 esac
2320 EXPR=$ac_cv_path_EXPR
2321 if test -n "$EXPR"; then
2322 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2323 $as_echo "$EXPR" >&6; }
2324 else
2325 { $as_echo "$as_me:$LINENO: result: no" >&5
2326 $as_echo "no" >&6; }
2332 ## ---- ##
2333 ## M4. ##
2334 ## ---- ##
2336 # We use an absolute name for GNU m4 so even if users have another m4 first in
2337 # their path, the installer can configure with a path that has GNU m4
2338 # first and get that path embedded in the installed autoconf and
2339 # autoheader scripts.
2340 for ac_prog in gm4 gnum4 m4
2342 # Extract the first word of "$ac_prog", so it can be a program name with args.
2343 set dummy $ac_prog; ac_word=$2
2344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2345 $as_echo_n "checking for $ac_word... " >&6; }
2346 if test "${ac_cv_path_M4+set}" = set; then
2347 $as_echo_n "(cached) " >&6
2348 else
2349 case $M4 in
2350 [\\/]* | ?:[\\/]*)
2351 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 for as_dir in $PATH
2357 IFS=$as_save_IFS
2358 test -z "$as_dir" && as_dir=.
2359 for ac_exec_ext in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2362 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 break 2
2365 done
2366 done
2367 IFS=$as_save_IFS
2370 esac
2372 M4=$ac_cv_path_M4
2373 if test -n "$M4"; then
2374 { $as_echo "$as_me:$LINENO: result: $M4" >&5
2375 $as_echo "$M4" >&6; }
2376 else
2377 { $as_echo "$as_me:$LINENO: result: no" >&5
2378 $as_echo "no" >&6; }
2382 test -n "$M4" && break
2383 done
2384 test -n "$M4" || M4="m4"
2386 { $as_echo "$as_me:$LINENO: checking whether m4 supports accurate traces" >&5
2387 $as_echo_n "checking whether m4 supports accurate traces... " >&6; }
2388 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2389 $as_echo_n "(cached) " >&6
2390 else
2391 ac_cv_prog_gnu_m4=no
2392 if test x"$M4" != x \
2393 && test -z "`echo if'def(mac,bug)d'nl | $M4 --trace=mac 2>&1`" ; then
2394 ac_cv_prog_gnu_m4=yes
2397 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2398 $as_echo "$ac_cv_prog_gnu_m4" >&6; }
2399 if test $ac_cv_prog_gnu_m4 = yes ; then
2400 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2401 $as_echo_n "checking how m4 supports trace files... " >&6; }
2402 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2403 $as_echo_n "(cached) " >&6
2404 else
2405 case `$M4 --help < /dev/null 2>&1` in
2406 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2407 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2408 esac
2410 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2411 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2412 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2416 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2417 { { $as_echo "$as_me:$LINENO: error: GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&5
2418 $as_echo "$as_me: error: GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&2;}
2419 { (exit 1); exit 1; }; }
2422 ## ----------- ##
2423 ## Man pages. ##
2424 ## ----------- ##
2426 ac_config_files="$ac_config_files man/Makefile"
2429 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2433 ## ------ ##
2434 ## Perl. ##
2435 ## ------ ##
2437 # We use an absolute name for perl so the #! line in autoscan will work.
2438 # Extract the first word of "perl", so it can be a program name with args.
2439 set dummy perl; ac_word=$2
2440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 $as_echo_n "checking for $ac_word... " >&6; }
2442 if test "${ac_cv_path_PERL+set}" = set; then
2443 $as_echo_n "(cached) " >&6
2444 else
2445 case $PERL in
2446 [\\/]* | ?:[\\/]*)
2447 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH
2453 IFS=$as_save_IFS
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2458 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 break 2
2461 done
2462 done
2463 IFS=$as_save_IFS
2465 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2467 esac
2469 PERL=$ac_cv_path_PERL
2470 if test -n "$PERL"; then
2471 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2472 $as_echo "$PERL" >&6; }
2473 else
2474 { $as_echo "$as_me:$LINENO: result: no" >&5
2475 $as_echo "no" >&6; }
2479 if test "$PERL" = no; then
2480 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2481 $as_echo "$as_me: error: perl is not found" >&2;}
2482 { (exit 1); exit 1; }; }
2484 $PERL -e 'require 5.005_03;' || {
2485 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2486 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2487 { (exit 1); exit 1; }; }
2491 ## ------- ##
2492 ## Emacs. ##
2493 ## ------- ##
2495 ac_config_files="$ac_config_files lib/emacs/Makefile"
2497 TEST_EMACS=$EMACS
2498 test x"$TEST_EMACS" = xt && TEST_EMACS=
2499 for ac_prog in emacs xemacs
2501 # Extract the first word of "$ac_prog", so it can be a program name with args.
2502 set dummy $ac_prog; ac_word=$2
2503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2506 $as_echo_n "(cached) " >&6
2507 else
2508 if test -n "$TEST_EMACS"; then
2509 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2510 else
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 for as_dir in $PATH
2514 IFS=$as_save_IFS
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2518 ac_cv_prog_TEST_EMACS="$ac_prog"
2519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 break 2
2522 done
2523 done
2524 IFS=$as_save_IFS
2528 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2529 if test -n "$TEST_EMACS"; then
2530 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2531 $as_echo "$TEST_EMACS" >&6; }
2532 else
2533 { $as_echo "$as_me:$LINENO: result: no" >&5
2534 $as_echo "no" >&6; }
2538 test -n "$TEST_EMACS" && break
2539 done
2540 test -n "$TEST_EMACS" || TEST_EMACS="no"
2543 # autoconf-mode.el and autotest-mode.el do not work with older version of
2544 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2545 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2546 # We detect this problem here.
2547 if test "$TEST_EMACS" != no; then
2548 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2549 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2550 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2551 $as_echo_n "(cached) " >&6
2552 else
2553 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2554 cat >conftest.el << "EOF"
2555 (defvar broken)
2556 (defun broken-mode () (setq broken-defaults `(broken nil)))
2558 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2559 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2560 ac_status=$?
2561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; then
2563 ac_cv_prog_emacs_ok=yes
2564 else
2565 ac_cv_prog_emacs_ok=no
2568 rm -f conftest.el conftest.elc
2570 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2571 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2572 if test $ac_cv_prog_emacs_ok = no; then
2573 TEST_EMACS=no
2579 EMACS=$TEST_EMACS
2582 # If set to t, that means we are running in a shell under Emacs.
2583 # If you have an Emacs named "t", then use the full path.
2584 test x"$EMACS" = xt && EMACS=
2585 for ac_prog in emacs xemacs
2587 # Extract the first word of "$ac_prog", so it can be a program name with args.
2588 set dummy $ac_prog; ac_word=$2
2589 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2590 $as_echo_n "checking for $ac_word... " >&6; }
2591 if test "${ac_cv_prog_EMACS+set}" = set; then
2592 $as_echo_n "(cached) " >&6
2593 else
2594 if test -n "$EMACS"; then
2595 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2596 else
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 for as_dir in $PATH
2600 IFS=$as_save_IFS
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 ac_cv_prog_EMACS="$ac_prog"
2605 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 break 2
2608 done
2609 done
2610 IFS=$as_save_IFS
2614 EMACS=$ac_cv_prog_EMACS
2615 if test -n "$EMACS"; then
2616 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2617 $as_echo "$EMACS" >&6; }
2618 else
2619 { $as_echo "$as_me:$LINENO: result: no" >&5
2620 $as_echo "no" >&6; }
2624 test -n "$EMACS" && break
2625 done
2626 test -n "$EMACS" || EMACS="no"
2631 # Check whether --with-lispdir was given.
2632 if test "${with_lispdir+set}" = set; then
2633 withval=$with_lispdir; lispdir="$withval"
2634 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2635 $as_echo_n "checking where .elc files should go... " >&6; }
2636 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2637 $as_echo "$lispdir" >&6; }
2638 else
2640 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2641 $as_echo_n "checking where .elc files should go... " >&6; }
2642 if test "${am_cv_lispdir+set}" = set; then
2643 $as_echo_n "(cached) " >&6
2644 else
2646 if test $EMACS != "no"; then
2647 if test x${lispdir+set} != xset; then
2648 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2649 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2650 # which is non-obvious for non-emacs users.
2651 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2652 # emacsen earlier and avoid running this altogether.
2653 { ($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
2654 ($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
2655 ac_status=$?
2656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }
2658 am_cv_lispdir=`sed -n \
2659 -e 's,/$,,' \
2660 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2661 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2662 conftest.out`
2663 rm conftest.out
2666 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2669 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2670 $as_echo "$am_cv_lispdir" >&6; }
2671 lispdir="$am_cv_lispdir"
2679 ## ------------ ##
2680 ## Grep & sed. ##
2681 ## ------------ ##
2682 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2683 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2684 if test "${ac_cv_path_GREP+set}" = set; then
2685 $as_echo_n "(cached) " >&6
2686 else
2687 # Extract the first word of "grep ggrep" to use in msg output
2688 if test -z "$GREP"; then
2689 set dummy grep ggrep; ac_prog_name=$2
2690 if test "${ac_cv_path_GREP+set}" = set; then
2691 $as_echo_n "(cached) " >&6
2692 else
2693 ac_path_GREP_found=false
2694 # Loop through the user's path and test for each of PROGNAME-LIST
2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2698 IFS=$as_save_IFS
2699 test -z "$as_dir" && as_dir=.
2700 for ac_prog in grep ggrep; do
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2703 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2704 # Check for GNU ac_path_GREP and select it if it is found.
2705 # Check for GNU $ac_path_GREP
2706 case `"$ac_path_GREP" --version 2>&1` in
2707 *GNU*)
2708 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2710 ac_count=0
2711 $as_echo_n 0123456789 >"conftest.in"
2712 while :
2714 cat "conftest.in" "conftest.in" >"conftest.tmp"
2715 mv "conftest.tmp" "conftest.in"
2716 cp "conftest.in" "conftest.nl"
2717 $as_echo 'GREP' >> "conftest.nl"
2718 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2719 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2720 ac_count=`expr $ac_count + 1`
2721 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2722 # Best one so far, save it but keep looking for a better one
2723 ac_cv_path_GREP="$ac_path_GREP"
2724 ac_path_GREP_max=$ac_count
2726 # 10*(2^10) chars as input seems more than enough
2727 test $ac_count -gt 10 && break
2728 done
2729 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2730 esac
2733 $ac_path_GREP_found && break 3
2734 done
2735 done
2737 done
2738 IFS=$as_save_IFS
2743 GREP="$ac_cv_path_GREP"
2744 if test -z "$GREP"; then
2745 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2746 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2747 { (exit 1); exit 1; }; }
2750 else
2751 ac_cv_path_GREP=$GREP
2756 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2757 $as_echo "$ac_cv_path_GREP" >&6; }
2758 GREP="$ac_cv_path_GREP"
2761 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2762 $as_echo_n "checking for egrep... " >&6; }
2763 if test "${ac_cv_path_EGREP+set}" = set; then
2764 $as_echo_n "(cached) " >&6
2765 else
2766 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2767 then ac_cv_path_EGREP="$GREP -E"
2768 else
2769 # Extract the first word of "egrep" to use in msg output
2770 if test -z "$EGREP"; then
2771 set dummy egrep; ac_prog_name=$2
2772 if test "${ac_cv_path_EGREP+set}" = set; then
2773 $as_echo_n "(cached) " >&6
2774 else
2775 ac_path_EGREP_found=false
2776 # Loop through the user's path and test for each of PROGNAME-LIST
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2780 IFS=$as_save_IFS
2781 test -z "$as_dir" && as_dir=.
2782 for ac_prog in egrep; do
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2785 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2786 # Check for GNU ac_path_EGREP and select it if it is found.
2787 # Check for GNU $ac_path_EGREP
2788 case `"$ac_path_EGREP" --version 2>&1` in
2789 *GNU*)
2790 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2792 ac_count=0
2793 $as_echo_n 0123456789 >"conftest.in"
2794 while :
2796 cat "conftest.in" "conftest.in" >"conftest.tmp"
2797 mv "conftest.tmp" "conftest.in"
2798 cp "conftest.in" "conftest.nl"
2799 $as_echo 'EGREP' >> "conftest.nl"
2800 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2801 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2802 ac_count=`expr $ac_count + 1`
2803 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2804 # Best one so far, save it but keep looking for a better one
2805 ac_cv_path_EGREP="$ac_path_EGREP"
2806 ac_path_EGREP_max=$ac_count
2808 # 10*(2^10) chars as input seems more than enough
2809 test $ac_count -gt 10 && break
2810 done
2811 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2812 esac
2815 $ac_path_EGREP_found && break 3
2816 done
2817 done
2819 done
2820 IFS=$as_save_IFS
2825 EGREP="$ac_cv_path_EGREP"
2826 if test -z "$EGREP"; then
2827 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2828 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2829 { (exit 1); exit 1; }; }
2832 else
2833 ac_cv_path_EGREP=$EGREP
2839 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2840 $as_echo "$ac_cv_path_EGREP" >&6; }
2841 EGREP="$ac_cv_path_EGREP"
2844 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2845 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2846 if test "${ac_cv_path_SED+set}" = set; then
2847 $as_echo_n "(cached) " >&6
2848 else
2849 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2850 for ac_i in 1 2 3 4 5 6 7; do
2851 ac_script="$ac_script$as_nl$ac_script"
2852 done
2853 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2854 $as_unset ac_script || ac_script=
2855 # Extract the first word of "sed gsed" to use in msg output
2856 if test -z "$SED"; then
2857 set dummy sed gsed; ac_prog_name=$2
2858 if test "${ac_cv_path_SED+set}" = set; then
2859 $as_echo_n "(cached) " >&6
2860 else
2861 ac_path_SED_found=false
2862 # Loop through the user's path and test for each of PROGNAME-LIST
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 for as_dir in $PATH
2866 IFS=$as_save_IFS
2867 test -z "$as_dir" && as_dir=.
2868 for ac_prog in sed gsed; do
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2871 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2872 # Check for GNU ac_path_SED and select it if it is found.
2873 # Check for GNU $ac_path_SED
2874 case `"$ac_path_SED" --version 2>&1` in
2875 *GNU*)
2876 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2878 ac_count=0
2879 $as_echo_n 0123456789 >"conftest.in"
2880 while :
2882 cat "conftest.in" "conftest.in" >"conftest.tmp"
2883 mv "conftest.tmp" "conftest.in"
2884 cp "conftest.in" "conftest.nl"
2885 $as_echo '' >> "conftest.nl"
2886 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2887 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2888 ac_count=`expr $ac_count + 1`
2889 if test $ac_count -gt ${ac_path_SED_max-0}; then
2890 # Best one so far, save it but keep looking for a better one
2891 ac_cv_path_SED="$ac_path_SED"
2892 ac_path_SED_max=$ac_count
2894 # 10*(2^10) chars as input seems more than enough
2895 test $ac_count -gt 10 && break
2896 done
2897 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2898 esac
2901 $ac_path_SED_found && break 3
2902 done
2903 done
2905 done
2906 IFS=$as_save_IFS
2911 SED="$ac_cv_path_SED"
2912 if test -z "$SED"; then
2913 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2914 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2915 { (exit 1); exit 1; }; }
2918 else
2919 ac_cv_path_SED=$SED
2923 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2924 $as_echo "$ac_cv_path_SED" >&6; }
2925 SED="$ac_cv_path_SED"
2926 rm -f conftest.sed
2930 ## ------------ ##
2931 ## Conclusion. ##
2932 ## ------------ ##
2934 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"
2937 cat >confcache <<\_ACEOF
2938 # This file is a shell script that caches the results of configure
2939 # tests run on this system so they can be shared between configure
2940 # scripts and configure runs, see configure's option --config-cache.
2941 # It is not useful on other systems. If it contains results you don't
2942 # want to keep, you may remove or edit it.
2944 # config.status only pays attention to the cache file if you give it
2945 # the --recheck option to rerun configure.
2947 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2948 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2949 # following values.
2951 _ACEOF
2953 # The following way of writing the cache mishandles newlines in values,
2954 # but we know of no workaround that is simple, portable, and efficient.
2955 # So, we kill variables containing newlines.
2956 # Ultrix sh set writes to stderr and can't be redirected directly,
2957 # and sets the high bit in the cache file unless we assign to the vars.
2959 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2960 eval ac_val=\$$ac_var
2961 case $ac_val in #(
2962 *${as_nl}*)
2963 case $ac_var in #(
2964 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2965 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2966 esac
2967 case $ac_var in #(
2968 _ | IFS | as_nl) ;; #(
2969 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2970 *) $as_unset $ac_var ;;
2971 esac ;;
2972 esac
2973 done
2975 (set) 2>&1 |
2976 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2977 *${as_nl}ac_space=\ *)
2978 # `set' does not quote correctly, so add quotes (double-quote
2979 # substitution turns \\\\ into \\, and sed turns \\ into \).
2980 sed -n \
2981 "s/'/'\\\\''/g;
2982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2983 ;; #(
2985 # `set' quotes correctly as required by POSIX, so do not add quotes.
2986 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2988 esac |
2989 sort
2991 sed '
2992 /^ac_cv_env_/b end
2993 t clear
2994 :clear
2995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2996 t end
2997 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2998 :end' >>confcache
2999 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3000 if test -w "$cache_file"; then
3001 test "x$cache_file" != "x/dev/null" &&
3002 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3003 $as_echo "$as_me: updating cache $cache_file" >&6;}
3004 cat confcache >$cache_file
3005 else
3006 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3007 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3010 rm -f confcache
3012 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3013 # Let make expand exec_prefix.
3014 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3016 # Transform confdefs.h into DEFS.
3017 # Protect against shell expansion while executing Makefile rules.
3018 # Protect against Makefile macro expansion.
3020 # If the first sed substitution is executed (which looks for macros that
3021 # take arguments), then branch to the quote section. Otherwise,
3022 # look for a macro that doesn't take arguments.
3023 ac_script='
3024 t clear
3025 :clear
3026 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3027 t quote
3028 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3029 t quote
3030 b any
3031 :quote
3032 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3033 s/\[/\\&/g
3034 s/\]/\\&/g
3035 s/\$/$$/g
3037 :any
3040 s/^\n//
3041 s/\n/ /g
3045 DEFS=`sed -n "$ac_script" confdefs.h`
3048 ac_libobjs=
3049 ac_ltlibobjs=
3050 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3051 # 1. Remove the extension, and $U if already installed.
3052 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3053 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3054 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3055 # will be set to the directory where LIBOBJS objects are built.
3056 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3057 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3058 done
3059 LIBOBJS=$ac_libobjs
3061 LTLIBOBJS=$ac_ltlibobjs
3065 : ${CONFIG_STATUS=./config.status}
3066 ac_clean_files_save=$ac_clean_files
3067 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3068 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3069 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3070 cat >$CONFIG_STATUS <<_ACEOF
3071 #! $SHELL
3072 # Generated by $as_me.
3073 # Run this file to recreate the current configuration.
3074 # Compiler output produced by configure, useful for debugging
3075 # configure, is in config.log if it exists.
3077 debug=false
3078 ac_cs_recheck=false
3079 ac_cs_silent=false
3080 SHELL=\${CONFIG_SHELL-$SHELL}
3081 _ACEOF
3083 cat >>$CONFIG_STATUS <<\_ACEOF
3084 ## --------------------- ##
3085 ## M4sh Initialization. ##
3086 ## --------------------- ##
3088 # Be more Bourne compatible
3089 DUALCASE=1; export DUALCASE # for MKS sh
3090 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3091 emulate sh
3092 NULLCMD=:
3093 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3094 # is contrary to our usage. Disable this feature.
3095 alias -g '${1+"$@"}'='"$@"'
3096 setopt NO_GLOB_SUBST
3097 else
3098 case `(set -o) 2>/dev/null` in
3099 *posix*) set -o posix ;;
3100 esac
3107 # PATH needs CR
3108 # Avoid depending upon Character Ranges.
3109 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3110 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3111 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3112 as_cr_digits='0123456789'
3113 as_cr_alnum=$as_cr_Letters$as_cr_digits
3115 as_nl='
3117 export as_nl
3118 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3119 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3120 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3121 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3122 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3123 as_echo='printf %s\n'
3124 as_echo_n='printf %s'
3125 else
3126 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3127 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3128 as_echo_n='/usr/ucb/echo -n'
3129 else
3130 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3131 as_echo_n_body='eval
3132 arg=$1;
3133 case $arg in
3134 *"$as_nl"*)
3135 expr "X$arg" : "X\\(.*\\)$as_nl";
3136 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3137 esac;
3138 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3140 export as_echo_n_body
3141 as_echo_n='sh -c $as_echo_n_body as_echo'
3143 export as_echo_body
3144 as_echo='sh -c $as_echo_body as_echo'
3147 # The user is always right.
3148 if test "${PATH_SEPARATOR+set}" != set; then
3149 echo "#! /bin/sh" >conf$$.sh
3150 echo "exit 0" >>conf$$.sh
3151 chmod +x conf$$.sh
3152 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3153 PATH_SEPARATOR=';'
3154 else
3155 PATH_SEPARATOR=:
3157 rm -f conf$$.sh
3160 # Support unset when possible.
3161 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3162 as_unset=unset
3163 else
3164 as_unset=false
3168 # IFS
3169 # We need space, tab and new line, in precisely that order. Quoting is
3170 # there to prevent editors from complaining about space-tab.
3171 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3172 # splitting by setting IFS to empty value.)
3173 IFS=" "" $as_nl"
3175 # Find who we are. Look in the path if we contain no directory separator.
3176 case $0 in
3177 *[\\/]* ) as_myself=$0 ;;
3178 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 for as_dir in $PATH
3181 IFS=$as_save_IFS
3182 test -z "$as_dir" && as_dir=.
3183 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3184 done
3185 IFS=$as_save_IFS
3188 esac
3189 # We did not find ourselves, most probably we were run as `sh COMMAND'
3190 # in which case we are not to be found in the path.
3191 if test "x$as_myself" = x; then
3192 as_myself=$0
3194 if test ! -f "$as_myself"; then
3195 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3196 { (exit 1); exit 1; }
3199 # Work around bugs in pre-3.0 UWIN ksh.
3200 for as_var in ENV MAIL MAILPATH
3201 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3202 done
3203 PS1='$ '
3204 PS2='> '
3205 PS4='+ '
3207 # NLS nuisances.
3208 for as_var in \
3209 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3210 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3211 LC_TELEPHONE LC_TIME
3213 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3214 eval $as_var=C; export $as_var
3215 else
3216 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3218 done
3220 # Required to use basename.
3221 if expr a : '\(a\)' >/dev/null 2>&1 &&
3222 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3223 as_expr=expr
3224 else
3225 as_expr=false
3228 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3229 as_basename=basename
3230 else
3231 as_basename=false
3235 # Name of the executable.
3236 as_me=`$as_basename -- "$0" ||
3237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3238 X"$0" : 'X\(//\)$' \| \
3239 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3240 $as_echo X/"$0" |
3241 sed '/^.*\/\([^/][^/]*\)\/*$/{
3242 s//\1/
3245 /^X\/\(\/\/\)$/{
3246 s//\1/
3249 /^X\/\(\/\).*/{
3250 s//\1/
3253 s/.*/./; q'`
3255 # CDPATH.
3256 $as_unset CDPATH
3260 as_lineno_1=$LINENO
3261 as_lineno_2=$LINENO
3262 test "x$as_lineno_1" != "x$as_lineno_2" &&
3263 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3265 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3266 # uniformly replaced by the line number. The first 'sed' inserts a
3267 # line-number line after each line using $LINENO; the second 'sed'
3268 # does the real work. The second script uses 'N' to pair each
3269 # line-number line with the line containing $LINENO, and appends
3270 # trailing '-' during substitution so that $LINENO is not a special
3271 # case at line end.
3272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3273 # scripts with optimization help from Paolo Bonzini. Blame Lee
3274 # E. McMahon (1931-1989) for sed's syntax. :-)
3275 sed -n '
3277 /[$]LINENO/=
3278 ' <$as_myself |
3279 sed '
3280 s/[$]LINENO.*/&-/
3281 t lineno
3283 :lineno
3285 :loop
3286 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3287 t loop
3288 s/-\n.*//
3289 ' >$as_me.lineno &&
3290 chmod +x "$as_me.lineno" ||
3291 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3292 { (exit 1); exit 1; }; }
3294 # Don't try to exec as it changes $[0], causing all sort of problems
3295 # (the dirname of $[0] is not the place where we might find the
3296 # original and so on. Autoconf is especially sensitive to this).
3297 . "./$as_me.lineno"
3298 # Exit status is that of the last command.
3299 exit
3303 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3304 as_dirname=dirname
3305 else
3306 as_dirname=false
3309 ECHO_C= ECHO_N= ECHO_T=
3310 case `echo -n x` in
3311 -n*)
3312 case `echo 'x\c'` in
3313 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3314 *) ECHO_C='\c';;
3315 esac;;
3317 ECHO_N='-n';;
3318 esac
3319 if expr a : '\(a\)' >/dev/null 2>&1 &&
3320 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3321 as_expr=expr
3322 else
3323 as_expr=false
3326 rm -f conf$$ conf$$.exe conf$$.file
3327 if test -d conf$$.dir; then
3328 rm -f conf$$.dir/conf$$.file
3329 else
3330 rm -f conf$$.dir
3331 mkdir conf$$.dir
3333 echo >conf$$.file
3334 if ln -s conf$$.file conf$$ 2>/dev/null; then
3335 as_ln_s='ln -s'
3336 # ... but there are two gotchas:
3337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3339 # In both cases, we have to default to `cp -p'.
3340 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3341 as_ln_s='cp -p'
3342 elif ln conf$$.file conf$$ 2>/dev/null; then
3343 as_ln_s=ln
3344 else
3345 as_ln_s='cp -p'
3347 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3348 rmdir conf$$.dir 2>/dev/null
3350 if mkdir -p . 2>/dev/null; then
3351 as_mkdir_p=:
3352 else
3353 test -d ./-p && rmdir ./-p
3354 as_mkdir_p=false
3357 if test -x / >/dev/null 2>&1; then
3358 as_test_x='test -x'
3359 else
3360 if ls -dL / >/dev/null 2>&1; then
3361 as_ls_L_option=L
3362 else
3363 as_ls_L_option=
3365 as_test_x='
3366 eval sh -c '\''
3367 if test -d "$1"; then
3368 test -d "$1/.";
3369 else
3370 case $1 in
3371 -*)set "./$1";;
3372 esac;
3373 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3374 ???[sx]*):;;*)false;;esac;fi
3375 '\'' sh
3378 as_executable_p=$as_test_x
3380 # Sed expression to map a string onto a valid CPP name.
3381 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3383 # Sed expression to map a string onto a valid variable name.
3384 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3387 exec 6>&1
3389 # Save the log message, to keep $[0] and so on meaningful, and to
3390 # report actual input values of CONFIG_FILES etc. instead of their
3391 # values after options handling.
3392 ac_log="
3393 This file was extended by GNU Autoconf $as_me 2.61b, which was
3394 generated by GNU Autoconf 2.61b. Invocation command line was
3396 CONFIG_FILES = $CONFIG_FILES
3397 CONFIG_HEADERS = $CONFIG_HEADERS
3398 CONFIG_LINKS = $CONFIG_LINKS
3399 CONFIG_COMMANDS = $CONFIG_COMMANDS
3400 $ $0 $@
3402 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3405 _ACEOF
3407 cat >>$CONFIG_STATUS <<_ACEOF
3408 # Files that config.status was made for.
3409 config_files="$ac_config_files"
3410 config_commands="$ac_config_commands"
3412 _ACEOF
3414 cat >>$CONFIG_STATUS <<\_ACEOF
3415 ac_cs_usage="\
3416 \`$as_me' instantiates files from templates according to the
3417 current configuration.
3419 Usage: $0 [OPTIONS] [FILE]...
3421 -h, --help print this help, then exit
3422 -V, --version print version number and configuration settings, then exit
3423 -q, --quiet do not print progress messages
3424 -d, --debug don't remove temporary files
3425 --recheck update $as_me by reconfiguring in the same conditions
3426 --file=FILE[:TEMPLATE]
3427 instantiate the configuration file FILE
3429 Configuration files:
3430 $config_files
3432 Configuration commands:
3433 $config_commands
3435 Report bugs to <bug-autoconf@gnu.org>."
3437 _ACEOF
3438 cat >>$CONFIG_STATUS <<_ACEOF
3439 ac_cs_version="\\
3440 GNU Autoconf config.status 2.61b
3441 configured by $0, generated by GNU Autoconf 2.61b,
3442 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3444 Copyright (C) 2006 Free Software Foundation, Inc.
3445 This config.status script is free software; the Free Software Foundation
3446 gives unlimited permission to copy, distribute and modify it."
3448 ac_pwd='$ac_pwd'
3449 srcdir='$srcdir'
3450 INSTALL='$INSTALL'
3451 MKDIR_P='$MKDIR_P'
3452 AWK='$AWK'
3453 test -n "\$AWK" || AWK=awk
3454 _ACEOF
3456 cat >>$CONFIG_STATUS <<\_ACEOF
3457 # If no file are specified by the user, then we need to provide default
3458 # value. By we need to know if files were specified by the user.
3459 ac_need_defaults=:
3460 while test $# != 0
3462 case $1 in
3463 --*=*)
3464 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3465 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3466 ac_shift=:
3469 ac_option=$1
3470 ac_optarg=$2
3471 ac_shift=shift
3473 esac
3475 case $ac_option in
3476 # Handling of the options.
3477 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3478 ac_cs_recheck=: ;;
3479 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3480 $as_echo "$ac_cs_version"; exit ;;
3481 --debug | --debu | --deb | --de | --d | -d )
3482 debug=: ;;
3483 --file | --fil | --fi | --f )
3484 $ac_shift
3485 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3486 ac_need_defaults=false;;
3487 --he | --h | --help | --hel | -h )
3488 $as_echo "$ac_cs_usage"; exit ;;
3489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3490 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3491 ac_cs_silent=: ;;
3493 # This is an error.
3494 -*) { $as_echo "$as_me: error: unrecognized option: $1
3495 Try \`$0 --help' for more information." >&2
3496 { (exit 1); exit 1; }; } ;;
3498 *) ac_config_targets="$ac_config_targets $1"
3499 ac_need_defaults=false ;;
3501 esac
3502 shift
3503 done
3505 ac_configure_extra_args=
3507 if $ac_cs_silent; then
3508 exec 6>/dev/null
3509 ac_configure_extra_args="$ac_configure_extra_args --silent"
3512 _ACEOF
3513 cat >>$CONFIG_STATUS <<_ACEOF
3514 if \$ac_cs_recheck; then
3515 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3516 shift
3517 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3518 CONFIG_SHELL='$SHELL'
3519 export CONFIG_SHELL
3520 exec "\$@"
3523 _ACEOF
3524 cat >>$CONFIG_STATUS <<\_ACEOF
3525 exec 5>>config.log
3527 echo
3528 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3529 ## Running $as_me. ##
3530 _ASBOX
3531 $as_echo "$ac_log"
3532 } >&5
3534 _ACEOF
3535 cat >>$CONFIG_STATUS <<_ACEOF
3536 _ACEOF
3538 cat >>$CONFIG_STATUS <<\_ACEOF
3540 # Handling of arguments.
3541 for ac_config_target in $ac_config_targets
3543 case $ac_config_target in
3544 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3545 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3546 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3547 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3548 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3549 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3550 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3551 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3552 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3553 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3554 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3555 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3556 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3557 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3559 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3560 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3561 { (exit 1); exit 1; }; };;
3562 esac
3563 done
3566 # If the user did not use the arguments to specify the items to instantiate,
3567 # then the envvar interface is used. Set only those that are not.
3568 # We use the long form for the default assignment because of an extremely
3569 # bizarre bug on SunOS 4.1.3.
3570 if $ac_need_defaults; then
3571 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3572 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3575 # Have a temporary directory for convenience. Make it in the build tree
3576 # simply because there is no reason against having it here, and in addition,
3577 # creating and moving files from /tmp can sometimes cause problems.
3578 # Hook for its removal unless debugging.
3579 # Note that there is a small window in which the directory will not be cleaned:
3580 # after its creation but before its name has been assigned to `$tmp'.
3581 $debug ||
3583 tmp=
3584 trap 'exit_status=$?
3585 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3587 trap '{ (exit 1); exit 1; }' 1 2 13 15
3589 # Create a (secure) tmp directory for tmp files.
3592 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3593 test -n "$tmp" && test -d "$tmp"
3594 } ||
3596 tmp=./conf$$-$RANDOM
3597 (umask 077 && mkdir "$tmp")
3598 } ||
3600 $as_echo "$me: cannot create a temporary directory in ." >&2
3601 { (exit 1); exit 1; }
3604 # Set up the scripts for CONFIG_FILES section.
3605 # No need to generate them if there are no CONFIG_FILES.
3606 # This happens for instance with `./config.status config.h'.
3607 if test -n "$CONFIG_FILES"; then
3610 ac_cs_awk_cr=`$AWK 'BEGIN { print "a b" }' 2>/dev/null`
3611 if test "$ac_cs_awk_cr" = 'a b'; then ac_cs_awk_cr=; else ac_cs_awk_cr='\\'; fi
3613 echo 'BEGIN {' >"$tmp/subs1.awk"
3614 _ACEOF
3618 echo "cat >conf$$subs.awk <<_ACEOF"
3619 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3620 echo "_ACEOF"
3621 } >conf$$subs.sh
3622 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3623 ac_delim='%!_!# '
3624 for ac_last_try in false false false false false :; do
3625 . ./conf$$subs.sh
3627 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3628 break
3629 elif $ac_last_try; then
3630 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3631 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3632 { (exit 1); exit 1; }; }
3633 else
3634 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3636 done
3637 rm -f conf$$subs.sh
3639 cat >>$CONFIG_STATUS <<_ACEOF
3640 cat >>"\$tmp/subs1.awk" <<\CEOF
3641 _ACEOF
3642 sed -n '
3644 s/^/S["/; s/!.*/"]=/
3647 s/^[^!]*!//
3648 :repl
3649 t repl
3650 s/'"$ac_delim"'$//
3651 t delim
3654 s/\(.\{148\}\).*/\1/
3655 t more1
3656 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3659 b repl
3660 :more1
3661 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3664 s/.\{148\}//
3665 t nl
3666 :delim
3668 s/\(.\{148\}\).*/\1/
3669 t more2
3670 s/["\\]/\\&/g; s/^/"/; s/$/"/
3673 :more2
3674 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3677 s/.\{148\}//
3678 t delim
3679 ' <conf$$subs.awk | sed '
3680 /^[^"]/{
3682 s/\n//
3684 ' >>$CONFIG_STATUS
3685 rm -f conf$$subs.awk
3686 cat >>$CONFIG_STATUS <<_ACEOF
3687 CEOF
3688 cat >>"\$tmp/subs1.awk" <<CEOF
3689 for (key in S) S_is_set[key] = 1
3690 FS = "\a"
3694 line = $ 0
3695 nfields = split(line, field, "@")
3696 substed = 0
3697 len = length(field[1])
3698 for (i = 2; i < nfields; i++) {
3699 key = field[i]
3700 keylen = length(key)
3701 if (S_is_set[key]) {
3702 value = S[key]
3703 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3704 len += length(value) + length(field[++i])
3705 substed = 1
3706 } else
3707 len += 1 + keylen
3710 print line
3713 CEOF
3714 sed "s, $,,; s, ,\$ac_cs_awk_cr&,g" < "\$tmp/subs1.awk" > "\$tmp/subs.awk"
3715 _ACEOF
3717 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3718 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3719 # trailing colons and then remove the whole line if VPATH becomes empty
3720 # (actually we leave an empty line to preserve line numbers).
3721 if test "x$srcdir" = x.; then
3722 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3723 s/:*\$(srcdir):*/:/
3724 s/:*\${srcdir}:*/:/
3725 s/:*@srcdir@:*/:/
3726 s/^\([^=]*=[ ]*\):*/\1/
3727 s/:*$//
3728 s/^[^=]*=[ ]*$//
3732 cat >>$CONFIG_STATUS <<\_ACEOF
3733 fi # test -n "$CONFIG_FILES"
3736 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3738 case $ac_tag in
3739 :[FHLC]) ac_mode=$ac_tag; continue;;
3740 esac
3741 case $ac_mode$ac_tag in
3742 :[FHL]*:*);;
3743 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3744 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3745 { (exit 1); exit 1; }; };;
3746 :[FH]-) ac_tag=-:-;;
3747 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3748 esac
3749 ac_save_IFS=$IFS
3750 IFS=:
3751 set x $ac_tag
3752 IFS=$ac_save_IFS
3753 shift
3754 ac_file=$1
3755 shift
3757 case $ac_mode in
3758 :L) ac_source=$1;;
3759 :[FH])
3760 ac_file_inputs=
3761 for ac_f
3763 case $ac_f in
3764 -) ac_f="$tmp/stdin";;
3765 *) # Look for the file first in the build tree, then in the source tree
3766 # (if the path is not absolute). The absolute path cannot be DOS-style,
3767 # because $ac_f cannot contain `:'.
3768 test -f "$ac_f" ||
3769 case $ac_f in
3770 [\\/$]*) false;;
3771 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3772 esac ||
3773 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3774 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3775 { (exit 1); exit 1; }; };;
3776 esac
3777 ac_file_inputs="$ac_file_inputs $ac_f"
3778 done
3780 # Let's still pretend it is `configure' which instantiates (i.e., don't
3781 # use $as_me), people would be surprised to read:
3782 # /* config.h. Generated by config.status. */
3783 configure_input='Generated from '`
3784 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3785 `' by configure.'
3786 if test x"$ac_file" != x-; then
3787 configure_input="$ac_file. $configure_input"
3788 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3789 $as_echo "$as_me: creating $ac_file" >&6;}
3792 case $ac_tag in
3793 *:-:* | *:-) cat >"$tmp/stdin";;
3794 esac
3796 esac
3798 ac_dir=`$as_dirname -- "$ac_file" ||
3799 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3800 X"$ac_file" : 'X\(//\)[^/]' \| \
3801 X"$ac_file" : 'X\(//\)$' \| \
3802 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3803 $as_echo X"$ac_file" |
3804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3805 s//\1/
3808 /^X\(\/\/\)[^/].*/{
3809 s//\1/
3812 /^X\(\/\/\)$/{
3813 s//\1/
3816 /^X\(\/\).*/{
3817 s//\1/
3820 s/.*/./; q'`
3821 { as_dir="$ac_dir"
3822 case $as_dir in #(
3823 -*) as_dir=./$as_dir;;
3824 esac
3825 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3826 as_dirs=
3827 while :; do
3828 case $as_dir in #(
3829 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3830 *) as_qdir=$as_dir;;
3831 esac
3832 as_dirs="'$as_qdir' $as_dirs"
3833 as_dir=`$as_dirname -- "$as_dir" ||
3834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3835 X"$as_dir" : 'X\(//\)[^/]' \| \
3836 X"$as_dir" : 'X\(//\)$' \| \
3837 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3838 $as_echo X"$as_dir" |
3839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3840 s//\1/
3843 /^X\(\/\/\)[^/].*/{
3844 s//\1/
3847 /^X\(\/\/\)$/{
3848 s//\1/
3851 /^X\(\/\).*/{
3852 s//\1/
3855 s/.*/./; q'`
3856 test -d "$as_dir" && break
3857 done
3858 test -z "$as_dirs" || eval "mkdir $as_dirs"
3859 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3860 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3861 { (exit 1); exit 1; }; }; }
3862 ac_builddir=.
3864 case "$ac_dir" in
3865 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3867 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3868 # A ".." for each directory in $ac_dir_suffix.
3869 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3870 case $ac_top_builddir_sub in
3871 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3872 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3873 esac ;;
3874 esac
3875 ac_abs_top_builddir=$ac_pwd
3876 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3877 # for backward compatibility:
3878 ac_top_builddir=$ac_top_build_prefix
3880 case $srcdir in
3881 .) # We are building in place.
3882 ac_srcdir=.
3883 ac_top_srcdir=$ac_top_builddir_sub
3884 ac_abs_top_srcdir=$ac_pwd ;;
3885 [\\/]* | ?:[\\/]* ) # Absolute name.
3886 ac_srcdir=$srcdir$ac_dir_suffix;
3887 ac_top_srcdir=$srcdir
3888 ac_abs_top_srcdir=$srcdir ;;
3889 *) # Relative name.
3890 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3891 ac_top_srcdir=$ac_top_build_prefix$srcdir
3892 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3893 esac
3894 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3897 case $ac_mode in
3900 # CONFIG_FILE
3903 case $INSTALL in
3904 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3905 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3906 esac
3907 ac_MKDIR_P=$MKDIR_P
3908 case $MKDIR_P in
3909 [\\/$]* | ?:[\\/]* ) ;;
3910 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3911 esac
3912 _ACEOF
3914 cat >>$CONFIG_STATUS <<\_ACEOF
3915 # If the template does not know about datarootdir, expand it.
3916 # FIXME: This hack should be removed a few years after 2.60.
3917 ac_datarootdir_hack=; ac_datarootdir_seen=
3919 case `sed -n '/datarootdir/ {
3923 /@datadir@/p
3924 /@docdir@/p
3925 /@infodir@/p
3926 /@localedir@/p
3927 /@mandir@/p
3928 ' $ac_file_inputs` in
3929 *datarootdir*) ac_datarootdir_seen=yes;;
3930 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3931 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3932 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3933 _ACEOF
3934 cat >>$CONFIG_STATUS <<_ACEOF
3935 ac_datarootdir_hack='
3936 s&@datadir@&$datadir&g
3937 s&@docdir@&$docdir&g
3938 s&@infodir@&$infodir&g
3939 s&@localedir@&$localedir&g
3940 s&@mandir@&$mandir&g
3941 s&\\\${datarootdir}&$datarootdir&g' ;;
3942 esac
3943 _ACEOF
3945 # Neutralize VPATH when `$srcdir' = `.'.
3946 # Shell code in configure.ac might set extrasub.
3947 # FIXME: do we really want to maintain this feature?
3948 cat >>$CONFIG_STATUS <<_ACEOF
3949 sed "$ac_vpsub
3950 $extrasub
3951 _ACEOF
3952 cat >>$CONFIG_STATUS <<\_ACEOF
3954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3955 s&@configure_input@&$configure_input&;t t
3956 s&@top_builddir@&$ac_top_builddir_sub&;t t
3957 s&@srcdir@&$ac_srcdir&;t t
3958 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3959 s&@top_srcdir@&$ac_top_srcdir&;t t
3960 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3961 s&@builddir@&$ac_builddir&;t t
3962 s&@abs_builddir@&$ac_abs_builddir&;t t
3963 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3964 s&@INSTALL@&$ac_INSTALL&;t t
3965 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3966 $ac_datarootdir_hack
3967 " $ac_file_inputs | $AWK -f "$tmp/subs.awk" >$tmp/out
3969 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3970 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3971 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3972 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3973 which seems to be undefined. Please make sure it is defined." >&5
3974 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3975 which seems to be undefined. Please make sure it is defined." >&2;}
3977 rm -f "$tmp/stdin"
3978 case $ac_file in
3979 -) cat "$tmp/out"; rm -f "$tmp/out";;
3980 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3981 esac
3985 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3986 $as_echo "$as_me: executing $ac_file commands" >&6;}
3988 esac
3991 case $ac_file$ac_mode in
3992 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3993 # Configurable variable values for building test suites.
3994 # Generated by $0.
3995 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3997 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3998 at_testdir='tests'
3999 abs_builddir='$ac_abs_builddir'
4000 at_srcdir='$ac_srcdir'
4001 abs_srcdir='$ac_abs_srcdir'
4002 at_top_srcdir='$ac_top_srcdir'
4003 abs_top_srcdir='$ac_abs_top_srcdir'
4004 at_top_build_prefix='$ac_top_build_prefix'
4005 abs_top_builddir='$ac_abs_top_builddir'
4007 # Backward compatibility with Autotest <= 2.59b:
4008 at_top_builddir=\$at_top_build_prefix
4010 AUTOTEST_PATH='tests'
4012 SHELL=\${CONFIG_SHELL-'$SHELL'}
4013 ATEOF
4016 esac
4017 done # for ac_tag
4020 { (exit 0); exit 0; }
4021 _ACEOF
4022 chmod +x $CONFIG_STATUS
4023 ac_clean_files=$ac_clean_files_save
4026 # configure is writing to config.log, and then calls config.status.
4027 # config.status does its own redirection, appending to config.log.
4028 # Unfortunately, on DOS this fails, as config.log is still kept open
4029 # by configure, so config.status won't be able to write to it; its
4030 # output is simply discarded. So we exec the FD to /dev/null,
4031 # effectively closing config.log, so it can be properly (re)opened and
4032 # appended to by config.status. When coming back to configure, we
4033 # need to make the FD available again.
4034 if test "$no_create" != yes; then
4035 ac_cs_success=:
4036 ac_config_status_args=
4037 test "$silent" = yes &&
4038 ac_config_status_args="$ac_config_status_args --quiet"
4039 exec 5>/dev/null
4040 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4041 exec 5>>config.log
4042 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4043 # would make configure fail if this is the last instruction.
4044 $ac_cs_success || { (exit 1); exit 1; }
4046 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4047 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4048 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4051 # Report the state of this version of Autoconf if this is a beta.
4052 cat <<EOF
4054 You are about to use an experimental version of Autoconf. Be sure to
4055 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4057 Below you will find information on the status of this version of Autoconf.
4061 sed -n '/^\* Status/,$p' $srcdir/BUGS