Regenerate.
[autoconf/tsuna.git] / configure
blob41d7563df4f451f86d17ff3385578941145757de
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 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 as_nl='
44 export as_nl
45 # Printing a 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 echo "#! /bin/sh" >conf$$.sh
77 echo "exit 0" >>conf$$.sh
78 chmod +x conf$$.sh
79 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
80 PATH_SEPARATOR=';'
81 else
82 PATH_SEPARATOR=:
84 rm -f conf$$.sh
87 # Support unset when possible.
88 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89 as_unset=unset
90 else
91 as_unset=false
95 # IFS
96 # We need space, tab and new line, in precisely that order. Quoting is
97 # there to prevent editors from complaining about space-tab.
98 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
99 # splitting by setting IFS to empty value.)
100 IFS=" "" $as_nl"
102 # Find who we are. Look in the path if we contain no directory separator.
103 case $0 in
104 *[\\/]* ) as_myself=$0 ;;
105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 for as_dir in $PATH
108 IFS=$as_save_IFS
109 test -z "$as_dir" && as_dir=.
110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
111 done
112 IFS=$as_save_IFS
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
121 if test ! -f "$as_myself"; then
122 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
123 { (exit 1); exit 1; }
126 # Work around bugs in pre-3.0 UWIN ksh.
127 for as_var in ENV MAIL MAILPATH
128 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
129 done
130 PS1='$ '
131 PS2='> '
132 PS4='+ '
134 # NLS nuisances.
135 for as_var in \
136 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
137 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
138 LC_TELEPHONE LC_TIME
140 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
141 eval $as_var=C; export $as_var
142 else
143 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
145 done
147 # Required to use basename.
148 if expr a : '\(a\)' >/dev/null 2>&1 &&
149 test "X`expr 00001 : '.*\(...\)'`" = X001; then
150 as_expr=expr
151 else
152 as_expr=false
155 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
156 as_basename=basename
157 else
158 as_basename=false
162 # Name of the executable.
163 as_me=`$as_basename -- "$0" ||
164 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
165 X"$0" : 'X\(//\)$' \| \
166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
167 $as_echo X/"$0" |
168 sed '/^.*\/\([^/][^/]*\)\/*$/{
169 s//\1/
172 /^X\/\(\/\/\)$/{
173 s//\1/
176 /^X\/\(\/\).*/{
177 s//\1/
180 s/.*/./; q'`
182 # CDPATH.
183 $as_unset CDPATH
186 if test "x$CONFIG_SHELL" = x; then
187 if (eval ":") 2>/dev/null; then
188 as_have_required=yes
189 else
190 as_have_required=no
193 if test $as_have_required = yes && (eval ":
194 (as_func_return () {
195 (exit \$1)
197 as_func_success () {
198 as_func_return 0
200 as_func_failure () {
201 as_func_return 1
203 as_func_ret_success () {
204 return 0
206 as_func_ret_failure () {
207 return 1
210 exitcode=0
211 if as_func_success; then
213 else
214 exitcode=1
215 echo as_func_success failed.
218 if as_func_failure; then
219 exitcode=1
220 echo as_func_failure succeeded.
223 if as_func_ret_success; then
225 else
226 exitcode=1
227 echo as_func_ret_success failed.
230 if as_func_ret_failure; then
231 exitcode=1
232 echo as_func_ret_failure succeeded.
235 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
237 else
238 exitcode=1
239 echo positional parameters were not saved.
242 test \$exitcode = 0) || { (exit 1); exit 1; }
245 as_lineno_1=\$LINENO
246 as_lineno_2=\$LINENO
247 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
248 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
249 ") 2> /dev/null; then
251 else
252 as_candidate_shells=
253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
254 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
256 IFS=$as_save_IFS
257 test -z "$as_dir" && as_dir=.
258 case $as_dir in
260 for as_base in sh bash ksh sh5; do
261 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
262 done;;
263 esac
264 done
265 IFS=$as_save_IFS
268 for as_shell in $as_candidate_shells $SHELL; do
269 # Try only shells that exist, to save several forks.
270 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
271 { ("$as_shell") 2> /dev/null <<\_ASEOF
272 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
273 emulate sh
274 NULLCMD=:
275 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
276 # is contrary to our usage. Disable this feature.
277 alias -g '${1+"$@"}'='"$@"'
278 setopt NO_GLOB_SUBST
279 else
280 case `(set -o) 2>/dev/null` in
281 *posix*) set -o posix ;;
282 esac
288 _ASEOF
289 }; then
290 CONFIG_SHELL=$as_shell
291 as_have_required=yes
292 if { "$as_shell" 2> /dev/null <<\_ASEOF
293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
294 emulate sh
295 NULLCMD=:
296 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
297 # is contrary to our usage. Disable this feature.
298 alias -g '${1+"$@"}'='"$@"'
299 setopt NO_GLOB_SUBST
300 else
301 case `(set -o) 2>/dev/null` in
302 *posix*) set -o posix ;;
303 esac
309 (as_func_return () {
310 (exit $1)
312 as_func_success () {
313 as_func_return 0
315 as_func_failure () {
316 as_func_return 1
318 as_func_ret_success () {
319 return 0
321 as_func_ret_failure () {
322 return 1
325 exitcode=0
326 if as_func_success; then
328 else
329 exitcode=1
330 echo as_func_success failed.
333 if as_func_failure; then
334 exitcode=1
335 echo as_func_failure succeeded.
338 if as_func_ret_success; then
340 else
341 exitcode=1
342 echo as_func_ret_success failed.
345 if as_func_ret_failure; then
346 exitcode=1
347 echo as_func_ret_failure succeeded.
350 if ( set x; as_func_ret_success y && test x = "$1" ); then
352 else
353 exitcode=1
354 echo positional parameters were not saved.
357 test $exitcode = 0) || { (exit 1); exit 1; }
360 as_lineno_1=$LINENO
361 as_lineno_2=$LINENO
362 test "x$as_lineno_1" != "x$as_lineno_2" &&
363 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
365 _ASEOF
366 }; then
367 break
372 done
374 if test "x$CONFIG_SHELL" != x; then
375 for as_var in BASH_ENV ENV
376 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
377 done
378 export CONFIG_SHELL
379 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
383 if test $as_have_required = no; then
384 echo This script requires a shell more modern than all the
385 echo shells that I found on your system. Please install a
386 echo modern shell, or manually run the script under such a
387 echo shell if you do have one.
388 { (exit 1); exit 1; }
398 (eval "as_func_return () {
399 (exit \$1)
401 as_func_success () {
402 as_func_return 0
404 as_func_failure () {
405 as_func_return 1
407 as_func_ret_success () {
408 return 0
410 as_func_ret_failure () {
411 return 1
414 exitcode=0
415 if as_func_success; then
417 else
418 exitcode=1
419 echo as_func_success failed.
422 if as_func_failure; then
423 exitcode=1
424 echo as_func_failure succeeded.
427 if as_func_ret_success; then
429 else
430 exitcode=1
431 echo as_func_ret_success failed.
434 if as_func_ret_failure; then
435 exitcode=1
436 echo as_func_ret_failure succeeded.
439 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
441 else
442 exitcode=1
443 echo positional parameters were not saved.
446 test \$exitcode = 0") || {
447 echo No shell found that supports shell functions.
448 echo Please tell autoconf@gnu.org about your system,
449 echo including any error possibly output before this
450 echo message
455 as_lineno_1=$LINENO
456 as_lineno_2=$LINENO
457 test "x$as_lineno_1" != "x$as_lineno_2" &&
458 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
460 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
461 # uniformly replaced by the line number. The first 'sed' inserts a
462 # line-number line after each line using $LINENO; the second 'sed'
463 # does the real work. The second script uses 'N' to pair each
464 # line-number line with the line containing $LINENO, and appends
465 # trailing '-' during substitution so that $LINENO is not a special
466 # case at line end.
467 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
468 # scripts with optimization help from Paolo Bonzini. Blame Lee
469 # E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
478 :lineno
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
487 { (exit 1); exit 1; }; }
489 # Don't try to exec as it changes $[0], causing all sort of problems
490 # (the dirname of $[0] is not the place where we might find the
491 # original and so on. Autoconf is especially sensitive to this).
492 . "./$as_me.lineno"
493 # Exit status is that of the last command.
494 exit
498 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
499 as_dirname=dirname
500 else
501 as_dirname=false
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in
506 -n*)
507 case `echo 'x\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) ECHO_C='\c';;
510 esac;;
512 ECHO_N='-n';;
513 esac
514 if expr a : '\(a\)' >/dev/null 2>&1 &&
515 test "X`expr 00001 : '.*\(...\)'`" = X001; then
516 as_expr=expr
517 else
518 as_expr=false
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir
528 echo >conf$$.file
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -p'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -p'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -p'
542 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
543 rmdir conf$$.dir 2>/dev/null
545 if mkdir -p . 2>/dev/null; then
546 as_mkdir_p=:
547 else
548 test -d ./-p && rmdir ./-p
549 as_mkdir_p=false
552 if test -x / >/dev/null 2>&1; then
553 as_test_x='test -x'
554 else
555 if ls -dL / >/dev/null 2>&1; then
556 as_ls_L_option=L
557 else
558 as_ls_L_option=
560 as_test_x='
561 eval sh -c '\''
562 if test -d "$1"; then
563 test -d "$1/.";
564 else
565 case $1 in
566 -*)set "./$1";;
567 esac;
568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
569 ???[sx]*):;;*)false;;esac;fi
570 '\'' sh
573 as_executable_p=$as_test_x
575 # Sed expression to map a string onto a valid CPP name.
576 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
578 # Sed expression to map a string onto a valid variable name.
579 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
583 exec 7<&0 </dev/null 6>&1
585 # Name of the host.
586 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
587 # so uname gets run too.
588 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
591 # Initializations.
593 ac_default_prefix=/usr/local
594 ac_clean_files=
595 ac_config_libobj_dir=.
596 LIBOBJS=
597 cross_compiling=no
598 subdirs=
599 MFLAGS=
600 MAKEFLAGS=
601 SHELL=${CONFIG_SHELL-/bin/sh}
603 # Identity of this package.
604 PACKAGE_NAME='GNU Autoconf'
605 PACKAGE_TARNAME='autoconf'
606 PACKAGE_VERSION='2.61b'
607 PACKAGE_STRING='GNU Autoconf 2.61b'
608 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
610 ac_unique_file="ChangeLog"
611 ac_subst_vars='SHELL
612 PATH_SEPARATOR
613 PACKAGE_NAME
614 PACKAGE_TARNAME
615 PACKAGE_VERSION
616 PACKAGE_STRING
617 PACKAGE_BUGREPORT
618 exec_prefix
619 prefix
620 program_transform_name
621 bindir
622 sbindir
623 libexecdir
624 datarootdir
625 datadir
626 sysconfdir
627 sharedstatedir
628 localstatedir
629 includedir
630 oldincludedir
631 docdir
632 infodir
633 htmldir
634 dvidir
635 pdfdir
636 psdir
637 libdir
638 localedir
639 mandir
640 DEFS
641 ECHO_C
642 ECHO_N
643 ECHO_T
644 LIBS
645 build_alias
646 host_alias
647 target_alias
648 INSTALL_PROGRAM
649 INSTALL_SCRIPT
650 INSTALL_DATA
651 am__isrc
652 CYGPATH_W
653 PACKAGE
654 VERSION
655 ACLOCAL
656 AUTOCONF
657 AUTOMAKE
658 AUTOHEADER
659 MAKEINFO
660 install_sh
661 STRIP
662 INSTALL_STRIP_PROGRAM
663 mkdir_p
665 SET_MAKE
666 am__leading_dot
667 AMTAR
668 am__tar
669 am__untar
670 ac_cv_sh_n_works
671 EXPR
673 M4_DEBUGFILE
674 HELP2MAN
675 PERL
676 TEST_EMACS
677 EMACS
678 EMACSLOADPATH
679 lispdir
680 GREP
681 EGREP
683 LIBOBJS
684 LTLIBOBJS'
685 ac_subst_files=''
686 ac_user_opts='
687 enable_option_checking
688 with_lispdir
690 ac_precious_vars='build_alias
691 host_alias
692 target_alias
693 EMACS
694 EMACSLOADPATH'
697 # Initialize some variables set by options.
698 ac_init_help=
699 ac_init_version=false
700 ac_unrecognized_opts=
701 ac_unrecognized_sep=
702 # The variables have the same names as the options, with
703 # dashes changed to underlines.
704 cache_file=/dev/null
705 exec_prefix=NONE
706 no_create=
707 no_recursion=
708 prefix=NONE
709 program_prefix=NONE
710 program_suffix=NONE
711 program_transform_name=s,x,x,
712 silent=
713 site=
714 srcdir=
715 verbose=
716 x_includes=NONE
717 x_libraries=NONE
719 # Installation directory options.
720 # These are left unexpanded so users can "make install exec_prefix=/foo"
721 # and all the variables that are supposed to be based on exec_prefix
722 # by default will actually change.
723 # Use braces instead of parens because sh, perl, etc. also accept them.
724 # (The list follows the same order as the GNU Coding Standards.)
725 bindir='${exec_prefix}/bin'
726 sbindir='${exec_prefix}/sbin'
727 libexecdir='${exec_prefix}/libexec'
728 datarootdir='${prefix}/share'
729 datadir='${datarootdir}'
730 sysconfdir='${prefix}/etc'
731 sharedstatedir='${prefix}/com'
732 localstatedir='${prefix}/var'
733 includedir='${prefix}/include'
734 oldincludedir='/usr/include'
735 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
736 infodir='${datarootdir}/info'
737 htmldir='${docdir}'
738 dvidir='${docdir}'
739 pdfdir='${docdir}'
740 psdir='${docdir}'
741 libdir='${exec_prefix}/lib'
742 localedir='${datarootdir}/locale'
743 mandir='${datarootdir}/man'
745 ac_prev=
746 ac_dashdash=
747 for ac_option
749 # If the previous option needs an argument, assign it.
750 if test -n "$ac_prev"; then
751 eval $ac_prev=\$ac_option
752 ac_prev=
753 continue
756 case $ac_option in
757 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758 *) ac_optarg=yes ;;
759 esac
761 # Accept the important Cygnus configure options, so we can diagnose typos.
763 case $ac_dashdash$ac_option in
765 ac_dashdash=yes ;;
767 -bindir | --bindir | --bindi | --bind | --bin | --bi)
768 ac_prev=bindir ;;
769 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
770 bindir=$ac_optarg ;;
772 -build | --build | --buil | --bui | --bu)
773 ac_prev=build_alias ;;
774 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
775 build_alias=$ac_optarg ;;
777 -cache-file | --cache-file | --cache-fil | --cache-fi \
778 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
779 ac_prev=cache_file ;;
780 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
781 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
782 cache_file=$ac_optarg ;;
784 --config-cache | -C)
785 cache_file=config.cache ;;
787 -datadir | --datadir | --datadi | --datad)
788 ac_prev=datadir ;;
789 -datadir=* | --datadir=* | --datadi=* | --datad=*)
790 datadir=$ac_optarg ;;
792 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
793 | --dataroo | --dataro | --datar)
794 ac_prev=datarootdir ;;
795 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
796 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
797 datarootdir=$ac_optarg ;;
799 -disable-* | --disable-*)
800 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
801 # Reject names that are not valid shell variable names.
802 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
804 { (exit 1); exit 1; }; }
805 ac_useropt_orig=$ac_useropt
806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
807 case $ac_user_opts in
809 "enable_$ac_useropt"
810 "*) ;;
811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
812 ac_unrecognized_sep=', ';;
813 esac
814 eval enable_$ac_useropt=no ;;
816 -docdir | --docdir | --docdi | --doc | --do)
817 ac_prev=docdir ;;
818 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
819 docdir=$ac_optarg ;;
821 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
822 ac_prev=dvidir ;;
823 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
824 dvidir=$ac_optarg ;;
826 -enable-* | --enable-*)
827 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
830 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
831 { (exit 1); exit 1; }; }
832 ac_useropt_orig=$ac_useropt
833 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
834 case $ac_user_opts in
836 "enable_$ac_useropt"
837 "*) ;;
838 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
839 ac_unrecognized_sep=', ';;
840 esac
841 eval enable_$ac_useropt=\$ac_optarg ;;
843 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
844 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
845 | --exec | --exe | --ex)
846 ac_prev=exec_prefix ;;
847 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
848 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
849 | --exec=* | --exe=* | --ex=*)
850 exec_prefix=$ac_optarg ;;
852 -gas | --gas | --ga | --g)
853 # Obsolete; use --with-gas.
854 with_gas=yes ;;
856 -help | --help | --hel | --he | -h)
857 ac_init_help=long ;;
858 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
859 ac_init_help=recursive ;;
860 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
861 ac_init_help=short ;;
863 -host | --host | --hos | --ho)
864 ac_prev=host_alias ;;
865 -host=* | --host=* | --hos=* | --ho=*)
866 host_alias=$ac_optarg ;;
868 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
869 ac_prev=htmldir ;;
870 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
871 | --ht=*)
872 htmldir=$ac_optarg ;;
874 -includedir | --includedir | --includedi | --included | --include \
875 | --includ | --inclu | --incl | --inc)
876 ac_prev=includedir ;;
877 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
878 | --includ=* | --inclu=* | --incl=* | --inc=*)
879 includedir=$ac_optarg ;;
881 -infodir | --infodir | --infodi | --infod | --info | --inf)
882 ac_prev=infodir ;;
883 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
884 infodir=$ac_optarg ;;
886 -libdir | --libdir | --libdi | --libd)
887 ac_prev=libdir ;;
888 -libdir=* | --libdir=* | --libdi=* | --libd=*)
889 libdir=$ac_optarg ;;
891 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
892 | --libexe | --libex | --libe)
893 ac_prev=libexecdir ;;
894 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
895 | --libexe=* | --libex=* | --libe=*)
896 libexecdir=$ac_optarg ;;
898 -localedir | --localedir | --localedi | --localed | --locale)
899 ac_prev=localedir ;;
900 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
901 localedir=$ac_optarg ;;
903 -localstatedir | --localstatedir | --localstatedi | --localstated \
904 | --localstate | --localstat | --localsta | --localst | --locals)
905 ac_prev=localstatedir ;;
906 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
907 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
908 localstatedir=$ac_optarg ;;
910 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
911 ac_prev=mandir ;;
912 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
913 mandir=$ac_optarg ;;
915 -nfp | --nfp | --nf)
916 # Obsolete; use --without-fp.
917 with_fp=no ;;
919 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
920 | --no-cr | --no-c | -n)
921 no_create=yes ;;
923 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
924 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
925 no_recursion=yes ;;
927 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
928 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
929 | --oldin | --oldi | --old | --ol | --o)
930 ac_prev=oldincludedir ;;
931 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
932 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
933 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
934 oldincludedir=$ac_optarg ;;
936 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
937 ac_prev=prefix ;;
938 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
939 prefix=$ac_optarg ;;
941 -program-prefix | --program-prefix | --program-prefi | --program-pref \
942 | --program-pre | --program-pr | --program-p)
943 ac_prev=program_prefix ;;
944 -program-prefix=* | --program-prefix=* | --program-prefi=* \
945 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
946 program_prefix=$ac_optarg ;;
948 -program-suffix | --program-suffix | --program-suffi | --program-suff \
949 | --program-suf | --program-su | --program-s)
950 ac_prev=program_suffix ;;
951 -program-suffix=* | --program-suffix=* | --program-suffi=* \
952 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
953 program_suffix=$ac_optarg ;;
955 -program-transform-name | --program-transform-name \
956 | --program-transform-nam | --program-transform-na \
957 | --program-transform-n | --program-transform- \
958 | --program-transform | --program-transfor \
959 | --program-transfo | --program-transf \
960 | --program-trans | --program-tran \
961 | --progr-tra | --program-tr | --program-t)
962 ac_prev=program_transform_name ;;
963 -program-transform-name=* | --program-transform-name=* \
964 | --program-transform-nam=* | --program-transform-na=* \
965 | --program-transform-n=* | --program-transform-=* \
966 | --program-transform=* | --program-transfor=* \
967 | --program-transfo=* | --program-transf=* \
968 | --program-trans=* | --program-tran=* \
969 | --progr-tra=* | --program-tr=* | --program-t=*)
970 program_transform_name=$ac_optarg ;;
972 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
973 ac_prev=pdfdir ;;
974 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
975 pdfdir=$ac_optarg ;;
977 -psdir | --psdir | --psdi | --psd | --ps)
978 ac_prev=psdir ;;
979 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
980 psdir=$ac_optarg ;;
982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
983 | -silent | --silent | --silen | --sile | --sil)
984 silent=yes ;;
986 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
987 ac_prev=sbindir ;;
988 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
989 | --sbi=* | --sb=*)
990 sbindir=$ac_optarg ;;
992 -sharedstatedir | --sharedstatedir | --sharedstatedi \
993 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
994 | --sharedst | --shareds | --shared | --share | --shar \
995 | --sha | --sh)
996 ac_prev=sharedstatedir ;;
997 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
998 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
999 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1000 | --sha=* | --sh=*)
1001 sharedstatedir=$ac_optarg ;;
1003 -site | --site | --sit)
1004 ac_prev=site ;;
1005 -site=* | --site=* | --sit=*)
1006 site=$ac_optarg ;;
1008 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1009 ac_prev=srcdir ;;
1010 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1011 srcdir=$ac_optarg ;;
1013 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1014 | --syscon | --sysco | --sysc | --sys | --sy)
1015 ac_prev=sysconfdir ;;
1016 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1017 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1018 sysconfdir=$ac_optarg ;;
1020 -target | --target | --targe | --targ | --tar | --ta | --t)
1021 ac_prev=target_alias ;;
1022 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1023 target_alias=$ac_optarg ;;
1025 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1026 verbose=yes ;;
1028 -version | --version | --versio | --versi | --vers | -V)
1029 ac_init_version=: ;;
1031 -with-* | --with-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1035 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1036 { (exit 1); exit 1; }; }
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1039 case $ac_user_opts in
1041 "with_$ac_useropt"
1042 "*) ;;
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1045 esac
1046 eval with_$ac_useropt=\$ac_optarg ;;
1048 -without-* | --without-*)
1049 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1052 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1053 { (exit 1); exit 1; }; }
1054 ac_useropt_orig=$ac_useropt
1055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-.]/_/g'`
1056 case $ac_user_opts in
1058 "with_$ac_useropt"
1059 "*) ;;
1060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1061 ac_unrecognized_sep=', ';;
1062 esac
1063 eval with_$ac_useropt=no ;;
1065 --x)
1066 # Obsolete; use --with-x.
1067 with_x=yes ;;
1069 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1070 | --x-incl | --x-inc | --x-in | --x-i)
1071 ac_prev=x_includes ;;
1072 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1073 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1074 x_includes=$ac_optarg ;;
1076 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1077 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1078 ac_prev=x_libraries ;;
1079 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1080 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1081 x_libraries=$ac_optarg ;;
1083 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1084 Try \`$0 --help' for more information." >&2
1085 { (exit 1); exit 1; }; }
1088 *=*)
1089 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1092 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1093 { (exit 1); exit 1; }; }
1094 eval $ac_envvar=\$ac_optarg
1095 export $ac_envvar ;;
1098 # FIXME: should be removed in autoconf 3.0.
1099 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1100 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1101 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1102 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1105 esac
1106 done
1108 if test -n "$ac_prev"; then
1109 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1110 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1111 { (exit 1); exit 1; }; }
1114 if test -n "$ac_unrecognized_opts"; then
1115 case $enable_option_checking in
1116 no) ;;
1117 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1118 { (exit 1); exit 1; }; } ;;
1119 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1120 esac
1123 # Be sure to have absolute directory names.
1124 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1125 datadir sysconfdir sharedstatedir localstatedir includedir \
1126 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1127 libdir localedir mandir
1129 eval ac_val=\$$ac_var
1130 case $ac_val in
1131 [\\/$]* | ?:[\\/]* ) continue;;
1132 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1133 esac
1134 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1135 { (exit 1); exit 1; }; }
1136 done
1138 # There might be people who depend on the old broken behavior: `$host'
1139 # used to hold the argument of --host etc.
1140 # FIXME: To remove some day.
1141 build=$build_alias
1142 host=$host_alias
1143 target=$target_alias
1145 # FIXME: To remove some day.
1146 if test "x$host_alias" != x; then
1147 if test "x$build_alias" = x; then
1148 cross_compiling=maybe
1149 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1150 If a cross compiler is detected then cross compile mode will be used." >&2
1151 elif test "x$build_alias" != "x$host_alias"; then
1152 cross_compiling=yes
1156 ac_tool_prefix=
1157 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1159 test "$silent" = yes && exec 6>/dev/null
1162 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1163 ac_ls_di=`ls -di .` &&
1164 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1165 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1166 { (exit 1); exit 1; }; }
1167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1168 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1169 { (exit 1); exit 1; }; }
1172 # Find the source files, if location was not specified.
1173 if test -z "$srcdir"; then
1174 ac_srcdir_defaulted=yes
1175 # Try the directory containing this script, then the parent directory.
1176 ac_confdir=`$as_dirname -- "$0" ||
1177 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1178 X"$0" : 'X\(//\)[^/]' \| \
1179 X"$0" : 'X\(//\)$' \| \
1180 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1181 $as_echo X"$0" |
1182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183 s//\1/
1186 /^X\(\/\/\)[^/].*/{
1187 s//\1/
1190 /^X\(\/\/\)$/{
1191 s//\1/
1194 /^X\(\/\).*/{
1195 s//\1/
1198 s/.*/./; q'`
1199 srcdir=$ac_confdir
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 srcdir=..
1203 else
1204 ac_srcdir_defaulted=no
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1207 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1208 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1209 { (exit 1); exit 1; }; }
1211 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1212 ac_abs_confdir=`(
1213 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1214 { (exit 1); exit 1; }; }
1215 pwd)`
1216 # When building in place, set srcdir=.
1217 if test "$ac_abs_confdir" = "$ac_pwd"; then
1218 srcdir=.
1220 # Remove unnecessary trailing slashes from srcdir.
1221 # Double slashes in file names in object file debugging info
1222 # mess up M-x gdb in Emacs.
1223 case $srcdir in
1224 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1225 esac
1226 for ac_var in $ac_precious_vars; do
1227 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1228 eval ac_env_${ac_var}_value=\$${ac_var}
1229 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1230 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1231 done
1234 # Report the --help message.
1236 if test "$ac_init_help" = "long"; then
1237 # Omit some internal or obsolete options to make the list less imposing.
1238 # This message is too long to be a string in the A/UX 3.1 sh.
1239 cat <<_ACEOF
1240 \`configure' configures GNU Autoconf 2.61b to adapt to many kinds of systems.
1242 Usage: $0 [OPTION]... [VAR=VALUE]...
1244 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1245 VAR=VALUE. See below for descriptions of some of the useful variables.
1247 Defaults for the options are specified in brackets.
1249 Configuration:
1250 -h, --help display this help and exit
1251 --help=short display options specific to this package
1252 --help=recursive display the short help of all the included packages
1253 -V, --version display version information and exit
1254 -q, --quiet, --silent do not print \`checking...' messages
1255 --cache-file=FILE cache test results in FILE [disabled]
1256 -C, --config-cache alias for \`--cache-file=config.cache'
1257 -n, --no-create do not create output files
1258 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1260 Installation directories:
1261 --prefix=PREFIX install architecture-independent files in PREFIX
1262 [$ac_default_prefix]
1263 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1264 [PREFIX]
1266 By default, \`make install' will install all the files in
1267 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1268 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1269 for instance \`--prefix=\$HOME'.
1271 For better control, use the options below.
1273 Fine tuning of the installation directories:
1274 --bindir=DIR user executables [EPREFIX/bin]
1275 --sbindir=DIR system admin executables [EPREFIX/sbin]
1276 --libexecdir=DIR program executables [EPREFIX/libexec]
1277 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1278 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1279 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1280 --libdir=DIR object code libraries [EPREFIX/lib]
1281 --includedir=DIR C header files [PREFIX/include]
1282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1283 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1284 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1285 --infodir=DIR info documentation [DATAROOTDIR/info]
1286 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1287 --mandir=DIR man documentation [DATAROOTDIR/man]
1288 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1289 --htmldir=DIR html documentation [DOCDIR]
1290 --dvidir=DIR dvi documentation [DOCDIR]
1291 --pdfdir=DIR pdf documentation [DOCDIR]
1292 --psdir=DIR ps documentation [DOCDIR]
1293 _ACEOF
1295 cat <<\_ACEOF
1297 Program names:
1298 --program-prefix=PREFIX prepend PREFIX to installed program names
1299 --program-suffix=SUFFIX append SUFFIX to installed program names
1300 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1301 _ACEOF
1304 if test -n "$ac_init_help"; then
1305 case $ac_init_help in
1306 short | recursive ) echo "Configuration of GNU Autoconf 2.61b:";;
1307 esac
1308 cat <<\_ACEOF
1310 Optional Packages:
1311 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1312 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1313 --with-lispdir override the default lisp directory
1315 Some influential environment variables:
1316 EMACS the Emacs editor command
1317 EMACSLOADPATH
1318 the Emacs library search path
1320 Use these variables to override the choices made by `configure' or to help
1321 it to find libraries and programs with nonstandard names/locations.
1323 Report bugs to <bug-autoconf@gnu.org>.
1324 _ACEOF
1325 ac_status=$?
1328 if test "$ac_init_help" = "recursive"; then
1329 # If there are subdirs, report their specific --help.
1330 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1331 test -d "$ac_dir" || continue
1332 ac_builddir=.
1334 case "$ac_dir" in
1335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
1338 # A ".." for each directory in $ac_dir_suffix.
1339 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1340 case $ac_top_builddir_sub in
1341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1343 esac ;;
1344 esac
1345 ac_abs_top_builddir=$ac_pwd
1346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1347 # for backward compatibility:
1348 ac_top_builddir=$ac_top_build_prefix
1350 case $srcdir in
1351 .) # We are building in place.
1352 ac_srcdir=.
1353 ac_top_srcdir=$ac_top_builddir_sub
1354 ac_abs_top_srcdir=$ac_pwd ;;
1355 [\\/]* | ?:[\\/]* ) # Absolute name.
1356 ac_srcdir=$srcdir$ac_dir_suffix;
1357 ac_top_srcdir=$srcdir
1358 ac_abs_top_srcdir=$srcdir ;;
1359 *) # Relative name.
1360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1361 ac_top_srcdir=$ac_top_build_prefix$srcdir
1362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1363 esac
1364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366 cd "$ac_dir" || { ac_status=$?; continue; }
1367 # Check for guested configure.
1368 if test -f "$ac_srcdir/configure.gnu"; then
1369 echo &&
1370 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1371 elif test -f "$ac_srcdir/configure"; then
1372 echo &&
1373 $SHELL "$ac_srcdir/configure" --help=recursive
1374 else
1375 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1376 fi || ac_status=$?
1377 cd "$ac_pwd" || { ac_status=$?; break; }
1378 done
1381 test -n "$ac_init_help" && exit $ac_status
1382 if $ac_init_version; then
1383 cat <<\_ACEOF
1384 GNU Autoconf configure 2.61b
1385 generated by GNU Autoconf 2.61b
1387 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1388 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1389 This configure script is free software; the Free Software Foundation
1390 gives unlimited permission to copy, distribute and modify it.
1391 _ACEOF
1392 exit
1394 cat >config.log <<_ACEOF
1395 This file contains any messages produced by compilers while
1396 running configure, to aid debugging if configure makes a mistake.
1398 It was created by GNU Autoconf $as_me 2.61b, which was
1399 generated by GNU Autoconf 2.61b. Invocation command line was
1401 $ $0 $@
1403 _ACEOF
1404 exec 5>>config.log
1406 cat <<_ASUNAME
1407 ## --------- ##
1408 ## Platform. ##
1409 ## --------- ##
1411 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1412 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1413 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1414 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1415 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1417 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1418 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1420 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1421 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1422 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1423 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1424 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1425 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1426 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1428 _ASUNAME
1430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1431 for as_dir in $PATH
1433 IFS=$as_save_IFS
1434 test -z "$as_dir" && as_dir=.
1435 $as_echo "PATH: $as_dir"
1436 done
1437 IFS=$as_save_IFS
1439 } >&5
1441 cat >&5 <<_ACEOF
1444 ## ----------- ##
1445 ## Core tests. ##
1446 ## ----------- ##
1448 _ACEOF
1451 # Keep a trace of the command line.
1452 # Strip out --no-create and --no-recursion so they do not pile up.
1453 # Strip out --silent because we don't want to record it for future runs.
1454 # Also quote any args containing shell meta-characters.
1455 # Make two passes to allow for proper duplicate-argument suppression.
1456 ac_configure_args=
1457 ac_configure_args0=
1458 ac_configure_args1=
1459 ac_must_keep_next=false
1460 for ac_pass in 1 2
1462 for ac_arg
1464 case $ac_arg in
1465 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1467 | -silent | --silent | --silen | --sile | --sil)
1468 continue ;;
1469 *\'*)
1470 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1471 esac
1472 case $ac_pass in
1473 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1475 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1476 if test $ac_must_keep_next = true; then
1477 ac_must_keep_next=false # Got value, back to normal.
1478 else
1479 case $ac_arg in
1480 *=* | --config-cache | -C | -disable-* | --disable-* \
1481 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1482 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1483 | -with-* | --with-* | -without-* | --without-* | --x)
1484 case "$ac_configure_args0 " in
1485 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1486 esac
1488 -* ) ac_must_keep_next=true ;;
1489 esac
1491 ac_configure_args="$ac_configure_args '$ac_arg'"
1493 esac
1494 done
1495 done
1496 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1497 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1499 # When interrupted or exit'd, cleanup temporary files, and complete
1500 # config.log. We remove comments because anyway the quotes in there
1501 # would cause problems or look ugly.
1502 # WARNING: Use '\'' to represent an apostrophe within the trap.
1503 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1504 trap 'exit_status=$?
1505 # Save into config.log some information that might help in debugging.
1507 echo
1509 cat <<\_ASBOX
1510 ## ---------------- ##
1511 ## Cache variables. ##
1512 ## ---------------- ##
1513 _ASBOX
1514 echo
1515 # The following way of writing the cache mishandles newlines in values,
1517 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1518 eval ac_val=\$$ac_var
1519 case $ac_val in #(
1520 *${as_nl}*)
1521 case $ac_var in #(
1522 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1523 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1524 esac
1525 case $ac_var in #(
1526 _ | IFS | as_nl) ;; #(
1527 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1528 *) $as_unset $ac_var ;;
1529 esac ;;
1530 esac
1531 done
1532 (set) 2>&1 |
1533 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1534 *${as_nl}ac_space=\ *)
1535 sed -n \
1536 "s/'\''/'\''\\\\'\'''\''/g;
1537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1538 ;; #(
1540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1542 esac |
1543 sort
1545 echo
1547 cat <<\_ASBOX
1548 ## ----------------- ##
1549 ## Output variables. ##
1550 ## ----------------- ##
1551 _ASBOX
1552 echo
1553 for ac_var in $ac_subst_vars
1555 eval ac_val=\$$ac_var
1556 case $ac_val in
1557 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558 esac
1559 $as_echo "$ac_var='\''$ac_val'\''"
1560 done | sort
1561 echo
1563 if test -n "$ac_subst_files"; then
1564 cat <<\_ASBOX
1565 ## ------------------- ##
1566 ## File substitutions. ##
1567 ## ------------------- ##
1568 _ASBOX
1569 echo
1570 for ac_var in $ac_subst_files
1572 eval ac_val=\$$ac_var
1573 case $ac_val in
1574 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575 esac
1576 $as_echo "$ac_var='\''$ac_val'\''"
1577 done | sort
1578 echo
1581 if test -s confdefs.h; then
1582 cat <<\_ASBOX
1583 ## ----------- ##
1584 ## confdefs.h. ##
1585 ## ----------- ##
1586 _ASBOX
1587 echo
1588 cat confdefs.h
1589 echo
1591 test "$ac_signal" != 0 &&
1592 $as_echo "$as_me: caught signal $ac_signal"
1593 $as_echo "$as_me: exit $exit_status"
1594 } >&5
1595 rm -f core *.core core.conftest.* &&
1596 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1597 exit $exit_status
1599 for ac_signal in 1 2 13 15; do
1600 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1601 done
1602 ac_signal=0
1604 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1605 rm -f -r conftest* confdefs.h
1607 # Predefined preprocessor variables.
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_NAME "$PACKAGE_NAME"
1611 _ACEOF
1614 cat >>confdefs.h <<_ACEOF
1615 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1616 _ACEOF
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1621 _ACEOF
1624 cat >>confdefs.h <<_ACEOF
1625 #define PACKAGE_STRING "$PACKAGE_STRING"
1626 _ACEOF
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1631 _ACEOF
1634 # Let the site file select an alternate cache file if it wants to.
1635 # Prefer explicitly selected file to automatically selected ones.
1636 if test -n "$CONFIG_SITE"; then
1637 set x "$CONFIG_SITE"
1638 elif test "x$prefix" != xNONE; then
1639 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1640 else
1641 set x "$ac_default_prefix/share/config.site" \
1642 "$ac_default_prefix/etc/config.site"
1644 shift
1645 for ac_site_file
1647 if test -r "$ac_site_file"; then
1648 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1649 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1650 sed 's/^/| /' "$ac_site_file" >&5
1651 . "$ac_site_file"
1653 done
1655 if test -r "$cache_file"; then
1656 # Some versions of bash will fail to source /dev/null (special
1657 # files actually), so we avoid doing that.
1658 if test -f "$cache_file"; then
1659 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1660 $as_echo "$as_me: loading cache $cache_file" >&6;}
1661 case $cache_file in
1662 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1663 *) . "./$cache_file";;
1664 esac
1666 else
1667 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1668 $as_echo "$as_me: creating cache $cache_file" >&6;}
1669 >$cache_file
1672 # Check that the precious variables saved in the cache have kept the same
1673 # value.
1674 ac_cache_corrupted=false
1675 for ac_var in $ac_precious_vars; do
1676 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1677 eval ac_new_set=\$ac_env_${ac_var}_set
1678 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1679 eval ac_new_val=\$ac_env_${ac_var}_value
1680 case $ac_old_set,$ac_new_set in
1681 set,)
1682 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1683 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1684 ac_cache_corrupted=: ;;
1685 ,set)
1686 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1687 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1688 ac_cache_corrupted=: ;;
1689 ,);;
1691 if test "x$ac_old_val" != "x$ac_new_val"; then
1692 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1693 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1694 { $as_echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1695 $as_echo "$as_me: former value: $ac_old_val" >&2;}
1696 { $as_echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1697 $as_echo "$as_me: current value: $ac_new_val" >&2;}
1698 ac_cache_corrupted=:
1699 fi;;
1700 esac
1701 # Pass precious variables to config.status.
1702 if test "$ac_new_set" = set; then
1703 case $ac_new_val in
1704 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1705 *) ac_arg=$ac_var=$ac_new_val ;;
1706 esac
1707 case " $ac_configure_args " in
1708 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1709 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1710 esac
1712 done
1713 if $ac_cache_corrupted; then
1714 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1715 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1716 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1717 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1718 { (exit 1); exit 1; }; }
1745 ac_ext=c
1746 ac_cpp='$CPP $CPPFLAGS'
1747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1754 ac_aux_dir=
1755 for ac_dir in build-aux "$srcdir"/build-aux; do
1756 if test -f "$ac_dir/install-sh"; then
1757 ac_aux_dir=$ac_dir
1758 ac_install_sh="$ac_aux_dir/install-sh -c"
1759 break
1760 elif test -f "$ac_dir/install.sh"; then
1761 ac_aux_dir=$ac_dir
1762 ac_install_sh="$ac_aux_dir/install.sh -c"
1763 break
1764 elif test -f "$ac_dir/shtool"; then
1765 ac_aux_dir=$ac_dir
1766 ac_install_sh="$ac_aux_dir/shtool install -c"
1767 break
1769 done
1770 if test -z "$ac_aux_dir"; then
1771 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1772 $as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1773 { (exit 1); exit 1; }; }
1776 # These three variables are undocumented and unsupported,
1777 # and are intended to be withdrawn in a future Autoconf release.
1778 # They can cause serious problems if a builder's source tree is in a directory
1779 # whose full name contains unusual characters.
1780 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1781 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1782 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1786 am__api_version='1.10'
1788 # Find a good install program. We prefer a C program (faster),
1789 # so one script is as good as another. But avoid the broken or
1790 # incompatible versions:
1791 # SysV /etc/install, /usr/sbin/install
1792 # SunOS /usr/etc/install
1793 # IRIX /sbin/install
1794 # AIX /bin/install
1795 # AmigaOS /C/install, which installs bootblocks on floppy discs
1796 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1797 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1798 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1799 # OS/2's system install, which has a completely different semantic
1800 # ./install, which can be erroneously created by make from ./install.sh.
1801 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1802 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1803 if test -z "$INSTALL"; then
1804 if test "${ac_cv_path_install+set}" = set; then
1805 $as_echo_n "(cached) " >&6
1806 else
1807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1808 for as_dir in $PATH
1810 IFS=$as_save_IFS
1811 test -z "$as_dir" && as_dir=.
1812 # Account for people who put trailing slashes in PATH elements.
1813 case $as_dir/ in
1814 ./ | .// | /cC/* | \
1815 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1816 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1817 /usr/ucb/* ) ;;
1819 # OSF1 and SCO ODT 3.0 have their own names for install.
1820 # Don't use installbsd from OSF since it installs stuff as root
1821 # by default.
1822 for ac_prog in ginstall scoinst install; do
1823 for ac_exec_ext in '' $ac_executable_extensions; do
1824 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1825 if test $ac_prog = install &&
1826 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1827 # AIX install. It has an incompatible calling convention.
1829 elif test $ac_prog = install &&
1830 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1831 # program-specific install script used by HP pwplus--don't use.
1833 else
1834 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1835 break 3
1838 done
1839 done
1841 esac
1842 done
1843 IFS=$as_save_IFS
1847 if test "${ac_cv_path_install+set}" = set; then
1848 INSTALL=$ac_cv_path_install
1849 else
1850 # As a last resort, use the slow shell script. Don't cache a
1851 # value for INSTALL within a source directory, because that will
1852 # break other packages using the cache if that directory is
1853 # removed, or if the value is a relative name.
1854 INSTALL=$ac_install_sh
1857 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1858 $as_echo "$INSTALL" >&6; }
1860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1861 # It thinks the first close brace ends the variable substitution.
1862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1868 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1869 $as_echo_n "checking whether build environment is sane... " >&6; }
1870 # Just in case
1871 sleep 1
1872 echo timestamp > conftest.file
1873 # Do `set' in a subshell so we don't clobber the current shell's
1874 # arguments. Must try -L first in case configure is actually a
1875 # symlink; some systems play weird games with the mod time of symlinks
1876 # (eg FreeBSD returns the mod time of the symlink's containing
1877 # directory).
1878 if (
1879 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1880 if test "$*" = "X"; then
1881 # -L didn't work.
1882 set X `ls -t $srcdir/configure conftest.file`
1884 rm -f conftest.file
1885 if test "$*" != "X $srcdir/configure conftest.file" \
1886 && test "$*" != "X conftest.file $srcdir/configure"; then
1888 # If neither matched, then we have a broken ls. This can happen
1889 # if, for instance, CONFIG_SHELL is bash and it inherits a
1890 # broken ls alias from the environment. This has actually
1891 # happened. Such a system could not be considered "sane".
1892 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1893 alias in your environment" >&5
1894 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1895 alias in your environment" >&2;}
1896 { (exit 1); exit 1; }; }
1899 test "$2" = conftest.file
1901 then
1902 # Ok.
1904 else
1905 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1906 Check your system clock" >&5
1907 $as_echo "$as_me: error: newly created file is older than distributed files!
1908 Check your system clock" >&2;}
1909 { (exit 1); exit 1; }; }
1911 { $as_echo "$as_me:$LINENO: result: yes" >&5
1912 $as_echo "yes" >&6; }
1913 test "$program_prefix" != NONE &&
1914 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1915 # Use a double $ so make ignores it.
1916 test "$program_suffix" != NONE &&
1917 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1918 # Double any \ or $.
1919 # By default was `s,x,x', remove it if useless.
1920 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1921 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1923 # expand $ac_aux_dir to an absolute path
1924 am_aux_dir=`cd $ac_aux_dir && pwd`
1926 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1927 # Use eval to expand $SHELL
1928 if eval "$MISSING --run true"; then
1929 am_missing_run="$MISSING --run "
1930 else
1931 am_missing_run=
1932 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1933 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1936 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1937 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1938 if test -z "$MKDIR_P"; then
1939 if test "${ac_cv_path_mkdir+set}" = set; then
1940 $as_echo_n "(cached) " >&6
1941 else
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1945 IFS=$as_save_IFS
1946 test -z "$as_dir" && as_dir=.
1947 for ac_prog in mkdir gmkdir; do
1948 for ac_exec_ext in '' $ac_executable_extensions; do
1949 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1950 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1951 'mkdir (GNU coreutils) '* | \
1952 'mkdir (coreutils) '* | \
1953 'mkdir (fileutils) '4.1*)
1954 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1955 break 3;;
1956 esac
1957 done
1958 done
1959 done
1960 IFS=$as_save_IFS
1964 if test "${ac_cv_path_mkdir+set}" = set; then
1965 MKDIR_P="$ac_cv_path_mkdir -p"
1966 else
1967 # As a last resort, use the slow shell script. Don't cache a
1968 # value for MKDIR_P within a source directory, because that will
1969 # break other packages using the cache if that directory is
1970 # removed, or if the value is a relative name.
1971 test -d ./--version && rmdir ./--version
1972 MKDIR_P="$ac_install_sh -d"
1975 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1976 $as_echo "$MKDIR_P" >&6; }
1978 mkdir_p="$MKDIR_P"
1979 case $mkdir_p in
1980 [\\/$]* | ?:[\\/]*) ;;
1981 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1982 esac
1984 for ac_prog in gawk mawk nawk awk
1986 # Extract the first word of "$ac_prog", so it can be a program name with args.
1987 set dummy $ac_prog; ac_word=$2
1988 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1989 $as_echo_n "checking for $ac_word... " >&6; }
1990 if test "${ac_cv_prog_AWK+set}" = set; then
1991 $as_echo_n "(cached) " >&6
1992 else
1993 if test -n "$AWK"; then
1994 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1995 else
1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 for as_dir in $PATH
1999 IFS=$as_save_IFS
2000 test -z "$as_dir" && as_dir=.
2001 for ac_exec_ext in '' $ac_executable_extensions; do
2002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2003 ac_cv_prog_AWK="$ac_prog"
2004 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2005 break 2
2007 done
2008 done
2009 IFS=$as_save_IFS
2013 AWK=$ac_cv_prog_AWK
2014 if test -n "$AWK"; then
2015 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2016 $as_echo "$AWK" >&6; }
2017 else
2018 { $as_echo "$as_me:$LINENO: result: no" >&5
2019 $as_echo "no" >&6; }
2023 test -n "$AWK" && break
2024 done
2026 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2027 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2028 set x ${MAKE-make}
2029 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2030 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2031 $as_echo_n "(cached) " >&6
2032 else
2033 cat >conftest.make <<\_ACEOF
2034 SHELL = /bin/sh
2035 all:
2036 @echo '@@@%%%=$(MAKE)=@@@%%%'
2037 _ACEOF
2038 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2039 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2040 *@@@%%%=?*=@@@%%%*)
2041 eval ac_cv_prog_make_${ac_make}_set=yes;;
2043 eval ac_cv_prog_make_${ac_make}_set=no;;
2044 esac
2045 rm -f conftest.make
2047 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2048 { $as_echo "$as_me:$LINENO: result: yes" >&5
2049 $as_echo "yes" >&6; }
2050 SET_MAKE=
2051 else
2052 { $as_echo "$as_me:$LINENO: result: no" >&5
2053 $as_echo "no" >&6; }
2054 SET_MAKE="MAKE=${MAKE-make}"
2057 rm -rf .tst 2>/dev/null
2058 mkdir .tst 2>/dev/null
2059 if test -d .tst; then
2060 am__leading_dot=.
2061 else
2062 am__leading_dot=_
2064 rmdir .tst 2>/dev/null
2066 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2067 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2068 # is not polluted with repeated "-I."
2069 am__isrc=' -I$(srcdir)'
2070 # test to see if srcdir already configured
2071 if test -f $srcdir/config.status; then
2072 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2073 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2074 { (exit 1); exit 1; }; }
2078 # test whether we have cygpath
2079 if test -z "$CYGPATH_W"; then
2080 if (cygpath --version) >/dev/null 2>/dev/null; then
2081 CYGPATH_W='cygpath -w'
2082 else
2083 CYGPATH_W=echo
2088 # Define the identity of the package.
2089 PACKAGE='autoconf'
2090 VERSION='2.61b'
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE "$PACKAGE"
2095 _ACEOF
2098 cat >>confdefs.h <<_ACEOF
2099 #define VERSION "$VERSION"
2100 _ACEOF
2102 # Some tools Automake needs.
2104 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2107 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2110 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2113 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2116 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2118 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2120 # Installed binaries are usually stripped using `strip' when the user
2121 # run `make install-strip'. However `strip' might not be the right
2122 # tool to use in cross-compilation environments, therefore Automake
2123 # will honor the `STRIP' environment variable to overrule this program.
2124 if test "$cross_compiling" != no; then
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2127 set dummy ${ac_tool_prefix}strip; ac_word=$2
2128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 $as_echo_n "checking for $ac_word... " >&6; }
2130 if test "${ac_cv_prog_STRIP+set}" = set; then
2131 $as_echo_n "(cached) " >&6
2132 else
2133 if test -n "$STRIP"; then
2134 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2135 else
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2144 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 break 2
2147 done
2148 done
2149 IFS=$as_save_IFS
2153 STRIP=$ac_cv_prog_STRIP
2154 if test -n "$STRIP"; then
2155 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2156 $as_echo "$STRIP" >&6; }
2157 else
2158 { $as_echo "$as_me:$LINENO: result: no" >&5
2159 $as_echo "no" >&6; }
2164 if test -z "$ac_cv_prog_STRIP"; then
2165 ac_ct_STRIP=$STRIP
2166 # Extract the first word of "strip", so it can be a program name with args.
2167 set dummy strip; ac_word=$2
2168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 $as_echo_n "checking for $ac_word... " >&6; }
2170 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2171 $as_echo_n "(cached) " >&6
2172 else
2173 if test -n "$ac_ct_STRIP"; then
2174 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2175 else
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 for as_dir in $PATH
2179 IFS=$as_save_IFS
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 ac_cv_prog_ac_ct_STRIP="strip"
2184 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2185 break 2
2187 done
2188 done
2189 IFS=$as_save_IFS
2193 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2194 if test -n "$ac_ct_STRIP"; then
2195 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2196 $as_echo "$ac_ct_STRIP" >&6; }
2197 else
2198 { $as_echo "$as_me:$LINENO: result: no" >&5
2199 $as_echo "no" >&6; }
2202 if test "x$ac_ct_STRIP" = x; then
2203 STRIP=":"
2204 else
2205 case $cross_compiling:$ac_tool_warned in
2206 yes:)
2207 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2208 whose name does not start with the host triplet. If you think this
2209 configuration is useful to you, please write to autoconf@gnu.org." >&5
2210 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2211 whose name does not start with the host triplet. If you think this
2212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2213 ac_tool_warned=yes ;;
2214 esac
2215 STRIP=$ac_ct_STRIP
2217 else
2218 STRIP="$ac_cv_prog_STRIP"
2222 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2224 # We need awk for the "check" target. The system "awk" is bad on
2225 # some platforms.
2226 # Always define AMTAR for backward compatibility.
2228 AMTAR=${AMTAR-"${am_missing_run}tar"}
2230 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2237 # We use `/bin/sh -n script' to check that there are no syntax errors
2238 # in the scripts. Although incredible, there are /bin/sh that go into
2239 # endless loops with `-n', e.g., SunOS's:
2241 # $ uname -a
2242 # SunOS ondine 4.1.3 2 sun4m unknown
2243 # $ cat endless.sh
2244 # while false
2245 # do
2247 # done
2248 # exit 0
2249 # $ time sh endless.sh
2250 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2251 # $ time sh -nx endless.sh
2252 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2254 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2255 # that they are unusable on large scripts like our testsuite.
2257 # So before using `/bin/sh -n' to check our scripts, we first check
2258 # that `/bin/sh -n' is known to not have these problems.
2260 { $as_echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2261 $as_echo_n "checking whether /bin/sh -n is known to work... " >&6; }
2262 if test "${ac_cv_sh_n_works+set}" = set; then
2263 $as_echo_n "(cached) " >&6
2264 else
2265 if (
2266 unset BASH_VERSION ZSH_VERSION
2267 /bin/sh -c '
2268 test -n "${BASH_VERSION+set}" || # Bash
2269 test -n "${KSH_VERSION+set}" || # pdksh
2270 test -n "${ZSH_VERSION+set}" || # zsh
2271 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2273 ) 2>/dev/null
2274 then ac_cv_sh_n_works=yes
2275 else ac_cv_sh_n_works=no
2279 { $as_echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2280 $as_echo "$ac_cv_sh_n_works" >&6; }
2283 # Initialize the test suite.
2284 ac_config_commands="$ac_config_commands tests/atconfig"
2287 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2289 # Extract the first word of "expr", so it can be a program name with args.
2290 set dummy expr; ac_word=$2
2291 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 $as_echo_n "checking for $ac_word... " >&6; }
2293 if test "${ac_cv_path_EXPR+set}" = set; then
2294 $as_echo_n "(cached) " >&6
2295 else
2296 case $EXPR in
2297 [\\/]* | ?:[\\/]*)
2298 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 for as_dir in $PATH
2304 IFS=$as_save_IFS
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2308 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2309 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 break 2
2312 done
2313 done
2314 IFS=$as_save_IFS
2317 esac
2319 EXPR=$ac_cv_path_EXPR
2320 if test -n "$EXPR"; then
2321 { $as_echo "$as_me:$LINENO: result: $EXPR" >&5
2322 $as_echo "$EXPR" >&6; }
2323 else
2324 { $as_echo "$as_me:$LINENO: result: no" >&5
2325 $as_echo "no" >&6; }
2331 ## ---- ##
2332 ## M4. ##
2333 ## ---- ##
2335 # We use an absolute name for GNU m4 so even if users have another m4 first in
2336 # their path, the installer can configure with a path that has GNU m4
2337 # first and get that path embedded in the installed autoconf and
2338 # autoheader scripts.
2339 for ac_prog in gm4 gnum4 m4
2341 # Extract the first word of "$ac_prog", so it can be a program name with args.
2342 set dummy $ac_prog; ac_word=$2
2343 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if test "${ac_cv_path_M4+set}" = set; then
2346 $as_echo_n "(cached) " >&6
2347 else
2348 case $M4 in
2349 [\\/]* | ?:[\\/]*)
2350 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354 for as_dir in $PATH
2356 IFS=$as_save_IFS
2357 test -z "$as_dir" && as_dir=.
2358 for ac_exec_ext in '' $ac_executable_extensions; do
2359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2361 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 break 2
2364 done
2365 done
2366 IFS=$as_save_IFS
2369 esac
2371 M4=$ac_cv_path_M4
2372 if test -n "$M4"; then
2373 { $as_echo "$as_me:$LINENO: result: $M4" >&5
2374 $as_echo "$M4" >&6; }
2375 else
2376 { $as_echo "$as_me:$LINENO: result: no" >&5
2377 $as_echo "no" >&6; }
2381 test -n "$M4" && break
2382 done
2383 test -n "$M4" || M4="m4"
2385 { $as_echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2386 $as_echo_n "checking whether m4 supports frozen files... " >&6; }
2387 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2388 $as_echo_n "(cached) " >&6
2389 else
2390 ac_cv_prog_gnu_m4=no
2391 if test x"$M4" != x; then
2392 case `$M4 --help < /dev/null 2>&1` in
2393 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2394 esac
2397 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2398 $as_echo "$ac_cv_prog_gnu_m4" >&6; }
2399 if test $ac_cv_prog_gnu_m4 = yes ; then
2400 { $as_echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2401 $as_echo_n "checking how m4 supports trace files... " >&6; }
2402 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2403 $as_echo_n "(cached) " >&6
2404 else
2405 case `$M4 --help < /dev/null 2>&1` in
2406 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2407 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2408 esac
2410 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2411 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2412 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2416 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2417 { { $as_echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2418 $as_echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2419 { (exit 1); exit 1; }; }
2422 ## ----------- ##
2423 ## Man pages. ##
2424 ## ----------- ##
2426 ac_config_files="$ac_config_files man/Makefile"
2429 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2433 ## ------ ##
2434 ## Perl. ##
2435 ## ------ ##
2437 # We use an absolute name for perl so the #! line in autoscan will work.
2438 # Extract the first word of "perl", so it can be a program name with args.
2439 set dummy perl; ac_word=$2
2440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 $as_echo_n "checking for $ac_word... " >&6; }
2442 if test "${ac_cv_path_PERL+set}" = set; then
2443 $as_echo_n "(cached) " >&6
2444 else
2445 case $PERL in
2446 [\\/]* | ?:[\\/]*)
2447 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH
2453 IFS=$as_save_IFS
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2458 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 break 2
2461 done
2462 done
2463 IFS=$as_save_IFS
2465 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2467 esac
2469 PERL=$ac_cv_path_PERL
2470 if test -n "$PERL"; then
2471 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
2472 $as_echo "$PERL" >&6; }
2473 else
2474 { $as_echo "$as_me:$LINENO: result: no" >&5
2475 $as_echo "no" >&6; }
2479 if test "$PERL" = no; then
2480 { { $as_echo "$as_me:$LINENO: error: perl is not found" >&5
2481 $as_echo "$as_me: error: perl is not found" >&2;}
2482 { (exit 1); exit 1; }; }
2484 $PERL -e 'require 5.005_03;' || {
2485 { { $as_echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2486 $as_echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2487 { (exit 1); exit 1; }; }
2491 ## ------- ##
2492 ## Emacs. ##
2493 ## ------- ##
2495 ac_config_files="$ac_config_files lib/emacs/Makefile"
2497 TEST_EMACS=$EMACS
2498 test x"$TEST_EMACS" = xt && TEST_EMACS=
2499 for ac_prog in emacs xemacs
2501 # Extract the first word of "$ac_prog", so it can be a program name with args.
2502 set dummy $ac_prog; ac_word=$2
2503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2506 $as_echo_n "(cached) " >&6
2507 else
2508 if test -n "$TEST_EMACS"; then
2509 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2510 else
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 for as_dir in $PATH
2514 IFS=$as_save_IFS
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2518 ac_cv_prog_TEST_EMACS="$ac_prog"
2519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 break 2
2522 done
2523 done
2524 IFS=$as_save_IFS
2528 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2529 if test -n "$TEST_EMACS"; then
2530 { $as_echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2531 $as_echo "$TEST_EMACS" >&6; }
2532 else
2533 { $as_echo "$as_me:$LINENO: result: no" >&5
2534 $as_echo "no" >&6; }
2538 test -n "$TEST_EMACS" && break
2539 done
2540 test -n "$TEST_EMACS" || TEST_EMACS="no"
2543 # autoconf-mode.el and autotest-mode.el do not work with older version of
2544 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2545 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2546 # We detect this problem here.
2547 if test "$TEST_EMACS" != no; then
2548 { $as_echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2549 $as_echo_n "checking whether $TEST_EMACS is sufficiently recent... " >&6; }
2550 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2551 $as_echo_n "(cached) " >&6
2552 else
2553 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2554 cat >conftest.el << "EOF"
2555 (defvar broken)
2556 (defun broken-mode () (setq broken-defaults `(broken nil)))
2558 if { ($as_echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2559 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2560 ac_status=$?
2561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; then
2563 ac_cv_prog_emacs_ok=yes
2564 else
2565 ac_cv_prog_emacs_ok=no
2568 rm -f conftest.el conftest.elc
2570 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2571 $as_echo "$ac_cv_prog_emacs_ok" >&6; }
2572 if test $ac_cv_prog_emacs_ok = no; then
2573 TEST_EMACS=no
2579 EMACS=$TEST_EMACS
2582 # If set to t, that means we are running in a shell under Emacs.
2583 # If you have an Emacs named "t", then use the full path.
2584 test x"$EMACS" = xt && EMACS=
2585 for ac_prog in emacs xemacs
2587 # Extract the first word of "$ac_prog", so it can be a program name with args.
2588 set dummy $ac_prog; ac_word=$2
2589 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2590 $as_echo_n "checking for $ac_word... " >&6; }
2591 if test "${ac_cv_prog_EMACS+set}" = set; then
2592 $as_echo_n "(cached) " >&6
2593 else
2594 if test -n "$EMACS"; then
2595 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2596 else
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 for as_dir in $PATH
2600 IFS=$as_save_IFS
2601 test -z "$as_dir" && as_dir=.
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604 ac_cv_prog_EMACS="$ac_prog"
2605 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 break 2
2608 done
2609 done
2610 IFS=$as_save_IFS
2614 EMACS=$ac_cv_prog_EMACS
2615 if test -n "$EMACS"; then
2616 { $as_echo "$as_me:$LINENO: result: $EMACS" >&5
2617 $as_echo "$EMACS" >&6; }
2618 else
2619 { $as_echo "$as_me:$LINENO: result: no" >&5
2620 $as_echo "no" >&6; }
2624 test -n "$EMACS" && break
2625 done
2626 test -n "$EMACS" || EMACS="no"
2631 # Check whether --with-lispdir was given.
2632 if test "${with_lispdir+set}" = set; then
2633 withval=$with_lispdir; lispdir="$withval"
2634 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2635 $as_echo_n "checking where .elc files should go... " >&6; }
2636 { $as_echo "$as_me:$LINENO: result: $lispdir" >&5
2637 $as_echo "$lispdir" >&6; }
2638 else
2640 { $as_echo "$as_me:$LINENO: checking where .elc files should go" >&5
2641 $as_echo_n "checking where .elc files should go... " >&6; }
2642 if test "${am_cv_lispdir+set}" = set; then
2643 $as_echo_n "(cached) " >&6
2644 else
2646 if test $EMACS != "no"; then
2647 if test x${lispdir+set} != xset; then
2648 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2649 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2650 # which is non-obvious for non-emacs users.
2651 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2652 # emacsen earlier and avoid running this altogether.
2653 { ($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
2654 ($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
2655 ac_status=$?
2656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }
2658 am_cv_lispdir=`sed -n \
2659 -e 's,/$,,' \
2660 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2661 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2662 conftest.out`
2663 rm conftest.out
2666 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2669 { $as_echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2670 $as_echo "$am_cv_lispdir" >&6; }
2671 lispdir="$am_cv_lispdir"
2679 ## ------------ ##
2680 ## Grep & sed. ##
2681 ## ------------ ##
2682 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2683 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2684 if test "${ac_cv_path_GREP+set}" = set; then
2685 $as_echo_n "(cached) " >&6
2686 else
2687 # Extract the first word of "grep ggrep" to use in msg output
2688 if test -z "$GREP"; then
2689 set dummy grep ggrep; ac_prog_name=$2
2690 if test "${ac_cv_path_GREP+set}" = set; then
2691 $as_echo_n "(cached) " >&6
2692 else
2693 ac_path_GREP_found=false
2694 # Loop through the user's path and test for each of PROGNAME-LIST
2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2698 IFS=$as_save_IFS
2699 test -z "$as_dir" && as_dir=.
2700 for ac_prog in grep ggrep; do
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2703 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2704 # Check for GNU ac_path_GREP and select it if it is found.
2705 # Check for GNU $ac_path_GREP
2706 case `"$ac_path_GREP" --version 2>&1` in
2707 *GNU*)
2708 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2710 ac_count=0
2711 $as_echo_n 0123456789 >"conftest.in"
2712 while :
2714 cat "conftest.in" "conftest.in" >"conftest.tmp"
2715 mv "conftest.tmp" "conftest.in"
2716 cp "conftest.in" "conftest.nl"
2717 $as_echo 'GREP' >> "conftest.nl"
2718 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2719 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2720 ac_count=`expr $ac_count + 1`
2721 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2722 # Best one so far, save it but keep looking for a better one
2723 ac_cv_path_GREP="$ac_path_GREP"
2724 ac_path_GREP_max=$ac_count
2726 # 10*(2^10) chars as input seems more than enough
2727 test $ac_count -gt 10 && break
2728 done
2729 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2730 esac
2733 $ac_path_GREP_found && break 3
2734 done
2735 done
2737 done
2738 IFS=$as_save_IFS
2743 GREP="$ac_cv_path_GREP"
2744 if test -z "$GREP"; then
2745 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2746 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2747 { (exit 1); exit 1; }; }
2750 else
2751 ac_cv_path_GREP=$GREP
2756 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2757 $as_echo "$ac_cv_path_GREP" >&6; }
2758 GREP="$ac_cv_path_GREP"
2761 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
2762 $as_echo_n "checking for egrep... " >&6; }
2763 if test "${ac_cv_path_EGREP+set}" = set; then
2764 $as_echo_n "(cached) " >&6
2765 else
2766 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2767 then ac_cv_path_EGREP="$GREP -E"
2768 else
2769 # Extract the first word of "egrep" to use in msg output
2770 if test -z "$EGREP"; then
2771 set dummy egrep; ac_prog_name=$2
2772 if test "${ac_cv_path_EGREP+set}" = set; then
2773 $as_echo_n "(cached) " >&6
2774 else
2775 ac_path_EGREP_found=false
2776 # Loop through the user's path and test for each of PROGNAME-LIST
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2780 IFS=$as_save_IFS
2781 test -z "$as_dir" && as_dir=.
2782 for ac_prog in egrep; do
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2785 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2786 # Check for GNU ac_path_EGREP and select it if it is found.
2787 # Check for GNU $ac_path_EGREP
2788 case `"$ac_path_EGREP" --version 2>&1` in
2789 *GNU*)
2790 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2792 ac_count=0
2793 $as_echo_n 0123456789 >"conftest.in"
2794 while :
2796 cat "conftest.in" "conftest.in" >"conftest.tmp"
2797 mv "conftest.tmp" "conftest.in"
2798 cp "conftest.in" "conftest.nl"
2799 $as_echo 'EGREP' >> "conftest.nl"
2800 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2801 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2802 ac_count=`expr $ac_count + 1`
2803 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2804 # Best one so far, save it but keep looking for a better one
2805 ac_cv_path_EGREP="$ac_path_EGREP"
2806 ac_path_EGREP_max=$ac_count
2808 # 10*(2^10) chars as input seems more than enough
2809 test $ac_count -gt 10 && break
2810 done
2811 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2812 esac
2815 $ac_path_EGREP_found && break 3
2816 done
2817 done
2819 done
2820 IFS=$as_save_IFS
2825 EGREP="$ac_cv_path_EGREP"
2826 if test -z "$EGREP"; then
2827 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2828 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2829 { (exit 1); exit 1; }; }
2832 else
2833 ac_cv_path_EGREP=$EGREP
2839 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2840 $as_echo "$ac_cv_path_EGREP" >&6; }
2841 EGREP="$ac_cv_path_EGREP"
2844 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2845 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2846 if test "${ac_cv_path_SED+set}" = set; then
2847 $as_echo_n "(cached) " >&6
2848 else
2849 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2850 for ac_i in 1 2 3 4 5 6 7; do
2851 ac_script="$ac_script$as_nl$ac_script"
2852 done
2853 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2854 $as_unset ac_script || ac_script=
2855 # Extract the first word of "sed gsed" to use in msg output
2856 if test -z "$SED"; then
2857 set dummy sed gsed; ac_prog_name=$2
2858 if test "${ac_cv_path_SED+set}" = set; then
2859 $as_echo_n "(cached) " >&6
2860 else
2861 ac_path_SED_found=false
2862 # Loop through the user's path and test for each of PROGNAME-LIST
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 for as_dir in $PATH
2866 IFS=$as_save_IFS
2867 test -z "$as_dir" && as_dir=.
2868 for ac_prog in sed gsed; do
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2871 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2872 # Check for GNU ac_path_SED and select it if it is found.
2873 # Check for GNU $ac_path_SED
2874 case `"$ac_path_SED" --version 2>&1` in
2875 *GNU*)
2876 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2878 ac_count=0
2879 $as_echo_n 0123456789 >"conftest.in"
2880 while :
2882 cat "conftest.in" "conftest.in" >"conftest.tmp"
2883 mv "conftest.tmp" "conftest.in"
2884 cp "conftest.in" "conftest.nl"
2885 $as_echo '' >> "conftest.nl"
2886 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2887 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2888 ac_count=`expr $ac_count + 1`
2889 if test $ac_count -gt ${ac_path_SED_max-0}; then
2890 # Best one so far, save it but keep looking for a better one
2891 ac_cv_path_SED="$ac_path_SED"
2892 ac_path_SED_max=$ac_count
2894 # 10*(2^10) chars as input seems more than enough
2895 test $ac_count -gt 10 && break
2896 done
2897 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2898 esac
2901 $ac_path_SED_found && break 3
2902 done
2903 done
2905 done
2906 IFS=$as_save_IFS
2911 SED="$ac_cv_path_SED"
2912 if test -z "$SED"; then
2913 { { $as_echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2914 $as_echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2915 { (exit 1); exit 1; }; }
2918 else
2919 ac_cv_path_SED=$SED
2923 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2924 $as_echo "$ac_cv_path_SED" >&6; }
2925 SED="$ac_cv_path_SED"
2926 rm -f conftest.sed
2930 ## ------------ ##
2931 ## Conclusion. ##
2932 ## ------------ ##
2934 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"
2937 cat >confcache <<\_ACEOF
2938 # This file is a shell script that caches the results of configure
2939 # tests run on this system so they can be shared between configure
2940 # scripts and configure runs, see configure's option --config-cache.
2941 # It is not useful on other systems. If it contains results you don't
2942 # want to keep, you may remove or edit it.
2944 # config.status only pays attention to the cache file if you give it
2945 # the --recheck option to rerun configure.
2947 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2948 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2949 # following values.
2951 _ACEOF
2953 # The following way of writing the cache mishandles newlines in values,
2954 # but we know of no workaround that is simple, portable, and efficient.
2955 # So, we kill variables containing newlines.
2956 # Ultrix sh set writes to stderr and can't be redirected directly,
2957 # and sets the high bit in the cache file unless we assign to the vars.
2959 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2960 eval ac_val=\$$ac_var
2961 case $ac_val in #(
2962 *${as_nl}*)
2963 case $ac_var in #(
2964 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2965 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2966 esac
2967 case $ac_var in #(
2968 _ | IFS | as_nl) ;; #(
2969 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2970 *) $as_unset $ac_var ;;
2971 esac ;;
2972 esac
2973 done
2975 (set) 2>&1 |
2976 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2977 *${as_nl}ac_space=\ *)
2978 # `set' does not quote correctly, so add quotes (double-quote
2979 # substitution turns \\\\ into \\, and sed turns \\ into \).
2980 sed -n \
2981 "s/'/'\\\\''/g;
2982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2983 ;; #(
2985 # `set' quotes correctly as required by POSIX, so do not add quotes.
2986 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2988 esac |
2989 sort
2991 sed '
2992 /^ac_cv_env_/b end
2993 t clear
2994 :clear
2995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2996 t end
2997 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2998 :end' >>confcache
2999 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3000 if test -w "$cache_file"; then
3001 test "x$cache_file" != "x/dev/null" &&
3002 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3003 $as_echo "$as_me: updating cache $cache_file" >&6;}
3004 cat confcache >$cache_file
3005 else
3006 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3007 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3010 rm -f confcache
3012 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3013 # Let make expand exec_prefix.
3014 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3016 # Transform confdefs.h into DEFS.
3017 # Protect against shell expansion while executing Makefile rules.
3018 # Protect against Makefile macro expansion.
3020 # If the first sed substitution is executed (which looks for macros that
3021 # take arguments), then branch to the quote section. Otherwise,
3022 # look for a macro that doesn't take arguments.
3023 ac_script='
3024 t clear
3025 :clear
3026 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3027 t quote
3028 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3029 t quote
3030 b any
3031 :quote
3032 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3033 s/\[/\\&/g
3034 s/\]/\\&/g
3035 s/\$/$$/g
3037 :any
3040 s/^\n//
3041 s/\n/ /g
3045 DEFS=`sed -n "$ac_script" confdefs.h`
3048 ac_libobjs=
3049 ac_ltlibobjs=
3050 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3051 # 1. Remove the extension, and $U if already installed.
3052 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3053 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3054 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3055 # will be set to the directory where LIBOBJS objects are built.
3056 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3057 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3058 done
3059 LIBOBJS=$ac_libobjs
3061 LTLIBOBJS=$ac_ltlibobjs
3065 : ${CONFIG_STATUS=./config.status}
3066 ac_clean_files_save=$ac_clean_files
3067 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3068 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3069 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3070 cat >$CONFIG_STATUS <<_ACEOF
3071 #! $SHELL
3072 # Generated by $as_me.
3073 # Run this file to recreate the current configuration.
3074 # Compiler output produced by configure, useful for debugging
3075 # configure, is in config.log if it exists.
3077 debug=false
3078 ac_cs_recheck=false
3079 ac_cs_silent=false
3080 SHELL=\${CONFIG_SHELL-$SHELL}
3081 _ACEOF
3083 cat >>$CONFIG_STATUS <<\_ACEOF
3084 ## --------------------- ##
3085 ## M4sh Initialization. ##
3086 ## --------------------- ##
3088 # Be more Bourne compatible
3089 DUALCASE=1; export DUALCASE # for MKS sh
3090 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3091 emulate sh
3092 NULLCMD=:
3093 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3094 # is contrary to our usage. Disable this feature.
3095 alias -g '${1+"$@"}'='"$@"'
3096 setopt NO_GLOB_SUBST
3097 else
3098 case `(set -o) 2>/dev/null` in
3099 *posix*) set -o posix ;;
3100 esac
3107 # PATH needs CR
3108 # Avoid depending upon Character Ranges.
3109 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3110 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3111 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3112 as_cr_digits='0123456789'
3113 as_cr_alnum=$as_cr_Letters$as_cr_digits
3115 as_nl='
3117 export as_nl
3118 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3119 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3120 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3121 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3122 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3123 as_echo='printf %s\n'
3124 as_echo_n='printf %s'
3125 else
3126 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3127 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3128 as_echo_n='/usr/ucb/echo -n'
3129 else
3130 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3131 as_echo_n_body='eval
3132 arg=$1;
3133 case $arg in
3134 *"$as_nl"*)
3135 expr "X$arg" : "X\\(.*\\)$as_nl";
3136 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3137 esac;
3138 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3140 export as_echo_n_body
3141 as_echo_n='sh -c $as_echo_n_body as_echo'
3143 export as_echo_body
3144 as_echo='sh -c $as_echo_body as_echo'
3147 # The user is always right.
3148 if test "${PATH_SEPARATOR+set}" != set; then
3149 echo "#! /bin/sh" >conf$$.sh
3150 echo "exit 0" >>conf$$.sh
3151 chmod +x conf$$.sh
3152 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3153 PATH_SEPARATOR=';'
3154 else
3155 PATH_SEPARATOR=:
3157 rm -f conf$$.sh
3160 # Support unset when possible.
3161 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3162 as_unset=unset
3163 else
3164 as_unset=false
3168 # IFS
3169 # We need space, tab and new line, in precisely that order. Quoting is
3170 # there to prevent editors from complaining about space-tab.
3171 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3172 # splitting by setting IFS to empty value.)
3173 IFS=" "" $as_nl"
3175 # Find who we are. Look in the path if we contain no directory separator.
3176 case $0 in
3177 *[\\/]* ) as_myself=$0 ;;
3178 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 for as_dir in $PATH
3181 IFS=$as_save_IFS
3182 test -z "$as_dir" && as_dir=.
3183 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3184 done
3185 IFS=$as_save_IFS
3188 esac
3189 # We did not find ourselves, most probably we were run as `sh COMMAND'
3190 # in which case we are not to be found in the path.
3191 if test "x$as_myself" = x; then
3192 as_myself=$0
3194 if test ! -f "$as_myself"; then
3195 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3196 { (exit 1); exit 1; }
3199 # Work around bugs in pre-3.0 UWIN ksh.
3200 for as_var in ENV MAIL MAILPATH
3201 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3202 done
3203 PS1='$ '
3204 PS2='> '
3205 PS4='+ '
3207 # NLS nuisances.
3208 for as_var in \
3209 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3210 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3211 LC_TELEPHONE LC_TIME
3213 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3214 eval $as_var=C; export $as_var
3215 else
3216 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3218 done
3220 # Required to use basename.
3221 if expr a : '\(a\)' >/dev/null 2>&1 &&
3222 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3223 as_expr=expr
3224 else
3225 as_expr=false
3228 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3229 as_basename=basename
3230 else
3231 as_basename=false
3235 # Name of the executable.
3236 as_me=`$as_basename -- "$0" ||
3237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3238 X"$0" : 'X\(//\)$' \| \
3239 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3240 $as_echo X/"$0" |
3241 sed '/^.*\/\([^/][^/]*\)\/*$/{
3242 s//\1/
3245 /^X\/\(\/\/\)$/{
3246 s//\1/
3249 /^X\/\(\/\).*/{
3250 s//\1/
3253 s/.*/./; q'`
3255 # CDPATH.
3256 $as_unset CDPATH
3260 as_lineno_1=$LINENO
3261 as_lineno_2=$LINENO
3262 test "x$as_lineno_1" != "x$as_lineno_2" &&
3263 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3265 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3266 # uniformly replaced by the line number. The first 'sed' inserts a
3267 # line-number line after each line using $LINENO; the second 'sed'
3268 # does the real work. The second script uses 'N' to pair each
3269 # line-number line with the line containing $LINENO, and appends
3270 # trailing '-' during substitution so that $LINENO is not a special
3271 # case at line end.
3272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3273 # scripts with optimization help from Paolo Bonzini. Blame Lee
3274 # E. McMahon (1931-1989) for sed's syntax. :-)
3275 sed -n '
3277 /[$]LINENO/=
3278 ' <$as_myself |
3279 sed '
3280 s/[$]LINENO.*/&-/
3281 t lineno
3283 :lineno
3285 :loop
3286 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3287 t loop
3288 s/-\n.*//
3289 ' >$as_me.lineno &&
3290 chmod +x "$as_me.lineno" ||
3291 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3292 { (exit 1); exit 1; }; }
3294 # Don't try to exec as it changes $[0], causing all sort of problems
3295 # (the dirname of $[0] is not the place where we might find the
3296 # original and so on. Autoconf is especially sensitive to this).
3297 . "./$as_me.lineno"
3298 # Exit status is that of the last command.
3299 exit
3303 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3304 as_dirname=dirname
3305 else
3306 as_dirname=false
3309 ECHO_C= ECHO_N= ECHO_T=
3310 case `echo -n x` in
3311 -n*)
3312 case `echo 'x\c'` in
3313 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3314 *) ECHO_C='\c';;
3315 esac;;
3317 ECHO_N='-n';;
3318 esac
3319 if expr a : '\(a\)' >/dev/null 2>&1 &&
3320 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3321 as_expr=expr
3322 else
3323 as_expr=false
3326 rm -f conf$$ conf$$.exe conf$$.file
3327 if test -d conf$$.dir; then
3328 rm -f conf$$.dir/conf$$.file
3329 else
3330 rm -f conf$$.dir
3331 mkdir conf$$.dir
3333 echo >conf$$.file
3334 if ln -s conf$$.file conf$$ 2>/dev/null; then
3335 as_ln_s='ln -s'
3336 # ... but there are two gotchas:
3337 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3338 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3339 # In both cases, we have to default to `cp -p'.
3340 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3341 as_ln_s='cp -p'
3342 elif ln conf$$.file conf$$ 2>/dev/null; then
3343 as_ln_s=ln
3344 else
3345 as_ln_s='cp -p'
3347 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3348 rmdir conf$$.dir 2>/dev/null
3350 if mkdir -p . 2>/dev/null; then
3351 as_mkdir_p=:
3352 else
3353 test -d ./-p && rmdir ./-p
3354 as_mkdir_p=false
3357 if test -x / >/dev/null 2>&1; then
3358 as_test_x='test -x'
3359 else
3360 if ls -dL / >/dev/null 2>&1; then
3361 as_ls_L_option=L
3362 else
3363 as_ls_L_option=
3365 as_test_x='
3366 eval sh -c '\''
3367 if test -d "$1"; then
3368 test -d "$1/.";
3369 else
3370 case $1 in
3371 -*)set "./$1";;
3372 esac;
3373 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3374 ???[sx]*):;;*)false;;esac;fi
3375 '\'' sh
3378 as_executable_p=$as_test_x
3380 # Sed expression to map a string onto a valid CPP name.
3381 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3383 # Sed expression to map a string onto a valid variable name.
3384 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3387 exec 6>&1
3389 # Save the log message, to keep $[0] and so on meaningful, and to
3390 # report actual input values of CONFIG_FILES etc. instead of their
3391 # values after options handling.
3392 ac_log="
3393 This file was extended by GNU Autoconf $as_me 2.61b, which was
3394 generated by GNU Autoconf 2.61b. Invocation command line was
3396 CONFIG_FILES = $CONFIG_FILES
3397 CONFIG_HEADERS = $CONFIG_HEADERS
3398 CONFIG_LINKS = $CONFIG_LINKS
3399 CONFIG_COMMANDS = $CONFIG_COMMANDS
3400 $ $0 $@
3402 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3405 _ACEOF
3407 cat >>$CONFIG_STATUS <<_ACEOF
3408 # Files that config.status was made for.
3409 config_files="$ac_config_files"
3410 config_commands="$ac_config_commands"
3412 _ACEOF
3414 cat >>$CONFIG_STATUS <<\_ACEOF
3415 ac_cs_usage="\
3416 \`$as_me' instantiates files from templates according to the
3417 current configuration.
3419 Usage: $0 [OPTIONS] [FILE]...
3421 -h, --help print this help, then exit
3422 -V, --version print version number and configuration settings, then exit
3423 -q, --quiet do not print progress messages
3424 -d, --debug don't remove temporary files
3425 --recheck update $as_me by reconfiguring in the same conditions
3426 --file=FILE[:TEMPLATE]
3427 instantiate the configuration file FILE
3429 Configuration files:
3430 $config_files
3432 Configuration commands:
3433 $config_commands
3435 Report bugs to <bug-autoconf@gnu.org>."
3437 _ACEOF
3438 cat >>$CONFIG_STATUS <<_ACEOF
3439 ac_cs_version="\\
3440 GNU Autoconf config.status 2.61b
3441 configured by $0, generated by GNU Autoconf 2.61b,
3442 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3444 Copyright (C) 2006 Free Software Foundation, Inc.
3445 This config.status script is free software; the Free Software Foundation
3446 gives unlimited permission to copy, distribute and modify it."
3448 ac_pwd='$ac_pwd'
3449 srcdir='$srcdir'
3450 INSTALL='$INSTALL'
3451 MKDIR_P='$MKDIR_P'
3452 AWK='$AWK'
3453 test -n "\$AWK" || AWK=awk
3454 _ACEOF
3456 cat >>$CONFIG_STATUS <<\_ACEOF
3457 # If no file are specified by the user, then we need to provide default
3458 # value. By we need to know if files were specified by the user.
3459 ac_need_defaults=:
3460 while test $# != 0
3462 case $1 in
3463 --*=*)
3464 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3465 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3466 ac_shift=:
3469 ac_option=$1
3470 ac_optarg=$2
3471 ac_shift=shift
3473 esac
3475 case $ac_option in
3476 # Handling of the options.
3477 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3478 ac_cs_recheck=: ;;
3479 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3480 $as_echo "$ac_cs_version"; exit ;;
3481 --debug | --debu | --deb | --de | --d | -d )
3482 debug=: ;;
3483 --file | --fil | --fi | --f )
3484 $ac_shift
3485 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3486 ac_need_defaults=false;;
3487 --he | --h | --help | --hel | -h )
3488 $as_echo "$ac_cs_usage"; exit ;;
3489 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3490 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3491 ac_cs_silent=: ;;
3493 # This is an error.
3494 -*) { $as_echo "$as_me: error: unrecognized option: $1
3495 Try \`$0 --help' for more information." >&2
3496 { (exit 1); exit 1; }; } ;;
3498 *) ac_config_targets="$ac_config_targets $1"
3499 ac_need_defaults=false ;;
3501 esac
3502 shift
3503 done
3505 ac_configure_extra_args=
3507 if $ac_cs_silent; then
3508 exec 6>/dev/null
3509 ac_configure_extra_args="$ac_configure_extra_args --silent"
3512 _ACEOF
3513 cat >>$CONFIG_STATUS <<_ACEOF
3514 if \$ac_cs_recheck; then
3515 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3516 shift
3517 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3518 CONFIG_SHELL='$SHELL'
3519 export CONFIG_SHELL
3520 exec "\$@"
3523 _ACEOF
3524 cat >>$CONFIG_STATUS <<\_ACEOF
3525 exec 5>>config.log
3527 echo
3528 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3529 ## Running $as_me. ##
3530 _ASBOX
3531 $as_echo "$ac_log"
3532 } >&5
3534 _ACEOF
3535 cat >>$CONFIG_STATUS <<_ACEOF
3536 _ACEOF
3538 cat >>$CONFIG_STATUS <<\_ACEOF
3540 # Handling of arguments.
3541 for ac_config_target in $ac_config_targets
3543 case $ac_config_target in
3544 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3545 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3546 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3547 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3548 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3549 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3550 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3551 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3552 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3553 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3554 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3555 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3556 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3557 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3559 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3560 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3561 { (exit 1); exit 1; }; };;
3562 esac
3563 done
3566 # If the user did not use the arguments to specify the items to instantiate,
3567 # then the envvar interface is used. Set only those that are not.
3568 # We use the long form for the default assignment because of an extremely
3569 # bizarre bug on SunOS 4.1.3.
3570 if $ac_need_defaults; then
3571 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3572 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3575 # Have a temporary directory for convenience. Make it in the build tree
3576 # simply because there is no reason against having it here, and in addition,
3577 # creating and moving files from /tmp can sometimes cause problems.
3578 # Hook for its removal unless debugging.
3579 # Note that there is a small window in which the directory will not be cleaned:
3580 # after its creation but before its name has been assigned to `$tmp'.
3581 $debug ||
3583 tmp=
3584 trap 'exit_status=$?
3585 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3587 trap '{ (exit 1); exit 1; }' 1 2 13 15
3589 # Create a (secure) tmp directory for tmp files.
3592 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3593 test -n "$tmp" && test -d "$tmp"
3594 } ||
3596 tmp=./conf$$-$RANDOM
3597 (umask 077 && mkdir "$tmp")
3598 } ||
3600 $as_echo "$me: cannot create a temporary directory in ." >&2
3601 { (exit 1); exit 1; }
3604 # Set up the scripts for CONFIG_FILES section.
3605 # No need to generate them if there are no CONFIG_FILES.
3606 # This happens for instance with `./config.status config.h'.
3607 if test -n "$CONFIG_FILES"; then
3610 echo 'BEGIN {' >"$tmp/subs.awk"
3611 _ACEOF
3615 echo "cat >conf$$subs.awk <<_ACEOF"
3616 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/'
3617 echo "_ACEOF"
3618 } >conf$$subs.sh
3619 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3620 ac_delim='%!_!# '
3621 for ac_last_try in false false false false false :; do
3622 . ./conf$$subs.sh
3624 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
3625 break
3626 elif $ac_last_try; then
3627 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3628 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3629 { (exit 1); exit 1; }; }
3630 else
3631 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3633 done
3634 rm -f conf$$subs.sh
3636 cat >>$CONFIG_STATUS <<_ACEOF
3637 cat >>"\$tmp/subs.awk" <<\CEOF
3638 _ACEOF
3639 sed -n '
3641 s/^/S["/; s/!.*/"]=/
3644 s/^[^!]*!//
3645 :repl
3646 t repl
3647 s/'"$ac_delim"'$//
3648 t delim
3651 s/\(.\{148\}\).*/\1/
3652 t more1
3653 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3656 b repl
3657 :more1
3658 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3661 s/.\{148\}//
3662 t nl
3663 :delim
3665 s/\(.\{148\}\).*/\1/
3666 t more2
3667 s/["\\]/\\&/g; s/^/"/; s/$/"/
3670 :more2
3671 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3674 s/.\{148\}//
3675 t delim
3676 ' <conf$$subs.awk | sed '
3677 /^[^"]/{
3679 s/\n//
3681 ' >>$CONFIG_STATUS
3682 rm -f conf$$subs.awk
3683 cat >>$CONFIG_STATUS <<_ACEOF
3684 CEOF
3685 cat >>"\$tmp/subs.awk" <<CEOF
3686 for (key in S) S_is_set[key] = 1
3687 FS = "\a"
3691 line = $ 0
3692 nfields = split(line, field, "@")
3693 substed = 0
3694 len = length(field[1])
3695 for (i = 2; i < nfields; i++) {
3696 key = field[i]
3697 keylen = length(key)
3698 if (S_is_set[key]) {
3699 value = S[key]
3700 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3701 len += length(value) + length(field[++i])
3702 substed = 1
3703 } else
3704 len += 1 + keylen
3707 print line
3710 CEOF
3711 _ACEOF
3713 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3714 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3715 # trailing colons and then remove the whole line if VPATH becomes empty
3716 # (actually we leave an empty line to preserve line numbers).
3717 if test "x$srcdir" = x.; then
3718 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3719 s/:*\$(srcdir):*/:/
3720 s/:*\${srcdir}:*/:/
3721 s/:*@srcdir@:*/:/
3722 s/^\([^=]*=[ ]*\):*/\1/
3723 s/:*$//
3724 s/^[^=]*=[ ]*$//
3728 cat >>$CONFIG_STATUS <<\_ACEOF
3729 fi # test -n "$CONFIG_FILES"
3732 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3734 case $ac_tag in
3735 :[FHLC]) ac_mode=$ac_tag; continue;;
3736 esac
3737 case $ac_mode$ac_tag in
3738 :[FHL]*:*);;
3739 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3740 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3741 { (exit 1); exit 1; }; };;
3742 :[FH]-) ac_tag=-:-;;
3743 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3744 esac
3745 ac_save_IFS=$IFS
3746 IFS=:
3747 set x $ac_tag
3748 IFS=$ac_save_IFS
3749 shift
3750 ac_file=$1
3751 shift
3753 case $ac_mode in
3754 :L) ac_source=$1;;
3755 :[FH])
3756 ac_file_inputs=
3757 for ac_f
3759 case $ac_f in
3760 -) ac_f="$tmp/stdin";;
3761 *) # Look for the file first in the build tree, then in the source tree
3762 # (if the path is not absolute). The absolute path cannot be DOS-style,
3763 # because $ac_f cannot contain `:'.
3764 test -f "$ac_f" ||
3765 case $ac_f in
3766 [\\/$]*) false;;
3767 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3768 esac ||
3769 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3770 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3771 { (exit 1); exit 1; }; };;
3772 esac
3773 ac_file_inputs="$ac_file_inputs $ac_f"
3774 done
3776 # Let's still pretend it is `configure' which instantiates (i.e., don't
3777 # use $as_me), people would be surprised to read:
3778 # /* config.h. Generated by config.status. */
3779 configure_input='Generated from '`
3780 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3781 `' by configure.'
3782 if test x"$ac_file" != x-; then
3783 configure_input="$ac_file. $configure_input"
3784 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3785 $as_echo "$as_me: creating $ac_file" >&6;}
3788 case $ac_tag in
3789 *:-:* | *:-) cat >"$tmp/stdin";;
3790 esac
3792 esac
3794 ac_dir=`$as_dirname -- "$ac_file" ||
3795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3796 X"$ac_file" : 'X\(//\)[^/]' \| \
3797 X"$ac_file" : 'X\(//\)$' \| \
3798 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3799 $as_echo X"$ac_file" |
3800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3801 s//\1/
3804 /^X\(\/\/\)[^/].*/{
3805 s//\1/
3808 /^X\(\/\/\)$/{
3809 s//\1/
3812 /^X\(\/\).*/{
3813 s//\1/
3816 s/.*/./; q'`
3817 { as_dir="$ac_dir"
3818 case $as_dir in #(
3819 -*) as_dir=./$as_dir;;
3820 esac
3821 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3822 as_dirs=
3823 while :; do
3824 case $as_dir in #(
3825 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3826 *) as_qdir=$as_dir;;
3827 esac
3828 as_dirs="'$as_qdir' $as_dirs"
3829 as_dir=`$as_dirname -- "$as_dir" ||
3830 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3831 X"$as_dir" : 'X\(//\)[^/]' \| \
3832 X"$as_dir" : 'X\(//\)$' \| \
3833 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3834 $as_echo X"$as_dir" |
3835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3836 s//\1/
3839 /^X\(\/\/\)[^/].*/{
3840 s//\1/
3843 /^X\(\/\/\)$/{
3844 s//\1/
3847 /^X\(\/\).*/{
3848 s//\1/
3851 s/.*/./; q'`
3852 test -d "$as_dir" && break
3853 done
3854 test -z "$as_dirs" || eval "mkdir $as_dirs"
3855 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3856 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3857 { (exit 1); exit 1; }; }; }
3858 ac_builddir=.
3860 case "$ac_dir" in
3861 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3863 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's,^\.[\\/],,'`
3864 # A ".." for each directory in $ac_dir_suffix.
3865 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3866 case $ac_top_builddir_sub in
3867 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3868 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3869 esac ;;
3870 esac
3871 ac_abs_top_builddir=$ac_pwd
3872 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3873 # for backward compatibility:
3874 ac_top_builddir=$ac_top_build_prefix
3876 case $srcdir in
3877 .) # We are building in place.
3878 ac_srcdir=.
3879 ac_top_srcdir=$ac_top_builddir_sub
3880 ac_abs_top_srcdir=$ac_pwd ;;
3881 [\\/]* | ?:[\\/]* ) # Absolute name.
3882 ac_srcdir=$srcdir$ac_dir_suffix;
3883 ac_top_srcdir=$srcdir
3884 ac_abs_top_srcdir=$srcdir ;;
3885 *) # Relative name.
3886 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3887 ac_top_srcdir=$ac_top_build_prefix$srcdir
3888 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3889 esac
3890 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3893 case $ac_mode in
3896 # CONFIG_FILE
3899 case $INSTALL in
3900 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3901 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3902 esac
3903 ac_MKDIR_P=$MKDIR_P
3904 case $MKDIR_P in
3905 [\\/$]* | ?:[\\/]* ) ;;
3906 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3907 esac
3908 _ACEOF
3910 cat >>$CONFIG_STATUS <<\_ACEOF
3911 # If the template does not know about datarootdir, expand it.
3912 # FIXME: This hack should be removed a few years after 2.60.
3913 ac_datarootdir_hack=; ac_datarootdir_seen=
3915 case `sed -n '/datarootdir/ {
3919 /@datadir@/p
3920 /@docdir@/p
3921 /@infodir@/p
3922 /@localedir@/p
3923 /@mandir@/p
3924 ' $ac_file_inputs` in
3925 *datarootdir*) ac_datarootdir_seen=yes;;
3926 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3927 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3928 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3929 _ACEOF
3930 cat >>$CONFIG_STATUS <<_ACEOF
3931 ac_datarootdir_hack='
3932 s&@datadir@&$datadir&g
3933 s&@docdir@&$docdir&g
3934 s&@infodir@&$infodir&g
3935 s&@localedir@&$localedir&g
3936 s&@mandir@&$mandir&g
3937 s&\\\${datarootdir}&$datarootdir&g' ;;
3938 esac
3939 _ACEOF
3941 # Neutralize VPATH when `$srcdir' = `.'.
3942 # Shell code in configure.ac might set extrasub.
3943 # FIXME: do we really want to maintain this feature?
3944 cat >>$CONFIG_STATUS <<_ACEOF
3945 sed "$ac_vpsub
3946 $extrasub
3947 _ACEOF
3948 cat >>$CONFIG_STATUS <<\_ACEOF
3950 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3951 s&@configure_input@&$configure_input&;t t
3952 s&@top_builddir@&$ac_top_builddir_sub&;t t
3953 s&@srcdir@&$ac_srcdir&;t t
3954 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3955 s&@top_srcdir@&$ac_top_srcdir&;t t
3956 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3957 s&@builddir@&$ac_builddir&;t t
3958 s&@abs_builddir@&$ac_abs_builddir&;t t
3959 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3960 s&@INSTALL@&$ac_INSTALL&;t t
3961 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3962 $ac_datarootdir_hack
3963 " $ac_file_inputs | $AWK -f "$tmp/subs.awk" >$tmp/out
3965 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3966 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3967 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3968 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3969 which seems to be undefined. Please make sure it is defined." >&5
3970 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3971 which seems to be undefined. Please make sure it is defined." >&2;}
3973 rm -f "$tmp/stdin"
3974 case $ac_file in
3975 -) cat "$tmp/out"; rm -f "$tmp/out";;
3976 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3977 esac
3981 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3982 $as_echo "$as_me: executing $ac_file commands" >&6;}
3984 esac
3987 case $ac_file$ac_mode in
3988 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3989 # Configurable variable values for building test suites.
3990 # Generated by $0.
3991 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3993 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3994 at_testdir='tests'
3995 abs_builddir='$ac_abs_builddir'
3996 at_srcdir='$ac_srcdir'
3997 abs_srcdir='$ac_abs_srcdir'
3998 at_top_srcdir='$ac_top_srcdir'
3999 abs_top_srcdir='$ac_abs_top_srcdir'
4000 at_top_build_prefix='$ac_top_build_prefix'
4001 abs_top_builddir='$ac_abs_top_builddir'
4003 # Backward compatibility with Autotest <= 2.59b:
4004 at_top_builddir=\$at_top_build_prefix
4006 AUTOTEST_PATH='tests'
4008 SHELL=\${CONFIG_SHELL-'$SHELL'}
4009 ATEOF
4012 esac
4013 done # for ac_tag
4016 { (exit 0); exit 0; }
4017 _ACEOF
4018 chmod +x $CONFIG_STATUS
4019 ac_clean_files=$ac_clean_files_save
4022 # configure is writing to config.log, and then calls config.status.
4023 # config.status does its own redirection, appending to config.log.
4024 # Unfortunately, on DOS this fails, as config.log is still kept open
4025 # by configure, so config.status won't be able to write to it; its
4026 # output is simply discarded. So we exec the FD to /dev/null,
4027 # effectively closing config.log, so it can be properly (re)opened and
4028 # appended to by config.status. When coming back to configure, we
4029 # need to make the FD available again.
4030 if test "$no_create" != yes; then
4031 ac_cs_success=:
4032 ac_config_status_args=
4033 test "$silent" = yes &&
4034 ac_config_status_args="$ac_config_status_args --quiet"
4035 exec 5>/dev/null
4036 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4037 exec 5>>config.log
4038 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4039 # would make configure fail if this is the last instruction.
4040 $ac_cs_success || { (exit 1); exit 1; }
4042 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4043 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
4044 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
4047 # Report the state of this version of Autoconf if this is a beta.
4048 cat <<EOF
4050 You are about to use an experimental version of Autoconf. Be sure to
4051 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
4053 Below you will find information on the status of this version of Autoconf.
4057 sed -n '/^\* Status/,$p' $srcdir/BUGS