* doc/autoconf.texi (Limitations of Usual Tools): Don't claim
[autoconf/ericb.git] / configure
blob12721b8bfea277c4e1649bb513f0715b43bd1004
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 case `(printf %s foo) 2>/dev/null` in
46 foo)
47 as_echo='printf %s\n'
48 as_echo_n='printf %s';;
50 as_echo_body='eval expr "X" : "X\\(.*\\)"'
51 as_echo_n_body='eval
52 arg=;
53 case $arg in
54 *"$as_nl"*)
55 expr "X$arg" : "X\\(.*\\)$as_nl";
56 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
57 esac;
58 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
60 export as_echo_body as_echo_n_body
61 as_echo='sh -c $as_echo_body X'
62 as_echo_n='sh -c $as_echo_n_body X';;
63 esac
65 # The user is always right.
66 if test "${PATH_SEPARATOR+set}" != set; then
67 echo "#! /bin/sh" >conf$$.sh
68 echo "exit 0" >>conf$$.sh
69 chmod +x conf$$.sh
70 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
71 PATH_SEPARATOR=';'
72 else
73 PATH_SEPARATOR=:
75 rm -f conf$$.sh
78 # Support unset when possible.
79 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
80 as_unset=unset
81 else
82 as_unset=false
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 case $0 in
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 { (exit 1); exit 1; }
117 # Work around bugs in pre-3.0 UWIN ksh.
118 for as_var in ENV MAIL MAILPATH
119 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 for as_var in \
127 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
128 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
129 LC_TELEPHONE LC_TIME
131 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
132 eval $as_var=C; export $as_var
133 else
134 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 done
138 # Required to use basename.
139 if expr a : '\(a\)' >/dev/null 2>&1 &&
140 test "X`expr 00001 : '.*\(...\)'`" = X001; then
141 as_expr=expr
142 else
143 as_expr=false
146 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
147 as_basename=basename
148 else
149 as_basename=false
153 # Name of the executable.
154 as_me=`$as_basename -- "$0" ||
155 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
156 X"$0" : 'X\(//\)$' \| \
157 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 $as_echo X/"$0" |
159 sed '/^.*\/\([^/][^/]*\)\/*$/{
160 s//\1/
163 /^X\/\(\/\/\)$/{
164 s//\1/
167 /^X\/\(\/\).*/{
168 s//\1/
171 s/.*/./; q'`
173 # CDPATH.
174 $as_unset CDPATH
177 if test "x$CONFIG_SHELL" = x; then
178 if (eval ":") 2>/dev/null; then
179 as_have_required=yes
180 else
181 as_have_required=no
184 if test $as_have_required = yes && (eval ":
185 (as_func_return () {
186 (exit \$1)
188 as_func_success () {
189 as_func_return 0
191 as_func_failure () {
192 as_func_return 1
194 as_func_ret_success () {
195 return 0
197 as_func_ret_failure () {
198 return 1
201 exitcode=0
202 if as_func_success; then
204 else
205 exitcode=1
206 echo as_func_success failed.
209 if as_func_failure; then
210 exitcode=1
211 echo as_func_failure succeeded.
214 if as_func_ret_success; then
216 else
217 exitcode=1
218 echo as_func_ret_success failed.
221 if as_func_ret_failure; then
222 exitcode=1
223 echo as_func_ret_failure succeeded.
226 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 else
229 exitcode=1
230 echo positional parameters were not saved.
233 test \$exitcode = 0) || { (exit 1); exit 1; }
236 as_lineno_1=\$LINENO
237 as_lineno_2=\$LINENO
238 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
239 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
240 ") 2> /dev/null; then
242 else
243 as_candidate_shells=
244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
245 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
247 IFS=$as_save_IFS
248 test -z "$as_dir" && as_dir=.
249 case $as_dir in
251 for as_base in sh bash ksh sh5; do
252 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
253 done;;
254 esac
255 done
256 IFS=$as_save_IFS
259 for as_shell in $as_candidate_shells $SHELL; do
260 # Try only shells that exist, to save several forks.
261 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
262 { ("$as_shell") 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 _ASEOF
280 }; then
281 CONFIG_SHELL=$as_shell
282 as_have_required=yes
283 if { "$as_shell" 2> /dev/null <<\_ASEOF
284 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 emulate sh
286 NULLCMD=:
287 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
288 # is contrary to our usage. Disable this feature.
289 alias -g '${1+"$@"}'='"$@"'
290 setopt NO_GLOB_SUBST
291 else
292 case `(set -o) 2>/dev/null` in
293 *posix*) set -o posix ;;
294 esac
300 (as_func_return () {
301 (exit $1)
303 as_func_success () {
304 as_func_return 0
306 as_func_failure () {
307 as_func_return 1
309 as_func_ret_success () {
310 return 0
312 as_func_ret_failure () {
313 return 1
316 exitcode=0
317 if as_func_success; then
319 else
320 exitcode=1
321 echo as_func_success failed.
324 if as_func_failure; then
325 exitcode=1
326 echo as_func_failure succeeded.
329 if as_func_ret_success; then
331 else
332 exitcode=1
333 echo as_func_ret_success failed.
336 if as_func_ret_failure; then
337 exitcode=1
338 echo as_func_ret_failure succeeded.
341 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 else
344 exitcode=1
345 echo positional parameters were not saved.
348 test $exitcode = 0) || { (exit 1); exit 1; }
351 as_lineno_1=$LINENO
352 as_lineno_2=$LINENO
353 test "x$as_lineno_1" != "x$as_lineno_2" &&
354 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
356 _ASEOF
357 }; then
358 break
363 done
365 if test "x$CONFIG_SHELL" != x; then
366 for as_var in BASH_ENV ENV
367 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 done
369 export CONFIG_SHELL
370 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
374 if test $as_have_required = no; then
375 echo This script requires a shell more modern than all the
376 echo shells that I found on your system. Please install a
377 echo modern shell, or manually run the script under such a
378 echo shell if you do have one.
379 { (exit 1); exit 1; }
389 (eval "as_func_return () {
390 (exit \$1)
392 as_func_success () {
393 as_func_return 0
395 as_func_failure () {
396 as_func_return 1
398 as_func_ret_success () {
399 return 0
401 as_func_ret_failure () {
402 return 1
405 exitcode=0
406 if as_func_success; then
408 else
409 exitcode=1
410 echo as_func_success failed.
413 if as_func_failure; then
414 exitcode=1
415 echo as_func_failure succeeded.
418 if as_func_ret_success; then
420 else
421 exitcode=1
422 echo as_func_ret_success failed.
425 if as_func_ret_failure; then
426 exitcode=1
427 echo as_func_ret_failure succeeded.
430 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 else
433 exitcode=1
434 echo positional parameters were not saved.
437 test \$exitcode = 0") || {
438 echo No shell found that supports shell functions.
439 echo Please tell autoconf@gnu.org about your system,
440 echo including any error possibly output before this
441 echo message
446 as_lineno_1=$LINENO
447 as_lineno_2=$LINENO
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
457 # case at line end.
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
461 sed -n '
463 /[$]LINENO/=
464 ' <$as_myself |
465 sed '
466 s/[$]LINENO.*/&-/
467 t lineno
469 :lineno
471 :loop
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 t loop
474 s/-\n.*//
475 ' >$as_me.lineno &&
476 chmod +x "$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
483 . "./$as_me.lineno"
484 # Exit status is that of the last command.
485 exit
489 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
490 as_dirname=dirname
491 else
492 as_dirname=false
495 ECHO_C= ECHO_N= ECHO_T=
496 case `echo -n x` in
497 -n*)
498 case `echo 'x\c'` in
499 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
500 *) ECHO_C='\c';;
501 esac;;
503 ECHO_N='-n';;
504 esac
505 if expr a : '\(a\)' >/dev/null 2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001; then
507 as_expr=expr
508 else
509 as_expr=false
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir
519 echo >conf$$.file
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -p'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -p'
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
537 as_mkdir_p=:
538 else
539 test -d ./-p && rmdir ./-p
540 as_mkdir_p=false
543 if test -x / >/dev/null 2>&1; then
544 as_test_x='test -x'
545 else
546 if ls -dL / >/dev/null 2>&1; then
547 as_ls_L_option=L
548 else
549 as_ls_L_option=
551 as_test_x='
552 eval sh -c '\''
553 if test -d "$1"; then
554 test -d "$1/.";
555 else
556 case $1 in
557 -*)set "./$1";;
558 esac;
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
561 '\'' sh
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
576 # Name of the host.
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 # Initializations.
584 ac_default_prefix=/usr/local
585 ac_clean_files=
586 ac_config_libobj_dir=.
587 LIBOBJS=
588 cross_compiling=no
589 subdirs=
590 MFLAGS=
591 MAKEFLAGS=
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
595 PACKAGE_NAME='GNU Autoconf'
596 PACKAGE_TARNAME='autoconf'
597 PACKAGE_VERSION='2.61a'
598 PACKAGE_STRING='GNU Autoconf 2.61a'
599 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
601 ac_unique_file="ChangeLog"
602 ac_subst_vars='SHELL
603 PATH_SEPARATOR
604 PACKAGE_NAME
605 PACKAGE_TARNAME
606 PACKAGE_VERSION
607 PACKAGE_STRING
608 PACKAGE_BUGREPORT
609 exec_prefix
610 prefix
611 program_transform_name
612 bindir
613 sbindir
614 libexecdir
615 datarootdir
616 datadir
617 sysconfdir
618 sharedstatedir
619 localstatedir
620 includedir
621 oldincludedir
622 docdir
623 infodir
624 htmldir
625 dvidir
626 pdfdir
627 psdir
628 libdir
629 localedir
630 mandir
631 DEFS
632 ECHO_C
633 ECHO_N
634 ECHO_T
635 LIBS
636 build_alias
637 host_alias
638 target_alias
639 INSTALL_PROGRAM
640 INSTALL_SCRIPT
641 INSTALL_DATA
642 am__isrc
643 CYGPATH_W
644 PACKAGE
645 VERSION
646 ACLOCAL
647 AUTOCONF
648 AUTOMAKE
649 AUTOHEADER
650 MAKEINFO
651 install_sh
652 STRIP
653 INSTALL_STRIP_PROGRAM
654 mkdir_p
656 SET_MAKE
657 am__leading_dot
658 AMTAR
659 am__tar
660 am__untar
661 ac_cv_sh_n_works
662 EXPR
664 M4_DEBUGFILE
665 HELP2MAN
666 PERL
667 TEST_EMACS
668 EMACS
669 EMACSLOADPATH
670 lispdir
671 GREP
672 EGREP
674 LIBOBJS
675 LTLIBOBJS'
676 ac_subst_files=''
677 ac_precious_vars='build_alias
678 host_alias
679 target_alias
680 EMACS
681 EMACSLOADPATH'
684 # Initialize some variables set by options.
685 ac_init_help=
686 ac_init_version=false
687 # The variables have the same names as the options, with
688 # dashes changed to underlines.
689 cache_file=/dev/null
690 exec_prefix=NONE
691 no_create=
692 no_recursion=
693 prefix=NONE
694 program_prefix=NONE
695 program_suffix=NONE
696 program_transform_name=s,x,x,
697 silent=
698 site=
699 srcdir=
700 verbose=
701 x_includes=NONE
702 x_libraries=NONE
704 # Installation directory options.
705 # These are left unexpanded so users can "make install exec_prefix=/foo"
706 # and all the variables that are supposed to be based on exec_prefix
707 # by default will actually change.
708 # Use braces instead of parens because sh, perl, etc. also accept them.
709 # (The list follows the same order as the GNU Coding Standards.)
710 bindir='${exec_prefix}/bin'
711 sbindir='${exec_prefix}/sbin'
712 libexecdir='${exec_prefix}/libexec'
713 datarootdir='${prefix}/share'
714 datadir='${datarootdir}'
715 sysconfdir='${prefix}/etc'
716 sharedstatedir='${prefix}/com'
717 localstatedir='${prefix}/var'
718 includedir='${prefix}/include'
719 oldincludedir='/usr/include'
720 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
721 infodir='${datarootdir}/info'
722 htmldir='${docdir}'
723 dvidir='${docdir}'
724 pdfdir='${docdir}'
725 psdir='${docdir}'
726 libdir='${exec_prefix}/lib'
727 localedir='${datarootdir}/locale'
728 mandir='${datarootdir}/man'
730 ac_prev=
731 ac_dashdash=
732 for ac_option
734 # If the previous option needs an argument, assign it.
735 if test -n "$ac_prev"; then
736 eval $ac_prev=\$ac_option
737 ac_prev=
738 continue
741 case $ac_option in
742 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
743 *) ac_optarg=yes ;;
744 esac
746 # Accept the important Cygnus configure options, so we can diagnose typos.
748 case $ac_dashdash$ac_option in
750 ac_dashdash=yes ;;
752 -bindir | --bindir | --bindi | --bind | --bin | --bi)
753 ac_prev=bindir ;;
754 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
755 bindir=$ac_optarg ;;
757 -build | --build | --buil | --bui | --bu)
758 ac_prev=build_alias ;;
759 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
760 build_alias=$ac_optarg ;;
762 -cache-file | --cache-file | --cache-fil | --cache-fi \
763 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
764 ac_prev=cache_file ;;
765 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
766 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
767 cache_file=$ac_optarg ;;
769 --config-cache | -C)
770 cache_file=config.cache ;;
772 -datadir | --datadir | --datadi | --datad)
773 ac_prev=datadir ;;
774 -datadir=* | --datadir=* | --datadi=* | --datad=*)
775 datadir=$ac_optarg ;;
777 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
778 | --dataroo | --dataro | --datar)
779 ac_prev=datarootdir ;;
780 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
781 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
782 datarootdir=$ac_optarg ;;
784 -disable-* | --disable-*)
785 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
788 { $as_echo "$as_me: error: invalid feature name: $ac_feature" >&2
789 { (exit 1); exit 1; }; }
790 ac_feature=`$as_echo "$ac_feature" | sed 's/[-.]/_/g'`
791 eval enable_$ac_feature=no ;;
793 -docdir | --docdir | --docdi | --doc | --do)
794 ac_prev=docdir ;;
795 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
796 docdir=$ac_optarg ;;
798 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
799 ac_prev=dvidir ;;
800 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
801 dvidir=$ac_optarg ;;
803 -enable-* | --enable-*)
804 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
805 # Reject names that are not valid shell variable names.
806 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
807 { $as_echo "$as_me: error: invalid feature name: $ac_feature" >&2
808 { (exit 1); exit 1; }; }
809 ac_feature=`$as_echo "$ac_feature" | sed 's/[-.]/_/g'`
810 eval enable_$ac_feature=\$ac_optarg ;;
812 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
813 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
814 | --exec | --exe | --ex)
815 ac_prev=exec_prefix ;;
816 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
817 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
818 | --exec=* | --exe=* | --ex=*)
819 exec_prefix=$ac_optarg ;;
821 -gas | --gas | --ga | --g)
822 # Obsolete; use --with-gas.
823 with_gas=yes ;;
825 -help | --help | --hel | --he | -h)
826 ac_init_help=long ;;
827 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
828 ac_init_help=recursive ;;
829 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
830 ac_init_help=short ;;
832 -host | --host | --hos | --ho)
833 ac_prev=host_alias ;;
834 -host=* | --host=* | --hos=* | --ho=*)
835 host_alias=$ac_optarg ;;
837 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
838 ac_prev=htmldir ;;
839 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
840 | --ht=*)
841 htmldir=$ac_optarg ;;
843 -includedir | --includedir | --includedi | --included | --include \
844 | --includ | --inclu | --incl | --inc)
845 ac_prev=includedir ;;
846 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
847 | --includ=* | --inclu=* | --incl=* | --inc=*)
848 includedir=$ac_optarg ;;
850 -infodir | --infodir | --infodi | --infod | --info | --inf)
851 ac_prev=infodir ;;
852 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
853 infodir=$ac_optarg ;;
855 -libdir | --libdir | --libdi | --libd)
856 ac_prev=libdir ;;
857 -libdir=* | --libdir=* | --libdi=* | --libd=*)
858 libdir=$ac_optarg ;;
860 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
861 | --libexe | --libex | --libe)
862 ac_prev=libexecdir ;;
863 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
864 | --libexe=* | --libex=* | --libe=*)
865 libexecdir=$ac_optarg ;;
867 -localedir | --localedir | --localedi | --localed | --locale)
868 ac_prev=localedir ;;
869 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
870 localedir=$ac_optarg ;;
872 -localstatedir | --localstatedir | --localstatedi | --localstated \
873 | --localstate | --localstat | --localsta | --localst | --locals)
874 ac_prev=localstatedir ;;
875 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
876 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
877 localstatedir=$ac_optarg ;;
879 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
880 ac_prev=mandir ;;
881 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
882 mandir=$ac_optarg ;;
884 -nfp | --nfp | --nf)
885 # Obsolete; use --without-fp.
886 with_fp=no ;;
888 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
889 | --no-cr | --no-c | -n)
890 no_create=yes ;;
892 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
893 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
894 no_recursion=yes ;;
896 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
897 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
898 | --oldin | --oldi | --old | --ol | --o)
899 ac_prev=oldincludedir ;;
900 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
901 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
902 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
903 oldincludedir=$ac_optarg ;;
905 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
906 ac_prev=prefix ;;
907 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
908 prefix=$ac_optarg ;;
910 -program-prefix | --program-prefix | --program-prefi | --program-pref \
911 | --program-pre | --program-pr | --program-p)
912 ac_prev=program_prefix ;;
913 -program-prefix=* | --program-prefix=* | --program-prefi=* \
914 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
915 program_prefix=$ac_optarg ;;
917 -program-suffix | --program-suffix | --program-suffi | --program-suff \
918 | --program-suf | --program-su | --program-s)
919 ac_prev=program_suffix ;;
920 -program-suffix=* | --program-suffix=* | --program-suffi=* \
921 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
922 program_suffix=$ac_optarg ;;
924 -program-transform-name | --program-transform-name \
925 | --program-transform-nam | --program-transform-na \
926 | --program-transform-n | --program-transform- \
927 | --program-transform | --program-transfor \
928 | --program-transfo | --program-transf \
929 | --program-trans | --program-tran \
930 | --progr-tra | --program-tr | --program-t)
931 ac_prev=program_transform_name ;;
932 -program-transform-name=* | --program-transform-name=* \
933 | --program-transform-nam=* | --program-transform-na=* \
934 | --program-transform-n=* | --program-transform-=* \
935 | --program-transform=* | --program-transfor=* \
936 | --program-transfo=* | --program-transf=* \
937 | --program-trans=* | --program-tran=* \
938 | --progr-tra=* | --program-tr=* | --program-t=*)
939 program_transform_name=$ac_optarg ;;
941 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
942 ac_prev=pdfdir ;;
943 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
944 pdfdir=$ac_optarg ;;
946 -psdir | --psdir | --psdi | --psd | --ps)
947 ac_prev=psdir ;;
948 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
949 psdir=$ac_optarg ;;
951 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
952 | -silent | --silent | --silen | --sile | --sil)
953 silent=yes ;;
955 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
956 ac_prev=sbindir ;;
957 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
958 | --sbi=* | --sb=*)
959 sbindir=$ac_optarg ;;
961 -sharedstatedir | --sharedstatedir | --sharedstatedi \
962 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
963 | --sharedst | --shareds | --shared | --share | --shar \
964 | --sha | --sh)
965 ac_prev=sharedstatedir ;;
966 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
967 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
968 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
969 | --sha=* | --sh=*)
970 sharedstatedir=$ac_optarg ;;
972 -site | --site | --sit)
973 ac_prev=site ;;
974 -site=* | --site=* | --sit=*)
975 site=$ac_optarg ;;
977 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
978 ac_prev=srcdir ;;
979 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
980 srcdir=$ac_optarg ;;
982 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
983 | --syscon | --sysco | --sysc | --sys | --sy)
984 ac_prev=sysconfdir ;;
985 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
986 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
987 sysconfdir=$ac_optarg ;;
989 -target | --target | --targe | --targ | --tar | --ta | --t)
990 ac_prev=target_alias ;;
991 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
992 target_alias=$ac_optarg ;;
994 -v | -verbose | --verbose | --verbos | --verbo | --verb)
995 verbose=yes ;;
997 -version | --version | --versio | --versi | --vers | -V)
998 ac_init_version=: ;;
1000 -with-* | --with-*)
1001 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1004 { $as_echo "$as_me: error: invalid package name: $ac_package" >&2
1005 { (exit 1); exit 1; }; }
1006 ac_package=`$as_echo "$ac_package" | sed 's/[-.]/_/g'`
1007 eval with_$ac_package=\$ac_optarg ;;
1009 -without-* | --without-*)
1010 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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=no ;;
1018 --x)
1019 # Obsolete; use --with-x.
1020 with_x=yes ;;
1022 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1023 | --x-incl | --x-inc | --x-in | --x-i)
1024 ac_prev=x_includes ;;
1025 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1026 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1027 x_includes=$ac_optarg ;;
1029 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1030 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1031 ac_prev=x_libraries ;;
1032 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1033 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1034 x_libraries=$ac_optarg ;;
1036 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1037 Try \`$0 --help' for more information." >&2
1038 { (exit 1); exit 1; }; }
1041 *=*)
1042 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1045 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1046 { (exit 1); exit 1; }; }
1047 eval $ac_envvar=\$ac_optarg
1048 export $ac_envvar ;;
1051 # FIXME: should be removed in autoconf 3.0.
1052 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1053 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1054 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1055 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1058 esac
1059 done
1061 if test -n "$ac_prev"; then
1062 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1063 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1064 { (exit 1); exit 1; }; }
1067 # Be sure to have absolute directory names.
1068 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1069 datadir sysconfdir sharedstatedir localstatedir includedir \
1070 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1071 libdir localedir mandir
1073 eval ac_val=\$$ac_var
1074 case $ac_val in
1075 [\\/$]* | ?:[\\/]* ) continue;;
1076 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1077 esac
1078 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1079 { (exit 1); exit 1; }; }
1080 done
1082 # There might be people who depend on the old broken behavior: `$host'
1083 # used to hold the argument of --host etc.
1084 # FIXME: To remove some day.
1085 build=$build_alias
1086 host=$host_alias
1087 target=$target_alias
1089 # FIXME: To remove some day.
1090 if test "x$host_alias" != x; then
1091 if test "x$build_alias" = x; then
1092 cross_compiling=maybe
1093 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1094 If a cross compiler is detected then cross compile mode will be used." >&2
1095 elif test "x$build_alias" != "x$host_alias"; then
1096 cross_compiling=yes
1100 ac_tool_prefix=
1101 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1103 test "$silent" = yes && exec 6>/dev/null
1106 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1107 ac_ls_di=`ls -di .` &&
1108 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1109 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1110 { (exit 1); exit 1; }; }
1111 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1112 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1113 { (exit 1); exit 1; }; }
1116 # Find the source files, if location was not specified.
1117 if test -z "$srcdir"; then
1118 ac_srcdir_defaulted=yes
1119 # Try the directory containing this script, then the parent directory.
1120 ac_confdir=`$as_dirname -- "$0" ||
1121 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1122 X"$0" : 'X\(//\)[^/]' \| \
1123 X"$0" : 'X\(//\)$' \| \
1124 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1125 $as_echo X"$0" |
1126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1127 s//\1/
1130 /^X\(\/\/\)[^/].*/{
1131 s//\1/
1134 /^X\(\/\/\)$/{
1135 s//\1/
1138 /^X\(\/\).*/{
1139 s//\1/
1142 s/.*/./; q'`
1143 srcdir=$ac_confdir
1144 if test ! -r "$srcdir/$ac_unique_file"; then
1145 srcdir=..
1147 else
1148 ac_srcdir_defaulted=no
1150 if test ! -r "$srcdir/$ac_unique_file"; then
1151 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1152 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1153 { (exit 1); exit 1; }; }
1155 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1156 ac_abs_confdir=`(
1157 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1158 { (exit 1); exit 1; }; }
1159 pwd)`
1160 # When building in place, set srcdir=.
1161 if test "$ac_abs_confdir" = "$ac_pwd"; then
1162 srcdir=.
1164 # Remove unnecessary trailing slashes from srcdir.
1165 # Double slashes in file names in object file debugging info
1166 # mess up M-x gdb in Emacs.
1167 case $srcdir in
1168 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1169 esac
1170 for ac_var in $ac_precious_vars; do
1171 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1172 eval ac_env_${ac_var}_value=\$${ac_var}
1173 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1174 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1175 done
1178 # Report the --help message.
1180 if test "$ac_init_help" = "long"; then
1181 # Omit some internal or obsolete options to make the list less imposing.
1182 # This message is too long to be a string in the A/UX 3.1 sh.
1183 cat <<_ACEOF
1184 \`configure' configures GNU Autoconf 2.61a to adapt to many kinds of systems.
1186 Usage: $0 [OPTION]... [VAR=VALUE]...
1188 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1189 VAR=VALUE. See below for descriptions of some of the useful variables.
1191 Defaults for the options are specified in brackets.
1193 Configuration:
1194 -h, --help display this help and exit
1195 --help=short display options specific to this package
1196 --help=recursive display the short help of all the included packages
1197 -V, --version display version information and exit
1198 -q, --quiet, --silent do not print \`checking...' messages
1199 --cache-file=FILE cache test results in FILE [disabled]
1200 -C, --config-cache alias for \`--cache-file=config.cache'
1201 -n, --no-create do not create output files
1202 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1204 Installation directories:
1205 --prefix=PREFIX install architecture-independent files in PREFIX
1206 [$ac_default_prefix]
1207 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1208 [PREFIX]
1210 By default, \`make install' will install all the files in
1211 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1212 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1213 for instance \`--prefix=\$HOME'.
1215 For better control, use the options below.
1217 Fine tuning of the installation directories:
1218 --bindir=DIR user executables [EPREFIX/bin]
1219 --sbindir=DIR system admin executables [EPREFIX/sbin]
1220 --libexecdir=DIR program executables [EPREFIX/libexec]
1221 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1222 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1223 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1224 --libdir=DIR object code libraries [EPREFIX/lib]
1225 --includedir=DIR C header files [PREFIX/include]
1226 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1227 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1228 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1229 --infodir=DIR info documentation [DATAROOTDIR/info]
1230 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1231 --mandir=DIR man documentation [DATAROOTDIR/man]
1232 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1233 --htmldir=DIR html documentation [DOCDIR]
1234 --dvidir=DIR dvi documentation [DOCDIR]
1235 --pdfdir=DIR pdf documentation [DOCDIR]
1236 --psdir=DIR ps documentation [DOCDIR]
1237 _ACEOF
1239 cat <<\_ACEOF
1241 Program names:
1242 --program-prefix=PREFIX prepend PREFIX to installed program names
1243 --program-suffix=SUFFIX append SUFFIX to installed program names
1244 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1245 _ACEOF
1248 if test -n "$ac_init_help"; then
1249 case $ac_init_help in
1250 short | recursive ) echo "Configuration of GNU Autoconf 2.61a:";;
1251 esac
1252 cat <<\_ACEOF
1254 Optional Packages:
1255 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1256 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1257 --with-lispdir override the default lisp directory
1259 Some influential environment variables:
1260 EMACS the Emacs editor command
1261 EMACSLOADPATH
1262 the Emacs library search path
1264 Use these variables to override the choices made by `configure' or to help
1265 it to find libraries and programs with nonstandard names/locations.
1267 Report bugs to <bug-autoconf@gnu.org>.
1268 _ACEOF
1269 ac_status=$?
1272 if test "$ac_init_help" = "recursive"; then
1273 # If there are subdirs, report their specific --help.
1274 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1275 test -d "$ac_dir" || continue
1276 ac_builddir=.
1278 case "$ac_dir" in
1279 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1281 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
1282 # A ".." for each directory in $ac_dir_suffix.
1283 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1284 case $ac_top_builddir_sub in
1285 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1286 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1287 esac ;;
1288 esac
1289 ac_abs_top_builddir=$ac_pwd
1290 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1291 # for backward compatibility:
1292 ac_top_builddir=$ac_top_build_prefix
1294 case $srcdir in
1295 .) # We are building in place.
1296 ac_srcdir=.
1297 ac_top_srcdir=$ac_top_builddir_sub
1298 ac_abs_top_srcdir=$ac_pwd ;;
1299 [\\/]* | ?:[\\/]* ) # Absolute name.
1300 ac_srcdir=$srcdir$ac_dir_suffix;
1301 ac_top_srcdir=$srcdir
1302 ac_abs_top_srcdir=$srcdir ;;
1303 *) # Relative name.
1304 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1305 ac_top_srcdir=$ac_top_build_prefix$srcdir
1306 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1307 esac
1308 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1310 cd "$ac_dir" || { ac_status=$?; continue; }
1311 # Check for guested configure.
1312 if test -f "$ac_srcdir/configure.gnu"; then
1313 echo &&
1314 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1315 elif test -f "$ac_srcdir/configure"; then
1316 echo &&
1317 $SHELL "$ac_srcdir/configure" --help=recursive
1318 else
1319 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1320 fi || ac_status=$?
1321 cd "$ac_pwd" || { ac_status=$?; break; }
1322 done
1325 test -n "$ac_init_help" && exit $ac_status
1326 if $ac_init_version; then
1327 cat <<\_ACEOF
1328 GNU Autoconf configure 2.61a
1329 generated by GNU Autoconf 2.61a
1331 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1332 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1333 This configure script is free software; the Free Software Foundation
1334 gives unlimited permission to copy, distribute and modify it.
1335 _ACEOF
1336 exit
1338 cat >config.log <<_ACEOF
1339 This file contains any messages produced by compilers while
1340 running configure, to aid debugging if configure makes a mistake.
1342 It was created by GNU Autoconf $as_me 2.61a, which was
1343 generated by GNU Autoconf 2.61a. Invocation command line was
1345 $ $0 $@
1347 _ACEOF
1348 exec 5>>config.log
1350 cat <<_ASUNAME
1351 ## --------- ##
1352 ## Platform. ##
1353 ## --------- ##
1355 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1356 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1357 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1358 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1359 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1361 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1362 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1364 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1365 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1366 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1367 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1368 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1369 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1370 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1372 _ASUNAME
1374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1375 for as_dir in $PATH
1377 IFS=$as_save_IFS
1378 test -z "$as_dir" && as_dir=.
1379 $as_echo "PATH: $as_dir"
1380 done
1381 IFS=$as_save_IFS
1383 } >&5
1385 cat >&5 <<_ACEOF
1388 ## ----------- ##
1389 ## Core tests. ##
1390 ## ----------- ##
1392 _ACEOF
1395 # Keep a trace of the command line.
1396 # Strip out --no-create and --no-recursion so they do not pile up.
1397 # Strip out --silent because we don't want to record it for future runs.
1398 # Also quote any args containing shell meta-characters.
1399 # Make two passes to allow for proper duplicate-argument suppression.
1400 ac_configure_args=
1401 ac_configure_args0=
1402 ac_configure_args1=
1403 ac_must_keep_next=false
1404 for ac_pass in 1 2
1406 for ac_arg
1408 case $ac_arg in
1409 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1410 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1411 | -silent | --silent | --silen | --sile | --sil)
1412 continue ;;
1413 *\'*)
1414 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1415 esac
1416 case $ac_pass in
1417 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1419 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1420 if test $ac_must_keep_next = true; then
1421 ac_must_keep_next=false # Got value, back to normal.
1422 else
1423 case $ac_arg in
1424 *=* | --config-cache | -C | -disable-* | --disable-* \
1425 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1426 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1427 | -with-* | --with-* | -without-* | --without-* | --x)
1428 case "$ac_configure_args0 " in
1429 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1430 esac
1432 -* ) ac_must_keep_next=true ;;
1433 esac
1435 ac_configure_args="$ac_configure_args '$ac_arg'"
1437 esac
1438 done
1439 done
1440 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1441 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1443 # When interrupted or exit'd, cleanup temporary files, and complete
1444 # config.log. We remove comments because anyway the quotes in there
1445 # would cause problems or look ugly.
1446 # WARNING: Use '\'' to represent an apostrophe within the trap.
1447 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1448 trap 'exit_status=$?
1449 # Save into config.log some information that might help in debugging.
1451 echo
1453 cat <<\_ASBOX
1454 ## ---------------- ##
1455 ## Cache variables. ##
1456 ## ---------------- ##
1457 _ASBOX
1458 echo
1459 # The following way of writing the cache mishandles newlines in values,
1461 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1462 eval ac_val=\$$ac_var
1463 case $ac_val in #(
1464 *${as_nl}*)
1465 case $ac_var in #(
1466 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1467 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1468 esac
1469 case $ac_var in #(
1470 _ | IFS | as_nl) ;; #(
1471 *) $as_unset $ac_var ;;
1472 esac ;;
1473 esac
1474 done
1475 (set) 2>&1 |
1476 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1477 *${as_nl}ac_space=\ *)
1478 sed -n \
1479 "s/'\''/'\''\\\\'\'''\''/g;
1480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1481 ;; #(
1483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1485 esac |
1486 sort
1488 echo
1490 cat <<\_ASBOX
1491 ## ----------------- ##
1492 ## Output variables. ##
1493 ## ----------------- ##
1494 _ASBOX
1495 echo
1496 for ac_var in $ac_subst_vars
1498 eval ac_val=\$$ac_var
1499 case $ac_val in
1500 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1501 esac
1502 $as_echo "$ac_var='\''$ac_val'\''"
1503 done | sort
1504 echo
1506 if test -n "$ac_subst_files"; then
1507 cat <<\_ASBOX
1508 ## ------------------- ##
1509 ## File substitutions. ##
1510 ## ------------------- ##
1511 _ASBOX
1512 echo
1513 for ac_var in $ac_subst_files
1515 eval ac_val=\$$ac_var
1516 case $ac_val in
1517 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1518 esac
1519 $as_echo "$ac_var='\''$ac_val'\''"
1520 done | sort
1521 echo
1524 if test -s confdefs.h; then
1525 cat <<\_ASBOX
1526 ## ----------- ##
1527 ## confdefs.h. ##
1528 ## ----------- ##
1529 _ASBOX
1530 echo
1531 cat confdefs.h
1532 echo
1534 test "$ac_signal" != 0 &&
1535 $as_echo "$as_me: caught signal $ac_signal"
1536 $as_echo "$as_me: exit $exit_status"
1537 } >&5
1538 rm -f core *.core core.conftest.* &&
1539 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1540 exit $exit_status
1542 for ac_signal in 1 2 13 15; do
1543 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1544 done
1545 ac_signal=0
1547 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1548 rm -f -r conftest* confdefs.h
1550 # Predefined preprocessor variables.
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_NAME "$PACKAGE_NAME"
1554 _ACEOF
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1559 _ACEOF
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1564 _ACEOF
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_STRING "$PACKAGE_STRING"
1569 _ACEOF
1572 cat >>confdefs.h <<_ACEOF
1573 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1574 _ACEOF
1577 # Let the site file select an alternate cache file if it wants to.
1578 # Prefer explicitly selected file to automatically selected ones.
1579 if test -n "$CONFIG_SITE"; then
1580 set x "$CONFIG_SITE"
1581 elif test "x$prefix" != xNONE; then
1582 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1583 else
1584 set x "$ac_default_prefix/share/config.site" \
1585 "$ac_default_prefix/etc/config.site"
1587 shift
1588 for ac_site_file
1590 if test -r "$ac_site_file"; then
1591 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1592 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1593 sed 's/^/| /' "$ac_site_file" >&5
1594 . "$ac_site_file"
1596 done
1598 if test -r "$cache_file"; then
1599 # Some versions of bash will fail to source /dev/null (special
1600 # files actually), so we avoid doing that.
1601 if test -f "$cache_file"; then
1602 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1603 $as_echo "$as_me: loading cache $cache_file" >&6;}
1604 case $cache_file in
1605 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1606 *) . "./$cache_file";;
1607 esac
1609 else
1610 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1611 $as_echo "$as_me: creating cache $cache_file" >&6;}
1612 >$cache_file
1615 # Check that the precious variables saved in the cache have kept the same
1616 # value.
1617 ac_cache_corrupted=false
1618 for ac_var in $ac_precious_vars; do
1619 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1620 eval ac_new_set=\$ac_env_${ac_var}_set
1621 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1622 eval ac_new_val=\$ac_env_${ac_var}_value
1623 case $ac_old_set,$ac_new_set in
1624 set,)
1625 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1626 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1627 ac_cache_corrupted=: ;;
1628 ,set)
1629 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1630 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1631 ac_cache_corrupted=: ;;
1632 ,);;
1634 if test "x$ac_old_val" != "x$ac_new_val"; then
1635 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1636 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1637 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1638 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1639 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1640 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1641 ac_cache_corrupted=:
1642 fi;;
1643 esac
1644 # Pass precious variables to config.status.
1645 if test "$ac_new_set" = set; then
1646 case $ac_new_val in
1647 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1648 *) ac_arg=$ac_var=$ac_new_val ;;
1649 esac
1650 case " $ac_configure_args " in
1651 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1652 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1653 esac
1655 done
1656 if $ac_cache_corrupted; then
1657 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1658 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1659 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1660 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1661 { (exit 1); exit 1; }; }
1688 ac_ext=c
1689 ac_cpp='$CPP $CPPFLAGS'
1690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1697 ac_aux_dir=
1698 for ac_dir in build-aux "$srcdir"/build-aux; do
1699 if test -f "$ac_dir/install-sh"; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install-sh -c"
1702 break
1703 elif test -f "$ac_dir/install.sh"; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/install.sh -c"
1706 break
1707 elif test -f "$ac_dir/shtool"; then
1708 ac_aux_dir=$ac_dir
1709 ac_install_sh="$ac_aux_dir/shtool install -c"
1710 break
1712 done
1713 if test -z "$ac_aux_dir"; then
1714 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1715 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1716 { (exit 1); exit 1; }; }
1719 # These three variables are undocumented and unsupported,
1720 # and are intended to be withdrawn in a future Autoconf release.
1721 # They can cause serious problems if a builder's source tree is in a directory
1722 # whose full name contains unusual characters.
1723 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1724 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1725 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1729 am__api_version='1.10'
1731 # Find a good install program. We prefer a C program (faster),
1732 # so one script is as good as another. But avoid the broken or
1733 # incompatible versions:
1734 # SysV /etc/install, /usr/sbin/install
1735 # SunOS /usr/etc/install
1736 # IRIX /sbin/install
1737 # AIX /bin/install
1738 # AmigaOS /C/install, which installs bootblocks on floppy discs
1739 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1740 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1741 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1742 # OS/2's system install, which has a completely different semantic
1743 # ./install, which can be erroneously created by make from ./install.sh.
1744 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1745 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1746 if test -z "$INSTALL"; then
1747 if test "${ac_cv_path_install+set}" = set; then
1748 $as_echo_n "(cached) " >&6
1749 else
1750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1751 for as_dir in $PATH
1753 IFS=$as_save_IFS
1754 test -z "$as_dir" && as_dir=.
1755 # Account for people who put trailing slashes in PATH elements.
1756 case $as_dir/ in
1757 ./ | .// | /cC/* | \
1758 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1759 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1760 /usr/ucb/* ) ;;
1762 # OSF1 and SCO ODT 3.0 have their own names for install.
1763 # Don't use installbsd from OSF since it installs stuff as root
1764 # by default.
1765 for ac_prog in ginstall scoinst install; do
1766 for ac_exec_ext in '' $ac_executable_extensions; do
1767 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1768 if test $ac_prog = install &&
1769 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1770 # AIX install. It has an incompatible calling convention.
1772 elif test $ac_prog = install &&
1773 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1774 # program-specific install script used by HP pwplus--don't use.
1776 else
1777 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1778 break 3
1781 done
1782 done
1784 esac
1785 done
1786 IFS=$as_save_IFS
1790 if test "${ac_cv_path_install+set}" = set; then
1791 INSTALL=$ac_cv_path_install
1792 else
1793 # As a last resort, use the slow shell script. Don't cache a
1794 # value for INSTALL within a source directory, because that will
1795 # break other packages using the cache if that directory is
1796 # removed, or if the value is a relative name.
1797 INSTALL=$ac_install_sh
1800 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1801 $as_echo "$INSTALL" >&6; }
1803 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1804 # It thinks the first close brace ends the variable substitution.
1805 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1807 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1809 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1811 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1812 $as_echo_n "checking whether build environment is sane... " >&6; }
1813 # Just in case
1814 sleep 1
1815 echo timestamp > conftest.file
1816 # Do `set' in a subshell so we don't clobber the current shell's
1817 # arguments. Must try -L first in case configure is actually a
1818 # symlink; some systems play weird games with the mod time of symlinks
1819 # (eg FreeBSD returns the mod time of the symlink's containing
1820 # directory).
1821 if (
1822 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1823 if test "$*" = "X"; then
1824 # -L didn't work.
1825 set X `ls -t $srcdir/configure conftest.file`
1827 rm -f conftest.file
1828 if test "$*" != "X $srcdir/configure conftest.file" \
1829 && test "$*" != "X conftest.file $srcdir/configure"; then
1831 # If neither matched, then we have a broken ls. This can happen
1832 # if, for instance, CONFIG_SHELL is bash and it inherits a
1833 # broken ls alias from the environment. This has actually
1834 # happened. Such a system could not be considered "sane".
1835 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1836 alias in your environment" >&5
1837 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1838 alias in your environment" >&2;}
1839 { (exit 1); exit 1; }; }
1842 test "$2" = conftest.file
1844 then
1845 # Ok.
1847 else
1848 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1849 Check your system clock" >&5
1850 $as_echo "$as_me: error: newly created file is older than distributed files!
1851 Check your system clock" >&2;}
1852 { (exit 1); exit 1; }; }
1854 { $as_echo "$as_me:$LINENO: result: yes" >&5
1855 $as_echo "yes" >&6; }
1856 test "$program_prefix" != NONE &&
1857 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1858 # Use a double $ so make ignores it.
1859 test "$program_suffix" != NONE &&
1860 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1861 # Double any \ or $.
1862 # By default was `s,x,x', remove it if useless.
1863 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1864 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1866 # expand $ac_aux_dir to an absolute path
1867 am_aux_dir=`cd $ac_aux_dir && pwd`
1869 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1870 # Use eval to expand $SHELL
1871 if eval "$MISSING --run true"; then
1872 am_missing_run="$MISSING --run "
1873 else
1874 am_missing_run=
1875 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1876 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1879 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1880 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1881 if test -z "$MKDIR_P"; then
1882 if test "${ac_cv_path_mkdir+set}" = set; then
1883 $as_echo_n "(cached) " >&6
1884 else
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1888 IFS=$as_save_IFS
1889 test -z "$as_dir" && as_dir=.
1890 for ac_prog in mkdir gmkdir; do
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1893 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1894 'mkdir (GNU coreutils) '* | \
1895 'mkdir (coreutils) '* | \
1896 'mkdir (fileutils) '4.1*)
1897 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1898 break 3;;
1899 esac
1900 done
1901 done
1902 done
1903 IFS=$as_save_IFS
1907 if test "${ac_cv_path_mkdir+set}" = set; then
1908 MKDIR_P="$ac_cv_path_mkdir -p"
1909 else
1910 # As a last resort, use the slow shell script. Don't cache a
1911 # value for MKDIR_P within a source directory, because that will
1912 # break other packages using the cache if that directory is
1913 # removed, or if the value is a relative name.
1914 test -d ./--version && rmdir ./--version
1915 MKDIR_P="$ac_install_sh -d"
1918 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1919 $as_echo "$MKDIR_P" >&6; }
1921 mkdir_p="$MKDIR_P"
1922 case $mkdir_p in
1923 [\\/$]* | ?:[\\/]*) ;;
1924 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1925 esac
1927 for ac_prog in gawk mawk nawk awk
1929 # Extract the first word of "$ac_prog", so it can be a program name with args.
1930 set dummy $ac_prog; ac_word=$2
1931 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1932 $as_echo_n "checking for $ac_word... " >&6; }
1933 if test "${ac_cv_prog_AWK+set}" = set; then
1934 $as_echo_n "(cached) " >&6
1935 else
1936 if test -n "$AWK"; then
1937 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1938 else
1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940 for as_dir in $PATH
1942 IFS=$as_save_IFS
1943 test -z "$as_dir" && as_dir=.
1944 for ac_exec_ext in '' $ac_executable_extensions; do
1945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1946 ac_cv_prog_AWK="$ac_prog"
1947 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 break 2
1950 done
1951 done
1952 IFS=$as_save_IFS
1956 AWK=$ac_cv_prog_AWK
1957 if test -n "$AWK"; then
1958 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
1959 $as_echo "$AWK" >&6; }
1960 else
1961 { $as_echo "$as_me:$LINENO: result: no" >&5
1962 $as_echo "no" >&6; }
1966 test -n "$AWK" && break
1967 done
1969 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1970 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1971 set x ${MAKE-make}
1972 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1973 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1974 $as_echo_n "(cached) " >&6
1975 else
1976 cat >conftest.make <<\_ACEOF
1977 SHELL = /bin/sh
1978 all:
1979 @echo '@@@%%%=$(MAKE)=@@@%%%'
1980 _ACEOF
1981 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1982 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1983 *@@@%%%=?*=@@@%%%*)
1984 eval ac_cv_prog_make_${ac_make}_set=yes;;
1986 eval ac_cv_prog_make_${ac_make}_set=no;;
1987 esac
1988 rm -f conftest.make
1990 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1991 { $as_echo "$as_me:$LINENO: result: yes" >&5
1992 $as_echo "yes" >&6; }
1993 SET_MAKE=
1994 else
1995 { $as_echo "$as_me:$LINENO: result: no" >&5
1996 $as_echo "no" >&6; }
1997 SET_MAKE="MAKE=${MAKE-make}"
2000 rm -rf .tst 2>/dev/null
2001 mkdir .tst 2>/dev/null
2002 if test -d .tst; then
2003 am__leading_dot=.
2004 else
2005 am__leading_dot=_
2007 rmdir .tst 2>/dev/null
2009 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2010 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2011 # is not polluted with repeated "-I."
2012 am__isrc=' -I$(srcdir)'
2013 # test to see if srcdir already configured
2014 if test -f $srcdir/config.status; then
2015 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2016 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2017 { (exit 1); exit 1; }; }
2021 # test whether we have cygpath
2022 if test -z "$CYGPATH_W"; then
2023 if (cygpath --version) >/dev/null 2>/dev/null; then
2024 CYGPATH_W='cygpath -w'
2025 else
2026 CYGPATH_W=echo
2031 # Define the identity of the package.
2032 PACKAGE='autoconf'
2033 VERSION='2.61a'
2036 cat >>confdefs.h <<_ACEOF
2037 #define PACKAGE "$PACKAGE"
2038 _ACEOF
2041 cat >>confdefs.h <<_ACEOF
2042 #define VERSION "$VERSION"
2043 _ACEOF
2045 # Some tools Automake needs.
2047 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2050 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2053 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2056 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2059 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2061 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2063 # Installed binaries are usually stripped using `strip' when the user
2064 # run `make install-strip'. However `strip' might not be the right
2065 # tool to use in cross-compilation environments, therefore Automake
2066 # will honor the `STRIP' environment variable to overrule this program.
2067 if test "$cross_compiling" != no; then
2068 if test -n "$ac_tool_prefix"; then
2069 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2070 set dummy ${ac_tool_prefix}strip; ac_word=$2
2071 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 $as_echo_n "checking for $ac_word... " >&6; }
2073 if test "${ac_cv_prog_STRIP+set}" = set; then
2074 $as_echo_n "(cached) " >&6
2075 else
2076 if test -n "$STRIP"; then
2077 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2078 else
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 for as_dir in $PATH
2082 IFS=$as_save_IFS
2083 test -z "$as_dir" && as_dir=.
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2087 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 break 2
2090 done
2091 done
2092 IFS=$as_save_IFS
2096 STRIP=$ac_cv_prog_STRIP
2097 if test -n "$STRIP"; then
2098 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2099 $as_echo "$STRIP" >&6; }
2100 else
2101 { $as_echo "$as_me:$LINENO: result: no" >&5
2102 $as_echo "no" >&6; }
2107 if test -z "$ac_cv_prog_STRIP"; then
2108 ac_ct_STRIP=$STRIP
2109 # Extract the first word of "strip", so it can be a program name with args.
2110 set dummy strip; ac_word=$2
2111 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2112 $as_echo_n "checking for $ac_word... " >&6; }
2113 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2114 $as_echo_n "(cached) " >&6
2115 else
2116 if test -n "$ac_ct_STRIP"; then
2117 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2118 else
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 for as_dir in $PATH
2122 IFS=$as_save_IFS
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 ac_cv_prog_ac_ct_STRIP="strip"
2127 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 break 2
2130 done
2131 done
2132 IFS=$as_save_IFS
2136 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2137 if test -n "$ac_ct_STRIP"; then
2138 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2139 $as_echo "$ac_ct_STRIP" >&6; }
2140 else
2141 { $as_echo "$as_me:$LINENO: result: no" >&5
2142 $as_echo "no" >&6; }
2145 if test "x$ac_ct_STRIP" = x; then
2146 STRIP=":"
2147 else
2148 case $cross_compiling:$ac_tool_warned in
2149 yes:)
2150 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&5
2153 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2154 whose name does not start with the host triplet. If you think this
2155 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2156 ac_tool_warned=yes ;;
2157 esac
2158 STRIP=$ac_ct_STRIP
2160 else
2161 STRIP="$ac_cv_prog_STRIP"
2165 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2167 # We need awk for the "check" target. The system "awk" is bad on
2168 # some platforms.
2169 # Always define AMTAR for backward compatibility.
2171 AMTAR=${AMTAR-"${am_missing_run}tar"}
2173 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2180 # We use `/bin/sh -n script' to check that there are no syntax errors
2181 # in the scripts. Although incredible, there are /bin/sh that go into
2182 # endless loops with `-n', e.g., SunOS's:
2184 # $ uname -a
2185 # SunOS ondine 4.1.3 2 sun4m unknown
2186 # $ cat endless.sh
2187 # while false
2188 # do
2190 # done
2191 # exit 0
2192 # $ time sh endless.sh
2193 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2194 # $ time sh -nx endless.sh
2195 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2197 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2198 # that they are unusable on large scripts like our testsuite.
2200 # So before using `/bin/sh -n' to check our scripts, we first check
2201 # that `/bin/sh -n' is known to not have these problems.
2203 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2204 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2205 if test "${ac_cv_sh_n_works+set}" = set; then
2206 $as_echo_n "(cached) " >&6
2207 else
2208 if (
2209 unset BASH_VERSION ZSH_VERSION
2210 /bin/sh -c '
2211 test -n "${BASH_VERSION+set}" || # Bash
2212 test -n "${KSH_VERSION+set}" || # pdksh
2213 test -n "${ZSH_VERSION+set}" || # zsh
2214 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2216 ) 2>/dev/null
2217 then ac_cv_sh_n_works=yes
2218 else ac_cv_sh_n_works=no
2222 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2223 $as_echo "$ac_cv_sh_n_works" >&6; }
2226 # Initialize the test suite.
2227 ac_config_commands="$ac_config_commands tests/atconfig"
2230 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2232 # Extract the first word of "expr", so it can be a program name with args.
2233 set dummy expr; ac_word=$2
2234 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2235 $as_echo_n "checking for $ac_word... " >&6; }
2236 if test "${ac_cv_path_EXPR+set}" = set; then
2237 $as_echo_n "(cached) " >&6
2238 else
2239 case $EXPR in
2240 [\\/]* | ?:[\\/]*)
2241 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245 for as_dir in $PATH
2247 IFS=$as_save_IFS
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2252 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 break 2
2255 done
2256 done
2257 IFS=$as_save_IFS
2260 esac
2262 EXPR=$ac_cv_path_EXPR
2263 if test -n "$EXPR"; then
2264 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2265 $as_echo "$EXPR" >&6; }
2266 else
2267 { $as_echo "$as_me:$LINENO: result: no" >&5
2268 $as_echo "no" >&6; }
2274 ## ---- ##
2275 ## M4. ##
2276 ## ---- ##
2278 # We use an absolute name for GNU m4 so even if users have another m4 first in
2279 # their path, the installer can configure with a path that has GNU m4
2280 # first and get that path embedded in the installed autoconf and
2281 # autoheader scripts.
2282 for ac_prog in gm4 gnum4 m4
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 $as_echo_n "checking for $ac_word... " >&6; }
2288 if test "${ac_cv_path_M4+set}" = set; then
2289 $as_echo_n "(cached) " >&6
2290 else
2291 case $M4 in
2292 [\\/]* | ?:[\\/]*)
2293 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 for as_dir in $PATH
2299 IFS=$as_save_IFS
2300 test -z "$as_dir" && as_dir=.
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2304 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 break 2
2307 done
2308 done
2309 IFS=$as_save_IFS
2312 esac
2314 M4=$ac_cv_path_M4
2315 if test -n "$M4"; then
2316 { $as_echo "$as_me:$LINENO: result: $M4" >&5
2317 $as_echo "$M4" >&6; }
2318 else
2319 { $as_echo "$as_me:$LINENO: result: no" >&5
2320 $as_echo "no" >&6; }
2324 test -n "$M4" && break
2325 done
2326 test -n "$M4" || M4="m4"
2328 { $as_echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2329 $as_echo_n "checking whether m4 supports frozen files... " >&6; }
2330 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2331 $as_echo_n "(cached) " >&6
2332 else
2333 ac_cv_prog_gnu_m4=no
2334 if test x"$M4" != x; then
2335 case `$M4 --help < /dev/null 2>&1` in
2336 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2337 esac
2340 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2341 $as_echo "$ac_cv_prog_gnu_m4" >&6; }
2342 if test $ac_cv_prog_gnu_m4 = yes ; then
2343 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2344 $as_echo_n "checking how m4 supports trace files... " >&6; }
2345 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2346 $as_echo_n "(cached) " >&6
2347 else
2348 case `$M4 --help < /dev/null 2>&1` in
2349 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2350 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2351 esac
2353 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2354 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2355 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2359 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2360 { { $as_echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2361 $as_echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2362 { (exit 1); exit 1; }; }
2365 ## ----------- ##
2366 ## Man pages. ##
2367 ## ----------- ##
2369 ac_config_files="$ac_config_files man/Makefile"
2372 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2376 ## ------ ##
2377 ## Perl. ##
2378 ## ------ ##
2380 # We use an absolute name for perl so the #! line in autoscan will work.
2381 # Extract the first word of "perl", so it can be a program name with args.
2382 set dummy perl; ac_word=$2
2383 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2384 $as_echo_n "checking for $ac_word... " >&6; }
2385 if test "${ac_cv_path_PERL+set}" = set; then
2386 $as_echo_n "(cached) " >&6
2387 else
2388 case $PERL in
2389 [\\/]* | ?:[\\/]*)
2390 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 for as_dir in $PATH
2396 IFS=$as_save_IFS
2397 test -z "$as_dir" && as_dir=.
2398 for ac_exec_ext in '' $ac_executable_extensions; do
2399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2400 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2401 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 break 2
2404 done
2405 done
2406 IFS=$as_save_IFS
2408 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2410 esac
2412 PERL=$ac_cv_path_PERL
2413 if test -n "$PERL"; then
2414 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2415 $as_echo "$PERL" >&6; }
2416 else
2417 { $as_echo "$as_me:$LINENO: result: no" >&5
2418 $as_echo "no" >&6; }
2422 if test "$PERL" = no; then
2423 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2424 $as_echo "$as_me: error: perl is not found" >&2;}
2425 { (exit 1); exit 1; }; }
2427 $PERL -e 'require 5.005_03;' || {
2428 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2429 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2430 { (exit 1); exit 1; }; }
2434 ## ------- ##
2435 ## Emacs. ##
2436 ## ------- ##
2438 ac_config_files="$ac_config_files lib/emacs/Makefile"
2440 TEST_EMACS=$EMACS
2441 test x"$TEST_EMACS" = xt && TEST_EMACS=
2442 for ac_prog in emacs xemacs
2444 # Extract the first word of "$ac_prog", so it can be a program name with args.
2445 set dummy $ac_prog; ac_word=$2
2446 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2447 $as_echo_n "checking for $ac_word... " >&6; }
2448 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2449 $as_echo_n "(cached) " >&6
2450 else
2451 if test -n "$TEST_EMACS"; then
2452 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2453 else
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 for as_dir in $PATH
2457 IFS=$as_save_IFS
2458 test -z "$as_dir" && as_dir=.
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2461 ac_cv_prog_TEST_EMACS="$ac_prog"
2462 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 break 2
2465 done
2466 done
2467 IFS=$as_save_IFS
2471 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2472 if test -n "$TEST_EMACS"; then
2473 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2474 $as_echo "$TEST_EMACS" >&6; }
2475 else
2476 { $as_echo "$as_me:$LINENO: result: no" >&5
2477 $as_echo "no" >&6; }
2481 test -n "$TEST_EMACS" && break
2482 done
2483 test -n "$TEST_EMACS" || TEST_EMACS="no"
2486 # autoconf-mode.el and autotest-mode.el do not work with older version of
2487 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2488 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2489 # We detect this problem here.
2490 if test "$TEST_EMACS" != no; then
2491 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2492 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2493 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2494 $as_echo_n "(cached) " >&6
2495 else
2496 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2497 cat >conftest.el << "EOF"
2498 (defvar broken)
2499 (defun broken-mode () (setq broken-defaults `(broken nil)))
2501 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2502 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2503 ac_status=$?
2504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); }; then
2506 ac_cv_prog_emacs_ok=yes
2507 else
2508 ac_cv_prog_emacs_ok=no
2511 rm -f conftest.el conftest.elc
2513 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2514 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2515 if test $ac_cv_prog_emacs_ok = no; then
2516 TEST_EMACS=no
2522 EMACS=$TEST_EMACS
2525 # If set to t, that means we are running in a shell under Emacs.
2526 # If you have an Emacs named "t", then use the full path.
2527 test x"$EMACS" = xt && EMACS=
2528 for ac_prog in emacs xemacs
2530 # Extract the first word of "$ac_prog", so it can be a program name with args.
2531 set dummy $ac_prog; ac_word=$2
2532 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 $as_echo_n "checking for $ac_word... " >&6; }
2534 if test "${ac_cv_prog_EMACS+set}" = set; then
2535 $as_echo_n "(cached) " >&6
2536 else
2537 if test -n "$EMACS"; then
2538 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2539 else
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 for as_dir in $PATH
2543 IFS=$as_save_IFS
2544 test -z "$as_dir" && as_dir=.
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_EMACS="$ac_prog"
2548 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 break 2
2551 done
2552 done
2553 IFS=$as_save_IFS
2557 EMACS=$ac_cv_prog_EMACS
2558 if test -n "$EMACS"; then
2559 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2560 $as_echo "$EMACS" >&6; }
2561 else
2562 { $as_echo "$as_me:$LINENO: result: no" >&5
2563 $as_echo "no" >&6; }
2567 test -n "$EMACS" && break
2568 done
2569 test -n "$EMACS" || EMACS="no"
2574 # Check whether --with-lispdir was given.
2575 if test "${with_lispdir+set}" = set; then
2576 withval=$with_lispdir; lispdir="$withval"
2577 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2578 $as_echo_n "checking where .elc files should go... " >&6; }
2579 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2580 $as_echo "$lispdir" >&6; }
2581 else
2583 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2584 $as_echo_n "checking where .elc files should go... " >&6; }
2585 if test "${am_cv_lispdir+set}" = set; then
2586 $as_echo_n "(cached) " >&6
2587 else
2589 if test $EMACS != "no"; then
2590 if test x${lispdir+set} != xset; then
2591 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2592 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2593 # which is non-obvious for non-emacs users.
2594 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2595 # emacsen earlier and avoid running this altogether.
2596 { ($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
2597 ($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
2598 ac_status=$?
2599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }
2601 am_cv_lispdir=`sed -n \
2602 -e 's,/$,,' \
2603 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2604 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2605 conftest.out`
2606 rm conftest.out
2609 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2612 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2613 $as_echo "$am_cv_lispdir" >&6; }
2614 lispdir="$am_cv_lispdir"
2622 ## ------------ ##
2623 ## Grep & sed. ##
2624 ## ------------ ##
2625 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2626 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2627 if test "${ac_cv_path_GREP+set}" = set; then
2628 $as_echo_n "(cached) " >&6
2629 else
2630 # Extract the first word of "grep ggrep" to use in msg output
2631 if test -z "$GREP"; then
2632 set dummy grep ggrep; ac_prog_name=$2
2633 if test "${ac_cv_path_GREP+set}" = set; then
2634 $as_echo_n "(cached) " >&6
2635 else
2636 ac_path_GREP_found=false
2637 # Loop through the user's path and test for each of PROGNAME-LIST
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2641 IFS=$as_save_IFS
2642 test -z "$as_dir" && as_dir=.
2643 for ac_prog in grep ggrep; do
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2646 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2647 # Check for GNU ac_path_GREP and select it if it is found.
2648 # Check for GNU $ac_path_GREP
2649 case `"$ac_path_GREP" --version 2>&1` in
2650 *GNU*)
2651 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2653 ac_count=0
2654 $as_echo_n 0123456789 >"conftest.in"
2655 while :
2657 cat "conftest.in" "conftest.in" >"conftest.tmp"
2658 mv "conftest.tmp" "conftest.in"
2659 cp "conftest.in" "conftest.nl"
2660 $as_echo 'GREP' >> "conftest.nl"
2661 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2662 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2663 ac_count=`expr $ac_count + 1`
2664 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2665 # Best one so far, save it but keep looking for a better one
2666 ac_cv_path_GREP="$ac_path_GREP"
2667 ac_path_GREP_max=$ac_count
2669 # 10*(2^10) chars as input seems more than enough
2670 test $ac_count -gt 10 && break
2671 done
2672 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2673 esac
2676 $ac_path_GREP_found && break 3
2677 done
2678 done
2680 done
2681 IFS=$as_save_IFS
2686 GREP="$ac_cv_path_GREP"
2687 if test -z "$GREP"; then
2688 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2689 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2690 { (exit 1); exit 1; }; }
2693 else
2694 ac_cv_path_GREP=$GREP
2699 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2700 $as_echo "$ac_cv_path_GREP" >&6; }
2701 GREP="$ac_cv_path_GREP"
2704 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2705 $as_echo_n "checking for egrep... " >&6; }
2706 if test "${ac_cv_path_EGREP+set}" = set; then
2707 $as_echo_n "(cached) " >&6
2708 else
2709 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2710 then ac_cv_path_EGREP="$GREP -E"
2711 else
2712 # Extract the first word of "egrep" to use in msg output
2713 if test -z "$EGREP"; then
2714 set dummy egrep; ac_prog_name=$2
2715 if test "${ac_cv_path_EGREP+set}" = set; then
2716 $as_echo_n "(cached) " >&6
2717 else
2718 ac_path_EGREP_found=false
2719 # Loop through the user's path and test for each of PROGNAME-LIST
2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2721 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2723 IFS=$as_save_IFS
2724 test -z "$as_dir" && as_dir=.
2725 for ac_prog in egrep; do
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2728 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2729 # Check for GNU ac_path_EGREP and select it if it is found.
2730 # Check for GNU $ac_path_EGREP
2731 case `"$ac_path_EGREP" --version 2>&1` in
2732 *GNU*)
2733 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2735 ac_count=0
2736 $as_echo_n 0123456789 >"conftest.in"
2737 while :
2739 cat "conftest.in" "conftest.in" >"conftest.tmp"
2740 mv "conftest.tmp" "conftest.in"
2741 cp "conftest.in" "conftest.nl"
2742 $as_echo 'EGREP' >> "conftest.nl"
2743 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2744 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2745 ac_count=`expr $ac_count + 1`
2746 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2747 # Best one so far, save it but keep looking for a better one
2748 ac_cv_path_EGREP="$ac_path_EGREP"
2749 ac_path_EGREP_max=$ac_count
2751 # 10*(2^10) chars as input seems more than enough
2752 test $ac_count -gt 10 && break
2753 done
2754 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2755 esac
2758 $ac_path_EGREP_found && break 3
2759 done
2760 done
2762 done
2763 IFS=$as_save_IFS
2768 EGREP="$ac_cv_path_EGREP"
2769 if test -z "$EGREP"; then
2770 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2771 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2772 { (exit 1); exit 1; }; }
2775 else
2776 ac_cv_path_EGREP=$EGREP
2782 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2783 $as_echo "$ac_cv_path_EGREP" >&6; }
2784 EGREP="$ac_cv_path_EGREP"
2787 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2788 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2789 if test "${ac_cv_path_SED+set}" = set; then
2790 $as_echo_n "(cached) " >&6
2791 else
2792 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2793 for ac_i in 1 2 3 4 5 6 7; do
2794 ac_script="$ac_script$as_nl$ac_script"
2795 done
2796 echo "$ac_script" | sed 99q >conftest.sed
2797 $as_unset ac_script || ac_script=
2798 # Extract the first word of "sed gsed" to use in msg output
2799 if test -z "$SED"; then
2800 set dummy sed gsed; ac_prog_name=$2
2801 if test "${ac_cv_path_SED+set}" = set; then
2802 $as_echo_n "(cached) " >&6
2803 else
2804 ac_path_SED_found=false
2805 # Loop through the user's path and test for each of PROGNAME-LIST
2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 for as_dir in $PATH
2809 IFS=$as_save_IFS
2810 test -z "$as_dir" && as_dir=.
2811 for ac_prog in sed gsed; do
2812 for ac_exec_ext in '' $ac_executable_extensions; do
2813 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2814 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2815 # Check for GNU ac_path_SED and select it if it is found.
2816 # Check for GNU $ac_path_SED
2817 case `"$ac_path_SED" --version 2>&1` in
2818 *GNU*)
2819 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2821 ac_count=0
2822 $as_echo_n 0123456789 >"conftest.in"
2823 while :
2825 cat "conftest.in" "conftest.in" >"conftest.tmp"
2826 mv "conftest.tmp" "conftest.in"
2827 cp "conftest.in" "conftest.nl"
2828 $as_echo '' >> "conftest.nl"
2829 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2830 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2831 ac_count=`expr $ac_count + 1`
2832 if test $ac_count -gt ${ac_path_SED_max-0}; then
2833 # Best one so far, save it but keep looking for a better one
2834 ac_cv_path_SED="$ac_path_SED"
2835 ac_path_SED_max=$ac_count
2837 # 10*(2^10) chars as input seems more than enough
2838 test $ac_count -gt 10 && break
2839 done
2840 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2841 esac
2844 $ac_path_SED_found && break 3
2845 done
2846 done
2848 done
2849 IFS=$as_save_IFS
2854 SED="$ac_cv_path_SED"
2855 if test -z "$SED"; then
2856 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2857 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2858 { (exit 1); exit 1; }; }
2861 else
2862 ac_cv_path_SED=$SED
2866 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2867 $as_echo "$ac_cv_path_SED" >&6; }
2868 SED="$ac_cv_path_SED"
2869 rm -f conftest.sed
2873 ## ------------ ##
2874 ## Conclusion. ##
2875 ## ------------ ##
2877 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"
2880 cat >confcache <<\_ACEOF
2881 # This file is a shell script that caches the results of configure
2882 # tests run on this system so they can be shared between configure
2883 # scripts and configure runs, see configure's option --config-cache.
2884 # It is not useful on other systems. If it contains results you don't
2885 # want to keep, you may remove or edit it.
2887 # config.status only pays attention to the cache file if you give it
2888 # the --recheck option to rerun configure.
2890 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2891 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2892 # following values.
2894 _ACEOF
2896 # The following way of writing the cache mishandles newlines in values,
2897 # but we know of no workaround that is simple, portable, and efficient.
2898 # So, we kill variables containing newlines.
2899 # Ultrix sh set writes to stderr and can't be redirected directly,
2900 # and sets the high bit in the cache file unless we assign to the vars.
2902 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2903 eval ac_val=\$$ac_var
2904 case $ac_val in #(
2905 *${as_nl}*)
2906 case $ac_var in #(
2907 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2908 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2909 esac
2910 case $ac_var in #(
2911 _ | IFS | as_nl) ;; #(
2912 *) $as_unset $ac_var ;;
2913 esac ;;
2914 esac
2915 done
2917 (set) 2>&1 |
2918 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2919 *${as_nl}ac_space=\ *)
2920 # `set' does not quote correctly, so add quotes (double-quote
2921 # substitution turns \\\\ into \\, and sed turns \\ into \).
2922 sed -n \
2923 "s/'/'\\\\''/g;
2924 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2925 ;; #(
2927 # `set' quotes correctly as required by POSIX, so do not add quotes.
2928 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2930 esac |
2931 sort
2933 sed '
2934 /^ac_cv_env_/b end
2935 t clear
2936 :clear
2937 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2938 t end
2939 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2940 :end' >>confcache
2941 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2942 if test -w "$cache_file"; then
2943 test "x$cache_file" != "x/dev/null" &&
2944 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2945 $as_echo "$as_me: updating cache $cache_file" >&6;}
2946 cat confcache >$cache_file
2947 else
2948 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2949 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2952 rm -f confcache
2954 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2955 # Let make expand exec_prefix.
2956 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2958 # Transform confdefs.h into DEFS.
2959 # Protect against shell expansion while executing Makefile rules.
2960 # Protect against Makefile macro expansion.
2962 # If the first sed substitution is executed (which looks for macros that
2963 # take arguments), then branch to the quote section. Otherwise,
2964 # look for a macro that doesn't take arguments.
2965 ac_script='
2966 t clear
2967 :clear
2968 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2969 t quote
2970 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2971 t quote
2972 b any
2973 :quote
2974 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2975 s/\[/\\&/g
2976 s/\]/\\&/g
2977 s/\$/$$/g
2979 :any
2982 s/^\n//
2983 s/\n/ /g
2987 DEFS=`sed -n "$ac_script" confdefs.h`
2990 ac_libobjs=
2991 ac_ltlibobjs=
2992 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2993 # 1. Remove the extension, and $U if already installed.
2994 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2995 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2996 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2997 # will be set to the directory where LIBOBJS objects are built.
2998 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2999 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3000 done
3001 LIBOBJS=$ac_libobjs
3003 LTLIBOBJS=$ac_ltlibobjs
3007 : ${CONFIG_STATUS=./config.status}
3008 ac_clean_files_save=$ac_clean_files
3009 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3010 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3011 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3012 cat >$CONFIG_STATUS <<_ACEOF
3013 #! $SHELL
3014 # Generated by $as_me.
3015 # Run this file to recreate the current configuration.
3016 # Compiler output produced by configure, useful for debugging
3017 # configure, is in config.log if it exists.
3019 debug=false
3020 ac_cs_recheck=false
3021 ac_cs_silent=false
3022 SHELL=\${CONFIG_SHELL-$SHELL}
3023 _ACEOF
3025 cat >>$CONFIG_STATUS <<\_ACEOF
3026 ## --------------------- ##
3027 ## M4sh Initialization. ##
3028 ## --------------------- ##
3030 # Be more Bourne compatible
3031 DUALCASE=1; export DUALCASE # for MKS sh
3032 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3033 emulate sh
3034 NULLCMD=:
3035 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3036 # is contrary to our usage. Disable this feature.
3037 alias -g '${1+"$@"}'='"$@"'
3038 setopt NO_GLOB_SUBST
3039 else
3040 case `(set -o) 2>/dev/null` in
3041 *posix*) set -o posix ;;
3042 esac
3049 # PATH needs CR
3050 # Avoid depending upon Character Ranges.
3051 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3052 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3053 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3054 as_cr_digits='0123456789'
3055 as_cr_alnum=$as_cr_Letters$as_cr_digits
3057 as_nl='
3059 export as_nl
3060 case `(printf %s foo) 2>/dev/null` in
3061 foo)
3062 as_echo='printf %s\n'
3063 as_echo_n='printf %s';;
3065 as_echo_body='eval expr "X" : "X\\(.*\\)"'
3066 as_echo_n_body='eval
3067 arg=;
3068 case $arg in
3069 *"$as_nl"*)
3070 expr "X$arg" : "X\\(.*\\)$as_nl";
3071 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3072 esac;
3073 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3075 export as_echo_body as_echo_n_body
3076 as_echo='sh -c $as_echo_body X'
3077 as_echo_n='sh -c $as_echo_n_body X';;
3078 esac
3080 # The user is always right.
3081 if test "${PATH_SEPARATOR+set}" != set; then
3082 echo "#! /bin/sh" >conf$$.sh
3083 echo "exit 0" >>conf$$.sh
3084 chmod +x conf$$.sh
3085 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3086 PATH_SEPARATOR=';'
3087 else
3088 PATH_SEPARATOR=:
3090 rm -f conf$$.sh
3093 # Support unset when possible.
3094 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3095 as_unset=unset
3096 else
3097 as_unset=false
3101 # IFS
3102 # We need space, tab and new line, in precisely that order. Quoting is
3103 # there to prevent editors from complaining about space-tab.
3104 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3105 # splitting by setting IFS to empty value.)
3106 IFS=" "" $as_nl"
3108 # Find who we are. Look in the path if we contain no directory separator.
3109 case $0 in
3110 *[\\/]* ) as_myself=$0 ;;
3111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3112 for as_dir in $PATH
3114 IFS=$as_save_IFS
3115 test -z "$as_dir" && as_dir=.
3116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3117 done
3118 IFS=$as_save_IFS
3121 esac
3122 # We did not find ourselves, most probably we were run as `sh COMMAND'
3123 # in which case we are not to be found in the path.
3124 if test "x$as_myself" = x; then
3125 as_myself=$0
3127 if test ! -f "$as_myself"; then
3128 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3129 { (exit 1); exit 1; }
3132 # Work around bugs in pre-3.0 UWIN ksh.
3133 for as_var in ENV MAIL MAILPATH
3134 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3135 done
3136 PS1='$ '
3137 PS2='> '
3138 PS4='+ '
3140 # NLS nuisances.
3141 for as_var in \
3142 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3143 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3144 LC_TELEPHONE LC_TIME
3146 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3147 eval $as_var=C; export $as_var
3148 else
3149 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3151 done
3153 # Required to use basename.
3154 if expr a : '\(a\)' >/dev/null 2>&1 &&
3155 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3156 as_expr=expr
3157 else
3158 as_expr=false
3161 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3162 as_basename=basename
3163 else
3164 as_basename=false
3168 # Name of the executable.
3169 as_me=`$as_basename -- "$0" ||
3170 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3171 X"$0" : 'X\(//\)$' \| \
3172 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3173 $as_echo X/"$0" |
3174 sed '/^.*\/\([^/][^/]*\)\/*$/{
3175 s//\1/
3178 /^X\/\(\/\/\)$/{
3179 s//\1/
3182 /^X\/\(\/\).*/{
3183 s//\1/
3186 s/.*/./; q'`
3188 # CDPATH.
3189 $as_unset CDPATH
3193 as_lineno_1=$LINENO
3194 as_lineno_2=$LINENO
3195 test "x$as_lineno_1" != "x$as_lineno_2" &&
3196 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3198 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3199 # uniformly replaced by the line number. The first 'sed' inserts a
3200 # line-number line after each line using $LINENO; the second 'sed'
3201 # does the real work. The second script uses 'N' to pair each
3202 # line-number line with the line containing $LINENO, and appends
3203 # trailing '-' during substitution so that $LINENO is not a special
3204 # case at line end.
3205 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3206 # scripts with optimization help from Paolo Bonzini. Blame Lee
3207 # E. McMahon (1931-1989) for sed's syntax. :-)
3208 sed -n '
3210 /[$]LINENO/=
3211 ' <$as_myself |
3212 sed '
3213 s/[$]LINENO.*/&-/
3214 t lineno
3216 :lineno
3218 :loop
3219 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3220 t loop
3221 s/-\n.*//
3222 ' >$as_me.lineno &&
3223 chmod +x "$as_me.lineno" ||
3224 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3225 { (exit 1); exit 1; }; }
3227 # Don't try to exec as it changes $[0], causing all sort of problems
3228 # (the dirname of $[0] is not the place where we might find the
3229 # original and so on. Autoconf is especially sensitive to this).
3230 . "./$as_me.lineno"
3231 # Exit status is that of the last command.
3232 exit
3236 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3237 as_dirname=dirname
3238 else
3239 as_dirname=false
3242 ECHO_C= ECHO_N= ECHO_T=
3243 case `echo -n x` in
3244 -n*)
3245 case `echo 'x\c'` in
3246 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3247 *) ECHO_C='\c';;
3248 esac;;
3250 ECHO_N='-n';;
3251 esac
3252 if expr a : '\(a\)' >/dev/null 2>&1 &&
3253 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3254 as_expr=expr
3255 else
3256 as_expr=false
3259 rm -f conf$$ conf$$.exe conf$$.file
3260 if test -d conf$$.dir; then
3261 rm -f conf$$.dir/conf$$.file
3262 else
3263 rm -f conf$$.dir
3264 mkdir conf$$.dir
3266 echo >conf$$.file
3267 if ln -s conf$$.file conf$$ 2>/dev/null; then
3268 as_ln_s='ln -s'
3269 # ... but there are two gotchas:
3270 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3271 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3272 # In both cases, we have to default to `cp -p'.
3273 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3274 as_ln_s='cp -p'
3275 elif ln conf$$.file conf$$ 2>/dev/null; then
3276 as_ln_s=ln
3277 else
3278 as_ln_s='cp -p'
3280 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3281 rmdir conf$$.dir 2>/dev/null
3283 if mkdir -p . 2>/dev/null; then
3284 as_mkdir_p=:
3285 else
3286 test -d ./-p && rmdir ./-p
3287 as_mkdir_p=false
3290 if test -x / >/dev/null 2>&1; then
3291 as_test_x='test -x'
3292 else
3293 if ls -dL / >/dev/null 2>&1; then
3294 as_ls_L_option=L
3295 else
3296 as_ls_L_option=
3298 as_test_x='
3299 eval sh -c '\''
3300 if test -d "$1"; then
3301 test -d "$1/.";
3302 else
3303 case $1 in
3304 -*)set "./$1";;
3305 esac;
3306 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3307 ???[sx]*):;;*)false;;esac;fi
3308 '\'' sh
3311 as_executable_p=$as_test_x
3313 # Sed expression to map a string onto a valid CPP name.
3314 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3316 # Sed expression to map a string onto a valid variable name.
3317 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3320 exec 6>&1
3322 # Save the log message, to keep $[0] and so on meaningful, and to
3323 # report actual input values of CONFIG_FILES etc. instead of their
3324 # values after options handling.
3325 ac_log="
3326 This file was extended by GNU Autoconf $as_me 2.61a, which was
3327 generated by GNU Autoconf 2.61a. Invocation command line was
3329 CONFIG_FILES = $CONFIG_FILES
3330 CONFIG_HEADERS = $CONFIG_HEADERS
3331 CONFIG_LINKS = $CONFIG_LINKS
3332 CONFIG_COMMANDS = $CONFIG_COMMANDS
3333 $ $0 $@
3335 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3338 _ACEOF
3340 cat >>$CONFIG_STATUS <<_ACEOF
3341 # Files that config.status was made for.
3342 config_files="$ac_config_files"
3343 config_commands="$ac_config_commands"
3345 _ACEOF
3347 cat >>$CONFIG_STATUS <<\_ACEOF
3348 ac_cs_usage="\
3349 \`$as_me' instantiates files from templates according to the
3350 current configuration.
3352 Usage: $0 [OPTIONS] [FILE]...
3354 -h, --help print this help, then exit
3355 -V, --version print version number and configuration settings, then exit
3356 -q, --quiet do not print progress messages
3357 -d, --debug don't remove temporary files
3358 --recheck update $as_me by reconfiguring in the same conditions
3359 --file=FILE[:TEMPLATE]
3360 instantiate the configuration file FILE
3362 Configuration files:
3363 $config_files
3365 Configuration commands:
3366 $config_commands
3368 Report bugs to <bug-autoconf@gnu.org>."
3370 _ACEOF
3371 cat >>$CONFIG_STATUS <<_ACEOF
3372 ac_cs_version="\\
3373 GNU Autoconf config.status 2.61a
3374 configured by $0, generated by GNU Autoconf 2.61a,
3375 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3377 Copyright (C) 2006 Free Software Foundation, Inc.
3378 This config.status script is free software; the Free Software Foundation
3379 gives unlimited permission to copy, distribute and modify it."
3381 ac_pwd='$ac_pwd'
3382 srcdir='$srcdir'
3383 INSTALL='$INSTALL'
3384 MKDIR_P='$MKDIR_P'
3385 _ACEOF
3387 cat >>$CONFIG_STATUS <<\_ACEOF
3388 # If no file are specified by the user, then we need to provide default
3389 # value. By we need to know if files were specified by the user.
3390 ac_need_defaults=:
3391 while test $# != 0
3393 case $1 in
3394 --*=*)
3395 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3396 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3397 ac_shift=:
3400 ac_option=$1
3401 ac_optarg=$2
3402 ac_shift=shift
3404 esac
3406 case $ac_option in
3407 # Handling of the options.
3408 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3409 ac_cs_recheck=: ;;
3410 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3411 $as_echo "$ac_cs_version"; exit ;;
3412 --debug | --debu | --deb | --de | --d | -d )
3413 debug=: ;;
3414 --file | --fil | --fi | --f )
3415 $ac_shift
3416 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3417 ac_need_defaults=false;;
3418 --he | --h | --help | --hel | -h )
3419 $as_echo "$ac_cs_usage"; exit ;;
3420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3421 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3422 ac_cs_silent=: ;;
3424 # This is an error.
3425 -*) { $as_echo "$as_me: error: unrecognized option: $1
3426 Try \`$0 --help' for more information." >&2
3427 { (exit 1); exit 1; }; } ;;
3429 *) ac_config_targets="$ac_config_targets $1"
3430 ac_need_defaults=false ;;
3432 esac
3433 shift
3434 done
3436 ac_configure_extra_args=
3438 if $ac_cs_silent; then
3439 exec 6>/dev/null
3440 ac_configure_extra_args="$ac_configure_extra_args --silent"
3443 _ACEOF
3444 cat >>$CONFIG_STATUS <<_ACEOF
3445 if \$ac_cs_recheck; then
3446 set X '$SHELL' '$0'$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3447 shift
3448 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3449 CONFIG_SHELL='$SHELL'
3450 export CONFIG_SHELL
3451 exec "\$@"
3454 _ACEOF
3455 cat >>$CONFIG_STATUS <<\_ACEOF
3456 exec 5>>config.log
3458 echo
3459 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3460 ## Running $as_me. ##
3461 _ASBOX
3462 $as_echo "$ac_log"
3463 } >&5
3465 _ACEOF
3466 cat >>$CONFIG_STATUS <<_ACEOF
3467 _ACEOF
3469 cat >>$CONFIG_STATUS <<\_ACEOF
3471 # Handling of arguments.
3472 for ac_config_target in $ac_config_targets
3474 case $ac_config_target in
3475 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3476 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3477 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3478 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3479 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3480 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3481 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3482 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3483 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3484 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3485 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3486 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3487 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3488 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3490 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3491 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3492 { (exit 1); exit 1; }; };;
3493 esac
3494 done
3497 # If the user did not use the arguments to specify the items to instantiate,
3498 # then the envvar interface is used. Set only those that are not.
3499 # We use the long form for the default assignment because of an extremely
3500 # bizarre bug on SunOS 4.1.3.
3501 if $ac_need_defaults; then
3502 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3503 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3506 # Have a temporary directory for convenience. Make it in the build tree
3507 # simply because there is no reason against having it here, and in addition,
3508 # creating and moving files from /tmp can sometimes cause problems.
3509 # Hook for its removal unless debugging.
3510 # Note that there is a small window in which the directory will not be cleaned:
3511 # after its creation but before its name has been assigned to `$tmp'.
3512 $debug ||
3514 tmp=
3515 trap 'exit_status=$?
3516 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3518 trap '{ (exit 1); exit 1; }' 1 2 13 15
3520 # Create a (secure) tmp directory for tmp files.
3523 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3524 test -n "$tmp" && test -d "$tmp"
3525 } ||
3527 tmp=./conf$$-$RANDOM
3528 (umask 077 && mkdir "$tmp")
3529 } ||
3531 $as_echo "$me: cannot create a temporary directory in ." >&2
3532 { (exit 1); exit 1; }
3536 # Set up the sed scripts for CONFIG_FILES section.
3539 # No need to generate the scripts if there are no CONFIG_FILES.
3540 # This happens for instance when ./config.status config.h
3541 if test -n "$CONFIG_FILES"; then
3543 _ACEOF
3547 ac_delim='%!_!# '
3548 for ac_last_try in false false false false false :; do
3549 cat >conf$$subs.sed <<_ACEOF
3550 SHELL!$SHELL$ac_delim
3551 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3552 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3553 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3554 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3555 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3556 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3557 exec_prefix!$exec_prefix$ac_delim
3558 prefix!$prefix$ac_delim
3559 program_transform_name!$program_transform_name$ac_delim
3560 bindir!$bindir$ac_delim
3561 sbindir!$sbindir$ac_delim
3562 libexecdir!$libexecdir$ac_delim
3563 datarootdir!$datarootdir$ac_delim
3564 datadir!$datadir$ac_delim
3565 sysconfdir!$sysconfdir$ac_delim
3566 sharedstatedir!$sharedstatedir$ac_delim
3567 localstatedir!$localstatedir$ac_delim
3568 includedir!$includedir$ac_delim
3569 oldincludedir!$oldincludedir$ac_delim
3570 docdir!$docdir$ac_delim
3571 infodir!$infodir$ac_delim
3572 htmldir!$htmldir$ac_delim
3573 dvidir!$dvidir$ac_delim
3574 pdfdir!$pdfdir$ac_delim
3575 psdir!$psdir$ac_delim
3576 libdir!$libdir$ac_delim
3577 localedir!$localedir$ac_delim
3578 mandir!$mandir$ac_delim
3579 DEFS!$DEFS$ac_delim
3580 ECHO_C!$ECHO_C$ac_delim
3581 ECHO_N!$ECHO_N$ac_delim
3582 ECHO_T!$ECHO_T$ac_delim
3583 LIBS!$LIBS$ac_delim
3584 build_alias!$build_alias$ac_delim
3585 host_alias!$host_alias$ac_delim
3586 target_alias!$target_alias$ac_delim
3587 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3588 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3589 INSTALL_DATA!$INSTALL_DATA$ac_delim
3590 am__isrc!$am__isrc$ac_delim
3591 CYGPATH_W!$CYGPATH_W$ac_delim
3592 PACKAGE!$PACKAGE$ac_delim
3593 VERSION!$VERSION$ac_delim
3594 ACLOCAL!$ACLOCAL$ac_delim
3595 AUTOCONF!$AUTOCONF$ac_delim
3596 AUTOMAKE!$AUTOMAKE$ac_delim
3597 AUTOHEADER!$AUTOHEADER$ac_delim
3598 MAKEINFO!$MAKEINFO$ac_delim
3599 install_sh!$install_sh$ac_delim
3600 STRIP!$STRIP$ac_delim
3601 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3602 mkdir_p!$mkdir_p$ac_delim
3603 AWK!$AWK$ac_delim
3604 SET_MAKE!$SET_MAKE$ac_delim
3605 am__leading_dot!$am__leading_dot$ac_delim
3606 AMTAR!$AMTAR$ac_delim
3607 am__tar!$am__tar$ac_delim
3608 am__untar!$am__untar$ac_delim
3609 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3610 EXPR!$EXPR$ac_delim
3611 M4!$M4$ac_delim
3612 M4_DEBUGFILE!$M4_DEBUGFILE$ac_delim
3613 HELP2MAN!$HELP2MAN$ac_delim
3614 PERL!$PERL$ac_delim
3615 TEST_EMACS!$TEST_EMACS$ac_delim
3616 EMACS!$EMACS$ac_delim
3617 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3618 lispdir!$lispdir$ac_delim
3619 GREP!$GREP$ac_delim
3620 EGREP!$EGREP$ac_delim
3621 SED!$SED$ac_delim
3622 LIBOBJS!$LIBOBJS$ac_delim
3623 LTLIBOBJS!$LTLIBOBJS$ac_delim
3624 _ACEOF
3626 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
3627 break
3628 elif $ac_last_try; then
3629 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3630 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3631 { (exit 1); exit 1; }; }
3632 else
3633 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3635 done
3637 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3638 if test -n "$ac_eof"; then
3639 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3640 ac_eof=`expr $ac_eof + 1`
3643 cat >>$CONFIG_STATUS <<_ACEOF
3644 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3645 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3646 _ACEOF
3647 sed '
3648 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3649 s/^/s,@/; s/!/@,|#_!!_#|/
3652 s/'"$ac_delim"'$/,g/; t
3653 s/$/\\/; p
3654 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3655 ' >>$CONFIG_STATUS <conf$$subs.sed
3656 rm -f conf$$subs.sed
3657 cat >>$CONFIG_STATUS <<_ACEOF
3658 :end
3659 s/|#_!!_#|//g
3660 CEOF$ac_eof
3661 _ACEOF
3664 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3665 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3666 # trailing colons and then remove the whole line if VPATH becomes empty
3667 # (actually we leave an empty line to preserve line numbers).
3668 if test "x$srcdir" = x.; then
3669 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3670 s/:*\$(srcdir):*/:/
3671 s/:*\${srcdir}:*/:/
3672 s/:*@srcdir@:*/:/
3673 s/^\([^=]*=[ ]*\):*/\1/
3674 s/:*$//
3675 s/^[^=]*=[ ]*$//
3679 cat >>$CONFIG_STATUS <<\_ACEOF
3680 fi # test -n "$CONFIG_FILES"
3683 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3685 case $ac_tag in
3686 :[FHLC]) ac_mode=$ac_tag; continue;;
3687 esac
3688 case $ac_mode$ac_tag in
3689 :[FHL]*:*);;
3690 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3691 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3692 { (exit 1); exit 1; }; };;
3693 :[FH]-) ac_tag=-:-;;
3694 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3695 esac
3696 ac_save_IFS=$IFS
3697 IFS=:
3698 set x $ac_tag
3699 IFS=$ac_save_IFS
3700 shift
3701 ac_file=$1
3702 shift
3704 case $ac_mode in
3705 :L) ac_source=$1;;
3706 :[FH])
3707 ac_file_inputs=
3708 for ac_f
3710 case $ac_f in
3711 -) ac_f="$tmp/stdin";;
3712 *) # Look for the file first in the build tree, then in the source tree
3713 # (if the path is not absolute). The absolute path cannot be DOS-style,
3714 # because $ac_f cannot contain `:'.
3715 test -f "$ac_f" ||
3716 case $ac_f in
3717 [\\/$]*) false;;
3718 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3719 esac ||
3720 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3721 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3722 { (exit 1); exit 1; }; };;
3723 esac
3724 ac_file_inputs="$ac_file_inputs $ac_f"
3725 done
3727 # Let's still pretend it is `configure' which instantiates (i.e., don't
3728 # use $as_me), people would be surprised to read:
3729 # /* config.h. Generated by config.status. */
3730 configure_input='Generated from '`
3731 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3732 `' by configure.'
3733 if test x"$ac_file" != x-; then
3734 configure_input="$ac_file. $configure_input"
3735 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3736 $as_echo "$as_me: creating $ac_file" >&6;}
3739 case $ac_tag in
3740 *:-:* | *:-) cat >"$tmp/stdin";;
3741 esac
3743 esac
3745 ac_dir=`$as_dirname -- "$ac_file" ||
3746 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3747 X"$ac_file" : 'X\(//\)[^/]' \| \
3748 X"$ac_file" : 'X\(//\)$' \| \
3749 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3750 $as_echo X"$ac_file" |
3751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3752 s//\1/
3755 /^X\(\/\/\)[^/].*/{
3756 s//\1/
3759 /^X\(\/\/\)$/{
3760 s//\1/
3763 /^X\(\/\).*/{
3764 s//\1/
3767 s/.*/./; q'`
3768 { as_dir="$ac_dir"
3769 case $as_dir in #(
3770 -*) as_dir=./$as_dir;;
3771 esac
3772 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3773 as_dirs=
3774 while :; do
3775 case $as_dir in #(
3776 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3777 *) as_qdir=$as_dir;;
3778 esac
3779 as_dirs="'$as_qdir' $as_dirs"
3780 as_dir=`$as_dirname -- "$as_dir" ||
3781 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3782 X"$as_dir" : 'X\(//\)[^/]' \| \
3783 X"$as_dir" : 'X\(//\)$' \| \
3784 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3785 $as_echo X"$as_dir" |
3786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3787 s//\1/
3790 /^X\(\/\/\)[^/].*/{
3791 s//\1/
3794 /^X\(\/\/\)$/{
3795 s//\1/
3798 /^X\(\/\).*/{
3799 s//\1/
3802 s/.*/./; q'`
3803 test -d "$as_dir" && break
3804 done
3805 test -z "$as_dirs" || eval "mkdir $as_dirs"
3806 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3807 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3808 { (exit 1); exit 1; }; }; }
3809 ac_builddir=.
3811 case "$ac_dir" in
3812 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3814 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3815 # A ".." for each directory in $ac_dir_suffix.
3816 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3817 case $ac_top_builddir_sub in
3818 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3819 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3820 esac ;;
3821 esac
3822 ac_abs_top_builddir=$ac_pwd
3823 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3824 # for backward compatibility:
3825 ac_top_builddir=$ac_top_build_prefix
3827 case $srcdir in
3828 .) # We are building in place.
3829 ac_srcdir=.
3830 ac_top_srcdir=$ac_top_builddir_sub
3831 ac_abs_top_srcdir=$ac_pwd ;;
3832 [\\/]* | ?:[\\/]* ) # Absolute name.
3833 ac_srcdir=$srcdir$ac_dir_suffix;
3834 ac_top_srcdir=$srcdir
3835 ac_abs_top_srcdir=$srcdir ;;
3836 *) # Relative name.
3837 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3838 ac_top_srcdir=$ac_top_build_prefix$srcdir
3839 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3840 esac
3841 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3844 case $ac_mode in
3847 # CONFIG_FILE
3850 case $INSTALL in
3851 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3852 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3853 esac
3854 ac_MKDIR_P=$MKDIR_P
3855 case $MKDIR_P in
3856 [\\/$]* | ?:[\\/]* ) ;;
3857 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3858 esac
3859 _ACEOF
3861 cat >>$CONFIG_STATUS <<\_ACEOF
3862 # If the template does not know about datarootdir, expand it.
3863 # FIXME: This hack should be removed a few years after 2.60.
3864 ac_datarootdir_hack=; ac_datarootdir_seen=
3866 case `sed -n '/datarootdir/ {
3870 /@datadir@/p
3871 /@docdir@/p
3872 /@infodir@/p
3873 /@localedir@/p
3874 /@mandir@/p
3875 ' $ac_file_inputs` in
3876 *datarootdir*) ac_datarootdir_seen=yes;;
3877 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3878 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3879 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3880 _ACEOF
3881 cat >>$CONFIG_STATUS <<_ACEOF
3882 ac_datarootdir_hack='
3883 s&@datadir@&$datadir&g
3884 s&@docdir@&$docdir&g
3885 s&@infodir@&$infodir&g
3886 s&@localedir@&$localedir&g
3887 s&@mandir@&$mandir&g
3888 s&\\\${datarootdir}&$datarootdir&g' ;;
3889 esac
3890 _ACEOF
3892 # Neutralize VPATH when `$srcdir' = `.'.
3893 # Shell code in configure.ac might set extrasub.
3894 # FIXME: do we really want to maintain this feature?
3895 cat >>$CONFIG_STATUS <<_ACEOF
3896 sed "$ac_vpsub
3897 $extrasub
3898 _ACEOF
3899 cat >>$CONFIG_STATUS <<\_ACEOF
3901 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3902 s&@configure_input@&$configure_input&;t t
3903 s&@top_builddir@&$ac_top_builddir_sub&;t t
3904 s&@srcdir@&$ac_srcdir&;t t
3905 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3906 s&@top_srcdir@&$ac_top_srcdir&;t t
3907 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3908 s&@builddir@&$ac_builddir&;t t
3909 s&@abs_builddir@&$ac_abs_builddir&;t t
3910 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3911 s&@INSTALL@&$ac_INSTALL&;t t
3912 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3913 $ac_datarootdir_hack
3914 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3916 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3917 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3918 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3919 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3920 which seems to be undefined. Please make sure it is defined." >&5
3921 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3922 which seems to be undefined. Please make sure it is defined." >&2;}
3924 rm -f "$tmp/stdin"
3925 case $ac_file in
3926 -) cat "$tmp/out"; rm -f "$tmp/out";;
3927 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3928 esac
3932 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3933 $as_echo "$as_me: executing $ac_file commands" >&6;}
3935 esac
3938 case $ac_file$ac_mode in
3939 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3940 # Configurable variable values for building test suites.
3941 # Generated by $0.
3942 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3944 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3945 at_testdir='tests'
3946 abs_builddir='$ac_abs_builddir'
3947 at_srcdir='$ac_srcdir'
3948 abs_srcdir='$ac_abs_srcdir'
3949 at_top_srcdir='$ac_top_srcdir'
3950 abs_top_srcdir='$ac_abs_top_srcdir'
3951 at_top_build_prefix='$ac_top_build_prefix'
3952 abs_top_builddir='$ac_abs_top_builddir'
3954 # Backward compatibility with Autotest <= 2.59b:
3955 at_top_builddir=\$at_top_build_prefix
3957 AUTOTEST_PATH='tests'
3959 SHELL=\${CONFIG_SHELL-'$SHELL'}
3960 ATEOF
3963 esac
3964 done # for ac_tag
3967 { (exit 0); exit 0; }
3968 _ACEOF
3969 chmod +x $CONFIG_STATUS
3970 ac_clean_files=$ac_clean_files_save
3973 # configure is writing to config.log, and then calls config.status.
3974 # config.status does its own redirection, appending to config.log.
3975 # Unfortunately, on DOS this fails, as config.log is still kept open
3976 # by configure, so config.status won't be able to write to it; its
3977 # output is simply discarded. So we exec the FD to /dev/null,
3978 # effectively closing config.log, so it can be properly (re)opened and
3979 # appended to by config.status. When coming back to configure, we
3980 # need to make the FD available again.
3981 if test "$no_create" != yes; then
3982 ac_cs_success=:
3983 ac_config_status_args=
3984 test "$silent" = yes &&
3985 ac_config_status_args="$ac_config_status_args --quiet"
3986 exec 5>/dev/null
3987 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3988 exec 5>>config.log
3989 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3990 # would make configure fail if this is the last instruction.
3991 $ac_cs_success || { (exit 1); exit 1; }
3994 # Report the state of this version of Autoconf if this is a beta.
3995 cat <<EOF
3997 You are about to use an experimental version of Autoconf. Be sure to
3998 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4000 Below you will find information on the status of this version of Autoconf.
4004 sed -n '/^\* Status/,$p' $srcdir/BUGS