Add m4_combine, based on Libtool's lt_combine.
[autoconf.git] / configure
blobceddf50e170510048221469dfb6ee19df4d1c410
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 if test -z "$M4"; then
2355 ac_path_M4_found=false
2356 # Loop through the user's path and test for each of PROGNAME-LIST
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 for as_dir in $PATH
2360 IFS=$as_save_IFS
2361 test -z "$as_dir" && as_dir=.
2362 for ac_prog in m4 gm4 gnum4; do
2363 for ac_exec_ext in '' $ac_executable_extensions; do
2364 ac_path_M4="$as_dir/$ac_prog$ac_exec_ext"
2365 { test -f "$ac_path_M4" && $as_test_x "$ac_path_M4"; } || continue
2366 # Root out GNU M4 1.4.4, as well as non-GNU m4 that ignore --trace.
2367 ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)d'nl
2368 test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
2369 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
2370 $ac_path_M4_found && break 3
2371 done
2372 done
2373 done
2374 IFS=$as_save_IFS
2375 if test -z "$ac_cv_path_M4"; then
2376 { { $as_echo "$as_me:$LINENO: error: no acceptable m4 could be found in \$PATH.
2377 GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&5
2378 $as_echo "$as_me: error: no acceptable m4 could be found in \$PATH.
2379 GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&2;}
2380 { (exit 1); exit 1; }; }
2382 else
2383 ac_cv_path_M4=$M4
2387 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_M4" >&5
2388 $as_echo "$ac_cv_path_M4" >&6; }
2389 M4=$ac_cv_path_M4
2390 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2391 $as_echo_n "checking how m4 supports trace files... " >&6; }
2392 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2393 $as_echo_n "(cached) " >&6
2394 else
2395 case `$M4 --help < /dev/null 2>&1` in
2396 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2397 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2398 esac
2400 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2401 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2402 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2406 ## ----------- ##
2407 ## Man pages. ##
2408 ## ----------- ##
2410 ac_config_files="$ac_config_files man/Makefile"
2413 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2417 ## ------ ##
2418 ## Perl. ##
2419 ## ------ ##
2421 # We use an absolute name for perl so the #! line in autoscan will work.
2422 # Extract the first word of "perl", so it can be a program name with args.
2423 set dummy perl; ac_word=$2
2424 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 $as_echo_n "checking for $ac_word... " >&6; }
2426 if test "${ac_cv_path_PERL+set}" = set; then
2427 $as_echo_n "(cached) " >&6
2428 else
2429 case $PERL in
2430 [\\/]* | ?:[\\/]*)
2431 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 for as_dir in $PATH
2437 IFS=$as_save_IFS
2438 test -z "$as_dir" && as_dir=.
2439 for ac_exec_ext in '' $ac_executable_extensions; do
2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2442 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 break 2
2445 done
2446 done
2447 IFS=$as_save_IFS
2449 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2451 esac
2453 PERL=$ac_cv_path_PERL
2454 if test -n "$PERL"; then
2455 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2456 $as_echo "$PERL" >&6; }
2457 else
2458 { $as_echo "$as_me:$LINENO: result: no" >&5
2459 $as_echo "no" >&6; }
2463 if test "$PERL" = no; then
2464 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2465 $as_echo "$as_me: error: perl is not found" >&2;}
2466 { (exit 1); exit 1; }; }
2468 $PERL -e 'require 5.005_03;' || {
2469 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2470 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2471 { (exit 1); exit 1; }; }
2475 ## ------- ##
2476 ## Emacs. ##
2477 ## ------- ##
2479 ac_config_files="$ac_config_files lib/emacs/Makefile"
2481 TEST_EMACS=$EMACS
2482 test x"$TEST_EMACS" = xt && TEST_EMACS=
2483 for ac_prog in emacs xemacs
2485 # Extract the first word of "$ac_prog", so it can be a program name with args.
2486 set dummy $ac_prog; ac_word=$2
2487 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2488 $as_echo_n "checking for $ac_word... " >&6; }
2489 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2490 $as_echo_n "(cached) " >&6
2491 else
2492 if test -n "$TEST_EMACS"; then
2493 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2494 else
2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496 for as_dir in $PATH
2498 IFS=$as_save_IFS
2499 test -z "$as_dir" && as_dir=.
2500 for ac_exec_ext in '' $ac_executable_extensions; do
2501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2502 ac_cv_prog_TEST_EMACS="$ac_prog"
2503 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 break 2
2506 done
2507 done
2508 IFS=$as_save_IFS
2512 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2513 if test -n "$TEST_EMACS"; then
2514 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2515 $as_echo "$TEST_EMACS" >&6; }
2516 else
2517 { $as_echo "$as_me:$LINENO: result: no" >&5
2518 $as_echo "no" >&6; }
2522 test -n "$TEST_EMACS" && break
2523 done
2524 test -n "$TEST_EMACS" || TEST_EMACS="no"
2527 # autoconf-mode.el and autotest-mode.el do not work with older version of
2528 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2529 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2530 # We detect this problem here.
2531 if test "$TEST_EMACS" != no; then
2532 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2533 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2534 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2535 $as_echo_n "(cached) " >&6
2536 else
2537 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2538 cat >conftest.el << "EOF"
2539 (defvar broken)
2540 (defun broken-mode () (setq broken-defaults `(broken nil)))
2542 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2543 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2544 ac_status=$?
2545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; then
2547 ac_cv_prog_emacs_ok=yes
2548 else
2549 ac_cv_prog_emacs_ok=no
2552 rm -f conftest.el conftest.elc
2554 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2555 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2556 if test $ac_cv_prog_emacs_ok = no; then
2557 TEST_EMACS=no
2563 EMACS=$TEST_EMACS
2566 # If set to t, that means we are running in a shell under Emacs.
2567 # If you have an Emacs named "t", then use the full path.
2568 test x"$EMACS" = xt && EMACS=
2569 for ac_prog in emacs xemacs
2571 # Extract the first word of "$ac_prog", so it can be a program name with args.
2572 set dummy $ac_prog; ac_word=$2
2573 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 $as_echo_n "checking for $ac_word... " >&6; }
2575 if test "${ac_cv_prog_EMACS+set}" = set; then
2576 $as_echo_n "(cached) " >&6
2577 else
2578 if test -n "$EMACS"; then
2579 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2580 else
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 for as_dir in $PATH
2584 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2588 ac_cv_prog_EMACS="$ac_prog"
2589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 break 2
2592 done
2593 done
2594 IFS=$as_save_IFS
2598 EMACS=$ac_cv_prog_EMACS
2599 if test -n "$EMACS"; then
2600 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2601 $as_echo "$EMACS" >&6; }
2602 else
2603 { $as_echo "$as_me:$LINENO: result: no" >&5
2604 $as_echo "no" >&6; }
2608 test -n "$EMACS" && break
2609 done
2610 test -n "$EMACS" || EMACS="no"
2615 # Check whether --with-lispdir was given.
2616 if test "${with_lispdir+set}" = set; then
2617 withval=$with_lispdir; lispdir="$withval"
2618 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2619 $as_echo_n "checking where .elc files should go... " >&6; }
2620 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2621 $as_echo "$lispdir" >&6; }
2622 else
2624 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2625 $as_echo_n "checking where .elc files should go... " >&6; }
2626 if test "${am_cv_lispdir+set}" = set; then
2627 $as_echo_n "(cached) " >&6
2628 else
2630 if test $EMACS != "no"; then
2631 if test x${lispdir+set} != xset; then
2632 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2633 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2634 # which is non-obvious for non-emacs users.
2635 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2636 # emacsen earlier and avoid running this altogether.
2637 { ($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
2638 ($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
2639 ac_status=$?
2640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }
2642 am_cv_lispdir=`sed -n \
2643 -e 's,/$,,' \
2644 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2645 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2646 conftest.out`
2647 rm conftest.out
2650 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2653 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2654 $as_echo "$am_cv_lispdir" >&6; }
2655 lispdir="$am_cv_lispdir"
2663 ## ------------ ##
2664 ## Grep & sed. ##
2665 ## ------------ ##
2666 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2667 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2668 if test "${ac_cv_path_GREP+set}" = set; then
2669 $as_echo_n "(cached) " >&6
2670 else
2671 if test -z "$GREP"; then
2672 ac_path_GREP_found=false
2673 # Loop through the user's path and test for each of PROGNAME-LIST
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2677 IFS=$as_save_IFS
2678 test -z "$as_dir" && as_dir=.
2679 for ac_prog in grep ggrep; do
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2682 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2683 # Check for GNU ac_path_GREP and select it if it is found.
2684 # Check for GNU $ac_path_GREP
2685 case `"$ac_path_GREP" --version 2>&1` in
2686 *GNU*)
2687 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2689 ac_count=0
2690 $as_echo_n 0123456789 >"conftest.in"
2691 while :
2693 cat "conftest.in" "conftest.in" >"conftest.tmp"
2694 mv "conftest.tmp" "conftest.in"
2695 cp "conftest.in" "conftest.nl"
2696 $as_echo 'GREP' >> "conftest.nl"
2697 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2698 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2699 ac_count=`expr $ac_count + 1`
2700 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2701 # Best one so far, save it but keep looking for a better one
2702 ac_cv_path_GREP="$ac_path_GREP"
2703 ac_path_GREP_max=$ac_count
2705 # 10*(2^10) chars as input seems more than enough
2706 test $ac_count -gt 10 && break
2707 done
2708 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2709 esac
2711 $ac_path_GREP_found && break 3
2712 done
2713 done
2714 done
2715 IFS=$as_save_IFS
2716 if test -z "$ac_cv_path_GREP"; then
2717 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2718 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2719 { (exit 1); exit 1; }; }
2721 else
2722 ac_cv_path_GREP=$GREP
2726 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2727 $as_echo "$ac_cv_path_GREP" >&6; }
2728 GREP="$ac_cv_path_GREP"
2731 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2732 $as_echo_n "checking for egrep... " >&6; }
2733 if test "${ac_cv_path_EGREP+set}" = set; then
2734 $as_echo_n "(cached) " >&6
2735 else
2736 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2737 then ac_cv_path_EGREP="$GREP -E"
2738 else
2739 if test -z "$EGREP"; then
2740 ac_path_EGREP_found=false
2741 # Loop through the user's path and test for each of PROGNAME-LIST
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2745 IFS=$as_save_IFS
2746 test -z "$as_dir" && as_dir=.
2747 for ac_prog in egrep; do
2748 for ac_exec_ext in '' $ac_executable_extensions; do
2749 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2750 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2751 # Check for GNU ac_path_EGREP and select it if it is found.
2752 # Check for GNU $ac_path_EGREP
2753 case `"$ac_path_EGREP" --version 2>&1` in
2754 *GNU*)
2755 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2757 ac_count=0
2758 $as_echo_n 0123456789 >"conftest.in"
2759 while :
2761 cat "conftest.in" "conftest.in" >"conftest.tmp"
2762 mv "conftest.tmp" "conftest.in"
2763 cp "conftest.in" "conftest.nl"
2764 $as_echo 'EGREP' >> "conftest.nl"
2765 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2766 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2767 ac_count=`expr $ac_count + 1`
2768 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2769 # Best one so far, save it but keep looking for a better one
2770 ac_cv_path_EGREP="$ac_path_EGREP"
2771 ac_path_EGREP_max=$ac_count
2773 # 10*(2^10) chars as input seems more than enough
2774 test $ac_count -gt 10 && break
2775 done
2776 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2777 esac
2779 $ac_path_EGREP_found && break 3
2780 done
2781 done
2782 done
2783 IFS=$as_save_IFS
2784 if test -z "$ac_cv_path_EGREP"; then
2785 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2786 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2787 { (exit 1); exit 1; }; }
2789 else
2790 ac_cv_path_EGREP=$EGREP
2795 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2796 $as_echo "$ac_cv_path_EGREP" >&6; }
2797 EGREP="$ac_cv_path_EGREP"
2800 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2801 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2802 if test "${ac_cv_path_SED+set}" = set; then
2803 $as_echo_n "(cached) " >&6
2804 else
2805 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2806 for ac_i in 1 2 3 4 5 6 7; do
2807 ac_script="$ac_script$as_nl$ac_script"
2808 done
2809 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2810 $as_unset ac_script || ac_script=
2811 if test -z "$SED"; then
2812 ac_path_SED_found=false
2813 # Loop through the user's path and test for each of PROGNAME-LIST
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2815 for as_dir in $PATH
2817 IFS=$as_save_IFS
2818 test -z "$as_dir" && as_dir=.
2819 for ac_prog in sed gsed; do
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2822 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2823 # Check for GNU ac_path_SED and select it if it is found.
2824 # Check for GNU $ac_path_SED
2825 case `"$ac_path_SED" --version 2>&1` in
2826 *GNU*)
2827 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2829 ac_count=0
2830 $as_echo_n 0123456789 >"conftest.in"
2831 while :
2833 cat "conftest.in" "conftest.in" >"conftest.tmp"
2834 mv "conftest.tmp" "conftest.in"
2835 cp "conftest.in" "conftest.nl"
2836 $as_echo '' >> "conftest.nl"
2837 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2838 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2839 ac_count=`expr $ac_count + 1`
2840 if test $ac_count -gt ${ac_path_SED_max-0}; then
2841 # Best one so far, save it but keep looking for a better one
2842 ac_cv_path_SED="$ac_path_SED"
2843 ac_path_SED_max=$ac_count
2845 # 10*(2^10) chars as input seems more than enough
2846 test $ac_count -gt 10 && break
2847 done
2848 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2849 esac
2851 $ac_path_SED_found && break 3
2852 done
2853 done
2854 done
2855 IFS=$as_save_IFS
2856 if test -z "$ac_cv_path_SED"; then
2857 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2858 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2859 { (exit 1); exit 1; }; }
2861 else
2862 ac_cv_path_SED=$SED
2866 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2867 $as_echo "$ac_cv_path_SED" >&6; }
2868 SED="$ac_cv_path_SED"
2869 rm -f conftest.sed
2873 ## ------------ ##
2874 ## Conclusion. ##
2875 ## ------------ ##
2877 ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile lib/m4sugar/Makefile lib/autoconf/Makefile lib/autotest/Makefile bin/Makefile"
2880 cat >confcache <<\_ACEOF
2881 # This file is a shell script that caches the results of configure
2882 # tests run on this system so they can be shared between configure
2883 # scripts and configure runs, see configure's option --config-cache.
2884 # It is not useful on other systems. If it contains results you don't
2885 # want to keep, you may remove or edit it.
2887 # config.status only pays attention to the cache file if you give it
2888 # the --recheck option to rerun configure.
2890 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2891 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2892 # following values.
2894 _ACEOF
2896 # The following way of writing the cache mishandles newlines in values,
2897 # but we know of no workaround that is simple, portable, and efficient.
2898 # So, we kill variables containing newlines.
2899 # Ultrix sh set writes to stderr and can't be redirected directly,
2900 # and sets the high bit in the cache file unless we assign to the vars.
2902 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2903 eval ac_val=\$$ac_var
2904 case $ac_val in #(
2905 *${as_nl}*)
2906 case $ac_var in #(
2907 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2908 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2909 esac
2910 case $ac_var in #(
2911 _ | IFS | as_nl) ;; #(
2912 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2913 *) $as_unset $ac_var ;;
2914 esac ;;
2915 esac
2916 done
2918 (set) 2>&1 |
2919 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2920 *${as_nl}ac_space=\ *)
2921 # `set' does not quote correctly, so add quotes (double-quote
2922 # substitution turns \\\\ into \\, and sed turns \\ into \).
2923 sed -n \
2924 "s/'/'\\\\''/g;
2925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2926 ;; #(
2928 # `set' quotes correctly as required by POSIX, so do not add quotes.
2929 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2931 esac |
2932 sort
2934 sed '
2935 /^ac_cv_env_/b end
2936 t clear
2937 :clear
2938 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2939 t end
2940 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2941 :end' >>confcache
2942 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2943 if test -w "$cache_file"; then
2944 test "x$cache_file" != "x/dev/null" &&
2945 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2946 $as_echo "$as_me: updating cache $cache_file" >&6;}
2947 cat confcache >$cache_file
2948 else
2949 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2950 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2953 rm -f confcache
2955 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2956 # Let make expand exec_prefix.
2957 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2959 # Transform confdefs.h into DEFS.
2960 # Protect against shell expansion while executing Makefile rules.
2961 # Protect against Makefile macro expansion.
2963 # If the first sed substitution is executed (which looks for macros that
2964 # take arguments), then branch to the quote section. Otherwise,
2965 # look for a macro that doesn't take arguments.
2966 ac_script='
2967 :mline
2968 /\\$/{
2970 s,\\\n,,
2971 b mline
2973 t clear
2974 :clear
2975 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2976 t quote
2977 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2978 t quote
2979 b any
2980 :quote
2981 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2982 s/\[/\\&/g
2983 s/\]/\\&/g
2984 s/\$/$$/g
2986 :any
2989 s/^\n//
2990 s/\n/ /g
2994 DEFS=`sed -n "$ac_script" confdefs.h`
2997 ac_libobjs=
2998 ac_ltlibobjs=
2999 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3000 # 1. Remove the extension, and $U if already installed.
3001 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3002 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3003 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3004 # will be set to the directory where LIBOBJS objects are built.
3005 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3006 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3007 done
3008 LIBOBJS=$ac_libobjs
3010 LTLIBOBJS=$ac_ltlibobjs
3014 : ${CONFIG_STATUS=./config.status}
3015 ac_clean_files_save=$ac_clean_files
3016 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3017 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3018 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3019 cat >$CONFIG_STATUS <<_ACEOF
3020 #! $SHELL
3021 # Generated by $as_me.
3022 # Run this file to recreate the current configuration.
3023 # Compiler output produced by configure, useful for debugging
3024 # configure, is in config.log if it exists.
3026 debug=false
3027 ac_cs_recheck=false
3028 ac_cs_silent=false
3029 SHELL=\${CONFIG_SHELL-$SHELL}
3030 _ACEOF
3032 cat >>$CONFIG_STATUS <<\_ACEOF
3033 ## --------------------- ##
3034 ## M4sh Initialization. ##
3035 ## --------------------- ##
3037 # Be more Bourne compatible
3038 DUALCASE=1; export DUALCASE # for MKS sh
3039 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3040 emulate sh
3041 NULLCMD=:
3042 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3043 # is contrary to our usage. Disable this feature.
3044 alias -g '${1+"$@"}'='"$@"'
3045 setopt NO_GLOB_SUBST
3046 else
3047 case `(set -o) 2>/dev/null` in
3048 *posix*) set -o posix ;;
3049 esac
3056 # PATH needs CR
3057 # Avoid depending upon Character Ranges.
3058 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3059 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3060 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3061 as_cr_digits='0123456789'
3062 as_cr_alnum=$as_cr_Letters$as_cr_digits
3064 as_nl='
3066 export as_nl
3067 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3068 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3069 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3070 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3071 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3072 as_echo='printf %s\n'
3073 as_echo_n='printf %s'
3074 else
3075 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3076 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3077 as_echo_n='/usr/ucb/echo -n'
3078 else
3079 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3080 as_echo_n_body='eval
3081 arg=$1;
3082 case $arg in
3083 *"$as_nl"*)
3084 expr "X$arg" : "X\\(.*\\)$as_nl";
3085 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3086 esac;
3087 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3089 export as_echo_n_body
3090 as_echo_n='sh -c $as_echo_n_body as_echo'
3092 export as_echo_body
3093 as_echo='sh -c $as_echo_body as_echo'
3096 # The user is always right.
3097 if test "${PATH_SEPARATOR+set}" != set; then
3098 PATH_SEPARATOR=:
3099 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3100 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3101 PATH_SEPARATOR=';'
3105 # Support unset when possible.
3106 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3107 as_unset=unset
3108 else
3109 as_unset=false
3113 # IFS
3114 # We need space, tab and new line, in precisely that order. Quoting is
3115 # there to prevent editors from complaining about space-tab.
3116 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3117 # splitting by setting IFS to empty value.)
3118 IFS=" "" $as_nl"
3120 # Find who we are. Look in the path if we contain no directory separator.
3121 case $0 in
3122 *[\\/]* ) as_myself=$0 ;;
3123 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 for as_dir in $PATH
3126 IFS=$as_save_IFS
3127 test -z "$as_dir" && as_dir=.
3128 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3129 done
3130 IFS=$as_save_IFS
3133 esac
3134 # We did not find ourselves, most probably we were run as `sh COMMAND'
3135 # in which case we are not to be found in the path.
3136 if test "x$as_myself" = x; then
3137 as_myself=$0
3139 if test ! -f "$as_myself"; then
3140 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3141 { (exit 1); exit 1; }
3144 # Work around bugs in pre-3.0 UWIN ksh.
3145 for as_var in ENV MAIL MAILPATH
3146 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3147 done
3148 PS1='$ '
3149 PS2='> '
3150 PS4='+ '
3152 # NLS nuisances.
3153 LC_ALL=C
3154 export LC_ALL
3155 LANGUAGE=C
3156 export LANGUAGE
3158 # Required to use basename.
3159 if expr a : '\(a\)' >/dev/null 2>&1 &&
3160 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3161 as_expr=expr
3162 else
3163 as_expr=false
3166 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3167 as_basename=basename
3168 else
3169 as_basename=false
3173 # Name of the executable.
3174 as_me=`$as_basename -- "$0" ||
3175 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3176 X"$0" : 'X\(//\)$' \| \
3177 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3178 $as_echo X/"$0" |
3179 sed '/^.*\/\([^/][^/]*\)\/*$/{
3180 s//\1/
3183 /^X\/\(\/\/\)$/{
3184 s//\1/
3187 /^X\/\(\/\).*/{
3188 s//\1/
3191 s/.*/./; q'`
3193 # CDPATH.
3194 $as_unset CDPATH
3198 as_lineno_1=$LINENO
3199 as_lineno_2=$LINENO
3200 test "x$as_lineno_1" != "x$as_lineno_2" &&
3201 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3203 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3204 # uniformly replaced by the line number. The first 'sed' inserts a
3205 # line-number line after each line using $LINENO; the second 'sed'
3206 # does the real work. The second script uses 'N' to pair each
3207 # line-number line with the line containing $LINENO, and appends
3208 # trailing '-' during substitution so that $LINENO is not a special
3209 # case at line end.
3210 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3211 # scripts with optimization help from Paolo Bonzini. Blame Lee
3212 # E. McMahon (1931-1989) for sed's syntax. :-)
3213 sed -n '
3215 /[$]LINENO/=
3216 ' <$as_myself |
3217 sed '
3218 s/[$]LINENO.*/&-/
3219 t lineno
3221 :lineno
3223 :loop
3224 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3225 t loop
3226 s/-\n.*//
3227 ' >$as_me.lineno &&
3228 chmod +x "$as_me.lineno" ||
3229 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3230 { (exit 1); exit 1; }; }
3232 # Don't try to exec as it changes $[0], causing all sort of problems
3233 # (the dirname of $[0] is not the place where we might find the
3234 # original and so on. Autoconf is especially sensitive to this).
3235 . "./$as_me.lineno"
3236 # Exit status is that of the last command.
3237 exit
3241 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3242 as_dirname=dirname
3243 else
3244 as_dirname=false
3247 ECHO_C= ECHO_N= ECHO_T=
3248 case `echo -n x` in
3249 -n*)
3250 case `echo 'x\c'` in
3251 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3252 *) ECHO_C='\c';;
3253 esac;;
3255 ECHO_N='-n';;
3256 esac
3257 if expr a : '\(a\)' >/dev/null 2>&1 &&
3258 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3259 as_expr=expr
3260 else
3261 as_expr=false
3264 rm -f conf$$ conf$$.exe conf$$.file
3265 if test -d conf$$.dir; then
3266 rm -f conf$$.dir/conf$$.file
3267 else
3268 rm -f conf$$.dir
3269 mkdir conf$$.dir 2>/dev/null
3271 if (echo >conf$$.file) 2>/dev/null; then
3272 if ln -s conf$$.file conf$$ 2>/dev/null; then
3273 as_ln_s='ln -s'
3274 # ... but there are two gotchas:
3275 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3276 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3277 # In both cases, we have to default to `cp -p'.
3278 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3279 as_ln_s='cp -p'
3280 elif ln conf$$.file conf$$ 2>/dev/null; then
3281 as_ln_s=ln
3282 else
3283 as_ln_s='cp -p'
3285 else
3286 as_ln_s='cp -p'
3288 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3289 rmdir conf$$.dir 2>/dev/null
3291 if mkdir -p . 2>/dev/null; then
3292 as_mkdir_p=:
3293 else
3294 test -d ./-p && rmdir ./-p
3295 as_mkdir_p=false
3298 if test -x / >/dev/null 2>&1; then
3299 as_test_x='test -x'
3300 else
3301 if ls -dL / >/dev/null 2>&1; then
3302 as_ls_L_option=L
3303 else
3304 as_ls_L_option=
3306 as_test_x='
3307 eval sh -c '\''
3308 if test -d "$1"; then
3309 test -d "$1/.";
3310 else
3311 case $1 in
3312 -*)set "./$1";;
3313 esac;
3314 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3315 ???[sx]*):;;*)false;;esac;fi
3316 '\'' sh
3319 as_executable_p=$as_test_x
3321 # Sed expression to map a string onto a valid CPP name.
3322 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3324 # Sed expression to map a string onto a valid variable name.
3325 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3328 exec 6>&1
3330 # Save the log message, to keep $[0] and so on meaningful, and to
3331 # report actual input values of CONFIG_FILES etc. instead of their
3332 # values after options handling.
3333 ac_log="
3334 This file was extended by GNU Autoconf $as_me 2.61b, which was
3335 generated by GNU Autoconf 2.61b. Invocation command line was
3337 CONFIG_FILES = $CONFIG_FILES
3338 CONFIG_HEADERS = $CONFIG_HEADERS
3339 CONFIG_LINKS = $CONFIG_LINKS
3340 CONFIG_COMMANDS = $CONFIG_COMMANDS
3341 $ $0 $@
3343 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3346 _ACEOF
3348 cat >>$CONFIG_STATUS <<_ACEOF
3349 # Files that config.status was made for.
3350 config_files="$ac_config_files"
3351 config_commands="$ac_config_commands"
3353 _ACEOF
3355 cat >>$CONFIG_STATUS <<\_ACEOF
3356 ac_cs_usage="\
3357 \`$as_me' instantiates files from templates according to the
3358 current configuration.
3360 Usage: $0 [OPTIONS] [FILE]...
3362 -h, --help print this help, then exit
3363 -V, --version print version number and configuration settings, then exit
3364 -q, --quiet do not print progress messages
3365 -d, --debug don't remove temporary files
3366 --recheck update $as_me by reconfiguring in the same conditions
3367 --file=FILE[:TEMPLATE]
3368 instantiate the configuration file FILE
3370 Configuration files:
3371 $config_files
3373 Configuration commands:
3374 $config_commands
3376 Report bugs to <bug-autoconf@gnu.org>."
3378 _ACEOF
3379 cat >>$CONFIG_STATUS <<_ACEOF
3380 ac_cs_version="\\
3381 GNU Autoconf config.status 2.61b
3382 configured by $0, generated by GNU Autoconf 2.61b,
3383 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3385 Copyright (C) 2007 Free Software Foundation, Inc.
3386 This config.status script is free software; the Free Software Foundation
3387 gives unlimited permission to copy, distribute and modify it."
3389 ac_pwd='$ac_pwd'
3390 srcdir='$srcdir'
3391 INSTALL='$INSTALL'
3392 MKDIR_P='$MKDIR_P'
3393 AWK='$AWK'
3394 test -n "\$AWK" || AWK=awk
3395 _ACEOF
3397 cat >>$CONFIG_STATUS <<\_ACEOF
3398 # The default lists apply if the user does not specify any file.
3399 ac_need_defaults=:
3400 while test $# != 0
3402 case $1 in
3403 --*=*)
3404 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3405 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3406 ac_shift=:
3409 ac_option=$1
3410 ac_optarg=$2
3411 ac_shift=shift
3413 esac
3415 case $ac_option in
3416 # Handling of the options.
3417 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3418 ac_cs_recheck=: ;;
3419 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3420 $as_echo "$ac_cs_version"; exit ;;
3421 --debug | --debu | --deb | --de | --d | -d )
3422 debug=: ;;
3423 --file | --fil | --fi | --f )
3424 $ac_shift
3425 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3426 ac_need_defaults=false;;
3427 --he | --h | --help | --hel | -h )
3428 $as_echo "$ac_cs_usage"; exit ;;
3429 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3430 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3431 ac_cs_silent=: ;;
3433 # This is an error.
3434 -*) { $as_echo "$as_me: error: unrecognized option: $1
3435 Try \`$0 --help' for more information." >&2
3436 { (exit 1); exit 1; }; } ;;
3438 *) ac_config_targets="$ac_config_targets $1"
3439 ac_need_defaults=false ;;
3441 esac
3442 shift
3443 done
3445 ac_configure_extra_args=
3447 if $ac_cs_silent; then
3448 exec 6>/dev/null
3449 ac_configure_extra_args="$ac_configure_extra_args --silent"
3452 _ACEOF
3453 cat >>$CONFIG_STATUS <<_ACEOF
3454 if \$ac_cs_recheck; then
3455 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3456 shift
3457 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3458 CONFIG_SHELL='$SHELL'
3459 export CONFIG_SHELL
3460 exec "\$@"
3463 _ACEOF
3464 cat >>$CONFIG_STATUS <<\_ACEOF
3465 exec 5>>config.log
3467 echo
3468 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3469 ## Running $as_me. ##
3470 _ASBOX
3471 $as_echo "$ac_log"
3472 } >&5
3474 _ACEOF
3475 cat >>$CONFIG_STATUS <<_ACEOF
3476 _ACEOF
3478 cat >>$CONFIG_STATUS <<\_ACEOF
3480 # Handling of arguments.
3481 for ac_config_target in $ac_config_targets
3483 case $ac_config_target in
3484 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3485 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3486 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3487 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3488 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3489 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3490 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3491 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3492 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3493 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3494 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3495 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3496 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3497 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3499 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3500 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3501 { (exit 1); exit 1; }; };;
3502 esac
3503 done
3506 # If the user did not use the arguments to specify the items to instantiate,
3507 # then the envvar interface is used. Set only those that are not.
3508 # We use the long form for the default assignment because of an extremely
3509 # bizarre bug on SunOS 4.1.3.
3510 if $ac_need_defaults; then
3511 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3512 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3515 # Have a temporary directory for convenience. Make it in the build tree
3516 # simply because there is no reason against having it here, and in addition,
3517 # creating and moving files from /tmp can sometimes cause problems.
3518 # Hook for its removal unless debugging.
3519 # Note that there is a small window in which the directory will not be cleaned:
3520 # after its creation but before its name has been assigned to `$tmp'.
3521 $debug ||
3523 tmp=
3524 trap 'exit_status=$?
3525 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3527 trap '{ (exit 1); exit 1; }' 1 2 13 15
3529 # Create a (secure) tmp directory for tmp files.
3532 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3533 test -n "$tmp" && test -d "$tmp"
3534 } ||
3536 tmp=./conf$$-$RANDOM
3537 (umask 077 && mkdir "$tmp")
3538 } ||
3540 $as_echo "$me: cannot create a temporary directory in ." >&2
3541 { (exit 1); exit 1; }
3544 # Set up the scripts for CONFIG_FILES section.
3545 # No need to generate them if there are no CONFIG_FILES.
3546 # This happens for instance with `./config.status config.h'.
3547 if test -n "$CONFIG_FILES"; then
3550 ac_cr=' '
3551 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3552 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3553 ac_cs_awk_cr='\\r'
3554 else
3555 ac_cs_awk_cr=$ac_cr
3558 echo 'BEGIN {' >"$tmp/subs1.awk"
3559 _ACEOF
3563 echo "cat >conf$$subs.awk <<_ACEOF"
3564 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3565 echo "_ACEOF"
3566 } >conf$$subs.sh
3567 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3568 ac_delim='%!_!# '
3569 for ac_last_try in false false false false false :; do
3570 . ./conf$$subs.sh
3572 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3573 break
3574 elif $ac_last_try; then
3575 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3576 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3577 { (exit 1); exit 1; }; }
3578 else
3579 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3581 done
3582 rm -f conf$$subs.sh
3584 cat >>$CONFIG_STATUS <<_ACEOF
3585 cat >>"\$tmp/subs1.awk" <<\_ACAWK
3586 _ACEOF
3587 sed -n '
3589 s/^/S["/; s/!.*/"]=/
3592 s/^[^!]*!//
3593 :repl
3594 t repl
3595 s/'"$ac_delim"'$//
3596 t delim
3599 s/\(.\{148\}\).*/\1/
3600 t more1
3601 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3604 b repl
3605 :more1
3606 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3609 s/.\{148\}//
3610 t nl
3611 :delim
3613 s/\(.\{148\}\).*/\1/
3614 t more2
3615 s/["\\]/\\&/g; s/^/"/; s/$/"/
3618 :more2
3619 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3622 s/.\{148\}//
3623 t delim
3624 ' <conf$$subs.awk | sed '
3625 /^[^""]/{
3627 s/\n//
3629 ' >>$CONFIG_STATUS
3630 rm -f conf$$subs.awk
3631 cat >>$CONFIG_STATUS <<_ACEOF
3632 _ACAWK
3633 cat >>"\$tmp/subs1.awk" <<_ACAWK
3634 for (key in S) S_is_set[key] = 1
3635 FS = "\a"
3639 line = $ 0
3640 nfields = split(line, field, "@")
3641 substed = 0
3642 len = length(field[1])
3643 for (i = 2; i < nfields; i++) {
3644 key = field[i]
3645 keylen = length(key)
3646 if (S_is_set[key]) {
3647 value = S[key]
3648 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3649 len += length(value) + length(field[++i])
3650 substed = 1
3651 } else
3652 len += 1 + keylen
3655 print line
3658 _ACAWK
3659 sed "s/\$ac_cr\\\$//; s/\$ac_cr/\$ac_cs_awk_cr/g" < "\$tmp/subs1.awk" > "\$tmp/subs.awk"
3660 _ACEOF
3662 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3663 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3664 # trailing colons and then remove the whole line if VPATH becomes empty
3665 # (actually we leave an empty line to preserve line numbers).
3666 if test "x$srcdir" = x.; then
3667 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3668 s/:*\$(srcdir):*/:/
3669 s/:*\${srcdir}:*/:/
3670 s/:*@srcdir@:*/:/
3671 s/^\([^=]*=[ ]*\):*/\1/
3672 s/:*$//
3673 s/^[^=]*=[ ]*$//
3677 cat >>$CONFIG_STATUS <<\_ACEOF
3678 fi # test -n "$CONFIG_FILES"
3681 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3683 case $ac_tag in
3684 :[FHLC]) ac_mode=$ac_tag; continue;;
3685 esac
3686 case $ac_mode$ac_tag in
3687 :[FHL]*:*);;
3688 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3689 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3690 { (exit 1); exit 1; }; };;
3691 :[FH]-) ac_tag=-:-;;
3692 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3693 esac
3694 ac_save_IFS=$IFS
3695 IFS=:
3696 set x $ac_tag
3697 IFS=$ac_save_IFS
3698 shift
3699 ac_file=$1
3700 shift
3702 case $ac_mode in
3703 :L) ac_source=$1;;
3704 :[FH])
3705 ac_file_inputs=
3706 for ac_f
3708 case $ac_f in
3709 -) ac_f="$tmp/stdin";;
3710 *) # Look for the file first in the build tree, then in the source tree
3711 # (if the path is not absolute). The absolute path cannot be DOS-style,
3712 # because $ac_f cannot contain `:'.
3713 test -f "$ac_f" ||
3714 case $ac_f in
3715 [\\/$]*) false;;
3716 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3717 esac ||
3718 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3719 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3720 { (exit 1); exit 1; }; };;
3721 esac
3722 ac_file_inputs="$ac_file_inputs $ac_f"
3723 done
3725 # Let's still pretend it is `configure' which instantiates (i.e., don't
3726 # use $as_me), people would be surprised to read:
3727 # /* config.h. Generated by config.status. */
3728 configure_input='Generated from '`
3729 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3730 `' by configure.'
3731 if test x"$ac_file" != x-; then
3732 configure_input="$ac_file. $configure_input"
3733 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3734 $as_echo "$as_me: creating $ac_file" >&6;}
3737 case $ac_tag in
3738 *:-:* | *:-) cat >"$tmp/stdin";;
3739 esac
3741 esac
3743 ac_dir=`$as_dirname -- "$ac_file" ||
3744 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3745 X"$ac_file" : 'X\(//\)[^/]' \| \
3746 X"$ac_file" : 'X\(//\)$' \| \
3747 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3748 $as_echo X"$ac_file" |
3749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3750 s//\1/
3753 /^X\(\/\/\)[^/].*/{
3754 s//\1/
3757 /^X\(\/\/\)$/{
3758 s//\1/
3761 /^X\(\/\).*/{
3762 s//\1/
3765 s/.*/./; q'`
3766 { as_dir="$ac_dir"
3767 case $as_dir in #(
3768 -*) as_dir=./$as_dir;;
3769 esac
3770 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3771 as_dirs=
3772 while :; do
3773 case $as_dir in #(
3774 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3775 *) as_qdir=$as_dir;;
3776 esac
3777 as_dirs="'$as_qdir' $as_dirs"
3778 as_dir=`$as_dirname -- "$as_dir" ||
3779 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3780 X"$as_dir" : 'X\(//\)[^/]' \| \
3781 X"$as_dir" : 'X\(//\)$' \| \
3782 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3783 $as_echo X"$as_dir" |
3784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3785 s//\1/
3788 /^X\(\/\/\)[^/].*/{
3789 s//\1/
3792 /^X\(\/\/\)$/{
3793 s//\1/
3796 /^X\(\/\).*/{
3797 s//\1/
3800 s/.*/./; q'`
3801 test -d "$as_dir" && break
3802 done
3803 test -z "$as_dirs" || eval "mkdir $as_dirs"
3804 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3805 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3806 { (exit 1); exit 1; }; }; }
3807 ac_builddir=.
3809 case "$ac_dir" in
3810 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3812 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3813 # A ".." for each directory in $ac_dir_suffix.
3814 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3815 case $ac_top_builddir_sub in
3816 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3817 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3818 esac ;;
3819 esac
3820 ac_abs_top_builddir=$ac_pwd
3821 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3822 # for backward compatibility:
3823 ac_top_builddir=$ac_top_build_prefix
3825 case $srcdir in
3826 .) # We are building in place.
3827 ac_srcdir=.
3828 ac_top_srcdir=$ac_top_builddir_sub
3829 ac_abs_top_srcdir=$ac_pwd ;;
3830 [\\/]* | ?:[\\/]* ) # Absolute name.
3831 ac_srcdir=$srcdir$ac_dir_suffix;
3832 ac_top_srcdir=$srcdir
3833 ac_abs_top_srcdir=$srcdir ;;
3834 *) # Relative name.
3835 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3836 ac_top_srcdir=$ac_top_build_prefix$srcdir
3837 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3838 esac
3839 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3842 case $ac_mode in
3845 # CONFIG_FILE
3848 case $INSTALL in
3849 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3850 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3851 esac
3852 ac_MKDIR_P=$MKDIR_P
3853 case $MKDIR_P in
3854 [\\/$]* | ?:[\\/]* ) ;;
3855 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3856 esac
3857 _ACEOF
3859 cat >>$CONFIG_STATUS <<\_ACEOF
3860 # If the template does not know about datarootdir, expand it.
3861 # FIXME: This hack should be removed a few years after 2.60.
3862 ac_datarootdir_hack=; ac_datarootdir_seen=
3864 case `sed -n '/datarootdir/ {
3868 /@datadir@/p
3869 /@docdir@/p
3870 /@infodir@/p
3871 /@localedir@/p
3872 /@mandir@/p
3873 ' $ac_file_inputs` in
3874 *datarootdir*) ac_datarootdir_seen=yes;;
3875 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3876 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3877 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3878 _ACEOF
3879 cat >>$CONFIG_STATUS <<_ACEOF
3880 ac_datarootdir_hack='
3881 s&@datadir@&$datadir&g
3882 s&@docdir@&$docdir&g
3883 s&@infodir@&$infodir&g
3884 s&@localedir@&$localedir&g
3885 s&@mandir@&$mandir&g
3886 s&\\\${datarootdir}&$datarootdir&g' ;;
3887 esac
3888 _ACEOF
3890 # Neutralize VPATH when `$srcdir' = `.'.
3891 # Shell code in configure.ac might set extrasub.
3892 # FIXME: do we really want to maintain this feature?
3893 cat >>$CONFIG_STATUS <<_ACEOF
3894 sed "$ac_vpsub
3895 $extrasub
3896 _ACEOF
3897 cat >>$CONFIG_STATUS <<\_ACEOF
3899 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3900 s&@configure_input@&$configure_input&;t t
3901 s&@top_builddir@&$ac_top_builddir_sub&;t t
3902 s&@srcdir@&$ac_srcdir&;t t
3903 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3904 s&@top_srcdir@&$ac_top_srcdir&;t t
3905 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3906 s&@builddir@&$ac_builddir&;t t
3907 s&@abs_builddir@&$ac_abs_builddir&;t t
3908 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3909 s&@INSTALL@&$ac_INSTALL&;t t
3910 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3911 $ac_datarootdir_hack
3912 " $ac_file_inputs | $AWK -f "$tmp/subs.awk" >$tmp/out
3914 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3915 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3916 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3917 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3918 which seems to be undefined. Please make sure it is defined." >&5
3919 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3920 which seems to be undefined. Please make sure it is defined." >&2;}
3922 rm -f "$tmp/stdin"
3923 case $ac_file in
3924 -) cat "$tmp/out"; rm -f "$tmp/out";;
3925 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3926 esac
3930 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3931 $as_echo "$as_me: executing $ac_file commands" >&6;}
3933 esac
3936 case $ac_file$ac_mode in
3937 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3938 # Configurable variable values for building test suites.
3939 # Generated by $0.
3940 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3942 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3943 at_testdir='tests'
3944 abs_builddir='$ac_abs_builddir'
3945 at_srcdir='$ac_srcdir'
3946 abs_srcdir='$ac_abs_srcdir'
3947 at_top_srcdir='$ac_top_srcdir'
3948 abs_top_srcdir='$ac_abs_top_srcdir'
3949 at_top_build_prefix='$ac_top_build_prefix'
3950 abs_top_builddir='$ac_abs_top_builddir'
3952 # Backward compatibility with Autotest <= 2.59b:
3953 at_top_builddir=\$at_top_build_prefix
3955 AUTOTEST_PATH='tests'
3957 SHELL=\${CONFIG_SHELL-'$SHELL'}
3958 ATEOF
3961 esac
3962 done # for ac_tag
3965 { (exit 0); exit 0; }
3966 _ACEOF
3967 chmod +x $CONFIG_STATUS
3968 ac_clean_files=$ac_clean_files_save
3971 # configure is writing to config.log, and then calls config.status.
3972 # config.status does its own redirection, appending to config.log.
3973 # Unfortunately, on DOS this fails, as config.log is still kept open
3974 # by configure, so config.status won't be able to write to it; its
3975 # output is simply discarded. So we exec the FD to /dev/null,
3976 # effectively closing config.log, so it can be properly (re)opened and
3977 # appended to by config.status. When coming back to configure, we
3978 # need to make the FD available again.
3979 if test "$no_create" != yes; then
3980 ac_cs_success=:
3981 ac_config_status_args=
3982 test "$silent" = yes &&
3983 ac_config_status_args="$ac_config_status_args --quiet"
3984 exec 5>/dev/null
3985 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3986 exec 5>>config.log
3987 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3988 # would make configure fail if this is the last instruction.
3989 $ac_cs_success || { (exit 1); exit 1; }
3991 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3992 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
3993 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
3996 # Report the state of this version of Autoconf if this is a beta.
3997 cat <<EOF
3999 You are about to use an experimental version of Autoconf. Be sure to
4000 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4002 Below you will find information on the status of this version of Autoconf.
4006 sed -n '/^\* Status/,$p' $srcdir/BUGS