* NEWS: Update wording to say merely "should" for AS_DIRNAME
[autoconf/tsuna.git] / configure
blob8c05ce8db383fbb164dd84cf51f9e583e49cb306
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59d for GNU Autoconf 2.59d.
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 Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # IFS
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
64 as_nl='
66 IFS=" "" $as_nl"
68 # Find who we are. Look in the path if we contain no directory separator.
69 case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72 for as_dir in $PATH
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77 done
78 IFS=$as_save_IFS
81 esac
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
85 as_myself=$0
87 if test ! -f "$as_myself"; then
88 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
89 { (exit 1); exit 1; }; }
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95 done
96 PS1='$ '
97 PS2='> '
98 PS4='+ '
100 # NLS nuisances.
101 for as_var in \
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 LC_TELEPHONE LC_TIME
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
108 else
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 done
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
116 as_expr=expr
117 else
118 as_expr=false
121 if as_basename=`(basename -- /) 2>&1` && test "X$as_basename" = "X/"; then
122 as_basename=basename
123 else
124 as_basename=false
128 # Name of the executable.
129 as_me=$0
130 as_me=`$as_basename -- "$as_me" ||
131 $as_expr X/"$as_me" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$as_me" : 'X\(//\)$' \| \
133 X"$as_me" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$as_me" |
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
136 s//\1/
139 /^X\/\(\/\/\)$/{
140 s//\1/
143 /^X\/\(\/\).*/{
144 s//\1/
147 s/.*/./; q'`
149 # CDPATH.
150 $as_unset CDPATH
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
164 as_func_success () {
165 as_func_return 0
167 as_func_failure () {
168 as_func_return 1
170 as_func_ret_success () {
171 return 0
173 as_func_ret_failure () {
174 return 1
177 exitcode=0
178 if as_func_success; then
180 else
181 exitcode=1
182 echo as_func_success failed.
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
190 if as_func_ret_success; then
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 else
205 exitcode=1
206 echo positional parameters were not saved.
209 test \$exitcode = 0) || { (exit 1); exit 1; }
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 case $as_dir in
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells which exist, to save several forks.
237 if test -f $as_shell &&
238 { ($as_shell) 2> /dev/null <<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
250 BIN_SH=xpg4; export BIN_SH # for Tru64
251 DUALCASE=1; export DUALCASE # for MKS sh
254 _ASEOF
255 }; then
256 CONFIG_SHELL=$as_shell
257 as_have_required=yes
258 if { $as_shell 2> /dev/null <<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
270 BIN_SH=xpg4; export BIN_SH # for Tru64
271 DUALCASE=1; export DUALCASE # for MKS sh
274 (as_func_return () {
275 (exit $1)
277 as_func_success () {
278 as_func_return 0
280 as_func_failure () {
281 as_func_return 1
283 as_func_ret_success () {
284 return 0
286 as_func_ret_failure () {
287 return 1
290 exitcode=0
291 if as_func_success; then
293 else
294 exitcode=1
295 echo as_func_success failed.
298 if as_func_failure; then
299 exitcode=1
300 echo as_func_failure succeeded.
303 if as_func_ret_success; then
305 else
306 exitcode=1
307 echo as_func_ret_success failed.
310 if as_func_ret_failure; then
311 exitcode=1
312 echo as_func_ret_failure succeeded.
315 if ( set x; as_func_ret_success y && test x = "$1" ); then
317 else
318 exitcode=1
319 echo positional parameters were not saved.
322 test $exitcode = 0) || { (exit 1); exit 1; }
325 as_lineno_1=$LINENO
326 as_lineno_2=$LINENO
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
330 _ASEOF
331 }; then
332 break
337 done
339 if test "x$CONFIG_SHELL" != x; then
340 for as_var in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
342 done
343 export CONFIG_SHELL
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 if test $as_have_required = no; then
349 echo This script requires a shell more modern than all the
350 echo shells that I found on your system. Please install a
351 echo modern shell, or manually run the script under such a
352 echo shell if you do have one.
353 { (exit 1); exit 1; }
363 (eval "as_func_return () {
364 (exit \$1)
366 as_func_success () {
367 as_func_return 0
369 as_func_failure () {
370 as_func_return 1
372 as_func_ret_success () {
373 return 0
375 as_func_ret_failure () {
376 return 1
379 exitcode=0
380 if as_func_success; then
382 else
383 exitcode=1
384 echo as_func_success failed.
387 if as_func_failure; then
388 exitcode=1
389 echo as_func_failure succeeded.
392 if as_func_ret_success; then
394 else
395 exitcode=1
396 echo as_func_ret_success failed.
399 if as_func_ret_failure; then
400 exitcode=1
401 echo as_func_ret_failure succeeded.
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
406 else
407 exitcode=1
408 echo positional parameters were not saved.
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system,
414 echo including any error possibly output before this
415 echo message
420 as_lineno_1=$LINENO
421 as_lineno_2=$LINENO
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
431 # case at line end.
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
435 sed -n '
437 /[$]LINENO/=
438 ' <$as_myself |
439 sed '
440 s/[$]LINENO.*/&-/
441 t lineno
443 :lineno
445 :loop
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 t loop
448 s/-\n.*//
449 ' >$as_me.lineno &&
450 chmod +x "$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
457 . "./$as_me.lineno"
458 # Exit status is that of the last command.
459 exit
463 if (dirname -- /) >/dev/null 2>&1; then
464 as_dirname=dirname
465 else
466 as_dirname=false
469 ECHO_C= ECHO_N= ECHO_T=
470 case `echo -n x` in
471 -n*)
472 case `echo 'x\c'` in
473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) ECHO_C='\c';;
475 esac;;
477 ECHO_N='-n';;
478 esac
480 if expr a : '\(a\)' >/dev/null 2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001; then
482 as_expr=expr
483 else
484 as_expr=false
487 rm -f conf$$ conf$$.exe conf$$.file
488 if test -d conf$$.dir; then
489 rm -f conf$$.dir/conf$$.file
490 else
491 rm -f conf$$.dir
492 mkdir conf$$.dir
494 echo >conf$$.file
495 if ln -s conf$$.file conf$$ 2>/dev/null; then
496 as_ln_s='ln -s'
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502 as_ln_s='cp -p'
503 elif ln conf$$.file conf$$ 2>/dev/null; then
504 as_ln_s=ln
505 else
506 as_ln_s='cp -p'
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p=:
513 else
514 test -d ./-p && rmdir ./-p
515 as_mkdir_p=false
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.file <<_ASEOF
521 #! /bin/sh
522 exit 0
523 _ASEOF
524 chmod +x conf$$.file
525 if test -x conf$$.file >/dev/null 2>&1; then
526 as_executable_p="test -x"
527 else
528 as_executable_p=:
530 rm -f conf$$.file
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 exec 7<&0 </dev/null 6>&1
542 # Name of the host.
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 # Initializations.
550 ac_default_prefix=/usr/local
551 ac_clean_files=
552 ac_config_libobj_dir=.
553 LIBOBJS=
554 cross_compiling=no
555 subdirs=
556 MFLAGS=
557 MAKEFLAGS=
558 SHELL=${CONFIG_SHELL-/bin/sh}
560 # Identity of this package.
561 PACKAGE_NAME='GNU Autoconf'
562 PACKAGE_TARNAME='autoconf'
563 PACKAGE_VERSION='2.59d'
564 PACKAGE_STRING='GNU Autoconf 2.59d'
565 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
567 ac_unique_file="ChangeLog"
568 ac_subst_vars='SHELL
569 PATH_SEPARATOR
570 PACKAGE_NAME
571 PACKAGE_TARNAME
572 PACKAGE_VERSION
573 PACKAGE_STRING
574 PACKAGE_BUGREPORT
575 exec_prefix
576 prefix
577 program_transform_name
578 bindir
579 sbindir
580 libexecdir
581 datarootdir
582 datadir
583 sysconfdir
584 sharedstatedir
585 localstatedir
586 includedir
587 oldincludedir
588 docdir
589 infodir
590 htmldir
591 dvidir
592 pdfdir
593 psdir
594 libdir
595 localedir
596 mandir
597 DEFS
598 ECHO_C
599 ECHO_N
600 ECHO_T
601 LIBS
602 build_alias
603 host_alias
604 target_alias
605 INSTALL_PROGRAM
606 INSTALL_SCRIPT
607 INSTALL_DATA
608 CYGPATH_W
609 PACKAGE
610 VERSION
611 ACLOCAL
612 AUTOCONF
613 AUTOMAKE
614 AUTOHEADER
615 MAKEINFO
616 install_sh
617 STRIP
618 INSTALL_STRIP_PROGRAM
619 mkdir_p
621 SET_MAKE
622 am__leading_dot
623 AMTAR
624 am__tar
625 am__untar
626 ac_cv_sh_n_works
627 EXPR
629 HELP2MAN
630 PERL
631 TEST_EMACS
632 EMACS
633 EMACSLOADPATH
634 lispdir
635 GREP
636 EGREP
638 LIBOBJS
639 LTLIBOBJS'
640 ac_subst_files=''
641 ac_precious_vars='build_alias
642 host_alias
643 target_alias
644 EMACS
645 EMACSLOADPATH'
648 # Initialize some variables set by options.
649 ac_init_help=
650 ac_init_version=false
651 # The variables have the same names as the options, with
652 # dashes changed to underlines.
653 cache_file=/dev/null
654 exec_prefix=NONE
655 no_create=
656 no_recursion=
657 prefix=NONE
658 program_prefix=NONE
659 program_suffix=NONE
660 program_transform_name=s,x,x,
661 silent=
662 site=
663 srcdir=
664 verbose=
665 x_includes=NONE
666 x_libraries=NONE
668 # Installation directory options.
669 # These are left unexpanded so users can "make install exec_prefix=/foo"
670 # and all the variables that are supposed to be based on exec_prefix
671 # by default will actually change.
672 # Use braces instead of parens because sh, perl, etc. also accept them.
673 # (The list follows the same order as the GNU Coding Standards.)
674 bindir='${exec_prefix}/bin'
675 sbindir='${exec_prefix}/sbin'
676 libexecdir='${exec_prefix}/libexec'
677 datarootdir='${prefix}/share'
678 datadir='${datarootdir}'
679 sysconfdir='${prefix}/etc'
680 sharedstatedir='${prefix}/com'
681 localstatedir='${prefix}/var'
682 includedir='${prefix}/include'
683 oldincludedir='/usr/include'
684 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
685 infodir='${datarootdir}/info'
686 htmldir='${docdir}'
687 dvidir='${docdir}'
688 pdfdir='${docdir}'
689 psdir='${docdir}'
690 libdir='${exec_prefix}/lib'
691 localedir='${datarootdir}/locale'
692 mandir='${datarootdir}/man'
694 ac_prev=
695 ac_dashdash=
696 for ac_option
698 # If the previous option needs an argument, assign it.
699 if test -n "$ac_prev"; then
700 eval $ac_prev=\$ac_option
701 ac_prev=
702 continue
705 case $ac_option in
706 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
707 *) ac_optarg=yes ;;
708 esac
710 # Accept the important Cygnus configure options, so we can diagnose typos.
712 case $ac_dashdash$ac_option in
714 ac_dashdash=yes ;;
716 -bindir | --bindir | --bindi | --bind | --bin | --bi)
717 ac_prev=bindir ;;
718 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
719 bindir=$ac_optarg ;;
721 -build | --build | --buil | --bui | --bu)
722 ac_prev=build_alias ;;
723 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
724 build_alias=$ac_optarg ;;
726 -cache-file | --cache-file | --cache-fil | --cache-fi \
727 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
728 ac_prev=cache_file ;;
729 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
730 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
731 cache_file=$ac_optarg ;;
733 --config-cache | -C)
734 cache_file=config.cache ;;
736 -datadir | --datadir | --datadi | --datad)
737 ac_prev=datadir ;;
738 -datadir=* | --datadir=* | --datadi=* | --datad=*)
739 datadir=$ac_optarg ;;
741 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
742 | --dataroo | --dataro | --datar)
743 ac_prev=datarootdir ;;
744 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
745 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
746 datarootdir=$ac_optarg ;;
748 -disable-* | --disable-*)
749 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
753 { (exit 1); exit 1; }; }
754 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
755 eval enable_$ac_feature=no ;;
757 -docdir | --docdir | --docdi | --doc | --do)
758 ac_prev=docdir ;;
759 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
760 docdir=$ac_optarg ;;
762 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
763 ac_prev=dvidir ;;
764 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
765 dvidir=$ac_optarg ;;
767 -enable-* | --enable-*)
768 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
771 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
772 { (exit 1); exit 1; }; }
773 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
774 eval enable_$ac_feature=\$ac_optarg ;;
776 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
777 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
778 | --exec | --exe | --ex)
779 ac_prev=exec_prefix ;;
780 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
781 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
782 | --exec=* | --exe=* | --ex=*)
783 exec_prefix=$ac_optarg ;;
785 -gas | --gas | --ga | --g)
786 # Obsolete; use --with-gas.
787 with_gas=yes ;;
789 -help | --help | --hel | --he | -h)
790 ac_init_help=long ;;
791 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
792 ac_init_help=recursive ;;
793 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
794 ac_init_help=short ;;
796 -host | --host | --hos | --ho)
797 ac_prev=host_alias ;;
798 -host=* | --host=* | --hos=* | --ho=*)
799 host_alias=$ac_optarg ;;
801 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
802 ac_prev=htmldir ;;
803 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
804 | --ht=*)
805 htmldir=$ac_optarg ;;
807 -includedir | --includedir | --includedi | --included | --include \
808 | --includ | --inclu | --incl | --inc)
809 ac_prev=includedir ;;
810 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
811 | --includ=* | --inclu=* | --incl=* | --inc=*)
812 includedir=$ac_optarg ;;
814 -infodir | --infodir | --infodi | --infod | --info | --inf)
815 ac_prev=infodir ;;
816 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
817 infodir=$ac_optarg ;;
819 -libdir | --libdir | --libdi | --libd)
820 ac_prev=libdir ;;
821 -libdir=* | --libdir=* | --libdi=* | --libd=*)
822 libdir=$ac_optarg ;;
824 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
825 | --libexe | --libex | --libe)
826 ac_prev=libexecdir ;;
827 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
828 | --libexe=* | --libex=* | --libe=*)
829 libexecdir=$ac_optarg ;;
831 -localedir | --localedir | --localedi | --localed | --locale)
832 ac_prev=localedir ;;
833 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
834 localedir=$ac_optarg ;;
836 -localstatedir | --localstatedir | --localstatedi | --localstated \
837 | --localstate | --localstat | --localsta | --localst | --locals)
838 ac_prev=localstatedir ;;
839 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
840 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
841 localstatedir=$ac_optarg ;;
843 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
844 ac_prev=mandir ;;
845 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
846 mandir=$ac_optarg ;;
848 -nfp | --nfp | --nf)
849 # Obsolete; use --without-fp.
850 with_fp=no ;;
852 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
853 | --no-cr | --no-c | -n)
854 no_create=yes ;;
856 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
857 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
858 no_recursion=yes ;;
860 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
861 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
862 | --oldin | --oldi | --old | --ol | --o)
863 ac_prev=oldincludedir ;;
864 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
865 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
866 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
867 oldincludedir=$ac_optarg ;;
869 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
870 ac_prev=prefix ;;
871 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
872 prefix=$ac_optarg ;;
874 -program-prefix | --program-prefix | --program-prefi | --program-pref \
875 | --program-pre | --program-pr | --program-p)
876 ac_prev=program_prefix ;;
877 -program-prefix=* | --program-prefix=* | --program-prefi=* \
878 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
879 program_prefix=$ac_optarg ;;
881 -program-suffix | --program-suffix | --program-suffi | --program-suff \
882 | --program-suf | --program-su | --program-s)
883 ac_prev=program_suffix ;;
884 -program-suffix=* | --program-suffix=* | --program-suffi=* \
885 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
886 program_suffix=$ac_optarg ;;
888 -program-transform-name | --program-transform-name \
889 | --program-transform-nam | --program-transform-na \
890 | --program-transform-n | --program-transform- \
891 | --program-transform | --program-transfor \
892 | --program-transfo | --program-transf \
893 | --program-trans | --program-tran \
894 | --progr-tra | --program-tr | --program-t)
895 ac_prev=program_transform_name ;;
896 -program-transform-name=* | --program-transform-name=* \
897 | --program-transform-nam=* | --program-transform-na=* \
898 | --program-transform-n=* | --program-transform-=* \
899 | --program-transform=* | --program-transfor=* \
900 | --program-transfo=* | --program-transf=* \
901 | --program-trans=* | --program-tran=* \
902 | --progr-tra=* | --program-tr=* | --program-t=*)
903 program_transform_name=$ac_optarg ;;
905 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
906 ac_prev=pdfdir ;;
907 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
908 pdfdir=$ac_optarg ;;
910 -psdir | --psdir | --psdi | --psd | --ps)
911 ac_prev=psdir ;;
912 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
913 psdir=$ac_optarg ;;
915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
916 | -silent | --silent | --silen | --sile | --sil)
917 silent=yes ;;
919 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
920 ac_prev=sbindir ;;
921 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
922 | --sbi=* | --sb=*)
923 sbindir=$ac_optarg ;;
925 -sharedstatedir | --sharedstatedir | --sharedstatedi \
926 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
927 | --sharedst | --shareds | --shared | --share | --shar \
928 | --sha | --sh)
929 ac_prev=sharedstatedir ;;
930 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
931 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
932 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
933 | --sha=* | --sh=*)
934 sharedstatedir=$ac_optarg ;;
936 -site | --site | --sit)
937 ac_prev=site ;;
938 -site=* | --site=* | --sit=*)
939 site=$ac_optarg ;;
941 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
942 ac_prev=srcdir ;;
943 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
944 srcdir=$ac_optarg ;;
946 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
947 | --syscon | --sysco | --sysc | --sys | --sy)
948 ac_prev=sysconfdir ;;
949 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
950 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
951 sysconfdir=$ac_optarg ;;
953 -target | --target | --targe | --targ | --tar | --ta | --t)
954 ac_prev=target_alias ;;
955 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
956 target_alias=$ac_optarg ;;
958 -v | -verbose | --verbose | --verbos | --verbo | --verb)
959 verbose=yes ;;
961 -version | --version | --versio | --versi | --vers | -V)
962 ac_init_version=: ;;
964 -with-* | --with-*)
965 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
968 { echo "$as_me: error: invalid package name: $ac_package" >&2
969 { (exit 1); exit 1; }; }
970 ac_package=`echo $ac_package| sed 's/-/_/g'`
971 eval with_$ac_package=\$ac_optarg ;;
973 -without-* | --without-*)
974 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
977 { echo "$as_me: error: invalid package name: $ac_package" >&2
978 { (exit 1); exit 1; }; }
979 ac_package=`echo $ac_package | sed 's/-/_/g'`
980 eval with_$ac_package=no ;;
982 --x)
983 # Obsolete; use --with-x.
984 with_x=yes ;;
986 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
987 | --x-incl | --x-inc | --x-in | --x-i)
988 ac_prev=x_includes ;;
989 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
990 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
991 x_includes=$ac_optarg ;;
993 -x-libraries | --x-libraries | --x-librarie | --x-librari \
994 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
995 ac_prev=x_libraries ;;
996 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
997 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
998 x_libraries=$ac_optarg ;;
1000 -*) { echo "$as_me: error: unrecognized option: $ac_option
1001 Try \`$0 --help' for more information." >&2
1002 { (exit 1); exit 1; }; }
1005 *=*)
1006 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1009 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1010 { (exit 1); exit 1; }; }
1011 eval $ac_envvar=\$ac_optarg
1012 export $ac_envvar ;;
1015 # FIXME: should be removed in autoconf 3.0.
1016 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1017 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1018 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1019 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1022 esac
1023 done
1025 if test -n "$ac_prev"; then
1026 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1027 { echo "$as_me: error: missing argument to $ac_option" >&2
1028 { (exit 1); exit 1; }; }
1031 # Be sure to have absolute directory names.
1032 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1033 datadir sysconfdir sharedstatedir localstatedir includedir \
1034 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1035 libdir localedir mandir
1037 eval ac_val=\$$ac_var
1038 case $ac_val in
1039 [\\/$]* | ?:[\\/]* ) continue;;
1040 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1041 esac
1042 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1043 { (exit 1); exit 1; }; }
1044 done
1046 # There might be people who depend on the old broken behavior: `$host'
1047 # used to hold the argument of --host etc.
1048 # FIXME: To remove some day.
1049 build=$build_alias
1050 host=$host_alias
1051 target=$target_alias
1053 # FIXME: To remove some day.
1054 if test "x$host_alias" != x; then
1055 if test "x$build_alias" = x; then
1056 cross_compiling=maybe
1057 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1058 If a cross compiler is detected then cross compile mode will be used." >&2
1059 elif test "x$build_alias" != "x$host_alias"; then
1060 cross_compiling=yes
1064 ac_tool_prefix=
1065 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1067 test "$silent" = yes && exec 6>/dev/null
1070 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1071 ac_ls_di=`ls -di .` &&
1072 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1073 { echo "$as_me: error: Working directory cannot be determined" >&2
1074 { (exit 1); exit 1; }; }
1075 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1076 { echo "$as_me: error: pwd does not report name of working directory" >&2
1077 { (exit 1); exit 1; }; }
1080 # Find the source files, if location was not specified.
1081 if test -z "$srcdir"; then
1082 ac_srcdir_defaulted=yes
1083 # Try the directory containing this script, then the parent directory.
1084 ac_confdir="$0"
1085 ac_confdir=`$as_dirname -- "$ac_confdir" ||
1086 $as_expr X"$ac_confdir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1087 X"$ac_confdir" : 'X\(//\)[^/]' \| \
1088 X"$ac_confdir" : 'X\(//\)$' \| \
1089 X"$ac_confdir" : 'X\(/\)' \| . 2>/dev/null ||
1090 echo X"$ac_confdir" |
1091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1092 s//\1/
1095 /^X\(\/\/\)[^/].*/{
1096 s//\1/
1099 /^X\(\/\/\)$/{
1100 s//\1/
1103 /^X\(\/\).*/{
1104 s//\1/
1107 s/.*/./; q'`
1108 srcdir=$ac_confdir
1109 if test ! -r "$srcdir/$ac_unique_file"; then
1110 srcdir=..
1112 else
1113 ac_srcdir_defaulted=no
1115 if test ! -r "$srcdir/$ac_unique_file"; then
1116 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1117 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1118 { (exit 1); exit 1; }; }
1120 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1121 ac_abs_confdir=`(
1122 cd $srcdir && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1123 { (exit 1); exit 1; }; }
1124 pwd)`
1125 # When building in place, set srcdir=.
1126 if test "$ac_abs_confdir" = "$ac_pwd"; then
1127 srcdir=.
1129 # Remove unnecessary trailing slashes from srcdir.
1130 # Double slashes in file names in object file debugging info
1131 # mess up M-x gdb in Emacs.
1132 case $srcdir in
1133 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1134 esac
1135 for ac_var in $ac_precious_vars; do
1136 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1137 eval ac_env_${ac_var}_value=\$${ac_var}
1138 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1139 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1140 done
1143 # Report the --help message.
1145 if test "$ac_init_help" = "long"; then
1146 # Omit some internal or obsolete options to make the list less imposing.
1147 # This message is too long to be a string in the A/UX 3.1 sh.
1148 cat <<_ACEOF
1149 \`configure' configures GNU Autoconf 2.59d to adapt to many kinds of systems.
1151 Usage: $0 [OPTION]... [VAR=VALUE]...
1153 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1154 VAR=VALUE. See below for descriptions of some of the useful variables.
1156 Defaults for the options are specified in brackets.
1158 Configuration:
1159 -h, --help display this help and exit
1160 --help=short display options specific to this package
1161 --help=recursive display the short help of all the included packages
1162 -V, --version display version information and exit
1163 -q, --quiet, --silent do not print \`checking...' messages
1164 --cache-file=FILE cache test results in FILE [disabled]
1165 -C, --config-cache alias for \`--cache-file=config.cache'
1166 -n, --no-create do not create output files
1167 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1169 Installation directories:
1170 --prefix=PREFIX install architecture-independent files in PREFIX
1171 [$ac_default_prefix]
1172 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1173 [PREFIX]
1175 By default, \`make install' will install all the files in
1176 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1177 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1178 for instance \`--prefix=\$HOME'.
1180 For better control, use the options below.
1182 Fine tuning of the installation directories:
1183 --bindir=DIR user executables [EPREFIX/bin]
1184 --sbindir=DIR system admin executables [EPREFIX/sbin]
1185 --libexecdir=DIR program executables [EPREFIX/libexec]
1186 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1187 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1188 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1189 --libdir=DIR object code libraries [EPREFIX/lib]
1190 --includedir=DIR C header files [PREFIX/include]
1191 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1192 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1193 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1194 --infodir=DIR info documentation [DATAROOTDIR/info]
1195 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1196 --mandir=DIR man documentation [DATAROOTDIR/man]
1197 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1198 --htmldir=DIR html documentation [DOCDIR]
1199 --dvidir=DIR dvi documentation [DOCDIR]
1200 --pdfdir=DIR pdf documentation [DOCDIR]
1201 --psdir=DIR ps documentation [DOCDIR]
1202 _ACEOF
1204 cat <<\_ACEOF
1206 Program names:
1207 --program-prefix=PREFIX prepend PREFIX to installed program names
1208 --program-suffix=SUFFIX append SUFFIX to installed program names
1209 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1210 _ACEOF
1213 if test -n "$ac_init_help"; then
1214 case $ac_init_help in
1215 short | recursive ) echo "Configuration of GNU Autoconf 2.59d:";;
1216 esac
1217 cat <<\_ACEOF
1219 Optional Packages:
1220 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1221 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1222 --with-lispdir override the default lisp directory
1224 Some influential environment variables:
1225 EMACS the Emacs editor command
1226 EMACSLOADPATH
1227 the Emacs library search path
1229 Use these variables to override the choices made by `configure' or to help
1230 it to find libraries and programs with nonstandard names/locations.
1232 Report bugs to <bug-autoconf@gnu.org>.
1233 _ACEOF
1234 ac_status=$?
1237 if test "$ac_init_help" = "recursive"; then
1238 # If there are subdirs, report their specific --help.
1239 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1240 test -d $ac_dir || continue
1241 ac_builddir=.
1243 case "$ac_dir" in
1244 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1246 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1247 # A ".." for each directory in $ac_dir_suffix.
1248 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1249 case $ac_top_builddir_sub in
1250 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1251 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1252 esac ;;
1253 esac
1254 ac_abs_top_builddir=$ac_pwd
1255 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1256 # for backward compatibility:
1257 ac_top_builddir=$ac_top_build_prefix
1259 case $srcdir in
1260 .) # We are building in place.
1261 ac_srcdir=.
1262 ac_top_srcdir=$ac_top_builddir_sub
1263 ac_abs_top_srcdir=$ac_pwd ;;
1264 [\\/]* | ?:[\\/]* ) # Absolute name.
1265 ac_srcdir=$srcdir$ac_dir_suffix;
1266 ac_top_srcdir=$srcdir
1267 ac_abs_top_srcdir=$srcdir ;;
1268 *) # Relative name.
1269 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1270 ac_top_srcdir=$ac_top_build_prefix$srcdir
1271 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1272 esac
1273 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1275 cd $ac_dir || { ac_status=$?; continue; }
1276 # Check for guested configure.
1277 if test -f $ac_srcdir/configure.gnu; then
1278 echo &&
1279 $SHELL $ac_srcdir/configure.gnu --help=recursive
1280 elif test -f $ac_srcdir/configure; then
1281 echo &&
1282 $SHELL $ac_srcdir/configure --help=recursive
1283 else
1284 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1285 fi || ac_status=$?
1286 cd "$ac_pwd" || { ac_status=$?; break; }
1287 done
1290 test -n "$ac_init_help" && exit $ac_status
1291 if $ac_init_version; then
1292 cat <<\_ACEOF
1293 GNU Autoconf configure 2.59d
1294 generated by GNU Autoconf 2.59d
1296 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1297 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1298 This configure script is free software; the Free Software Foundation
1299 gives unlimited permission to copy, distribute and modify it.
1300 _ACEOF
1301 exit
1303 cat >config.log <<_ACEOF
1304 This file contains any messages produced by compilers while
1305 running configure, to aid debugging if configure makes a mistake.
1307 It was created by GNU Autoconf $as_me 2.59d, which was
1308 generated by GNU Autoconf 2.59d. Invocation command line was
1310 $ $0 $@
1312 _ACEOF
1313 exec 5>>config.log
1315 cat <<_ASUNAME
1316 ## --------- ##
1317 ## Platform. ##
1318 ## --------- ##
1320 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1321 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1322 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1323 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1324 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1326 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1327 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1329 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1330 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1331 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1332 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1333 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1334 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1335 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1337 _ASUNAME
1339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1340 for as_dir in $PATH
1342 IFS=$as_save_IFS
1343 test -z "$as_dir" && as_dir=.
1344 echo "PATH: $as_dir"
1345 done
1346 IFS=$as_save_IFS
1348 } >&5
1350 cat >&5 <<_ACEOF
1353 ## ----------- ##
1354 ## Core tests. ##
1355 ## ----------- ##
1357 _ACEOF
1360 # Keep a trace of the command line.
1361 # Strip out --no-create and --no-recursion so they do not pile up.
1362 # Strip out --silent because we don't want to record it for future runs.
1363 # Also quote any args containing shell meta-characters.
1364 # Make two passes to allow for proper duplicate-argument suppression.
1365 ac_configure_args=
1366 ac_configure_args0=
1367 ac_configure_args1=
1368 ac_sep=
1369 ac_must_keep_next=false
1370 for ac_pass in 1 2
1372 for ac_arg
1374 case $ac_arg in
1375 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1376 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1377 | -silent | --silent | --silen | --sile | --sil)
1378 continue ;;
1379 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1380 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1381 esac
1382 case $ac_pass in
1383 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1385 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1386 if test $ac_must_keep_next = true; then
1387 ac_must_keep_next=false # Got value, back to normal.
1388 else
1389 case $ac_arg in
1390 *=* | --config-cache | -C | -disable-* | --disable-* \
1391 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1392 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1393 | -with-* | --with-* | -without-* | --without-* | --x)
1394 case "$ac_configure_args0 " in
1395 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1396 esac
1398 -* ) ac_must_keep_next=true ;;
1399 esac
1401 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1402 # Get rid of the leading space.
1403 ac_sep=" "
1405 esac
1406 done
1407 done
1408 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1409 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1411 # When interrupted or exit'd, cleanup temporary files, and complete
1412 # config.log. We remove comments because anyway the quotes in there
1413 # would cause problems or look ugly.
1414 # WARNING: Use '\'' to represent an apostrophe within the trap.
1415 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1416 trap 'exit_status=$?
1417 # Save into config.log some information that might help in debugging.
1419 echo
1421 cat <<\_ASBOX
1422 ## ---------------- ##
1423 ## Cache variables. ##
1424 ## ---------------- ##
1425 _ASBOX
1426 echo
1427 # The following way of writing the cache mishandles newlines in values,
1429 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1430 eval ac_val=\$$ac_var
1431 case $ac_val in #(
1432 *${as_nl}*)
1433 case $ac_var in #(
1434 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1435 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1436 esac
1437 case $ac_var in #(
1438 _ | IFS | as_nl) ;; #(
1439 *) $as_unset $ac_var ;;
1440 esac ;;
1441 esac
1442 done
1443 (set) 2>&1 |
1444 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1445 *${as_nl}ac_space=\ *)
1446 sed -n \
1447 "s/'\''/'\''\\\\'\'''\''/g;
1448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1449 ;; #(
1451 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1453 esac
1455 echo
1457 cat <<\_ASBOX
1458 ## ----------------- ##
1459 ## Output variables. ##
1460 ## ----------------- ##
1461 _ASBOX
1462 echo
1463 for ac_var in $ac_subst_vars
1465 eval ac_val=\$$ac_var
1466 echo "$ac_var='\''$ac_val'\''"
1467 done | sort
1468 echo
1470 if test -n "$ac_subst_files"; then
1471 cat <<\_ASBOX
1472 ## ------------------- ##
1473 ## File substitutions. ##
1474 ## ------------------- ##
1475 _ASBOX
1476 echo
1477 for ac_var in $ac_subst_files
1479 eval ac_val=\$$ac_var
1480 echo "$ac_var='\''$ac_val'\''"
1481 done | sort
1482 echo
1485 if test -s confdefs.h; then
1486 cat <<\_ASBOX
1487 ## ----------- ##
1488 ## confdefs.h. ##
1489 ## ----------- ##
1490 _ASBOX
1491 echo
1492 cat confdefs.h
1493 echo
1495 test "$ac_signal" != 0 &&
1496 echo "$as_me: caught signal $ac_signal"
1497 echo "$as_me: exit $exit_status"
1498 } >&5
1499 rm -f core *.core core.conftest.* &&
1500 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1501 exit $exit_status
1503 for ac_signal in 1 2 13 15; do
1504 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1505 done
1506 ac_signal=0
1508 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1509 rm -f -r conftest* confdefs.h
1511 # Predefined preprocessor variables.
1513 cat >>confdefs.h <<_ACEOF
1514 #define PACKAGE_NAME "$PACKAGE_NAME"
1515 _ACEOF
1518 cat >>confdefs.h <<_ACEOF
1519 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1520 _ACEOF
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1525 _ACEOF
1528 cat >>confdefs.h <<_ACEOF
1529 #define PACKAGE_STRING "$PACKAGE_STRING"
1530 _ACEOF
1533 cat >>confdefs.h <<_ACEOF
1534 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1535 _ACEOF
1538 # Let the site file select an alternate cache file if it wants to.
1539 # Prefer explicitly selected file to automatically selected ones.
1540 if test -n "$CONFIG_SITE"; then
1541 set x "$CONFIG_SITE"
1542 elif test "x$prefix" != xNONE; then
1543 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1544 else
1545 set x "$ac_default_prefix/share/config.site" \
1546 "$ac_default_prefix/etc/config.site"
1548 shift
1549 for ac_site_file
1551 if test -r "$ac_site_file"; then
1552 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1553 echo "$as_me: loading site script $ac_site_file" >&6;}
1554 sed 's/^/| /' "$ac_site_file" >&5
1555 . "$ac_site_file"
1557 done
1559 if test -r "$cache_file"; then
1560 # Some versions of bash will fail to source /dev/null (special
1561 # files actually), so we avoid doing that.
1562 if test -f "$cache_file"; then
1563 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1564 echo "$as_me: loading cache $cache_file" >&6;}
1565 case $cache_file in
1566 [\\/]* | ?:[\\/]* ) . $cache_file;;
1567 *) . ./$cache_file;;
1568 esac
1570 else
1571 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1572 echo "$as_me: creating cache $cache_file" >&6;}
1573 >$cache_file
1576 # Check that the precious variables saved in the cache have kept the same
1577 # value.
1578 ac_cache_corrupted=false
1579 for ac_var in $ac_precious_vars; do
1580 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1581 eval ac_new_set=\$ac_env_${ac_var}_set
1582 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1583 eval ac_new_val=\$ac_env_${ac_var}_value
1584 case $ac_old_set,$ac_new_set in
1585 set,)
1586 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1587 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1588 ac_cache_corrupted=: ;;
1589 ,set)
1590 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1591 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1592 ac_cache_corrupted=: ;;
1593 ,);;
1595 if test "x$ac_old_val" != "x$ac_new_val"; then
1596 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1597 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1598 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1599 echo "$as_me: former value: $ac_old_val" >&2;}
1600 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1601 echo "$as_me: current value: $ac_new_val" >&2;}
1602 ac_cache_corrupted=:
1603 fi;;
1604 esac
1605 # Pass precious variables to config.status.
1606 if test "$ac_new_set" = set; then
1607 case $ac_new_val in
1608 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1609 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1610 *) ac_arg=$ac_var=$ac_new_val ;;
1611 esac
1612 case " $ac_configure_args " in
1613 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1614 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1615 esac
1617 done
1618 if $ac_cache_corrupted; then
1619 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1620 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1621 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1622 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1623 { (exit 1); exit 1; }; }
1650 ac_ext=c
1651 ac_cpp='$CPP $CPPFLAGS'
1652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1659 ac_aux_dir=
1660 for ac_dir in config $srcdir/config; do
1661 if test -f $ac_dir/install-sh; then
1662 ac_aux_dir=$ac_dir
1663 ac_install_sh="$ac_aux_dir/install-sh -c"
1664 break
1665 elif test -f $ac_dir/install.sh; then
1666 ac_aux_dir=$ac_dir
1667 ac_install_sh="$ac_aux_dir/install.sh -c"
1668 break
1669 elif test -f $ac_dir/shtool; then
1670 ac_aux_dir=$ac_dir
1671 ac_install_sh="$ac_aux_dir/shtool install -c"
1672 break
1674 done
1675 if test -z "$ac_aux_dir"; then
1676 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1677 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1678 { (exit 1); exit 1; }; }
1680 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1681 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1682 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1684 ac_config_files="$ac_config_files config/Makefile"
1687 am__api_version="1.9"
1688 # Find a good install program. We prefer a C program (faster),
1689 # so one script is as good as another. But avoid the broken or
1690 # incompatible versions:
1691 # SysV /etc/install, /usr/sbin/install
1692 # SunOS /usr/etc/install
1693 # IRIX /sbin/install
1694 # AIX /bin/install
1695 # AmigaOS /C/install, which installs bootblocks on floppy discs
1696 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1697 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1698 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1699 # OS/2's system install, which has a completely different semantic
1700 # ./install, which can be erroneously created by make from ./install.sh.
1701 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1702 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1703 if test -z "$INSTALL"; then
1704 if test "${ac_cv_path_install+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 else
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 for as_dir in $PATH
1710 IFS=$as_save_IFS
1711 test -z "$as_dir" && as_dir=.
1712 # Account for people who put trailing slashes in PATH elements.
1713 case $as_dir/ in
1714 ./ | .// | /cC/* | \
1715 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1716 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1717 /usr/ucb/* ) ;;
1719 # OSF1 and SCO ODT 3.0 have their own names for install.
1720 # Don't use installbsd from OSF since it installs stuff as root
1721 # by default.
1722 for ac_prog in ginstall scoinst install; do
1723 for ac_exec_ext in '' $ac_executable_extensions; do
1724 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1725 if test $ac_prog = install &&
1726 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1727 # AIX install. It has an incompatible calling convention.
1729 elif test $ac_prog = install &&
1730 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1731 # program-specific install script used by HP pwplus--don't use.
1733 else
1734 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1735 break 3
1738 done
1739 done
1741 esac
1742 done
1743 IFS=$as_save_IFS
1747 if test "${ac_cv_path_install+set}" = set; then
1748 INSTALL=$ac_cv_path_install
1749 else
1750 # As a last resort, use the slow shell script. Don't cache a
1751 # value for INSTALL within a source directory, because that will
1752 # break other packages using the cache if that directory is
1753 # removed, or if the value is a relative name.
1754 INSTALL=$ac_install_sh
1757 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1758 echo "${ECHO_T}$INSTALL" >&6; }
1760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1761 # It thinks the first close brace ends the variable substitution.
1762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1766 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1768 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1769 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1770 # Just in case
1771 sleep 1
1772 echo timestamp > conftest.file
1773 # Do `set' in a subshell so we don't clobber the current shell's
1774 # arguments. Must try -L first in case configure is actually a
1775 # symlink; some systems play weird games with the mod time of symlinks
1776 # (eg FreeBSD returns the mod time of the symlink's containing
1777 # directory).
1778 if (
1779 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1780 if test "$*" = "X"; then
1781 # -L didn't work.
1782 set X `ls -t $srcdir/configure conftest.file`
1784 rm -f conftest.file
1785 if test "$*" != "X $srcdir/configure conftest.file" \
1786 && test "$*" != "X conftest.file $srcdir/configure"; then
1788 # If neither matched, then we have a broken ls. This can happen
1789 # if, for instance, CONFIG_SHELL is bash and it inherits a
1790 # broken ls alias from the environment. This has actually
1791 # happened. Such a system could not be considered "sane".
1792 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1793 alias in your environment" >&5
1794 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1795 alias in your environment" >&2;}
1796 { (exit 1); exit 1; }; }
1799 test "$2" = conftest.file
1801 then
1802 # Ok.
1804 else
1805 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1806 Check your system clock" >&5
1807 echo "$as_me: error: newly created file is older than distributed files!
1808 Check your system clock" >&2;}
1809 { (exit 1); exit 1; }; }
1811 { echo "$as_me:$LINENO: result: yes" >&5
1812 echo "${ECHO_T}yes" >&6; }
1813 test "$program_prefix" != NONE &&
1814 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1815 # Use a double $ so make ignores it.
1816 test "$program_suffix" != NONE &&
1817 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1818 # Double any \ or $. echo might interpret backslashes.
1819 # By default was `s,x,x', remove it if useless.
1820 cat <<\_ACEOF >conftest.sed
1821 s/[\\$]/&&/g;s/;s,x,x,$//
1822 _ACEOF
1823 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1824 rm -f conftest.sed
1826 # expand $ac_aux_dir to an absolute path
1827 am_aux_dir=`cd $ac_aux_dir && pwd`
1829 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1830 # Use eval to expand $SHELL
1831 if eval "$MISSING --run true"; then
1832 am_missing_run="$MISSING --run "
1833 else
1834 am_missing_run=
1835 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1836 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1839 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1840 # We used to keeping the `.' as first argument, in order to
1841 # allow $(mkdir_p) to be used without argument. As in
1842 # $(mkdir_p) $(somedir)
1843 # where $(somedir) is conditionally defined. However this is wrong
1844 # for two reasons:
1845 # 1. if the package is installed by a user who cannot write `.'
1846 # make install will fail,
1847 # 2. the above comment should most certainly read
1848 # $(mkdir_p) $(DESTDIR)$(somedir)
1849 # so it does not work when $(somedir) is undefined and
1850 # $(DESTDIR) is not.
1851 # To support the latter case, we have to write
1852 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1853 # so the `.' trick is pointless.
1854 mkdir_p='mkdir -p --'
1855 else
1856 # On NextStep and OpenStep, the `mkdir' command does not
1857 # recognize any option. It will interpret all options as
1858 # directories to create, and then abort because `.' already
1859 # exists.
1860 for d in ./-p ./--version;
1862 test -d $d && rmdir $d
1863 done
1864 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1865 if test -f "$ac_aux_dir/mkinstalldirs"; then
1866 mkdir_p='$(mkinstalldirs)'
1867 else
1868 mkdir_p='$(install_sh) -d'
1872 for ac_prog in gawk mawk nawk awk
1874 # Extract the first word of "$ac_prog", so it can be a program name with args.
1875 set dummy $ac_prog; ac_word=$2
1876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1878 if test "${ac_cv_prog_AWK+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 else
1881 if test -n "$AWK"; then
1882 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1883 else
1884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1885 for as_dir in $PATH
1887 IFS=$as_save_IFS
1888 test -z "$as_dir" && as_dir=.
1889 for ac_exec_ext in '' $ac_executable_extensions; do
1890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1891 ac_cv_prog_AWK="$ac_prog"
1892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1893 break 2
1895 done
1896 done
1897 IFS=$as_save_IFS
1901 AWK=$ac_cv_prog_AWK
1902 if test -n "$AWK"; then
1903 { echo "$as_me:$LINENO: result: $AWK" >&5
1904 echo "${ECHO_T}$AWK" >&6; }
1905 else
1906 { echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6; }
1911 test -n "$AWK" && break
1912 done
1914 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1915 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1916 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1917 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 else
1920 cat >conftest.make <<\_ACEOF
1921 SHELL = /bin/sh
1922 all:
1923 @echo 'ac_maketemp=X"$(MAKE)"'
1924 _ACEOF
1925 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1926 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1927 if test "$ac_maketemp" != X ; then
1928 eval ac_cv_prog_make_${ac_make}_set=yes
1929 else
1930 eval ac_cv_prog_make_${ac_make}_set=no
1932 rm -f conftest.make
1934 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1935 { echo "$as_me:$LINENO: result: yes" >&5
1936 echo "${ECHO_T}yes" >&6; }
1937 SET_MAKE=
1938 else
1939 { echo "$as_me:$LINENO: result: no" >&5
1940 echo "${ECHO_T}no" >&6; }
1941 SET_MAKE="MAKE=${MAKE-make}"
1944 rm -rf .tst 2>/dev/null
1945 mkdir .tst 2>/dev/null
1946 if test -d .tst; then
1947 am__leading_dot=.
1948 else
1949 am__leading_dot=_
1951 rmdir .tst 2>/dev/null
1953 # test to see if srcdir already configured
1954 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1955 test -f $srcdir/config.status; then
1956 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1957 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1958 { (exit 1); exit 1; }; }
1961 # test whether we have cygpath
1962 if test -z "$CYGPATH_W"; then
1963 if (cygpath --version) >/dev/null 2>/dev/null; then
1964 CYGPATH_W='cygpath -w'
1965 else
1966 CYGPATH_W=echo
1971 # Define the identity of the package.
1972 PACKAGE='autoconf'
1973 VERSION='2.59d'
1976 cat >>confdefs.h <<_ACEOF
1977 #define PACKAGE "$PACKAGE"
1978 _ACEOF
1981 cat >>confdefs.h <<_ACEOF
1982 #define VERSION "$VERSION"
1983 _ACEOF
1985 # Some tools Automake needs.
1987 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1990 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1993 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1996 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1999 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2001 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2003 # Installed binaries are usually stripped using `strip' when the user
2004 # run `make install-strip'. However `strip' might not be the right
2005 # tool to use in cross-compilation environments, therefore Automake
2006 # will honor the `STRIP' environment variable to overrule this program.
2007 if test "$cross_compiling" != no; then
2008 if test -n "$ac_tool_prefix"; then
2009 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2010 set dummy ${ac_tool_prefix}strip; ac_word=$2
2011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2013 if test "${ac_cv_prog_STRIP+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016 if test -n "$STRIP"; then
2017 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2018 else
2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2020 for as_dir in $PATH
2022 IFS=$as_save_IFS
2023 test -z "$as_dir" && as_dir=.
2024 for ac_exec_ext in '' $ac_executable_extensions; do
2025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2026 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2028 break 2
2030 done
2031 done
2032 IFS=$as_save_IFS
2036 STRIP=$ac_cv_prog_STRIP
2037 if test -n "$STRIP"; then
2038 { echo "$as_me:$LINENO: result: $STRIP" >&5
2039 echo "${ECHO_T}$STRIP" >&6; }
2040 else
2041 { echo "$as_me:$LINENO: result: no" >&5
2042 echo "${ECHO_T}no" >&6; }
2047 if test -z "$ac_cv_prog_STRIP"; then
2048 ac_ct_STRIP=$STRIP
2049 # Extract the first word of "strip", so it can be a program name with args.
2050 set dummy strip; ac_word=$2
2051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2053 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 else
2056 if test -n "$ac_ct_STRIP"; then
2057 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2058 else
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 for as_dir in $PATH
2062 IFS=$as_save_IFS
2063 test -z "$as_dir" && as_dir=.
2064 for ac_exec_ext in '' $ac_executable_extensions; do
2065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2066 ac_cv_prog_ac_ct_STRIP="strip"
2067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068 break 2
2070 done
2071 done
2072 IFS=$as_save_IFS
2076 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2077 if test -n "$ac_ct_STRIP"; then
2078 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2079 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2080 else
2081 { echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6; }
2085 if test "x$ac_ct_STRIP" = x; then
2086 STRIP=":"
2087 else
2088 case $cross_compiling:$ac_tool_warned in
2089 yes:)
2090 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2091 whose name does not start with the host triplet. If you think this
2092 configuration is useful to you, please write to autoconf@gnu.org." >&5
2093 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2094 whose name does not start with the host triplet. If you think this
2095 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2096 ac_tool_warned=yes ;;
2097 esac
2098 STRIP=$ac_ct_STRIP
2100 else
2101 STRIP="$ac_cv_prog_STRIP"
2105 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2107 # We need awk for the "check" target. The system "awk" is bad on
2108 # some platforms.
2109 # Always define AMTAR for backward compatibility.
2111 AMTAR=${AMTAR-"${am_missing_run}tar"}
2113 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2120 # We use `/bin/sh -n script' to check that there are no syntax errors
2121 # in the scripts. Although incredible, there are /bin/sh that go into
2122 # endless loops with `-n', e.g., SunOS's:
2124 # $ uname -a
2125 # SunOS ondine 4.1.3 2 sun4m unknown
2126 # $ cat endless.sh
2127 # while false
2128 # do
2130 # done
2131 # exit 0
2132 # $ time sh endless.sh
2133 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2134 # $ time sh -nx endless.sh
2135 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2137 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2138 # that they are unusable on large scripts like our testsuite.
2140 # So before using `/bin/sh -n' to check our scripts, we first check
2141 # that `/bin/sh -n' is known to not have these problems.
2143 { echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2144 echo $ECHO_N "checking whether /bin/sh -n is known to work... $ECHO_C" >&6; }
2145 if test "${ac_cv_sh_n_works+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if (
2149 unset BASH_VERSION ZSH_VERSION
2150 /bin/sh -c '
2151 test -n "${BASH_VERSION+set}" || # Bash
2152 test -n "${KSH_VERSION+set}" || # pdksh
2153 test -n "${ZSH_VERSION+set}" || # zsh
2154 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2156 ) 2>/dev/null
2157 then ac_cv_sh_n_works=yes
2158 else ac_cv_sh_n_works=no
2162 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2163 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2166 # Initialize the test suite.
2167 ac_config_commands="$ac_config_commands tests/atconfig"
2170 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2172 # Extract the first word of "expr", so it can be a program name with args.
2173 set dummy expr; ac_word=$2
2174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2176 if test "${ac_cv_path_EXPR+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 else
2179 case $EXPR in
2180 [\\/]* | ?:[\\/]*)
2181 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2185 for as_dir in $PATH
2187 IFS=$as_save_IFS
2188 test -z "$as_dir" && as_dir=.
2189 for ac_exec_ext in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 break 2
2195 done
2196 done
2197 IFS=$as_save_IFS
2200 esac
2202 EXPR=$ac_cv_path_EXPR
2203 if test -n "$EXPR"; then
2204 { echo "$as_me:$LINENO: result: $EXPR" >&5
2205 echo "${ECHO_T}$EXPR" >&6; }
2206 else
2207 { echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6; }
2214 ## ---- ##
2215 ## M4. ##
2216 ## ---- ##
2218 # We use an absolute name for GNU m4 so even if users have another m4 first in
2219 # their path, the installer can configure with a path that has GNU m4
2220 # first and get that path embedded in the installed autoconf and
2221 # autoheader scripts.
2222 for ac_prog in gm4 gnum4 m4
2224 # Extract the first word of "$ac_prog", so it can be a program name with args.
2225 set dummy $ac_prog; ac_word=$2
2226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2228 if test "${ac_cv_path_M4+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231 case $M4 in
2232 [\\/]* | ?:[\\/]*)
2233 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 for as_dir in $PATH
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2247 done
2248 done
2249 IFS=$as_save_IFS
2252 esac
2254 M4=$ac_cv_path_M4
2255 if test -n "$M4"; then
2256 { echo "$as_me:$LINENO: result: $M4" >&5
2257 echo "${ECHO_T}$M4" >&6; }
2258 else
2259 { echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6; }
2264 test -n "$M4" && break
2265 done
2266 test -n "$M4" || M4="m4"
2268 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2269 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2270 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 else
2273 ac_cv_prog_gnu_m4=no
2274 if test x"$M4" != x; then
2275 case `$M4 --help < /dev/null 2>&1` in
2276 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2277 esac
2280 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2281 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2282 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2283 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2284 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2285 { (exit 1); exit 1; }; }
2288 ## ----------- ##
2289 ## Man pages. ##
2290 ## ----------- ##
2292 ac_config_files="$ac_config_files man/Makefile"
2295 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2299 ## ------ ##
2300 ## Perl. ##
2301 ## ------ ##
2303 # We use an absolute name for perl so the #! line in autoscan will work.
2304 # Extract the first word of "perl", so it can be a program name with args.
2305 set dummy perl; ac_word=$2
2306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2308 if test "${ac_cv_path_PERL+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 else
2311 case $PERL in
2312 [\\/]* | ?:[\\/]*)
2313 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 for as_dir in $PATH
2319 IFS=$as_save_IFS
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 break 2
2327 done
2328 done
2329 IFS=$as_save_IFS
2331 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2333 esac
2335 PERL=$ac_cv_path_PERL
2336 if test -n "$PERL"; then
2337 { echo "$as_me:$LINENO: result: $PERL" >&5
2338 echo "${ECHO_T}$PERL" >&6; }
2339 else
2340 { echo "$as_me:$LINENO: result: no" >&5
2341 echo "${ECHO_T}no" >&6; }
2345 if test "$PERL" = no; then
2346 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2347 echo "$as_me: error: perl is not found" >&2;}
2348 { (exit 1); exit 1; }; }
2350 $PERL -e 'require 5.005_03;' || {
2351 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2352 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2353 { (exit 1); exit 1; }; }
2357 ## ------- ##
2358 ## Emacs. ##
2359 ## ------- ##
2361 ac_config_files="$ac_config_files lib/emacs/Makefile"
2363 TEST_EMACS=$EMACS
2364 test x"$TEST_EMACS" = xt && TEST_EMACS=
2365 for ac_prog in emacs xemacs
2367 # Extract the first word of "$ac_prog", so it can be a program name with args.
2368 set dummy $ac_prog; ac_word=$2
2369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2371 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2372 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 else
2374 if test -n "$TEST_EMACS"; then
2375 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2376 else
2377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 for as_dir in $PATH
2380 IFS=$as_save_IFS
2381 test -z "$as_dir" && as_dir=.
2382 for ac_exec_ext in '' $ac_executable_extensions; do
2383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2384 ac_cv_prog_TEST_EMACS="$ac_prog"
2385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2386 break 2
2388 done
2389 done
2390 IFS=$as_save_IFS
2394 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2395 if test -n "$TEST_EMACS"; then
2396 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2397 echo "${ECHO_T}$TEST_EMACS" >&6; }
2398 else
2399 { echo "$as_me:$LINENO: result: no" >&5
2400 echo "${ECHO_T}no" >&6; }
2404 test -n "$TEST_EMACS" && break
2405 done
2406 test -n "$TEST_EMACS" || TEST_EMACS="no"
2409 # autoconf-mode.el and autotest-mode.el do not work with older version of
2410 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2411 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2412 # We detect this problem here.
2413 if test "$TEST_EMACS" != no; then
2414 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2415 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2416 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2417 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 else
2419 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2420 cat >conftest.el << "EOF"
2421 (defvar broken)
2422 (defun broken-mode () (setq broken-defaults `(broken nil)))
2424 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2425 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2426 ac_status=$?
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; then
2429 ac_cv_prog_emacs_ok=yes
2430 else
2431 ac_cv_prog_emacs_ok=no
2434 rm -f conftest.el conftest.elc
2436 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2437 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2438 if test $ac_cv_prog_emacs_ok = no; then
2439 TEST_EMACS=no
2445 EMACS=$TEST_EMACS
2448 # If set to t, that means we are running in a shell under Emacs.
2449 # If you have an Emacs named "t", then use the full path.
2450 test x"$EMACS" = xt && EMACS=
2451 for ac_prog in emacs xemacs
2453 # Extract the first word of "$ac_prog", so it can be a program name with args.
2454 set dummy $ac_prog; ac_word=$2
2455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2457 if test "${ac_cv_prog_EMACS+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 else
2460 if test -n "$EMACS"; then
2461 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2462 else
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH
2466 IFS=$as_save_IFS
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2470 ac_cv_prog_EMACS="$ac_prog"
2471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 break 2
2474 done
2475 done
2476 IFS=$as_save_IFS
2480 EMACS=$ac_cv_prog_EMACS
2481 if test -n "$EMACS"; then
2482 { echo "$as_me:$LINENO: result: $EMACS" >&5
2483 echo "${ECHO_T}$EMACS" >&6; }
2484 else
2485 { echo "$as_me:$LINENO: result: no" >&5
2486 echo "${ECHO_T}no" >&6; }
2490 test -n "$EMACS" && break
2491 done
2492 test -n "$EMACS" || EMACS="no"
2497 # Check whether --with-lispdir was given.
2498 if test "${with_lispdir+set}" = set; then
2499 withval=$with_lispdir; lispdir="$withval"
2500 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2501 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2502 { echo "$as_me:$LINENO: result: $lispdir" >&5
2503 echo "${ECHO_T}$lispdir" >&6; }
2504 else
2506 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2507 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2508 if test "${am_cv_lispdir+set}" = set; then
2509 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 else
2512 if test $EMACS != "no"; then
2513 if test x${lispdir+set} != xset; then
2514 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2515 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2516 # which is non-obvious for non-emacs users.
2517 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2518 # emacsen earlier and avoid running this altogether.
2519 { (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
2520 ($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
2521 ac_status=$?
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }
2524 am_cv_lispdir=`sed -n \
2525 -e 's,/$,,' \
2526 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2527 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2528 conftest.out`
2529 rm conftest.out
2532 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2535 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2536 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2537 lispdir="$am_cv_lispdir"
2545 ## ------------ ##
2546 ## Grep & sed. ##
2547 ## ------------ ##
2548 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2549 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2550 if test "${ac_cv_path_GREP+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 else
2553 # Extract the first word of "grep ggrep" to use in msg output
2554 if test -z "$GREP"; then
2555 set dummy grep ggrep; ac_prog_name=$2
2556 if test "${ac_cv_path_GREP+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 else
2559 ac_path_GREP_found=false
2560 # Loop through the user's path and test for each of PROGNAME-LIST
2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2564 IFS=$as_save_IFS
2565 test -z "$as_dir" && as_dir=.
2566 for ac_prog in grep ggrep; do
2567 for ac_exec_ext in '' $ac_executable_extensions; do
2568 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2569 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2570 # Check for GNU ac_path_GREP and select it if it is found.
2571 # Check for GNU $ac_path_GREP
2572 case `"$ac_path_GREP" --version 2>&1` in
2573 *GNU*)
2574 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2576 ac_count=0
2577 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2578 while :
2580 cat "conftest.in" "conftest.in" >"conftest.tmp"
2581 mv "conftest.tmp" "conftest.in"
2582 cp "conftest.in" "conftest.nl"
2583 echo 'GREP' >> "conftest.nl"
2584 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2586 ac_count=`expr $ac_count + 1`
2587 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2588 # Best one so far, save it but keep looking for a better one
2589 ac_cv_path_GREP="$ac_path_GREP"
2590 ac_path_GREP_max=$ac_count
2592 # 10*(2^10) chars as input seems more than enough
2593 test $ac_count -gt 10 && break
2594 done
2595 rm -f conftest.*;;
2596 esac
2599 $ac_path_GREP_found && break 3
2600 done
2601 done
2603 done
2604 IFS=$as_save_IFS
2609 GREP="$ac_cv_path_GREP"
2610 if test -z "$GREP"; then
2611 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2612 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2613 { (exit 1); exit 1; }; }
2616 else
2617 ac_cv_path_GREP=$GREP
2622 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2623 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2624 GREP="$ac_cv_path_GREP"
2627 { echo "$as_me:$LINENO: checking for egrep" >&5
2628 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2629 if test "${ac_cv_path_EGREP+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2633 then ac_cv_path_EGREP="$GREP -E"
2634 else
2635 # Extract the first word of "egrep" to use in msg output
2636 if test -z "$EGREP"; then
2637 set dummy egrep; ac_prog_name=$2
2638 if test "${ac_cv_path_EGREP+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 else
2641 ac_path_EGREP_found=false
2642 # Loop through the user's path and test for each of PROGNAME-LIST
2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2644 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2646 IFS=$as_save_IFS
2647 test -z "$as_dir" && as_dir=.
2648 for ac_prog in egrep; do
2649 for ac_exec_ext in '' $ac_executable_extensions; do
2650 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2651 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2652 # Check for GNU ac_path_EGREP and select it if it is found.
2653 # Check for GNU $ac_path_EGREP
2654 case `"$ac_path_EGREP" --version 2>&1` in
2655 *GNU*)
2656 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2658 ac_count=0
2659 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2660 while :
2662 cat "conftest.in" "conftest.in" >"conftest.tmp"
2663 mv "conftest.tmp" "conftest.in"
2664 cp "conftest.in" "conftest.nl"
2665 echo 'EGREP' >> "conftest.nl"
2666 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2667 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2668 ac_count=`expr $ac_count + 1`
2669 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2670 # Best one so far, save it but keep looking for a better one
2671 ac_cv_path_EGREP="$ac_path_EGREP"
2672 ac_path_EGREP_max=$ac_count
2674 # 10*(2^10) chars as input seems more than enough
2675 test $ac_count -gt 10 && break
2676 done
2677 rm -f conftest.*;;
2678 esac
2681 $ac_path_EGREP_found && break 3
2682 done
2683 done
2685 done
2686 IFS=$as_save_IFS
2691 EGREP="$ac_cv_path_EGREP"
2692 if test -z "$EGREP"; then
2693 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2694 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2695 { (exit 1); exit 1; }; }
2698 else
2699 ac_cv_path_EGREP=$EGREP
2705 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2706 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2707 EGREP="$ac_cv_path_EGREP"
2710 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2711 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2712 if test "${ac_cv_path_SED+set}" = set; then
2713 echo $ECHO_N "(cached) $ECHO_C" >&6
2714 else
2715 # Extract the first word of "sed gsed" to use in msg output
2716 if test -z "$SED"; then
2717 set dummy sed gsed; ac_prog_name=$2
2718 if test "${ac_cv_path_SED+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 else
2721 ac_path_SED_found=false
2722 # Loop through the user's path and test for each of PROGNAME-LIST
2723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2724 for as_dir in $PATH
2726 IFS=$as_save_IFS
2727 test -z "$as_dir" && as_dir=.
2728 for ac_prog in sed gsed; do
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2731 { test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
2732 # Check for GNU ac_path_SED and select it if it is found.
2733 # Check for GNU $ac_path_SED
2734 case `"$ac_path_SED" --version 2>&1` in
2735 *GNU*)
2736 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2738 ac_count=0
2739 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2740 while :
2742 cat "conftest.in" "conftest.in" >"conftest.tmp"
2743 mv "conftest.tmp" "conftest.in"
2744 cp "conftest.in" "conftest.nl"
2745 echo '' >> "conftest.nl"
2746 "$ac_path_SED" -e 's/a$//' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2747 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2748 ac_count=`expr $ac_count + 1`
2749 if test $ac_count -gt ${ac_path_SED_max-0}; then
2750 # Best one so far, save it but keep looking for a better one
2751 ac_cv_path_SED="$ac_path_SED"
2752 ac_path_SED_max=$ac_count
2754 # 10*(2^10) chars as input seems more than enough
2755 test $ac_count -gt 10 && break
2756 done
2757 rm -f conftest.*;;
2758 esac
2761 $ac_path_SED_found && break 3
2762 done
2763 done
2765 done
2766 IFS=$as_save_IFS
2771 SED="$ac_cv_path_SED"
2772 if test -z "$SED"; then
2773 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2774 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2775 { (exit 1); exit 1; }; }
2778 else
2779 ac_cv_path_SED=$SED
2783 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2784 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2785 SED="$ac_cv_path_SED"
2790 ## ------------ ##
2791 ## Conclusion. ##
2792 ## ------------ ##
2794 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"
2797 cat >confcache <<\_ACEOF
2798 # This file is a shell script that caches the results of configure
2799 # tests run on this system so they can be shared between configure
2800 # scripts and configure runs, see configure's option --config-cache.
2801 # It is not useful on other systems. If it contains results you don't
2802 # want to keep, you may remove or edit it.
2804 # config.status only pays attention to the cache file if you give it
2805 # the --recheck option to rerun configure.
2807 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2808 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2809 # following values.
2811 _ACEOF
2813 # The following way of writing the cache mishandles newlines in values,
2814 # but we know of no workaround that is simple, portable, and efficient.
2815 # So, we kill variables containing newlines.
2816 # Ultrix sh set writes to stderr and can't be redirected directly,
2817 # and sets the high bit in the cache file unless we assign to the vars.
2819 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2820 eval ac_val=\$$ac_var
2821 case $ac_val in #(
2822 *${as_nl}*)
2823 case $ac_var in #(
2824 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2825 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2826 esac
2827 case $ac_var in #(
2828 _ | IFS | as_nl) ;; #(
2829 *) $as_unset $ac_var ;;
2830 esac ;;
2831 esac
2832 done
2834 (set) 2>&1 |
2835 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2836 *${as_nl}ac_space=\ *)
2837 # `set' does not quote correctly, so add quotes (double-quote
2838 # substitution turns \\\\ into \\, and sed turns \\ into \).
2839 sed -n \
2840 "s/'/'\\\\''/g;
2841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2842 ;; #(
2844 # `set' quotes correctly as required by POSIX, so do not add quotes.
2845 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2847 esac
2849 sed '
2850 /^ac_cv_env_/b end
2851 t clear
2852 :clear
2853 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2854 t end
2855 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2856 :end' >>confcache
2857 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2858 if test -w $cache_file; then
2859 test "x$cache_file" != "x/dev/null" &&
2860 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2861 echo "$as_me: updating cache $cache_file" >&6;}
2862 cat confcache >$cache_file
2863 else
2864 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2865 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2868 rm -f confcache
2870 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2871 # Let make expand exec_prefix.
2872 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2874 # Transform confdefs.h into DEFS.
2875 # Protect against shell expansion while executing Makefile rules.
2876 # Protect against Makefile macro expansion.
2878 # If the first sed substitution is executed (which looks for macros that
2879 # take arguments), then we branch to the quote section. Otherwise,
2880 # look for a macro that doesn't take arguments.
2881 cat >confdef2opt.sed <<\_ACEOF
2882 t clear
2883 :clear
2884 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2885 t quote
2886 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2887 t quote
2889 :quote
2890 s/[ `~#$^&*(){}\\|;'"<>?]/\\&/g
2891 s/\[/\\&/g
2892 s/\]/\\&/g
2893 s/\$/$$/g
2895 _ACEOF
2896 # We use echo to avoid assuming a particular line-breaking character.
2897 # The extra dot is to prevent the shell from consuming trailing
2898 # line-breaks from the sub-command output. A line-break within
2899 # single-quotes doesn't work because, if this script is created in a
2900 # platform that uses two characters for line-breaks (e.g., DOS), tr
2901 # would break.
2902 ac_LF_and_DOT=`echo; echo .`
2903 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2904 rm -f confdef2opt.sed
2907 ac_libobjs=
2908 ac_ltlibobjs=
2909 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2910 # 1. Remove the extension, and $U if already installed.
2911 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2912 ac_i=`echo "$ac_i" | sed "$ac_script"`
2913 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2914 # will be set to the directory where LIBOBJS objects are built.
2915 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2916 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2917 done
2918 LIBOBJS=$ac_libobjs
2920 LTLIBOBJS=$ac_ltlibobjs
2924 : ${CONFIG_STATUS=./config.status}
2925 ac_clean_files_save=$ac_clean_files
2926 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2927 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2928 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2929 cat >$CONFIG_STATUS <<_ACEOF
2930 #! $SHELL
2931 # Generated by $as_me.
2932 # Run this file to recreate the current configuration.
2933 # Compiler output produced by configure, useful for debugging
2934 # configure, is in config.log if it exists.
2936 debug=false
2937 ac_cs_recheck=false
2938 ac_cs_silent=false
2939 SHELL=\${CONFIG_SHELL-$SHELL}
2940 _ACEOF
2942 cat >>$CONFIG_STATUS <<\_ACEOF
2943 ## --------------------- ##
2944 ## M4sh Initialization. ##
2945 ## --------------------- ##
2947 # Be Bourne compatible
2948 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2949 emulate sh
2950 NULLCMD=:
2951 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2952 # is contrary to our usage. Disable this feature.
2953 alias -g '${1+"$@"}'='"$@"'
2954 setopt NO_GLOB_SUBST
2955 else
2956 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2958 BIN_SH=xpg4; export BIN_SH # for Tru64
2959 DUALCASE=1; export DUALCASE # for MKS sh
2962 # PATH needs CR
2963 # Avoid depending upon Character Ranges.
2964 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2965 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2966 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2967 as_cr_digits='0123456789'
2968 as_cr_alnum=$as_cr_Letters$as_cr_digits
2970 # The user is always right.
2971 if test "${PATH_SEPARATOR+set}" != set; then
2972 echo "#! /bin/sh" >conf$$.sh
2973 echo "exit 0" >>conf$$.sh
2974 chmod +x conf$$.sh
2975 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2976 PATH_SEPARATOR=';'
2977 else
2978 PATH_SEPARATOR=:
2980 rm -f conf$$.sh
2983 # Support unset when possible.
2984 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2985 as_unset=unset
2986 else
2987 as_unset=false
2991 # IFS
2992 # We need space, tab and new line, in precisely that order. Quoting is
2993 # there to prevent editors from complaining about space-tab.
2994 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2995 # splitting by setting IFS to empty value.)
2996 as_nl='
2998 IFS=" "" $as_nl"
3000 # Find who we are. Look in the path if we contain no directory separator.
3001 case $0 in
3002 *[\\/]* ) as_myself=$0 ;;
3003 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 for as_dir in $PATH
3006 IFS=$as_save_IFS
3007 test -z "$as_dir" && as_dir=.
3008 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3009 done
3010 IFS=$as_save_IFS
3013 esac
3014 # We did not find ourselves, most probably we were run as `sh COMMAND'
3015 # in which case we are not to be found in the path.
3016 if test "x$as_myself" = x; then
3017 as_myself=$0
3019 if test ! -f "$as_myself"; then
3020 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
3021 { (exit 1); exit 1; }; }
3024 # Work around bugs in pre-3.0 UWIN ksh.
3025 for as_var in ENV MAIL MAILPATH
3026 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3027 done
3028 PS1='$ '
3029 PS2='> '
3030 PS4='+ '
3032 # NLS nuisances.
3033 for as_var in \
3034 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3035 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3036 LC_TELEPHONE LC_TIME
3038 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3039 eval $as_var=C; export $as_var
3040 else
3041 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3043 done
3045 # Required to use basename.
3046 if expr a : '\(a\)' >/dev/null 2>&1 &&
3047 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3048 as_expr=expr
3049 else
3050 as_expr=false
3053 if as_basename=`(basename -- /) 2>&1` && test "X$as_basename" = "X/"; then
3054 as_basename=basename
3055 else
3056 as_basename=false
3060 # Name of the executable.
3061 as_me=$0
3062 as_me=`$as_basename -- "$as_me" ||
3063 $as_expr X/"$as_me" : '.*/\([^/][^/]*\)/*$' \| \
3064 X"$as_me" : 'X\(//\)$' \| \
3065 X"$as_me" : 'X\(/\)' \| . 2>/dev/null ||
3066 echo X/"$as_me" |
3067 sed '/^.*\/\([^/][^/]*\)\/*$/{
3068 s//\1/
3071 /^X\/\(\/\/\)$/{
3072 s//\1/
3075 /^X\/\(\/\).*/{
3076 s//\1/
3079 s/.*/./; q'`
3081 # CDPATH.
3082 $as_unset CDPATH
3086 as_lineno_1=$LINENO
3087 as_lineno_2=$LINENO
3088 test "x$as_lineno_1" != "x$as_lineno_2" &&
3089 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3091 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3092 # uniformly replaced by the line number. The first 'sed' inserts a
3093 # line-number line after each line using $LINENO; the second 'sed'
3094 # does the real work. The second script uses 'N' to pair each
3095 # line-number line with the line containing $LINENO, and appends
3096 # trailing '-' during substitution so that $LINENO is not a special
3097 # case at line end.
3098 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3099 # scripts with optimization help from Paolo Bonzini. Blame Lee
3100 # E. McMahon (1931-1989) for sed's syntax. :-)
3101 sed -n '
3103 /[$]LINENO/=
3104 ' <$as_myself |
3105 sed '
3106 s/[$]LINENO.*/&-/
3107 t lineno
3109 :lineno
3111 :loop
3112 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3113 t loop
3114 s/-\n.*//
3115 ' >$as_me.lineno &&
3116 chmod +x "$as_me.lineno" ||
3117 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3118 { (exit 1); exit 1; }; }
3120 # Don't try to exec as it changes $[0], causing all sort of problems
3121 # (the dirname of $[0] is not the place where we might find the
3122 # original and so on. Autoconf is especially sensitive to this).
3123 . "./$as_me.lineno"
3124 # Exit status is that of the last command.
3125 exit
3129 if (dirname -- /) >/dev/null 2>&1; then
3130 as_dirname=dirname
3131 else
3132 as_dirname=false
3135 ECHO_C= ECHO_N= ECHO_T=
3136 case `echo -n x` in
3137 -n*)
3138 case `echo 'x\c'` in
3139 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3140 *) ECHO_C='\c';;
3141 esac;;
3143 ECHO_N='-n';;
3144 esac
3146 if expr a : '\(a\)' >/dev/null 2>&1 &&
3147 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3148 as_expr=expr
3149 else
3150 as_expr=false
3153 rm -f conf$$ conf$$.exe conf$$.file
3154 if test -d conf$$.dir; then
3155 rm -f conf$$.dir/conf$$.file
3156 else
3157 rm -f conf$$.dir
3158 mkdir conf$$.dir
3160 echo >conf$$.file
3161 if ln -s conf$$.file conf$$ 2>/dev/null; then
3162 as_ln_s='ln -s'
3163 # ... but there are two gotchas:
3164 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3165 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3166 # In both cases, we have to default to `cp -p'.
3167 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3168 as_ln_s='cp -p'
3169 elif ln conf$$.file conf$$ 2>/dev/null; then
3170 as_ln_s=ln
3171 else
3172 as_ln_s='cp -p'
3174 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3175 rmdir conf$$.dir 2>/dev/null
3177 if mkdir -p . 2>/dev/null; then
3178 as_mkdir_p=:
3179 else
3180 test -d ./-p && rmdir ./-p
3181 as_mkdir_p=false
3184 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3185 # systems may use methods other than mode bits to determine executability.
3186 cat >conf$$.file <<_ASEOF
3187 #! /bin/sh
3188 exit 0
3189 _ASEOF
3190 chmod +x conf$$.file
3191 if test -x conf$$.file >/dev/null 2>&1; then
3192 as_executable_p="test -x"
3193 else
3194 as_executable_p=:
3196 rm -f conf$$.file
3198 # Sed expression to map a string onto a valid CPP name.
3199 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3201 # Sed expression to map a string onto a valid variable name.
3202 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3205 exec 6>&1
3207 # Save the log message, to keep $[0] and so on meaningful, and to
3208 # report actual input values of CONFIG_FILES etc. instead of their
3209 # values after options handling.
3210 ac_log="
3211 This file was extended by GNU Autoconf $as_me 2.59d, which was
3212 generated by GNU Autoconf 2.59d. Invocation command line was
3214 CONFIG_FILES = $CONFIG_FILES
3215 CONFIG_HEADERS = $CONFIG_HEADERS
3216 CONFIG_LINKS = $CONFIG_LINKS
3217 CONFIG_COMMANDS = $CONFIG_COMMANDS
3218 $ $0 $@
3220 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3223 _ACEOF
3225 cat >>$CONFIG_STATUS <<_ACEOF
3226 # Files that config.status was made for.
3227 config_files="$ac_config_files"
3228 config_commands="$ac_config_commands"
3230 _ACEOF
3232 cat >>$CONFIG_STATUS <<\_ACEOF
3233 ac_cs_usage="\
3234 \`$as_me' instantiates files from templates according to the
3235 current configuration.
3237 Usage: $0 [OPTIONS] [FILE]...
3239 -h, --help print this help, then exit
3240 -V, --version print version number, then exit
3241 -q, --quiet do not print progress messages
3242 -d, --debug don't remove temporary files
3243 --recheck update $as_me by reconfiguring in the same conditions
3244 --file=FILE[:TEMPLATE]
3245 instantiate the configuration file FILE
3247 Configuration files:
3248 $config_files
3250 Configuration commands:
3251 $config_commands
3253 Report bugs to <bug-autoconf@gnu.org>."
3255 _ACEOF
3256 cat >>$CONFIG_STATUS <<_ACEOF
3257 ac_cs_version="\\
3258 GNU Autoconf config.status 2.59d
3259 configured by $0, generated by GNU Autoconf 2.59d,
3260 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3262 Copyright (C) 2006 Free Software Foundation, Inc.
3263 This config.status script is free software; the Free Software Foundation
3264 gives unlimited permission to copy, distribute and modify it."
3266 ac_pwd='$ac_pwd'
3267 srcdir='$srcdir'
3268 INSTALL='$INSTALL'
3270 _ACEOF
3272 cat >>$CONFIG_STATUS <<\_ACEOF
3273 # If no file are specified by the user, then we need to provide default
3274 # value. By we need to know if files were specified by the user.
3275 ac_need_defaults=:
3276 while test $# != 0
3278 case $1 in
3279 --*=*)
3280 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3281 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3282 ac_shift=:
3285 ac_option=$1
3286 ac_optarg=$2
3287 ac_shift=shift
3289 esac
3291 case $ac_option in
3292 # Handling of the options.
3293 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3294 ac_cs_recheck=: ;;
3295 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3296 echo "$ac_cs_version"; exit ;;
3297 --debug | --debu | --deb | --de | --d | -d )
3298 debug=: ;;
3299 --file | --fil | --fi | --f )
3300 $ac_shift
3301 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3302 ac_need_defaults=false;;
3303 --he | --h | --help | --hel | -h )
3304 echo "$ac_cs_usage"; exit ;;
3305 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3306 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3307 ac_cs_silent=: ;;
3309 # This is an error.
3310 -*) { echo "$as_me: error: unrecognized option: $1
3311 Try \`$0 --help' for more information." >&2
3312 { (exit 1); exit 1; }; } ;;
3314 *) ac_config_targets="$ac_config_targets $1"
3315 ac_need_defaults=false ;;
3317 esac
3318 shift
3319 done
3321 ac_configure_extra_args=
3323 if $ac_cs_silent; then
3324 exec 6>/dev/null
3325 ac_configure_extra_args="$ac_configure_extra_args --silent"
3328 _ACEOF
3329 cat >>$CONFIG_STATUS <<_ACEOF
3330 if \$ac_cs_recheck; then
3331 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3332 CONFIG_SHELL=$SHELL
3333 export CONFIG_SHELL
3334 exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3337 _ACEOF
3338 cat >>$CONFIG_STATUS <<\_ACEOF
3339 exec 5>>config.log
3341 echo
3342 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3343 ## Running $as_me. ##
3344 _ASBOX
3345 echo "$ac_log"
3346 } >&5
3348 _ACEOF
3349 cat >>$CONFIG_STATUS <<_ACEOF
3350 _ACEOF
3352 cat >>$CONFIG_STATUS <<\_ACEOF
3354 # Handling of arguments.
3355 for ac_config_target in $ac_config_targets
3357 case $ac_config_target in
3358 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3359 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3360 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3361 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3362 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3363 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3364 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3365 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3366 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3367 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3368 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3369 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3370 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3371 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3372 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3374 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3375 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3376 { (exit 1); exit 1; }; };;
3377 esac
3378 done
3381 # If the user did not use the arguments to specify the items to instantiate,
3382 # then the envvar interface is used. Set only those that are not.
3383 # We use the long form for the default assignment because of an extremely
3384 # bizarre bug on SunOS 4.1.3.
3385 if $ac_need_defaults; then
3386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3387 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3390 # Have a temporary directory for convenience. Make it in the build tree
3391 # simply because there is no reason against having it here, and in addition,
3392 # creating and moving files from /tmp can sometimes cause problems.
3393 # Hook for its removal unless debugging.
3394 # Note that there is a small window in which the directory will not be cleaned:
3395 # after its creation but before its name has been assigned to `$tmp'.
3396 $debug ||
3398 tmp=
3399 trap 'exit_status=$?
3400 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3402 trap '{ (exit 1); exit 1; }' 1 2 13 15
3404 # Create a (secure) tmp directory for tmp files.
3407 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3408 test -n "$tmp" && test -d "$tmp"
3409 } ||
3411 tmp=./conf$$-$RANDOM
3412 (umask 077 && mkdir "$tmp")
3413 } ||
3415 echo "$me: cannot create a temporary directory in ." >&2
3416 { (exit 1); exit 1; }
3420 # Set up the sed scripts for CONFIG_FILES section.
3423 # No need to generate the scripts if there are no CONFIG_FILES.
3424 # This happens for instance when ./config.status config.h
3425 if test -n "$CONFIG_FILES"; then
3427 _ACEOF
3431 ac_delim='%!_!# '
3432 for ac_last_try in false false false false false :; do
3433 cat >conf$$subs.sed <<_ACEOF
3434 SHELL!$SHELL$ac_delim
3435 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3436 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3437 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3438 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3439 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3440 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3441 exec_prefix!$exec_prefix$ac_delim
3442 prefix!$prefix$ac_delim
3443 program_transform_name!$program_transform_name$ac_delim
3444 bindir!$bindir$ac_delim
3445 sbindir!$sbindir$ac_delim
3446 libexecdir!$libexecdir$ac_delim
3447 datarootdir!$datarootdir$ac_delim
3448 datadir!$datadir$ac_delim
3449 sysconfdir!$sysconfdir$ac_delim
3450 sharedstatedir!$sharedstatedir$ac_delim
3451 localstatedir!$localstatedir$ac_delim
3452 includedir!$includedir$ac_delim
3453 oldincludedir!$oldincludedir$ac_delim
3454 docdir!$docdir$ac_delim
3455 infodir!$infodir$ac_delim
3456 htmldir!$htmldir$ac_delim
3457 dvidir!$dvidir$ac_delim
3458 pdfdir!$pdfdir$ac_delim
3459 psdir!$psdir$ac_delim
3460 libdir!$libdir$ac_delim
3461 localedir!$localedir$ac_delim
3462 mandir!$mandir$ac_delim
3463 DEFS!$DEFS$ac_delim
3464 ECHO_C!$ECHO_C$ac_delim
3465 ECHO_N!$ECHO_N$ac_delim
3466 ECHO_T!$ECHO_T$ac_delim
3467 LIBS!$LIBS$ac_delim
3468 build_alias!$build_alias$ac_delim
3469 host_alias!$host_alias$ac_delim
3470 target_alias!$target_alias$ac_delim
3471 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3472 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3473 INSTALL_DATA!$INSTALL_DATA$ac_delim
3474 CYGPATH_W!$CYGPATH_W$ac_delim
3475 PACKAGE!$PACKAGE$ac_delim
3476 VERSION!$VERSION$ac_delim
3477 ACLOCAL!$ACLOCAL$ac_delim
3478 AUTOCONF!$AUTOCONF$ac_delim
3479 AUTOMAKE!$AUTOMAKE$ac_delim
3480 AUTOHEADER!$AUTOHEADER$ac_delim
3481 MAKEINFO!$MAKEINFO$ac_delim
3482 install_sh!$install_sh$ac_delim
3483 STRIP!$STRIP$ac_delim
3484 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3485 mkdir_p!$mkdir_p$ac_delim
3486 AWK!$AWK$ac_delim
3487 SET_MAKE!$SET_MAKE$ac_delim
3488 am__leading_dot!$am__leading_dot$ac_delim
3489 AMTAR!$AMTAR$ac_delim
3490 am__tar!$am__tar$ac_delim
3491 am__untar!$am__untar$ac_delim
3492 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3493 EXPR!$EXPR$ac_delim
3494 M4!$M4$ac_delim
3495 HELP2MAN!$HELP2MAN$ac_delim
3496 PERL!$PERL$ac_delim
3497 TEST_EMACS!$TEST_EMACS$ac_delim
3498 EMACS!$EMACS$ac_delim
3499 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3500 lispdir!$lispdir$ac_delim
3501 GREP!$GREP$ac_delim
3502 EGREP!$EGREP$ac_delim
3503 SED!$SED$ac_delim
3504 LIBOBJS!$LIBOBJS$ac_delim
3505 LTLIBOBJS!$LTLIBOBJS$ac_delim
3506 _ACEOF
3508 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 72; then
3509 break
3510 elif $ac_last_try; then
3511 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3512 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3513 { (exit 1); exit 1; }; }
3514 else
3515 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3517 done
3519 ac_eof=
3520 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
3521 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3522 ac_eof=`expr 0$ac_eof + 1`
3525 cat >>$CONFIG_STATUS <<_ACEOF
3526 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3527 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3528 _ACEOF
3529 sed '
3530 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3531 s/^/s,@/; s/!/@,|#_!!_#|/
3534 s/'"$ac_delim"'$/,g/; t
3535 s/$/\\/; p
3536 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3537 ' >>$CONFIG_STATUS <conf$$subs.sed
3538 rm -f conf$$subs.sed
3539 cat >>$CONFIG_STATUS <<_ACEOF
3540 :end
3541 s/|#_!!_#|//g
3542 CEOF$ac_eof
3543 _ACEOF
3546 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3547 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3548 # trailing colons and then remove the whole line if VPATH becomes empty
3549 # (actually we leave an empty line to preserve line numbers).
3550 if test "x$srcdir" = x.; then
3551 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3552 s/:*\$(srcdir):*/:/
3553 s/:*\${srcdir}:*/:/
3554 s/:*@srcdir@:*/:/
3555 s/^\([^=]*=[ ]*\):*/\1/
3556 s/:*$//
3557 s/^[^=]*=[ ]*$//
3561 cat >>$CONFIG_STATUS <<\_ACEOF
3562 fi # test -n "$CONFIG_FILES"
3565 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3567 case $ac_tag in
3568 :[FHLC]) ac_mode=$ac_tag; continue;;
3569 esac
3570 case $ac_mode$ac_tag in
3571 :[FHL]*:*);;
3572 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3573 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3574 { (exit 1); exit 1; }; };;
3575 :[FH]-) ac_tag=-:-;;
3576 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3577 esac
3578 ac_save_IFS=$IFS
3579 IFS=:
3580 set x $ac_tag
3581 IFS=$ac_save_IFS
3582 shift
3583 ac_file=$1
3584 shift
3586 case $ac_mode in
3587 :L) ac_source=$1;;
3588 :[FH])
3589 ac_file_inputs=
3590 for ac_f
3592 case $ac_f in
3593 -) ac_f="$tmp/stdin";;
3594 *) # Look for the file first in the build tree, then in the source tree
3595 # (if the path is not absolute). The absolute path cannot be DOS-style,
3596 # because $ac_f cannot contain `:'.
3597 test -f "$ac_f" ||
3598 case $ac_f in
3599 [\\/$]*) false;;
3600 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3601 esac ||
3602 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3603 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3604 { (exit 1); exit 1; }; };;
3605 esac
3606 ac_file_inputs="$ac_file_inputs $ac_f"
3607 done
3609 # Let's still pretend it is `configure' which instantiates (i.e., don't
3610 # use $as_me), people would be surprised to read:
3611 # /* config.h. Generated by config.status. */
3612 configure_input="Generated from "`IFS=:
3613 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3614 if test x"$ac_file" != x-; then
3615 configure_input="$ac_file. $configure_input"
3616 { echo "$as_me:$LINENO: creating $ac_file" >&5
3617 echo "$as_me: creating $ac_file" >&6;}
3620 case $ac_tag in
3621 *:-:* | *:-) cat >"$tmp/stdin";;
3622 esac
3624 esac
3626 ac_dir="$ac_file"
3627 ac_dir=`$as_dirname -- "$ac_dir" ||
3628 $as_expr X"$ac_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3629 X"$ac_dir" : 'X\(//\)[^/]' \| \
3630 X"$ac_dir" : 'X\(//\)$' \| \
3631 X"$ac_dir" : 'X\(/\)' \| . 2>/dev/null ||
3632 echo X"$ac_dir" |
3633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3634 s//\1/
3637 /^X\(\/\/\)[^/].*/{
3638 s//\1/
3641 /^X\(\/\/\)$/{
3642 s//\1/
3645 /^X\(\/\).*/{
3646 s//\1/
3649 s/.*/./; q'`
3650 { if $as_mkdir_p; then
3651 test -d "$ac_dir" || mkdir -p "$ac_dir"
3652 else
3653 as_dir="$ac_dir"
3654 as_dirs=
3655 while test ! -d "$as_dir"; do
3656 as_dirs="$as_dir $as_dirs"
3657 as_dir="$as_dir"
3658 as_dir=`$as_dirname -- "$as_dir" ||
3659 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3660 X"$as_dir" : 'X\(//\)[^/]' \| \
3661 X"$as_dir" : 'X\(//\)$' \| \
3662 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3663 echo X"$as_dir" |
3664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3665 s//\1/
3668 /^X\(\/\/\)[^/].*/{
3669 s//\1/
3672 /^X\(\/\/\)$/{
3673 s//\1/
3676 /^X\(\/\).*/{
3677 s//\1/
3680 s/.*/./; q'`
3681 done
3682 test ! -n "$as_dirs" || mkdir $as_dirs
3683 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3684 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3685 { (exit 1); exit 1; }; }; }
3686 ac_builddir=.
3688 case "$ac_dir" in
3689 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3691 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3692 # A ".." for each directory in $ac_dir_suffix.
3693 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3694 case $ac_top_builddir_sub in
3695 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3696 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3697 esac ;;
3698 esac
3699 ac_abs_top_builddir=$ac_pwd
3700 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3701 # for backward compatibility:
3702 ac_top_builddir=$ac_top_build_prefix
3704 case $srcdir in
3705 .) # We are building in place.
3706 ac_srcdir=.
3707 ac_top_srcdir=$ac_top_builddir_sub
3708 ac_abs_top_srcdir=$ac_pwd ;;
3709 [\\/]* | ?:[\\/]* ) # Absolute name.
3710 ac_srcdir=$srcdir$ac_dir_suffix;
3711 ac_top_srcdir=$srcdir
3712 ac_abs_top_srcdir=$srcdir ;;
3713 *) # Relative name.
3714 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3715 ac_top_srcdir=$ac_top_build_prefix$srcdir
3716 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3717 esac
3718 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3721 case $ac_mode in
3724 # CONFIG_FILE
3727 case $INSTALL in
3728 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3729 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3730 esac
3732 _ACEOF
3734 cat >>$CONFIG_STATUS <<\_ACEOF
3735 # If the template does not know about datarootdir, expand it.
3736 # FIXME: This hack should be removed a few years after 2.60.
3737 ac_datarootdir_hack=
3739 case `sed -n '/datarootdir/ {
3743 /@datadir@/p
3744 /@docdir@/p
3745 /@infodir@/p
3746 /@localedir@/p
3747 /@mandir@/p
3748 ' $ac_file_inputs` in
3749 *datarootdir*) ;;
3750 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3751 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3752 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3753 _ACEOF
3754 cat >>$CONFIG_STATUS <<_ACEOF
3755 ac_datarootdir_hack='
3756 s&@datadir@&$datadir&g
3757 s&@docdir@&$docdir&g
3758 s&@infodir@&$infodir&g
3759 s&@localedir@&$localedir&g
3760 s&@mandir@&$mandir&g
3761 s&\\\${datarootdir}&$datarootdir&g' ;;
3762 esac
3763 _ACEOF
3765 # Neutralize VPATH when `$srcdir' = `.'.
3766 # Shell code in configure.ac might set extrasub.
3767 # FIXME: do we really want to maintain this feature?
3768 cat >>$CONFIG_STATUS <<_ACEOF
3769 sed "$ac_vpsub
3770 $extrasub
3771 _ACEOF
3772 cat >>$CONFIG_STATUS <<\_ACEOF
3774 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3775 s&@configure_input@&$configure_input&;t t
3776 s&@top_builddir@&$ac_top_builddir_sub&;t t
3777 s&@srcdir@&$ac_srcdir&;t t
3778 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3779 s&@top_srcdir@&$ac_top_srcdir&;t t
3780 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3781 s&@builddir@&$ac_builddir&;t t
3782 s&@abs_builddir@&$ac_abs_builddir&;t t
3783 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3784 s&@INSTALL@&$ac_INSTALL&;t t
3785 $ac_datarootdir_hack
3786 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3788 rm -f "$tmp/stdin"
3789 case $ac_file in
3790 -) cat "$tmp/out"; rm -f "$tmp/out";;
3791 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3792 esac
3796 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3797 echo "$as_me: executing $ac_file commands" >&6;}
3799 esac
3802 case $ac_file$ac_mode in
3803 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3804 # Configurable variable values for building test suites.
3805 # Generated by $0.
3806 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3808 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3809 at_testdir='tests'
3810 abs_builddir='$ac_abs_builddir'
3811 at_srcdir='$ac_srcdir'
3812 abs_srcdir='$ac_abs_srcdir'
3813 at_top_srcdir='$ac_top_srcdir'
3814 abs_top_srcdir='$ac_abs_top_srcdir'
3815 at_top_build_prefix='$ac_top_build_prefix'
3816 abs_top_builddir='$ac_abs_top_builddir'
3818 # Backward compatibility with Autotest <= 2.59b:
3819 at_top_builddir=\$at_top_build_prefix
3821 AUTOTEST_PATH='tests'
3823 SHELL=\${CONFIG_SHELL-'$SHELL'}
3824 ATEOF
3827 esac
3828 done # for ac_tag
3831 { (exit 0); exit 0; }
3832 _ACEOF
3833 chmod +x $CONFIG_STATUS
3834 ac_clean_files=$ac_clean_files_save
3837 # configure is writing to config.log, and then calls config.status.
3838 # config.status does its own redirection, appending to config.log.
3839 # Unfortunately, on DOS this fails, as config.log is still kept open
3840 # by configure, so config.status won't be able to write to it; its
3841 # output is simply discarded. So we exec the FD to /dev/null,
3842 # effectively closing config.log, so it can be properly (re)opened and
3843 # appended to by config.status. When coming back to configure, we
3844 # need to make the FD available again.
3845 if test "$no_create" != yes; then
3846 ac_cs_success=:
3847 ac_config_status_args=
3848 test "$silent" = yes &&
3849 ac_config_status_args="$ac_config_status_args --quiet"
3850 exec 5>/dev/null
3851 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3852 exec 5>>config.log
3853 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3854 # would make configure fail if this is the last instruction.
3855 $ac_cs_success || { (exit 1); exit 1; }
3858 # Report the state of this version of Autoconf if this is a beta.
3859 cat <<EOF
3861 You are about to use an experimental version of Autoconf. Be sure to
3862 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3864 Below you will find information on the status of this version of Autoconf.
3868 sed -n '/^\* Status/,$p' $srcdir/BUGS