Use awk for config header generation.
[autoconf/tsuna.git] / configure
blobf132ece546631cd3ca7b3504d9983eb2dcbefabe
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 for as_var in \
132 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
133 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
134 LC_TELEPHONE LC_TIME
136 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
137 eval $as_var=C; export $as_var
138 else
139 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
141 done
143 # Required to use basename.
144 if expr a : '\(a\)' >/dev/null 2>&1 &&
145 test "X`expr 00001 : '.*\(...\)'`" = X001; then
146 as_expr=expr
147 else
148 as_expr=false
151 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 as_basename=basename
153 else
154 as_basename=false
158 # Name of the executable.
159 as_me=`$as_basename -- "$0" ||
160 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
161 X"$0" : 'X\(//\)$' \| \
162 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
163 $as_echo X/"$0" |
164 sed '/^.*\/\([^/][^/]*\)\/*$/{
165 s//\1/
168 /^X\/\(\/\/\)$/{
169 s//\1/
172 /^X\/\(\/\).*/{
173 s//\1/
176 s/.*/./; q'`
178 # CDPATH.
179 $as_unset CDPATH
182 if test "x$CONFIG_SHELL" = x; then
183 if (eval ":") 2>/dev/null; then
184 as_have_required=yes
185 else
186 as_have_required=no
189 if test $as_have_required = yes && (eval ":
190 (as_func_return () {
191 (exit \$1)
193 as_func_success () {
194 as_func_return 0
196 as_func_failure () {
197 as_func_return 1
199 as_func_ret_success () {
200 return 0
202 as_func_ret_failure () {
203 return 1
206 exitcode=0
207 if as_func_success; then
209 else
210 exitcode=1
211 echo as_func_success failed.
214 if as_func_failure; then
215 exitcode=1
216 echo as_func_failure succeeded.
219 if as_func_ret_success; then
221 else
222 exitcode=1
223 echo as_func_ret_success failed.
226 if as_func_ret_failure; then
227 exitcode=1
228 echo as_func_ret_failure succeeded.
231 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
233 else
234 exitcode=1
235 echo positional parameters were not saved.
238 test \$exitcode = 0) || { (exit 1); exit 1; }
241 as_lineno_1=\$LINENO
242 as_lineno_2=\$LINENO
243 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
244 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
245 ") 2> /dev/null; then
247 else
248 as_candidate_shells=
249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
250 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
252 IFS=$as_save_IFS
253 test -z "$as_dir" && as_dir=.
254 case $as_dir in
256 for as_base in sh bash ksh sh5; do
257 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
258 done;;
259 esac
260 done
261 IFS=$as_save_IFS
264 for as_shell in $as_candidate_shells $SHELL; do
265 # Try only shells that exist, to save several forks.
266 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
267 { ("$as_shell") 2> /dev/null <<\_ASEOF
268 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
269 emulate sh
270 NULLCMD=:
271 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
272 # is contrary to our usage. Disable this feature.
273 alias -g '${1+"$@"}'='"$@"'
274 setopt NO_GLOB_SUBST
275 else
276 case `(set -o) 2>/dev/null` in
277 *posix*) set -o posix ;;
278 esac
284 _ASEOF
285 }; then
286 CONFIG_SHELL=$as_shell
287 as_have_required=yes
288 if { "$as_shell" 2> /dev/null <<\_ASEOF
289 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
290 emulate sh
291 NULLCMD=:
292 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
293 # is contrary to our usage. Disable this feature.
294 alias -g '${1+"$@"}'='"$@"'
295 setopt NO_GLOB_SUBST
296 else
297 case `(set -o) 2>/dev/null` in
298 *posix*) set -o posix ;;
299 esac
305 (as_func_return () {
306 (exit $1)
308 as_func_success () {
309 as_func_return 0
311 as_func_failure () {
312 as_func_return 1
314 as_func_ret_success () {
315 return 0
317 as_func_ret_failure () {
318 return 1
321 exitcode=0
322 if as_func_success; then
324 else
325 exitcode=1
326 echo as_func_success failed.
329 if as_func_failure; then
330 exitcode=1
331 echo as_func_failure succeeded.
334 if as_func_ret_success; then
336 else
337 exitcode=1
338 echo as_func_ret_success failed.
341 if as_func_ret_failure; then
342 exitcode=1
343 echo as_func_ret_failure succeeded.
346 if ( set x; as_func_ret_success y && test x = "$1" ); then
348 else
349 exitcode=1
350 echo positional parameters were not saved.
353 test $exitcode = 0) || { (exit 1); exit 1; }
356 as_lineno_1=$LINENO
357 as_lineno_2=$LINENO
358 test "x$as_lineno_1" != "x$as_lineno_2" &&
359 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 _ASEOF
362 }; then
363 break
368 done
370 if test "x$CONFIG_SHELL" != x; then
371 for as_var in BASH_ENV ENV
372 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
373 done
374 export CONFIG_SHELL
375 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
379 if test $as_have_required = no; then
380 echo This script requires a shell more modern than all the
381 echo shells that I found on your system. Please install a
382 echo modern shell, or manually run the script under such a
383 echo shell if you do have one.
384 { (exit 1); exit 1; }
394 (eval "as_func_return () {
395 (exit \$1)
397 as_func_success () {
398 as_func_return 0
400 as_func_failure () {
401 as_func_return 1
403 as_func_ret_success () {
404 return 0
406 as_func_ret_failure () {
407 return 1
410 exitcode=0
411 if as_func_success; then
413 else
414 exitcode=1
415 echo as_func_success failed.
418 if as_func_failure; then
419 exitcode=1
420 echo as_func_failure succeeded.
423 if as_func_ret_success; then
425 else
426 exitcode=1
427 echo as_func_ret_success failed.
430 if as_func_ret_failure; then
431 exitcode=1
432 echo as_func_ret_failure succeeded.
435 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
437 else
438 exitcode=1
439 echo positional parameters were not saved.
442 test \$exitcode = 0") || {
443 echo No shell found that supports shell functions.
444 echo Please tell bug-autoconf@gnu.org about your system,
445 echo including any error possibly output before this message.
446 echo This can help us improve future autoconf versions.
447 echo Configuration will now proceed without shell functions.
452 as_lineno_1=$LINENO
453 as_lineno_2=$LINENO
454 test "x$as_lineno_1" != "x$as_lineno_2" &&
455 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
457 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
458 # uniformly replaced by the line number. The first 'sed' inserts a
459 # line-number line after each line using $LINENO; the second 'sed'
460 # does the real work. The second script uses 'N' to pair each
461 # line-number line with the line containing $LINENO, and appends
462 # trailing '-' during substitution so that $LINENO is not a special
463 # case at line end.
464 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
465 # scripts with optimization help from Paolo Bonzini. Blame Lee
466 # E. McMahon (1931-1989) for sed's syntax. :-)
467 sed -n '
469 /[$]LINENO/=
470 ' <$as_myself |
471 sed '
472 s/[$]LINENO.*/&-/
473 t lineno
475 :lineno
477 :loop
478 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
479 t loop
480 s/-\n.*//
481 ' >$as_me.lineno &&
482 chmod +x "$as_me.lineno" ||
483 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
484 { (exit 1); exit 1; }; }
486 # Don't try to exec as it changes $[0], causing all sort of problems
487 # (the dirname of $[0] is not the place where we might find the
488 # original and so on. Autoconf is especially sensitive to this).
489 . "./$as_me.lineno"
490 # Exit status is that of the last command.
491 exit
495 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
496 as_dirname=dirname
497 else
498 as_dirname=false
501 ECHO_C= ECHO_N= ECHO_T=
502 case `echo -n x` in
503 -n*)
504 case `echo 'x\c'` in
505 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) ECHO_C='\c';;
507 esac;;
509 ECHO_N='-n';;
510 esac
511 if expr a : '\(a\)' >/dev/null 2>&1 &&
512 test "X`expr 00001 : '.*\(...\)'`" = X001; then
513 as_expr=expr
514 else
515 as_expr=false
518 rm -f conf$$ conf$$.exe conf$$.file
519 if test -d conf$$.dir; then
520 rm -f conf$$.dir/conf$$.file
521 else
522 rm -f conf$$.dir
523 mkdir conf$$.dir
525 echo >conf$$.file
526 if ln -s conf$$.file conf$$ 2>/dev/null; then
527 as_ln_s='ln -s'
528 # ... but there are two gotchas:
529 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
530 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
531 # In both cases, we have to default to `cp -p'.
532 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
533 as_ln_s='cp -p'
534 elif ln conf$$.file conf$$ 2>/dev/null; then
535 as_ln_s=ln
536 else
537 as_ln_s='cp -p'
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p=:
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
549 if test -x / >/dev/null 2>&1; then
550 as_test_x='test -x'
551 else
552 if ls -dL / >/dev/null 2>&1; then
553 as_ls_L_option=L
554 else
555 as_ls_L_option=
557 as_test_x='
558 eval sh -c '\''
559 if test -d "$1"; then
560 test -d "$1/.";
561 else
562 case $1 in
563 -*)set "./$1";;
564 esac;
565 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
566 ???[sx]*):;;*)false;;esac;fi
567 '\'' sh
570 as_executable_p=$as_test_x
572 # Sed expression to map a string onto a valid CPP name.
573 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
575 # Sed expression to map a string onto a valid variable name.
576 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
580 exec 7<&0 </dev/null 6>&1
582 # Name of the host.
583 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
584 # so uname gets run too.
585 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
588 # Initializations.
590 ac_default_prefix=/usr/local
591 ac_clean_files=
592 ac_config_libobj_dir=.
593 LIBOBJS=
594 cross_compiling=no
595 subdirs=
596 MFLAGS=
597 MAKEFLAGS=
598 SHELL=${CONFIG_SHELL-/bin/sh}
600 # Identity of this package.
601 PACKAGE_NAME='GNU Autoconf'
602 PACKAGE_TARNAME='autoconf'
603 PACKAGE_VERSION='2.61b'
604 PACKAGE_STRING='GNU Autoconf 2.61b'
605 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
607 ac_unique_file="ChangeLog"
608 ac_subst_vars='SHELL
609 PATH_SEPARATOR
610 PACKAGE_NAME
611 PACKAGE_TARNAME
612 PACKAGE_VERSION
613 PACKAGE_STRING
614 PACKAGE_BUGREPORT
615 exec_prefix
616 prefix
617 program_transform_name
618 bindir
619 sbindir
620 libexecdir
621 datarootdir
622 datadir
623 sysconfdir
624 sharedstatedir
625 localstatedir
626 includedir
627 oldincludedir
628 docdir
629 infodir
630 htmldir
631 dvidir
632 pdfdir
633 psdir
634 libdir
635 localedir
636 mandir
637 DEFS
638 ECHO_C
639 ECHO_N
640 ECHO_T
641 LIBS
642 build_alias
643 host_alias
644 target_alias
645 INSTALL_PROGRAM
646 INSTALL_SCRIPT
647 INSTALL_DATA
648 am__isrc
649 CYGPATH_W
650 PACKAGE
651 VERSION
652 ACLOCAL
653 AUTOCONF
654 AUTOMAKE
655 AUTOHEADER
656 MAKEINFO
657 install_sh
658 STRIP
659 INSTALL_STRIP_PROGRAM
660 MKDIR_P
661 mkdir_p
663 SET_MAKE
664 am__leading_dot
665 AMTAR
666 am__tar
667 am__untar
668 ac_cv_sh_n_works
669 EXPR
671 M4_DEBUGFILE
672 HELP2MAN
673 PERL
674 TEST_EMACS
675 EMACS
676 EMACSLOADPATH
677 lispdir
678 GREP
679 EGREP
681 LIBOBJS
682 LTLIBOBJS'
683 ac_subst_files=''
684 ac_user_opts='
685 enable_option_checking
686 with_lispdir
688 ac_precious_vars='build_alias
689 host_alias
690 target_alias
692 EMACS
693 EMACSLOADPATH'
696 # Initialize some variables set by options.
697 ac_init_help=
698 ac_init_version=false
699 ac_unrecognized_opts=
700 ac_unrecognized_sep=
701 # The variables have the same names as the options, with
702 # dashes changed to underlines.
703 cache_file=/dev/null
704 exec_prefix=NONE
705 no_create=
706 no_recursion=
707 prefix=NONE
708 program_prefix=NONE
709 program_suffix=NONE
710 program_transform_name=s,x,x,
711 silent=
712 site=
713 srcdir=
714 verbose=
715 x_includes=NONE
716 x_libraries=NONE
718 # Installation directory options.
719 # These are left unexpanded so users can "make install exec_prefix=/foo"
720 # and all the variables that are supposed to be based on exec_prefix
721 # by default will actually change.
722 # Use braces instead of parens because sh, perl, etc. also accept them.
723 # (The list follows the same order as the GNU Coding Standards.)
724 bindir='${exec_prefix}/bin'
725 sbindir='${exec_prefix}/sbin'
726 libexecdir='${exec_prefix}/libexec'
727 datarootdir='${prefix}/share'
728 datadir='${datarootdir}'
729 sysconfdir='${prefix}/etc'
730 sharedstatedir='${prefix}/com'
731 localstatedir='${prefix}/var'
732 includedir='${prefix}/include'
733 oldincludedir='/usr/include'
734 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
735 infodir='${datarootdir}/info'
736 htmldir='${docdir}'
737 dvidir='${docdir}'
738 pdfdir='${docdir}'
739 psdir='${docdir}'
740 libdir='${exec_prefix}/lib'
741 localedir='${datarootdir}/locale'
742 mandir='${datarootdir}/man'
744 ac_prev=
745 ac_dashdash=
746 for ac_option
748 # If the previous option needs an argument, assign it.
749 if test -n "$ac_prev"; then
750 eval $ac_prev=\$ac_option
751 ac_prev=
752 continue
755 case $ac_option in
756 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
757 *) ac_optarg=yes ;;
758 esac
760 # Accept the important Cygnus configure options, so we can diagnose typos.
762 case $ac_dashdash$ac_option in
764 ac_dashdash=yes ;;
766 -bindir | --bindir | --bindi | --bind | --bin | --bi)
767 ac_prev=bindir ;;
768 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
769 bindir=$ac_optarg ;;
771 -build | --build | --buil | --bui | --bu)
772 ac_prev=build_alias ;;
773 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
774 build_alias=$ac_optarg ;;
776 -cache-file | --cache-file | --cache-fil | --cache-fi \
777 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
778 ac_prev=cache_file ;;
779 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
780 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
781 cache_file=$ac_optarg ;;
783 --config-cache | -C)
784 cache_file=config.cache ;;
786 -datadir | --datadir | --datadi | --datad)
787 ac_prev=datadir ;;
788 -datadir=* | --datadir=* | --datadi=* | --datad=*)
789 datadir=$ac_optarg ;;
791 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
792 | --dataroo | --dataro | --datar)
793 ac_prev=datarootdir ;;
794 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
795 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
796 datarootdir=$ac_optarg ;;
798 -disable-* | --disable-*)
799 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
800 # Reject names that are not valid shell variable names.
801 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
803 { (exit 1); exit 1; }; }
804 ac_useropt_orig=$ac_useropt
805 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
806 case $ac_user_opts in
808 "enable_$ac_useropt"
809 "*) ;;
810 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
811 ac_unrecognized_sep=', ';;
812 esac
813 eval enable_$ac_useropt=no ;;
815 -docdir | --docdir | --docdi | --doc | --do)
816 ac_prev=docdir ;;
817 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
818 docdir=$ac_optarg ;;
820 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
821 ac_prev=dvidir ;;
822 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
823 dvidir=$ac_optarg ;;
825 -enable-* | --enable-*)
826 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
827 # Reject names that are not valid shell variable names.
828 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
829 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
830 { (exit 1); exit 1; }; }
831 ac_useropt_orig=$ac_useropt
832 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
833 case $ac_user_opts in
835 "enable_$ac_useropt"
836 "*) ;;
837 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
838 ac_unrecognized_sep=', ';;
839 esac
840 eval enable_$ac_useropt=\$ac_optarg ;;
842 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
843 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
844 | --exec | --exe | --ex)
845 ac_prev=exec_prefix ;;
846 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
847 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
848 | --exec=* | --exe=* | --ex=*)
849 exec_prefix=$ac_optarg ;;
851 -gas | --gas | --ga | --g)
852 # Obsolete; use --with-gas.
853 with_gas=yes ;;
855 -help | --help | --hel | --he | -h)
856 ac_init_help=long ;;
857 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
858 ac_init_help=recursive ;;
859 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
860 ac_init_help=short ;;
862 -host | --host | --hos | --ho)
863 ac_prev=host_alias ;;
864 -host=* | --host=* | --hos=* | --ho=*)
865 host_alias=$ac_optarg ;;
867 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
868 ac_prev=htmldir ;;
869 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
870 | --ht=*)
871 htmldir=$ac_optarg ;;
873 -includedir | --includedir | --includedi | --included | --include \
874 | --includ | --inclu | --incl | --inc)
875 ac_prev=includedir ;;
876 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
877 | --includ=* | --inclu=* | --incl=* | --inc=*)
878 includedir=$ac_optarg ;;
880 -infodir | --infodir | --infodi | --infod | --info | --inf)
881 ac_prev=infodir ;;
882 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
883 infodir=$ac_optarg ;;
885 -libdir | --libdir | --libdi | --libd)
886 ac_prev=libdir ;;
887 -libdir=* | --libdir=* | --libdi=* | --libd=*)
888 libdir=$ac_optarg ;;
890 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
891 | --libexe | --libex | --libe)
892 ac_prev=libexecdir ;;
893 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
894 | --libexe=* | --libex=* | --libe=*)
895 libexecdir=$ac_optarg ;;
897 -localedir | --localedir | --localedi | --localed | --locale)
898 ac_prev=localedir ;;
899 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
900 localedir=$ac_optarg ;;
902 -localstatedir | --localstatedir | --localstatedi | --localstated \
903 | --localstate | --localstat | --localsta | --localst | --locals)
904 ac_prev=localstatedir ;;
905 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
906 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
907 localstatedir=$ac_optarg ;;
909 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
910 ac_prev=mandir ;;
911 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
912 mandir=$ac_optarg ;;
914 -nfp | --nfp | --nf)
915 # Obsolete; use --without-fp.
916 with_fp=no ;;
918 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
919 | --no-cr | --no-c | -n)
920 no_create=yes ;;
922 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
923 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
924 no_recursion=yes ;;
926 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
927 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
928 | --oldin | --oldi | --old | --ol | --o)
929 ac_prev=oldincludedir ;;
930 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
931 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
932 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
933 oldincludedir=$ac_optarg ;;
935 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
936 ac_prev=prefix ;;
937 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
938 prefix=$ac_optarg ;;
940 -program-prefix | --program-prefix | --program-prefi | --program-pref \
941 | --program-pre | --program-pr | --program-p)
942 ac_prev=program_prefix ;;
943 -program-prefix=* | --program-prefix=* | --program-prefi=* \
944 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
945 program_prefix=$ac_optarg ;;
947 -program-suffix | --program-suffix | --program-suffi | --program-suff \
948 | --program-suf | --program-su | --program-s)
949 ac_prev=program_suffix ;;
950 -program-suffix=* | --program-suffix=* | --program-suffi=* \
951 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
952 program_suffix=$ac_optarg ;;
954 -program-transform-name | --program-transform-name \
955 | --program-transform-nam | --program-transform-na \
956 | --program-transform-n | --program-transform- \
957 | --program-transform | --program-transfor \
958 | --program-transfo | --program-transf \
959 | --program-trans | --program-tran \
960 | --progr-tra | --program-tr | --program-t)
961 ac_prev=program_transform_name ;;
962 -program-transform-name=* | --program-transform-name=* \
963 | --program-transform-nam=* | --program-transform-na=* \
964 | --program-transform-n=* | --program-transform-=* \
965 | --program-transform=* | --program-transfor=* \
966 | --program-transfo=* | --program-transf=* \
967 | --program-trans=* | --program-tran=* \
968 | --progr-tra=* | --program-tr=* | --program-t=*)
969 program_transform_name=$ac_optarg ;;
971 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
972 ac_prev=pdfdir ;;
973 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
974 pdfdir=$ac_optarg ;;
976 -psdir | --psdir | --psdi | --psd | --ps)
977 ac_prev=psdir ;;
978 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
979 psdir=$ac_optarg ;;
981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
982 | -silent | --silent | --silen | --sile | --sil)
983 silent=yes ;;
985 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
986 ac_prev=sbindir ;;
987 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
988 | --sbi=* | --sb=*)
989 sbindir=$ac_optarg ;;
991 -sharedstatedir | --sharedstatedir | --sharedstatedi \
992 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
993 | --sharedst | --shareds | --shared | --share | --shar \
994 | --sha | --sh)
995 ac_prev=sharedstatedir ;;
996 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
997 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
998 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
999 | --sha=* | --sh=*)
1000 sharedstatedir=$ac_optarg ;;
1002 -site | --site | --sit)
1003 ac_prev=site ;;
1004 -site=* | --site=* | --sit=*)
1005 site=$ac_optarg ;;
1007 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1008 ac_prev=srcdir ;;
1009 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1010 srcdir=$ac_optarg ;;
1012 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1013 | --syscon | --sysco | --sysc | --sys | --sy)
1014 ac_prev=sysconfdir ;;
1015 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1016 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1017 sysconfdir=$ac_optarg ;;
1019 -target | --target | --targe | --targ | --tar | --ta | --t)
1020 ac_prev=target_alias ;;
1021 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1022 target_alias=$ac_optarg ;;
1024 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1025 verbose=yes ;;
1027 -version | --version | --versio | --versi | --vers | -V)
1028 ac_init_version=: ;;
1030 -with-* | --with-*)
1031 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1035 { (exit 1); exit 1; }; }
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1038 case $ac_user_opts in
1040 "with_$ac_useropt"
1041 "*) ;;
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1044 esac
1045 eval with_$ac_useropt=\$ac_optarg ;;
1047 -without-* | --without-*)
1048 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1051 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1052 { (exit 1); exit 1; }; }
1053 ac_useropt_orig=$ac_useropt
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1055 case $ac_user_opts in
1057 "with_$ac_useropt"
1058 "*) ;;
1059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1060 ac_unrecognized_sep=', ';;
1061 esac
1062 eval with_$ac_useropt=no ;;
1064 --x)
1065 # Obsolete; use --with-x.
1066 with_x=yes ;;
1068 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1069 | --x-incl | --x-inc | --x-in | --x-i)
1070 ac_prev=x_includes ;;
1071 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1072 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1073 x_includes=$ac_optarg ;;
1075 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1076 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1077 ac_prev=x_libraries ;;
1078 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1079 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1080 x_libraries=$ac_optarg ;;
1082 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1083 Try \`$0 --help' for more information." >&2
1084 { (exit 1); exit 1; }; }
1087 *=*)
1088 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1091 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1092 { (exit 1); exit 1; }; }
1093 eval $ac_envvar=\$ac_optarg
1094 export $ac_envvar ;;
1097 # FIXME: should be removed in autoconf 3.0.
1098 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1099 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1100 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1101 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1104 esac
1105 done
1107 if test -n "$ac_prev"; then
1108 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1109 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1110 { (exit 1); exit 1; }; }
1113 if test -n "$ac_unrecognized_opts"; then
1114 case $enable_option_checking in
1115 no) ;;
1116 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1117 { (exit 1); exit 1; }; } ;;
1118 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1119 esac
1122 # Check all directory arguments for consistency.
1123 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124 datadir sysconfdir sharedstatedir localstatedir includedir \
1125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126 libdir localedir mandir
1128 eval ac_val=\$$ac_var
1129 # Remove trailing slashes.
1130 case $ac_val in
1131 */ )
1132 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1133 eval $ac_var=\$ac_val;;
1134 esac
1135 # Be sure to have absolute directory names.
1136 case $ac_val in
1137 [\\/$]* | ?:[\\/]* ) continue;;
1138 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1139 esac
1140 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1141 { (exit 1); exit 1; }; }
1142 done
1144 # There might be people who depend on the old broken behavior: `$host'
1145 # used to hold the argument of --host etc.
1146 # FIXME: To remove some day.
1147 build=$build_alias
1148 host=$host_alias
1149 target=$target_alias
1151 # FIXME: To remove some day.
1152 if test "x$host_alias" != x; then
1153 if test "x$build_alias" = x; then
1154 cross_compiling=maybe
1155 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1156 If a cross compiler is detected then cross compile mode will be used." >&2
1157 elif test "x$build_alias" != "x$host_alias"; then
1158 cross_compiling=yes
1162 ac_tool_prefix=
1163 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1165 test "$silent" = yes && exec 6>/dev/null
1168 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1169 ac_ls_di=`ls -di .` &&
1170 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1171 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1172 { (exit 1); exit 1; }; }
1173 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1174 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1175 { (exit 1); exit 1; }; }
1178 # Find the source files, if location was not specified.
1179 if test -z "$srcdir"; then
1180 ac_srcdir_defaulted=yes
1181 # Try the directory containing this script, then the parent directory.
1182 ac_confdir=`$as_dirname -- "$0" ||
1183 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1184 X"$0" : 'X\(//\)[^/]' \| \
1185 X"$0" : 'X\(//\)$' \| \
1186 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1187 $as_echo X"$0" |
1188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1189 s//\1/
1192 /^X\(\/\/\)[^/].*/{
1193 s//\1/
1196 /^X\(\/\/\)$/{
1197 s//\1/
1200 /^X\(\/\).*/{
1201 s//\1/
1204 s/.*/./; q'`
1205 srcdir=$ac_confdir
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1207 srcdir=..
1209 else
1210 ac_srcdir_defaulted=no
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1214 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1215 { (exit 1); exit 1; }; }
1217 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1218 ac_abs_confdir=`(
1219 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1220 { (exit 1); exit 1; }; }
1221 pwd)`
1222 # When building in place, set srcdir=.
1223 if test "$ac_abs_confdir" = "$ac_pwd"; then
1224 srcdir=.
1226 # Remove unnecessary trailing slashes from srcdir.
1227 # Double slashes in file names in object file debugging info
1228 # mess up M-x gdb in Emacs.
1229 case $srcdir in
1230 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1231 esac
1232 for ac_var in $ac_precious_vars; do
1233 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1234 eval ac_env_${ac_var}_value=\$${ac_var}
1235 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1236 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1237 done
1240 # Report the --help message.
1242 if test "$ac_init_help" = "long"; then
1243 # Omit some internal or obsolete options to make the list less imposing.
1244 # This message is too long to be a string in the A/UX 3.1 sh.
1245 cat <<_ACEOF
1246 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1248 Usage: $0 [OPTION]... [VAR=VALUE]...
1250 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1251 VAR=VALUE. See below for descriptions of some of the useful variables.
1253 Defaults for the options are specified in brackets.
1255 Configuration:
1256 -h, --help display this help and exit
1257 --help=short display options specific to this package
1258 --help=recursive display the short help of all the included packages
1259 -V, --version display version information and exit
1260 -q, --quiet, --silent do not print \`checking...' messages
1261 --cache-file=FILE cache test results in FILE [disabled]
1262 -C, --config-cache alias for \`--cache-file=config.cache'
1263 -n, --no-create do not create output files
1264 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1266 Installation directories:
1267 --prefix=PREFIX install architecture-independent files in PREFIX
1268 [$ac_default_prefix]
1269 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1270 [PREFIX]
1272 By default, \`make install' will install all the files in
1273 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1274 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1275 for instance \`--prefix=\$HOME'.
1277 For better control, use the options below.
1279 Fine tuning of the installation directories:
1280 --bindir=DIR user executables [EPREFIX/bin]
1281 --sbindir=DIR system admin executables [EPREFIX/sbin]
1282 --libexecdir=DIR program executables [EPREFIX/libexec]
1283 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1284 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1285 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1286 --libdir=DIR object code libraries [EPREFIX/lib]
1287 --includedir=DIR C header files [PREFIX/include]
1288 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1289 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1290 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1291 --infodir=DIR info documentation [DATAROOTDIR/info]
1292 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1293 --mandir=DIR man documentation [DATAROOTDIR/man]
1294 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1295 --htmldir=DIR html documentation [DOCDIR]
1296 --dvidir=DIR dvi documentation [DOCDIR]
1297 --pdfdir=DIR pdf documentation [DOCDIR]
1298 --psdir=DIR ps documentation [DOCDIR]
1299 _ACEOF
1301 cat <<\_ACEOF
1303 Program names:
1304 --program-prefix=PREFIX prepend PREFIX to installed program names
1305 --program-suffix=SUFFIX append SUFFIX to installed program names
1306 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1307 _ACEOF
1310 if test -n "$ac_init_help"; then
1311 case $ac_init_help in
1312 short | recursive ) echo "Configuration of GNU Autoconf 2.61b:";;
1313 esac
1314 cat <<\_ACEOF
1316 Optional Packages:
1317 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1318 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1319 --with-lispdir override the default lisp directory
1321 Some influential environment variables:
1322 M4 Location of GNU M4 1.4.5 or later. Defaults to the first program
1323 of `m4', `gm4', or `gnum4' on PATH that meets Autoconf needs.
1324 EMACS the Emacs editor command
1325 EMACSLOADPATH
1326 the Emacs library search path
1328 Use these variables to override the choices made by `configure' or to help
1329 it to find libraries and programs with nonstandard names/locations.
1331 Report bugs to <bug-autoconf@gnu.org>.
1332 _ACEOF
1333 ac_status=$?
1336 if test "$ac_init_help" = "recursive"; then
1337 # If there are subdirs, report their specific --help.
1338 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1339 test -d "$ac_dir" || continue
1340 ac_builddir=.
1342 case "$ac_dir" in
1343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1346 # A ".." for each directory in $ac_dir_suffix.
1347 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1348 case $ac_top_builddir_sub in
1349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1351 esac ;;
1352 esac
1353 ac_abs_top_builddir=$ac_pwd
1354 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1355 # for backward compatibility:
1356 ac_top_builddir=$ac_top_build_prefix
1358 case $srcdir in
1359 .) # We are building in place.
1360 ac_srcdir=.
1361 ac_top_srcdir=$ac_top_builddir_sub
1362 ac_abs_top_srcdir=$ac_pwd ;;
1363 [\\/]* | ?:[\\/]* ) # Absolute name.
1364 ac_srcdir=$srcdir$ac_dir_suffix;
1365 ac_top_srcdir=$srcdir
1366 ac_abs_top_srcdir=$srcdir ;;
1367 *) # Relative name.
1368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1369 ac_top_srcdir=$ac_top_build_prefix$srcdir
1370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1371 esac
1372 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1374 cd "$ac_dir" || { ac_status=$?; continue; }
1375 # Check for guested configure.
1376 if test -f "$ac_srcdir/configure.gnu"; then
1377 echo &&
1378 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1379 elif test -f "$ac_srcdir/configure"; then
1380 echo &&
1381 $SHELL "$ac_srcdir/configure" --help=recursive
1382 else
1383 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1384 fi || ac_status=$?
1385 cd "$ac_pwd" || { ac_status=$?; break; }
1386 done
1389 test -n "$ac_init_help" && exit $ac_status
1390 if $ac_init_version; then
1391 cat <<\_ACEOF
1392 GNU Autoconf configure 2.61b
1393 generated by GNU Autoconf 2.61b
1395 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1396 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
1397 This configure script is free software; the Free Software Foundation
1398 gives unlimited permission to copy, distribute and modify it.
1399 _ACEOF
1400 exit
1402 cat >config.log <<_ACEOF
1403 This file contains any messages produced by compilers while
1404 running configure, to aid debugging if configure makes a mistake.
1406 It was created by GNU Autoconf $as_me 2.61b, which was
1407 generated by GNU Autoconf 2.61b. Invocation command line was
1409 $ $0 $@
1411 _ACEOF
1412 exec 5>>config.log
1414 cat <<_ASUNAME
1415 ## --------- ##
1416 ## Platform. ##
1417 ## --------- ##
1419 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1420 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1421 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1422 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1423 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1425 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1426 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1428 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1429 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1430 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1431 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1432 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1433 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1434 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1436 _ASUNAME
1438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1439 for as_dir in $PATH
1441 IFS=$as_save_IFS
1442 test -z "$as_dir" && as_dir=.
1443 $as_echo "PATH: $as_dir"
1444 done
1445 IFS=$as_save_IFS
1447 } >&5
1449 cat >&5 <<_ACEOF
1452 ## ----------- ##
1453 ## Core tests. ##
1454 ## ----------- ##
1456 _ACEOF
1459 # Keep a trace of the command line.
1460 # Strip out --no-create and --no-recursion so they do not pile up.
1461 # Strip out --silent because we don't want to record it for future runs.
1462 # Also quote any args containing shell meta-characters.
1463 # Make two passes to allow for proper duplicate-argument suppression.
1464 ac_configure_args=
1465 ac_configure_args0=
1466 ac_configure_args1=
1467 ac_must_keep_next=false
1468 for ac_pass in 1 2
1470 for ac_arg
1472 case $ac_arg in
1473 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1474 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1475 | -silent | --silent | --silen | --sile | --sil)
1476 continue ;;
1477 *\'*)
1478 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1479 esac
1480 case $ac_pass in
1481 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1483 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1484 if test $ac_must_keep_next = true; then
1485 ac_must_keep_next=false # Got value, back to normal.
1486 else
1487 case $ac_arg in
1488 *=* | --config-cache | -C | -disable-* | --disable-* \
1489 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1490 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1491 | -with-* | --with-* | -without-* | --without-* | --x)
1492 case "$ac_configure_args0 " in
1493 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1494 esac
1496 -* ) ac_must_keep_next=true ;;
1497 esac
1499 ac_configure_args="$ac_configure_args '$ac_arg'"
1501 esac
1502 done
1503 done
1504 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1505 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1507 # When interrupted or exit'd, cleanup temporary files, and complete
1508 # config.log. We remove comments because anyway the quotes in there
1509 # would cause problems or look ugly.
1510 # WARNING: Use '\'' to represent an apostrophe within the trap.
1511 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1512 trap 'exit_status=$?
1513 # Save into config.log some information that might help in debugging.
1515 echo
1517 cat <<\_ASBOX
1518 ## ---------------- ##
1519 ## Cache variables. ##
1520 ## ---------------- ##
1521 _ASBOX
1522 echo
1523 # The following way of writing the cache mishandles newlines in values,
1525 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1526 eval ac_val=\$$ac_var
1527 case $ac_val in #(
1528 *${as_nl}*)
1529 case $ac_var in #(
1530 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1531 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1532 esac
1533 case $ac_var in #(
1534 _ | IFS | as_nl) ;; #(
1535 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1536 *) $as_unset $ac_var ;;
1537 esac ;;
1538 esac
1539 done
1540 (set) 2>&1 |
1541 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1542 *${as_nl}ac_space=\ *)
1543 sed -n \
1544 "s/'\''/'\''\\\\'\'''\''/g;
1545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1546 ;; #(
1548 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1550 esac |
1551 sort
1553 echo
1555 cat <<\_ASBOX
1556 ## ----------------- ##
1557 ## Output variables. ##
1558 ## ----------------- ##
1559 _ASBOX
1560 echo
1561 for ac_var in $ac_subst_vars
1563 eval ac_val=\$$ac_var
1564 case $ac_val in
1565 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1566 esac
1567 $as_echo "$ac_var='\''$ac_val'\''"
1568 done | sort
1569 echo
1571 if test -n "$ac_subst_files"; then
1572 cat <<\_ASBOX
1573 ## ------------------- ##
1574 ## File substitutions. ##
1575 ## ------------------- ##
1576 _ASBOX
1577 echo
1578 for ac_var in $ac_subst_files
1580 eval ac_val=\$$ac_var
1581 case $ac_val in
1582 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1583 esac
1584 $as_echo "$ac_var='\''$ac_val'\''"
1585 done | sort
1586 echo
1589 if test -s confdefs.h; then
1590 cat <<\_ASBOX
1591 ## ----------- ##
1592 ## confdefs.h. ##
1593 ## ----------- ##
1594 _ASBOX
1595 echo
1596 cat confdefs.h
1597 echo
1599 test "$ac_signal" != 0 &&
1600 $as_echo "$as_me: caught signal $ac_signal"
1601 $as_echo "$as_me: exit $exit_status"
1602 } >&5
1603 rm -f core *.core core.conftest.* &&
1604 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1605 exit $exit_status
1607 for ac_signal in 1 2 13 15; do
1608 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1609 done
1610 ac_signal=0
1612 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1613 rm -f -r conftest* confdefs.h
1615 # Predefined preprocessor variables.
1617 cat >>confdefs.h <<_ACEOF
1618 #define PACKAGE_NAME "$PACKAGE_NAME"
1619 _ACEOF
1622 cat >>confdefs.h <<_ACEOF
1623 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1624 _ACEOF
1627 cat >>confdefs.h <<_ACEOF
1628 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1629 _ACEOF
1632 cat >>confdefs.h <<_ACEOF
1633 #define PACKAGE_STRING "$PACKAGE_STRING"
1634 _ACEOF
1637 cat >>confdefs.h <<_ACEOF
1638 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1639 _ACEOF
1642 # Let the site file select an alternate cache file if it wants to.
1643 # Prefer an explicitly selected file to automatically selected ones.
1644 ac_site_file1=NONE
1645 ac_site_file2=NONE
1646 if test -n "$CONFIG_SITE"; then
1647 ac_site_file1=$CONFIG_SITE
1648 elif test "x$prefix" != xNONE; then
1649 ac_site_file1=$prefix/share/config.site
1650 ac_site_file2=$prefix/etc/config.site
1651 else
1652 ac_site_file1=$ac_default_prefix/share/config.site
1653 ac_site_file2=$ac_default_prefix/etc/config.site
1655 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1657 test "x$ac_site_file" = xNONE && continue
1658 if test -r "$ac_site_file"; then
1659 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1660 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1661 sed 's/^/| /' "$ac_site_file" >&5
1662 . "$ac_site_file"
1664 done
1666 if test -r "$cache_file"; then
1667 # Some versions of bash will fail to source /dev/null (special
1668 # files actually), so we avoid doing that.
1669 if test -f "$cache_file"; then
1670 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1671 $as_echo "$as_me: loading cache $cache_file" >&6;}
1672 case $cache_file in
1673 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1674 *) . "./$cache_file";;
1675 esac
1677 else
1678 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1679 $as_echo "$as_me: creating cache $cache_file" >&6;}
1680 >$cache_file
1683 # Check that the precious variables saved in the cache have kept the same
1684 # value.
1685 ac_cache_corrupted=false
1686 for ac_var in $ac_precious_vars; do
1687 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1688 eval ac_new_set=\$ac_env_${ac_var}_set
1689 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1690 eval ac_new_val=\$ac_env_${ac_var}_value
1691 case $ac_old_set,$ac_new_set in
1692 set,)
1693 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1694 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1695 ac_cache_corrupted=: ;;
1696 ,set)
1697 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1698 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1699 ac_cache_corrupted=: ;;
1700 ,);;
1702 if test "x$ac_old_val" != "x$ac_new_val"; then
1703 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1704 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1705 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1706 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1707 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1708 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1709 ac_cache_corrupted=:
1710 fi;;
1711 esac
1712 # Pass precious variables to config.status.
1713 if test "$ac_new_set" = set; then
1714 case $ac_new_val in
1715 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1716 *) ac_arg=$ac_var=$ac_new_val ;;
1717 esac
1718 case " $ac_configure_args " in
1719 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1720 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1721 esac
1723 done
1724 if $ac_cache_corrupted; then
1725 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1726 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1727 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1728 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1729 { (exit 1); exit 1; }; }
1756 ac_ext=c
1757 ac_cpp='$CPP $CPPFLAGS'
1758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1765 ac_aux_dir=
1766 for ac_dir in build-aux "$srcdir"/build-aux; do
1767 if test -f "$ac_dir/install-sh"; then
1768 ac_aux_dir=$ac_dir
1769 ac_install_sh="$ac_aux_dir/install-sh -c"
1770 break
1771 elif test -f "$ac_dir/install.sh"; then
1772 ac_aux_dir=$ac_dir
1773 ac_install_sh="$ac_aux_dir/install.sh -c"
1774 break
1775 elif test -f "$ac_dir/shtool"; then
1776 ac_aux_dir=$ac_dir
1777 ac_install_sh="$ac_aux_dir/shtool install -c"
1778 break
1780 done
1781 if test -z "$ac_aux_dir"; then
1782 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1783 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1784 { (exit 1); exit 1; }; }
1787 # These three variables are undocumented and unsupported,
1788 # and are intended to be withdrawn in a future Autoconf release.
1789 # They can cause serious problems if a builder's source tree is in a directory
1790 # whose full name contains unusual characters.
1791 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1792 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1793 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1797 am__api_version='1.10'
1799 # Find a good install program. We prefer a C program (faster),
1800 # so one script is as good as another. But avoid the broken or
1801 # incompatible versions:
1802 # SysV /etc/install, /usr/sbin/install
1803 # SunOS /usr/etc/install
1804 # IRIX /sbin/install
1805 # AIX /bin/install
1806 # AmigaOS /C/install, which installs bootblocks on floppy discs
1807 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1808 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1809 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1810 # OS/2's system install, which has a completely different semantic
1811 # ./install, which can be erroneously created by make from ./install.sh.
1812 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1813 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1814 if test -z "$INSTALL"; then
1815 if test "${ac_cv_path_install+set}" = set; then
1816 $as_echo_n "(cached) " >&6
1817 else
1818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819 for as_dir in $PATH
1821 IFS=$as_save_IFS
1822 test -z "$as_dir" && as_dir=.
1823 # Account for people who put trailing slashes in PATH elements.
1824 case $as_dir/ in
1825 ./ | .// | /cC/* | \
1826 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1827 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1828 /usr/ucb/* ) ;;
1830 # OSF1 and SCO ODT 3.0 have their own names for install.
1831 # Don't use installbsd from OSF since it installs stuff as root
1832 # by default.
1833 for ac_prog in ginstall scoinst install; do
1834 for ac_exec_ext in '' $ac_executable_extensions; do
1835 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1836 if test $ac_prog = install &&
1837 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1838 # AIX install. It has an incompatible calling convention.
1840 elif test $ac_prog = install &&
1841 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1842 # program-specific install script used by HP pwplus--don't use.
1844 else
1845 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1846 break 3
1849 done
1850 done
1852 esac
1853 done
1854 IFS=$as_save_IFS
1858 if test "${ac_cv_path_install+set}" = set; then
1859 INSTALL=$ac_cv_path_install
1860 else
1861 # As a last resort, use the slow shell script. Don't cache a
1862 # value for INSTALL within a source directory, because that will
1863 # break other packages using the cache if that directory is
1864 # removed, or if the value is a relative name.
1865 INSTALL=$ac_install_sh
1868 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1869 $as_echo "$INSTALL" >&6; }
1871 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1872 # It thinks the first close brace ends the variable substitution.
1873 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1875 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1877 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1879 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1880 $as_echo_n "checking whether build environment is sane... " >&6; }
1881 # Just in case
1882 sleep 1
1883 echo timestamp > conftest.file
1884 # Do `set' in a subshell so we don't clobber the current shell's
1885 # arguments. Must try -L first in case configure is actually a
1886 # symlink; some systems play weird games with the mod time of symlinks
1887 # (eg FreeBSD returns the mod time of the symlink's containing
1888 # directory).
1889 if (
1890 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1891 if test "$*" = "X"; then
1892 # -L didn't work.
1893 set X `ls -t $srcdir/configure conftest.file`
1895 rm -f conftest.file
1896 if test "$*" != "X $srcdir/configure conftest.file" \
1897 && test "$*" != "X conftest.file $srcdir/configure"; then
1899 # If neither matched, then we have a broken ls. This can happen
1900 # if, for instance, CONFIG_SHELL is bash and it inherits a
1901 # broken ls alias from the environment. This has actually
1902 # happened. Such a system could not be considered "sane".
1903 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1904 alias in your environment" >&5
1905 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1906 alias in your environment" >&2;}
1907 { (exit 1); exit 1; }; }
1910 test "$2" = conftest.file
1912 then
1913 # Ok.
1915 else
1916 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1917 Check your system clock" >&5
1918 $as_echo "$as_me: error: newly created file is older than distributed files!
1919 Check your system clock" >&2;}
1920 { (exit 1); exit 1; }; }
1922 { $as_echo "$as_me:$LINENO: result: yes" >&5
1923 $as_echo "yes" >&6; }
1924 test "$program_prefix" != NONE &&
1925 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1926 # Use a double $ so make ignores it.
1927 test "$program_suffix" != NONE &&
1928 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1929 # Double any \ or $.
1930 # By default was `s,x,x', remove it if useless.
1931 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1932 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1934 # expand $ac_aux_dir to an absolute path
1935 am_aux_dir=`cd $ac_aux_dir && pwd`
1937 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1938 # Use eval to expand $SHELL
1939 if eval "$MISSING --run true"; then
1940 am_missing_run="$MISSING --run "
1941 else
1942 am_missing_run=
1943 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1944 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1947 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1948 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1949 if test -z "$MKDIR_P"; then
1950 if test "${ac_cv_path_mkdir+set}" = set; then
1951 $as_echo_n "(cached) " >&6
1952 else
1953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1954 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1956 IFS=$as_save_IFS
1957 test -z "$as_dir" && as_dir=.
1958 for ac_prog in mkdir gmkdir; do
1959 for ac_exec_ext in '' $ac_executable_extensions; do
1960 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1961 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1962 'mkdir (GNU coreutils) '* | \
1963 'mkdir (coreutils) '* | \
1964 'mkdir (fileutils) '4.1*)
1965 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1966 break 3;;
1967 esac
1968 done
1969 done
1970 done
1971 IFS=$as_save_IFS
1975 if test "${ac_cv_path_mkdir+set}" = set; then
1976 MKDIR_P="$ac_cv_path_mkdir -p"
1977 else
1978 # As a last resort, use the slow shell script. Don't cache a
1979 # value for MKDIR_P within a source directory, because that will
1980 # break other packages using the cache if that directory is
1981 # removed, or if the value is a relative name.
1982 test -d ./--version && rmdir ./--version
1983 MKDIR_P="$ac_install_sh -d"
1986 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1987 $as_echo "$MKDIR_P" >&6; }
1989 mkdir_p="$MKDIR_P"
1990 case $mkdir_p in
1991 [\\/$]* | ?:[\\/]*) ;;
1992 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1993 esac
1995 for ac_prog in gawk mawk nawk awk
1997 # Extract the first word of "$ac_prog", so it can be a program name with args.
1998 set dummy $ac_prog; ac_word=$2
1999 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2000 $as_echo_n "checking for $ac_word... " >&6; }
2001 if test "${ac_cv_prog_AWK+set}" = set; then
2002 $as_echo_n "(cached) " >&6
2003 else
2004 if test -n "$AWK"; then
2005 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2006 else
2007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2008 for as_dir in $PATH
2010 IFS=$as_save_IFS
2011 test -z "$as_dir" && as_dir=.
2012 for ac_exec_ext in '' $ac_executable_extensions; do
2013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2014 ac_cv_prog_AWK="$ac_prog"
2015 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2016 break 2
2018 done
2019 done
2020 IFS=$as_save_IFS
2024 AWK=$ac_cv_prog_AWK
2025 if test -n "$AWK"; then
2026 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2027 $as_echo "$AWK" >&6; }
2028 else
2029 { $as_echo "$as_me:$LINENO: result: no" >&5
2030 $as_echo "no" >&6; }
2034 test -n "$AWK" && break
2035 done
2037 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2038 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2039 set x ${MAKE-make}
2040 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2041 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2042 $as_echo_n "(cached) " >&6
2043 else
2044 cat >conftest.make <<\_ACEOF
2045 SHELL = /bin/sh
2046 all:
2047 @echo '@@@%%%=$(MAKE)=@@@%%%'
2048 _ACEOF
2049 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2050 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2051 *@@@%%%=?*=@@@%%%*)
2052 eval ac_cv_prog_make_${ac_make}_set=yes;;
2054 eval ac_cv_prog_make_${ac_make}_set=no;;
2055 esac
2056 rm -f conftest.make
2058 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2059 { $as_echo "$as_me:$LINENO: result: yes" >&5
2060 $as_echo "yes" >&6; }
2061 SET_MAKE=
2062 else
2063 { $as_echo "$as_me:$LINENO: result: no" >&5
2064 $as_echo "no" >&6; }
2065 SET_MAKE="MAKE=${MAKE-make}"
2068 rm -rf .tst 2>/dev/null
2069 mkdir .tst 2>/dev/null
2070 if test -d .tst; then
2071 am__leading_dot=.
2072 else
2073 am__leading_dot=_
2075 rmdir .tst 2>/dev/null
2077 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2078 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2079 # is not polluted with repeated "-I."
2080 am__isrc=' -I$(srcdir)'
2081 # test to see if srcdir already configured
2082 if test -f $srcdir/config.status; then
2083 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2084 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2085 { (exit 1); exit 1; }; }
2089 # test whether we have cygpath
2090 if test -z "$CYGPATH_W"; then
2091 if (cygpath --version) >/dev/null 2>/dev/null; then
2092 CYGPATH_W='cygpath -w'
2093 else
2094 CYGPATH_W=echo
2099 # Define the identity of the package.
2100 PACKAGE='autoconf'
2101 VERSION='2.61b'
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE "$PACKAGE"
2106 _ACEOF
2109 cat >>confdefs.h <<_ACEOF
2110 #define VERSION "$VERSION"
2111 _ACEOF
2113 # Some tools Automake needs.
2115 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2118 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2121 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2124 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2127 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2129 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2131 # Installed binaries are usually stripped using `strip' when the user
2132 # run `make install-strip'. However `strip' might not be the right
2133 # tool to use in cross-compilation environments, therefore Automake
2134 # will honor the `STRIP' environment variable to overrule this program.
2135 if test "$cross_compiling" != no; then
2136 if test -n "$ac_tool_prefix"; then
2137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2138 set dummy ${ac_tool_prefix}strip; ac_word=$2
2139 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2140 $as_echo_n "checking for $ac_word... " >&6; }
2141 if test "${ac_cv_prog_STRIP+set}" = set; then
2142 $as_echo_n "(cached) " >&6
2143 else
2144 if test -n "$STRIP"; then
2145 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2146 else
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 for as_dir in $PATH
2150 IFS=$as_save_IFS
2151 test -z "$as_dir" && as_dir=.
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2154 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2155 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 break 2
2158 done
2159 done
2160 IFS=$as_save_IFS
2164 STRIP=$ac_cv_prog_STRIP
2165 if test -n "$STRIP"; then
2166 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2167 $as_echo "$STRIP" >&6; }
2168 else
2169 { $as_echo "$as_me:$LINENO: result: no" >&5
2170 $as_echo "no" >&6; }
2175 if test -z "$ac_cv_prog_STRIP"; then
2176 ac_ct_STRIP=$STRIP
2177 # Extract the first word of "strip", so it can be a program name with args.
2178 set dummy strip; ac_word=$2
2179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 $as_echo_n "checking for $ac_word... " >&6; }
2181 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2182 $as_echo_n "(cached) " >&6
2183 else
2184 if test -n "$ac_ct_STRIP"; then
2185 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2186 else
2187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188 for as_dir in $PATH
2190 IFS=$as_save_IFS
2191 test -z "$as_dir" && as_dir=.
2192 for ac_exec_ext in '' $ac_executable_extensions; do
2193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194 ac_cv_prog_ac_ct_STRIP="strip"
2195 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 break 2
2198 done
2199 done
2200 IFS=$as_save_IFS
2204 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2205 if test -n "$ac_ct_STRIP"; then
2206 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2207 $as_echo "$ac_ct_STRIP" >&6; }
2208 else
2209 { $as_echo "$as_me:$LINENO: result: no" >&5
2210 $as_echo "no" >&6; }
2213 if test "x$ac_ct_STRIP" = x; then
2214 STRIP=":"
2215 else
2216 case $cross_compiling:$ac_tool_warned in
2217 yes:)
2218 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2219 whose name does not start with the host triplet. If you think this
2220 configuration is useful to you, please write to autoconf@gnu.org." >&5
2221 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2222 whose name does not start with the host triplet. If you think this
2223 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2224 ac_tool_warned=yes ;;
2225 esac
2226 STRIP=$ac_ct_STRIP
2228 else
2229 STRIP="$ac_cv_prog_STRIP"
2233 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2235 # We need awk for the "check" target. The system "awk" is bad on
2236 # some platforms.
2237 # Always define AMTAR for backward compatibility.
2239 AMTAR=${AMTAR-"${am_missing_run}tar"}
2241 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2248 # We use `/bin/sh -n script' to check that there are no syntax errors
2249 # in the scripts. Although incredible, there are /bin/sh that go into
2250 # endless loops with `-n', e.g., SunOS's:
2252 # $ uname -a
2253 # SunOS ondine 4.1.3 2 sun4m unknown
2254 # $ cat endless.sh
2255 # while false
2256 # do
2258 # done
2259 # exit 0
2260 # $ time sh endless.sh
2261 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2262 # $ time sh -nx endless.sh
2263 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2265 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2266 # that they are unusable on large scripts like our testsuite.
2268 # So before using `/bin/sh -n' to check our scripts, we first check
2269 # that `/bin/sh -n' is known to not have these problems.
2271 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2272 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2273 if test "${ac_cv_sh_n_works+set}" = set; then
2274 $as_echo_n "(cached) " >&6
2275 else
2276 if (
2277 unset BASH_VERSION ZSH_VERSION
2278 /bin/sh -c '
2279 test -n "${BASH_VERSION+set}" || # Bash
2280 test -n "${KSH_VERSION+set}" || # pdksh
2281 test -n "${ZSH_VERSION+set}" || # zsh
2282 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2284 ) 2>/dev/null
2285 then ac_cv_sh_n_works=yes
2286 else ac_cv_sh_n_works=no
2290 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2291 $as_echo "$ac_cv_sh_n_works" >&6; }
2294 # Initialize the test suite.
2295 ac_config_commands="$ac_config_commands tests/atconfig"
2298 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2300 # Extract the first word of "expr", so it can be a program name with args.
2301 set dummy expr; ac_word=$2
2302 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2303 $as_echo_n "checking for $ac_word... " >&6; }
2304 if test "${ac_cv_path_EXPR+set}" = set; then
2305 $as_echo_n "(cached) " >&6
2306 else
2307 case $EXPR in
2308 [\\/]* | ?:[\\/]*)
2309 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 for as_dir in $PATH
2315 IFS=$as_save_IFS
2316 test -z "$as_dir" && as_dir=.
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2320 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 break 2
2323 done
2324 done
2325 IFS=$as_save_IFS
2328 esac
2330 EXPR=$ac_cv_path_EXPR
2331 if test -n "$EXPR"; then
2332 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2333 $as_echo "$EXPR" >&6; }
2334 else
2335 { $as_echo "$as_me:$LINENO: result: no" >&5
2336 $as_echo "no" >&6; }
2342 ## ---- ##
2343 ## M4. ##
2344 ## ---- ##
2346 # We use an absolute name for GNU m4 so even if users have another m4 first in
2347 # their path, the installer can configure with a path that has GNU m4
2348 # on it and get that path embedded in the installed autoconf and
2349 # autoheader scripts.
2351 { $as_echo "$as_me:$LINENO: checking for GNU M4 that supports accurate traces" >&5
2352 $as_echo_n "checking for GNU M4 that supports accurate traces... " >&6; }
2353 if test "${ac_cv_path_M4+set}" = set; then
2354 $as_echo_n "(cached) " >&6
2355 else
2356 if test -z "$M4"; then
2357 ac_path_M4_found=false
2358 # Loop through the user's path and test for each of PROGNAME-LIST
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 for as_dir in $PATH
2362 IFS=$as_save_IFS
2363 test -z "$as_dir" && as_dir=.
2364 for ac_prog in m4 gm4 gnum4; do
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 ac_path_M4="$as_dir/$ac_prog$ac_exec_ext"
2367 { test -f "$ac_path_M4" && $as_test_x "$ac_path_M4"; } || continue
2368 # Root out GNU M4 1.4.4, as well as non-GNU m4 that ignore --trace.
2369 ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)d'nl
2370 test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
2371 && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
2372 $ac_path_M4_found && break 3
2373 done
2374 done
2375 done
2376 IFS=$as_save_IFS
2377 if test -z "$ac_cv_path_M4"; then
2378 { { $as_echo "$as_me:$LINENO: error: no acceptable m4 could be found in \$PATH.
2379 GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&5
2380 $as_echo "$as_me: error: no acceptable m4 could be found in \$PATH.
2381 GNU M4 1.4.5 or later is required; 1.4.8 is recommended" >&2;}
2382 { (exit 1); exit 1; }; }
2384 else
2385 ac_cv_path_M4=$M4
2389 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_M4" >&5
2390 $as_echo "$ac_cv_path_M4" >&6; }
2391 M4=$ac_cv_path_M4
2392 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2393 $as_echo_n "checking how m4 supports trace files... " >&6; }
2394 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2395 $as_echo_n "(cached) " >&6
2396 else
2397 case `$M4 --help < /dev/null 2>&1` in
2398 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2399 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2400 esac
2402 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2403 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2404 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2408 ## ----------- ##
2409 ## Man pages. ##
2410 ## ----------- ##
2412 ac_config_files="$ac_config_files man/Makefile"
2415 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2419 ## ------ ##
2420 ## Perl. ##
2421 ## ------ ##
2423 # We use an absolute name for perl so the #! line in autoscan will work.
2424 # Extract the first word of "perl", so it can be a program name with args.
2425 set dummy perl; ac_word=$2
2426 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 $as_echo_n "checking for $ac_word... " >&6; }
2428 if test "${ac_cv_path_PERL+set}" = set; then
2429 $as_echo_n "(cached) " >&6
2430 else
2431 case $PERL in
2432 [\\/]* | ?:[\\/]*)
2433 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 for as_dir in $PATH
2439 IFS=$as_save_IFS
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2443 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2444 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 break 2
2447 done
2448 done
2449 IFS=$as_save_IFS
2451 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2453 esac
2455 PERL=$ac_cv_path_PERL
2456 if test -n "$PERL"; then
2457 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2458 $as_echo "$PERL" >&6; }
2459 else
2460 { $as_echo "$as_me:$LINENO: result: no" >&5
2461 $as_echo "no" >&6; }
2465 if test "$PERL" = no; then
2466 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2467 $as_echo "$as_me: error: perl is not found" >&2;}
2468 { (exit 1); exit 1; }; }
2470 $PERL -e 'require 5.005_03;' || {
2471 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2472 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2473 { (exit 1); exit 1; }; }
2477 ## ------- ##
2478 ## Emacs. ##
2479 ## ------- ##
2481 ac_config_files="$ac_config_files lib/emacs/Makefile"
2483 TEST_EMACS=$EMACS
2484 test x"$TEST_EMACS" = xt && TEST_EMACS=
2485 for ac_prog in emacs xemacs
2487 # Extract the first word of "$ac_prog", so it can be a program name with args.
2488 set dummy $ac_prog; ac_word=$2
2489 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2490 $as_echo_n "checking for $ac_word... " >&6; }
2491 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2492 $as_echo_n "(cached) " >&6
2493 else
2494 if test -n "$TEST_EMACS"; then
2495 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2496 else
2497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 for as_dir in $PATH
2500 IFS=$as_save_IFS
2501 test -z "$as_dir" && as_dir=.
2502 for ac_exec_ext in '' $ac_executable_extensions; do
2503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2504 ac_cv_prog_TEST_EMACS="$ac_prog"
2505 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2506 break 2
2508 done
2509 done
2510 IFS=$as_save_IFS
2514 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2515 if test -n "$TEST_EMACS"; then
2516 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2517 $as_echo "$TEST_EMACS" >&6; }
2518 else
2519 { $as_echo "$as_me:$LINENO: result: no" >&5
2520 $as_echo "no" >&6; }
2524 test -n "$TEST_EMACS" && break
2525 done
2526 test -n "$TEST_EMACS" || TEST_EMACS="no"
2529 # autoconf-mode.el and autotest-mode.el do not work with older version of
2530 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2531 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2532 # We detect this problem here.
2533 if test "$TEST_EMACS" != no; then
2534 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2535 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2536 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2537 $as_echo_n "(cached) " >&6
2538 else
2539 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2540 cat >conftest.el << "EOF"
2541 (defvar broken)
2542 (defun broken-mode () (setq broken-defaults `(broken nil)))
2544 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2545 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2546 ac_status=$?
2547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 ac_cv_prog_emacs_ok=yes
2550 else
2551 ac_cv_prog_emacs_ok=no
2554 rm -f conftest.el conftest.elc
2556 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2557 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2558 if test $ac_cv_prog_emacs_ok = no; then
2559 TEST_EMACS=no
2565 EMACS=$TEST_EMACS
2568 # If set to t, that means we are running in a shell under Emacs.
2569 # If you have an Emacs named "t", then use the full path.
2570 test x"$EMACS" = xt && EMACS=
2571 for ac_prog in emacs xemacs
2573 # Extract the first word of "$ac_prog", so it can be a program name with args.
2574 set dummy $ac_prog; ac_word=$2
2575 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if test "${ac_cv_prog_EMACS+set}" = set; then
2578 $as_echo_n "(cached) " >&6
2579 else
2580 if test -n "$EMACS"; then
2581 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2582 else
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 for as_dir in $PATH
2586 IFS=$as_save_IFS
2587 test -z "$as_dir" && as_dir=.
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2590 ac_cv_prog_EMACS="$ac_prog"
2591 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 break 2
2594 done
2595 done
2596 IFS=$as_save_IFS
2600 EMACS=$ac_cv_prog_EMACS
2601 if test -n "$EMACS"; then
2602 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2603 $as_echo "$EMACS" >&6; }
2604 else
2605 { $as_echo "$as_me:$LINENO: result: no" >&5
2606 $as_echo "no" >&6; }
2610 test -n "$EMACS" && break
2611 done
2612 test -n "$EMACS" || EMACS="no"
2617 # Check whether --with-lispdir was given.
2618 if test "${with_lispdir+set}" = set; then
2619 withval=$with_lispdir; lispdir="$withval"
2620 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2621 $as_echo_n "checking where .elc files should go... " >&6; }
2622 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2623 $as_echo "$lispdir" >&6; }
2624 else
2626 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2627 $as_echo_n "checking where .elc files should go... " >&6; }
2628 if test "${am_cv_lispdir+set}" = set; then
2629 $as_echo_n "(cached) " >&6
2630 else
2632 if test $EMACS != "no"; then
2633 if test x${lispdir+set} != xset; then
2634 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2635 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2636 # which is non-obvious for non-emacs users.
2637 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2638 # emacsen earlier and avoid running this altogether.
2639 { ($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
2640 ($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
2641 ac_status=$?
2642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }
2644 am_cv_lispdir=`sed -n \
2645 -e 's,/$,,' \
2646 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2647 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2648 conftest.out`
2649 rm conftest.out
2652 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2655 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2656 $as_echo "$am_cv_lispdir" >&6; }
2657 lispdir="$am_cv_lispdir"
2665 ## ------------ ##
2666 ## Grep & sed. ##
2667 ## ------------ ##
2668 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2669 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2670 if test "${ac_cv_path_GREP+set}" = set; then
2671 $as_echo_n "(cached) " >&6
2672 else
2673 if test -z "$GREP"; then
2674 ac_path_GREP_found=false
2675 # Loop through the user's path and test for each of PROGNAME-LIST
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2679 IFS=$as_save_IFS
2680 test -z "$as_dir" && as_dir=.
2681 for ac_prog in grep ggrep; do
2682 for ac_exec_ext in '' $ac_executable_extensions; do
2683 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2684 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2685 # Check for GNU ac_path_GREP and select it if it is found.
2686 # Check for GNU $ac_path_GREP
2687 case `"$ac_path_GREP" --version 2>&1` in
2688 *GNU*)
2689 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2691 ac_count=0
2692 $as_echo_n 0123456789 >"conftest.in"
2693 while :
2695 cat "conftest.in" "conftest.in" >"conftest.tmp"
2696 mv "conftest.tmp" "conftest.in"
2697 cp "conftest.in" "conftest.nl"
2698 $as_echo 'GREP' >> "conftest.nl"
2699 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2700 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2701 ac_count=`expr $ac_count + 1`
2702 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2703 # Best one so far, save it but keep looking for a better one
2704 ac_cv_path_GREP="$ac_path_GREP"
2705 ac_path_GREP_max=$ac_count
2707 # 10*(2^10) chars as input seems more than enough
2708 test $ac_count -gt 10 && break
2709 done
2710 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2711 esac
2713 $ac_path_GREP_found && break 3
2714 done
2715 done
2716 done
2717 IFS=$as_save_IFS
2718 if test -z "$ac_cv_path_GREP"; then
2719 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2720 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2721 { (exit 1); exit 1; }; }
2723 else
2724 ac_cv_path_GREP=$GREP
2728 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2729 $as_echo "$ac_cv_path_GREP" >&6; }
2730 GREP="$ac_cv_path_GREP"
2733 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2734 $as_echo_n "checking for egrep... " >&6; }
2735 if test "${ac_cv_path_EGREP+set}" = set; then
2736 $as_echo_n "(cached) " >&6
2737 else
2738 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2739 then ac_cv_path_EGREP="$GREP -E"
2740 else
2741 if test -z "$EGREP"; then
2742 ac_path_EGREP_found=false
2743 # Loop through the user's path and test for each of PROGNAME-LIST
2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2747 IFS=$as_save_IFS
2748 test -z "$as_dir" && as_dir=.
2749 for ac_prog in egrep; do
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2752 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2753 # Check for GNU ac_path_EGREP and select it if it is found.
2754 # Check for GNU $ac_path_EGREP
2755 case `"$ac_path_EGREP" --version 2>&1` in
2756 *GNU*)
2757 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2759 ac_count=0
2760 $as_echo_n 0123456789 >"conftest.in"
2761 while :
2763 cat "conftest.in" "conftest.in" >"conftest.tmp"
2764 mv "conftest.tmp" "conftest.in"
2765 cp "conftest.in" "conftest.nl"
2766 $as_echo 'EGREP' >> "conftest.nl"
2767 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2768 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2769 ac_count=`expr $ac_count + 1`
2770 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2771 # Best one so far, save it but keep looking for a better one
2772 ac_cv_path_EGREP="$ac_path_EGREP"
2773 ac_path_EGREP_max=$ac_count
2775 # 10*(2^10) chars as input seems more than enough
2776 test $ac_count -gt 10 && break
2777 done
2778 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2779 esac
2781 $ac_path_EGREP_found && break 3
2782 done
2783 done
2784 done
2785 IFS=$as_save_IFS
2786 if test -z "$ac_cv_path_EGREP"; then
2787 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2788 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2789 { (exit 1); exit 1; }; }
2791 else
2792 ac_cv_path_EGREP=$EGREP
2797 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2798 $as_echo "$ac_cv_path_EGREP" >&6; }
2799 EGREP="$ac_cv_path_EGREP"
2802 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2803 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2804 if test "${ac_cv_path_SED+set}" = set; then
2805 $as_echo_n "(cached) " >&6
2806 else
2807 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2808 for ac_i in 1 2 3 4 5 6 7; do
2809 ac_script="$ac_script$as_nl$ac_script"
2810 done
2811 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2812 $as_unset ac_script || ac_script=
2813 if test -z "$SED"; then
2814 ac_path_SED_found=false
2815 # Loop through the user's path and test for each of PROGNAME-LIST
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 for as_dir in $PATH
2819 IFS=$as_save_IFS
2820 test -z "$as_dir" && as_dir=.
2821 for ac_prog in sed gsed; do
2822 for ac_exec_ext in '' $ac_executable_extensions; do
2823 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2824 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2825 # Check for GNU ac_path_SED and select it if it is found.
2826 # Check for GNU $ac_path_SED
2827 case `"$ac_path_SED" --version 2>&1` in
2828 *GNU*)
2829 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2831 ac_count=0
2832 $as_echo_n 0123456789 >"conftest.in"
2833 while :
2835 cat "conftest.in" "conftest.in" >"conftest.tmp"
2836 mv "conftest.tmp" "conftest.in"
2837 cp "conftest.in" "conftest.nl"
2838 $as_echo '' >> "conftest.nl"
2839 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2840 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2841 ac_count=`expr $ac_count + 1`
2842 if test $ac_count -gt ${ac_path_SED_max-0}; then
2843 # Best one so far, save it but keep looking for a better one
2844 ac_cv_path_SED="$ac_path_SED"
2845 ac_path_SED_max=$ac_count
2847 # 10*(2^10) chars as input seems more than enough
2848 test $ac_count -gt 10 && break
2849 done
2850 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2851 esac
2853 $ac_path_SED_found && break 3
2854 done
2855 done
2856 done
2857 IFS=$as_save_IFS
2858 if test -z "$ac_cv_path_SED"; then
2859 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
2860 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
2861 { (exit 1); exit 1; }; }
2863 else
2864 ac_cv_path_SED=$SED
2868 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2869 $as_echo "$ac_cv_path_SED" >&6; }
2870 SED="$ac_cv_path_SED"
2871 rm -f conftest.sed
2875 ## ------------ ##
2876 ## Conclusion. ##
2877 ## ------------ ##
2879 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"
2882 cat >confcache <<\_ACEOF
2883 # This file is a shell script that caches the results of configure
2884 # tests run on this system so they can be shared between configure
2885 # scripts and configure runs, see configure's option --config-cache.
2886 # It is not useful on other systems. If it contains results you don't
2887 # want to keep, you may remove or edit it.
2889 # config.status only pays attention to the cache file if you give it
2890 # the --recheck option to rerun configure.
2892 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2893 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2894 # following values.
2896 _ACEOF
2898 # The following way of writing the cache mishandles newlines in values,
2899 # but we know of no workaround that is simple, portable, and efficient.
2900 # So, we kill variables containing newlines.
2901 # Ultrix sh set writes to stderr and can't be redirected directly,
2902 # and sets the high bit in the cache file unless we assign to the vars.
2904 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2905 eval ac_val=\$$ac_var
2906 case $ac_val in #(
2907 *${as_nl}*)
2908 case $ac_var in #(
2909 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2910 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2911 esac
2912 case $ac_var in #(
2913 _ | IFS | as_nl) ;; #(
2914 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2915 *) $as_unset $ac_var ;;
2916 esac ;;
2917 esac
2918 done
2920 (set) 2>&1 |
2921 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2922 *${as_nl}ac_space=\ *)
2923 # `set' does not quote correctly, so add quotes (double-quote
2924 # substitution turns \\\\ into \\, and sed turns \\ into \).
2925 sed -n \
2926 "s/'/'\\\\''/g;
2927 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2928 ;; #(
2930 # `set' quotes correctly as required by POSIX, so do not add quotes.
2931 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2933 esac |
2934 sort
2936 sed '
2937 /^ac_cv_env_/b end
2938 t clear
2939 :clear
2940 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2941 t end
2942 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2943 :end' >>confcache
2944 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2945 if test -w "$cache_file"; then
2946 test "x$cache_file" != "x/dev/null" &&
2947 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2948 $as_echo "$as_me: updating cache $cache_file" >&6;}
2949 cat confcache >$cache_file
2950 else
2951 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2952 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2955 rm -f confcache
2957 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2958 # Let make expand exec_prefix.
2959 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2961 # Transform confdefs.h into DEFS.
2962 # Protect against shell expansion while executing Makefile rules.
2963 # Protect against Makefile macro expansion.
2965 # If the first sed substitution is executed (which looks for macros that
2966 # take arguments), then branch to the quote section. Otherwise,
2967 # look for a macro that doesn't take arguments.
2968 ac_script='
2969 t clear
2970 :clear
2971 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2972 t quote
2973 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2974 t quote
2975 b any
2976 :quote
2977 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2978 s/\[/\\&/g
2979 s/\]/\\&/g
2980 s/\$/$$/g
2982 :any
2985 s/^\n//
2986 s/\n/ /g
2990 DEFS=`sed -n "$ac_script" confdefs.h`
2993 ac_libobjs=
2994 ac_ltlibobjs=
2995 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2996 # 1. Remove the extension, and $U if already installed.
2997 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2998 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2999 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3000 # will be set to the directory where LIBOBJS objects are built.
3001 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3002 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3003 done
3004 LIBOBJS=$ac_libobjs
3006 LTLIBOBJS=$ac_ltlibobjs
3010 : ${CONFIG_STATUS=./config.status}
3011 ac_clean_files_save=$ac_clean_files
3012 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3013 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3014 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3015 cat >$CONFIG_STATUS <<_ACEOF
3016 #! $SHELL
3017 # Generated by $as_me.
3018 # Run this file to recreate the current configuration.
3019 # Compiler output produced by configure, useful for debugging
3020 # configure, is in config.log if it exists.
3022 debug=false
3023 ac_cs_recheck=false
3024 ac_cs_silent=false
3025 SHELL=\${CONFIG_SHELL-$SHELL}
3026 _ACEOF
3028 cat >>$CONFIG_STATUS <<\_ACEOF
3029 ## --------------------- ##
3030 ## M4sh Initialization. ##
3031 ## --------------------- ##
3033 # Be more Bourne compatible
3034 DUALCASE=1; export DUALCASE # for MKS sh
3035 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3036 emulate sh
3037 NULLCMD=:
3038 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3039 # is contrary to our usage. Disable this feature.
3040 alias -g '${1+"$@"}'='"$@"'
3041 setopt NO_GLOB_SUBST
3042 else
3043 case `(set -o) 2>/dev/null` in
3044 *posix*) set -o posix ;;
3045 esac
3052 # PATH needs CR
3053 # Avoid depending upon Character Ranges.
3054 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3055 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3056 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3057 as_cr_digits='0123456789'
3058 as_cr_alnum=$as_cr_Letters$as_cr_digits
3060 as_nl='
3062 export as_nl
3063 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3064 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3065 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3066 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3067 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3068 as_echo='printf %s\n'
3069 as_echo_n='printf %s'
3070 else
3071 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3072 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3073 as_echo_n='/usr/ucb/echo -n'
3074 else
3075 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3076 as_echo_n_body='eval
3077 arg=$1;
3078 case $arg in
3079 *"$as_nl"*)
3080 expr "X$arg" : "X\\(.*\\)$as_nl";
3081 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3082 esac;
3083 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3085 export as_echo_n_body
3086 as_echo_n='sh -c $as_echo_n_body as_echo'
3088 export as_echo_body
3089 as_echo='sh -c $as_echo_body as_echo'
3092 # The user is always right.
3093 if test "${PATH_SEPARATOR+set}" != set; then
3094 PATH_SEPARATOR=:
3095 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3096 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3097 PATH_SEPARATOR=';'
3101 # Support unset when possible.
3102 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3103 as_unset=unset
3104 else
3105 as_unset=false
3109 # IFS
3110 # We need space, tab and new line, in precisely that order. Quoting is
3111 # there to prevent editors from complaining about space-tab.
3112 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3113 # splitting by setting IFS to empty value.)
3114 IFS=" "" $as_nl"
3116 # Find who we are. Look in the path if we contain no directory separator.
3117 case $0 in
3118 *[\\/]* ) as_myself=$0 ;;
3119 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120 for as_dir in $PATH
3122 IFS=$as_save_IFS
3123 test -z "$as_dir" && as_dir=.
3124 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3125 done
3126 IFS=$as_save_IFS
3129 esac
3130 # We did not find ourselves, most probably we were run as `sh COMMAND'
3131 # in which case we are not to be found in the path.
3132 if test "x$as_myself" = x; then
3133 as_myself=$0
3135 if test ! -f "$as_myself"; then
3136 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3137 { (exit 1); exit 1; }
3140 # Work around bugs in pre-3.0 UWIN ksh.
3141 for as_var in ENV MAIL MAILPATH
3142 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3143 done
3144 PS1='$ '
3145 PS2='> '
3146 PS4='+ '
3148 # NLS nuisances.
3149 for as_var in \
3150 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3151 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3152 LC_TELEPHONE LC_TIME
3154 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3155 eval $as_var=C; export $as_var
3156 else
3157 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3159 done
3161 # Required to use basename.
3162 if expr a : '\(a\)' >/dev/null 2>&1 &&
3163 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3164 as_expr=expr
3165 else
3166 as_expr=false
3169 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3170 as_basename=basename
3171 else
3172 as_basename=false
3176 # Name of the executable.
3177 as_me=`$as_basename -- "$0" ||
3178 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3179 X"$0" : 'X\(//\)$' \| \
3180 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3181 $as_echo X/"$0" |
3182 sed '/^.*\/\([^/][^/]*\)\/*$/{
3183 s//\1/
3186 /^X\/\(\/\/\)$/{
3187 s//\1/
3190 /^X\/\(\/\).*/{
3191 s//\1/
3194 s/.*/./; q'`
3196 # CDPATH.
3197 $as_unset CDPATH
3201 as_lineno_1=$LINENO
3202 as_lineno_2=$LINENO
3203 test "x$as_lineno_1" != "x$as_lineno_2" &&
3204 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3206 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3207 # uniformly replaced by the line number. The first 'sed' inserts a
3208 # line-number line after each line using $LINENO; the second 'sed'
3209 # does the real work. The second script uses 'N' to pair each
3210 # line-number line with the line containing $LINENO, and appends
3211 # trailing '-' during substitution so that $LINENO is not a special
3212 # case at line end.
3213 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3214 # scripts with optimization help from Paolo Bonzini. Blame Lee
3215 # E. McMahon (1931-1989) for sed's syntax. :-)
3216 sed -n '
3218 /[$]LINENO/=
3219 ' <$as_myself |
3220 sed '
3221 s/[$]LINENO.*/&-/
3222 t lineno
3224 :lineno
3226 :loop
3227 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3228 t loop
3229 s/-\n.*//
3230 ' >$as_me.lineno &&
3231 chmod +x "$as_me.lineno" ||
3232 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3233 { (exit 1); exit 1; }; }
3235 # Don't try to exec as it changes $[0], causing all sort of problems
3236 # (the dirname of $[0] is not the place where we might find the
3237 # original and so on. Autoconf is especially sensitive to this).
3238 . "./$as_me.lineno"
3239 # Exit status is that of the last command.
3240 exit
3244 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3245 as_dirname=dirname
3246 else
3247 as_dirname=false
3250 ECHO_C= ECHO_N= ECHO_T=
3251 case `echo -n x` in
3252 -n*)
3253 case `echo 'x\c'` in
3254 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3255 *) ECHO_C='\c';;
3256 esac;;
3258 ECHO_N='-n';;
3259 esac
3260 if expr a : '\(a\)' >/dev/null 2>&1 &&
3261 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3262 as_expr=expr
3263 else
3264 as_expr=false
3267 rm -f conf$$ conf$$.exe conf$$.file
3268 if test -d conf$$.dir; then
3269 rm -f conf$$.dir/conf$$.file
3270 else
3271 rm -f conf$$.dir
3272 mkdir conf$$.dir
3274 echo >conf$$.file
3275 if ln -s conf$$.file conf$$ 2>/dev/null; then
3276 as_ln_s='ln -s'
3277 # ... but there are two gotchas:
3278 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3279 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3280 # In both cases, we have to default to `cp -p'.
3281 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3282 as_ln_s='cp -p'
3283 elif ln conf$$.file conf$$ 2>/dev/null; then
3284 as_ln_s=ln
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" <<\CEOF
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 CEOF
3633 cat >>"\$tmp/subs1.awk" <<CEOF
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 CEOF
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