* Makefile.am: Put only a single '#' into the copyright notice,
[autoconf.git] / configure
bloba027084a7557d7e75d2de8f1b99a2317d6448ae9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61a for GNU Autoconf 2.61a.
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 2060-byte 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
49 if test "X`(printf %s $as_echo) 2>/dev/null`" = "X$as_echo"; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`PATH=/usr/ucb; echo -n -n $as_echo`" = "X-n $as_echo"; then
54 as_echo_body='PATH=/usr/ucb; eval echo -n "$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=;
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 X'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body X'
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.61a'
607 PACKAGE_STRING='GNU Autoconf 2.61a'
608 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
610 ac_unique_file="ChangeLog"
611 ac_subst_vars='SHELL
612 PATH_SEPARATOR
613 PACKAGE_NAME
614 PACKAGE_TARNAME
615 PACKAGE_VERSION
616 PACKAGE_STRING
617 PACKAGE_BUGREPORT
618 exec_prefix
619 prefix
620 program_transform_name
621 bindir
622 sbindir
623 libexecdir
624 datarootdir
625 datadir
626 sysconfdir
627 sharedstatedir
628 localstatedir
629 includedir
630 oldincludedir
631 docdir
632 infodir
633 htmldir
634 dvidir
635 pdfdir
636 psdir
637 libdir
638 localedir
639 mandir
640 DEFS
641 ECHO_C
642 ECHO_N
643 ECHO_T
644 LIBS
645 build_alias
646 host_alias
647 target_alias
648 INSTALL_PROGRAM
649 INSTALL_SCRIPT
650 INSTALL_DATA
651 am__isrc
652 CYGPATH_W
653 PACKAGE
654 VERSION
655 ACLOCAL
656 AUTOCONF
657 AUTOMAKE
658 AUTOHEADER
659 MAKEINFO
660 install_sh
661 STRIP
662 INSTALL_STRIP_PROGRAM
663 mkdir_p
665 SET_MAKE
666 am__leading_dot
667 AMTAR
668 am__tar
669 am__untar
670 ac_cv_sh_n_works
671 EXPR
673 M4_DEBUGFILE
674 HELP2MAN
675 PERL
676 TEST_EMACS
677 EMACS
678 EMACSLOADPATH
679 lispdir
680 GREP
681 EGREP
683 LIBOBJS
684 LTLIBOBJS'
685 ac_subst_files=''
686 ac_precious_vars='build_alias
687 host_alias
688 target_alias
689 EMACS
690 EMACSLOADPATH'
693 # Initialize some variables set by options.
694 ac_init_help=
695 ac_init_version=false
696 # The variables have the same names as the options, with
697 # dashes changed to underlines.
698 cache_file=/dev/null
699 exec_prefix=NONE
700 no_create=
701 no_recursion=
702 prefix=NONE
703 program_prefix=NONE
704 program_suffix=NONE
705 program_transform_name=s,x,x,
706 silent=
707 site=
708 srcdir=
709 verbose=
710 x_includes=NONE
711 x_libraries=NONE
713 # Installation directory options.
714 # These are left unexpanded so users can "make install exec_prefix=/foo"
715 # and all the variables that are supposed to be based on exec_prefix
716 # by default will actually change.
717 # Use braces instead of parens because sh, perl, etc. also accept them.
718 # (The list follows the same order as the GNU Coding Standards.)
719 bindir='${exec_prefix}/bin'
720 sbindir='${exec_prefix}/sbin'
721 libexecdir='${exec_prefix}/libexec'
722 datarootdir='${prefix}/share'
723 datadir='${datarootdir}'
724 sysconfdir='${prefix}/etc'
725 sharedstatedir='${prefix}/com'
726 localstatedir='${prefix}/var'
727 includedir='${prefix}/include'
728 oldincludedir='/usr/include'
729 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
730 infodir='${datarootdir}/info'
731 htmldir='${docdir}'
732 dvidir='${docdir}'
733 pdfdir='${docdir}'
734 psdir='${docdir}'
735 libdir='${exec_prefix}/lib'
736 localedir='${datarootdir}/locale'
737 mandir='${datarootdir}/man'
739 ac_prev=
740 ac_dashdash=
741 for ac_option
743 # If the previous option needs an argument, assign it.
744 if test -n "$ac_prev"; then
745 eval $ac_prev=\$ac_option
746 ac_prev=
747 continue
750 case $ac_option in
751 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752 *) ac_optarg=yes ;;
753 esac
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
759 ac_dashdash=yes ;;
761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
762 ac_prev=bindir ;;
763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
764 bindir=$ac_optarg ;;
766 -build | --build | --buil | --bui | --bu)
767 ac_prev=build_alias ;;
768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769 build_alias=$ac_optarg ;;
771 -cache-file | --cache-file | --cache-fil | --cache-fi \
772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773 ac_prev=cache_file ;;
774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776 cache_file=$ac_optarg ;;
778 --config-cache | -C)
779 cache_file=config.cache ;;
781 -datadir | --datadir | --datadi | --datad)
782 ac_prev=datadir ;;
783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
784 datadir=$ac_optarg ;;
786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787 | --dataroo | --dataro | --datar)
788 ac_prev=datarootdir ;;
789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791 datarootdir=$ac_optarg ;;
793 -disable-* | --disable-*)
794 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
797 { $as_echo "$as_me: error: invalid feature name: $ac_feature" >&2
798 { (exit 1); exit 1; }; }
799 ac_feature=`$as_echo "$ac_feature" | sed 's/[-.]/_/g'`
800 eval enable_$ac_feature=no ;;
802 -docdir | --docdir | --docdi | --doc | --do)
803 ac_prev=docdir ;;
804 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
805 docdir=$ac_optarg ;;
807 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
808 ac_prev=dvidir ;;
809 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
810 dvidir=$ac_optarg ;;
812 -enable-* | --enable-*)
813 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
816 { $as_echo "$as_me: error: invalid feature name: $ac_feature" >&2
817 { (exit 1); exit 1; }; }
818 ac_feature=`$as_echo "$ac_feature" | sed 's/[-.]/_/g'`
819 eval enable_$ac_feature=\$ac_optarg ;;
821 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
822 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
823 | --exec | --exe | --ex)
824 ac_prev=exec_prefix ;;
825 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
826 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
827 | --exec=* | --exe=* | --ex=*)
828 exec_prefix=$ac_optarg ;;
830 -gas | --gas | --ga | --g)
831 # Obsolete; use --with-gas.
832 with_gas=yes ;;
834 -help | --help | --hel | --he | -h)
835 ac_init_help=long ;;
836 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
837 ac_init_help=recursive ;;
838 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
839 ac_init_help=short ;;
841 -host | --host | --hos | --ho)
842 ac_prev=host_alias ;;
843 -host=* | --host=* | --hos=* | --ho=*)
844 host_alias=$ac_optarg ;;
846 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
847 ac_prev=htmldir ;;
848 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
849 | --ht=*)
850 htmldir=$ac_optarg ;;
852 -includedir | --includedir | --includedi | --included | --include \
853 | --includ | --inclu | --incl | --inc)
854 ac_prev=includedir ;;
855 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
856 | --includ=* | --inclu=* | --incl=* | --inc=*)
857 includedir=$ac_optarg ;;
859 -infodir | --infodir | --infodi | --infod | --info | --inf)
860 ac_prev=infodir ;;
861 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
862 infodir=$ac_optarg ;;
864 -libdir | --libdir | --libdi | --libd)
865 ac_prev=libdir ;;
866 -libdir=* | --libdir=* | --libdi=* | --libd=*)
867 libdir=$ac_optarg ;;
869 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
870 | --libexe | --libex | --libe)
871 ac_prev=libexecdir ;;
872 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
873 | --libexe=* | --libex=* | --libe=*)
874 libexecdir=$ac_optarg ;;
876 -localedir | --localedir | --localedi | --localed | --locale)
877 ac_prev=localedir ;;
878 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
879 localedir=$ac_optarg ;;
881 -localstatedir | --localstatedir | --localstatedi | --localstated \
882 | --localstate | --localstat | --localsta | --localst | --locals)
883 ac_prev=localstatedir ;;
884 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
885 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
886 localstatedir=$ac_optarg ;;
888 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
889 ac_prev=mandir ;;
890 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
891 mandir=$ac_optarg ;;
893 -nfp | --nfp | --nf)
894 # Obsolete; use --without-fp.
895 with_fp=no ;;
897 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
898 | --no-cr | --no-c | -n)
899 no_create=yes ;;
901 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
902 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
903 no_recursion=yes ;;
905 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
906 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
907 | --oldin | --oldi | --old | --ol | --o)
908 ac_prev=oldincludedir ;;
909 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
910 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
911 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
912 oldincludedir=$ac_optarg ;;
914 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
915 ac_prev=prefix ;;
916 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
917 prefix=$ac_optarg ;;
919 -program-prefix | --program-prefix | --program-prefi | --program-pref \
920 | --program-pre | --program-pr | --program-p)
921 ac_prev=program_prefix ;;
922 -program-prefix=* | --program-prefix=* | --program-prefi=* \
923 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
924 program_prefix=$ac_optarg ;;
926 -program-suffix | --program-suffix | --program-suffi | --program-suff \
927 | --program-suf | --program-su | --program-s)
928 ac_prev=program_suffix ;;
929 -program-suffix=* | --program-suffix=* | --program-suffi=* \
930 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
931 program_suffix=$ac_optarg ;;
933 -program-transform-name | --program-transform-name \
934 | --program-transform-nam | --program-transform-na \
935 | --program-transform-n | --program-transform- \
936 | --program-transform | --program-transfor \
937 | --program-transfo | --program-transf \
938 | --program-trans | --program-tran \
939 | --progr-tra | --program-tr | --program-t)
940 ac_prev=program_transform_name ;;
941 -program-transform-name=* | --program-transform-name=* \
942 | --program-transform-nam=* | --program-transform-na=* \
943 | --program-transform-n=* | --program-transform-=* \
944 | --program-transform=* | --program-transfor=* \
945 | --program-transfo=* | --program-transf=* \
946 | --program-trans=* | --program-tran=* \
947 | --progr-tra=* | --program-tr=* | --program-t=*)
948 program_transform_name=$ac_optarg ;;
950 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
951 ac_prev=pdfdir ;;
952 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
953 pdfdir=$ac_optarg ;;
955 -psdir | --psdir | --psdi | --psd | --ps)
956 ac_prev=psdir ;;
957 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
958 psdir=$ac_optarg ;;
960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
961 | -silent | --silent | --silen | --sile | --sil)
962 silent=yes ;;
964 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
965 ac_prev=sbindir ;;
966 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
967 | --sbi=* | --sb=*)
968 sbindir=$ac_optarg ;;
970 -sharedstatedir | --sharedstatedir | --sharedstatedi \
971 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
972 | --sharedst | --shareds | --shared | --share | --shar \
973 | --sha | --sh)
974 ac_prev=sharedstatedir ;;
975 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
976 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
977 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
978 | --sha=* | --sh=*)
979 sharedstatedir=$ac_optarg ;;
981 -site | --site | --sit)
982 ac_prev=site ;;
983 -site=* | --site=* | --sit=*)
984 site=$ac_optarg ;;
986 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
987 ac_prev=srcdir ;;
988 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
989 srcdir=$ac_optarg ;;
991 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
992 | --syscon | --sysco | --sysc | --sys | --sy)
993 ac_prev=sysconfdir ;;
994 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
995 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
996 sysconfdir=$ac_optarg ;;
998 -target | --target | --targe | --targ | --tar | --ta | --t)
999 ac_prev=target_alias ;;
1000 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1001 target_alias=$ac_optarg ;;
1003 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1004 verbose=yes ;;
1006 -version | --version | --versio | --versi | --vers | -V)
1007 ac_init_version=: ;;
1009 -with-* | --with-*)
1010 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1013 { $as_echo "$as_me: error: invalid package name: $ac_package" >&2
1014 { (exit 1); exit 1; }; }
1015 ac_package=`$as_echo "$ac_package" | sed 's/[-.]/_/g'`
1016 eval with_$ac_package=\$ac_optarg ;;
1018 -without-* | --without-*)
1019 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022 { $as_echo "$as_me: error: invalid package name: $ac_package" >&2
1023 { (exit 1); exit 1; }; }
1024 ac_package=`$as_echo "$ac_package" | sed 's/[-.]/_/g'`
1025 eval with_$ac_package=no ;;
1027 --x)
1028 # Obsolete; use --with-x.
1029 with_x=yes ;;
1031 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1032 | --x-incl | --x-inc | --x-in | --x-i)
1033 ac_prev=x_includes ;;
1034 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1035 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1036 x_includes=$ac_optarg ;;
1038 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1039 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1040 ac_prev=x_libraries ;;
1041 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1042 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1043 x_libraries=$ac_optarg ;;
1045 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1046 Try \`$0 --help' for more information." >&2
1047 { (exit 1); exit 1; }; }
1050 *=*)
1051 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1054 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1055 { (exit 1); exit 1; }; }
1056 eval $ac_envvar=\$ac_optarg
1057 export $ac_envvar ;;
1060 # FIXME: should be removed in autoconf 3.0.
1061 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1067 esac
1068 done
1070 if test -n "$ac_prev"; then
1071 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1072 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1073 { (exit 1); exit 1; }; }
1076 # Be sure to have absolute directory names.
1077 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1078 datadir sysconfdir sharedstatedir localstatedir includedir \
1079 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1080 libdir localedir mandir
1082 eval ac_val=\$$ac_var
1083 case $ac_val in
1084 [\\/$]* | ?:[\\/]* ) continue;;
1085 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1086 esac
1087 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1088 { (exit 1); exit 1; }; }
1089 done
1091 # There might be people who depend on the old broken behavior: `$host'
1092 # used to hold the argument of --host etc.
1093 # FIXME: To remove some day.
1094 build=$build_alias
1095 host=$host_alias
1096 target=$target_alias
1098 # FIXME: To remove some day.
1099 if test "x$host_alias" != x; then
1100 if test "x$build_alias" = x; then
1101 cross_compiling=maybe
1102 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1103 If a cross compiler is detected then cross compile mode will be used." >&2
1104 elif test "x$build_alias" != "x$host_alias"; then
1105 cross_compiling=yes
1109 ac_tool_prefix=
1110 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1112 test "$silent" = yes && exec 6>/dev/null
1115 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1116 ac_ls_di=`ls -di .` &&
1117 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1118 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1119 { (exit 1); exit 1; }; }
1120 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1121 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1122 { (exit 1); exit 1; }; }
1125 # Find the source files, if location was not specified.
1126 if test -z "$srcdir"; then
1127 ac_srcdir_defaulted=yes
1128 # Try the directory containing this script, then the parent directory.
1129 ac_confdir=`$as_dirname -- "$0" ||
1130 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1131 X"$0" : 'X\(//\)[^/]' \| \
1132 X"$0" : 'X\(//\)$' \| \
1133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1134 $as_echo X"$0" |
1135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1136 s//\1/
1139 /^X\(\/\/\)[^/].*/{
1140 s//\1/
1143 /^X\(\/\/\)$/{
1144 s//\1/
1147 /^X\(\/\).*/{
1148 s//\1/
1151 s/.*/./; q'`
1152 srcdir=$ac_confdir
1153 if test ! -r "$srcdir/$ac_unique_file"; then
1154 srcdir=..
1156 else
1157 ac_srcdir_defaulted=no
1159 if test ! -r "$srcdir/$ac_unique_file"; then
1160 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1161 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1162 { (exit 1); exit 1; }; }
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1165 ac_abs_confdir=`(
1166 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1167 { (exit 1); exit 1; }; }
1168 pwd)`
1169 # When building in place, set srcdir=.
1170 if test "$ac_abs_confdir" = "$ac_pwd"; then
1171 srcdir=.
1173 # Remove unnecessary trailing slashes from srcdir.
1174 # Double slashes in file names in object file debugging info
1175 # mess up M-x gdb in Emacs.
1176 case $srcdir in
1177 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1178 esac
1179 for ac_var in $ac_precious_vars; do
1180 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1181 eval ac_env_${ac_var}_value=\$${ac_var}
1182 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1183 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1184 done
1187 # Report the --help message.
1189 if test "$ac_init_help" = "long"; then
1190 # Omit some internal or obsolete options to make the list less imposing.
1191 # This message is too long to be a string in the A/UX 3.1 sh.
1192 cat <<_ACEOF
1193 \`configure' configures GNU Autoconf 2.61a to adapt to many kinds of systems.
1195 Usage: $0 [OPTION]... [VAR=VALUE]...
1197 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1198 VAR=VALUE. See below for descriptions of some of the useful variables.
1200 Defaults for the options are specified in brackets.
1202 Configuration:
1203 -h, --help display this help and exit
1204 --help=short display options specific to this package
1205 --help=recursive display the short help of all the included packages
1206 -V, --version display version information and exit
1207 -q, --quiet, --silent do not print \`checking...' messages
1208 --cache-file=FILE cache test results in FILE [disabled]
1209 -C, --config-cache alias for \`--cache-file=config.cache'
1210 -n, --no-create do not create output files
1211 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1213 Installation directories:
1214 --prefix=PREFIX install architecture-independent files in PREFIX
1215 [$ac_default_prefix]
1216 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1217 [PREFIX]
1219 By default, \`make install' will install all the files in
1220 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1221 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1222 for instance \`--prefix=\$HOME'.
1224 For better control, use the options below.
1226 Fine tuning of the installation directories:
1227 --bindir=DIR user executables [EPREFIX/bin]
1228 --sbindir=DIR system admin executables [EPREFIX/sbin]
1229 --libexecdir=DIR program executables [EPREFIX/libexec]
1230 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1231 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1232 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1233 --libdir=DIR object code libraries [EPREFIX/lib]
1234 --includedir=DIR C header files [PREFIX/include]
1235 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1236 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1237 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1238 --infodir=DIR info documentation [DATAROOTDIR/info]
1239 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1240 --mandir=DIR man documentation [DATAROOTDIR/man]
1241 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1242 --htmldir=DIR html documentation [DOCDIR]
1243 --dvidir=DIR dvi documentation [DOCDIR]
1244 --pdfdir=DIR pdf documentation [DOCDIR]
1245 --psdir=DIR ps documentation [DOCDIR]
1246 _ACEOF
1248 cat <<\_ACEOF
1250 Program names:
1251 --program-prefix=PREFIX prepend PREFIX to installed program names
1252 --program-suffix=SUFFIX append SUFFIX to installed program names
1253 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1254 _ACEOF
1257 if test -n "$ac_init_help"; then
1258 case $ac_init_help in
1259 short | recursive ) echo "Configuration of GNU Autoconf 2.61a:";;
1260 esac
1261 cat <<\_ACEOF
1263 Optional Packages:
1264 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1265 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1266 --with-lispdir override the default lisp directory
1268 Some influential environment variables:
1269 EMACS the Emacs editor command
1270 EMACSLOADPATH
1271 the Emacs library search path
1273 Use these variables to override the choices made by `configure' or to help
1274 it to find libraries and programs with nonstandard names/locations.
1276 Report bugs to <bug-autoconf@gnu.org>.
1277 _ACEOF
1278 ac_status=$?
1281 if test "$ac_init_help" = "recursive"; then
1282 # If there are subdirs, report their specific --help.
1283 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1284 test -d "$ac_dir" || continue
1285 ac_builddir=.
1287 case "$ac_dir" in
1288 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1290 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
1291 # A ".." for each directory in $ac_dir_suffix.
1292 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1293 case $ac_top_builddir_sub in
1294 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1295 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1296 esac ;;
1297 esac
1298 ac_abs_top_builddir=$ac_pwd
1299 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1300 # for backward compatibility:
1301 ac_top_builddir=$ac_top_build_prefix
1303 case $srcdir in
1304 .) # We are building in place.
1305 ac_srcdir=.
1306 ac_top_srcdir=$ac_top_builddir_sub
1307 ac_abs_top_srcdir=$ac_pwd ;;
1308 [\\/]* | ?:[\\/]* ) # Absolute name.
1309 ac_srcdir=$srcdir$ac_dir_suffix;
1310 ac_top_srcdir=$srcdir
1311 ac_abs_top_srcdir=$srcdir ;;
1312 *) # Relative name.
1313 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1314 ac_top_srcdir=$ac_top_build_prefix$srcdir
1315 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1316 esac
1317 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1319 cd "$ac_dir" || { ac_status=$?; continue; }
1320 # Check for guested configure.
1321 if test -f "$ac_srcdir/configure.gnu"; then
1322 echo &&
1323 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1324 elif test -f "$ac_srcdir/configure"; then
1325 echo &&
1326 $SHELL "$ac_srcdir/configure" --help=recursive
1327 else
1328 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1329 fi || ac_status=$?
1330 cd "$ac_pwd" || { ac_status=$?; break; }
1331 done
1334 test -n "$ac_init_help" && exit $ac_status
1335 if $ac_init_version; then
1336 cat <<\_ACEOF
1337 GNU Autoconf configure 2.61a
1338 generated by GNU Autoconf 2.61a
1340 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1341 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1342 This configure script is free software; the Free Software Foundation
1343 gives unlimited permission to copy, distribute and modify it.
1344 _ACEOF
1345 exit
1347 cat >config.log <<_ACEOF
1348 This file contains any messages produced by compilers while
1349 running configure, to aid debugging if configure makes a mistake.
1351 It was created by GNU Autoconf $as_me 2.61a, which was
1352 generated by GNU Autoconf 2.61a. Invocation command line was
1354 $ $0 $@
1356 _ACEOF
1357 exec 5>>config.log
1359 cat <<_ASUNAME
1360 ## --------- ##
1361 ## Platform. ##
1362 ## --------- ##
1364 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1365 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1366 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1367 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1368 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1370 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1371 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1373 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1374 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1375 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1376 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1377 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1378 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1379 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1381 _ASUNAME
1383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1384 for as_dir in $PATH
1386 IFS=$as_save_IFS
1387 test -z "$as_dir" && as_dir=.
1388 $as_echo "PATH: $as_dir"
1389 done
1390 IFS=$as_save_IFS
1392 } >&5
1394 cat >&5 <<_ACEOF
1397 ## ----------- ##
1398 ## Core tests. ##
1399 ## ----------- ##
1401 _ACEOF
1404 # Keep a trace of the command line.
1405 # Strip out --no-create and --no-recursion so they do not pile up.
1406 # Strip out --silent because we don't want to record it for future runs.
1407 # Also quote any args containing shell meta-characters.
1408 # Make two passes to allow for proper duplicate-argument suppression.
1409 ac_configure_args=
1410 ac_configure_args0=
1411 ac_configure_args1=
1412 ac_must_keep_next=false
1413 for ac_pass in 1 2
1415 for ac_arg
1417 case $ac_arg in
1418 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1419 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1420 | -silent | --silent | --silen | --sile | --sil)
1421 continue ;;
1422 *\'*)
1423 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1424 esac
1425 case $ac_pass in
1426 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1428 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1429 if test $ac_must_keep_next = true; then
1430 ac_must_keep_next=false # Got value, back to normal.
1431 else
1432 case $ac_arg in
1433 *=* | --config-cache | -C | -disable-* | --disable-* \
1434 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1435 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1436 | -with-* | --with-* | -without-* | --without-* | --x)
1437 case "$ac_configure_args0 " in
1438 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1439 esac
1441 -* ) ac_must_keep_next=true ;;
1442 esac
1444 ac_configure_args="$ac_configure_args '$ac_arg'"
1446 esac
1447 done
1448 done
1449 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1450 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1452 # When interrupted or exit'd, cleanup temporary files, and complete
1453 # config.log. We remove comments because anyway the quotes in there
1454 # would cause problems or look ugly.
1455 # WARNING: Use '\'' to represent an apostrophe within the trap.
1456 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1457 trap 'exit_status=$?
1458 # Save into config.log some information that might help in debugging.
1460 echo
1462 cat <<\_ASBOX
1463 ## ---------------- ##
1464 ## Cache variables. ##
1465 ## ---------------- ##
1466 _ASBOX
1467 echo
1468 # The following way of writing the cache mishandles newlines in values,
1470 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1471 eval ac_val=\$$ac_var
1472 case $ac_val in #(
1473 *${as_nl}*)
1474 case $ac_var in #(
1475 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1476 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1477 esac
1478 case $ac_var in #(
1479 _ | IFS | as_nl) ;; #(
1480 *) $as_unset $ac_var ;;
1481 esac ;;
1482 esac
1483 done
1484 (set) 2>&1 |
1485 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1486 *${as_nl}ac_space=\ *)
1487 sed -n \
1488 "s/'\''/'\''\\\\'\'''\''/g;
1489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1490 ;; #(
1492 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1494 esac |
1495 sort
1497 echo
1499 cat <<\_ASBOX
1500 ## ----------------- ##
1501 ## Output variables. ##
1502 ## ----------------- ##
1503 _ASBOX
1504 echo
1505 for ac_var in $ac_subst_vars
1507 eval ac_val=\$$ac_var
1508 case $ac_val in
1509 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1510 esac
1511 $as_echo "$ac_var='\''$ac_val'\''"
1512 done | sort
1513 echo
1515 if test -n "$ac_subst_files"; then
1516 cat <<\_ASBOX
1517 ## ------------------- ##
1518 ## File substitutions. ##
1519 ## ------------------- ##
1520 _ASBOX
1521 echo
1522 for ac_var in $ac_subst_files
1524 eval ac_val=\$$ac_var
1525 case $ac_val in
1526 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1527 esac
1528 $as_echo "$ac_var='\''$ac_val'\''"
1529 done | sort
1530 echo
1533 if test -s confdefs.h; then
1534 cat <<\_ASBOX
1535 ## ----------- ##
1536 ## confdefs.h. ##
1537 ## ----------- ##
1538 _ASBOX
1539 echo
1540 cat confdefs.h
1541 echo
1543 test "$ac_signal" != 0 &&
1544 $as_echo "$as_me: caught signal $ac_signal"
1545 $as_echo "$as_me: exit $exit_status"
1546 } >&5
1547 rm -f core *.core core.conftest.* &&
1548 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1549 exit $exit_status
1551 for ac_signal in 1 2 13 15; do
1552 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1553 done
1554 ac_signal=0
1556 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1557 rm -f -r conftest* confdefs.h
1559 # Predefined preprocessor variables.
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_NAME "$PACKAGE_NAME"
1563 _ACEOF
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1568 _ACEOF
1571 cat >>confdefs.h <<_ACEOF
1572 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1573 _ACEOF
1576 cat >>confdefs.h <<_ACEOF
1577 #define PACKAGE_STRING "$PACKAGE_STRING"
1578 _ACEOF
1581 cat >>confdefs.h <<_ACEOF
1582 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1583 _ACEOF
1586 # Let the site file select an alternate cache file if it wants to.
1587 # Prefer explicitly selected file to automatically selected ones.
1588 if test -n "$CONFIG_SITE"; then
1589 set x "$CONFIG_SITE"
1590 elif test "x$prefix" != xNONE; then
1591 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1592 else
1593 set x "$ac_default_prefix/share/config.site" \
1594 "$ac_default_prefix/etc/config.site"
1596 shift
1597 for ac_site_file
1599 if test -r "$ac_site_file"; then
1600 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1601 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1602 sed 's/^/| /' "$ac_site_file" >&5
1603 . "$ac_site_file"
1605 done
1607 if test -r "$cache_file"; then
1608 # Some versions of bash will fail to source /dev/null (special
1609 # files actually), so we avoid doing that.
1610 if test -f "$cache_file"; then
1611 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1612 $as_echo "$as_me: loading cache $cache_file" >&6;}
1613 case $cache_file in
1614 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1615 *) . "./$cache_file";;
1616 esac
1618 else
1619 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1620 $as_echo "$as_me: creating cache $cache_file" >&6;}
1621 >$cache_file
1624 # Check that the precious variables saved in the cache have kept the same
1625 # value.
1626 ac_cache_corrupted=false
1627 for ac_var in $ac_precious_vars; do
1628 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1629 eval ac_new_set=\$ac_env_${ac_var}_set
1630 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1631 eval ac_new_val=\$ac_env_${ac_var}_value
1632 case $ac_old_set,$ac_new_set in
1633 set,)
1634 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1635 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1636 ac_cache_corrupted=: ;;
1637 ,set)
1638 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1639 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1640 ac_cache_corrupted=: ;;
1641 ,);;
1643 if test "x$ac_old_val" != "x$ac_new_val"; then
1644 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1645 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1646 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1647 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1648 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1649 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1650 ac_cache_corrupted=:
1651 fi;;
1652 esac
1653 # Pass precious variables to config.status.
1654 if test "$ac_new_set" = set; then
1655 case $ac_new_val in
1656 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1657 *) ac_arg=$ac_var=$ac_new_val ;;
1658 esac
1659 case " $ac_configure_args " in
1660 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1661 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1662 esac
1664 done
1665 if $ac_cache_corrupted; then
1666 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1667 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1668 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1669 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1670 { (exit 1); exit 1; }; }
1697 ac_ext=c
1698 ac_cpp='$CPP $CPPFLAGS'
1699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1706 ac_aux_dir=
1707 for ac_dir in build-aux "$srcdir"/build-aux; do
1708 if test -f "$ac_dir/install-sh"; then
1709 ac_aux_dir=$ac_dir
1710 ac_install_sh="$ac_aux_dir/install-sh -c"
1711 break
1712 elif test -f "$ac_dir/install.sh"; then
1713 ac_aux_dir=$ac_dir
1714 ac_install_sh="$ac_aux_dir/install.sh -c"
1715 break
1716 elif test -f "$ac_dir/shtool"; then
1717 ac_aux_dir=$ac_dir
1718 ac_install_sh="$ac_aux_dir/shtool install -c"
1719 break
1721 done
1722 if test -z "$ac_aux_dir"; then
1723 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1724 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1725 { (exit 1); exit 1; }; }
1728 # These three variables are undocumented and unsupported,
1729 # and are intended to be withdrawn in a future Autoconf release.
1730 # They can cause serious problems if a builder's source tree is in a directory
1731 # whose full name contains unusual characters.
1732 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1733 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1734 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1738 am__api_version='1.10'
1740 # Find a good install program. We prefer a C program (faster),
1741 # so one script is as good as another. But avoid the broken or
1742 # incompatible versions:
1743 # SysV /etc/install, /usr/sbin/install
1744 # SunOS /usr/etc/install
1745 # IRIX /sbin/install
1746 # AIX /bin/install
1747 # AmigaOS /C/install, which installs bootblocks on floppy discs
1748 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1749 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1750 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1751 # OS/2's system install, which has a completely different semantic
1752 # ./install, which can be erroneously created by make from ./install.sh.
1753 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1754 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1755 if test -z "$INSTALL"; then
1756 if test "${ac_cv_path_install+set}" = set; then
1757 $as_echo_n "(cached) " >&6
1758 else
1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 for as_dir in $PATH
1762 IFS=$as_save_IFS
1763 test -z "$as_dir" && as_dir=.
1764 # Account for people who put trailing slashes in PATH elements.
1765 case $as_dir/ in
1766 ./ | .// | /cC/* | \
1767 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1768 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1769 /usr/ucb/* ) ;;
1771 # OSF1 and SCO ODT 3.0 have their own names for install.
1772 # Don't use installbsd from OSF since it installs stuff as root
1773 # by default.
1774 for ac_prog in ginstall scoinst install; do
1775 for ac_exec_ext in '' $ac_executable_extensions; do
1776 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1777 if test $ac_prog = install &&
1778 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1779 # AIX install. It has an incompatible calling convention.
1781 elif test $ac_prog = install &&
1782 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1783 # program-specific install script used by HP pwplus--don't use.
1785 else
1786 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1787 break 3
1790 done
1791 done
1793 esac
1794 done
1795 IFS=$as_save_IFS
1799 if test "${ac_cv_path_install+set}" = set; then
1800 INSTALL=$ac_cv_path_install
1801 else
1802 # As a last resort, use the slow shell script. Don't cache a
1803 # value for INSTALL within a source directory, because that will
1804 # break other packages using the cache if that directory is
1805 # removed, or if the value is a relative name.
1806 INSTALL=$ac_install_sh
1809 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1810 $as_echo "$INSTALL" >&6; }
1812 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1813 # It thinks the first close brace ends the variable substitution.
1814 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1816 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1818 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1820 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1821 $as_echo_n "checking whether build environment is sane... " >&6; }
1822 # Just in case
1823 sleep 1
1824 echo timestamp > conftest.file
1825 # Do `set' in a subshell so we don't clobber the current shell's
1826 # arguments. Must try -L first in case configure is actually a
1827 # symlink; some systems play weird games with the mod time of symlinks
1828 # (eg FreeBSD returns the mod time of the symlink's containing
1829 # directory).
1830 if (
1831 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1832 if test "$*" = "X"; then
1833 # -L didn't work.
1834 set X `ls -t $srcdir/configure conftest.file`
1836 rm -f conftest.file
1837 if test "$*" != "X $srcdir/configure conftest.file" \
1838 && test "$*" != "X conftest.file $srcdir/configure"; then
1840 # If neither matched, then we have a broken ls. This can happen
1841 # if, for instance, CONFIG_SHELL is bash and it inherits a
1842 # broken ls alias from the environment. This has actually
1843 # happened. Such a system could not be considered "sane".
1844 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1845 alias in your environment" >&5
1846 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1847 alias in your environment" >&2;}
1848 { (exit 1); exit 1; }; }
1851 test "$2" = conftest.file
1853 then
1854 # Ok.
1856 else
1857 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1858 Check your system clock" >&5
1859 $as_echo "$as_me: error: newly created file is older than distributed files!
1860 Check your system clock" >&2;}
1861 { (exit 1); exit 1; }; }
1863 { $as_echo "$as_me:$LINENO: result: yes" >&5
1864 $as_echo "yes" >&6; }
1865 test "$program_prefix" != NONE &&
1866 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1867 # Use a double $ so make ignores it.
1868 test "$program_suffix" != NONE &&
1869 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1870 # Double any \ or $.
1871 # By default was `s,x,x', remove it if useless.
1872 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1873 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1875 # expand $ac_aux_dir to an absolute path
1876 am_aux_dir=`cd $ac_aux_dir && pwd`
1878 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1879 # Use eval to expand $SHELL
1880 if eval "$MISSING --run true"; then
1881 am_missing_run="$MISSING --run "
1882 else
1883 am_missing_run=
1884 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1885 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1888 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1889 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1890 if test -z "$MKDIR_P"; then
1891 if test "${ac_cv_path_mkdir+set}" = set; then
1892 $as_echo_n "(cached) " >&6
1893 else
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1897 IFS=$as_save_IFS
1898 test -z "$as_dir" && as_dir=.
1899 for ac_prog in mkdir gmkdir; do
1900 for ac_exec_ext in '' $ac_executable_extensions; do
1901 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1902 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1903 'mkdir (GNU coreutils) '* | \
1904 'mkdir (coreutils) '* | \
1905 'mkdir (fileutils) '4.1*)
1906 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1907 break 3;;
1908 esac
1909 done
1910 done
1911 done
1912 IFS=$as_save_IFS
1916 if test "${ac_cv_path_mkdir+set}" = set; then
1917 MKDIR_P="$ac_cv_path_mkdir -p"
1918 else
1919 # As a last resort, use the slow shell script. Don't cache a
1920 # value for MKDIR_P within a source directory, because that will
1921 # break other packages using the cache if that directory is
1922 # removed, or if the value is a relative name.
1923 test -d ./--version && rmdir ./--version
1924 MKDIR_P="$ac_install_sh -d"
1927 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1928 $as_echo "$MKDIR_P" >&6; }
1930 mkdir_p="$MKDIR_P"
1931 case $mkdir_p in
1932 [\\/$]* | ?:[\\/]*) ;;
1933 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1934 esac
1936 for ac_prog in gawk mawk nawk awk
1938 # Extract the first word of "$ac_prog", so it can be a program name with args.
1939 set dummy $ac_prog; ac_word=$2
1940 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1941 $as_echo_n "checking for $ac_word... " >&6; }
1942 if test "${ac_cv_prog_AWK+set}" = set; then
1943 $as_echo_n "(cached) " >&6
1944 else
1945 if test -n "$AWK"; then
1946 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1947 else
1948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1949 for as_dir in $PATH
1951 IFS=$as_save_IFS
1952 test -z "$as_dir" && as_dir=.
1953 for ac_exec_ext in '' $ac_executable_extensions; do
1954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1955 ac_cv_prog_AWK="$ac_prog"
1956 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 break 2
1959 done
1960 done
1961 IFS=$as_save_IFS
1965 AWK=$ac_cv_prog_AWK
1966 if test -n "$AWK"; then
1967 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
1968 $as_echo "$AWK" >&6; }
1969 else
1970 { $as_echo "$as_me:$LINENO: result: no" >&5
1971 $as_echo "no" >&6; }
1975 test -n "$AWK" && break
1976 done
1978 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1979 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1980 set x ${MAKE-make}
1981 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1982 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1983 $as_echo_n "(cached) " >&6
1984 else
1985 cat >conftest.make <<\_ACEOF
1986 SHELL = /bin/sh
1987 all:
1988 @echo '@@@%%%=$(MAKE)=@@@%%%'
1989 _ACEOF
1990 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1991 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1992 *@@@%%%=?*=@@@%%%*)
1993 eval ac_cv_prog_make_${ac_make}_set=yes;;
1995 eval ac_cv_prog_make_${ac_make}_set=no;;
1996 esac
1997 rm -f conftest.make
1999 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2000 { $as_echo "$as_me:$LINENO: result: yes" >&5
2001 $as_echo "yes" >&6; }
2002 SET_MAKE=
2003 else
2004 { $as_echo "$as_me:$LINENO: result: no" >&5
2005 $as_echo "no" >&6; }
2006 SET_MAKE="MAKE=${MAKE-make}"
2009 rm -rf .tst 2>/dev/null
2010 mkdir .tst 2>/dev/null
2011 if test -d .tst; then
2012 am__leading_dot=.
2013 else
2014 am__leading_dot=_
2016 rmdir .tst 2>/dev/null
2018 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2019 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2020 # is not polluted with repeated "-I."
2021 am__isrc=' -I$(srcdir)'
2022 # test to see if srcdir already configured
2023 if test -f $srcdir/config.status; then
2024 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2025 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2026 { (exit 1); exit 1; }; }
2030 # test whether we have cygpath
2031 if test -z "$CYGPATH_W"; then
2032 if (cygpath --version) >/dev/null 2>/dev/null; then
2033 CYGPATH_W='cygpath -w'
2034 else
2035 CYGPATH_W=echo
2040 # Define the identity of the package.
2041 PACKAGE='autoconf'
2042 VERSION='2.61a'
2045 cat >>confdefs.h <<_ACEOF
2046 #define PACKAGE "$PACKAGE"
2047 _ACEOF
2050 cat >>confdefs.h <<_ACEOF
2051 #define VERSION "$VERSION"
2052 _ACEOF
2054 # Some tools Automake needs.
2056 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2059 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2062 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2065 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2068 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2070 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2072 # Installed binaries are usually stripped using `strip' when the user
2073 # run `make install-strip'. However `strip' might not be the right
2074 # tool to use in cross-compilation environments, therefore Automake
2075 # will honor the `STRIP' environment variable to overrule this program.
2076 if test "$cross_compiling" != no; then
2077 if test -n "$ac_tool_prefix"; then
2078 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2079 set dummy ${ac_tool_prefix}strip; ac_word=$2
2080 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 $as_echo_n "checking for $ac_word... " >&6; }
2082 if test "${ac_cv_prog_STRIP+set}" = set; then
2083 $as_echo_n "(cached) " >&6
2084 else
2085 if test -n "$STRIP"; then
2086 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2087 else
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 for as_dir in $PATH
2091 IFS=$as_save_IFS
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2095 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2096 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 break 2
2099 done
2100 done
2101 IFS=$as_save_IFS
2105 STRIP=$ac_cv_prog_STRIP
2106 if test -n "$STRIP"; then
2107 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2108 $as_echo "$STRIP" >&6; }
2109 else
2110 { $as_echo "$as_me:$LINENO: result: no" >&5
2111 $as_echo "no" >&6; }
2116 if test -z "$ac_cv_prog_STRIP"; then
2117 ac_ct_STRIP=$STRIP
2118 # Extract the first word of "strip", so it can be a program name with args.
2119 set dummy strip; ac_word=$2
2120 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 $as_echo_n "checking for $ac_word... " >&6; }
2122 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2123 $as_echo_n "(cached) " >&6
2124 else
2125 if test -n "$ac_ct_STRIP"; then
2126 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2135 ac_cv_prog_ac_ct_STRIP="strip"
2136 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2
2139 done
2140 done
2141 IFS=$as_save_IFS
2145 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2146 if test -n "$ac_ct_STRIP"; then
2147 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2148 $as_echo "$ac_ct_STRIP" >&6; }
2149 else
2150 { $as_echo "$as_me:$LINENO: result: no" >&5
2151 $as_echo "no" >&6; }
2154 if test "x$ac_ct_STRIP" = x; then
2155 STRIP=":"
2156 else
2157 case $cross_compiling:$ac_tool_warned in
2158 yes:)
2159 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2160 whose name does not start with the host triplet. If you think this
2161 configuration is useful to you, please write to autoconf@gnu.org." >&5
2162 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2163 whose name does not start with the host triplet. If you think this
2164 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2165 ac_tool_warned=yes ;;
2166 esac
2167 STRIP=$ac_ct_STRIP
2169 else
2170 STRIP="$ac_cv_prog_STRIP"
2174 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2176 # We need awk for the "check" target. The system "awk" is bad on
2177 # some platforms.
2178 # Always define AMTAR for backward compatibility.
2180 AMTAR=${AMTAR-"${am_missing_run}tar"}
2182 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2189 # We use `/bin/sh -n script' to check that there are no syntax errors
2190 # in the scripts. Although incredible, there are /bin/sh that go into
2191 # endless loops with `-n', e.g., SunOS's:
2193 # $ uname -a
2194 # SunOS ondine 4.1.3 2 sun4m unknown
2195 # $ cat endless.sh
2196 # while false
2197 # do
2199 # done
2200 # exit 0
2201 # $ time sh endless.sh
2202 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2203 # $ time sh -nx endless.sh
2204 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2206 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2207 # that they are unusable on large scripts like our testsuite.
2209 # So before using `/bin/sh -n' to check our scripts, we first check
2210 # that `/bin/sh -n' is known to not have these problems.
2212 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2213 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2214 if test "${ac_cv_sh_n_works+set}" = set; then
2215 $as_echo_n "(cached) " >&6
2216 else
2217 if (
2218 unset BASH_VERSION ZSH_VERSION
2219 /bin/sh -c '
2220 test -n "${BASH_VERSION+set}" || # Bash
2221 test -n "${KSH_VERSION+set}" || # pdksh
2222 test -n "${ZSH_VERSION+set}" || # zsh
2223 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2225 ) 2>/dev/null
2226 then ac_cv_sh_n_works=yes
2227 else ac_cv_sh_n_works=no
2231 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2232 $as_echo "$ac_cv_sh_n_works" >&6; }
2235 # Initialize the test suite.
2236 ac_config_commands="$ac_config_commands tests/atconfig"
2239 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2241 # Extract the first word of "expr", so it can be a program name with args.
2242 set dummy expr; ac_word=$2
2243 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 $as_echo_n "checking for $ac_word... " >&6; }
2245 if test "${ac_cv_path_EXPR+set}" = set; then
2246 $as_echo_n "(cached) " >&6
2247 else
2248 case $EXPR in
2249 [\\/]* | ?:[\\/]*)
2250 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 for as_dir in $PATH
2256 IFS=$as_save_IFS
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2261 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 break 2
2264 done
2265 done
2266 IFS=$as_save_IFS
2269 esac
2271 EXPR=$ac_cv_path_EXPR
2272 if test -n "$EXPR"; then
2273 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2274 $as_echo "$EXPR" >&6; }
2275 else
2276 { $as_echo "$as_me:$LINENO: result: no" >&5
2277 $as_echo "no" >&6; }
2283 ## ---- ##
2284 ## M4. ##
2285 ## ---- ##
2287 # We use an absolute name for GNU m4 so even if users have another m4 first in
2288 # their path, the installer can configure with a path that has GNU m4
2289 # first and get that path embedded in the installed autoconf and
2290 # autoheader scripts.
2291 for ac_prog in gm4 gnum4 m4
2293 # Extract the first word of "$ac_prog", so it can be a program name with args.
2294 set dummy $ac_prog; ac_word=$2
2295 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2296 $as_echo_n "checking for $ac_word... " >&6; }
2297 if test "${ac_cv_path_M4+set}" = set; then
2298 $as_echo_n "(cached) " >&6
2299 else
2300 case $M4 in
2301 [\\/]* | ?:[\\/]*)
2302 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 for as_dir in $PATH
2308 IFS=$as_save_IFS
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2312 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2313 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 break 2
2316 done
2317 done
2318 IFS=$as_save_IFS
2321 esac
2323 M4=$ac_cv_path_M4
2324 if test -n "$M4"; then
2325 { $as_echo "$as_me:$LINENO: result: $M4" >&5
2326 $as_echo "$M4" >&6; }
2327 else
2328 { $as_echo "$as_me:$LINENO: result: no" >&5
2329 $as_echo "no" >&6; }
2333 test -n "$M4" && break
2334 done
2335 test -n "$M4" || M4="m4"
2337 { $as_echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2338 $as_echo_n "checking whether m4 supports frozen files... " >&6; }
2339 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2340 $as_echo_n "(cached) " >&6
2341 else
2342 ac_cv_prog_gnu_m4=no
2343 if test x"$M4" != x; then
2344 case `$M4 --help < /dev/null 2>&1` in
2345 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2346 esac
2349 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2350 $as_echo "$ac_cv_prog_gnu_m4" >&6; }
2351 if test $ac_cv_prog_gnu_m4 = yes ; then
2352 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2353 $as_echo_n "checking how m4 supports trace files... " >&6; }
2354 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2355 $as_echo_n "(cached) " >&6
2356 else
2357 case `$M4 --help < /dev/null 2>&1` in
2358 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2359 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2360 esac
2362 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2363 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2364 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2368 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2369 { { $as_echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2370 $as_echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2371 { (exit 1); exit 1; }; }
2374 ## ----------- ##
2375 ## Man pages. ##
2376 ## ----------- ##
2378 ac_config_files="$ac_config_files man/Makefile"
2381 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2385 ## ------ ##
2386 ## Perl. ##
2387 ## ------ ##
2389 # We use an absolute name for perl so the #! line in autoscan will work.
2390 # Extract the first word of "perl", so it can be a program name with args.
2391 set dummy perl; ac_word=$2
2392 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 $as_echo_n "checking for $ac_word... " >&6; }
2394 if test "${ac_cv_path_PERL+set}" = set; then
2395 $as_echo_n "(cached) " >&6
2396 else
2397 case $PERL in
2398 [\\/]* | ?:[\\/]*)
2399 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 for as_dir in $PATH
2405 IFS=$as_save_IFS
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2410 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 break 2
2413 done
2414 done
2415 IFS=$as_save_IFS
2417 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2419 esac
2421 PERL=$ac_cv_path_PERL
2422 if test -n "$PERL"; then
2423 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2424 $as_echo "$PERL" >&6; }
2425 else
2426 { $as_echo "$as_me:$LINENO: result: no" >&5
2427 $as_echo "no" >&6; }
2431 if test "$PERL" = no; then
2432 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2433 $as_echo "$as_me: error: perl is not found" >&2;}
2434 { (exit 1); exit 1; }; }
2436 $PERL -e 'require 5.005_03;' || {
2437 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2438 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2439 { (exit 1); exit 1; }; }
2443 ## ------- ##
2444 ## Emacs. ##
2445 ## ------- ##
2447 ac_config_files="$ac_config_files lib/emacs/Makefile"
2449 TEST_EMACS=$EMACS
2450 test x"$TEST_EMACS" = xt && TEST_EMACS=
2451 for ac_prog in emacs xemacs
2453 # Extract the first word of "$ac_prog", so it can be a program name with args.
2454 set dummy $ac_prog; ac_word=$2
2455 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 $as_echo_n "checking for $ac_word... " >&6; }
2457 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2458 $as_echo_n "(cached) " >&6
2459 else
2460 if test -n "$TEST_EMACS"; then
2461 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2462 else
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH
2466 IFS=$as_save_IFS
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2470 ac_cv_prog_TEST_EMACS="$ac_prog"
2471 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 break 2
2474 done
2475 done
2476 IFS=$as_save_IFS
2480 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2481 if test -n "$TEST_EMACS"; then
2482 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2483 $as_echo "$TEST_EMACS" >&6; }
2484 else
2485 { $as_echo "$as_me:$LINENO: result: no" >&5
2486 $as_echo "no" >&6; }
2490 test -n "$TEST_EMACS" && break
2491 done
2492 test -n "$TEST_EMACS" || TEST_EMACS="no"
2495 # autoconf-mode.el and autotest-mode.el do not work with older version of
2496 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2497 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2498 # We detect this problem here.
2499 if test "$TEST_EMACS" != no; then
2500 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2501 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2502 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2503 $as_echo_n "(cached) " >&6
2504 else
2505 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2506 cat >conftest.el << "EOF"
2507 (defvar broken)
2508 (defun broken-mode () (setq broken-defaults `(broken nil)))
2510 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2511 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2512 ac_status=$?
2513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; then
2515 ac_cv_prog_emacs_ok=yes
2516 else
2517 ac_cv_prog_emacs_ok=no
2520 rm -f conftest.el conftest.elc
2522 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2523 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2524 if test $ac_cv_prog_emacs_ok = no; then
2525 TEST_EMACS=no
2531 EMACS=$TEST_EMACS
2534 # If set to t, that means we are running in a shell under Emacs.
2535 # If you have an Emacs named "t", then use the full path.
2536 test x"$EMACS" = xt && EMACS=
2537 for ac_prog in emacs xemacs
2539 # Extract the first word of "$ac_prog", so it can be a program name with args.
2540 set dummy $ac_prog; ac_word=$2
2541 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 $as_echo_n "checking for $ac_word... " >&6; }
2543 if test "${ac_cv_prog_EMACS+set}" = set; then
2544 $as_echo_n "(cached) " >&6
2545 else
2546 if test -n "$EMACS"; then
2547 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2548 else
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2552 IFS=$as_save_IFS
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556 ac_cv_prog_EMACS="$ac_prog"
2557 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 break 2
2560 done
2561 done
2562 IFS=$as_save_IFS
2566 EMACS=$ac_cv_prog_EMACS
2567 if test -n "$EMACS"; then
2568 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2569 $as_echo "$EMACS" >&6; }
2570 else
2571 { $as_echo "$as_me:$LINENO: result: no" >&5
2572 $as_echo "no" >&6; }
2576 test -n "$EMACS" && break
2577 done
2578 test -n "$EMACS" || EMACS="no"
2583 # Check whether --with-lispdir was given.
2584 if test "${with_lispdir+set}" = set; then
2585 withval=$with_lispdir; lispdir="$withval"
2586 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2587 $as_echo_n "checking where .elc files should go... " >&6; }
2588 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2589 $as_echo "$lispdir" >&6; }
2590 else
2592 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2593 $as_echo_n "checking where .elc files should go... " >&6; }
2594 if test "${am_cv_lispdir+set}" = set; then
2595 $as_echo_n "(cached) " >&6
2596 else
2598 if test $EMACS != "no"; then
2599 if test x${lispdir+set} != xset; then
2600 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2601 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2602 # which is non-obvious for non-emacs users.
2603 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2604 # emacsen earlier and avoid running this altogether.
2605 { ($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
2606 ($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
2607 ac_status=$?
2608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }
2610 am_cv_lispdir=`sed -n \
2611 -e 's,/$,,' \
2612 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2613 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2614 conftest.out`
2615 rm conftest.out
2618 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2621 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2622 $as_echo "$am_cv_lispdir" >&6; }
2623 lispdir="$am_cv_lispdir"
2631 ## ------------ ##
2632 ## Grep & sed. ##
2633 ## ------------ ##
2634 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2635 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2636 if test "${ac_cv_path_GREP+set}" = set; then
2637 $as_echo_n "(cached) " >&6
2638 else
2639 # Extract the first word of "grep ggrep" to use in msg output
2640 if test -z "$GREP"; then
2641 set dummy grep ggrep; ac_prog_name=$2
2642 if test "${ac_cv_path_GREP+set}" = set; then
2643 $as_echo_n "(cached) " >&6
2644 else
2645 ac_path_GREP_found=false
2646 # Loop through the user's path and test for each of PROGNAME-LIST
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2650 IFS=$as_save_IFS
2651 test -z "$as_dir" && as_dir=.
2652 for ac_prog in grep ggrep; do
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2655 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2656 # Check for GNU ac_path_GREP and select it if it is found.
2657 # Check for GNU $ac_path_GREP
2658 case `"$ac_path_GREP" --version 2>&1` in
2659 *GNU*)
2660 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2662 ac_count=0
2663 $as_echo_n 0123456789 >"conftest.in"
2664 while :
2666 cat "conftest.in" "conftest.in" >"conftest.tmp"
2667 mv "conftest.tmp" "conftest.in"
2668 cp "conftest.in" "conftest.nl"
2669 $as_echo 'GREP' >> "conftest.nl"
2670 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2671 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2672 ac_count=`expr $ac_count + 1`
2673 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2674 # Best one so far, save it but keep looking for a better one
2675 ac_cv_path_GREP="$ac_path_GREP"
2676 ac_path_GREP_max=$ac_count
2678 # 10*(2^10) chars as input seems more than enough
2679 test $ac_count -gt 10 && break
2680 done
2681 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2682 esac
2685 $ac_path_GREP_found && break 3
2686 done
2687 done
2689 done
2690 IFS=$as_save_IFS
2695 GREP="$ac_cv_path_GREP"
2696 if test -z "$GREP"; then
2697 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2698 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2699 { (exit 1); exit 1; }; }
2702 else
2703 ac_cv_path_GREP=$GREP
2708 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2709 $as_echo "$ac_cv_path_GREP" >&6; }
2710 GREP="$ac_cv_path_GREP"
2713 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2714 $as_echo_n "checking for egrep... " >&6; }
2715 if test "${ac_cv_path_EGREP+set}" = set; then
2716 $as_echo_n "(cached) " >&6
2717 else
2718 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2719 then ac_cv_path_EGREP="$GREP -E"
2720 else
2721 # Extract the first word of "egrep" to use in msg output
2722 if test -z "$EGREP"; then
2723 set dummy egrep; ac_prog_name=$2
2724 if test "${ac_cv_path_EGREP+set}" = set; then
2725 $as_echo_n "(cached) " >&6
2726 else
2727 ac_path_EGREP_found=false
2728 # Loop through the user's path and test for each of PROGNAME-LIST
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2732 IFS=$as_save_IFS
2733 test -z "$as_dir" && as_dir=.
2734 for ac_prog in egrep; do
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2737 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2738 # Check for GNU ac_path_EGREP and select it if it is found.
2739 # Check for GNU $ac_path_EGREP
2740 case `"$ac_path_EGREP" --version 2>&1` in
2741 *GNU*)
2742 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2744 ac_count=0
2745 $as_echo_n 0123456789 >"conftest.in"
2746 while :
2748 cat "conftest.in" "conftest.in" >"conftest.tmp"
2749 mv "conftest.tmp" "conftest.in"
2750 cp "conftest.in" "conftest.nl"
2751 $as_echo 'EGREP' >> "conftest.nl"
2752 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2753 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2754 ac_count=`expr $ac_count + 1`
2755 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2756 # Best one so far, save it but keep looking for a better one
2757 ac_cv_path_EGREP="$ac_path_EGREP"
2758 ac_path_EGREP_max=$ac_count
2760 # 10*(2^10) chars as input seems more than enough
2761 test $ac_count -gt 10 && break
2762 done
2763 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2764 esac
2767 $ac_path_EGREP_found && break 3
2768 done
2769 done
2771 done
2772 IFS=$as_save_IFS
2777 EGREP="$ac_cv_path_EGREP"
2778 if test -z "$EGREP"; then
2779 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2780 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2781 { (exit 1); exit 1; }; }
2784 else
2785 ac_cv_path_EGREP=$EGREP
2791 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2792 $as_echo "$ac_cv_path_EGREP" >&6; }
2793 EGREP="$ac_cv_path_EGREP"
2796 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2797 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2798 if test "${ac_cv_path_SED+set}" = set; then
2799 $as_echo_n "(cached) " >&6
2800 else
2801 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2802 for ac_i in 1 2 3 4 5 6 7; do
2803 ac_script="$ac_script$as_nl$ac_script"
2804 done
2805 echo "$ac_script" | sed 99q >conftest.sed
2806 $as_unset ac_script || ac_script=
2807 # Extract the first word of "sed gsed" to use in msg output
2808 if test -z "$SED"; then
2809 set dummy sed gsed; ac_prog_name=$2
2810 if test "${ac_cv_path_SED+set}" = set; then
2811 $as_echo_n "(cached) " >&6
2812 else
2813 ac_path_SED_found=false
2814 # Loop through the user's path and test for each of PROGNAME-LIST
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816 for as_dir in $PATH
2818 IFS=$as_save_IFS
2819 test -z "$as_dir" && as_dir=.
2820 for ac_prog in sed gsed; do
2821 for ac_exec_ext in '' $ac_executable_extensions; do
2822 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2823 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2824 # Check for GNU ac_path_SED and select it if it is found.
2825 # Check for GNU $ac_path_SED
2826 case `"$ac_path_SED" --version 2>&1` in
2827 *GNU*)
2828 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2830 ac_count=0
2831 $as_echo_n 0123456789 >"conftest.in"
2832 while :
2834 cat "conftest.in" "conftest.in" >"conftest.tmp"
2835 mv "conftest.tmp" "conftest.in"
2836 cp "conftest.in" "conftest.nl"
2837 $as_echo '' >> "conftest.nl"
2838 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2839 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2840 ac_count=`expr $ac_count + 1`
2841 if test $ac_count -gt ${ac_path_SED_max-0}; then
2842 # Best one so far, save it but keep looking for a better one
2843 ac_cv_path_SED="$ac_path_SED"
2844 ac_path_SED_max=$ac_count
2846 # 10*(2^10) chars as input seems more than enough
2847 test $ac_count -gt 10 && break
2848 done
2849 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2850 esac
2853 $ac_path_SED_found && break 3
2854 done
2855 done
2857 done
2858 IFS=$as_save_IFS
2863 SED="$ac_cv_path_SED"
2864 if test -z "$SED"; then
2865 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2866 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2867 { (exit 1); exit 1; }; }
2870 else
2871 ac_cv_path_SED=$SED
2875 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2876 $as_echo "$ac_cv_path_SED" >&6; }
2877 SED="$ac_cv_path_SED"
2878 rm -f conftest.sed
2882 ## ------------ ##
2883 ## Conclusion. ##
2884 ## ------------ ##
2886 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"
2889 cat >confcache <<\_ACEOF
2890 # This file is a shell script that caches the results of configure
2891 # tests run on this system so they can be shared between configure
2892 # scripts and configure runs, see configure's option --config-cache.
2893 # It is not useful on other systems. If it contains results you don't
2894 # want to keep, you may remove or edit it.
2896 # config.status only pays attention to the cache file if you give it
2897 # the --recheck option to rerun configure.
2899 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2900 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2901 # following values.
2903 _ACEOF
2905 # The following way of writing the cache mishandles newlines in values,
2906 # but we know of no workaround that is simple, portable, and efficient.
2907 # So, we kill variables containing newlines.
2908 # Ultrix sh set writes to stderr and can't be redirected directly,
2909 # and sets the high bit in the cache file unless we assign to the vars.
2911 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2912 eval ac_val=\$$ac_var
2913 case $ac_val in #(
2914 *${as_nl}*)
2915 case $ac_var in #(
2916 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2917 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2918 esac
2919 case $ac_var in #(
2920 _ | IFS | as_nl) ;; #(
2921 *) $as_unset $ac_var ;;
2922 esac ;;
2923 esac
2924 done
2926 (set) 2>&1 |
2927 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2928 *${as_nl}ac_space=\ *)
2929 # `set' does not quote correctly, so add quotes (double-quote
2930 # substitution turns \\\\ into \\, and sed turns \\ into \).
2931 sed -n \
2932 "s/'/'\\\\''/g;
2933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2934 ;; #(
2936 # `set' quotes correctly as required by POSIX, so do not add quotes.
2937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2939 esac |
2940 sort
2942 sed '
2943 /^ac_cv_env_/b end
2944 t clear
2945 :clear
2946 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2947 t end
2948 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2949 :end' >>confcache
2950 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2951 if test -w "$cache_file"; then
2952 test "x$cache_file" != "x/dev/null" &&
2953 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2954 $as_echo "$as_me: updating cache $cache_file" >&6;}
2955 cat confcache >$cache_file
2956 else
2957 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2958 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2961 rm -f confcache
2963 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2964 # Let make expand exec_prefix.
2965 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2967 # Transform confdefs.h into DEFS.
2968 # Protect against shell expansion while executing Makefile rules.
2969 # Protect against Makefile macro expansion.
2971 # If the first sed substitution is executed (which looks for macros that
2972 # take arguments), then branch to the quote section. Otherwise,
2973 # look for a macro that doesn't take arguments.
2974 ac_script='
2975 t clear
2976 :clear
2977 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2978 t quote
2979 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2980 t quote
2981 b any
2982 :quote
2983 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2984 s/\[/\\&/g
2985 s/\]/\\&/g
2986 s/\$/$$/g
2988 :any
2991 s/^\n//
2992 s/\n/ /g
2996 DEFS=`sed -n "$ac_script" confdefs.h`
2999 ac_libobjs=
3000 ac_ltlibobjs=
3001 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3002 # 1. Remove the extension, and $U if already installed.
3003 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3004 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3005 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3006 # will be set to the directory where LIBOBJS objects are built.
3007 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3008 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3009 done
3010 LIBOBJS=$ac_libobjs
3012 LTLIBOBJS=$ac_ltlibobjs
3016 : ${CONFIG_STATUS=./config.status}
3017 ac_clean_files_save=$ac_clean_files
3018 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3019 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3020 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3021 cat >$CONFIG_STATUS <<_ACEOF
3022 #! $SHELL
3023 # Generated by $as_me.
3024 # Run this file to recreate the current configuration.
3025 # Compiler output produced by configure, useful for debugging
3026 # configure, is in config.log if it exists.
3028 debug=false
3029 ac_cs_recheck=false
3030 ac_cs_silent=false
3031 SHELL=\${CONFIG_SHELL-$SHELL}
3032 _ACEOF
3034 cat >>$CONFIG_STATUS <<\_ACEOF
3035 ## --------------------- ##
3036 ## M4sh Initialization. ##
3037 ## --------------------- ##
3039 # Be more Bourne compatible
3040 DUALCASE=1; export DUALCASE # for MKS sh
3041 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3042 emulate sh
3043 NULLCMD=:
3044 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3045 # is contrary to our usage. Disable this feature.
3046 alias -g '${1+"$@"}'='"$@"'
3047 setopt NO_GLOB_SUBST
3048 else
3049 case `(set -o) 2>/dev/null` in
3050 *posix*) set -o posix ;;
3051 esac
3058 # PATH needs CR
3059 # Avoid depending upon Character Ranges.
3060 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3061 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3062 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3063 as_cr_digits='0123456789'
3064 as_cr_alnum=$as_cr_Letters$as_cr_digits
3066 as_nl='
3068 export as_nl
3069 # Printing a 2060-byte string crashes Solaris 7 /usr/bin/printf.
3070 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3071 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3072 as_echo=$as_echo$as_echo$as_echo$as_echo
3073 if test "X`(printf %s $as_echo) 2>/dev/null`" = "X$as_echo"; then
3074 as_echo='printf %s\n'
3075 as_echo_n='printf %s'
3076 else
3077 if test "X`PATH=/usr/ucb; echo -n -n $as_echo`" = "X-n $as_echo"; then
3078 as_echo_body='PATH=/usr/ucb; eval echo -n "$as_nl"'
3079 as_echo_n='/usr/ucb/echo -n'
3080 else
3081 as_echo_body='eval expr "X" : "X\\(.*\\)"'
3082 as_echo_n_body='eval
3083 arg=;
3084 case $arg in
3085 *"$as_nl"*)
3086 expr "X$arg" : "X\\(.*\\)$as_nl";
3087 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3088 esac;
3089 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3091 export as_echo_n_body
3092 as_echo_n='sh -c $as_echo_n_body X'
3094 export as_echo_body
3095 as_echo='sh -c $as_echo_body X'
3098 # The user is always right.
3099 if test "${PATH_SEPARATOR+set}" != set; then
3100 echo "#! /bin/sh" >conf$$.sh
3101 echo "exit 0" >>conf$$.sh
3102 chmod +x conf$$.sh
3103 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3104 PATH_SEPARATOR=';'
3105 else
3106 PATH_SEPARATOR=:
3108 rm -f conf$$.sh
3111 # Support unset when possible.
3112 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3113 as_unset=unset
3114 else
3115 as_unset=false
3119 # IFS
3120 # We need space, tab and new line, in precisely that order. Quoting is
3121 # there to prevent editors from complaining about space-tab.
3122 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3123 # splitting by setting IFS to empty value.)
3124 IFS=" "" $as_nl"
3126 # Find who we are. Look in the path if we contain no directory separator.
3127 case $0 in
3128 *[\\/]* ) as_myself=$0 ;;
3129 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 for as_dir in $PATH
3132 IFS=$as_save_IFS
3133 test -z "$as_dir" && as_dir=.
3134 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3135 done
3136 IFS=$as_save_IFS
3139 esac
3140 # We did not find ourselves, most probably we were run as `sh COMMAND'
3141 # in which case we are not to be found in the path.
3142 if test "x$as_myself" = x; then
3143 as_myself=$0
3145 if test ! -f "$as_myself"; then
3146 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3147 { (exit 1); exit 1; }
3150 # Work around bugs in pre-3.0 UWIN ksh.
3151 for as_var in ENV MAIL MAILPATH
3152 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3153 done
3154 PS1='$ '
3155 PS2='> '
3156 PS4='+ '
3158 # NLS nuisances.
3159 for as_var in \
3160 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3161 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3162 LC_TELEPHONE LC_TIME
3164 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3165 eval $as_var=C; export $as_var
3166 else
3167 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3169 done
3171 # Required to use basename.
3172 if expr a : '\(a\)' >/dev/null 2>&1 &&
3173 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3174 as_expr=expr
3175 else
3176 as_expr=false
3179 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3180 as_basename=basename
3181 else
3182 as_basename=false
3186 # Name of the executable.
3187 as_me=`$as_basename -- "$0" ||
3188 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3189 X"$0" : 'X\(//\)$' \| \
3190 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3191 $as_echo X/"$0" |
3192 sed '/^.*\/\([^/][^/]*\)\/*$/{
3193 s//\1/
3196 /^X\/\(\/\/\)$/{
3197 s//\1/
3200 /^X\/\(\/\).*/{
3201 s//\1/
3204 s/.*/./; q'`
3206 # CDPATH.
3207 $as_unset CDPATH
3211 as_lineno_1=$LINENO
3212 as_lineno_2=$LINENO
3213 test "x$as_lineno_1" != "x$as_lineno_2" &&
3214 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3216 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3217 # uniformly replaced by the line number. The first 'sed' inserts a
3218 # line-number line after each line using $LINENO; the second 'sed'
3219 # does the real work. The second script uses 'N' to pair each
3220 # line-number line with the line containing $LINENO, and appends
3221 # trailing '-' during substitution so that $LINENO is not a special
3222 # case at line end.
3223 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3224 # scripts with optimization help from Paolo Bonzini. Blame Lee
3225 # E. McMahon (1931-1989) for sed's syntax. :-)
3226 sed -n '
3228 /[$]LINENO/=
3229 ' <$as_myself |
3230 sed '
3231 s/[$]LINENO.*/&-/
3232 t lineno
3234 :lineno
3236 :loop
3237 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3238 t loop
3239 s/-\n.*//
3240 ' >$as_me.lineno &&
3241 chmod +x "$as_me.lineno" ||
3242 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3243 { (exit 1); exit 1; }; }
3245 # Don't try to exec as it changes $[0], causing all sort of problems
3246 # (the dirname of $[0] is not the place where we might find the
3247 # original and so on. Autoconf is especially sensitive to this).
3248 . "./$as_me.lineno"
3249 # Exit status is that of the last command.
3250 exit
3254 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3255 as_dirname=dirname
3256 else
3257 as_dirname=false
3260 ECHO_C= ECHO_N= ECHO_T=
3261 case `echo -n x` in
3262 -n*)
3263 case `echo 'x\c'` in
3264 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3265 *) ECHO_C='\c';;
3266 esac;;
3268 ECHO_N='-n';;
3269 esac
3270 if expr a : '\(a\)' >/dev/null 2>&1 &&
3271 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3272 as_expr=expr
3273 else
3274 as_expr=false
3277 rm -f conf$$ conf$$.exe conf$$.file
3278 if test -d conf$$.dir; then
3279 rm -f conf$$.dir/conf$$.file
3280 else
3281 rm -f conf$$.dir
3282 mkdir conf$$.dir
3284 echo >conf$$.file
3285 if ln -s conf$$.file conf$$ 2>/dev/null; then
3286 as_ln_s='ln -s'
3287 # ... but there are two gotchas:
3288 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3289 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3290 # In both cases, we have to default to `cp -p'.
3291 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3292 as_ln_s='cp -p'
3293 elif ln conf$$.file conf$$ 2>/dev/null; then
3294 as_ln_s=ln
3295 else
3296 as_ln_s='cp -p'
3298 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3299 rmdir conf$$.dir 2>/dev/null
3301 if mkdir -p . 2>/dev/null; then
3302 as_mkdir_p=:
3303 else
3304 test -d ./-p && rmdir ./-p
3305 as_mkdir_p=false
3308 if test -x / >/dev/null 2>&1; then
3309 as_test_x='test -x'
3310 else
3311 if ls -dL / >/dev/null 2>&1; then
3312 as_ls_L_option=L
3313 else
3314 as_ls_L_option=
3316 as_test_x='
3317 eval sh -c '\''
3318 if test -d "$1"; then
3319 test -d "$1/.";
3320 else
3321 case $1 in
3322 -*)set "./$1";;
3323 esac;
3324 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3325 ???[sx]*):;;*)false;;esac;fi
3326 '\'' sh
3329 as_executable_p=$as_test_x
3331 # Sed expression to map a string onto a valid CPP name.
3332 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3334 # Sed expression to map a string onto a valid variable name.
3335 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3338 exec 6>&1
3340 # Save the log message, to keep $[0] and so on meaningful, and to
3341 # report actual input values of CONFIG_FILES etc. instead of their
3342 # values after options handling.
3343 ac_log="
3344 This file was extended by GNU Autoconf $as_me 2.61a, which was
3345 generated by GNU Autoconf 2.61a. Invocation command line was
3347 CONFIG_FILES = $CONFIG_FILES
3348 CONFIG_HEADERS = $CONFIG_HEADERS
3349 CONFIG_LINKS = $CONFIG_LINKS
3350 CONFIG_COMMANDS = $CONFIG_COMMANDS
3351 $ $0 $@
3353 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3356 _ACEOF
3358 cat >>$CONFIG_STATUS <<_ACEOF
3359 # Files that config.status was made for.
3360 config_files="$ac_config_files"
3361 config_commands="$ac_config_commands"
3363 _ACEOF
3365 cat >>$CONFIG_STATUS <<\_ACEOF
3366 ac_cs_usage="\
3367 \`$as_me' instantiates files from templates according to the
3368 current configuration.
3370 Usage: $0 [OPTIONS] [FILE]...
3372 -h, --help print this help, then exit
3373 -V, --version print version number and configuration settings, then exit
3374 -q, --quiet do not print progress messages
3375 -d, --debug don't remove temporary files
3376 --recheck update $as_me by reconfiguring in the same conditions
3377 --file=FILE[:TEMPLATE]
3378 instantiate the configuration file FILE
3380 Configuration files:
3381 $config_files
3383 Configuration commands:
3384 $config_commands
3386 Report bugs to <bug-autoconf@gnu.org>."
3388 _ACEOF
3389 cat >>$CONFIG_STATUS <<_ACEOF
3390 ac_cs_version="\\
3391 GNU Autoconf config.status 2.61a
3392 configured by $0, generated by GNU Autoconf 2.61a,
3393 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3395 Copyright (C) 2006 Free Software Foundation, Inc.
3396 This config.status script is free software; the Free Software Foundation
3397 gives unlimited permission to copy, distribute and modify it."
3399 ac_pwd='$ac_pwd'
3400 srcdir='$srcdir'
3401 INSTALL='$INSTALL'
3402 MKDIR_P='$MKDIR_P'
3403 _ACEOF
3405 cat >>$CONFIG_STATUS <<\_ACEOF
3406 # If no file are specified by the user, then we need to provide default
3407 # value. By we need to know if files were specified by the user.
3408 ac_need_defaults=:
3409 while test $# != 0
3411 case $1 in
3412 --*=*)
3413 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3414 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3415 ac_shift=:
3418 ac_option=$1
3419 ac_optarg=$2
3420 ac_shift=shift
3422 esac
3424 case $ac_option in
3425 # Handling of the options.
3426 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3427 ac_cs_recheck=: ;;
3428 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3429 $as_echo "$ac_cs_version"; exit ;;
3430 --debug | --debu | --deb | --de | --d | -d )
3431 debug=: ;;
3432 --file | --fil | --fi | --f )
3433 $ac_shift
3434 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3435 ac_need_defaults=false;;
3436 --he | --h | --help | --hel | -h )
3437 $as_echo "$ac_cs_usage"; exit ;;
3438 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3439 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3440 ac_cs_silent=: ;;
3442 # This is an error.
3443 -*) { $as_echo "$as_me: error: unrecognized option: $1
3444 Try \`$0 --help' for more information." >&2
3445 { (exit 1); exit 1; }; } ;;
3447 *) ac_config_targets="$ac_config_targets $1"
3448 ac_need_defaults=false ;;
3450 esac
3451 shift
3452 done
3454 ac_configure_extra_args=
3456 if $ac_cs_silent; then
3457 exec 6>/dev/null
3458 ac_configure_extra_args="$ac_configure_extra_args --silent"
3461 _ACEOF
3462 cat >>$CONFIG_STATUS <<_ACEOF
3463 if \$ac_cs_recheck; then
3464 set X '$SHELL' '$0'$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3465 shift
3466 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3467 CONFIG_SHELL='$SHELL'
3468 export CONFIG_SHELL
3469 exec "\$@"
3472 _ACEOF
3473 cat >>$CONFIG_STATUS <<\_ACEOF
3474 exec 5>>config.log
3476 echo
3477 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3478 ## Running $as_me. ##
3479 _ASBOX
3480 $as_echo "$ac_log"
3481 } >&5
3483 _ACEOF
3484 cat >>$CONFIG_STATUS <<_ACEOF
3485 _ACEOF
3487 cat >>$CONFIG_STATUS <<\_ACEOF
3489 # Handling of arguments.
3490 for ac_config_target in $ac_config_targets
3492 case $ac_config_target in
3493 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3494 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3495 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3496 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3497 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3498 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3499 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3500 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3501 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3502 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3503 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3504 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3505 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3506 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3508 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3509 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3510 { (exit 1); exit 1; }; };;
3511 esac
3512 done
3515 # If the user did not use the arguments to specify the items to instantiate,
3516 # then the envvar interface is used. Set only those that are not.
3517 # We use the long form for the default assignment because of an extremely
3518 # bizarre bug on SunOS 4.1.3.
3519 if $ac_need_defaults; then
3520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3521 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3524 # Have a temporary directory for convenience. Make it in the build tree
3525 # simply because there is no reason against having it here, and in addition,
3526 # creating and moving files from /tmp can sometimes cause problems.
3527 # Hook for its removal unless debugging.
3528 # Note that there is a small window in which the directory will not be cleaned:
3529 # after its creation but before its name has been assigned to `$tmp'.
3530 $debug ||
3532 tmp=
3533 trap 'exit_status=$?
3534 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3536 trap '{ (exit 1); exit 1; }' 1 2 13 15
3538 # Create a (secure) tmp directory for tmp files.
3541 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3542 test -n "$tmp" && test -d "$tmp"
3543 } ||
3545 tmp=./conf$$-$RANDOM
3546 (umask 077 && mkdir "$tmp")
3547 } ||
3549 $as_echo "$me: cannot create a temporary directory in ." >&2
3550 { (exit 1); exit 1; }
3553 # Set up the scripts for CONFIG_FILES section.
3554 # No need to generate them if there are no CONFIG_FILES.
3555 # This happens for instance with `./config.status config.h'.
3556 if test -n "$CONFIG_FILES"; then
3559 echo 'BEGIN {' >"$tmp/subs.awk"
3560 _ACEOF
3564 echo "cat >conf$$subs.awk <<_ACEOF"
3565 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3566 echo "_ACEOF"
3567 } >conf$$subs.sh
3568 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3569 ac_delim='%!_!# '
3570 for ac_last_try in false false false false false :; do
3571 . ./conf$$subs.sh
3573 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3574 break
3575 elif $ac_last_try; then
3576 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3577 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3578 { (exit 1); exit 1; }; }
3579 else
3580 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3582 done
3583 rm -f conf$$subs.sh
3585 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.awk`
3586 if test -n "$ac_eof"; then
3587 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3588 ac_eof=`expr $ac_eof + 1`
3590 cat >>$CONFIG_STATUS <<_ACEOF
3591 cat >>"\$tmp/subs.awk" <<\CEOF$ac_eof
3592 _ACEOF
3593 sed '
3594 t line
3595 :line
3596 s/'"$ac_delim"'$//; t gotline
3597 N; b line
3598 :gotline
3600 s/^/S["/; s/!.*/"]=/; p
3602 s/^[^!]*!//
3603 :more
3604 t more
3606 s/\(.\{148\}\).*/\1/
3607 t notlast
3608 s/["\\]/\\&/g; s/\n/\\n/g
3609 s/^/"/; s/$/"/
3611 :notlast
3612 s/["\\]/\\&/g; s/\n/\\n/g
3613 s/^/"/; s/$/"\\/
3616 s/.\{148\}//
3617 b more
3618 ' <conf$$subs.awk | sed '
3619 /^[^"]/{
3621 s/\n//
3623 ' >>$CONFIG_STATUS
3624 rm -f conf$$subs.awk
3625 cat >>$CONFIG_STATUS <<_ACEOF
3626 CEOF$ac_eof
3627 cat >>"\$tmp/subs.awk" <<CEOF
3628 for (key in S) S_is_set[key] = 1
3629 FS = "\a"
3633 line = $ 0
3634 nfields = split(line, field, "@")
3635 substed = 0
3636 len = length(field[1])
3637 for (i = 2; i < nfields; i++) {
3638 key = field[i]
3639 keylen = length(key)
3640 if (S_is_set[key]) {
3641 value = S[key]
3642 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3643 len += length(value) + length(field[++i])
3644 substed = 1
3645 } else
3646 len += 1 + keylen
3649 print line
3652 CEOF
3653 _ACEOF
3655 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3656 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3657 # trailing colons and then remove the whole line if VPATH becomes empty
3658 # (actually we leave an empty line to preserve line numbers).
3659 if test "x$srcdir" = x.; then
3660 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3661 s/:*\$(srcdir):*/:/
3662 s/:*\${srcdir}:*/:/
3663 s/:*@srcdir@:*/:/
3664 s/^\([^=]*=[ ]*\):*/\1/
3665 s/:*$//
3666 s/^[^=]*=[ ]*$//
3670 cat >>$CONFIG_STATUS <<\_ACEOF
3671 fi # test -n "$CONFIG_FILES"
3674 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3676 case $ac_tag in
3677 :[FHLC]) ac_mode=$ac_tag; continue;;
3678 esac
3679 case $ac_mode$ac_tag in
3680 :[FHL]*:*);;
3681 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3682 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3683 { (exit 1); exit 1; }; };;
3684 :[FH]-) ac_tag=-:-;;
3685 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3686 esac
3687 ac_save_IFS=$IFS
3688 IFS=:
3689 set x $ac_tag
3690 IFS=$ac_save_IFS
3691 shift
3692 ac_file=$1
3693 shift
3695 case $ac_mode in
3696 :L) ac_source=$1;;
3697 :[FH])
3698 ac_file_inputs=
3699 for ac_f
3701 case $ac_f in
3702 -) ac_f="$tmp/stdin";;
3703 *) # Look for the file first in the build tree, then in the source tree
3704 # (if the path is not absolute). The absolute path cannot be DOS-style,
3705 # because $ac_f cannot contain `:'.
3706 test -f "$ac_f" ||
3707 case $ac_f in
3708 [\\/$]*) false;;
3709 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3710 esac ||
3711 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3712 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3713 { (exit 1); exit 1; }; };;
3714 esac
3715 ac_file_inputs="$ac_file_inputs $ac_f"
3716 done
3718 # Let's still pretend it is `configure' which instantiates (i.e., don't
3719 # use $as_me), people would be surprised to read:
3720 # /* config.h. Generated by config.status. */
3721 configure_input='Generated from '`
3722 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3723 `' by configure.'
3724 if test x"$ac_file" != x-; then
3725 configure_input="$ac_file. $configure_input"
3726 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3727 $as_echo "$as_me: creating $ac_file" >&6;}
3730 case $ac_tag in
3731 *:-:* | *:-) cat >"$tmp/stdin";;
3732 esac
3734 esac
3736 ac_dir=`$as_dirname -- "$ac_file" ||
3737 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3738 X"$ac_file" : 'X\(//\)[^/]' \| \
3739 X"$ac_file" : 'X\(//\)$' \| \
3740 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3741 $as_echo X"$ac_file" |
3742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3743 s//\1/
3746 /^X\(\/\/\)[^/].*/{
3747 s//\1/
3750 /^X\(\/\/\)$/{
3751 s//\1/
3754 /^X\(\/\).*/{
3755 s//\1/
3758 s/.*/./; q'`
3759 { as_dir="$ac_dir"
3760 case $as_dir in #(
3761 -*) as_dir=./$as_dir;;
3762 esac
3763 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3764 as_dirs=
3765 while :; do
3766 case $as_dir in #(
3767 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3768 *) as_qdir=$as_dir;;
3769 esac
3770 as_dirs="'$as_qdir' $as_dirs"
3771 as_dir=`$as_dirname -- "$as_dir" ||
3772 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3773 X"$as_dir" : 'X\(//\)[^/]' \| \
3774 X"$as_dir" : 'X\(//\)$' \| \
3775 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3776 $as_echo X"$as_dir" |
3777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3778 s//\1/
3781 /^X\(\/\/\)[^/].*/{
3782 s//\1/
3785 /^X\(\/\/\)$/{
3786 s//\1/
3789 /^X\(\/\).*/{
3790 s//\1/
3793 s/.*/./; q'`
3794 test -d "$as_dir" && break
3795 done
3796 test -z "$as_dirs" || eval "mkdir $as_dirs"
3797 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3798 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3799 { (exit 1); exit 1; }; }; }
3800 ac_builddir=.
3802 case "$ac_dir" in
3803 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3805 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3806 # A ".." for each directory in $ac_dir_suffix.
3807 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3808 case $ac_top_builddir_sub in
3809 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3810 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3811 esac ;;
3812 esac
3813 ac_abs_top_builddir=$ac_pwd
3814 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3815 # for backward compatibility:
3816 ac_top_builddir=$ac_top_build_prefix
3818 case $srcdir in
3819 .) # We are building in place.
3820 ac_srcdir=.
3821 ac_top_srcdir=$ac_top_builddir_sub
3822 ac_abs_top_srcdir=$ac_pwd ;;
3823 [\\/]* | ?:[\\/]* ) # Absolute name.
3824 ac_srcdir=$srcdir$ac_dir_suffix;
3825 ac_top_srcdir=$srcdir
3826 ac_abs_top_srcdir=$srcdir ;;
3827 *) # Relative name.
3828 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3829 ac_top_srcdir=$ac_top_build_prefix$srcdir
3830 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3831 esac
3832 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3835 case $ac_mode in
3838 # CONFIG_FILE
3841 case $INSTALL in
3842 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3843 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3844 esac
3845 ac_MKDIR_P=$MKDIR_P
3846 case $MKDIR_P in
3847 [\\/$]* | ?:[\\/]* ) ;;
3848 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3849 esac
3850 _ACEOF
3852 cat >>$CONFIG_STATUS <<\_ACEOF
3853 # If the template does not know about datarootdir, expand it.
3854 # FIXME: This hack should be removed a few years after 2.60.
3855 ac_datarootdir_hack=; ac_datarootdir_seen=
3857 case `sed -n '/datarootdir/ {
3861 /@datadir@/p
3862 /@docdir@/p
3863 /@infodir@/p
3864 /@localedir@/p
3865 /@mandir@/p
3866 ' $ac_file_inputs` in
3867 *datarootdir*) ac_datarootdir_seen=yes;;
3868 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3869 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3870 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3871 _ACEOF
3872 cat >>$CONFIG_STATUS <<_ACEOF
3873 ac_datarootdir_hack='
3874 s&@datadir@&$datadir&g
3875 s&@docdir@&$docdir&g
3876 s&@infodir@&$infodir&g
3877 s&@localedir@&$localedir&g
3878 s&@mandir@&$mandir&g
3879 s&\\\${datarootdir}&$datarootdir&g' ;;
3880 esac
3881 _ACEOF
3883 # Neutralize VPATH when `$srcdir' = `.'.
3884 # Shell code in configure.ac might set extrasub.
3885 # FIXME: do we really want to maintain this feature?
3886 cat >>$CONFIG_STATUS <<_ACEOF
3887 sed "$ac_vpsub
3888 $extrasub
3889 _ACEOF
3890 cat >>$CONFIG_STATUS <<\_ACEOF
3892 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3893 s&@configure_input@&$configure_input&;t t
3894 s&@top_builddir@&$ac_top_builddir_sub&;t t
3895 s&@srcdir@&$ac_srcdir&;t t
3896 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3897 s&@top_srcdir@&$ac_top_srcdir&;t t
3898 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3899 s&@builddir@&$ac_builddir&;t t
3900 s&@abs_builddir@&$ac_abs_builddir&;t t
3901 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3902 s&@INSTALL@&$ac_INSTALL&;t t
3903 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3904 $ac_datarootdir_hack
3905 " $ac_file_inputs | awk -f "$tmp/subs.awk" >$tmp/out
3907 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3908 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3909 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3910 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3911 which seems to be undefined. Please make sure it is defined." >&5
3912 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3913 which seems to be undefined. Please make sure it is defined." >&2;}
3915 rm -f "$tmp/stdin"
3916 case $ac_file in
3917 -) cat "$tmp/out"; rm -f "$tmp/out";;
3918 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3919 esac
3923 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3924 $as_echo "$as_me: executing $ac_file commands" >&6;}
3926 esac
3929 case $ac_file$ac_mode in
3930 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3931 # Configurable variable values for building test suites.
3932 # Generated by $0.
3933 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3935 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3936 at_testdir='tests'
3937 abs_builddir='$ac_abs_builddir'
3938 at_srcdir='$ac_srcdir'
3939 abs_srcdir='$ac_abs_srcdir'
3940 at_top_srcdir='$ac_top_srcdir'
3941 abs_top_srcdir='$ac_abs_top_srcdir'
3942 at_top_build_prefix='$ac_top_build_prefix'
3943 abs_top_builddir='$ac_abs_top_builddir'
3945 # Backward compatibility with Autotest <= 2.59b:
3946 at_top_builddir=\$at_top_build_prefix
3948 AUTOTEST_PATH='tests'
3950 SHELL=\${CONFIG_SHELL-'$SHELL'}
3951 ATEOF
3954 esac
3955 done # for ac_tag
3958 { (exit 0); exit 0; }
3959 _ACEOF
3960 chmod +x $CONFIG_STATUS
3961 ac_clean_files=$ac_clean_files_save
3964 # configure is writing to config.log, and then calls config.status.
3965 # config.status does its own redirection, appending to config.log.
3966 # Unfortunately, on DOS this fails, as config.log is still kept open
3967 # by configure, so config.status won't be able to write to it; its
3968 # output is simply discarded. So we exec the FD to /dev/null,
3969 # effectively closing config.log, so it can be properly (re)opened and
3970 # appended to by config.status. When coming back to configure, we
3971 # need to make the FD available again.
3972 if test "$no_create" != yes; then
3973 ac_cs_success=:
3974 ac_config_status_args=
3975 test "$silent" = yes &&
3976 ac_config_status_args="$ac_config_status_args --quiet"
3977 exec 5>/dev/null
3978 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3979 exec 5>>config.log
3980 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3981 # would make configure fail if this is the last instruction.
3982 $ac_cs_success || { (exit 1); exit 1; }
3985 # Report the state of this version of Autoconf if this is a beta.
3986 cat <<EOF
3988 You are about to use an experimental version of Autoconf. Be sure to
3989 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3991 Below you will find information on the status of this version of Autoconf.
3995 sed -n '/^\* Status/,$p' $srcdir/BUGS