Reject FreeBSD m4.
[autoconf.git] / configure
blob9e76d0fc9aaee892fe3b949f5401a764c660bd48
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61b for GNU Autoconf 2.61b.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 as_nl='
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86 else
87 as_unset=false
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140 else
141 as_expr=false
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146 else
147 as_basename=false
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
161 /^X\/\(\/\/\)$/{
162 s//\1/
165 /^X\/\(\/\).*/{
166 s//\1/
169 s/.*/./; q'`
171 # CDPATH.
172 $as_unset CDPATH
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178 else
179 as_have_required=no
182 if test $as_have_required = yes && (eval ":
183 (as_func_return () {
184 (exit \$1)
186 as_func_success () {
187 as_func_return 0
189 as_func_failure () {
190 as_func_return 1
192 as_func_ret_success () {
193 return 0
195 as_func_ret_failure () {
196 return 1
199 exitcode=0
200 if as_func_success; then
202 else
203 exitcode=1
204 echo as_func_success failed.
207 if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
214 else
215 exitcode=1
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 else
227 exitcode=1
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
240 else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253 done
254 IFS=$as_save_IFS
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 _ASEOF
278 }; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289 else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292 esac
298 (as_func_return () {
299 (exit $1)
301 as_func_success () {
302 as_func_return 0
304 as_func_failure () {
305 as_func_return 1
307 as_func_ret_success () {
308 return 0
310 as_func_ret_failure () {
311 return 1
314 exitcode=0
315 if as_func_success; then
317 else
318 exitcode=1
319 echo as_func_success failed.
322 if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
329 else
330 exitcode=1
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 else
342 exitcode=1
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
354 _ASEOF
355 }; then
356 break
361 done
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
388 (exit \$1)
390 as_func_success () {
391 as_func_return 0
393 as_func_failure () {
394 as_func_return 1
396 as_func_ret_success () {
397 return 0
399 as_func_ret_failure () {
400 return 1
403 exitcode=0
404 if as_func_success; then
406 else
407 exitcode=1
408 echo as_func_success failed.
411 if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
418 else
419 exitcode=1
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 else
431 exitcode=1
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
468 :lineno
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490 else
491 as_dirname=false
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
502 ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507 else
508 as_expr=false
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514 else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
532 else
533 as_ln_s='cp -p'
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540 else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
545 if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547 else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
578 # Name of the host.
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 # Initializations.
586 ac_default_prefix=/usr/local
587 ac_clean_files=
588 ac_config_libobj_dir=.
589 LIBOBJS=
590 cross_compiling=no
591 subdirs=
592 MFLAGS=
593 MAKEFLAGS=
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='GNU Autoconf'
598 PACKAGE_TARNAME='autoconf'
599 PACKAGE_VERSION='2.61b'
600 PACKAGE_STRING='GNU Autoconf 2.61b'
601 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
603 ac_unique_file="ChangeLog"
604 ac_subst_vars='SHELL
605 PATH_SEPARATOR
606 PACKAGE_NAME
607 PACKAGE_TARNAME
608 PACKAGE_VERSION
609 PACKAGE_STRING
610 PACKAGE_BUGREPORT
611 exec_prefix
612 prefix
613 program_transform_name
614 bindir
615 sbindir
616 libexecdir
617 datarootdir
618 datadir
619 sysconfdir
620 sharedstatedir
621 localstatedir
622 includedir
623 oldincludedir
624 docdir
625 infodir
626 htmldir
627 dvidir
628 pdfdir
629 psdir
630 libdir
631 localedir
632 mandir
633 DEFS
634 ECHO_C
635 ECHO_N
636 ECHO_T
637 LIBS
638 build_alias
639 host_alias
640 target_alias
641 INSTALL_PROGRAM
642 INSTALL_SCRIPT
643 INSTALL_DATA
644 am__isrc
645 CYGPATH_W
646 PACKAGE
647 VERSION
648 ACLOCAL
649 AUTOCONF
650 AUTOMAKE
651 AUTOHEADER
652 MAKEINFO
653 install_sh
654 STRIP
655 INSTALL_STRIP_PROGRAM
656 MKDIR_P
657 mkdir_p
659 SET_MAKE
660 am__leading_dot
661 AMTAR
662 am__tar
663 am__untar
664 ac_cv_sh_n_works
665 EXPR
667 M4_DEBUGFILE
668 HELP2MAN
669 PERL
670 TEST_EMACS
671 EMACS
672 EMACSLOADPATH
673 lispdir
674 GREP
675 EGREP
677 LIBOBJS
678 LTLIBOBJS'
679 ac_subst_files=''
680 ac_user_opts='
681 enable_option_checking
682 with_lispdir
684 ac_precious_vars='build_alias
685 host_alias
686 target_alias
688 EMACS
689 EMACSLOADPATH'
692 # Initialize some variables set by options.
693 ac_init_help=
694 ac_init_version=false
695 ac_unrecognized_opts=
696 ac_unrecognized_sep=
697 # The variables have the same names as the options, with
698 # dashes changed to underlines.
699 cache_file=/dev/null
700 exec_prefix=NONE
701 no_create=
702 no_recursion=
703 prefix=NONE
704 program_prefix=NONE
705 program_suffix=NONE
706 program_transform_name=s,x,x,
707 silent=
708 site=
709 srcdir=
710 verbose=
711 x_includes=NONE
712 x_libraries=NONE
714 # Installation directory options.
715 # These are left unexpanded so users can "make install exec_prefix=/foo"
716 # and all the variables that are supposed to be based on exec_prefix
717 # by default will actually change.
718 # Use braces instead of parens because sh, perl, etc. also accept them.
719 # (The list follows the same order as the GNU Coding Standards.)
720 bindir='${exec_prefix}/bin'
721 sbindir='${exec_prefix}/sbin'
722 libexecdir='${exec_prefix}/libexec'
723 datarootdir='${prefix}/share'
724 datadir='${datarootdir}'
725 sysconfdir='${prefix}/etc'
726 sharedstatedir='${prefix}/com'
727 localstatedir='${prefix}/var'
728 includedir='${prefix}/include'
729 oldincludedir='/usr/include'
730 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
731 infodir='${datarootdir}/info'
732 htmldir='${docdir}'
733 dvidir='${docdir}'
734 pdfdir='${docdir}'
735 psdir='${docdir}'
736 libdir='${exec_prefix}/lib'
737 localedir='${datarootdir}/locale'
738 mandir='${datarootdir}/man'
740 ac_prev=
741 ac_dashdash=
742 for ac_option
744 # If the previous option needs an argument, assign it.
745 if test -n "$ac_prev"; then
746 eval $ac_prev=\$ac_option
747 ac_prev=
748 continue
751 case $ac_option in
752 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
753 *) ac_optarg=yes ;;
754 esac
756 # Accept the important Cygnus configure options, so we can diagnose typos.
758 case $ac_dashdash$ac_option in
760 ac_dashdash=yes ;;
762 -bindir | --bindir | --bindi | --bind | --bin | --bi)
763 ac_prev=bindir ;;
764 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
765 bindir=$ac_optarg ;;
767 -build | --build | --buil | --bui | --bu)
768 ac_prev=build_alias ;;
769 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
770 build_alias=$ac_optarg ;;
772 -cache-file | --cache-file | --cache-fil | --cache-fi \
773 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
774 ac_prev=cache_file ;;
775 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
776 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
777 cache_file=$ac_optarg ;;
779 --config-cache | -C)
780 cache_file=config.cache ;;
782 -datadir | --datadir | --datadi | --datad)
783 ac_prev=datadir ;;
784 -datadir=* | --datadir=* | --datadi=* | --datad=*)
785 datadir=$ac_optarg ;;
787 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
788 | --dataroo | --dataro | --datar)
789 ac_prev=datarootdir ;;
790 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
791 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
792 datarootdir=$ac_optarg ;;
794 -disable-* | --disable-*)
795 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
796 # Reject names that are not valid shell variable names.
797 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
798 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
799 { (exit 1); exit 1; }; }
800 ac_useropt_orig=$ac_useropt
801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
802 case $ac_user_opts in
804 "enable_$ac_useropt"
805 "*) ;;
806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
807 ac_unrecognized_sep=', ';;
808 esac
809 eval enable_$ac_useropt=no ;;
811 -docdir | --docdir | --docdi | --doc | --do)
812 ac_prev=docdir ;;
813 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
814 docdir=$ac_optarg ;;
816 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
817 ac_prev=dvidir ;;
818 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
819 dvidir=$ac_optarg ;;
821 -enable-* | --enable-*)
822 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
825 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
826 { (exit 1); exit 1; }; }
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
829 case $ac_user_opts in
831 "enable_$ac_useropt"
832 "*) ;;
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
835 esac
836 eval enable_$ac_useropt=\$ac_optarg ;;
838 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
839 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
840 | --exec | --exe | --ex)
841 ac_prev=exec_prefix ;;
842 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
843 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
844 | --exec=* | --exe=* | --ex=*)
845 exec_prefix=$ac_optarg ;;
847 -gas | --gas | --ga | --g)
848 # Obsolete; use --with-gas.
849 with_gas=yes ;;
851 -help | --help | --hel | --he | -h)
852 ac_init_help=long ;;
853 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
854 ac_init_help=recursive ;;
855 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
856 ac_init_help=short ;;
858 -host | --host | --hos | --ho)
859 ac_prev=host_alias ;;
860 -host=* | --host=* | --hos=* | --ho=*)
861 host_alias=$ac_optarg ;;
863 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
864 ac_prev=htmldir ;;
865 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
866 | --ht=*)
867 htmldir=$ac_optarg ;;
869 -includedir | --includedir | --includedi | --included | --include \
870 | --includ | --inclu | --incl | --inc)
871 ac_prev=includedir ;;
872 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
873 | --includ=* | --inclu=* | --incl=* | --inc=*)
874 includedir=$ac_optarg ;;
876 -infodir | --infodir | --infodi | --infod | --info | --inf)
877 ac_prev=infodir ;;
878 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
879 infodir=$ac_optarg ;;
881 -libdir | --libdir | --libdi | --libd)
882 ac_prev=libdir ;;
883 -libdir=* | --libdir=* | --libdi=* | --libd=*)
884 libdir=$ac_optarg ;;
886 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
887 | --libexe | --libex | --libe)
888 ac_prev=libexecdir ;;
889 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
890 | --libexe=* | --libex=* | --libe=*)
891 libexecdir=$ac_optarg ;;
893 -localedir | --localedir | --localedi | --localed | --locale)
894 ac_prev=localedir ;;
895 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
896 localedir=$ac_optarg ;;
898 -localstatedir | --localstatedir | --localstatedi | --localstated \
899 | --localstate | --localstat | --localsta | --localst | --locals)
900 ac_prev=localstatedir ;;
901 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
902 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
903 localstatedir=$ac_optarg ;;
905 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
906 ac_prev=mandir ;;
907 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
908 mandir=$ac_optarg ;;
910 -nfp | --nfp | --nf)
911 # Obsolete; use --without-fp.
912 with_fp=no ;;
914 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
915 | --no-cr | --no-c | -n)
916 no_create=yes ;;
918 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
919 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
920 no_recursion=yes ;;
922 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
923 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
924 | --oldin | --oldi | --old | --ol | --o)
925 ac_prev=oldincludedir ;;
926 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
927 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
928 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
929 oldincludedir=$ac_optarg ;;
931 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
932 ac_prev=prefix ;;
933 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
934 prefix=$ac_optarg ;;
936 -program-prefix | --program-prefix | --program-prefi | --program-pref \
937 | --program-pre | --program-pr | --program-p)
938 ac_prev=program_prefix ;;
939 -program-prefix=* | --program-prefix=* | --program-prefi=* \
940 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
941 program_prefix=$ac_optarg ;;
943 -program-suffix | --program-suffix | --program-suffi | --program-suff \
944 | --program-suf | --program-su | --program-s)
945 ac_prev=program_suffix ;;
946 -program-suffix=* | --program-suffix=* | --program-suffi=* \
947 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
948 program_suffix=$ac_optarg ;;
950 -program-transform-name | --program-transform-name \
951 | --program-transform-nam | --program-transform-na \
952 | --program-transform-n | --program-transform- \
953 | --program-transform | --program-transfor \
954 | --program-transfo | --program-transf \
955 | --program-trans | --program-tran \
956 | --progr-tra | --program-tr | --program-t)
957 ac_prev=program_transform_name ;;
958 -program-transform-name=* | --program-transform-name=* \
959 | --program-transform-nam=* | --program-transform-na=* \
960 | --program-transform-n=* | --program-transform-=* \
961 | --program-transform=* | --program-transfor=* \
962 | --program-transfo=* | --program-transf=* \
963 | --program-trans=* | --program-tran=* \
964 | --progr-tra=* | --program-tr=* | --program-t=*)
965 program_transform_name=$ac_optarg ;;
967 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
968 ac_prev=pdfdir ;;
969 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
970 pdfdir=$ac_optarg ;;
972 -psdir | --psdir | --psdi | --psd | --ps)
973 ac_prev=psdir ;;
974 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
975 psdir=$ac_optarg ;;
977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
978 | -silent | --silent | --silen | --sile | --sil)
979 silent=yes ;;
981 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
982 ac_prev=sbindir ;;
983 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
984 | --sbi=* | --sb=*)
985 sbindir=$ac_optarg ;;
987 -sharedstatedir | --sharedstatedir | --sharedstatedi \
988 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
989 | --sharedst | --shareds | --shared | --share | --shar \
990 | --sha | --sh)
991 ac_prev=sharedstatedir ;;
992 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
993 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
994 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
995 | --sha=* | --sh=*)
996 sharedstatedir=$ac_optarg ;;
998 -site | --site | --sit)
999 ac_prev=site ;;
1000 -site=* | --site=* | --sit=*)
1001 site=$ac_optarg ;;
1003 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1004 ac_prev=srcdir ;;
1005 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1006 srcdir=$ac_optarg ;;
1008 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1009 | --syscon | --sysco | --sysc | --sys | --sy)
1010 ac_prev=sysconfdir ;;
1011 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1012 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1013 sysconfdir=$ac_optarg ;;
1015 -target | --target | --targe | --targ | --tar | --ta | --t)
1016 ac_prev=target_alias ;;
1017 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1018 target_alias=$ac_optarg ;;
1020 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1021 verbose=yes ;;
1023 -version | --version | --versio | --versi | --vers | -V)
1024 ac_init_version=: ;;
1026 -with-* | --with-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1030 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1031 { (exit 1); exit 1; }; }
1032 ac_useropt_orig=$ac_useropt
1033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1034 case $ac_user_opts in
1036 "with_$ac_useropt"
1037 "*) ;;
1038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1039 ac_unrecognized_sep=', ';;
1040 esac
1041 eval with_$ac_useropt=\$ac_optarg ;;
1043 -without-* | --without-*)
1044 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1047 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1048 { (exit 1); exit 1; }; }
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1051 case $ac_user_opts in
1053 "with_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval with_$ac_useropt=no ;;
1060 --x)
1061 # Obsolete; use --with-x.
1062 with_x=yes ;;
1064 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1065 | --x-incl | --x-inc | --x-in | --x-i)
1066 ac_prev=x_includes ;;
1067 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1068 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1069 x_includes=$ac_optarg ;;
1071 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1072 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1073 ac_prev=x_libraries ;;
1074 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1075 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1076 x_libraries=$ac_optarg ;;
1078 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1079 Try \`$0 --help' for more information." >&2
1080 { (exit 1); exit 1; }; }
1083 *=*)
1084 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1087 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1088 { (exit 1); exit 1; }; }
1089 eval $ac_envvar=\$ac_optarg
1090 export $ac_envvar ;;
1093 # FIXME: should be removed in autoconf 3.0.
1094 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1100 esac
1101 done
1103 if test -n "$ac_prev"; then
1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1106 { (exit 1); exit 1; }; }
1109 if test -n "$ac_unrecognized_opts"; then
1110 case $enable_option_checking in
1111 no) ;;
1112 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1113 { (exit 1); exit 1; }; } ;;
1114 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1115 esac
1118 # Check all directory arguments for consistency.
1119 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1120 datadir sysconfdir sharedstatedir localstatedir includedir \
1121 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1122 libdir localedir mandir
1124 eval ac_val=\$$ac_var
1125 # Remove trailing slashes.
1126 case $ac_val in
1127 */ )
1128 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1129 eval $ac_var=\$ac_val;;
1130 esac
1131 # Be sure to have absolute directory names.
1132 case $ac_val in
1133 [\\/$]* | ?:[\\/]* ) continue;;
1134 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1135 esac
1136 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1137 { (exit 1); exit 1; }; }
1138 done
1140 # There might be people who depend on the old broken behavior: `$host'
1141 # used to hold the argument of --host etc.
1142 # FIXME: To remove some day.
1143 build=$build_alias
1144 host=$host_alias
1145 target=$target_alias
1147 # FIXME: To remove some day.
1148 if test "x$host_alias" != x; then
1149 if test "x$build_alias" = x; then
1150 cross_compiling=maybe
1151 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1152 If a cross compiler is detected then cross compile mode will be used." >&2
1153 elif test "x$build_alias" != "x$host_alias"; then
1154 cross_compiling=yes
1158 ac_tool_prefix=
1159 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1161 test "$silent" = yes && exec 6>/dev/null
1164 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1165 ac_ls_di=`ls -di .` &&
1166 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1167 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1168 { (exit 1); exit 1; }; }
1169 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1171 { (exit 1); exit 1; }; }
1174 # Find the source files, if location was not specified.
1175 if test -z "$srcdir"; then
1176 ac_srcdir_defaulted=yes
1177 # Try the directory containing this script, then the parent directory.
1178 ac_confdir=`$as_dirname -- "$as_myself" ||
1179 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1180 X"$as_myself" : 'X\(//\)[^/]' \| \
1181 X"$as_myself" : 'X\(//\)$' \| \
1182 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1183 $as_echo X"$as_myself" |
1184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1185 s//\1/
1188 /^X\(\/\/\)[^/].*/{
1189 s//\1/
1192 /^X\(\/\/\)$/{
1193 s//\1/
1196 /^X\(\/\).*/{
1197 s//\1/
1200 s/.*/./; q'`
1201 srcdir=$ac_confdir
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1203 srcdir=..
1205 else
1206 ac_srcdir_defaulted=no
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1209 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1210 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1211 { (exit 1); exit 1; }; }
1213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 ac_abs_confdir=`(
1215 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1216 { (exit 1); exit 1; }; }
1217 pwd)`
1218 # When building in place, set srcdir=.
1219 if test "$ac_abs_confdir" = "$ac_pwd"; then
1220 srcdir=.
1222 # Remove unnecessary trailing slashes from srcdir.
1223 # Double slashes in file names in object file debugging info
1224 # mess up M-x gdb in Emacs.
1225 case $srcdir in
1226 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227 esac
1228 for ac_var in $ac_precious_vars; do
1229 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1230 eval ac_env_${ac_var}_value=\$${ac_var}
1231 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1233 done
1236 # Report the --help message.
1238 if test "$ac_init_help" = "long"; then
1239 # Omit some internal or obsolete options to make the list less imposing.
1240 # This message is too long to be a string in the A/UX 3.1 sh.
1241 cat <<_ACEOF
1242 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1244 Usage: $0 [OPTION]... [VAR=VALUE]...
1246 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1247 VAR=VALUE. See below for descriptions of some of the useful variables.
1249 Defaults for the options are specified in brackets.
1251 Configuration:
1252 -h, --help display this help and exit
1253 --help=short display options specific to this package
1254 --help=recursive display the short help of all the included packages
1255 -V, --version display version information and exit
1256 -q, --quiet, --silent do not print \`checking...' messages
1257 --cache-file=FILE cache test results in FILE [disabled]
1258 -C, --config-cache alias for \`--cache-file=config.cache'
1259 -n, --no-create do not create output files
1260 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1262 Installation directories:
1263 --prefix=PREFIX install architecture-independent files in PREFIX
1264 [$ac_default_prefix]
1265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1266 [PREFIX]
1268 By default, \`make install' will install all the files in
1269 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1270 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1271 for instance \`--prefix=\$HOME'.
1273 For better control, use the options below.
1275 Fine tuning of the installation directories:
1276 --bindir=DIR user executables [EPREFIX/bin]
1277 --sbindir=DIR system admin executables [EPREFIX/sbin]
1278 --libexecdir=DIR program executables [EPREFIX/libexec]
1279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1281 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1282 --libdir=DIR object code libraries [EPREFIX/lib]
1283 --includedir=DIR C header files [PREFIX/include]
1284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1287 --infodir=DIR info documentation [DATAROOTDIR/info]
1288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1289 --mandir=DIR man documentation [DATAROOTDIR/man]
1290 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1291 --htmldir=DIR html documentation [DOCDIR]
1292 --dvidir=DIR dvi documentation [DOCDIR]
1293 --pdfdir=DIR pdf documentation [DOCDIR]
1294 --psdir=DIR ps documentation [DOCDIR]
1295 _ACEOF
1297 cat <<\_ACEOF
1299 Program names:
1300 --program-prefix=PREFIX prepend PREFIX to installed program names
1301 --program-suffix=SUFFIX append SUFFIX to installed program names
1302 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1303 _ACEOF
1306 if test -n "$ac_init_help"; then
1307 case $ac_init_help in
1308 short | recursive ) echo "Configuration of GNU Autoconf 2.61b:";;
1309 esac
1310 cat <<\_ACEOF
1312 Optional Packages:
1313 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1314 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1315 --with-lispdir override the default lisp directory
1317 Some influential environment variables:
1318 M4 Location of GNU M4 1.4.5 or later. Defaults to the first program
1319 of `m4', `gm4', or `gnum4' on PATH that meets Autoconf needs.
1320 EMACS the Emacs editor command
1321 EMACSLOADPATH
1322 the Emacs library search path
1324 Use these variables to override the choices made by `configure' or to help
1325 it to find libraries and programs with nonstandard names/locations.
1327 Report bugs to <bug-autoconf@gnu.org>.
1328 _ACEOF
1329 ac_status=$?
1332 if test "$ac_init_help" = "recursive"; then
1333 # If there are subdirs, report their specific --help.
1334 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1335 test -d "$ac_dir" ||
1336 { cd "$srcdir" && srcdir=. && test -d "$ac_dir"; } ||
1337 continue
1338 ac_builddir=.
1340 case "$ac_dir" in
1341 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1344 # A ".." for each directory in $ac_dir_suffix.
1345 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1346 case $ac_top_builddir_sub in
1347 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1349 esac ;;
1350 esac
1351 ac_abs_top_builddir=$ac_pwd
1352 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1353 # for backward compatibility:
1354 ac_top_builddir=$ac_top_build_prefix
1356 case $srcdir in
1357 .) # We are building in place.
1358 ac_srcdir=.
1359 ac_top_srcdir=$ac_top_builddir_sub
1360 ac_abs_top_srcdir=$ac_pwd ;;
1361 [\\/]* | ?:[\\/]* ) # Absolute name.
1362 ac_srcdir=$srcdir$ac_dir_suffix;
1363 ac_top_srcdir=$srcdir
1364 ac_abs_top_srcdir=$srcdir ;;
1365 *) # Relative name.
1366 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1367 ac_top_srcdir=$ac_top_build_prefix$srcdir
1368 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 esac
1370 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1372 cd "$ac_dir" || { ac_status=$?; continue; }
1373 # Check for guested configure.
1374 if test -f "$ac_srcdir/configure.gnu"; then
1375 echo &&
1376 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1377 elif test -f "$ac_srcdir/configure"; then
1378 echo &&
1379 $SHELL "$ac_srcdir/configure" --help=recursive
1380 else
1381 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382 fi || ac_status=$?
1383 cd "$ac_pwd" || { ac_status=$?; break; }
1384 done
1387 test -n "$ac_init_help" && exit $ac_status
1388 if $ac_init_version; then
1389 cat <<\_ACEOF
1390 GNU Autoconf configure 2.61b
1391 generated by GNU Autoconf 2.61b
1393 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1394 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
1395 This configure script is free software; the Free Software Foundation
1396 gives unlimited permission to copy, distribute and modify it.
1397 _ACEOF
1398 exit
1400 cat >config.log <<_ACEOF
1401 This file contains any messages produced by compilers while
1402 running configure, to aid debugging if configure makes a mistake.
1404 It was created by GNU Autoconf $as_me 2.61b, which was
1405 generated by GNU Autoconf 2.61b. Invocation command line was
1407 $ $0 $@
1409 _ACEOF
1410 exec 5>>config.log
1412 cat <<_ASUNAME
1413 ## --------- ##
1414 ## Platform. ##
1415 ## --------- ##
1417 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1418 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1419 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1420 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1421 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1423 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1424 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1426 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1427 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1428 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1429 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1430 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1431 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1432 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1434 _ASUNAME
1436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437 for as_dir in $PATH
1439 IFS=$as_save_IFS
1440 test -z "$as_dir" && as_dir=.
1441 $as_echo "PATH: $as_dir"
1442 done
1443 IFS=$as_save_IFS
1445 } >&5
1447 cat >&5 <<_ACEOF
1450 ## ----------- ##
1451 ## Core tests. ##
1452 ## ----------- ##
1454 _ACEOF
1457 # Keep a trace of the command line.
1458 # Strip out --no-create and --no-recursion so they do not pile up.
1459 # Strip out --silent because we don't want to record it for future runs.
1460 # Also quote any args containing shell meta-characters.
1461 # Make two passes to allow for proper duplicate-argument suppression.
1462 ac_configure_args=
1463 ac_configure_args0=
1464 ac_configure_args1=
1465 ac_must_keep_next=false
1466 for ac_pass in 1 2
1468 for ac_arg
1470 case $ac_arg in
1471 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1473 | -silent | --silent | --silen | --sile | --sil)
1474 continue ;;
1475 *\'*)
1476 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1477 esac
1478 case $ac_pass in
1479 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1481 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1482 if test $ac_must_keep_next = true; then
1483 ac_must_keep_next=false # Got value, back to normal.
1484 else
1485 case $ac_arg in
1486 *=* | --config-cache | -C | -disable-* | --disable-* \
1487 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1488 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1489 | -with-* | --with-* | -without-* | --without-* | --x)
1490 case "$ac_configure_args0 " in
1491 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1492 esac
1494 -* ) ac_must_keep_next=true ;;
1495 esac
1497 ac_configure_args="$ac_configure_args '$ac_arg'"
1499 esac
1500 done
1501 done
1502 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1503 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1505 # When interrupted or exit'd, cleanup temporary files, and complete
1506 # config.log. We remove comments because anyway the quotes in there
1507 # would cause problems or look ugly.
1508 # WARNING: Use '\'' to represent an apostrophe within the trap.
1509 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1510 trap 'exit_status=$?
1511 # Save into config.log some information that might help in debugging.
1513 echo
1515 cat <<\_ASBOX
1516 ## ---------------- ##
1517 ## Cache variables. ##
1518 ## ---------------- ##
1519 _ASBOX
1520 echo
1521 # The following way of writing the cache mishandles newlines in values,
1523 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1524 eval ac_val=\$$ac_var
1525 case $ac_val in #(
1526 *${as_nl}*)
1527 case $ac_var in #(
1528 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1529 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1530 esac
1531 case $ac_var in #(
1532 _ | IFS | as_nl) ;; #(
1533 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1534 *) $as_unset $ac_var ;;
1535 esac ;;
1536 esac
1537 done
1538 (set) 2>&1 |
1539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1540 *${as_nl}ac_space=\ *)
1541 sed -n \
1542 "s/'\''/'\''\\\\'\'''\''/g;
1543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1544 ;; #(
1546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1548 esac |
1549 sort
1551 echo
1553 cat <<\_ASBOX
1554 ## ----------------- ##
1555 ## Output variables. ##
1556 ## ----------------- ##
1557 _ASBOX
1558 echo
1559 for ac_var in $ac_subst_vars
1561 eval ac_val=\$$ac_var
1562 case $ac_val in
1563 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1564 esac
1565 $as_echo "$ac_var='\''$ac_val'\''"
1566 done | sort
1567 echo
1569 if test -n "$ac_subst_files"; then
1570 cat <<\_ASBOX
1571 ## ------------------- ##
1572 ## File substitutions. ##
1573 ## ------------------- ##
1574 _ASBOX
1575 echo
1576 for ac_var in $ac_subst_files
1578 eval ac_val=\$$ac_var
1579 case $ac_val in
1580 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1581 esac
1582 $as_echo "$ac_var='\''$ac_val'\''"
1583 done | sort
1584 echo
1587 if test -s confdefs.h; then
1588 cat <<\_ASBOX
1589 ## ----------- ##
1590 ## confdefs.h. ##
1591 ## ----------- ##
1592 _ASBOX
1593 echo
1594 cat confdefs.h
1595 echo
1597 test "$ac_signal" != 0 &&
1598 $as_echo "$as_me: caught signal $ac_signal"
1599 $as_echo "$as_me: exit $exit_status"
1600 } >&5
1601 rm -f core *.core core.conftest.* &&
1602 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1603 exit $exit_status
1605 for ac_signal in 1 2 13 15; do
1606 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1607 done
1608 ac_signal=0
1610 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1611 rm -f -r conftest* confdefs.h
1613 # Predefined preprocessor variables.
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_NAME "$PACKAGE_NAME"
1617 _ACEOF
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1622 _ACEOF
1625 cat >>confdefs.h <<_ACEOF
1626 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1627 _ACEOF
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_STRING "$PACKAGE_STRING"
1632 _ACEOF
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1637 _ACEOF
1640 # Let the site file select an alternate cache file if it wants to.
1641 # Prefer an explicitly selected file to automatically selected ones.
1642 ac_site_file1=NONE
1643 ac_site_file2=NONE
1644 if test -n "$CONFIG_SITE"; then
1645 ac_site_file1=$CONFIG_SITE
1646 elif test "x$prefix" != xNONE; then
1647 ac_site_file1=$prefix/share/config.site
1648 ac_site_file2=$prefix/etc/config.site
1649 else
1650 ac_site_file1=$ac_default_prefix/share/config.site
1651 ac_site_file2=$ac_default_prefix/etc/config.site
1653 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1655 test "x$ac_site_file" = xNONE && continue
1656 if test -r "$ac_site_file"; then
1657 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1658 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1659 sed 's/^/| /' "$ac_site_file" >&5
1660 . "$ac_site_file"
1662 done
1664 if test -r "$cache_file"; then
1665 # Some versions of bash will fail to source /dev/null (special
1666 # files actually), so we avoid doing that.
1667 if test -f "$cache_file"; then
1668 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1669 $as_echo "$as_me: loading cache $cache_file" >&6;}
1670 case $cache_file in
1671 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1672 *) . "./$cache_file";;
1673 esac
1675 else
1676 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1677 $as_echo "$as_me: creating cache $cache_file" >&6;}
1678 >$cache_file
1681 # Check that the precious variables saved in the cache have kept the same
1682 # value.
1683 ac_cache_corrupted=false
1684 for ac_var in $ac_precious_vars; do
1685 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1686 eval ac_new_set=\$ac_env_${ac_var}_set
1687 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1688 eval ac_new_val=\$ac_env_${ac_var}_value
1689 case $ac_old_set,$ac_new_set in
1690 set,)
1691 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1692 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1693 ac_cache_corrupted=: ;;
1694 ,set)
1695 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1696 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1697 ac_cache_corrupted=: ;;
1698 ,);;
1700 if test "x$ac_old_val" != "x$ac_new_val"; then
1701 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1702 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1703 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1704 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1705 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1706 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1707 ac_cache_corrupted=:
1708 fi;;
1709 esac
1710 # Pass precious variables to config.status.
1711 if test "$ac_new_set" = set; then
1712 case $ac_new_val in
1713 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1714 *) ac_arg=$ac_var=$ac_new_val ;;
1715 esac
1716 case " $ac_configure_args " in
1717 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1718 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1719 esac
1721 done
1722 if $ac_cache_corrupted; then
1723 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1724 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1725 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1726 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1727 { (exit 1); exit 1; }; }
1754 ac_ext=c
1755 ac_cpp='$CPP $CPPFLAGS'
1756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1763 ac_aux_dir=
1764 for ac_dir in build-aux "$srcdir"/build-aux; do
1765 if test -f "$ac_dir/install-sh"; then
1766 ac_aux_dir=$ac_dir
1767 ac_install_sh="$ac_aux_dir/install-sh -c"
1768 break
1769 elif test -f "$ac_dir/install.sh"; then
1770 ac_aux_dir=$ac_dir
1771 ac_install_sh="$ac_aux_dir/install.sh -c"
1772 break
1773 elif test -f "$ac_dir/shtool"; then
1774 ac_aux_dir=$ac_dir
1775 ac_install_sh="$ac_aux_dir/shtool install -c"
1776 break
1778 done
1779 if test -z "$ac_aux_dir"; then
1780 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1781 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1782 { (exit 1); exit 1; }; }
1785 # These three variables are undocumented and unsupported,
1786 # and are intended to be withdrawn in a future Autoconf release.
1787 # They can cause serious problems if a builder's source tree is in a directory
1788 # whose full name contains unusual characters.
1789 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1790 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1791 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1795 am__api_version='1.10'
1797 # Find a good install program. We prefer a C program (faster),
1798 # so one script is as good as another. But avoid the broken or
1799 # incompatible versions:
1800 # SysV /etc/install, /usr/sbin/install
1801 # SunOS /usr/etc/install
1802 # IRIX /sbin/install
1803 # AIX /bin/install
1804 # AmigaOS /C/install, which installs bootblocks on floppy discs
1805 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1806 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1807 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1808 # OS/2's system install, which has a completely different semantic
1809 # ./install, which can be erroneously created by make from ./install.sh.
1810 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1811 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1812 if test -z "$INSTALL"; then
1813 if test "${ac_cv_path_install+set}" = set; then
1814 $as_echo_n "(cached) " >&6
1815 else
1816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1817 for as_dir in $PATH
1819 IFS=$as_save_IFS
1820 test -z "$as_dir" && as_dir=.
1821 # Account for people who put trailing slashes in PATH elements.
1822 case $as_dir/ in
1823 ./ | .// | /cC/* | \
1824 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1825 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1826 /usr/ucb/* ) ;;
1828 # OSF1 and SCO ODT 3.0 have their own names for install.
1829 # Don't use installbsd from OSF since it installs stuff as root
1830 # by default.
1831 for ac_prog in ginstall scoinst install; do
1832 for ac_exec_ext in '' $ac_executable_extensions; do
1833 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1834 if test $ac_prog = install &&
1835 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1836 # AIX install. It has an incompatible calling convention.
1838 elif test $ac_prog = install &&
1839 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1840 # program-specific install script used by HP pwplus--don't use.
1842 else
1843 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1844 break 3
1847 done
1848 done
1850 esac
1851 done
1852 IFS=$as_save_IFS
1856 if test "${ac_cv_path_install+set}" = set; then
1857 INSTALL=$ac_cv_path_install
1858 else
1859 # As a last resort, use the slow shell script. Don't cache a
1860 # value for INSTALL within a source directory, because that will
1861 # break other packages using the cache if that directory is
1862 # removed, or if the value is a relative name.
1863 INSTALL=$ac_install_sh
1866 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1867 $as_echo "$INSTALL" >&6; }
1869 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1870 # It thinks the first close brace ends the variable substitution.
1871 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1873 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1875 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1877 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1878 $as_echo_n "checking whether build environment is sane... " >&6; }
1879 # Just in case
1880 sleep 1
1881 echo timestamp > conftest.file
1882 # Do `set' in a subshell so we don't clobber the current shell's
1883 # arguments. Must try -L first in case configure is actually a
1884 # symlink; some systems play weird games with the mod time of symlinks
1885 # (eg FreeBSD returns the mod time of the symlink's containing
1886 # directory).
1887 if (
1888 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1889 if test "$*" = "X"; then
1890 # -L didn't work.
1891 set X `ls -t $srcdir/configure conftest.file`
1893 rm -f conftest.file
1894 if test "$*" != "X $srcdir/configure conftest.file" \
1895 && test "$*" != "X conftest.file $srcdir/configure"; then
1897 # If neither matched, then we have a broken ls. This can happen
1898 # if, for instance, CONFIG_SHELL is bash and it inherits a
1899 # broken ls alias from the environment. This has actually
1900 # happened. Such a system could not be considered "sane".
1901 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1902 alias in your environment" >&5
1903 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1904 alias in your environment" >&2;}
1905 { (exit 1); exit 1; }; }
1908 test "$2" = conftest.file
1910 then
1911 # Ok.
1913 else
1914 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1915 Check your system clock" >&5
1916 $as_echo "$as_me: error: newly created file is older than distributed files!
1917 Check your system clock" >&2;}
1918 { (exit 1); exit 1; }; }
1920 { $as_echo "$as_me:$LINENO: result: yes" >&5
1921 $as_echo "yes" >&6; }
1922 test "$program_prefix" != NONE &&
1923 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1924 # Use a double $ so make ignores it.
1925 test "$program_suffix" != NONE &&
1926 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1927 # Double any \ or $.
1928 # By default was `s,x,x', remove it if useless.
1929 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1930 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1932 # expand $ac_aux_dir to an absolute path
1933 am_aux_dir=`cd $ac_aux_dir && pwd`
1935 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1936 # Use eval to expand $SHELL
1937 if eval "$MISSING --run true"; then
1938 am_missing_run="$MISSING --run "
1939 else
1940 am_missing_run=
1941 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1942 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1945 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1946 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1947 if test -z "$MKDIR_P"; then
1948 if test "${ac_cv_path_mkdir+set}" = set; then
1949 $as_echo_n "(cached) " >&6
1950 else
1951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1954 IFS=$as_save_IFS
1955 test -z "$as_dir" && as_dir=.
1956 for ac_prog in mkdir gmkdir; do
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1959 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1960 'mkdir (GNU coreutils) '* | \
1961 'mkdir (coreutils) '* | \
1962 'mkdir (fileutils) '4.1*)
1963 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1964 break 3;;
1965 esac
1966 done
1967 done
1968 done
1969 IFS=$as_save_IFS
1973 if test "${ac_cv_path_mkdir+set}" = set; then
1974 MKDIR_P="$ac_cv_path_mkdir -p"
1975 else
1976 # As a last resort, use the slow shell script. Don't cache a
1977 # value for MKDIR_P within a source directory, because that will
1978 # break other packages using the cache if that directory is
1979 # removed, or if the value is a relative name.
1980 test -d ./--version && rmdir ./--version
1981 MKDIR_P="$ac_install_sh -d"
1984 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1985 $as_echo "$MKDIR_P" >&6; }
1987 mkdir_p="$MKDIR_P"
1988 case $mkdir_p in
1989 [\\/$]* | ?:[\\/]*) ;;
1990 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1991 esac
1993 for ac_prog in gawk mawk nawk awk
1995 # Extract the first word of "$ac_prog", so it can be a program name with args.
1996 set dummy $ac_prog; ac_word=$2
1997 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1998 $as_echo_n "checking for $ac_word... " >&6; }
1999 if test "${ac_cv_prog_AWK+set}" = set; then
2000 $as_echo_n "(cached) " >&6
2001 else
2002 if test -n "$AWK"; then
2003 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2004 else
2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006 for as_dir in $PATH
2008 IFS=$as_save_IFS
2009 test -z "$as_dir" && as_dir=.
2010 for ac_exec_ext in '' $ac_executable_extensions; do
2011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2012 ac_cv_prog_AWK="$ac_prog"
2013 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2014 break 2
2016 done
2017 done
2018 IFS=$as_save_IFS
2022 AWK=$ac_cv_prog_AWK
2023 if test -n "$AWK"; then
2024 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2025 $as_echo "$AWK" >&6; }
2026 else
2027 { $as_echo "$as_me:$LINENO: result: no" >&5
2028 $as_echo "no" >&6; }
2032 test -n "$AWK" && break
2033 done
2035 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2036 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2037 set x ${MAKE-make}
2038 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2039 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2040 $as_echo_n "(cached) " >&6
2041 else
2042 cat >conftest.make <<\_ACEOF
2043 SHELL = /bin/sh
2044 all:
2045 @echo '@@@%%%=$(MAKE)=@@@%%%'
2046 _ACEOF
2047 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2048 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2049 *@@@%%%=?*=@@@%%%*)
2050 eval ac_cv_prog_make_${ac_make}_set=yes;;
2052 eval ac_cv_prog_make_${ac_make}_set=no;;
2053 esac
2054 rm -f conftest.make
2056 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2057 { $as_echo "$as_me:$LINENO: result: yes" >&5
2058 $as_echo "yes" >&6; }
2059 SET_MAKE=
2060 else
2061 { $as_echo "$as_me:$LINENO: result: no" >&5
2062 $as_echo "no" >&6; }
2063 SET_MAKE="MAKE=${MAKE-make}"
2066 rm -rf .tst 2>/dev/null
2067 mkdir .tst 2>/dev/null
2068 if test -d .tst; then
2069 am__leading_dot=.
2070 else
2071 am__leading_dot=_
2073 rmdir .tst 2>/dev/null
2075 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2076 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2077 # is not polluted with repeated "-I."
2078 am__isrc=' -I$(srcdir)'
2079 # test to see if srcdir already configured
2080 if test -f $srcdir/config.status; then
2081 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2082 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2083 { (exit 1); exit 1; }; }
2087 # test whether we have cygpath
2088 if test -z "$CYGPATH_W"; then
2089 if (cygpath --version) >/dev/null 2>/dev/null; then
2090 CYGPATH_W='cygpath -w'
2091 else
2092 CYGPATH_W=echo
2097 # Define the identity of the package.
2098 PACKAGE='autoconf'
2099 VERSION='2.61b'
2102 cat >>confdefs.h <<_ACEOF
2103 #define PACKAGE "$PACKAGE"
2104 _ACEOF
2107 cat >>confdefs.h <<_ACEOF
2108 #define VERSION "$VERSION"
2109 _ACEOF
2111 # Some tools Automake needs.
2113 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2116 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2119 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2122 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2125 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2127 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2129 # Installed binaries are usually stripped using `strip' when the user
2130 # run `make install-strip'. However `strip' might not be the right
2131 # tool to use in cross-compilation environments, therefore Automake
2132 # will honor the `STRIP' environment variable to overrule this program.
2133 if test "$cross_compiling" != no; then
2134 if test -n "$ac_tool_prefix"; then
2135 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2136 set dummy ${ac_tool_prefix}strip; ac_word=$2
2137 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 $as_echo_n "checking for $ac_word... " >&6; }
2139 if test "${ac_cv_prog_STRIP+set}" = set; then
2140 $as_echo_n "(cached) " >&6
2141 else
2142 if test -n "$STRIP"; then
2143 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2144 else
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH
2148 IFS=$as_save_IFS
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2152 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2153 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 break 2
2156 done
2157 done
2158 IFS=$as_save_IFS
2162 STRIP=$ac_cv_prog_STRIP
2163 if test -n "$STRIP"; then
2164 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2165 $as_echo "$STRIP" >&6; }
2166 else
2167 { $as_echo "$as_me:$LINENO: result: no" >&5
2168 $as_echo "no" >&6; }
2173 if test -z "$ac_cv_prog_STRIP"; then
2174 ac_ct_STRIP=$STRIP
2175 # Extract the first word of "strip", so it can be a program name with args.
2176 set dummy strip; ac_word=$2
2177 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 $as_echo_n "checking for $ac_word... " >&6; }
2179 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2180 $as_echo_n "(cached) " >&6
2181 else
2182 if test -n "$ac_ct_STRIP"; then
2183 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2184 else
2185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2186 for as_dir in $PATH
2188 IFS=$as_save_IFS
2189 test -z "$as_dir" && as_dir=.
2190 for ac_exec_ext in '' $ac_executable_extensions; do
2191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2192 ac_cv_prog_ac_ct_STRIP="strip"
2193 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 break 2
2196 done
2197 done
2198 IFS=$as_save_IFS
2202 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2203 if test -n "$ac_ct_STRIP"; then
2204 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2205 $as_echo "$ac_ct_STRIP" >&6; }
2206 else
2207 { $as_echo "$as_me:$LINENO: result: no" >&5
2208 $as_echo "no" >&6; }
2211 if test "x$ac_ct_STRIP" = x; then
2212 STRIP=":"
2213 else
2214 case $cross_compiling:$ac_tool_warned in
2215 yes:)
2216 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2217 whose name does not start with the host triplet. If you think this
2218 configuration is useful to you, please write to autoconf@gnu.org." >&5
2219 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2220 whose name does not start with the host triplet. If you think this
2221 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2222 ac_tool_warned=yes ;;
2223 esac
2224 STRIP=$ac_ct_STRIP
2226 else
2227 STRIP="$ac_cv_prog_STRIP"
2231 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2233 # We need awk for the "check" target. The system "awk" is bad on
2234 # some platforms.
2235 # Always define AMTAR for backward compatibility.
2237 AMTAR=${AMTAR-"${am_missing_run}tar"}
2239 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2246 # We use `/bin/sh -n script' to check that there are no syntax errors
2247 # in the scripts. Although incredible, there are /bin/sh that go into
2248 # endless loops with `-n', e.g., SunOS's:
2250 # $ uname -a
2251 # SunOS ondine 4.1.3 2 sun4m unknown
2252 # $ cat endless.sh
2253 # while false
2254 # do
2256 # done
2257 # exit 0
2258 # $ time sh endless.sh
2259 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2260 # $ time sh -nx endless.sh
2261 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2263 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2264 # that they are unusable on large scripts like our testsuite.
2266 # So before using `/bin/sh -n' to check our scripts, we first check
2267 # that `/bin/sh -n' is known to not have these problems.
2269 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2270 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2271 if test "${ac_cv_sh_n_works+set}" = set; then
2272 $as_echo_n "(cached) " >&6
2273 else
2274 if (
2275 unset BASH_VERSION ZSH_VERSION
2276 /bin/sh -c '
2277 test -n "${BASH_VERSION+set}" || # Bash
2278 test -n "${KSH_VERSION+set}" || # pdksh
2279 test -n "${ZSH_VERSION+set}" || # zsh
2280 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2282 ) 2>/dev/null
2283 then ac_cv_sh_n_works=yes
2284 else ac_cv_sh_n_works=no
2288 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2289 $as_echo "$ac_cv_sh_n_works" >&6; }
2292 # Initialize the test suite.
2293 ac_config_commands="$ac_config_commands tests/atconfig"
2296 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2298 # Extract the first word of "expr", so it can be a program name with args.
2299 set dummy expr; ac_word=$2
2300 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 $as_echo_n "checking for $ac_word... " >&6; }
2302 if test "${ac_cv_path_EXPR+set}" = set; then
2303 $as_echo_n "(cached) " >&6
2304 else
2305 case $EXPR in
2306 [\\/]* | ?:[\\/]*)
2307 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 for as_dir in $PATH
2313 IFS=$as_save_IFS
2314 test -z "$as_dir" && as_dir=.
2315 for ac_exec_ext in '' $ac_executable_extensions; do
2316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2317 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2318 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 break 2
2321 done
2322 done
2323 IFS=$as_save_IFS
2326 esac
2328 EXPR=$ac_cv_path_EXPR
2329 if test -n "$EXPR"; then
2330 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2331 $as_echo "$EXPR" >&6; }
2332 else
2333 { $as_echo "$as_me:$LINENO: result: no" >&5
2334 $as_echo "no" >&6; }
2340 ## ---- ##
2341 ## M4. ##
2342 ## ---- ##
2344 # We use an absolute name for GNU m4 so even if users have another m4 first in
2345 # their path, the installer can configure with a path that has GNU m4
2346 # on it and get that path embedded in the installed autoconf and
2347 # autoheader scripts.
2349 { $as_echo "$as_me:$LINENO: checking for GNU M4 that supports accurate traces" >&5
2350 $as_echo_n "checking for GNU M4 that supports accurate traces... " >&6; }
2351 if test "${ac_cv_path_M4+set}" = set; then
2352 $as_echo_n "(cached) " >&6
2353 else
2354 rm -f conftest.m4f
2355 if test -z "$M4"; then
2356 ac_path_M4_found=false
2357 # Loop through the user's path and test for each of PROGNAME-LIST
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 for as_dir in $PATH
2361 IFS=$as_save_IFS
2362 test -z "$as_dir" && as_dir=.
2363 for ac_prog in m4 gm4 gnum4; do
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 ac_path_M4="$as_dir/$ac_prog$ac_exec_ext"
2366 { test -f "$ac_path_M4" && $as_test_x "$ac_path_M4"; } || continue
2367 # Root out GNU M4 1.4.4, as well as non-GNU m4 that ignore -t, -F.
2368 ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)d'nl
2369 test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
2370 && test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
2371 && test -f conftest.m4f \
2372 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
2373 rm -f conftest.m4f
2374 $ac_path_M4_found && break 3
2375 done
2376 done
2377 done
2378 IFS=$as_save_IFS
2379 if test -z "$ac_cv_path_M4"; then
2380 { { $as_echo "$as_me:$LINENO: error: no acceptable m4 could be found in \$PATH.
2381 GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&5
2382 $as_echo "$as_me: error: no acceptable m4 could be found in \$PATH.
2383 GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&2;}
2384 { (exit 1); exit 1; }; }
2386 else
2387 ac_cv_path_M4=$M4
2391 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_M4" >&5
2392 $as_echo "$ac_cv_path_M4" >&6; }
2393 M4=$ac_cv_path_M4
2394 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2395 $as_echo_n "checking how m4 supports trace files... " >&6; }
2396 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2397 $as_echo_n "(cached) " >&6
2398 else
2399 case `$M4 --help < /dev/null 2>&1` in
2400 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2401 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2402 esac
2404 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2405 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2406 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2410 ## ----------- ##
2411 ## Man pages. ##
2412 ## ----------- ##
2414 ac_config_files="$ac_config_files man/Makefile"
2417 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2421 ## ------ ##
2422 ## Perl. ##
2423 ## ------ ##
2425 # We use an absolute name for perl so the #! line in autoscan will work.
2426 # Extract the first word of "perl", so it can be a program name with args.
2427 set dummy perl; ac_word=$2
2428 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 $as_echo_n "checking for $ac_word... " >&6; }
2430 if test "${ac_cv_path_PERL+set}" = set; then
2431 $as_echo_n "(cached) " >&6
2432 else
2433 case $PERL in
2434 [\\/]* | ?:[\\/]*)
2435 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2439 for as_dir in $PATH
2441 IFS=$as_save_IFS
2442 test -z "$as_dir" && as_dir=.
2443 for ac_exec_ext in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2446 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 break 2
2449 done
2450 done
2451 IFS=$as_save_IFS
2453 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2455 esac
2457 PERL=$ac_cv_path_PERL
2458 if test -n "$PERL"; then
2459 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2460 $as_echo "$PERL" >&6; }
2461 else
2462 { $as_echo "$as_me:$LINENO: result: no" >&5
2463 $as_echo "no" >&6; }
2467 if test "$PERL" = no; then
2468 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2469 $as_echo "$as_me: error: perl is not found" >&2;}
2470 { (exit 1); exit 1; }; }
2472 $PERL -e 'require 5.005_03;' || {
2473 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2474 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2475 { (exit 1); exit 1; }; }
2479 ## ------- ##
2480 ## Emacs. ##
2481 ## ------- ##
2483 ac_config_files="$ac_config_files lib/emacs/Makefile"
2485 TEST_EMACS=$EMACS
2486 test x"$TEST_EMACS" = xt && TEST_EMACS=
2487 for ac_prog in emacs xemacs
2489 # Extract the first word of "$ac_prog", so it can be a program name with args.
2490 set dummy $ac_prog; ac_word=$2
2491 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2492 $as_echo_n "checking for $ac_word... " >&6; }
2493 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2494 $as_echo_n "(cached) " >&6
2495 else
2496 if test -n "$TEST_EMACS"; then
2497 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2498 else
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 for as_dir in $PATH
2502 IFS=$as_save_IFS
2503 test -z "$as_dir" && as_dir=.
2504 for ac_exec_ext in '' $ac_executable_extensions; do
2505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2506 ac_cv_prog_TEST_EMACS="$ac_prog"
2507 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 break 2
2510 done
2511 done
2512 IFS=$as_save_IFS
2516 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2517 if test -n "$TEST_EMACS"; then
2518 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2519 $as_echo "$TEST_EMACS" >&6; }
2520 else
2521 { $as_echo "$as_me:$LINENO: result: no" >&5
2522 $as_echo "no" >&6; }
2526 test -n "$TEST_EMACS" && break
2527 done
2528 test -n "$TEST_EMACS" || TEST_EMACS="no"
2531 # autoconf-mode.el and autotest-mode.el do not work with older version of
2532 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2533 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2534 # We detect this problem here.
2535 if test "$TEST_EMACS" != no; then
2536 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2537 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2538 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2539 $as_echo_n "(cached) " >&6
2540 else
2541 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2542 cat >conftest.el << "EOF"
2543 (defvar broken)
2544 (defun broken-mode () (setq broken-defaults `(broken nil)))
2546 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2547 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2548 ac_status=$?
2549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }; then
2551 ac_cv_prog_emacs_ok=yes
2552 else
2553 ac_cv_prog_emacs_ok=no
2556 rm -f conftest.el conftest.elc
2558 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2559 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2560 if test $ac_cv_prog_emacs_ok = no; then
2561 TEST_EMACS=no
2567 EMACS=$TEST_EMACS
2570 # If set to t, that means we are running in a shell under Emacs.
2571 # If you have an Emacs named "t", then use the full path.
2572 test x"$EMACS" = xt && EMACS=
2573 for ac_prog in emacs xemacs
2575 # Extract the first word of "$ac_prog", so it can be a program name with args.
2576 set dummy $ac_prog; ac_word=$2
2577 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2578 $as_echo_n "checking for $ac_word... " >&6; }
2579 if test "${ac_cv_prog_EMACS+set}" = set; then
2580 $as_echo_n "(cached) " >&6
2581 else
2582 if test -n "$EMACS"; then
2583 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2584 else
2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 for as_dir in $PATH
2588 IFS=$as_save_IFS
2589 test -z "$as_dir" && as_dir=.
2590 for ac_exec_ext in '' $ac_executable_extensions; do
2591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2592 ac_cv_prog_EMACS="$ac_prog"
2593 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 break 2
2596 done
2597 done
2598 IFS=$as_save_IFS
2602 EMACS=$ac_cv_prog_EMACS
2603 if test -n "$EMACS"; then
2604 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2605 $as_echo "$EMACS" >&6; }
2606 else
2607 { $as_echo "$as_me:$LINENO: result: no" >&5
2608 $as_echo "no" >&6; }
2612 test -n "$EMACS" && break
2613 done
2614 test -n "$EMACS" || EMACS="no"
2619 # Check whether --with-lispdir was given.
2620 if test "${with_lispdir+set}" = set; then
2621 withval=$with_lispdir; lispdir="$withval"
2622 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2623 $as_echo_n "checking where .elc files should go... " >&6; }
2624 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2625 $as_echo "$lispdir" >&6; }
2626 else
2628 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2629 $as_echo_n "checking where .elc files should go... " >&6; }
2630 if test "${am_cv_lispdir+set}" = set; then
2631 $as_echo_n "(cached) " >&6
2632 else
2634 if test $EMACS != "no"; then
2635 if test x${lispdir+set} != xset; then
2636 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2637 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2638 # which is non-obvious for non-emacs users.
2639 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2640 # emacsen earlier and avoid running this altogether.
2641 { ($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
2642 ($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
2643 ac_status=$?
2644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); }
2646 am_cv_lispdir=`sed -n \
2647 -e 's,/$,,' \
2648 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2649 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2650 conftest.out`
2651 rm conftest.out
2654 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2657 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2658 $as_echo "$am_cv_lispdir" >&6; }
2659 lispdir="$am_cv_lispdir"
2667 ## ------------ ##
2668 ## Grep & sed. ##
2669 ## ------------ ##
2670 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2671 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2672 if test "${ac_cv_path_GREP+set}" = set; then
2673 $as_echo_n "(cached) " >&6
2674 else
2675 if test -z "$GREP"; then
2676 ac_path_GREP_found=false
2677 # Loop through the user's path and test for each of PROGNAME-LIST
2678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2679 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2681 IFS=$as_save_IFS
2682 test -z "$as_dir" && as_dir=.
2683 for ac_prog in grep ggrep; do
2684 for ac_exec_ext in '' $ac_executable_extensions; do
2685 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2686 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2687 # Check for GNU ac_path_GREP and select it if it is found.
2688 # Check for GNU $ac_path_GREP
2689 case `"$ac_path_GREP" --version 2>&1` in
2690 *GNU*)
2691 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2693 ac_count=0
2694 $as_echo_n 0123456789 >"conftest.in"
2695 while :
2697 cat "conftest.in" "conftest.in" >"conftest.tmp"
2698 mv "conftest.tmp" "conftest.in"
2699 cp "conftest.in" "conftest.nl"
2700 $as_echo 'GREP' >> "conftest.nl"
2701 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2702 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2703 ac_count=`expr $ac_count + 1`
2704 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2705 # Best one so far, save it but keep looking for a better one
2706 ac_cv_path_GREP="$ac_path_GREP"
2707 ac_path_GREP_max=$ac_count
2709 # 10*(2^10) chars as input seems more than enough
2710 test $ac_count -gt 10 && break
2711 done
2712 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2713 esac
2715 $ac_path_GREP_found && break 3
2716 done
2717 done
2718 done
2719 IFS=$as_save_IFS
2720 if test -z "$ac_cv_path_GREP"; then
2721 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2722 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2723 { (exit 1); exit 1; }; }
2725 else
2726 ac_cv_path_GREP=$GREP
2730 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2731 $as_echo "$ac_cv_path_GREP" >&6; }
2732 GREP="$ac_cv_path_GREP"
2735 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2736 $as_echo_n "checking for egrep... " >&6; }
2737 if test "${ac_cv_path_EGREP+set}" = set; then
2738 $as_echo_n "(cached) " >&6
2739 else
2740 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2741 then ac_cv_path_EGREP="$GREP -E"
2742 else
2743 if test -z "$EGREP"; then
2744 ac_path_EGREP_found=false
2745 # Loop through the user's path and test for each of PROGNAME-LIST
2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2749 IFS=$as_save_IFS
2750 test -z "$as_dir" && as_dir=.
2751 for ac_prog in egrep; do
2752 for ac_exec_ext in '' $ac_executable_extensions; do
2753 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2754 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2755 # Check for GNU ac_path_EGREP and select it if it is found.
2756 # Check for GNU $ac_path_EGREP
2757 case `"$ac_path_EGREP" --version 2>&1` in
2758 *GNU*)
2759 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2761 ac_count=0
2762 $as_echo_n 0123456789 >"conftest.in"
2763 while :
2765 cat "conftest.in" "conftest.in" >"conftest.tmp"
2766 mv "conftest.tmp" "conftest.in"
2767 cp "conftest.in" "conftest.nl"
2768 $as_echo 'EGREP' >> "conftest.nl"
2769 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2771 ac_count=`expr $ac_count + 1`
2772 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2773 # Best one so far, save it but keep looking for a better one
2774 ac_cv_path_EGREP="$ac_path_EGREP"
2775 ac_path_EGREP_max=$ac_count
2777 # 10*(2^10) chars as input seems more than enough
2778 test $ac_count -gt 10 && break
2779 done
2780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2781 esac
2783 $ac_path_EGREP_found && break 3
2784 done
2785 done
2786 done
2787 IFS=$as_save_IFS
2788 if test -z "$ac_cv_path_EGREP"; then
2789 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2790 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2791 { (exit 1); exit 1; }; }
2793 else
2794 ac_cv_path_EGREP=$EGREP
2799 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2800 $as_echo "$ac_cv_path_EGREP" >&6; }
2801 EGREP="$ac_cv_path_EGREP"
2804 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2805 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2806 if test "${ac_cv_path_SED+set}" = set; then
2807 $as_echo_n "(cached) " >&6
2808 else
2809 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2810 for ac_i in 1 2 3 4 5 6 7; do
2811 ac_script="$ac_script$as_nl$ac_script"
2812 done
2813 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2814 $as_unset ac_script || ac_script=
2815 if test -z "$SED"; then
2816 ac_path_SED_found=false
2817 # Loop through the user's path and test for each of PROGNAME-LIST
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 for as_dir in $PATH
2821 IFS=$as_save_IFS
2822 test -z "$as_dir" && as_dir=.
2823 for ac_prog in sed gsed; do
2824 for ac_exec_ext in '' $ac_executable_extensions; do
2825 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2826 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2827 # Check for GNU ac_path_SED and select it if it is found.
2828 # Check for GNU $ac_path_SED
2829 case `"$ac_path_SED" --version 2>&1` in
2830 *GNU*)
2831 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2833 ac_count=0
2834 $as_echo_n 0123456789 >"conftest.in"
2835 while :
2837 cat "conftest.in" "conftest.in" >"conftest.tmp"
2838 mv "conftest.tmp" "conftest.in"
2839 cp "conftest.in" "conftest.nl"
2840 $as_echo '' >> "conftest.nl"
2841 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2842 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2843 ac_count=`expr $ac_count + 1`
2844 if test $ac_count -gt ${ac_path_SED_max-0}; then
2845 # Best one so far, save it but keep looking for a better one
2846 ac_cv_path_SED="$ac_path_SED"
2847 ac_path_SED_max=$ac_count
2849 # 10*(2^10) chars as input seems more than enough
2850 test $ac_count -gt 10 && break
2851 done
2852 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2853 esac
2855 $ac_path_SED_found && break 3
2856 done
2857 done
2858 done
2859 IFS=$as_save_IFS
2860 if test -z "$ac_cv_path_SED"; then
2861 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2862 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2863 { (exit 1); exit 1; }; }
2865 else
2866 ac_cv_path_SED=$SED
2870 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2871 $as_echo "$ac_cv_path_SED" >&6; }
2872 SED="$ac_cv_path_SED"
2873 rm -f conftest.sed
2877 ## ------------ ##
2878 ## Conclusion. ##
2879 ## ------------ ##
2881 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"
2884 cat >confcache <<\_ACEOF
2885 # This file is a shell script that caches the results of configure
2886 # tests run on this system so they can be shared between configure
2887 # scripts and configure runs, see configure's option --config-cache.
2888 # It is not useful on other systems. If it contains results you don't
2889 # want to keep, you may remove or edit it.
2891 # config.status only pays attention to the cache file if you give it
2892 # the --recheck option to rerun configure.
2894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2896 # following values.
2898 _ACEOF
2900 # The following way of writing the cache mishandles newlines in values,
2901 # but we know of no workaround that is simple, portable, and efficient.
2902 # So, we kill variables containing newlines.
2903 # Ultrix sh set writes to stderr and can't be redirected directly,
2904 # and sets the high bit in the cache file unless we assign to the vars.
2906 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2907 eval ac_val=\$$ac_var
2908 case $ac_val in #(
2909 *${as_nl}*)
2910 case $ac_var in #(
2911 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2912 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2913 esac
2914 case $ac_var in #(
2915 _ | IFS | as_nl) ;; #(
2916 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2917 *) $as_unset $ac_var ;;
2918 esac ;;
2919 esac
2920 done
2922 (set) 2>&1 |
2923 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2924 *${as_nl}ac_space=\ *)
2925 # `set' does not quote correctly, so add quotes (double-quote
2926 # substitution turns \\\\ into \\, and sed turns \\ into \).
2927 sed -n \
2928 "s/'/'\\\\''/g;
2929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2930 ;; #(
2932 # `set' quotes correctly as required by POSIX, so do not add quotes.
2933 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2935 esac |
2936 sort
2938 sed '
2939 /^ac_cv_env_/b end
2940 t clear
2941 :clear
2942 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2943 t end
2944 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2945 :end' >>confcache
2946 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2947 if test -w "$cache_file"; then
2948 test "x$cache_file" != "x/dev/null" &&
2949 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2950 $as_echo "$as_me: updating cache $cache_file" >&6;}
2951 cat confcache >$cache_file
2952 else
2953 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2954 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2957 rm -f confcache
2959 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2960 # Let make expand exec_prefix.
2961 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2963 # Transform confdefs.h into DEFS.
2964 # Protect against shell expansion while executing Makefile rules.
2965 # Protect against Makefile macro expansion.
2967 # If the first sed substitution is executed (which looks for macros that
2968 # take arguments), then branch to the quote section. Otherwise,
2969 # look for a macro that doesn't take arguments.
2970 ac_script='
2971 :mline
2972 /\\$/{
2974 s,\\\n,,
2975 b mline
2977 t clear
2978 :clear
2979 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2980 t quote
2981 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2982 t quote
2983 b any
2984 :quote
2985 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2986 s/\[/\\&/g
2987 s/\]/\\&/g
2988 s/\$/$$/g
2990 :any
2993 s/^\n//
2994 s/\n/ /g
2998 DEFS=`sed -n "$ac_script" confdefs.h`
3001 ac_libobjs=
3002 ac_ltlibobjs=
3003 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3004 # 1. Remove the extension, and $U if already installed.
3005 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3006 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3007 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3008 # will be set to the directory where LIBOBJS objects are built.
3009 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3010 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3011 done
3012 LIBOBJS=$ac_libobjs
3014 LTLIBOBJS=$ac_ltlibobjs
3018 : ${CONFIG_STATUS=./config.status}
3019 ac_clean_files_save=$ac_clean_files
3020 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3021 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3022 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3023 cat >$CONFIG_STATUS <<_ACEOF
3024 #! $SHELL
3025 # Generated by $as_me.
3026 # Run this file to recreate the current configuration.
3027 # Compiler output produced by configure, useful for debugging
3028 # configure, is in config.log if it exists.
3030 debug=false
3031 ac_cs_recheck=false
3032 ac_cs_silent=false
3033 SHELL=\${CONFIG_SHELL-$SHELL}
3034 _ACEOF
3036 cat >>$CONFIG_STATUS <<\_ACEOF
3037 ## --------------------- ##
3038 ## M4sh Initialization. ##
3039 ## --------------------- ##
3041 # Be more Bourne compatible
3042 DUALCASE=1; export DUALCASE # for MKS sh
3043 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3044 emulate sh
3045 NULLCMD=:
3046 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3047 # is contrary to our usage. Disable this feature.
3048 alias -g '${1+"$@"}'='"$@"'
3049 setopt NO_GLOB_SUBST
3050 else
3051 case `(set -o) 2>/dev/null` in
3052 *posix*) set -o posix ;;
3053 esac
3060 # PATH needs CR
3061 # Avoid depending upon Character Ranges.
3062 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3063 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3064 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3065 as_cr_digits='0123456789'
3066 as_cr_alnum=$as_cr_Letters$as_cr_digits
3068 as_nl='
3070 export as_nl
3071 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3072 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3073 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3074 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3075 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3076 as_echo='printf %s\n'
3077 as_echo_n='printf %s'
3078 else
3079 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3080 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3081 as_echo_n='/usr/ucb/echo -n'
3082 else
3083 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3084 as_echo_n_body='eval
3085 arg=$1;
3086 case $arg in
3087 *"$as_nl"*)
3088 expr "X$arg" : "X\\(.*\\)$as_nl";
3089 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3090 esac;
3091 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3093 export as_echo_n_body
3094 as_echo_n='sh -c $as_echo_n_body as_echo'
3096 export as_echo_body
3097 as_echo='sh -c $as_echo_body as_echo'
3100 # The user is always right.
3101 if test "${PATH_SEPARATOR+set}" != set; then
3102 PATH_SEPARATOR=:
3103 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3104 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3105 PATH_SEPARATOR=';'
3109 # Support unset when possible.
3110 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3111 as_unset=unset
3112 else
3113 as_unset=false
3117 # IFS
3118 # We need space, tab and new line, in precisely that order. Quoting is
3119 # there to prevent editors from complaining about space-tab.
3120 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3121 # splitting by setting IFS to empty value.)
3122 IFS=" "" $as_nl"
3124 # Find who we are. Look in the path if we contain no directory separator.
3125 case $0 in
3126 *[\\/]* ) as_myself=$0 ;;
3127 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128 for as_dir in $PATH
3130 IFS=$as_save_IFS
3131 test -z "$as_dir" && as_dir=.
3132 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3133 done
3134 IFS=$as_save_IFS
3137 esac
3138 # We did not find ourselves, most probably we were run as `sh COMMAND'
3139 # in which case we are not to be found in the path.
3140 if test "x$as_myself" = x; then
3141 as_myself=$0
3143 if test ! -f "$as_myself"; then
3144 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3145 { (exit 1); exit 1; }
3148 # Work around bugs in pre-3.0 UWIN ksh.
3149 for as_var in ENV MAIL MAILPATH
3150 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3151 done
3152 PS1='$ '
3153 PS2='> '
3154 PS4='+ '
3156 # NLS nuisances.
3157 LC_ALL=C
3158 export LC_ALL
3159 LANGUAGE=C
3160 export LANGUAGE
3162 # Required to use basename.
3163 if expr a : '\(a\)' >/dev/null 2>&1 &&
3164 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3165 as_expr=expr
3166 else
3167 as_expr=false
3170 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3171 as_basename=basename
3172 else
3173 as_basename=false
3177 # Name of the executable.
3178 as_me=`$as_basename -- "$0" ||
3179 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3180 X"$0" : 'X\(//\)$' \| \
3181 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3182 $as_echo X/"$0" |
3183 sed '/^.*\/\([^/][^/]*\)\/*$/{
3184 s//\1/
3187 /^X\/\(\/\/\)$/{
3188 s//\1/
3191 /^X\/\(\/\).*/{
3192 s//\1/
3195 s/.*/./; q'`
3197 # CDPATH.
3198 $as_unset CDPATH
3202 as_lineno_1=$LINENO
3203 as_lineno_2=$LINENO
3204 test "x$as_lineno_1" != "x$as_lineno_2" &&
3205 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3207 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3208 # uniformly replaced by the line number. The first 'sed' inserts a
3209 # line-number line after each line using $LINENO; the second 'sed'
3210 # does the real work. The second script uses 'N' to pair each
3211 # line-number line with the line containing $LINENO, and appends
3212 # trailing '-' during substitution so that $LINENO is not a special
3213 # case at line end.
3214 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3215 # scripts with optimization help from Paolo Bonzini. Blame Lee
3216 # E. McMahon (1931-1989) for sed's syntax. :-)
3217 sed -n '
3219 /[$]LINENO/=
3220 ' <$as_myself |
3221 sed '
3222 s/[$]LINENO.*/&-/
3223 t lineno
3225 :lineno
3227 :loop
3228 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3229 t loop
3230 s/-\n.*//
3231 ' >$as_me.lineno &&
3232 chmod +x "$as_me.lineno" ||
3233 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3234 { (exit 1); exit 1; }; }
3236 # Don't try to exec as it changes $[0], causing all sort of problems
3237 # (the dirname of $[0] is not the place where we might find the
3238 # original and so on. Autoconf is especially sensitive to this).
3239 . "./$as_me.lineno"
3240 # Exit status is that of the last command.
3241 exit
3245 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3246 as_dirname=dirname
3247 else
3248 as_dirname=false
3251 ECHO_C= ECHO_N= ECHO_T=
3252 case `echo -n x` in
3253 -n*)
3254 case `echo 'x\c'` in
3255 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3256 *) ECHO_C='\c';;
3257 esac;;
3259 ECHO_N='-n';;
3260 esac
3261 if expr a : '\(a\)' >/dev/null 2>&1 &&
3262 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3263 as_expr=expr
3264 else
3265 as_expr=false
3268 rm -f conf$$ conf$$.exe conf$$.file
3269 if test -d conf$$.dir; then
3270 rm -f conf$$.dir/conf$$.file
3271 else
3272 rm -f conf$$.dir
3273 mkdir conf$$.dir 2>/dev/null
3275 if (echo >conf$$.file) 2>/dev/null; then
3276 if ln -s conf$$.file conf$$ 2>/dev/null; then
3277 as_ln_s='ln -s'
3278 # ... but there are two gotchas:
3279 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3280 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3281 # In both cases, we have to default to `cp -p'.
3282 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3283 as_ln_s='cp -p'
3284 elif ln conf$$.file conf$$ 2>/dev/null; then
3285 as_ln_s=ln
3286 else
3287 as_ln_s='cp -p'
3289 else
3290 as_ln_s='cp -p'
3292 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3293 rmdir conf$$.dir 2>/dev/null
3295 if mkdir -p . 2>/dev/null; then
3296 as_mkdir_p=:
3297 else
3298 test -d ./-p && rmdir ./-p
3299 as_mkdir_p=false
3302 if test -x / >/dev/null 2>&1; then
3303 as_test_x='test -x'
3304 else
3305 if ls -dL / >/dev/null 2>&1; then
3306 as_ls_L_option=L
3307 else
3308 as_ls_L_option=
3310 as_test_x='
3311 eval sh -c '\''
3312 if test -d "$1"; then
3313 test -d "$1/.";
3314 else
3315 case $1 in
3316 -*)set "./$1";;
3317 esac;
3318 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3319 ???[sx]*):;;*)false;;esac;fi
3320 '\'' sh
3323 as_executable_p=$as_test_x
3325 # Sed expression to map a string onto a valid CPP name.
3326 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3328 # Sed expression to map a string onto a valid variable name.
3329 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3332 exec 6>&1
3334 # Save the log message, to keep $[0] and so on meaningful, and to
3335 # report actual input values of CONFIG_FILES etc. instead of their
3336 # values after options handling.
3337 ac_log="
3338 This file was extended by GNU Autoconf $as_me 2.61b, which was
3339 generated by GNU Autoconf 2.61b. Invocation command line was
3341 CONFIG_FILES = $CONFIG_FILES
3342 CONFIG_HEADERS = $CONFIG_HEADERS
3343 CONFIG_LINKS = $CONFIG_LINKS
3344 CONFIG_COMMANDS = $CONFIG_COMMANDS
3345 $ $0 $@
3347 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3350 _ACEOF
3352 cat >>$CONFIG_STATUS <<_ACEOF
3353 # Files that config.status was made for.
3354 config_files="$ac_config_files"
3355 config_commands="$ac_config_commands"
3357 _ACEOF
3359 cat >>$CONFIG_STATUS <<\_ACEOF
3360 ac_cs_usage="\
3361 \`$as_me' instantiates files from templates according to the
3362 current configuration.
3364 Usage: $0 [OPTIONS] [FILE]...
3366 -h, --help print this help, then exit
3367 -V, --version print version number and configuration settings, then exit
3368 -q, --quiet do not print progress messages
3369 -d, --debug don't remove temporary files
3370 --recheck update $as_me by reconfiguring in the same conditions
3371 --file=FILE[:TEMPLATE]
3372 instantiate the configuration file FILE
3374 Configuration files:
3375 $config_files
3377 Configuration commands:
3378 $config_commands
3380 Report bugs to <bug-autoconf@gnu.org>."
3382 _ACEOF
3383 cat >>$CONFIG_STATUS <<_ACEOF
3384 ac_cs_version="\\
3385 GNU Autoconf config.status 2.61b
3386 configured by $0, generated by GNU Autoconf 2.61b,
3387 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3389 Copyright (C) 2007 Free Software Foundation, Inc.
3390 This config.status script is free software; the Free Software Foundation
3391 gives unlimited permission to copy, distribute and modify it."
3393 ac_pwd='$ac_pwd'
3394 srcdir='$srcdir'
3395 INSTALL='$INSTALL'
3396 MKDIR_P='$MKDIR_P'
3397 AWK='$AWK'
3398 test -n "\$AWK" || AWK=awk
3399 _ACEOF
3401 cat >>$CONFIG_STATUS <<\_ACEOF
3402 # The default lists apply if the user does not specify any file.
3403 ac_need_defaults=:
3404 while test $# != 0
3406 case $1 in
3407 --*=*)
3408 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3409 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3410 ac_shift=:
3413 ac_option=$1
3414 ac_optarg=$2
3415 ac_shift=shift
3417 esac
3419 case $ac_option in
3420 # Handling of the options.
3421 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3422 ac_cs_recheck=: ;;
3423 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3424 $as_echo "$ac_cs_version"; exit ;;
3425 --debug | --debu | --deb | --de | --d | -d )
3426 debug=: ;;
3427 --file | --fil | --fi | --f )
3428 $ac_shift
3429 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3430 ac_need_defaults=false;;
3431 --he | --h | --help | --hel | -h )
3432 $as_echo "$ac_cs_usage"; exit ;;
3433 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3434 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3435 ac_cs_silent=: ;;
3437 # This is an error.
3438 -*) { $as_echo "$as_me: error: unrecognized option: $1
3439 Try \`$0 --help' for more information." >&2
3440 { (exit 1); exit 1; }; } ;;
3442 *) ac_config_targets="$ac_config_targets $1"
3443 ac_need_defaults=false ;;
3445 esac
3446 shift
3447 done
3449 ac_configure_extra_args=
3451 if $ac_cs_silent; then
3452 exec 6>/dev/null
3453 ac_configure_extra_args="$ac_configure_extra_args --silent"
3456 _ACEOF
3457 cat >>$CONFIG_STATUS <<_ACEOF
3458 if \$ac_cs_recheck; then
3459 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3460 shift
3461 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3462 CONFIG_SHELL='$SHELL'
3463 export CONFIG_SHELL
3464 exec "\$@"
3467 _ACEOF
3468 cat >>$CONFIG_STATUS <<\_ACEOF
3469 exec 5>>config.log
3471 echo
3472 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3473 ## Running $as_me. ##
3474 _ASBOX
3475 $as_echo "$ac_log"
3476 } >&5
3478 _ACEOF
3479 cat >>$CONFIG_STATUS <<_ACEOF
3480 _ACEOF
3482 cat >>$CONFIG_STATUS <<\_ACEOF
3484 # Handling of arguments.
3485 for ac_config_target in $ac_config_targets
3487 case $ac_config_target in
3488 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3489 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3490 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3491 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3492 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3493 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3494 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3495 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3496 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3497 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3498 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3499 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3500 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3501 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3503 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3504 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3505 { (exit 1); exit 1; }; };;
3506 esac
3507 done
3510 # If the user did not use the arguments to specify the items to instantiate,
3511 # then the envvar interface is used. Set only those that are not.
3512 # We use the long form for the default assignment because of an extremely
3513 # bizarre bug on SunOS 4.1.3.
3514 if $ac_need_defaults; then
3515 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3516 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3519 # Have a temporary directory for convenience. Make it in the build tree
3520 # simply because there is no reason against having it here, and in addition,
3521 # creating and moving files from /tmp can sometimes cause problems.
3522 # Hook for its removal unless debugging.
3523 # Note that there is a small window in which the directory will not be cleaned:
3524 # after its creation but before its name has been assigned to `$tmp'.
3525 $debug ||
3527 tmp=
3528 trap 'exit_status=$?
3529 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3531 trap '{ (exit 1); exit 1; }' 1 2 13 15
3533 # Create a (secure) tmp directory for tmp files.
3536 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3537 test -n "$tmp" && test -d "$tmp"
3538 } ||
3540 tmp=./conf$$-$RANDOM
3541 (umask 077 && mkdir "$tmp")
3542 } ||
3544 $as_echo "$me: cannot create a temporary directory in ." >&2
3545 { (exit 1); exit 1; }
3548 # Set up the scripts for CONFIG_FILES section.
3549 # No need to generate them if there are no CONFIG_FILES.
3550 # This happens for instance with `./config.status config.h'.
3551 if test -n "$CONFIG_FILES"; then
3554 ac_cr=' '
3555 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3556 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3557 ac_cs_awk_cr='\\r'
3558 else
3559 ac_cs_awk_cr=$ac_cr
3562 echo 'BEGIN {' >"$tmp/subs1.awk"
3563 _ACEOF
3567 echo "cat >conf$$subs.awk <<_ACEOF"
3568 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3569 echo "_ACEOF"
3570 } >conf$$subs.sh
3571 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3572 ac_delim='%!_!# '
3573 for ac_last_try in false false false false false :; do
3574 . ./conf$$subs.sh
3576 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3577 break
3578 elif $ac_last_try; then
3579 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3580 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3581 { (exit 1); exit 1; }; }
3582 else
3583 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3585 done
3586 rm -f conf$$subs.sh
3588 cat >>$CONFIG_STATUS <<_ACEOF
3589 cat >>"\$tmp/subs1.awk" <<\_ACAWK
3590 _ACEOF
3591 sed -n '
3593 s/^/S["/; s/!.*/"]=/
3596 s/^[^!]*!//
3597 :repl
3598 t repl
3599 s/'"$ac_delim"'$//
3600 t delim
3603 s/\(.\{148\}\).*/\1/
3604 t more1
3605 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3608 b repl
3609 :more1
3610 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3613 s/.\{148\}//
3614 t nl
3615 :delim
3617 s/\(.\{148\}\).*/\1/
3618 t more2
3619 s/["\\]/\\&/g; s/^/"/; s/$/"/
3622 :more2
3623 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3626 s/.\{148\}//
3627 t delim
3628 ' <conf$$subs.awk | sed '
3629 /^[^""]/{
3631 s/\n//
3633 ' >>$CONFIG_STATUS
3634 rm -f conf$$subs.awk
3635 cat >>$CONFIG_STATUS <<_ACEOF
3636 _ACAWK
3637 cat >>"\$tmp/subs1.awk" <<_ACAWK
3638 for (key in S) S_is_set[key] = 1
3639 FS = "\a"
3643 line = $ 0
3644 nfields = split(line, field, "@")
3645 substed = 0
3646 len = length(field[1])
3647 for (i = 2; i < nfields; i++) {
3648 key = field[i]
3649 keylen = length(key)
3650 if (S_is_set[key]) {
3651 value = S[key]
3652 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3653 len += length(value) + length(field[++i])
3654 substed = 1
3655 } else
3656 len += 1 + keylen
3659 print line
3662 _ACAWK
3663 sed "s/\$ac_cr\\\$//; s/\$ac_cr/\$ac_cs_awk_cr/g" < "\$tmp/subs1.awk" > "\$tmp/subs.awk"
3664 _ACEOF
3666 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3667 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3668 # trailing colons and then remove the whole line if VPATH becomes empty
3669 # (actually we leave an empty line to preserve line numbers).
3670 if test "x$srcdir" = x.; then
3671 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3672 s/:*\$(srcdir):*/:/
3673 s/:*\${srcdir}:*/:/
3674 s/:*@srcdir@:*/:/
3675 s/^\([^=]*=[ ]*\):*/\1/
3676 s/:*$//
3677 s/^[^=]*=[ ]*$//
3681 cat >>$CONFIG_STATUS <<\_ACEOF
3682 fi # test -n "$CONFIG_FILES"
3685 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3687 case $ac_tag in
3688 :[FHLC]) ac_mode=$ac_tag; continue;;
3689 esac
3690 case $ac_mode$ac_tag in
3691 :[FHL]*:*);;
3692 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3693 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3694 { (exit 1); exit 1; }; };;
3695 :[FH]-) ac_tag=-:-;;
3696 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3697 esac
3698 ac_save_IFS=$IFS
3699 IFS=:
3700 set x $ac_tag
3701 IFS=$ac_save_IFS
3702 shift
3703 ac_file=$1
3704 shift
3706 case $ac_mode in
3707 :L) ac_source=$1;;
3708 :[FH])
3709 ac_file_inputs=
3710 for ac_f
3712 case $ac_f in
3713 -) ac_f="$tmp/stdin";;
3714 *) # Look for the file first in the build tree, then in the source tree
3715 # (if the path is not absolute). The absolute path cannot be DOS-style,
3716 # because $ac_f cannot contain `:'.
3717 test -f "$ac_f" ||
3718 case $ac_f in
3719 [\\/$]*) false;;
3720 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3721 esac ||
3722 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3723 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3724 { (exit 1); exit 1; }; };;
3725 esac
3726 ac_file_inputs="$ac_file_inputs $ac_f"
3727 done
3729 # Let's still pretend it is `configure' which instantiates (i.e., don't
3730 # use $as_me), people would be surprised to read:
3731 # /* config.h. Generated by config.status. */
3732 configure_input='Generated from '`
3733 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3734 `' by configure.'
3735 if test x"$ac_file" != x-; then
3736 configure_input="$ac_file. $configure_input"
3737 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3738 $as_echo "$as_me: creating $ac_file" >&6;}
3741 case $ac_tag in
3742 *:-:* | *:-) cat >"$tmp/stdin";;
3743 esac
3745 esac
3747 ac_dir=`$as_dirname -- "$ac_file" ||
3748 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3749 X"$ac_file" : 'X\(//\)[^/]' \| \
3750 X"$ac_file" : 'X\(//\)$' \| \
3751 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3752 $as_echo X"$ac_file" |
3753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3754 s//\1/
3757 /^X\(\/\/\)[^/].*/{
3758 s//\1/
3761 /^X\(\/\/\)$/{
3762 s//\1/
3765 /^X\(\/\).*/{
3766 s//\1/
3769 s/.*/./; q'`
3770 { as_dir="$ac_dir"
3771 case $as_dir in #(
3772 -*) as_dir=./$as_dir;;
3773 esac
3774 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3775 as_dirs=
3776 while :; do
3777 case $as_dir in #(
3778 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3779 *) as_qdir=$as_dir;;
3780 esac
3781 as_dirs="'$as_qdir' $as_dirs"
3782 as_dir=`$as_dirname -- "$as_dir" ||
3783 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3784 X"$as_dir" : 'X\(//\)[^/]' \| \
3785 X"$as_dir" : 'X\(//\)$' \| \
3786 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3787 $as_echo X"$as_dir" |
3788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3789 s//\1/
3792 /^X\(\/\/\)[^/].*/{
3793 s//\1/
3796 /^X\(\/\/\)$/{
3797 s//\1/
3800 /^X\(\/\).*/{
3801 s//\1/
3804 s/.*/./; q'`
3805 test -d "$as_dir" && break
3806 done
3807 test -z "$as_dirs" || eval "mkdir $as_dirs"
3808 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3809 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3810 { (exit 1); exit 1; }; }; }
3811 ac_builddir=.
3813 case "$ac_dir" in
3814 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3816 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3817 # A ".." for each directory in $ac_dir_suffix.
3818 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3819 case $ac_top_builddir_sub in
3820 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3821 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3822 esac ;;
3823 esac
3824 ac_abs_top_builddir=$ac_pwd
3825 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3826 # for backward compatibility:
3827 ac_top_builddir=$ac_top_build_prefix
3829 case $srcdir in
3830 .) # We are building in place.
3831 ac_srcdir=.
3832 ac_top_srcdir=$ac_top_builddir_sub
3833 ac_abs_top_srcdir=$ac_pwd ;;
3834 [\\/]* | ?:[\\/]* ) # Absolute name.
3835 ac_srcdir=$srcdir$ac_dir_suffix;
3836 ac_top_srcdir=$srcdir
3837 ac_abs_top_srcdir=$srcdir ;;
3838 *) # Relative name.
3839 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3840 ac_top_srcdir=$ac_top_build_prefix$srcdir
3841 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3842 esac
3843 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3846 case $ac_mode in
3849 # CONFIG_FILE
3852 case $INSTALL in
3853 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3854 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3855 esac
3856 ac_MKDIR_P=$MKDIR_P
3857 case $MKDIR_P in
3858 [\\/$]* | ?:[\\/]* ) ;;
3859 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3860 esac
3861 _ACEOF
3863 cat >>$CONFIG_STATUS <<\_ACEOF
3864 # If the template does not know about datarootdir, expand it.
3865 # FIXME: This hack should be removed a few years after 2.60.
3866 ac_datarootdir_hack=; ac_datarootdir_seen=
3868 case `sed -n '/datarootdir/ {
3872 /@datadir@/p
3873 /@docdir@/p
3874 /@infodir@/p
3875 /@localedir@/p
3876 /@mandir@/p
3877 ' $ac_file_inputs` in
3878 *datarootdir*) ac_datarootdir_seen=yes;;
3879 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3880 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3881 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3882 _ACEOF
3883 cat >>$CONFIG_STATUS <<_ACEOF
3884 ac_datarootdir_hack='
3885 s&@datadir@&$datadir&g
3886 s&@docdir@&$docdir&g
3887 s&@infodir@&$infodir&g
3888 s&@localedir@&$localedir&g
3889 s&@mandir@&$mandir&g
3890 s&\\\${datarootdir}&$datarootdir&g' ;;
3891 esac
3892 _ACEOF
3894 # Neutralize VPATH when `$srcdir' = `.'.
3895 # Shell code in configure.ac might set extrasub.
3896 # FIXME: do we really want to maintain this feature?
3897 cat >>$CONFIG_STATUS <<_ACEOF
3898 sed "$ac_vpsub
3899 $extrasub
3900 _ACEOF
3901 cat >>$CONFIG_STATUS <<\_ACEOF
3903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3904 s&@configure_input@&$configure_input&;t t
3905 s&@top_builddir@&$ac_top_builddir_sub&;t t
3906 s&@srcdir@&$ac_srcdir&;t t
3907 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3908 s&@top_srcdir@&$ac_top_srcdir&;t t
3909 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3910 s&@builddir@&$ac_builddir&;t t
3911 s&@abs_builddir@&$ac_abs_builddir&;t t
3912 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3913 s&@INSTALL@&$ac_INSTALL&;t t
3914 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3915 $ac_datarootdir_hack
3916 " $ac_file_inputs | $AWK -f "$tmp/subs.awk" >$tmp/out
3918 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3919 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3920 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3921 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3922 which seems to be undefined. Please make sure it is defined." >&5
3923 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3924 which seems to be undefined. Please make sure it is defined." >&2;}
3926 rm -f "$tmp/stdin"
3927 case $ac_file in
3928 -) cat "$tmp/out"; rm -f "$tmp/out";;
3929 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3930 esac
3934 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3935 $as_echo "$as_me: executing $ac_file commands" >&6;}
3937 esac
3940 case $ac_file$ac_mode in
3941 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3942 # Configurable variable values for building test suites.
3943 # Generated by $0.
3944 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3946 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3947 at_testdir='tests'
3948 abs_builddir='$ac_abs_builddir'
3949 at_srcdir='$ac_srcdir'
3950 abs_srcdir='$ac_abs_srcdir'
3951 at_top_srcdir='$ac_top_srcdir'
3952 abs_top_srcdir='$ac_abs_top_srcdir'
3953 at_top_build_prefix='$ac_top_build_prefix'
3954 abs_top_builddir='$ac_abs_top_builddir'
3956 # Backward compatibility with Autotest <= 2.59b:
3957 at_top_builddir=\$at_top_build_prefix
3959 AUTOTEST_PATH='tests'
3961 SHELL=\${CONFIG_SHELL-'$SHELL'}
3962 ATEOF
3965 esac
3966 done # for ac_tag
3969 { (exit 0); exit 0; }
3970 _ACEOF
3971 chmod +x $CONFIG_STATUS
3972 ac_clean_files=$ac_clean_files_save
3975 # configure is writing to config.log, and then calls config.status.
3976 # config.status does its own redirection, appending to config.log.
3977 # Unfortunately, on DOS this fails, as config.log is still kept open
3978 # by configure, so config.status won't be able to write to it; its
3979 # output is simply discarded. So we exec the FD to /dev/null,
3980 # effectively closing config.log, so it can be properly (re)opened and
3981 # appended to by config.status. When coming back to configure, we
3982 # need to make the FD available again.
3983 if test "$no_create" != yes; then
3984 ac_cs_success=:
3985 ac_config_status_args=
3986 test "$silent" = yes &&
3987 ac_config_status_args="$ac_config_status_args --quiet"
3988 exec 5>/dev/null
3989 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3990 exec 5>>config.log
3991 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3992 # would make configure fail if this is the last instruction.
3993 $ac_cs_success || { (exit 1); exit 1; }
3995 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3996 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
3997 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4000 # Report the state of this version of Autoconf if this is a beta.
4001 cat <<EOF
4003 You are about to use an experimental version of Autoconf. Be sure to
4004 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4006 Below you will find information on the status of this version of Autoconf.
4010 sed -n '/^\* Status/,$p' $srcdir/BUGS