Regenerate.
[autoconf.git] / configure
blobbbfd6f2bc86ad177e7d07fedaf1432f159e52b8c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59c for GNU Autoconf 2.59c.
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 (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
122 as_basename=basename
123 else
124 as_basename=false
128 # Name of the executable.
129 as_me=`$as_basename "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 echo X/"$0" |
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
135 s//\1/
138 /^X\/\(\/\/\)$/{
139 s//\1/
142 /^X\/\(\/\).*/{
143 s//\1/
146 s/.*/./; q'`
148 # CDPATH.
149 $as_unset CDPATH
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
154 as_have_required=yes
155 else
156 as_have_required=no
159 if test $as_have_required = yes && (eval ":
160 (as_func_return () {
161 (exit \$1)
163 as_func_success () {
164 as_func_return 0
166 as_func_failure () {
167 as_func_return 1
169 as_func_ret_success () {
170 return 0
172 as_func_ret_failure () {
173 return 1
176 exitcode=0
177 if as_func_success; then
179 else
180 exitcode=1
181 echo as_func_success failed.
184 if as_func_failure; then
185 exitcode=1
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
191 else
192 exitcode=1
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 else
204 exitcode=1
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
211 as_lineno_1=\$LINENO
212 as_lineno_2=\$LINENO
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
217 else
218 as_candidate_shells=
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 case $as_dir in
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
228 done
229 esac
230 done
231 IFS=$as_save_IFS
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells which exist, to save several forks.
236 if test -f $as_shell &&
237 { ($as_shell) 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
253 _ASEOF
254 }; then
255 CONFIG_SHELL=$as_shell
256 as_have_required=yes
257 if { $as_shell 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266 else
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
273 (as_func_return () {
274 (exit $1)
276 as_func_success () {
277 as_func_return 0
279 as_func_failure () {
280 as_func_return 1
282 as_func_ret_success () {
283 return 0
285 as_func_ret_failure () {
286 return 1
289 exitcode=0
290 if as_func_success; then
292 else
293 exitcode=1
294 echo as_func_success failed.
297 if as_func_failure; then
298 exitcode=1
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
304 else
305 exitcode=1
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
310 exitcode=1
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 else
317 exitcode=1
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
324 as_lineno_1=$LINENO
325 as_lineno_2=$LINENO
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329 _ASEOF
330 }; then
331 break
336 done
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 done
342 export CONFIG_SHELL
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
363 (exit \$1)
365 as_func_success () {
366 as_func_return 0
368 as_func_failure () {
369 as_func_return 1
371 as_func_ret_success () {
372 return 0
374 as_func_ret_failure () {
375 return 1
378 exitcode=0
379 if as_func_success; then
381 else
382 exitcode=1
383 echo as_func_success failed.
386 if as_func_failure; then
387 exitcode=1
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
393 else
394 exitcode=1
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
399 exitcode=1
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 else
406 exitcode=1
407 echo positional parameters were not saved.
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
414 echo message
419 as_lineno_1=$LINENO
420 as_lineno_2=$LINENO
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
430 # case at line end.
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
442 :lineno
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
462 if (dirname /) >/dev/null 2>&1; then
463 as_dirname=dirname
464 else
465 as_dirname=false
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in
470 -n*)
471 case `echo 'x\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 *) ECHO_C='\c';;
474 esac;;
476 ECHO_N='-n';;
477 esac
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
481 as_expr=expr
482 else
483 as_expr=false
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
489 else
490 rm -f conf$$.dir
491 mkdir conf$$.dir
493 echo >conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null &&
495 ln -s conf$$.file conf$$.dir 2>/dev/null; then
496 # We could just check for DJGPP; but this test a) works b) is more generic
497 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
498 if test -f conf$$.exe; then
499 # Don't use ln at all; we don't have any links
500 as_ln_s='cp -p'
501 else
502 as_ln_s='ln -s'
504 elif ln conf$$.file conf$$ 2>/dev/null; then
505 as_ln_s=ln
506 else
507 as_ln_s='cp -p'
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p=:
514 else
515 test -d ./-p && rmdir ./-p
516 as_mkdir_p=false
519 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
520 # systems may use methods other than mode bits to determine executability.
521 cat >conf$$.file <<_ASEOF
522 #! /bin/sh
523 exit 0
524 _ASEOF
525 chmod +x conf$$.file
526 if test -x conf$$.file >/dev/null 2>&1; then
527 as_executable_p="test -x"
528 else
529 as_executable_p=:
531 rm -f conf$$.file
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 exec 7<&0 </dev/null 6>&1
543 # Name of the host.
544 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 # Initializations.
551 ac_default_prefix=/usr/local
552 ac_clean_files=
553 ac_config_libobj_dir=.
554 LIBOBJS=
555 cross_compiling=no
556 subdirs=
557 MFLAGS=
558 MAKEFLAGS=
559 SHELL=${CONFIG_SHELL-/bin/sh}
561 # Identity of this package.
562 PACKAGE_NAME='GNU Autoconf'
563 PACKAGE_TARNAME='autoconf'
564 PACKAGE_VERSION='2.59c'
565 PACKAGE_STRING='GNU Autoconf 2.59c'
566 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
568 ac_unique_file="ChangeLog"
569 ac_subst_vars='SHELL
570 PATH_SEPARATOR
571 PACKAGE_NAME
572 PACKAGE_TARNAME
573 PACKAGE_VERSION
574 PACKAGE_STRING
575 PACKAGE_BUGREPORT
576 exec_prefix
577 prefix
578 program_transform_name
579 bindir
580 sbindir
581 libexecdir
582 datarootdir
583 datadir
584 sysconfdir
585 sharedstatedir
586 localstatedir
587 includedir
588 oldincludedir
589 docdir
590 infodir
591 htmldir
592 dvidir
593 pdfdir
594 psdir
595 libdir
596 localedir
597 mandir
598 DEFS
599 ECHO_C
600 ECHO_N
601 ECHO_T
602 LIBS
603 build_alias
604 host_alias
605 target_alias
606 INSTALL_PROGRAM
607 INSTALL_SCRIPT
608 INSTALL_DATA
609 CYGPATH_W
610 PACKAGE
611 VERSION
612 ACLOCAL
613 AUTOCONF
614 AUTOMAKE
615 AUTOHEADER
616 MAKEINFO
617 install_sh
618 STRIP
619 INSTALL_STRIP_PROGRAM
620 mkdir_p
622 SET_MAKE
623 am__leading_dot
624 AMTAR
625 am__tar
626 am__untar
627 ac_cv_sh_n_works
628 EXPR
630 HELP2MAN
631 PERL
632 TEST_EMACS
633 EMACS
634 EMACSLOADPATH
635 lispdir
636 GREP
637 EGREP
639 LIBOBJS
640 LTLIBOBJS'
641 ac_subst_files=''
642 ac_precious_vars='build_alias
643 host_alias
644 target_alias
645 EMACS
646 EMACSLOADPATH'
649 # Initialize some variables set by options.
650 ac_init_help=
651 ac_init_version=false
652 # The variables have the same names as the options, with
653 # dashes changed to underlines.
654 cache_file=/dev/null
655 exec_prefix=NONE
656 no_create=
657 no_recursion=
658 prefix=NONE
659 program_prefix=NONE
660 program_suffix=NONE
661 program_transform_name=s,x,x,
662 silent=
663 site=
664 srcdir=
665 verbose=
666 x_includes=NONE
667 x_libraries=NONE
669 # Installation directory options.
670 # These are left unexpanded so users can "make install exec_prefix=/foo"
671 # and all the variables that are supposed to be based on exec_prefix
672 # by default will actually change.
673 # Use braces instead of parens because sh, perl, etc. also accept them.
674 # (The list follows the same order as the GNU Coding Standards.)
675 bindir='${exec_prefix}/bin'
676 sbindir='${exec_prefix}/sbin'
677 libexecdir='${exec_prefix}/libexec'
678 datarootdir='${prefix}/share'
679 datadir='${datarootdir}'
680 sysconfdir='${prefix}/etc'
681 sharedstatedir='${prefix}/com'
682 localstatedir='${prefix}/var'
683 includedir='${prefix}/include'
684 oldincludedir='/usr/include'
685 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
686 infodir='${datarootdir}/info'
687 htmldir='${docdir}'
688 dvidir='${docdir}'
689 pdfdir='${docdir}'
690 psdir='${docdir}'
691 libdir='${exec_prefix}/lib'
692 localedir='${datarootdir}/locale'
693 mandir='${datarootdir}/man'
695 ac_prev=
696 ac_dashdash=
697 for ac_option
699 # If the previous option needs an argument, assign it.
700 if test -n "$ac_prev"; then
701 eval $ac_prev=\$ac_option
702 ac_prev=
703 continue
706 case $ac_option in
707 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
708 *) ac_optarg=yes ;;
709 esac
711 # Accept the important Cygnus configure options, so we can diagnose typos.
713 case $ac_dashdash$ac_option in
715 ac_dashdash=yes ;;
717 -bindir | --bindir | --bindi | --bind | --bin | --bi)
718 ac_prev=bindir ;;
719 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
720 bindir=$ac_optarg ;;
722 -build | --build | --buil | --bui | --bu)
723 ac_prev=build_alias ;;
724 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
725 build_alias=$ac_optarg ;;
727 -cache-file | --cache-file | --cache-fil | --cache-fi \
728 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
729 ac_prev=cache_file ;;
730 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
731 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
732 cache_file=$ac_optarg ;;
734 --config-cache | -C)
735 cache_file=config.cache ;;
737 -datadir | --datadir | --datadi | --datad)
738 ac_prev=datadir ;;
739 -datadir=* | --datadir=* | --datadi=* | --datad=*)
740 datadir=$ac_optarg ;;
742 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
743 | --dataroo | --dataro | --datar)
744 ac_prev=datarootdir ;;
745 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
746 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
747 datarootdir=$ac_optarg ;;
749 -disable-* | --disable-*)
750 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
754 { (exit 1); exit 1; }; }
755 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
756 eval enable_$ac_feature=no ;;
758 -docdir | --docdir | --docdi | --doc | --do)
759 ac_prev=docdir ;;
760 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
761 docdir=$ac_optarg ;;
763 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764 ac_prev=dvidir ;;
765 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
766 dvidir=$ac_optarg ;;
768 -enable-* | --enable-*)
769 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
772 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
773 { (exit 1); exit 1; }; }
774 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
775 eval enable_$ac_feature=\$ac_optarg ;;
777 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
778 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
779 | --exec | --exe | --ex)
780 ac_prev=exec_prefix ;;
781 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
782 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
783 | --exec=* | --exe=* | --ex=*)
784 exec_prefix=$ac_optarg ;;
786 -gas | --gas | --ga | --g)
787 # Obsolete; use --with-gas.
788 with_gas=yes ;;
790 -help | --help | --hel | --he | -h)
791 ac_init_help=long ;;
792 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
793 ac_init_help=recursive ;;
794 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
795 ac_init_help=short ;;
797 -host | --host | --hos | --ho)
798 ac_prev=host_alias ;;
799 -host=* | --host=* | --hos=* | --ho=*)
800 host_alias=$ac_optarg ;;
802 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
803 ac_prev=htmldir ;;
804 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
805 | --ht=*)
806 htmldir=$ac_optarg ;;
808 -includedir | --includedir | --includedi | --included | --include \
809 | --includ | --inclu | --incl | --inc)
810 ac_prev=includedir ;;
811 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
812 | --includ=* | --inclu=* | --incl=* | --inc=*)
813 includedir=$ac_optarg ;;
815 -infodir | --infodir | --infodi | --infod | --info | --inf)
816 ac_prev=infodir ;;
817 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
818 infodir=$ac_optarg ;;
820 -libdir | --libdir | --libdi | --libd)
821 ac_prev=libdir ;;
822 -libdir=* | --libdir=* | --libdi=* | --libd=*)
823 libdir=$ac_optarg ;;
825 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
826 | --libexe | --libex | --libe)
827 ac_prev=libexecdir ;;
828 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
829 | --libexe=* | --libex=* | --libe=*)
830 libexecdir=$ac_optarg ;;
832 -localedir | --localedir | --localedi | --localed | --locale)
833 ac_prev=localedir ;;
834 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
835 localedir=$ac_optarg ;;
837 -localstatedir | --localstatedir | --localstatedi | --localstated \
838 | --localstate | --localstat | --localsta | --localst | --locals)
839 ac_prev=localstatedir ;;
840 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
841 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
842 localstatedir=$ac_optarg ;;
844 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
845 ac_prev=mandir ;;
846 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
847 mandir=$ac_optarg ;;
849 -nfp | --nfp | --nf)
850 # Obsolete; use --without-fp.
851 with_fp=no ;;
853 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
854 | --no-cr | --no-c | -n)
855 no_create=yes ;;
857 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
858 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
859 no_recursion=yes ;;
861 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
862 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
863 | --oldin | --oldi | --old | --ol | --o)
864 ac_prev=oldincludedir ;;
865 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
866 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
867 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
868 oldincludedir=$ac_optarg ;;
870 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
871 ac_prev=prefix ;;
872 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
873 prefix=$ac_optarg ;;
875 -program-prefix | --program-prefix | --program-prefi | --program-pref \
876 | --program-pre | --program-pr | --program-p)
877 ac_prev=program_prefix ;;
878 -program-prefix=* | --program-prefix=* | --program-prefi=* \
879 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
880 program_prefix=$ac_optarg ;;
882 -program-suffix | --program-suffix | --program-suffi | --program-suff \
883 | --program-suf | --program-su | --program-s)
884 ac_prev=program_suffix ;;
885 -program-suffix=* | --program-suffix=* | --program-suffi=* \
886 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
887 program_suffix=$ac_optarg ;;
889 -program-transform-name | --program-transform-name \
890 | --program-transform-nam | --program-transform-na \
891 | --program-transform-n | --program-transform- \
892 | --program-transform | --program-transfor \
893 | --program-transfo | --program-transf \
894 | --program-trans | --program-tran \
895 | --progr-tra | --program-tr | --program-t)
896 ac_prev=program_transform_name ;;
897 -program-transform-name=* | --program-transform-name=* \
898 | --program-transform-nam=* | --program-transform-na=* \
899 | --program-transform-n=* | --program-transform-=* \
900 | --program-transform=* | --program-transfor=* \
901 | --program-transfo=* | --program-transf=* \
902 | --program-trans=* | --program-tran=* \
903 | --progr-tra=* | --program-tr=* | --program-t=*)
904 program_transform_name=$ac_optarg ;;
906 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
907 ac_prev=pdfdir ;;
908 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
909 pdfdir=$ac_optarg ;;
911 -psdir | --psdir | --psdi | --psd | --ps)
912 ac_prev=psdir ;;
913 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
914 psdir=$ac_optarg ;;
916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
917 | -silent | --silent | --silen | --sile | --sil)
918 silent=yes ;;
920 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
921 ac_prev=sbindir ;;
922 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
923 | --sbi=* | --sb=*)
924 sbindir=$ac_optarg ;;
926 -sharedstatedir | --sharedstatedir | --sharedstatedi \
927 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
928 | --sharedst | --shareds | --shared | --share | --shar \
929 | --sha | --sh)
930 ac_prev=sharedstatedir ;;
931 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
932 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
933 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
934 | --sha=* | --sh=*)
935 sharedstatedir=$ac_optarg ;;
937 -site | --site | --sit)
938 ac_prev=site ;;
939 -site=* | --site=* | --sit=*)
940 site=$ac_optarg ;;
942 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
943 ac_prev=srcdir ;;
944 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
945 srcdir=$ac_optarg ;;
947 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
948 | --syscon | --sysco | --sysc | --sys | --sy)
949 ac_prev=sysconfdir ;;
950 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
951 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
952 sysconfdir=$ac_optarg ;;
954 -target | --target | --targe | --targ | --tar | --ta | --t)
955 ac_prev=target_alias ;;
956 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
957 target_alias=$ac_optarg ;;
959 -v | -verbose | --verbose | --verbos | --verbo | --verb)
960 verbose=yes ;;
962 -version | --version | --versio | --versi | --vers | -V)
963 ac_init_version=: ;;
965 -with-* | --with-*)
966 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
969 { echo "$as_me: error: invalid package name: $ac_package" >&2
970 { (exit 1); exit 1; }; }
971 ac_package=`echo $ac_package| sed 's/-/_/g'`
972 eval with_$ac_package=\$ac_optarg ;;
974 -without-* | --without-*)
975 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
978 { echo "$as_me: error: invalid package name: $ac_package" >&2
979 { (exit 1); exit 1; }; }
980 ac_package=`echo $ac_package | sed 's/-/_/g'`
981 eval with_$ac_package=no ;;
983 --x)
984 # Obsolete; use --with-x.
985 with_x=yes ;;
987 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
988 | --x-incl | --x-inc | --x-in | --x-i)
989 ac_prev=x_includes ;;
990 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
991 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
992 x_includes=$ac_optarg ;;
994 -x-libraries | --x-libraries | --x-librarie | --x-librari \
995 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
996 ac_prev=x_libraries ;;
997 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
998 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
999 x_libraries=$ac_optarg ;;
1001 -*) { echo "$as_me: error: unrecognized option: $ac_option
1002 Try \`$0 --help' for more information." >&2
1003 { (exit 1); exit 1; }; }
1006 *=*)
1007 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1010 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1011 { (exit 1); exit 1; }; }
1012 eval $ac_envvar=\$ac_optarg
1013 export $ac_envvar ;;
1016 # FIXME: should be removed in autoconf 3.0.
1017 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1018 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1020 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1023 esac
1024 done
1026 if test -n "$ac_prev"; then
1027 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1028 { echo "$as_me: error: missing argument to $ac_option" >&2
1029 { (exit 1); exit 1; }; }
1032 # Be sure to have absolute directory names.
1033 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1034 datadir sysconfdir sharedstatedir localstatedir includedir \
1035 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1036 libdir localedir mandir
1038 eval ac_val=\$$ac_var
1039 case $ac_val in
1040 [\\/$]* | ?:[\\/]* ) continue;;
1041 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1042 esac
1043 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1044 { (exit 1); exit 1; }; }
1045 done
1047 # There might be people who depend on the old broken behavior: `$host'
1048 # used to hold the argument of --host etc.
1049 # FIXME: To remove some day.
1050 build=$build_alias
1051 host=$host_alias
1052 target=$target_alias
1054 # FIXME: To remove some day.
1055 if test "x$host_alias" != x; then
1056 if test "x$build_alias" = x; then
1057 cross_compiling=maybe
1058 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1059 If a cross compiler is detected then cross compile mode will be used." >&2
1060 elif test "x$build_alias" != "x$host_alias"; then
1061 cross_compiling=yes
1065 ac_tool_prefix=
1066 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1068 test "$silent" = yes && exec 6>/dev/null
1071 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1072 ac_ls_di=`ls -di .` &&
1073 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1074 { echo "$as_me: error: Working directory cannot be determined" >&2
1075 { (exit 1); exit 1; }; }
1076 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1077 { echo "$as_me: error: pwd does not report name of working directory" >&2
1078 { (exit 1); exit 1; }; }
1081 # Find the source files, if location was not specified.
1082 if test -z "$srcdir"; then
1083 ac_srcdir_defaulted=yes
1084 # Try the directory containing this script, then the parent directory.
1085 ac_confdir=`$as_dirname "$0" ||
1086 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1087 X"$0" : 'X\(//\)[^/]' \| \
1088 X"$0" : 'X\(//\)$' \| \
1089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1090 echo X"$0" |
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.59c 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.59c:";;
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.59c
1294 generated by GNU Autoconf 2.59c
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 exec 5>config.log
1304 cat >&5 <<_ACEOF
1305 This file contains any messages produced by compilers while
1306 running configure, to aid debugging if configure makes a mistake.
1308 It was created by GNU Autoconf $as_me 2.59c, which was
1309 generated by GNU Autoconf 2.59c. Invocation command line was
1311 $ $0 $@
1313 _ACEOF
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 trap '
1416 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.59c'
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 # So before using `/bin/sh -n' to check our scripts, we first check
2138 # that `/bin/sh -n' is not broken to death.
2140 # A script that never returns. We don't care that it never returns,
2141 # broken /bin/sh loop equally with `false', but it makes it easier to
2142 # test the robustness in a good environment: just remove the `-n'.
2143 { echo "$as_me:$LINENO: checking whether sh -n works" >&5
2144 echo $ECHO_N "checking whether sh -n works... $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 cat > conftest.sh <<_CONFEOF_
2149 while :
2152 done
2153 _CONFEOF_
2155 (/bin/sh -n conftest.sh) &
2156 sleep 2
2157 if kill $! >/dev/null 2>&1; then
2158 # We managed to kill the child, which means that we probably
2159 # can't trust `/bin/sh -n', hence the test failed.
2160 ac_cv_sh_n_works=no
2161 else
2162 ac_cv_sh_n_works=yes
2164 rm conftest.sh
2167 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2168 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2171 # Initialize the test suite.
2172 ac_config_commands="$ac_config_commands tests/atconfig"
2175 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2177 # Extract the first word of "expr", so it can be a program name with args.
2178 set dummy expr; ac_word=$2
2179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2181 if test "${ac_cv_path_EXPR+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 else
2184 case $EXPR in
2185 [\\/]* | ?:[\\/]*)
2186 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 for as_dir in $PATH
2192 IFS=$as_save_IFS
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2196 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 break 2
2200 done
2201 done
2202 IFS=$as_save_IFS
2205 esac
2207 EXPR=$ac_cv_path_EXPR
2208 if test -n "$EXPR"; then
2209 { echo "$as_me:$LINENO: result: $EXPR" >&5
2210 echo "${ECHO_T}$EXPR" >&6; }
2211 else
2212 { echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6; }
2219 ## ---- ##
2220 ## M4. ##
2221 ## ---- ##
2223 # We use an absolute name for GNU m4 so even if users have another m4 first in
2224 # their path, the installer can configure with a path that has GNU m4
2225 # first and get that path embedded in the installed autoconf and
2226 # autoheader scripts.
2227 for ac_prog in gm4 gnum4 m4
2229 # Extract the first word of "$ac_prog", so it can be a program name with args.
2230 set dummy $ac_prog; ac_word=$2
2231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2233 if test "${ac_cv_path_M4+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 else
2236 case $M4 in
2237 [\\/]* | ?:[\\/]*)
2238 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2242 for as_dir in $PATH
2244 IFS=$as_save_IFS
2245 test -z "$as_dir" && as_dir=.
2246 for ac_exec_ext in '' $ac_executable_extensions; do
2247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2248 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 break 2
2252 done
2253 done
2254 IFS=$as_save_IFS
2257 esac
2259 M4=$ac_cv_path_M4
2260 if test -n "$M4"; then
2261 { echo "$as_me:$LINENO: result: $M4" >&5
2262 echo "${ECHO_T}$M4" >&6; }
2263 else
2264 { echo "$as_me:$LINENO: result: no" >&5
2265 echo "${ECHO_T}no" >&6; }
2269 test -n "$M4" && break
2270 done
2271 test -n "$M4" || M4="m4"
2273 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2274 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2275 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 else
2278 ac_cv_prog_gnu_m4=no
2279 if test x"$M4" != x; then
2280 case `$M4 --help < /dev/null 2>&1` in
2281 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2282 esac
2285 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2286 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2287 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2288 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2289 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2290 { (exit 1); exit 1; }; }
2293 ## ----------- ##
2294 ## Man pages. ##
2295 ## ----------- ##
2297 ac_config_files="$ac_config_files man/Makefile"
2300 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2304 ## ------ ##
2305 ## Perl. ##
2306 ## ------ ##
2308 # We use an absolute name for perl so the #! line in autoscan will work.
2309 # Extract the first word of "perl", so it can be a program name with args.
2310 set dummy perl; ac_word=$2
2311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2313 if test "${ac_cv_path_PERL+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2315 else
2316 case $PERL in
2317 [\\/]* | ?:[\\/]*)
2318 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322 for as_dir in $PATH
2324 IFS=$as_save_IFS
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 break 2
2332 done
2333 done
2334 IFS=$as_save_IFS
2336 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2338 esac
2340 PERL=$ac_cv_path_PERL
2341 if test -n "$PERL"; then
2342 { echo "$as_me:$LINENO: result: $PERL" >&5
2343 echo "${ECHO_T}$PERL" >&6; }
2344 else
2345 { echo "$as_me:$LINENO: result: no" >&5
2346 echo "${ECHO_T}no" >&6; }
2350 if test "$PERL" = no; then
2351 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2352 echo "$as_me: error: perl is not found" >&2;}
2353 { (exit 1); exit 1; }; }
2355 $PERL -e 'require 5.005_03;' || {
2356 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2357 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2358 { (exit 1); exit 1; }; }
2362 ## ------- ##
2363 ## Emacs. ##
2364 ## ------- ##
2366 ac_config_files="$ac_config_files lib/emacs/Makefile"
2368 TEST_EMACS=$EMACS
2369 test x"$TEST_EMACS" = xt && TEST_EMACS=
2370 for ac_prog in emacs xemacs
2372 # Extract the first word of "$ac_prog", so it can be a program name with args.
2373 set dummy $ac_prog; ac_word=$2
2374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2376 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 else
2379 if test -n "$TEST_EMACS"; then
2380 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2381 else
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 for as_dir in $PATH
2385 IFS=$as_save_IFS
2386 test -z "$as_dir" && as_dir=.
2387 for ac_exec_ext in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_TEST_EMACS="$ac_prog"
2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 break 2
2393 done
2394 done
2395 IFS=$as_save_IFS
2399 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2400 if test -n "$TEST_EMACS"; then
2401 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2402 echo "${ECHO_T}$TEST_EMACS" >&6; }
2403 else
2404 { echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6; }
2409 test -n "$TEST_EMACS" && break
2410 done
2411 test -n "$TEST_EMACS" || TEST_EMACS="no"
2414 # autoconf-mode.el and autotest-mode.el do not work with older version of
2415 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2416 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2417 # We detect this problem here.
2418 if test "$TEST_EMACS" != no; then
2419 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2420 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2421 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 else
2424 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2425 cat >conftest.el << "EOF"
2426 (defvar broken)
2427 (defun broken-mode () (setq broken-defaults `(broken nil)))
2429 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2430 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2431 ac_status=$?
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; then
2434 ac_cv_prog_emacs_ok=yes
2435 else
2436 ac_cv_prog_emacs_ok=no
2439 rm -f conftest.el conftest.elc
2441 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2442 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2443 if test $ac_cv_prog_emacs_ok = no; then
2444 TEST_EMACS=no
2450 EMACS=$TEST_EMACS
2453 # If set to t, that means we are running in a shell under Emacs.
2454 # If you have an Emacs named "t", then use the full path.
2455 test x"$EMACS" = xt && EMACS=
2456 for ac_prog in emacs xemacs
2458 # Extract the first word of "$ac_prog", so it can be a program name with args.
2459 set dummy $ac_prog; ac_word=$2
2460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2462 if test "${ac_cv_prog_EMACS+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 else
2465 if test -n "$EMACS"; then
2466 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2467 else
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 for as_dir in $PATH
2471 IFS=$as_save_IFS
2472 test -z "$as_dir" && as_dir=.
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2475 ac_cv_prog_EMACS="$ac_prog"
2476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 break 2
2479 done
2480 done
2481 IFS=$as_save_IFS
2485 EMACS=$ac_cv_prog_EMACS
2486 if test -n "$EMACS"; then
2487 { echo "$as_me:$LINENO: result: $EMACS" >&5
2488 echo "${ECHO_T}$EMACS" >&6; }
2489 else
2490 { echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6; }
2495 test -n "$EMACS" && break
2496 done
2497 test -n "$EMACS" || EMACS="no"
2502 # Check whether --with-lispdir was given.
2503 if test "${with_lispdir+set}" = set; then
2504 withval=$with_lispdir; lispdir="$withval"
2505 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2506 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2507 { echo "$as_me:$LINENO: result: $lispdir" >&5
2508 echo "${ECHO_T}$lispdir" >&6; }
2509 else
2511 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2512 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2513 if test "${am_cv_lispdir+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 else
2517 if test $EMACS != "no"; then
2518 if test x${lispdir+set} != xset; then
2519 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2520 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2521 # which is non-obvious for non-emacs users.
2522 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2523 # emacsen earlier and avoid running this altogether.
2524 { (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
2525 ($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
2526 ac_status=$?
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }
2529 am_cv_lispdir=`sed -n \
2530 -e 's,/$,,' \
2531 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2532 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2533 conftest.out`
2534 rm conftest.out
2537 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2540 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2541 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2542 lispdir="$am_cv_lispdir"
2550 ## ------------ ##
2551 ## Grep & sed. ##
2552 ## ------------ ##
2553 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2554 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2555 if test "${ac_cv_path_GREP+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 else
2558 # Extract the first word of "grep ggrep" to use in msg output
2559 if test -z "$GREP"; then
2560 set dummy grep ggrep; ac_prog_name=$2
2561 if test "${ac_cv_path_GREP+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 else
2564 ac_path_GREP_found=false
2565 # Loop through the user's path and test for each of PROGNAME-LIST
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2569 IFS=$as_save_IFS
2570 test -z "$as_dir" && as_dir=.
2571 for ac_prog in grep ggrep; do
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2574 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2575 # Check for GNU ac_path_GREP and select it if it is found.
2576 # Check for GNU $ac_path_GREP
2577 case `"$ac_path_GREP" --version 2>&1` in
2578 *GNU*)
2579 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2581 ac_count=0
2582 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2583 while :
2585 cat "conftest.in" "conftest.in" >"conftest.tmp"
2586 mv "conftest.tmp" "conftest.in"
2587 cp "conftest.in" "conftest.nl"
2588 echo 'GREP' >> "conftest.nl"
2589 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2590 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2591 ac_count=`expr $ac_count + 1`
2592 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2593 # Best one so far, save it but keep looking for a better one
2594 ac_cv_path_GREP="$ac_path_GREP"
2595 ac_path_GREP_max=$ac_count
2597 # 10*(2^10) chars as input seems more than enough
2598 test $ac_count -gt 10 && break
2599 done
2600 rm -f conftest.*;;
2601 esac
2604 $ac_path_GREP_found && break 3
2605 done
2606 done
2608 done
2609 IFS=$as_save_IFS
2614 GREP="$ac_cv_path_GREP"
2615 if test -z "$GREP"; then
2616 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2617 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2618 { (exit 1); exit 1; }; }
2621 else
2622 ac_cv_path_GREP=$GREP
2627 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2628 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2629 GREP="$ac_cv_path_GREP"
2632 { echo "$as_me:$LINENO: checking for egrep" >&5
2633 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2634 if test "${ac_cv_path_EGREP+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 else
2637 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2638 then ac_cv_path_EGREP="$GREP -E"
2639 else
2640 # Extract the first word of "egrep" to use in msg output
2641 if test -z "$EGREP"; then
2642 set dummy egrep; ac_prog_name=$2
2643 if test "${ac_cv_path_EGREP+set}" = set; then
2644 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 else
2646 ac_path_EGREP_found=false
2647 # Loop through the user's path and test for each of PROGNAME-LIST
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2651 IFS=$as_save_IFS
2652 test -z "$as_dir" && as_dir=.
2653 for ac_prog in egrep; do
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2656 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2657 # Check for GNU ac_path_EGREP and select it if it is found.
2658 # Check for GNU $ac_path_EGREP
2659 case `"$ac_path_EGREP" --version 2>&1` in
2660 *GNU*)
2661 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2663 ac_count=0
2664 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2665 while :
2667 cat "conftest.in" "conftest.in" >"conftest.tmp"
2668 mv "conftest.tmp" "conftest.in"
2669 cp "conftest.in" "conftest.nl"
2670 echo 'EGREP' >> "conftest.nl"
2671 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2673 ac_count=`expr $ac_count + 1`
2674 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2675 # Best one so far, save it but keep looking for a better one
2676 ac_cv_path_EGREP="$ac_path_EGREP"
2677 ac_path_EGREP_max=$ac_count
2679 # 10*(2^10) chars as input seems more than enough
2680 test $ac_count -gt 10 && break
2681 done
2682 rm -f conftest.*;;
2683 esac
2686 $ac_path_EGREP_found && break 3
2687 done
2688 done
2690 done
2691 IFS=$as_save_IFS
2696 EGREP="$ac_cv_path_EGREP"
2697 if test -z "$EGREP"; then
2698 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2699 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2700 { (exit 1); exit 1; }; }
2703 else
2704 ac_cv_path_EGREP=$EGREP
2710 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2711 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2712 EGREP="$ac_cv_path_EGREP"
2715 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2716 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2717 if test "${ac_cv_path_SED+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2719 else
2720 # Extract the first word of "sed gsed" to use in msg output
2721 if test -z "$SED"; then
2722 set dummy sed gsed; ac_prog_name=$2
2723 if test "${ac_cv_path_SED+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 else
2726 ac_path_SED_found=false
2727 # Loop through the user's path and test for each of PROGNAME-LIST
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 for as_dir in $PATH
2731 IFS=$as_save_IFS
2732 test -z "$as_dir" && as_dir=.
2733 for ac_prog in sed gsed; do
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2736 { test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
2737 # Check for GNU ac_path_SED and select it if it is found.
2738 # Check for GNU $ac_path_SED
2739 case `"$ac_path_SED" --version 2>&1` in
2740 *GNU*)
2741 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2743 ac_count=0
2744 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2745 while :
2747 cat "conftest.in" "conftest.in" >"conftest.tmp"
2748 mv "conftest.tmp" "conftest.in"
2749 cp "conftest.in" "conftest.nl"
2750 echo '' >> "conftest.nl"
2751 "$ac_path_SED" -e 's/a$//' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2752 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2753 ac_count=`expr $ac_count + 1`
2754 if test $ac_count -gt ${ac_path_SED_max-0}; then
2755 # Best one so far, save it but keep looking for a better one
2756 ac_cv_path_SED="$ac_path_SED"
2757 ac_path_SED_max=$ac_count
2759 # 10*(2^10) chars as input seems more than enough
2760 test $ac_count -gt 10 && break
2761 done
2762 rm -f conftest.*;;
2763 esac
2766 $ac_path_SED_found && break 3
2767 done
2768 done
2770 done
2771 IFS=$as_save_IFS
2776 SED="$ac_cv_path_SED"
2777 if test -z "$SED"; then
2778 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2779 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2780 { (exit 1); exit 1; }; }
2783 else
2784 ac_cv_path_SED=$SED
2788 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2789 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2790 SED="$ac_cv_path_SED"
2795 ## ------------ ##
2796 ## Conclusion. ##
2797 ## ------------ ##
2799 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"
2802 cat >confcache <<\_ACEOF
2803 # This file is a shell script that caches the results of configure
2804 # tests run on this system so they can be shared between configure
2805 # scripts and configure runs, see configure's option --config-cache.
2806 # It is not useful on other systems. If it contains results you don't
2807 # want to keep, you may remove or edit it.
2809 # config.status only pays attention to the cache file if you give it
2810 # the --recheck option to rerun configure.
2812 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2813 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2814 # following values.
2816 _ACEOF
2818 # The following way of writing the cache mishandles newlines in values,
2819 # but we know of no workaround that is simple, portable, and efficient.
2820 # So, we kill variables containing newlines.
2821 # Ultrix sh set writes to stderr and can't be redirected directly,
2822 # and sets the high bit in the cache file unless we assign to the vars.
2824 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2825 eval ac_val=\$$ac_var
2826 case $ac_val in #(
2827 *${as_nl}*)
2828 case $ac_var in #(
2829 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2830 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2831 esac
2832 case $ac_var in #(
2833 _ | IFS | as_nl) ;; #(
2834 *) $as_unset $ac_var ;;
2835 esac ;;
2836 esac
2837 done
2839 (set) 2>&1 |
2840 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2841 *${as_nl}ac_space=\ *)
2842 # `set' does not quote correctly, so add quotes (double-quote
2843 # substitution turns \\\\ into \\, and sed turns \\ into \).
2844 sed -n \
2845 "s/'/'\\\\''/g;
2846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2847 ;; #(
2849 # `set' quotes correctly as required by POSIX, so do not add quotes.
2850 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2852 esac
2854 sed '
2855 /^ac_cv_env_/b end
2856 t clear
2857 :clear
2858 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2859 t end
2860 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2861 :end' >>confcache
2862 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2863 if test -w $cache_file; then
2864 test "x$cache_file" != "x/dev/null" &&
2865 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2866 echo "$as_me: updating cache $cache_file" >&6;}
2867 cat confcache >$cache_file
2868 else
2869 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2870 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2873 rm -f confcache
2875 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2876 # Let make expand exec_prefix.
2877 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2879 # Transform confdefs.h into DEFS.
2880 # Protect against shell expansion while executing Makefile rules.
2881 # Protect against Makefile macro expansion.
2883 # If the first sed substitution is executed (which looks for macros that
2884 # take arguments), then we branch to the quote section. Otherwise,
2885 # look for a macro that doesn't take arguments.
2886 cat >confdef2opt.sed <<\_ACEOF
2887 t clear
2888 :clear
2889 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2890 t quote
2891 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2892 t quote
2894 :quote
2895 s/[ `~#$^&*(){}\\|;'"<>?]/\\&/g
2896 s/\[/\\&/g
2897 s/\]/\\&/g
2898 s/\$/$$/g
2900 _ACEOF
2901 # We use echo to avoid assuming a particular line-breaking character.
2902 # The extra dot is to prevent the shell from consuming trailing
2903 # line-breaks from the sub-command output. A line-break within
2904 # single-quotes doesn't work because, if this script is created in a
2905 # platform that uses two characters for line-breaks (e.g., DOS), tr
2906 # would break.
2907 ac_LF_and_DOT=`echo; echo .`
2908 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2909 rm -f confdef2opt.sed
2912 ac_libobjs=
2913 ac_ltlibobjs=
2914 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2915 # 1. Remove the extension, and $U if already installed.
2916 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2917 ac_i=`echo "$ac_i" | sed "$ac_script"`
2918 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2919 # will be set to the directory where LIBOBJS objects are built.
2920 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2921 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2922 done
2923 LIBOBJS=$ac_libobjs
2925 LTLIBOBJS=$ac_ltlibobjs
2929 : ${CONFIG_STATUS=./config.status}
2930 ac_clean_files_save=$ac_clean_files
2931 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2932 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2933 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2934 cat >$CONFIG_STATUS <<_ACEOF
2935 #! $SHELL
2936 # Generated by $as_me.
2937 # Run this file to recreate the current configuration.
2938 # Compiler output produced by configure, useful for debugging
2939 # configure, is in config.log if it exists.
2941 debug=false
2942 ac_cs_recheck=false
2943 ac_cs_silent=false
2944 SHELL=\${CONFIG_SHELL-$SHELL}
2945 _ACEOF
2947 cat >>$CONFIG_STATUS <<\_ACEOF
2948 ## --------------------- ##
2949 ## M4sh Initialization. ##
2950 ## --------------------- ##
2952 # Be Bourne compatible
2953 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2954 emulate sh
2955 NULLCMD=:
2956 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2957 # is contrary to our usage. Disable this feature.
2958 alias -g '${1+"$@"}'='"$@"'
2959 setopt NO_GLOB_SUBST
2960 else
2961 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2963 BIN_SH=xpg4; export BIN_SH # for Tru64
2964 DUALCASE=1; export DUALCASE # for MKS sh
2967 # PATH needs CR
2968 # Avoid depending upon Character Ranges.
2969 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2970 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2971 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2972 as_cr_digits='0123456789'
2973 as_cr_alnum=$as_cr_Letters$as_cr_digits
2975 # The user is always right.
2976 if test "${PATH_SEPARATOR+set}" != set; then
2977 echo "#! /bin/sh" >conf$$.sh
2978 echo "exit 0" >>conf$$.sh
2979 chmod +x conf$$.sh
2980 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2981 PATH_SEPARATOR=';'
2982 else
2983 PATH_SEPARATOR=:
2985 rm -f conf$$.sh
2988 # Support unset when possible.
2989 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2990 as_unset=unset
2991 else
2992 as_unset=false
2996 # IFS
2997 # We need space, tab and new line, in precisely that order. Quoting is
2998 # there to prevent editors from complaining about space-tab.
2999 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3000 # splitting by setting IFS to empty value.)
3001 as_nl='
3003 IFS=" "" $as_nl"
3005 # Find who we are. Look in the path if we contain no directory separator.
3006 case $0 in
3007 *[\\/]* ) as_myself=$0 ;;
3008 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 for as_dir in $PATH
3011 IFS=$as_save_IFS
3012 test -z "$as_dir" && as_dir=.
3013 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3014 done
3015 IFS=$as_save_IFS
3018 esac
3019 # We did not find ourselves, most probably we were run as `sh COMMAND'
3020 # in which case we are not to be found in the path.
3021 if test "x$as_myself" = x; then
3022 as_myself=$0
3024 if test ! -f "$as_myself"; then
3025 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
3026 { (exit 1); exit 1; }; }
3029 # Work around bugs in pre-3.0 UWIN ksh.
3030 for as_var in ENV MAIL MAILPATH
3031 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3032 done
3033 PS1='$ '
3034 PS2='> '
3035 PS4='+ '
3037 # NLS nuisances.
3038 for as_var in \
3039 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3040 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3041 LC_TELEPHONE LC_TIME
3043 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3044 eval $as_var=C; export $as_var
3045 else
3046 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3048 done
3050 # Required to use basename.
3051 if expr a : '\(a\)' >/dev/null 2>&1 &&
3052 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3053 as_expr=expr
3054 else
3055 as_expr=false
3058 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3059 as_basename=basename
3060 else
3061 as_basename=false
3065 # Name of the executable.
3066 as_me=`$as_basename "$0" ||
3067 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3068 X"$0" : 'X\(//\)$' \| \
3069 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3070 echo X/"$0" |
3071 sed '/^.*\/\([^/][^/]*\)\/*$/{
3072 s//\1/
3075 /^X\/\(\/\/\)$/{
3076 s//\1/
3079 /^X\/\(\/\).*/{
3080 s//\1/
3083 s/.*/./; q'`
3085 # CDPATH.
3086 $as_unset CDPATH
3090 as_lineno_1=$LINENO
3091 as_lineno_2=$LINENO
3092 test "x$as_lineno_1" != "x$as_lineno_2" &&
3093 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3095 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3096 # uniformly replaced by the line number. The first 'sed' inserts a
3097 # line-number line after each line using $LINENO; the second 'sed'
3098 # does the real work. The second script uses 'N' to pair each
3099 # line-number line with the line containing $LINENO, and appends
3100 # trailing '-' during substitution so that $LINENO is not a special
3101 # case at line end.
3102 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3103 # scripts with optimization help from Paolo Bonzini. Blame Lee
3104 # E. McMahon (1931-1989) for sed's syntax. :-)
3105 sed -n '
3107 /[$]LINENO/=
3108 ' <$as_myself |
3109 sed '
3110 s/[$]LINENO.*/&-/
3111 t lineno
3113 :lineno
3115 :loop
3116 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3117 t loop
3118 s/-\n.*//
3119 ' >$as_me.lineno &&
3120 chmod +x "$as_me.lineno" ||
3121 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3122 { (exit 1); exit 1; }; }
3124 # Don't try to exec as it changes $[0], causing all sort of problems
3125 # (the dirname of $[0] is not the place where we might find the
3126 # original and so on. Autoconf is especially sensitive to this).
3127 . "./$as_me.lineno"
3128 # Exit status is that of the last command.
3129 exit
3133 if (dirname /) >/dev/null 2>&1; then
3134 as_dirname=dirname
3135 else
3136 as_dirname=false
3139 ECHO_C= ECHO_N= ECHO_T=
3140 case `echo -n x` in
3141 -n*)
3142 case `echo 'x\c'` in
3143 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3144 *) ECHO_C='\c';;
3145 esac;;
3147 ECHO_N='-n';;
3148 esac
3150 if expr a : '\(a\)' >/dev/null 2>&1 &&
3151 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3152 as_expr=expr
3153 else
3154 as_expr=false
3157 rm -f conf$$ conf$$.exe conf$$.file
3158 if test -d conf$$.dir; then
3159 rm -f conf$$.dir/conf$$.file
3160 else
3161 rm -f conf$$.dir
3162 mkdir conf$$.dir
3164 echo >conf$$.file
3165 if ln -s conf$$.file conf$$ 2>/dev/null &&
3166 ln -s conf$$.file conf$$.dir 2>/dev/null; then
3167 # We could just check for DJGPP; but this test a) works b) is more generic
3168 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3169 if test -f conf$$.exe; then
3170 # Don't use ln at all; we don't have any links
3171 as_ln_s='cp -p'
3172 else
3173 as_ln_s='ln -s'
3175 elif ln conf$$.file conf$$ 2>/dev/null; then
3176 as_ln_s=ln
3177 else
3178 as_ln_s='cp -p'
3180 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3181 rmdir conf$$.dir 2>/dev/null
3183 if mkdir -p . 2>/dev/null; then
3184 as_mkdir_p=:
3185 else
3186 test -d ./-p && rmdir ./-p
3187 as_mkdir_p=false
3190 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3191 # systems may use methods other than mode bits to determine executability.
3192 cat >conf$$.file <<_ASEOF
3193 #! /bin/sh
3194 exit 0
3195 _ASEOF
3196 chmod +x conf$$.file
3197 if test -x conf$$.file >/dev/null 2>&1; then
3198 as_executable_p="test -x"
3199 else
3200 as_executable_p=:
3202 rm -f conf$$.file
3204 # Sed expression to map a string onto a valid CPP name.
3205 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3207 # Sed expression to map a string onto a valid variable name.
3208 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3211 exec 6>&1
3213 # Save the log message, to keep $[0] and so on meaningful, and to
3214 # report actual input values of CONFIG_FILES etc. instead of their
3215 # values after options handling.
3216 ac_log="
3217 This file was extended by GNU Autoconf $as_me 2.59c, which was
3218 generated by GNU Autoconf 2.59c. Invocation command line was
3220 CONFIG_FILES = $CONFIG_FILES
3221 CONFIG_HEADERS = $CONFIG_HEADERS
3222 CONFIG_LINKS = $CONFIG_LINKS
3223 CONFIG_COMMANDS = $CONFIG_COMMANDS
3224 $ $0 $@
3226 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3229 _ACEOF
3231 cat >>$CONFIG_STATUS <<_ACEOF
3232 # Files that config.status was made for.
3233 config_files="$ac_config_files"
3234 config_commands="$ac_config_commands"
3236 _ACEOF
3238 cat >>$CONFIG_STATUS <<\_ACEOF
3239 ac_cs_usage="\
3240 \`$as_me' instantiates files from templates according to the
3241 current configuration.
3243 Usage: $0 [OPTIONS] [FILE]...
3245 -h, --help print this help, then exit
3246 -V, --version print version number, then exit
3247 -q, --quiet do not print progress messages
3248 -d, --debug don't remove temporary files
3249 --recheck update $as_me by reconfiguring in the same conditions
3250 --file=FILE[:TEMPLATE]
3251 instantiate the configuration file FILE
3253 Configuration files:
3254 $config_files
3256 Configuration commands:
3257 $config_commands
3259 Report bugs to <bug-autoconf@gnu.org>."
3261 _ACEOF
3262 cat >>$CONFIG_STATUS <<_ACEOF
3263 ac_cs_version="\\
3264 GNU Autoconf config.status 2.59c
3265 configured by $0, generated by GNU Autoconf 2.59c,
3266 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3268 Copyright (C) 2006 Free Software Foundation, Inc.
3269 This config.status script is free software; the Free Software Foundation
3270 gives unlimited permission to copy, distribute and modify it."
3272 ac_pwd='$ac_pwd'
3273 srcdir='$srcdir'
3274 INSTALL='$INSTALL'
3276 _ACEOF
3278 cat >>$CONFIG_STATUS <<\_ACEOF
3279 # If no file are specified by the user, then we need to provide default
3280 # value. By we need to know if files were specified by the user.
3281 ac_need_defaults=:
3282 while test $# != 0
3284 case $1 in
3285 --*=*)
3286 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3287 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3288 ac_shift=:
3291 ac_option=$1
3292 ac_optarg=$2
3293 ac_shift=shift
3295 esac
3297 case $ac_option in
3298 # Handling of the options.
3299 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3300 ac_cs_recheck=: ;;
3301 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3302 echo "$ac_cs_version"; exit ;;
3303 --debug | --debu | --deb | --de | --d | -d )
3304 debug=: ;;
3305 --file | --fil | --fi | --f )
3306 $ac_shift
3307 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3308 ac_need_defaults=false;;
3309 --he | --h | --help | --hel | -h )
3310 echo "$ac_cs_usage"; exit ;;
3311 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3312 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3313 ac_cs_silent=: ;;
3315 # This is an error.
3316 -*) { echo "$as_me: error: unrecognized option: $1
3317 Try \`$0 --help' for more information." >&2
3318 { (exit 1); exit 1; }; } ;;
3320 *) ac_config_targets="$ac_config_targets $1"
3321 ac_need_defaults=false ;;
3323 esac
3324 shift
3325 done
3327 ac_configure_extra_args=
3329 if $ac_cs_silent; then
3330 exec 6>/dev/null
3331 ac_configure_extra_args="$ac_configure_extra_args --silent"
3334 exec 5>>config.log
3336 echo
3337 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3338 ## Running $as_me. ##
3339 _ASBOX
3340 echo "$ac_log"
3341 } >&5
3343 _ACEOF
3344 cat >>$CONFIG_STATUS <<_ACEOF
3345 if \$ac_cs_recheck; then
3346 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3347 CONFIG_SHELL=$SHELL
3348 export CONFIG_SHELL
3349 exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3351 _ACEOF
3353 cat >>$CONFIG_STATUS <<\_ACEOF
3355 # Handling of arguments.
3356 for ac_config_target in $ac_config_targets
3358 case $ac_config_target in
3359 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3360 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3361 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3362 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3363 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3364 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3365 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3366 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3367 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3368 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3369 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3370 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3371 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3372 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3373 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3375 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3376 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3377 { (exit 1); exit 1; }; };;
3378 esac
3379 done
3382 # If the user did not use the arguments to specify the items to instantiate,
3383 # then the envvar interface is used. Set only those that are not.
3384 # We use the long form for the default assignment because of an extremely
3385 # bizarre bug on SunOS 4.1.3.
3386 if $ac_need_defaults; then
3387 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3388 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3391 # Have a temporary directory for convenience. Make it in the build tree
3392 # simply because there is no reason against having it here, and in addition,
3393 # creating and moving files from /tmp can sometimes cause problems.
3394 # Hook for its removal unless debugging.
3395 # Note that there is a small window in which the directory will not be cleaned:
3396 # after its creation but before its name has been assigned to `$tmp'.
3397 $debug ||
3399 tmp=
3400 trap 'exit_status=$?
3401 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3403 trap '{ (exit 1); exit 1; }' 1 2 13 15
3405 # Create a (secure) tmp directory for tmp files.
3408 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3409 test -n "$tmp" && test -d "$tmp"
3410 } ||
3412 tmp=./conf$$-$RANDOM
3413 (umask 077 && mkdir "$tmp")
3414 } ||
3416 echo "$me: cannot create a temporary directory in ." >&2
3417 { (exit 1); exit 1; }
3421 # Set up the sed scripts for CONFIG_FILES section.
3424 # No need to generate the scripts if there are no CONFIG_FILES.
3425 # This happens for instance when ./config.status config.h
3426 if test -n "$CONFIG_FILES"; then
3428 _ACEOF
3432 ac_delim='%!_!# '
3433 for ac_last_try in false false false false false :; do
3434 cat >conf$$subs.sed <<_ACEOF
3435 SHELL!$SHELL$ac_delim
3436 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3437 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3438 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3439 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3440 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3441 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3442 exec_prefix!$exec_prefix$ac_delim
3443 prefix!$prefix$ac_delim
3444 program_transform_name!$program_transform_name$ac_delim
3445 bindir!$bindir$ac_delim
3446 sbindir!$sbindir$ac_delim
3447 libexecdir!$libexecdir$ac_delim
3448 datarootdir!$datarootdir$ac_delim
3449 datadir!$datadir$ac_delim
3450 sysconfdir!$sysconfdir$ac_delim
3451 sharedstatedir!$sharedstatedir$ac_delim
3452 localstatedir!$localstatedir$ac_delim
3453 includedir!$includedir$ac_delim
3454 oldincludedir!$oldincludedir$ac_delim
3455 docdir!$docdir$ac_delim
3456 infodir!$infodir$ac_delim
3457 htmldir!$htmldir$ac_delim
3458 dvidir!$dvidir$ac_delim
3459 pdfdir!$pdfdir$ac_delim
3460 psdir!$psdir$ac_delim
3461 libdir!$libdir$ac_delim
3462 localedir!$localedir$ac_delim
3463 mandir!$mandir$ac_delim
3464 DEFS!$DEFS$ac_delim
3465 ECHO_C!$ECHO_C$ac_delim
3466 ECHO_N!$ECHO_N$ac_delim
3467 ECHO_T!$ECHO_T$ac_delim
3468 LIBS!$LIBS$ac_delim
3469 build_alias!$build_alias$ac_delim
3470 host_alias!$host_alias$ac_delim
3471 target_alias!$target_alias$ac_delim
3472 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3473 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3474 INSTALL_DATA!$INSTALL_DATA$ac_delim
3475 CYGPATH_W!$CYGPATH_W$ac_delim
3476 PACKAGE!$PACKAGE$ac_delim
3477 VERSION!$VERSION$ac_delim
3478 ACLOCAL!$ACLOCAL$ac_delim
3479 AUTOCONF!$AUTOCONF$ac_delim
3480 AUTOMAKE!$AUTOMAKE$ac_delim
3481 AUTOHEADER!$AUTOHEADER$ac_delim
3482 MAKEINFO!$MAKEINFO$ac_delim
3483 install_sh!$install_sh$ac_delim
3484 STRIP!$STRIP$ac_delim
3485 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3486 mkdir_p!$mkdir_p$ac_delim
3487 AWK!$AWK$ac_delim
3488 SET_MAKE!$SET_MAKE$ac_delim
3489 am__leading_dot!$am__leading_dot$ac_delim
3490 AMTAR!$AMTAR$ac_delim
3491 am__tar!$am__tar$ac_delim
3492 am__untar!$am__untar$ac_delim
3493 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3494 EXPR!$EXPR$ac_delim
3495 M4!$M4$ac_delim
3496 HELP2MAN!$HELP2MAN$ac_delim
3497 PERL!$PERL$ac_delim
3498 TEST_EMACS!$TEST_EMACS$ac_delim
3499 EMACS!$EMACS$ac_delim
3500 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3501 lispdir!$lispdir$ac_delim
3502 GREP!$GREP$ac_delim
3503 EGREP!$EGREP$ac_delim
3504 SED!$SED$ac_delim
3505 LIBOBJS!$LIBOBJS$ac_delim
3506 LTLIBOBJS!$LTLIBOBJS$ac_delim
3507 _ACEOF
3509 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 72; then
3510 break
3511 elif $ac_last_try; then
3512 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3513 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3514 { (exit 1); exit 1; }; }
3515 else
3516 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3518 done
3520 ac_eof=
3521 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
3522 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3523 ac_eof=`expr 0$ac_eof + 1`
3526 cat >>$CONFIG_STATUS <<_ACEOF
3527 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3528 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3529 _ACEOF
3530 sed '
3531 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3532 s/^/s,@/; s/!/@,|#_!!_#|/
3535 s/'"$ac_delim"'$/,g/; t
3536 s/$/\\/; p
3537 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3538 ' >>$CONFIG_STATUS <conf$$subs.sed
3539 rm -f conf$$subs.sed
3540 cat >>$CONFIG_STATUS <<_ACEOF
3541 :end
3542 s/|#_!!_#|//g
3543 CEOF$ac_eof
3544 _ACEOF
3547 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3548 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3549 # trailing colons and then remove the whole line if VPATH becomes empty
3550 # (actually we leave an empty line to preserve line numbers).
3551 if test "x$srcdir" = x.; then
3552 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3553 s/:*\$(srcdir):*/:/
3554 s/:*\${srcdir}:*/:/
3555 s/:*@srcdir@:*/:/
3556 s/^\([^=]*=[ ]*\):*/\1/
3557 s/:*$//
3558 s/^[^=]*=[ ]*$//
3562 cat >>$CONFIG_STATUS <<\_ACEOF
3563 fi # test -n "$CONFIG_FILES"
3566 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3568 case $ac_tag in
3569 :[FHLC]) ac_mode=$ac_tag; continue;;
3570 esac
3571 case $ac_mode$ac_tag in
3572 :[FHL]*:*);;
3573 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3574 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3575 { (exit 1); exit 1; }; };;
3576 :[FH]-) ac_tag=-:-;;
3577 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3578 esac
3579 ac_save_IFS=$IFS
3580 IFS=:
3581 set x $ac_tag
3582 IFS=$ac_save_IFS
3583 shift
3584 ac_file=$1
3585 shift
3587 case $ac_mode in
3588 :L) ac_source=$1;;
3589 :[FH])
3590 ac_file_inputs=
3591 for ac_f
3593 case $ac_f in
3594 -) ac_f="$tmp/stdin";;
3595 *) # Look for the file first in the build tree, then in the source tree
3596 # (if the path is not absolute). The absolute path cannot be DOS-style,
3597 # because $ac_f cannot contain `:'.
3598 test -f "$ac_f" ||
3599 case $ac_f in
3600 [\\/$]*) false;;
3601 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3602 esac ||
3603 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3604 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3605 { (exit 1); exit 1; }; };;
3606 esac
3607 ac_file_inputs="$ac_file_inputs $ac_f"
3608 done
3610 # Let's still pretend it is `configure' which instantiates (i.e., don't
3611 # use $as_me), people would be surprised to read:
3612 # /* config.h. Generated by config.status. */
3613 configure_input="Generated from "`IFS=:
3614 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3615 if test x"$ac_file" != x-; then
3616 configure_input="$ac_file. $configure_input"
3617 { echo "$as_me:$LINENO: creating $ac_file" >&5
3618 echo "$as_me: creating $ac_file" >&6;}
3621 case $ac_tag in
3622 *:-:* | *:-) cat >"$tmp/stdin";;
3623 esac
3625 esac
3627 ac_dir=`$as_dirname "$ac_file" ||
3628 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3629 X"$ac_file" : 'X\(//\)[^/]' \| \
3630 X"$ac_file" : 'X\(//\)$' \| \
3631 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3632 echo X"$ac_file" |
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_dirname "$as_dir" ||
3658 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3659 X"$as_dir" : 'X\(//\)[^/]' \| \
3660 X"$as_dir" : 'X\(//\)$' \| \
3661 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3662 echo X"$as_dir" |
3663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3664 s//\1/
3667 /^X\(\/\/\)[^/].*/{
3668 s//\1/
3671 /^X\(\/\/\)$/{
3672 s//\1/
3675 /^X\(\/\).*/{
3676 s//\1/
3679 s/.*/./; q'`
3680 done
3681 test ! -n "$as_dirs" || mkdir $as_dirs
3682 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3683 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3684 { (exit 1); exit 1; }; }; }
3685 ac_builddir=.
3687 case "$ac_dir" in
3688 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3690 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3691 # A ".." for each directory in $ac_dir_suffix.
3692 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3693 case $ac_top_builddir_sub in
3694 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3695 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3696 esac ;;
3697 esac
3698 ac_abs_top_builddir=$ac_pwd
3699 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3700 # for backward compatibility:
3701 ac_top_builddir=$ac_top_build_prefix
3703 case $srcdir in
3704 .) # We are building in place.
3705 ac_srcdir=.
3706 ac_top_srcdir=$ac_top_builddir_sub
3707 ac_abs_top_srcdir=$ac_pwd ;;
3708 [\\/]* | ?:[\\/]* ) # Absolute name.
3709 ac_srcdir=$srcdir$ac_dir_suffix;
3710 ac_top_srcdir=$srcdir
3711 ac_abs_top_srcdir=$srcdir ;;
3712 *) # Relative name.
3713 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3714 ac_top_srcdir=$ac_top_build_prefix$srcdir
3715 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3716 esac
3717 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3720 case $ac_mode in
3723 # CONFIG_FILE
3726 case $INSTALL in
3727 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3728 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3729 esac
3731 _ACEOF
3733 # Neutralize VPATH when `$srcdir' = `.'.
3734 # Shell code in configure.ac might set extrasub.
3735 # FIXME: do we really want to maintain this feature?
3736 cat >>$CONFIG_STATUS <<_ACEOF
3737 sed "$ac_vpsub
3738 $extrasub
3739 _ACEOF
3740 cat >>$CONFIG_STATUS <<\_ACEOF
3742 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3743 s&@configure_input@&$configure_input&;t t
3744 s&@top_builddir@&$ac_top_builddir_sub&;t t
3745 s&@srcdir@&$ac_srcdir&;t t
3746 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3747 s&@top_srcdir@&$ac_top_srcdir&;t t
3748 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3749 s&@builddir@&$ac_builddir&;t t
3750 s&@abs_builddir@&$ac_abs_builddir&;t t
3751 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3752 s&@INSTALL@&$ac_INSTALL&;t t
3753 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3755 rm -f "$tmp/stdin"
3756 case $ac_file in
3757 -) cat "$tmp/out"; rm -f "$tmp/out";;
3758 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3759 esac
3763 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3764 echo "$as_me: executing $ac_file commands" >&6;}
3766 esac
3769 case $ac_file$ac_mode in
3770 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3771 # Configurable variable values for building test suites.
3772 # Generated by $0.
3773 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3775 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3776 at_testdir='tests'
3777 abs_builddir='$ac_abs_builddir'
3778 at_srcdir='$ac_srcdir'
3779 abs_srcdir='$ac_abs_srcdir'
3780 at_top_srcdir='$ac_top_srcdir'
3781 abs_top_srcdir='$ac_abs_top_srcdir'
3782 at_top_build_prefix='$ac_top_build_prefix'
3783 abs_top_builddir='$ac_abs_top_builddir'
3785 # Backward compatibility with Autotest <= 2.59b:
3786 at_top_builddir=\$at_top_build_prefix
3788 AUTOTEST_PATH='tests'
3790 SHELL=\${CONFIG_SHELL-'$SHELL'}
3791 ATEOF
3794 esac
3795 done # for ac_tag
3798 { (exit 0); exit 0; }
3799 _ACEOF
3800 chmod +x $CONFIG_STATUS
3801 ac_clean_files=$ac_clean_files_save
3804 # configure is writing to config.log, and then calls config.status.
3805 # config.status does its own redirection, appending to config.log.
3806 # Unfortunately, on DOS this fails, as config.log is still kept open
3807 # by configure, so config.status won't be able to write to it; its
3808 # output is simply discarded. So we exec the FD to /dev/null,
3809 # effectively closing config.log, so it can be properly (re)opened and
3810 # appended to by config.status. When coming back to configure, we
3811 # need to make the FD available again.
3812 if test "$no_create" != yes; then
3813 ac_cs_success=:
3814 ac_config_status_args=
3815 test "$silent" = yes &&
3816 ac_config_status_args="$ac_config_status_args --quiet"
3817 exec 5>/dev/null
3818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3819 exec 5>>config.log
3820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3821 # would make configure fail if this is the last instruction.
3822 $ac_cs_success || { (exit 1); exit 1; }
3825 # Report the state of this version of Autoconf if this is a beta.
3826 cat <<EOF
3828 You are about to use an experimental version of Autoconf. Be sure to
3829 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3831 Below you will find information on the status of this version of Autoconf.
3835 sed -n '/^\* Status/,$p' $srcdir/BUGS