* lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid
[autoconf.git] / configure
blob2392350da498a00abf0b4b895ef9650ef5dff4b5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59d for GNU Autoconf 2.59d.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # IFS
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
64 as_nl='
66 IFS=" "" $as_nl"
68 # Find who we are. Look in the path if we contain no directory separator.
69 case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72 for as_dir in $PATH
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77 done
78 IFS=$as_save_IFS
81 esac
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
85 as_myself=$0
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: 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; then
495 as_ln_s='ln -s'
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 as_ln_s='cp -p'
502 elif ln conf$$.file conf$$ 2>/dev/null; then
503 as_ln_s=ln
504 else
505 as_ln_s='cp -p'
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
511 as_mkdir_p=:
512 else
513 test -d ./-p && rmdir ./-p
514 as_mkdir_p=false
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
520 #! /bin/sh
521 exit 0
522 _ASEOF
523 chmod +x conf$$.file
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
526 else
527 as_executable_p=:
529 rm -f conf$$.file
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev/null 6>&1
541 # Name of the host.
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 # Initializations.
549 ac_default_prefix=/usr/local
550 ac_clean_files=
551 ac_config_libobj_dir=.
552 LIBOBJS=
553 cross_compiling=no
554 subdirs=
555 MFLAGS=
556 MAKEFLAGS=
557 SHELL=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME='GNU Autoconf'
561 PACKAGE_TARNAME='autoconf'
562 PACKAGE_VERSION='2.59d'
563 PACKAGE_STRING='GNU Autoconf 2.59d'
564 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
566 ac_unique_file="ChangeLog"
567 ac_subst_vars='SHELL
568 PATH_SEPARATOR
569 PACKAGE_NAME
570 PACKAGE_TARNAME
571 PACKAGE_VERSION
572 PACKAGE_STRING
573 PACKAGE_BUGREPORT
574 exec_prefix
575 prefix
576 program_transform_name
577 bindir
578 sbindir
579 libexecdir
580 datarootdir
581 datadir
582 sysconfdir
583 sharedstatedir
584 localstatedir
585 includedir
586 oldincludedir
587 docdir
588 infodir
589 htmldir
590 dvidir
591 pdfdir
592 psdir
593 libdir
594 localedir
595 mandir
596 DEFS
597 ECHO_C
598 ECHO_N
599 ECHO_T
600 LIBS
601 build_alias
602 host_alias
603 target_alias
604 INSTALL_PROGRAM
605 INSTALL_SCRIPT
606 INSTALL_DATA
607 CYGPATH_W
608 PACKAGE
609 VERSION
610 ACLOCAL
611 AUTOCONF
612 AUTOMAKE
613 AUTOHEADER
614 MAKEINFO
615 install_sh
616 STRIP
617 INSTALL_STRIP_PROGRAM
618 mkdir_p
620 SET_MAKE
621 am__leading_dot
622 AMTAR
623 am__tar
624 am__untar
625 ac_cv_sh_n_works
626 EXPR
628 HELP2MAN
629 PERL
630 TEST_EMACS
631 EMACS
632 EMACSLOADPATH
633 lispdir
634 GREP
635 EGREP
637 LIBOBJS
638 LTLIBOBJS'
639 ac_subst_files=''
640 ac_precious_vars='build_alias
641 host_alias
642 target_alias
643 EMACS
644 EMACSLOADPATH'
647 # Initialize some variables set by options.
648 ac_init_help=
649 ac_init_version=false
650 # The variables have the same names as the options, with
651 # dashes changed to underlines.
652 cache_file=/dev/null
653 exec_prefix=NONE
654 no_create=
655 no_recursion=
656 prefix=NONE
657 program_prefix=NONE
658 program_suffix=NONE
659 program_transform_name=s,x,x,
660 silent=
661 site=
662 srcdir=
663 verbose=
664 x_includes=NONE
665 x_libraries=NONE
667 # Installation directory options.
668 # These are left unexpanded so users can "make install exec_prefix=/foo"
669 # and all the variables that are supposed to be based on exec_prefix
670 # by default will actually change.
671 # Use braces instead of parens because sh, perl, etc. also accept them.
672 # (The list follows the same order as the GNU Coding Standards.)
673 bindir='${exec_prefix}/bin'
674 sbindir='${exec_prefix}/sbin'
675 libexecdir='${exec_prefix}/libexec'
676 datarootdir='${prefix}/share'
677 datadir='${datarootdir}'
678 sysconfdir='${prefix}/etc'
679 sharedstatedir='${prefix}/com'
680 localstatedir='${prefix}/var'
681 includedir='${prefix}/include'
682 oldincludedir='/usr/include'
683 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
684 infodir='${datarootdir}/info'
685 htmldir='${docdir}'
686 dvidir='${docdir}'
687 pdfdir='${docdir}'
688 psdir='${docdir}'
689 libdir='${exec_prefix}/lib'
690 localedir='${datarootdir}/locale'
691 mandir='${datarootdir}/man'
693 ac_prev=
694 ac_dashdash=
695 for ac_option
697 # If the previous option needs an argument, assign it.
698 if test -n "$ac_prev"; then
699 eval $ac_prev=\$ac_option
700 ac_prev=
701 continue
704 case $ac_option in
705 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
706 *) ac_optarg=yes ;;
707 esac
709 # Accept the important Cygnus configure options, so we can diagnose typos.
711 case $ac_dashdash$ac_option in
713 ac_dashdash=yes ;;
715 -bindir | --bindir | --bindi | --bind | --bin | --bi)
716 ac_prev=bindir ;;
717 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
718 bindir=$ac_optarg ;;
720 -build | --build | --buil | --bui | --bu)
721 ac_prev=build_alias ;;
722 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
723 build_alias=$ac_optarg ;;
725 -cache-file | --cache-file | --cache-fil | --cache-fi \
726 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
727 ac_prev=cache_file ;;
728 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
729 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
730 cache_file=$ac_optarg ;;
732 --config-cache | -C)
733 cache_file=config.cache ;;
735 -datadir | --datadir | --datadi | --datad)
736 ac_prev=datadir ;;
737 -datadir=* | --datadir=* | --datadi=* | --datad=*)
738 datadir=$ac_optarg ;;
740 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
741 | --dataroo | --dataro | --datar)
742 ac_prev=datarootdir ;;
743 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
744 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
745 datarootdir=$ac_optarg ;;
747 -disable-* | --disable-*)
748 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
751 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
752 { (exit 1); exit 1; }; }
753 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
754 eval enable_$ac_feature=no ;;
756 -docdir | --docdir | --docdi | --doc | --do)
757 ac_prev=docdir ;;
758 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
759 docdir=$ac_optarg ;;
761 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
762 ac_prev=dvidir ;;
763 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
764 dvidir=$ac_optarg ;;
766 -enable-* | --enable-*)
767 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
768 # Reject names that are not valid shell variable names.
769 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
770 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
771 { (exit 1); exit 1; }; }
772 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
773 eval enable_$ac_feature=\$ac_optarg ;;
775 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
776 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
777 | --exec | --exe | --ex)
778 ac_prev=exec_prefix ;;
779 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
780 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
781 | --exec=* | --exe=* | --ex=*)
782 exec_prefix=$ac_optarg ;;
784 -gas | --gas | --ga | --g)
785 # Obsolete; use --with-gas.
786 with_gas=yes ;;
788 -help | --help | --hel | --he | -h)
789 ac_init_help=long ;;
790 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
791 ac_init_help=recursive ;;
792 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
793 ac_init_help=short ;;
795 -host | --host | --hos | --ho)
796 ac_prev=host_alias ;;
797 -host=* | --host=* | --hos=* | --ho=*)
798 host_alias=$ac_optarg ;;
800 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
801 ac_prev=htmldir ;;
802 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
803 | --ht=*)
804 htmldir=$ac_optarg ;;
806 -includedir | --includedir | --includedi | --included | --include \
807 | --includ | --inclu | --incl | --inc)
808 ac_prev=includedir ;;
809 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
810 | --includ=* | --inclu=* | --incl=* | --inc=*)
811 includedir=$ac_optarg ;;
813 -infodir | --infodir | --infodi | --infod | --info | --inf)
814 ac_prev=infodir ;;
815 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
816 infodir=$ac_optarg ;;
818 -libdir | --libdir | --libdi | --libd)
819 ac_prev=libdir ;;
820 -libdir=* | --libdir=* | --libdi=* | --libd=*)
821 libdir=$ac_optarg ;;
823 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
824 | --libexe | --libex | --libe)
825 ac_prev=libexecdir ;;
826 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
827 | --libexe=* | --libex=* | --libe=*)
828 libexecdir=$ac_optarg ;;
830 -localedir | --localedir | --localedi | --localed | --locale)
831 ac_prev=localedir ;;
832 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
833 localedir=$ac_optarg ;;
835 -localstatedir | --localstatedir | --localstatedi | --localstated \
836 | --localstate | --localstat | --localsta | --localst | --locals)
837 ac_prev=localstatedir ;;
838 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
839 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
840 localstatedir=$ac_optarg ;;
842 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
843 ac_prev=mandir ;;
844 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
845 mandir=$ac_optarg ;;
847 -nfp | --nfp | --nf)
848 # Obsolete; use --without-fp.
849 with_fp=no ;;
851 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
852 | --no-cr | --no-c | -n)
853 no_create=yes ;;
855 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
856 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
857 no_recursion=yes ;;
859 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
860 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
861 | --oldin | --oldi | --old | --ol | --o)
862 ac_prev=oldincludedir ;;
863 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
864 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
865 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
866 oldincludedir=$ac_optarg ;;
868 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
869 ac_prev=prefix ;;
870 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
871 prefix=$ac_optarg ;;
873 -program-prefix | --program-prefix | --program-prefi | --program-pref \
874 | --program-pre | --program-pr | --program-p)
875 ac_prev=program_prefix ;;
876 -program-prefix=* | --program-prefix=* | --program-prefi=* \
877 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
878 program_prefix=$ac_optarg ;;
880 -program-suffix | --program-suffix | --program-suffi | --program-suff \
881 | --program-suf | --program-su | --program-s)
882 ac_prev=program_suffix ;;
883 -program-suffix=* | --program-suffix=* | --program-suffi=* \
884 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
885 program_suffix=$ac_optarg ;;
887 -program-transform-name | --program-transform-name \
888 | --program-transform-nam | --program-transform-na \
889 | --program-transform-n | --program-transform- \
890 | --program-transform | --program-transfor \
891 | --program-transfo | --program-transf \
892 | --program-trans | --program-tran \
893 | --progr-tra | --program-tr | --program-t)
894 ac_prev=program_transform_name ;;
895 -program-transform-name=* | --program-transform-name=* \
896 | --program-transform-nam=* | --program-transform-na=* \
897 | --program-transform-n=* | --program-transform-=* \
898 | --program-transform=* | --program-transfor=* \
899 | --program-transfo=* | --program-transf=* \
900 | --program-trans=* | --program-tran=* \
901 | --progr-tra=* | --program-tr=* | --program-t=*)
902 program_transform_name=$ac_optarg ;;
904 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
905 ac_prev=pdfdir ;;
906 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
907 pdfdir=$ac_optarg ;;
909 -psdir | --psdir | --psdi | --psd | --ps)
910 ac_prev=psdir ;;
911 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
912 psdir=$ac_optarg ;;
914 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
915 | -silent | --silent | --silen | --sile | --sil)
916 silent=yes ;;
918 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
919 ac_prev=sbindir ;;
920 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
921 | --sbi=* | --sb=*)
922 sbindir=$ac_optarg ;;
924 -sharedstatedir | --sharedstatedir | --sharedstatedi \
925 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
926 | --sharedst | --shareds | --shared | --share | --shar \
927 | --sha | --sh)
928 ac_prev=sharedstatedir ;;
929 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
930 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
931 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
932 | --sha=* | --sh=*)
933 sharedstatedir=$ac_optarg ;;
935 -site | --site | --sit)
936 ac_prev=site ;;
937 -site=* | --site=* | --sit=*)
938 site=$ac_optarg ;;
940 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
941 ac_prev=srcdir ;;
942 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
943 srcdir=$ac_optarg ;;
945 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
946 | --syscon | --sysco | --sysc | --sys | --sy)
947 ac_prev=sysconfdir ;;
948 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
949 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
950 sysconfdir=$ac_optarg ;;
952 -target | --target | --targe | --targ | --tar | --ta | --t)
953 ac_prev=target_alias ;;
954 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
955 target_alias=$ac_optarg ;;
957 -v | -verbose | --verbose | --verbos | --verbo | --verb)
958 verbose=yes ;;
960 -version | --version | --versio | --versi | --vers | -V)
961 ac_init_version=: ;;
963 -with-* | --with-*)
964 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
967 { echo "$as_me: error: invalid package name: $ac_package" >&2
968 { (exit 1); exit 1; }; }
969 ac_package=`echo $ac_package| sed 's/-/_/g'`
970 eval with_$ac_package=\$ac_optarg ;;
972 -without-* | --without-*)
973 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
976 { echo "$as_me: error: invalid package name: $ac_package" >&2
977 { (exit 1); exit 1; }; }
978 ac_package=`echo $ac_package | sed 's/-/_/g'`
979 eval with_$ac_package=no ;;
981 --x)
982 # Obsolete; use --with-x.
983 with_x=yes ;;
985 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
986 | --x-incl | --x-inc | --x-in | --x-i)
987 ac_prev=x_includes ;;
988 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
989 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
990 x_includes=$ac_optarg ;;
992 -x-libraries | --x-libraries | --x-librarie | --x-librari \
993 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
994 ac_prev=x_libraries ;;
995 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
996 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
997 x_libraries=$ac_optarg ;;
999 -*) { echo "$as_me: error: unrecognized option: $ac_option
1000 Try \`$0 --help' for more information." >&2
1001 { (exit 1); exit 1; }; }
1004 *=*)
1005 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1008 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1009 { (exit 1); exit 1; }; }
1010 eval $ac_envvar=\$ac_optarg
1011 export $ac_envvar ;;
1014 # FIXME: should be removed in autoconf 3.0.
1015 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1016 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1017 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1018 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1021 esac
1022 done
1024 if test -n "$ac_prev"; then
1025 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1026 { echo "$as_me: error: missing argument to $ac_option" >&2
1027 { (exit 1); exit 1; }; }
1030 # Be sure to have absolute directory names.
1031 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1032 datadir sysconfdir sharedstatedir localstatedir includedir \
1033 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1034 libdir localedir mandir
1036 eval ac_val=\$$ac_var
1037 case $ac_val in
1038 [\\/$]* | ?:[\\/]* ) continue;;
1039 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1040 esac
1041 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1042 { (exit 1); exit 1; }; }
1043 done
1045 # There might be people who depend on the old broken behavior: `$host'
1046 # used to hold the argument of --host etc.
1047 # FIXME: To remove some day.
1048 build=$build_alias
1049 host=$host_alias
1050 target=$target_alias
1052 # FIXME: To remove some day.
1053 if test "x$host_alias" != x; then
1054 if test "x$build_alias" = x; then
1055 cross_compiling=maybe
1056 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1057 If a cross compiler is detected then cross compile mode will be used." >&2
1058 elif test "x$build_alias" != "x$host_alias"; then
1059 cross_compiling=yes
1063 ac_tool_prefix=
1064 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1066 test "$silent" = yes && exec 6>/dev/null
1069 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1070 ac_ls_di=`ls -di .` &&
1071 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1072 { echo "$as_me: error: Working directory cannot be determined" >&2
1073 { (exit 1); exit 1; }; }
1074 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1075 { echo "$as_me: error: pwd does not report name of working directory" >&2
1076 { (exit 1); exit 1; }; }
1079 # Find the source files, if location was not specified.
1080 if test -z "$srcdir"; then
1081 ac_srcdir_defaulted=yes
1082 # Try the directory containing this script, then the parent directory.
1083 ac_confdir=`$as_dirname -- "$0" ||
1084 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1085 X"$0" : 'X\(//\)[^/]' \| \
1086 X"$0" : 'X\(//\)$' \| \
1087 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1088 echo X"$0" |
1089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1090 s//\1/
1093 /^X\(\/\/\)[^/].*/{
1094 s//\1/
1097 /^X\(\/\/\)$/{
1098 s//\1/
1101 /^X\(\/\).*/{
1102 s//\1/
1105 s/.*/./; q'`
1106 srcdir=$ac_confdir
1107 if test ! -r "$srcdir/$ac_unique_file"; then
1108 srcdir=..
1110 else
1111 ac_srcdir_defaulted=no
1113 if test ! -r "$srcdir/$ac_unique_file"; then
1114 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1115 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1116 { (exit 1); exit 1; }; }
1118 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1119 ac_abs_confdir=`(
1120 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1121 { (exit 1); exit 1; }; }
1122 pwd)`
1123 # When building in place, set srcdir=.
1124 if test "$ac_abs_confdir" = "$ac_pwd"; then
1125 srcdir=.
1127 # Remove unnecessary trailing slashes from srcdir.
1128 # Double slashes in file names in object file debugging info
1129 # mess up M-x gdb in Emacs.
1130 case $srcdir in
1131 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1132 esac
1133 for ac_var in $ac_precious_vars; do
1134 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1135 eval ac_env_${ac_var}_value=\$${ac_var}
1136 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1137 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1138 done
1141 # Report the --help message.
1143 if test "$ac_init_help" = "long"; then
1144 # Omit some internal or obsolete options to make the list less imposing.
1145 # This message is too long to be a string in the A/UX 3.1 sh.
1146 cat <<_ACEOF
1147 \`configure' configures GNU Autoconf 2.59d to adapt to many kinds of systems.
1149 Usage: $0 [OPTION]... [VAR=VALUE]...
1151 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1152 VAR=VALUE. See below for descriptions of some of the useful variables.
1154 Defaults for the options are specified in brackets.
1156 Configuration:
1157 -h, --help display this help and exit
1158 --help=short display options specific to this package
1159 --help=recursive display the short help of all the included packages
1160 -V, --version display version information and exit
1161 -q, --quiet, --silent do not print \`checking...' messages
1162 --cache-file=FILE cache test results in FILE [disabled]
1163 -C, --config-cache alias for \`--cache-file=config.cache'
1164 -n, --no-create do not create output files
1165 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1167 Installation directories:
1168 --prefix=PREFIX install architecture-independent files in PREFIX
1169 [$ac_default_prefix]
1170 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1171 [PREFIX]
1173 By default, \`make install' will install all the files in
1174 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1175 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1176 for instance \`--prefix=\$HOME'.
1178 For better control, use the options below.
1180 Fine tuning of the installation directories:
1181 --bindir=DIR user executables [EPREFIX/bin]
1182 --sbindir=DIR system admin executables [EPREFIX/sbin]
1183 --libexecdir=DIR program executables [EPREFIX/libexec]
1184 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1185 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1186 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1187 --libdir=DIR object code libraries [EPREFIX/lib]
1188 --includedir=DIR C header files [PREFIX/include]
1189 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1190 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1191 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1192 --infodir=DIR info documentation [DATAROOTDIR/info]
1193 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1194 --mandir=DIR man documentation [DATAROOTDIR/man]
1195 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1196 --htmldir=DIR html documentation [DOCDIR]
1197 --dvidir=DIR dvi documentation [DOCDIR]
1198 --pdfdir=DIR pdf documentation [DOCDIR]
1199 --psdir=DIR ps documentation [DOCDIR]
1200 _ACEOF
1202 cat <<\_ACEOF
1204 Program names:
1205 --program-prefix=PREFIX prepend PREFIX to installed program names
1206 --program-suffix=SUFFIX append SUFFIX to installed program names
1207 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1208 _ACEOF
1211 if test -n "$ac_init_help"; then
1212 case $ac_init_help in
1213 short | recursive ) echo "Configuration of GNU Autoconf 2.59d:";;
1214 esac
1215 cat <<\_ACEOF
1217 Optional Packages:
1218 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1219 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1220 --with-lispdir override the default lisp directory
1222 Some influential environment variables:
1223 EMACS the Emacs editor command
1224 EMACSLOADPATH
1225 the Emacs library search path
1227 Use these variables to override the choices made by `configure' or to help
1228 it to find libraries and programs with nonstandard names/locations.
1230 Report bugs to <bug-autoconf@gnu.org>.
1231 _ACEOF
1232 ac_status=$?
1235 if test "$ac_init_help" = "recursive"; then
1236 # If there are subdirs, report their specific --help.
1237 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1238 test -d "$ac_dir" || continue
1239 ac_builddir=.
1241 case "$ac_dir" in
1242 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1244 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1245 # A ".." for each directory in $ac_dir_suffix.
1246 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1247 case $ac_top_builddir_sub in
1248 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1249 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1250 esac ;;
1251 esac
1252 ac_abs_top_builddir=$ac_pwd
1253 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1254 # for backward compatibility:
1255 ac_top_builddir=$ac_top_build_prefix
1257 case $srcdir in
1258 .) # We are building in place.
1259 ac_srcdir=.
1260 ac_top_srcdir=$ac_top_builddir_sub
1261 ac_abs_top_srcdir=$ac_pwd ;;
1262 [\\/]* | ?:[\\/]* ) # Absolute name.
1263 ac_srcdir=$srcdir$ac_dir_suffix;
1264 ac_top_srcdir=$srcdir
1265 ac_abs_top_srcdir=$srcdir ;;
1266 *) # Relative name.
1267 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1268 ac_top_srcdir=$ac_top_build_prefix$srcdir
1269 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1270 esac
1271 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1273 cd "$ac_dir" || { ac_status=$?; continue; }
1274 # Check for guested configure.
1275 if test -f "$ac_srcdir/configure.gnu"; then
1276 echo &&
1277 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1278 elif test -f "$ac_srcdir/configure"; then
1279 echo &&
1280 $SHELL "$ac_srcdir/configure" --help=recursive
1281 else
1282 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1283 fi || ac_status=$?
1284 cd "$ac_pwd" || { ac_status=$?; break; }
1285 done
1288 test -n "$ac_init_help" && exit $ac_status
1289 if $ac_init_version; then
1290 cat <<\_ACEOF
1291 GNU Autoconf configure 2.59d
1292 generated by GNU Autoconf 2.59d
1294 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1295 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1296 This configure script is free software; the Free Software Foundation
1297 gives unlimited permission to copy, distribute and modify it.
1298 _ACEOF
1299 exit
1301 cat >config.log <<_ACEOF
1302 This file contains any messages produced by compilers while
1303 running configure, to aid debugging if configure makes a mistake.
1305 It was created by GNU Autoconf $as_me 2.59d, which was
1306 generated by GNU Autoconf 2.59d. Invocation command line was
1308 $ $0 $@
1310 _ACEOF
1311 exec 5>>config.log
1313 cat <<_ASUNAME
1314 ## --------- ##
1315 ## Platform. ##
1316 ## --------- ##
1318 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1319 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1320 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1321 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1322 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1324 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1325 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1327 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1328 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1329 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1330 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1331 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1332 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1333 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1335 _ASUNAME
1337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1338 for as_dir in $PATH
1340 IFS=$as_save_IFS
1341 test -z "$as_dir" && as_dir=.
1342 echo "PATH: $as_dir"
1343 done
1344 IFS=$as_save_IFS
1346 } >&5
1348 cat >&5 <<_ACEOF
1351 ## ----------- ##
1352 ## Core tests. ##
1353 ## ----------- ##
1355 _ACEOF
1358 # Keep a trace of the command line.
1359 # Strip out --no-create and --no-recursion so they do not pile up.
1360 # Strip out --silent because we don't want to record it for future runs.
1361 # Also quote any args containing shell meta-characters.
1362 # Make two passes to allow for proper duplicate-argument suppression.
1363 ac_configure_args=
1364 ac_configure_args0=
1365 ac_configure_args1=
1366 ac_must_keep_next=false
1367 for ac_pass in 1 2
1369 for ac_arg
1371 case $ac_arg in
1372 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1373 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1374 | -silent | --silent | --silen | --sile | --sil)
1375 continue ;;
1376 *\'*)
1377 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1378 esac
1379 case $ac_pass in
1380 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1382 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1383 if test $ac_must_keep_next = true; then
1384 ac_must_keep_next=false # Got value, back to normal.
1385 else
1386 case $ac_arg in
1387 *=* | --config-cache | -C | -disable-* | --disable-* \
1388 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1389 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1390 | -with-* | --with-* | -without-* | --without-* | --x)
1391 case "$ac_configure_args0 " in
1392 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1393 esac
1395 -* ) ac_must_keep_next=true ;;
1396 esac
1398 ac_configure_args="$ac_configure_args '$ac_arg'"
1400 esac
1401 done
1402 done
1403 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1404 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1406 # When interrupted or exit'd, cleanup temporary files, and complete
1407 # config.log. We remove comments because anyway the quotes in there
1408 # would cause problems or look ugly.
1409 # WARNING: Use '\'' to represent an apostrophe within the trap.
1410 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1411 trap 'exit_status=$?
1412 # Save into config.log some information that might help in debugging.
1414 echo
1416 cat <<\_ASBOX
1417 ## ---------------- ##
1418 ## Cache variables. ##
1419 ## ---------------- ##
1420 _ASBOX
1421 echo
1422 # The following way of writing the cache mishandles newlines in values,
1424 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1425 eval ac_val=\$$ac_var
1426 case $ac_val in #(
1427 *${as_nl}*)
1428 case $ac_var in #(
1429 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1430 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1431 esac
1432 case $ac_var in #(
1433 _ | IFS | as_nl) ;; #(
1434 *) $as_unset $ac_var ;;
1435 esac ;;
1436 esac
1437 done
1438 (set) 2>&1 |
1439 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1440 *${as_nl}ac_space=\ *)
1441 sed -n \
1442 "s/'\''/'\''\\\\'\'''\''/g;
1443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1444 ;; #(
1446 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1448 esac |
1449 sort
1451 echo
1453 cat <<\_ASBOX
1454 ## ----------------- ##
1455 ## Output variables. ##
1456 ## ----------------- ##
1457 _ASBOX
1458 echo
1459 for ac_var in $ac_subst_vars
1461 eval ac_val=\$$ac_var
1462 case $ac_val in
1463 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1464 esac
1465 echo "$ac_var='\''$ac_val'\''"
1466 done | sort
1467 echo
1469 if test -n "$ac_subst_files"; then
1470 cat <<\_ASBOX
1471 ## ------------------- ##
1472 ## File substitutions. ##
1473 ## ------------------- ##
1474 _ASBOX
1475 echo
1476 for ac_var in $ac_subst_files
1478 eval ac_val=\$$ac_var
1479 case $ac_val in
1480 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1481 esac
1482 echo "$ac_var='\''$ac_val'\''"
1483 done | sort
1484 echo
1487 if test -s confdefs.h; then
1488 cat <<\_ASBOX
1489 ## ----------- ##
1490 ## confdefs.h. ##
1491 ## ----------- ##
1492 _ASBOX
1493 echo
1494 cat confdefs.h
1495 echo
1497 test "$ac_signal" != 0 &&
1498 echo "$as_me: caught signal $ac_signal"
1499 echo "$as_me: exit $exit_status"
1500 } >&5
1501 rm -f core *.core core.conftest.* &&
1502 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1503 exit $exit_status
1505 for ac_signal in 1 2 13 15; do
1506 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1507 done
1508 ac_signal=0
1510 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1511 rm -f -r conftest* confdefs.h
1513 # Predefined preprocessor variables.
1515 cat >>confdefs.h <<_ACEOF
1516 #define PACKAGE_NAME "$PACKAGE_NAME"
1517 _ACEOF
1520 cat >>confdefs.h <<_ACEOF
1521 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1522 _ACEOF
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1527 _ACEOF
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_STRING "$PACKAGE_STRING"
1532 _ACEOF
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1537 _ACEOF
1540 # Let the site file select an alternate cache file if it wants to.
1541 # Prefer explicitly selected file to automatically selected ones.
1542 if test -n "$CONFIG_SITE"; then
1543 set x "$CONFIG_SITE"
1544 elif test "x$prefix" != xNONE; then
1545 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1546 else
1547 set x "$ac_default_prefix/share/config.site" \
1548 "$ac_default_prefix/etc/config.site"
1550 shift
1551 for ac_site_file
1553 if test -r "$ac_site_file"; then
1554 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1555 echo "$as_me: loading site script $ac_site_file" >&6;}
1556 sed 's/^/| /' "$ac_site_file" >&5
1557 . "$ac_site_file"
1559 done
1561 if test -r "$cache_file"; then
1562 # Some versions of bash will fail to source /dev/null (special
1563 # files actually), so we avoid doing that.
1564 if test -f "$cache_file"; then
1565 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1566 echo "$as_me: loading cache $cache_file" >&6;}
1567 case $cache_file in
1568 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1569 *) . "./$cache_file";;
1570 esac
1572 else
1573 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1574 echo "$as_me: creating cache $cache_file" >&6;}
1575 >$cache_file
1578 # Check that the precious variables saved in the cache have kept the same
1579 # value.
1580 ac_cache_corrupted=false
1581 for ac_var in $ac_precious_vars; do
1582 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1583 eval ac_new_set=\$ac_env_${ac_var}_set
1584 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1585 eval ac_new_val=\$ac_env_${ac_var}_value
1586 case $ac_old_set,$ac_new_set in
1587 set,)
1588 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1589 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1590 ac_cache_corrupted=: ;;
1591 ,set)
1592 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1593 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1594 ac_cache_corrupted=: ;;
1595 ,);;
1597 if test "x$ac_old_val" != "x$ac_new_val"; then
1598 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1599 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1600 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1601 echo "$as_me: former value: $ac_old_val" >&2;}
1602 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1603 echo "$as_me: current value: $ac_new_val" >&2;}
1604 ac_cache_corrupted=:
1605 fi;;
1606 esac
1607 # Pass precious variables to config.status.
1608 if test "$ac_new_set" = set; then
1609 case $ac_new_val in
1610 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1611 *) ac_arg=$ac_var=$ac_new_val ;;
1612 esac
1613 case " $ac_configure_args " in
1614 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1615 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1616 esac
1618 done
1619 if $ac_cache_corrupted; then
1620 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1621 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1622 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1623 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1624 { (exit 1); exit 1; }; }
1651 ac_ext=c
1652 ac_cpp='$CPP $CPPFLAGS'
1653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1660 ac_aux_dir=
1661 for ac_dir in config "$srcdir"/config; do
1662 if test -f "$ac_dir/install-sh"; then
1663 ac_aux_dir=$ac_dir
1664 ac_install_sh="$ac_aux_dir/install-sh -c"
1665 break
1666 elif test -f "$ac_dir/install.sh"; then
1667 ac_aux_dir=$ac_dir
1668 ac_install_sh="$ac_aux_dir/install.sh -c"
1669 break
1670 elif test -f "$ac_dir/shtool"; then
1671 ac_aux_dir=$ac_dir
1672 ac_install_sh="$ac_aux_dir/shtool install -c"
1673 break
1675 done
1676 if test -z "$ac_aux_dir"; then
1677 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1678 echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1679 { (exit 1); exit 1; }; }
1682 # These three variables are undocumented and unsupported,
1683 # and are intended to be withdrawn in a future Autoconf release.
1684 # They can cause serious problems if a builder's source tree is in a directory
1685 # whose full name contains unusual characters.
1686 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1687 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1688 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1691 ac_config_files="$ac_config_files config/Makefile"
1694 am__api_version="1.9"
1695 # Find a good install program. We prefer a C program (faster),
1696 # so one script is as good as another. But avoid the broken or
1697 # incompatible versions:
1698 # SysV /etc/install, /usr/sbin/install
1699 # SunOS /usr/etc/install
1700 # IRIX /sbin/install
1701 # AIX /bin/install
1702 # AmigaOS /C/install, which installs bootblocks on floppy discs
1703 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1704 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1705 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1706 # OS/2's system install, which has a completely different semantic
1707 # ./install, which can be erroneously created by make from ./install.sh.
1708 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1709 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1710 if test -z "$INSTALL"; then
1711 if test "${ac_cv_path_install+set}" = set; then
1712 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 else
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 for as_dir in $PATH
1717 IFS=$as_save_IFS
1718 test -z "$as_dir" && as_dir=.
1719 # Account for people who put trailing slashes in PATH elements.
1720 case $as_dir/ in
1721 ./ | .// | /cC/* | \
1722 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1723 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1724 /usr/ucb/* ) ;;
1726 # OSF1 and SCO ODT 3.0 have their own names for install.
1727 # Don't use installbsd from OSF since it installs stuff as root
1728 # by default.
1729 for ac_prog in ginstall scoinst install; do
1730 for ac_exec_ext in '' $ac_executable_extensions; do
1731 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1732 if test $ac_prog = install &&
1733 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1734 # AIX install. It has an incompatible calling convention.
1736 elif test $ac_prog = install &&
1737 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1738 # program-specific install script used by HP pwplus--don't use.
1740 else
1741 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1742 break 3
1745 done
1746 done
1748 esac
1749 done
1750 IFS=$as_save_IFS
1754 if test "${ac_cv_path_install+set}" = set; then
1755 INSTALL=$ac_cv_path_install
1756 else
1757 # As a last resort, use the slow shell script. Don't cache a
1758 # value for INSTALL within a source directory, because that will
1759 # break other packages using the cache if that directory is
1760 # removed, or if the value is a relative name.
1761 INSTALL=$ac_install_sh
1764 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1765 echo "${ECHO_T}$INSTALL" >&6; }
1767 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1768 # It thinks the first close brace ends the variable substitution.
1769 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1771 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1773 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1775 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1776 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1777 # Just in case
1778 sleep 1
1779 echo timestamp > conftest.file
1780 # Do `set' in a subshell so we don't clobber the current shell's
1781 # arguments. Must try -L first in case configure is actually a
1782 # symlink; some systems play weird games with the mod time of symlinks
1783 # (eg FreeBSD returns the mod time of the symlink's containing
1784 # directory).
1785 if (
1786 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1787 if test "$*" = "X"; then
1788 # -L didn't work.
1789 set X `ls -t $srcdir/configure conftest.file`
1791 rm -f conftest.file
1792 if test "$*" != "X $srcdir/configure conftest.file" \
1793 && test "$*" != "X conftest.file $srcdir/configure"; then
1795 # If neither matched, then we have a broken ls. This can happen
1796 # if, for instance, CONFIG_SHELL is bash and it inherits a
1797 # broken ls alias from the environment. This has actually
1798 # happened. Such a system could not be considered "sane".
1799 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1800 alias in your environment" >&5
1801 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1802 alias in your environment" >&2;}
1803 { (exit 1); exit 1; }; }
1806 test "$2" = conftest.file
1808 then
1809 # Ok.
1811 else
1812 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1813 Check your system clock" >&5
1814 echo "$as_me: error: newly created file is older than distributed files!
1815 Check your system clock" >&2;}
1816 { (exit 1); exit 1; }; }
1818 { echo "$as_me:$LINENO: result: yes" >&5
1819 echo "${ECHO_T}yes" >&6; }
1820 test "$program_prefix" != NONE &&
1821 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1822 # Use a double $ so make ignores it.
1823 test "$program_suffix" != NONE &&
1824 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1825 # Double any \ or $. echo might interpret backslashes.
1826 # By default was `s,x,x', remove it if useless.
1827 cat <<\_ACEOF >conftest.sed
1828 s/[\\$]/&&/g;s/;s,x,x,$//
1829 _ACEOF
1830 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1831 rm -f conftest.sed
1833 # expand $ac_aux_dir to an absolute path
1834 am_aux_dir=`cd $ac_aux_dir && pwd`
1836 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1837 # Use eval to expand $SHELL
1838 if eval "$MISSING --run true"; then
1839 am_missing_run="$MISSING --run "
1840 else
1841 am_missing_run=
1842 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1843 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1846 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1847 # We used to keeping the `.' as first argument, in order to
1848 # allow $(mkdir_p) to be used without argument. As in
1849 # $(mkdir_p) $(somedir)
1850 # where $(somedir) is conditionally defined. However this is wrong
1851 # for two reasons:
1852 # 1. if the package is installed by a user who cannot write `.'
1853 # make install will fail,
1854 # 2. the above comment should most certainly read
1855 # $(mkdir_p) $(DESTDIR)$(somedir)
1856 # so it does not work when $(somedir) is undefined and
1857 # $(DESTDIR) is not.
1858 # To support the latter case, we have to write
1859 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1860 # so the `.' trick is pointless.
1861 mkdir_p='mkdir -p --'
1862 else
1863 # On NextStep and OpenStep, the `mkdir' command does not
1864 # recognize any option. It will interpret all options as
1865 # directories to create, and then abort because `.' already
1866 # exists.
1867 for d in ./-p ./--version;
1869 test -d $d && rmdir $d
1870 done
1871 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1872 if test -f "$ac_aux_dir/mkinstalldirs"; then
1873 mkdir_p='$(mkinstalldirs)'
1874 else
1875 mkdir_p='$(install_sh) -d'
1879 for ac_prog in gawk mawk nawk awk
1881 # Extract the first word of "$ac_prog", so it can be a program name with args.
1882 set dummy $ac_prog; ac_word=$2
1883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1885 if test "${ac_cv_prog_AWK+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888 if test -n "$AWK"; then
1889 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1890 else
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 for as_dir in $PATH
1894 IFS=$as_save_IFS
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1898 ac_cv_prog_AWK="$ac_prog"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 break 2
1902 done
1903 done
1904 IFS=$as_save_IFS
1908 AWK=$ac_cv_prog_AWK
1909 if test -n "$AWK"; then
1910 { echo "$as_me:$LINENO: result: $AWK" >&5
1911 echo "${ECHO_T}$AWK" >&6; }
1912 else
1913 { echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6; }
1918 test -n "$AWK" && break
1919 done
1921 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1922 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1923 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/^a-zA-Z0-9_/_/g'`
1924 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 else
1927 cat >conftest.make <<\_ACEOF
1928 SHELL = /bin/sh
1929 all:
1930 @echo '@@@%%%=$(MAKE)=@@@%%%'
1931 _ACEOF
1932 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1933 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1934 *@@@%%%=?*=@@@%%%*)
1935 eval ac_cv_prog_make_${ac_make}_set=yes;;
1937 eval ac_cv_prog_make_${ac_make}_set=no;;
1938 esac
1939 rm -f conftest.make
1941 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1942 { echo "$as_me:$LINENO: result: yes" >&5
1943 echo "${ECHO_T}yes" >&6; }
1944 SET_MAKE=
1945 else
1946 { echo "$as_me:$LINENO: result: no" >&5
1947 echo "${ECHO_T}no" >&6; }
1948 SET_MAKE="MAKE=${MAKE-make}"
1951 rm -rf .tst 2>/dev/null
1952 mkdir .tst 2>/dev/null
1953 if test -d .tst; then
1954 am__leading_dot=.
1955 else
1956 am__leading_dot=_
1958 rmdir .tst 2>/dev/null
1960 # test to see if srcdir already configured
1961 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1962 test -f $srcdir/config.status; then
1963 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1964 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1965 { (exit 1); exit 1; }; }
1968 # test whether we have cygpath
1969 if test -z "$CYGPATH_W"; then
1970 if (cygpath --version) >/dev/null 2>/dev/null; then
1971 CYGPATH_W='cygpath -w'
1972 else
1973 CYGPATH_W=echo
1978 # Define the identity of the package.
1979 PACKAGE='autoconf'
1980 VERSION='2.59d'
1983 cat >>confdefs.h <<_ACEOF
1984 #define PACKAGE "$PACKAGE"
1985 _ACEOF
1988 cat >>confdefs.h <<_ACEOF
1989 #define VERSION "$VERSION"
1990 _ACEOF
1992 # Some tools Automake needs.
1994 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1997 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2000 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2003 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2006 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2008 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2010 # Installed binaries are usually stripped using `strip' when the user
2011 # run `make install-strip'. However `strip' might not be the right
2012 # tool to use in cross-compilation environments, therefore Automake
2013 # will honor the `STRIP' environment variable to overrule this program.
2014 if test "$cross_compiling" != no; then
2015 if test -n "$ac_tool_prefix"; then
2016 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2017 set dummy ${ac_tool_prefix}strip; ac_word=$2
2018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2020 if test "${ac_cv_prog_STRIP+set}" = set; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 else
2023 if test -n "$STRIP"; then
2024 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2025 else
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 for as_dir in $PATH
2029 IFS=$as_save_IFS
2030 test -z "$as_dir" && as_dir=.
2031 for ac_exec_ext in '' $ac_executable_extensions; do
2032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2033 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2035 break 2
2037 done
2038 done
2039 IFS=$as_save_IFS
2043 STRIP=$ac_cv_prog_STRIP
2044 if test -n "$STRIP"; then
2045 { echo "$as_me:$LINENO: result: $STRIP" >&5
2046 echo "${ECHO_T}$STRIP" >&6; }
2047 else
2048 { echo "$as_me:$LINENO: result: no" >&5
2049 echo "${ECHO_T}no" >&6; }
2054 if test -z "$ac_cv_prog_STRIP"; then
2055 ac_ct_STRIP=$STRIP
2056 # Extract the first word of "strip", so it can be a program name with args.
2057 set dummy strip; ac_word=$2
2058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2060 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2061 echo $ECHO_N "(cached) $ECHO_C" >&6
2062 else
2063 if test -n "$ac_ct_STRIP"; then
2064 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2065 else
2066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067 for as_dir in $PATH
2069 IFS=$as_save_IFS
2070 test -z "$as_dir" && as_dir=.
2071 for ac_exec_ext in '' $ac_executable_extensions; do
2072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2073 ac_cv_prog_ac_ct_STRIP="strip"
2074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 break 2
2077 done
2078 done
2079 IFS=$as_save_IFS
2083 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2084 if test -n "$ac_ct_STRIP"; then
2085 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2086 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2087 else
2088 { echo "$as_me:$LINENO: result: no" >&5
2089 echo "${ECHO_T}no" >&6; }
2092 if test "x$ac_ct_STRIP" = x; then
2093 STRIP=":"
2094 else
2095 case $cross_compiling:$ac_tool_warned in
2096 yes:)
2097 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2098 whose name does not start with the host triplet. If you think this
2099 configuration is useful to you, please write to autoconf@gnu.org." >&5
2100 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2101 whose name does not start with the host triplet. If you think this
2102 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2103 ac_tool_warned=yes ;;
2104 esac
2105 STRIP=$ac_ct_STRIP
2107 else
2108 STRIP="$ac_cv_prog_STRIP"
2112 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2114 # We need awk for the "check" target. The system "awk" is bad on
2115 # some platforms.
2116 # Always define AMTAR for backward compatibility.
2118 AMTAR=${AMTAR-"${am_missing_run}tar"}
2120 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2127 # We use `/bin/sh -n script' to check that there are no syntax errors
2128 # in the scripts. Although incredible, there are /bin/sh that go into
2129 # endless loops with `-n', e.g., SunOS's:
2131 # $ uname -a
2132 # SunOS ondine 4.1.3 2 sun4m unknown
2133 # $ cat endless.sh
2134 # while false
2135 # do
2137 # done
2138 # exit 0
2139 # $ time sh endless.sh
2140 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2141 # $ time sh -nx endless.sh
2142 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2144 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2145 # that they are unusable on large scripts like our testsuite.
2147 # So before using `/bin/sh -n' to check our scripts, we first check
2148 # that `/bin/sh -n' is known to not have these problems.
2150 { echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2151 echo $ECHO_N "checking whether /bin/sh -n is known to work... $ECHO_C" >&6; }
2152 if test "${ac_cv_sh_n_works+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 else
2155 if (
2156 unset BASH_VERSION ZSH_VERSION
2157 /bin/sh -c '
2158 test -n "${BASH_VERSION+set}" || # Bash
2159 test -n "${KSH_VERSION+set}" || # pdksh
2160 test -n "${ZSH_VERSION+set}" || # zsh
2161 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2163 ) 2>/dev/null
2164 then ac_cv_sh_n_works=yes
2165 else ac_cv_sh_n_works=no
2169 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2170 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2173 # Initialize the test suite.
2174 ac_config_commands="$ac_config_commands tests/atconfig"
2177 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2179 # Extract the first word of "expr", so it can be a program name with args.
2180 set dummy expr; ac_word=$2
2181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2183 if test "${ac_cv_path_EXPR+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 else
2186 case $EXPR in
2187 [\\/]* | ?:[\\/]*)
2188 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 for as_dir in $PATH
2194 IFS=$as_save_IFS
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200 break 2
2202 done
2203 done
2204 IFS=$as_save_IFS
2207 esac
2209 EXPR=$ac_cv_path_EXPR
2210 if test -n "$EXPR"; then
2211 { echo "$as_me:$LINENO: result: $EXPR" >&5
2212 echo "${ECHO_T}$EXPR" >&6; }
2213 else
2214 { echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6; }
2221 ## ---- ##
2222 ## M4. ##
2223 ## ---- ##
2225 # We use an absolute name for GNU m4 so even if users have another m4 first in
2226 # their path, the installer can configure with a path that has GNU m4
2227 # first and get that path embedded in the installed autoconf and
2228 # autoheader scripts.
2229 for ac_prog in gm4 gnum4 m4
2231 # Extract the first word of "$ac_prog", so it can be a program name with args.
2232 set dummy $ac_prog; ac_word=$2
2233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2235 if test "${ac_cv_path_M4+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 else
2238 case $M4 in
2239 [\\/]* | ?:[\\/]*)
2240 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 for as_dir in $PATH
2246 IFS=$as_save_IFS
2247 test -z "$as_dir" && as_dir=.
2248 for ac_exec_ext in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2250 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 break 2
2254 done
2255 done
2256 IFS=$as_save_IFS
2259 esac
2261 M4=$ac_cv_path_M4
2262 if test -n "$M4"; then
2263 { echo "$as_me:$LINENO: result: $M4" >&5
2264 echo "${ECHO_T}$M4" >&6; }
2265 else
2266 { echo "$as_me:$LINENO: result: no" >&5
2267 echo "${ECHO_T}no" >&6; }
2271 test -n "$M4" && break
2272 done
2273 test -n "$M4" || M4="m4"
2275 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2276 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2277 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 else
2280 ac_cv_prog_gnu_m4=no
2281 if test x"$M4" != x; then
2282 case `$M4 --help < /dev/null 2>&1` in
2283 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2284 esac
2287 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2288 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2289 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2290 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2291 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2292 { (exit 1); exit 1; }; }
2295 ## ----------- ##
2296 ## Man pages. ##
2297 ## ----------- ##
2299 ac_config_files="$ac_config_files man/Makefile"
2302 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2306 ## ------ ##
2307 ## Perl. ##
2308 ## ------ ##
2310 # We use an absolute name for perl so the #! line in autoscan will work.
2311 # Extract the first word of "perl", so it can be a program name with args.
2312 set dummy perl; ac_word=$2
2313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2315 if test "${ac_cv_path_PERL+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 else
2318 case $PERL in
2319 [\\/]* | ?:[\\/]*)
2320 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 for as_dir in $PATH
2326 IFS=$as_save_IFS
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2330 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 break 2
2334 done
2335 done
2336 IFS=$as_save_IFS
2338 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2340 esac
2342 PERL=$ac_cv_path_PERL
2343 if test -n "$PERL"; then
2344 { echo "$as_me:$LINENO: result: $PERL" >&5
2345 echo "${ECHO_T}$PERL" >&6; }
2346 else
2347 { echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6; }
2352 if test "$PERL" = no; then
2353 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2354 echo "$as_me: error: perl is not found" >&2;}
2355 { (exit 1); exit 1; }; }
2357 $PERL -e 'require 5.005_03;' || {
2358 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2359 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2360 { (exit 1); exit 1; }; }
2364 ## ------- ##
2365 ## Emacs. ##
2366 ## ------- ##
2368 ac_config_files="$ac_config_files lib/emacs/Makefile"
2370 TEST_EMACS=$EMACS
2371 test x"$TEST_EMACS" = xt && TEST_EMACS=
2372 for ac_prog in emacs xemacs
2374 # Extract the first word of "$ac_prog", so it can be a program name with args.
2375 set dummy $ac_prog; ac_word=$2
2376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2378 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2379 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 else
2381 if test -n "$TEST_EMACS"; then
2382 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2383 else
2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 for as_dir in $PATH
2387 IFS=$as_save_IFS
2388 test -z "$as_dir" && as_dir=.
2389 for ac_exec_ext in '' $ac_executable_extensions; do
2390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2391 ac_cv_prog_TEST_EMACS="$ac_prog"
2392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 break 2
2395 done
2396 done
2397 IFS=$as_save_IFS
2401 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2402 if test -n "$TEST_EMACS"; then
2403 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2404 echo "${ECHO_T}$TEST_EMACS" >&6; }
2405 else
2406 { echo "$as_me:$LINENO: result: no" >&5
2407 echo "${ECHO_T}no" >&6; }
2411 test -n "$TEST_EMACS" && break
2412 done
2413 test -n "$TEST_EMACS" || TEST_EMACS="no"
2416 # autoconf-mode.el and autotest-mode.el do not work with older version of
2417 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2418 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2419 # We detect this problem here.
2420 if test "$TEST_EMACS" != no; then
2421 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2422 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2423 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 else
2426 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2427 cat >conftest.el << "EOF"
2428 (defvar broken)
2429 (defun broken-mode () (setq broken-defaults `(broken nil)))
2431 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2432 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2433 ac_status=$?
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; then
2436 ac_cv_prog_emacs_ok=yes
2437 else
2438 ac_cv_prog_emacs_ok=no
2441 rm -f conftest.el conftest.elc
2443 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2444 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2445 if test $ac_cv_prog_emacs_ok = no; then
2446 TEST_EMACS=no
2452 EMACS=$TEST_EMACS
2455 # If set to t, that means we are running in a shell under Emacs.
2456 # If you have an Emacs named "t", then use the full path.
2457 test x"$EMACS" = xt && EMACS=
2458 for ac_prog in emacs xemacs
2460 # Extract the first word of "$ac_prog", so it can be a program name with args.
2461 set dummy $ac_prog; ac_word=$2
2462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2464 if test "${ac_cv_prog_EMACS+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 else
2467 if test -n "$EMACS"; then
2468 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2469 else
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 for as_dir in $PATH
2473 IFS=$as_save_IFS
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 ac_cv_prog_EMACS="$ac_prog"
2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 break 2
2481 done
2482 done
2483 IFS=$as_save_IFS
2487 EMACS=$ac_cv_prog_EMACS
2488 if test -n "$EMACS"; then
2489 { echo "$as_me:$LINENO: result: $EMACS" >&5
2490 echo "${ECHO_T}$EMACS" >&6; }
2491 else
2492 { echo "$as_me:$LINENO: result: no" >&5
2493 echo "${ECHO_T}no" >&6; }
2497 test -n "$EMACS" && break
2498 done
2499 test -n "$EMACS" || EMACS="no"
2504 # Check whether --with-lispdir was given.
2505 if test "${with_lispdir+set}" = set; then
2506 withval=$with_lispdir; lispdir="$withval"
2507 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2508 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2509 { echo "$as_me:$LINENO: result: $lispdir" >&5
2510 echo "${ECHO_T}$lispdir" >&6; }
2511 else
2513 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2514 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2515 if test "${am_cv_lispdir+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2519 if test $EMACS != "no"; then
2520 if test x${lispdir+set} != xset; then
2521 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2522 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2523 # which is non-obvious for non-emacs users.
2524 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2525 # emacsen earlier and avoid running this altogether.
2526 { (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
2527 ($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
2528 ac_status=$?
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }
2531 am_cv_lispdir=`sed -n \
2532 -e 's,/$,,' \
2533 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2534 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2535 conftest.out`
2536 rm conftest.out
2539 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2542 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2543 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2544 lispdir="$am_cv_lispdir"
2552 ## ------------ ##
2553 ## Grep & sed. ##
2554 ## ------------ ##
2555 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2556 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2557 if test "${ac_cv_path_GREP+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 else
2560 # Extract the first word of "grep ggrep" to use in msg output
2561 if test -z "$GREP"; then
2562 set dummy grep ggrep; ac_prog_name=$2
2563 if test "${ac_cv_path_GREP+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 else
2566 ac_path_GREP_found=false
2567 # Loop through the user's path and test for each of PROGNAME-LIST
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2571 IFS=$as_save_IFS
2572 test -z "$as_dir" && as_dir=.
2573 for ac_prog in grep ggrep; do
2574 for ac_exec_ext in '' $ac_executable_extensions; do
2575 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2576 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2577 # Check for GNU ac_path_GREP and select it if it is found.
2578 # Check for GNU $ac_path_GREP
2579 case `"$ac_path_GREP" --version 2>&1` in
2580 *GNU*)
2581 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2583 ac_count=0
2584 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2585 while :
2587 cat "conftest.in" "conftest.in" >"conftest.tmp"
2588 mv "conftest.tmp" "conftest.in"
2589 cp "conftest.in" "conftest.nl"
2590 echo 'GREP' >> "conftest.nl"
2591 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2592 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2593 ac_count=`expr $ac_count + 1`
2594 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2595 # Best one so far, save it but keep looking for a better one
2596 ac_cv_path_GREP="$ac_path_GREP"
2597 ac_path_GREP_max=$ac_count
2599 # 10*(2^10) chars as input seems more than enough
2600 test $ac_count -gt 10 && break
2601 done
2602 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2603 esac
2606 $ac_path_GREP_found && break 3
2607 done
2608 done
2610 done
2611 IFS=$as_save_IFS
2616 GREP="$ac_cv_path_GREP"
2617 if test -z "$GREP"; then
2618 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2619 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2620 { (exit 1); exit 1; }; }
2623 else
2624 ac_cv_path_GREP=$GREP
2629 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2630 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2631 GREP="$ac_cv_path_GREP"
2634 { echo "$as_me:$LINENO: checking for egrep" >&5
2635 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2636 if test "${ac_cv_path_EGREP+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2638 else
2639 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2640 then ac_cv_path_EGREP="$GREP -E"
2641 else
2642 # Extract the first word of "egrep" to use in msg output
2643 if test -z "$EGREP"; then
2644 set dummy egrep; ac_prog_name=$2
2645 if test "${ac_cv_path_EGREP+set}" = set; then
2646 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 else
2648 ac_path_EGREP_found=false
2649 # Loop through the user's path and test for each of PROGNAME-LIST
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2653 IFS=$as_save_IFS
2654 test -z "$as_dir" && as_dir=.
2655 for ac_prog in egrep; do
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2658 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2659 # Check for GNU ac_path_EGREP and select it if it is found.
2660 # Check for GNU $ac_path_EGREP
2661 case `"$ac_path_EGREP" --version 2>&1` in
2662 *GNU*)
2663 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2665 ac_count=0
2666 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2667 while :
2669 cat "conftest.in" "conftest.in" >"conftest.tmp"
2670 mv "conftest.tmp" "conftest.in"
2671 cp "conftest.in" "conftest.nl"
2672 echo 'EGREP' >> "conftest.nl"
2673 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2674 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2675 ac_count=`expr $ac_count + 1`
2676 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2677 # Best one so far, save it but keep looking for a better one
2678 ac_cv_path_EGREP="$ac_path_EGREP"
2679 ac_path_EGREP_max=$ac_count
2681 # 10*(2^10) chars as input seems more than enough
2682 test $ac_count -gt 10 && break
2683 done
2684 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2685 esac
2688 $ac_path_EGREP_found && break 3
2689 done
2690 done
2692 done
2693 IFS=$as_save_IFS
2698 EGREP="$ac_cv_path_EGREP"
2699 if test -z "$EGREP"; then
2700 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2701 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2702 { (exit 1); exit 1; }; }
2705 else
2706 ac_cv_path_EGREP=$EGREP
2712 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2713 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2714 EGREP="$ac_cv_path_EGREP"
2717 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2718 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2719 if test "${ac_cv_path_SED+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 else
2722 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2723 for ac_i in 1 2 3 4 5 6 7; do
2724 ac_script="$ac_script$as_nl$ac_script"
2725 done
2726 echo "$ac_script" | sed 99q >conftest.sed
2727 $as_unset ac_script || ac_script=
2728 # Extract the first word of "sed gsed" to use in msg output
2729 if test -z "$SED"; then
2730 set dummy sed gsed; ac_prog_name=$2
2731 if test "${ac_cv_path_SED+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2733 else
2734 ac_path_SED_found=false
2735 # Loop through the user's path and test for each of PROGNAME-LIST
2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737 for as_dir in $PATH
2739 IFS=$as_save_IFS
2740 test -z "$as_dir" && as_dir=.
2741 for ac_prog in sed gsed; do
2742 for ac_exec_ext in '' $ac_executable_extensions; do
2743 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2744 { test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
2745 # Check for GNU ac_path_SED and select it if it is found.
2746 # Check for GNU $ac_path_SED
2747 case `"$ac_path_SED" --version 2>&1` in
2748 *GNU*)
2749 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2751 ac_count=0
2752 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2753 while :
2755 cat "conftest.in" "conftest.in" >"conftest.tmp"
2756 mv "conftest.tmp" "conftest.in"
2757 cp "conftest.in" "conftest.nl"
2758 echo '' >> "conftest.nl"
2759 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2760 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2761 ac_count=`expr $ac_count + 1`
2762 if test $ac_count -gt ${ac_path_SED_max-0}; then
2763 # Best one so far, save it but keep looking for a better one
2764 ac_cv_path_SED="$ac_path_SED"
2765 ac_path_SED_max=$ac_count
2767 # 10*(2^10) chars as input seems more than enough
2768 test $ac_count -gt 10 && break
2769 done
2770 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2771 esac
2774 $ac_path_SED_found && break 3
2775 done
2776 done
2778 done
2779 IFS=$as_save_IFS
2784 SED="$ac_cv_path_SED"
2785 if test -z "$SED"; then
2786 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2787 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2788 { (exit 1); exit 1; }; }
2791 else
2792 ac_cv_path_SED=$SED
2796 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2797 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2798 SED="$ac_cv_path_SED"
2799 rm -f conftest.sed
2803 ## ------------ ##
2804 ## Conclusion. ##
2805 ## ------------ ##
2807 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"
2810 cat >confcache <<\_ACEOF
2811 # This file is a shell script that caches the results of configure
2812 # tests run on this system so they can be shared between configure
2813 # scripts and configure runs, see configure's option --config-cache.
2814 # It is not useful on other systems. If it contains results you don't
2815 # want to keep, you may remove or edit it.
2817 # config.status only pays attention to the cache file if you give it
2818 # the --recheck option to rerun configure.
2820 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2821 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2822 # following values.
2824 _ACEOF
2826 # The following way of writing the cache mishandles newlines in values,
2827 # but we know of no workaround that is simple, portable, and efficient.
2828 # So, we kill variables containing newlines.
2829 # Ultrix sh set writes to stderr and can't be redirected directly,
2830 # and sets the high bit in the cache file unless we assign to the vars.
2832 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2833 eval ac_val=\$$ac_var
2834 case $ac_val in #(
2835 *${as_nl}*)
2836 case $ac_var in #(
2837 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2838 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2839 esac
2840 case $ac_var in #(
2841 _ | IFS | as_nl) ;; #(
2842 *) $as_unset $ac_var ;;
2843 esac ;;
2844 esac
2845 done
2847 (set) 2>&1 |
2848 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2849 *${as_nl}ac_space=\ *)
2850 # `set' does not quote correctly, so add quotes (double-quote
2851 # substitution turns \\\\ into \\, and sed turns \\ into \).
2852 sed -n \
2853 "s/'/'\\\\''/g;
2854 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2855 ;; #(
2857 # `set' quotes correctly as required by POSIX, so do not add quotes.
2858 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2860 esac |
2861 sort
2863 sed '
2864 /^ac_cv_env_/b end
2865 t clear
2866 :clear
2867 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2868 t end
2869 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2870 :end' >>confcache
2871 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2872 if test -w "$cache_file"; then
2873 test "x$cache_file" != "x/dev/null" &&
2874 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2875 echo "$as_me: updating cache $cache_file" >&6;}
2876 cat confcache >$cache_file
2877 else
2878 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2879 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2882 rm -f confcache
2884 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2885 # Let make expand exec_prefix.
2886 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2888 # Transform confdefs.h into DEFS.
2889 # Protect against shell expansion while executing Makefile rules.
2890 # Protect against Makefile macro expansion.
2892 # If the first sed substitution is executed (which looks for macros that
2893 # take arguments), then we branch to the quote section. Otherwise,
2894 # look for a macro that doesn't take arguments.
2895 cat >confdef2opt.sed <<\_ACEOF
2896 t clear
2897 :clear
2898 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2899 t quote
2900 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2901 t quote
2903 :quote
2904 s/[ `~#$^&*(){}\\|;'"<>?]/\\&/g
2905 s/\[/\\&/g
2906 s/\]/\\&/g
2907 s/\$/$$/g
2909 _ACEOF
2910 # We use echo to avoid assuming a particular line-breaking character.
2911 # The extra dot is to prevent the shell from consuming trailing
2912 # line-breaks from the sub-command output. A line-break within
2913 # single-quotes doesn't work because, if this script is created in a
2914 # platform that uses two characters for line-breaks (e.g., DOS), tr
2915 # would break.
2916 ac_LF_and_DOT=`echo; echo .`
2917 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2918 rm -f confdef2opt.sed
2921 ac_libobjs=
2922 ac_ltlibobjs=
2923 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2924 # 1. Remove the extension, and $U if already installed.
2925 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2926 ac_i=`echo "$ac_i" | sed "$ac_script"`
2927 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2928 # will be set to the directory where LIBOBJS objects are built.
2929 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2930 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2931 done
2932 LIBOBJS=$ac_libobjs
2934 LTLIBOBJS=$ac_ltlibobjs
2938 : ${CONFIG_STATUS=./config.status}
2939 ac_clean_files_save=$ac_clean_files
2940 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2941 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2942 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2943 cat >$CONFIG_STATUS <<_ACEOF
2944 #! $SHELL
2945 # Generated by $as_me.
2946 # Run this file to recreate the current configuration.
2947 # Compiler output produced by configure, useful for debugging
2948 # configure, is in config.log if it exists.
2950 debug=false
2951 ac_cs_recheck=false
2952 ac_cs_silent=false
2953 SHELL=\${CONFIG_SHELL-$SHELL}
2954 _ACEOF
2956 cat >>$CONFIG_STATUS <<\_ACEOF
2957 ## --------------------- ##
2958 ## M4sh Initialization. ##
2959 ## --------------------- ##
2961 # Be Bourne compatible
2962 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2963 emulate sh
2964 NULLCMD=:
2965 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2966 # is contrary to our usage. Disable this feature.
2967 alias -g '${1+"$@"}'='"$@"'
2968 setopt NO_GLOB_SUBST
2969 else
2970 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2972 BIN_SH=xpg4; export BIN_SH # for Tru64
2973 DUALCASE=1; export DUALCASE # for MKS sh
2976 # PATH needs CR
2977 # Avoid depending upon Character Ranges.
2978 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2979 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2980 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2981 as_cr_digits='0123456789'
2982 as_cr_alnum=$as_cr_Letters$as_cr_digits
2984 # The user is always right.
2985 if test "${PATH_SEPARATOR+set}" != set; then
2986 echo "#! /bin/sh" >conf$$.sh
2987 echo "exit 0" >>conf$$.sh
2988 chmod +x conf$$.sh
2989 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2990 PATH_SEPARATOR=';'
2991 else
2992 PATH_SEPARATOR=:
2994 rm -f conf$$.sh
2997 # Support unset when possible.
2998 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2999 as_unset=unset
3000 else
3001 as_unset=false
3005 # IFS
3006 # We need space, tab and new line, in precisely that order. Quoting is
3007 # there to prevent editors from complaining about space-tab.
3008 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3009 # splitting by setting IFS to empty value.)
3010 as_nl='
3012 IFS=" "" $as_nl"
3014 # Find who we are. Look in the path if we contain no directory separator.
3015 case $0 in
3016 *[\\/]* ) as_myself=$0 ;;
3017 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3020 IFS=$as_save_IFS
3021 test -z "$as_dir" && as_dir=.
3022 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3023 done
3024 IFS=$as_save_IFS
3027 esac
3028 # We did not find ourselves, most probably we were run as `sh COMMAND'
3029 # in which case we are not to be found in the path.
3030 if test "x$as_myself" = x; then
3031 as_myself=$0
3033 if test ! -f "$as_myself"; then
3034 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3035 { (exit 1); exit 1; }
3038 # Work around bugs in pre-3.0 UWIN ksh.
3039 for as_var in ENV MAIL MAILPATH
3040 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3041 done
3042 PS1='$ '
3043 PS2='> '
3044 PS4='+ '
3046 # NLS nuisances.
3047 for as_var in \
3048 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3049 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3050 LC_TELEPHONE LC_TIME
3052 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3053 eval $as_var=C; export $as_var
3054 else
3055 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3057 done
3059 # Required to use basename.
3060 if expr a : '\(a\)' >/dev/null 2>&1 &&
3061 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3062 as_expr=expr
3063 else
3064 as_expr=false
3067 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3068 as_basename=basename
3069 else
3070 as_basename=false
3074 # Name of the executable.
3075 as_me=`$as_basename -- "$0" ||
3076 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3077 X"$0" : 'X\(//\)$' \| \
3078 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3079 echo X/"$0" |
3080 sed '/^.*\/\([^/][^/]*\)\/*$/{
3081 s//\1/
3084 /^X\/\(\/\/\)$/{
3085 s//\1/
3088 /^X\/\(\/\).*/{
3089 s//\1/
3092 s/.*/./; q'`
3094 # CDPATH.
3095 $as_unset CDPATH
3099 as_lineno_1=$LINENO
3100 as_lineno_2=$LINENO
3101 test "x$as_lineno_1" != "x$as_lineno_2" &&
3102 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3104 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3105 # uniformly replaced by the line number. The first 'sed' inserts a
3106 # line-number line after each line using $LINENO; the second 'sed'
3107 # does the real work. The second script uses 'N' to pair each
3108 # line-number line with the line containing $LINENO, and appends
3109 # trailing '-' during substitution so that $LINENO is not a special
3110 # case at line end.
3111 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3112 # scripts with optimization help from Paolo Bonzini. Blame Lee
3113 # E. McMahon (1931-1989) for sed's syntax. :-)
3114 sed -n '
3116 /[$]LINENO/=
3117 ' <$as_myself |
3118 sed '
3119 s/[$]LINENO.*/&-/
3120 t lineno
3122 :lineno
3124 :loop
3125 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3126 t loop
3127 s/-\n.*//
3128 ' >$as_me.lineno &&
3129 chmod +x "$as_me.lineno" ||
3130 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3131 { (exit 1); exit 1; }; }
3133 # Don't try to exec as it changes $[0], causing all sort of problems
3134 # (the dirname of $[0] is not the place where we might find the
3135 # original and so on. Autoconf is especially sensitive to this).
3136 . "./$as_me.lineno"
3137 # Exit status is that of the last command.
3138 exit
3142 if (dirname -- /) >/dev/null 2>&1; then
3143 as_dirname=dirname
3144 else
3145 as_dirname=false
3148 ECHO_C= ECHO_N= ECHO_T=
3149 case `echo -n x` in
3150 -n*)
3151 case `echo 'x\c'` in
3152 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3153 *) ECHO_C='\c';;
3154 esac;;
3156 ECHO_N='-n';;
3157 esac
3159 if expr a : '\(a\)' >/dev/null 2>&1 &&
3160 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3161 as_expr=expr
3162 else
3163 as_expr=false
3166 rm -f conf$$ conf$$.exe conf$$.file
3167 if test -d conf$$.dir; then
3168 rm -f conf$$.dir/conf$$.file
3169 else
3170 rm -f conf$$.dir
3171 mkdir conf$$.dir
3173 echo >conf$$.file
3174 if ln -s conf$$.file conf$$ 2>/dev/null; then
3175 as_ln_s='ln -s'
3176 # ... but there are two gotchas:
3177 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3178 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3179 # In both cases, we have to default to `cp -p'.
3180 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3181 as_ln_s='cp -p'
3182 elif ln conf$$.file conf$$ 2>/dev/null; then
3183 as_ln_s=ln
3184 else
3185 as_ln_s='cp -p'
3187 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3188 rmdir conf$$.dir 2>/dev/null
3190 if mkdir -p . 2>/dev/null; then
3191 as_mkdir_p=:
3192 else
3193 test -d ./-p && rmdir ./-p
3194 as_mkdir_p=false
3197 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3198 # systems may use methods other than mode bits to determine executability.
3199 cat >conf$$.file <<_ASEOF
3200 #! /bin/sh
3201 exit 0
3202 _ASEOF
3203 chmod +x conf$$.file
3204 if test -x conf$$.file >/dev/null 2>&1; then
3205 as_executable_p="test -x"
3206 else
3207 as_executable_p=:
3209 rm -f conf$$.file
3211 # Sed expression to map a string onto a valid CPP name.
3212 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3214 # Sed expression to map a string onto a valid variable name.
3215 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3218 exec 6>&1
3220 # Save the log message, to keep $[0] and so on meaningful, and to
3221 # report actual input values of CONFIG_FILES etc. instead of their
3222 # values after options handling.
3223 ac_log="
3224 This file was extended by GNU Autoconf $as_me 2.59d, which was
3225 generated by GNU Autoconf 2.59d. Invocation command line was
3227 CONFIG_FILES = $CONFIG_FILES
3228 CONFIG_HEADERS = $CONFIG_HEADERS
3229 CONFIG_LINKS = $CONFIG_LINKS
3230 CONFIG_COMMANDS = $CONFIG_COMMANDS
3231 $ $0 $@
3233 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3236 _ACEOF
3238 cat >>$CONFIG_STATUS <<_ACEOF
3239 # Files that config.status was made for.
3240 config_files="$ac_config_files"
3241 config_commands="$ac_config_commands"
3243 _ACEOF
3245 cat >>$CONFIG_STATUS <<\_ACEOF
3246 ac_cs_usage="\
3247 \`$as_me' instantiates files from templates according to the
3248 current configuration.
3250 Usage: $0 [OPTIONS] [FILE]...
3252 -h, --help print this help, then exit
3253 -V, --version print version number, then exit
3254 -q, --quiet do not print progress messages
3255 -d, --debug don't remove temporary files
3256 --recheck update $as_me by reconfiguring in the same conditions
3257 --file=FILE[:TEMPLATE]
3258 instantiate the configuration file FILE
3260 Configuration files:
3261 $config_files
3263 Configuration commands:
3264 $config_commands
3266 Report bugs to <bug-autoconf@gnu.org>."
3268 _ACEOF
3269 cat >>$CONFIG_STATUS <<_ACEOF
3270 ac_cs_version="\\
3271 GNU Autoconf config.status 2.59d
3272 configured by $0, generated by GNU Autoconf 2.59d,
3273 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3275 Copyright (C) 2006 Free Software Foundation, Inc.
3276 This config.status script is free software; the Free Software Foundation
3277 gives unlimited permission to copy, distribute and modify it."
3279 ac_pwd='$ac_pwd'
3280 srcdir='$srcdir'
3281 INSTALL='$INSTALL'
3282 _ACEOF
3284 cat >>$CONFIG_STATUS <<\_ACEOF
3285 # If no file are specified by the user, then we need to provide default
3286 # value. By we need to know if files were specified by the user.
3287 ac_need_defaults=:
3288 while test $# != 0
3290 case $1 in
3291 --*=*)
3292 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3293 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3294 ac_shift=:
3297 ac_option=$1
3298 ac_optarg=$2
3299 ac_shift=shift
3301 esac
3303 case $ac_option in
3304 # Handling of the options.
3305 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3306 ac_cs_recheck=: ;;
3307 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3308 echo "$ac_cs_version"; exit ;;
3309 --debug | --debu | --deb | --de | --d | -d )
3310 debug=: ;;
3311 --file | --fil | --fi | --f )
3312 $ac_shift
3313 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3314 ac_need_defaults=false;;
3315 --he | --h | --help | --hel | -h )
3316 echo "$ac_cs_usage"; exit ;;
3317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3318 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3319 ac_cs_silent=: ;;
3321 # This is an error.
3322 -*) { echo "$as_me: error: unrecognized option: $1
3323 Try \`$0 --help' for more information." >&2
3324 { (exit 1); exit 1; }; } ;;
3326 *) ac_config_targets="$ac_config_targets $1"
3327 ac_need_defaults=false ;;
3329 esac
3330 shift
3331 done
3333 ac_configure_extra_args=
3335 if $ac_cs_silent; then
3336 exec 6>/dev/null
3337 ac_configure_extra_args="$ac_configure_extra_args --silent"
3340 _ACEOF
3341 cat >>$CONFIG_STATUS <<_ACEOF
3342 if \$ac_cs_recheck; then
3343 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3344 CONFIG_SHELL=$SHELL
3345 export CONFIG_SHELL
3346 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3349 _ACEOF
3350 cat >>$CONFIG_STATUS <<\_ACEOF
3351 exec 5>>config.log
3353 echo
3354 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3355 ## Running $as_me. ##
3356 _ASBOX
3357 echo "$ac_log"
3358 } >&5
3360 _ACEOF
3361 cat >>$CONFIG_STATUS <<_ACEOF
3362 _ACEOF
3364 cat >>$CONFIG_STATUS <<\_ACEOF
3366 # Handling of arguments.
3367 for ac_config_target in $ac_config_targets
3369 case $ac_config_target in
3370 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3371 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3372 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3373 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3374 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3375 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3376 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3377 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3378 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3379 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3380 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3381 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3382 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3383 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3384 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3386 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3387 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3388 { (exit 1); exit 1; }; };;
3389 esac
3390 done
3393 # If the user did not use the arguments to specify the items to instantiate,
3394 # then the envvar interface is used. Set only those that are not.
3395 # We use the long form for the default assignment because of an extremely
3396 # bizarre bug on SunOS 4.1.3.
3397 if $ac_need_defaults; then
3398 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3399 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3402 # Have a temporary directory for convenience. Make it in the build tree
3403 # simply because there is no reason against having it here, and in addition,
3404 # creating and moving files from /tmp can sometimes cause problems.
3405 # Hook for its removal unless debugging.
3406 # Note that there is a small window in which the directory will not be cleaned:
3407 # after its creation but before its name has been assigned to `$tmp'.
3408 $debug ||
3410 tmp=
3411 trap 'exit_status=$?
3412 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3414 trap '{ (exit 1); exit 1; }' 1 2 13 15
3416 # Create a (secure) tmp directory for tmp files.
3419 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3420 test -n "$tmp" && test -d "$tmp"
3421 } ||
3423 tmp=./conf$$-$RANDOM
3424 (umask 077 && mkdir "$tmp")
3425 } ||
3427 echo "$me: cannot create a temporary directory in ." >&2
3428 { (exit 1); exit 1; }
3432 # Set up the sed scripts for CONFIG_FILES section.
3435 # No need to generate the scripts if there are no CONFIG_FILES.
3436 # This happens for instance when ./config.status config.h
3437 if test -n "$CONFIG_FILES"; then
3439 _ACEOF
3443 ac_delim='%!_!# '
3444 for ac_last_try in false false false false false :; do
3445 cat >conf$$subs.sed <<_ACEOF
3446 SHELL!$SHELL$ac_delim
3447 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3448 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3449 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3450 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3451 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3452 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3453 exec_prefix!$exec_prefix$ac_delim
3454 prefix!$prefix$ac_delim
3455 program_transform_name!$program_transform_name$ac_delim
3456 bindir!$bindir$ac_delim
3457 sbindir!$sbindir$ac_delim
3458 libexecdir!$libexecdir$ac_delim
3459 datarootdir!$datarootdir$ac_delim
3460 datadir!$datadir$ac_delim
3461 sysconfdir!$sysconfdir$ac_delim
3462 sharedstatedir!$sharedstatedir$ac_delim
3463 localstatedir!$localstatedir$ac_delim
3464 includedir!$includedir$ac_delim
3465 oldincludedir!$oldincludedir$ac_delim
3466 docdir!$docdir$ac_delim
3467 infodir!$infodir$ac_delim
3468 htmldir!$htmldir$ac_delim
3469 dvidir!$dvidir$ac_delim
3470 pdfdir!$pdfdir$ac_delim
3471 psdir!$psdir$ac_delim
3472 libdir!$libdir$ac_delim
3473 localedir!$localedir$ac_delim
3474 mandir!$mandir$ac_delim
3475 DEFS!$DEFS$ac_delim
3476 ECHO_C!$ECHO_C$ac_delim
3477 ECHO_N!$ECHO_N$ac_delim
3478 ECHO_T!$ECHO_T$ac_delim
3479 LIBS!$LIBS$ac_delim
3480 build_alias!$build_alias$ac_delim
3481 host_alias!$host_alias$ac_delim
3482 target_alias!$target_alias$ac_delim
3483 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3484 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3485 INSTALL_DATA!$INSTALL_DATA$ac_delim
3486 CYGPATH_W!$CYGPATH_W$ac_delim
3487 PACKAGE!$PACKAGE$ac_delim
3488 VERSION!$VERSION$ac_delim
3489 ACLOCAL!$ACLOCAL$ac_delim
3490 AUTOCONF!$AUTOCONF$ac_delim
3491 AUTOMAKE!$AUTOMAKE$ac_delim
3492 AUTOHEADER!$AUTOHEADER$ac_delim
3493 MAKEINFO!$MAKEINFO$ac_delim
3494 install_sh!$install_sh$ac_delim
3495 STRIP!$STRIP$ac_delim
3496 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3497 mkdir_p!$mkdir_p$ac_delim
3498 AWK!$AWK$ac_delim
3499 SET_MAKE!$SET_MAKE$ac_delim
3500 am__leading_dot!$am__leading_dot$ac_delim
3501 AMTAR!$AMTAR$ac_delim
3502 am__tar!$am__tar$ac_delim
3503 am__untar!$am__untar$ac_delim
3504 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3505 EXPR!$EXPR$ac_delim
3506 M4!$M4$ac_delim
3507 HELP2MAN!$HELP2MAN$ac_delim
3508 PERL!$PERL$ac_delim
3509 TEST_EMACS!$TEST_EMACS$ac_delim
3510 EMACS!$EMACS$ac_delim
3511 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3512 lispdir!$lispdir$ac_delim
3513 GREP!$GREP$ac_delim
3514 EGREP!$EGREP$ac_delim
3515 SED!$SED$ac_delim
3516 LIBOBJS!$LIBOBJS$ac_delim
3517 LTLIBOBJS!$LTLIBOBJS$ac_delim
3518 _ACEOF
3520 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
3521 break
3522 elif $ac_last_try; then
3523 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3524 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3525 { (exit 1); exit 1; }; }
3526 else
3527 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3529 done
3531 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3532 if test -n "$ac_eof"; then
3533 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3534 ac_eof=`expr $ac_eof + 1`
3537 cat >>$CONFIG_STATUS <<_ACEOF
3538 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3539 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3540 _ACEOF
3541 sed '
3542 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3543 s/^/s,@/; s/!/@,|#_!!_#|/
3546 s/'"$ac_delim"'$/,g/; t
3547 s/$/\\/; p
3548 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3549 ' >>$CONFIG_STATUS <conf$$subs.sed
3550 rm -f conf$$subs.sed
3551 cat >>$CONFIG_STATUS <<_ACEOF
3552 :end
3553 s/|#_!!_#|//g
3554 CEOF$ac_eof
3555 _ACEOF
3558 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3559 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3560 # trailing colons and then remove the whole line if VPATH becomes empty
3561 # (actually we leave an empty line to preserve line numbers).
3562 if test "x$srcdir" = x.; then
3563 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3564 s/:*\$(srcdir):*/:/
3565 s/:*\${srcdir}:*/:/
3566 s/:*@srcdir@:*/:/
3567 s/^\([^=]*=[ ]*\):*/\1/
3568 s/:*$//
3569 s/^[^=]*=[ ]*$//
3573 cat >>$CONFIG_STATUS <<\_ACEOF
3574 fi # test -n "$CONFIG_FILES"
3577 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3579 case $ac_tag in
3580 :[FHLC]) ac_mode=$ac_tag; continue;;
3581 esac
3582 case $ac_mode$ac_tag in
3583 :[FHL]*:*);;
3584 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3585 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3586 { (exit 1); exit 1; }; };;
3587 :[FH]-) ac_tag=-:-;;
3588 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3589 esac
3590 ac_save_IFS=$IFS
3591 IFS=:
3592 set x $ac_tag
3593 IFS=$ac_save_IFS
3594 shift
3595 ac_file=$1
3596 shift
3598 case $ac_mode in
3599 :L) ac_source=$1;;
3600 :[FH])
3601 ac_file_inputs=
3602 for ac_f
3604 case $ac_f in
3605 -) ac_f="$tmp/stdin";;
3606 *) # Look for the file first in the build tree, then in the source tree
3607 # (if the path is not absolute). The absolute path cannot be DOS-style,
3608 # because $ac_f cannot contain `:'.
3609 test -f "$ac_f" ||
3610 case $ac_f in
3611 [\\/$]*) false;;
3612 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3613 esac ||
3614 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3615 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3616 { (exit 1); exit 1; }; };;
3617 esac
3618 ac_file_inputs="$ac_file_inputs $ac_f"
3619 done
3621 # Let's still pretend it is `configure' which instantiates (i.e., don't
3622 # use $as_me), people would be surprised to read:
3623 # /* config.h. Generated by config.status. */
3624 configure_input="Generated from "`IFS=:
3625 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3626 if test x"$ac_file" != x-; then
3627 configure_input="$ac_file. $configure_input"
3628 { echo "$as_me:$LINENO: creating $ac_file" >&5
3629 echo "$as_me: creating $ac_file" >&6;}
3632 case $ac_tag in
3633 *:-:* | *:-) cat >"$tmp/stdin";;
3634 esac
3636 esac
3638 ac_dir=`$as_dirname -- "$ac_file" ||
3639 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3640 X"$ac_file" : 'X\(//\)[^/]' \| \
3641 X"$ac_file" : 'X\(//\)$' \| \
3642 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3643 echo X"$ac_file" |
3644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3645 s//\1/
3648 /^X\(\/\/\)[^/].*/{
3649 s//\1/
3652 /^X\(\/\/\)$/{
3653 s//\1/
3656 /^X\(\/\).*/{
3657 s//\1/
3660 s/.*/./; q'`
3661 { as_dir="$ac_dir"
3662 case $as_dir in #(
3663 -*) as_dir=./$as_dir;;
3664 esac
3665 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3666 as_dirs=
3667 while :; do
3668 case $as_dir in #(
3669 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3670 *) as_qdir=$as_dir;;
3671 esac
3672 as_dirs="'$as_qdir' $as_dirs"
3673 as_dir=`$as_dirname -- "$as_dir" ||
3674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3675 X"$as_dir" : 'X\(//\)[^/]' \| \
3676 X"$as_dir" : 'X\(//\)$' \| \
3677 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3678 echo X"$as_dir" |
3679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3680 s//\1/
3683 /^X\(\/\/\)[^/].*/{
3684 s//\1/
3687 /^X\(\/\/\)$/{
3688 s//\1/
3691 /^X\(\/\).*/{
3692 s//\1/
3695 s/.*/./; q'`
3696 test -d "$as_dir" && break
3697 done
3698 test -z "$as_dirs" || eval "mkdir $as_dirs"
3699 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3700 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3701 { (exit 1); exit 1; }; }; }
3702 ac_builddir=.
3704 case "$ac_dir" in
3705 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3707 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3708 # A ".." for each directory in $ac_dir_suffix.
3709 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3710 case $ac_top_builddir_sub in
3711 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3712 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3713 esac ;;
3714 esac
3715 ac_abs_top_builddir=$ac_pwd
3716 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3717 # for backward compatibility:
3718 ac_top_builddir=$ac_top_build_prefix
3720 case $srcdir in
3721 .) # We are building in place.
3722 ac_srcdir=.
3723 ac_top_srcdir=$ac_top_builddir_sub
3724 ac_abs_top_srcdir=$ac_pwd ;;
3725 [\\/]* | ?:[\\/]* ) # Absolute name.
3726 ac_srcdir=$srcdir$ac_dir_suffix;
3727 ac_top_srcdir=$srcdir
3728 ac_abs_top_srcdir=$srcdir ;;
3729 *) # Relative name.
3730 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3731 ac_top_srcdir=$ac_top_build_prefix$srcdir
3732 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3733 esac
3734 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3737 case $ac_mode in
3740 # CONFIG_FILE
3743 case $INSTALL in
3744 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3745 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3746 esac
3747 _ACEOF
3749 cat >>$CONFIG_STATUS <<\_ACEOF
3750 # If the template does not know about datarootdir, expand it.
3751 # FIXME: This hack should be removed a few years after 2.60.
3752 ac_datarootdir_hack=; ac_datarootdir_seen=
3754 case `sed -n '/datarootdir/ {
3758 /@datadir@/p
3759 /@docdir@/p
3760 /@infodir@/p
3761 /@localedir@/p
3762 /@mandir@/p
3763 ' $ac_file_inputs` in
3764 *datarootdir*) ac_datarootdir_seen=yes;;
3765 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3766 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3767 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3768 _ACEOF
3769 cat >>$CONFIG_STATUS <<_ACEOF
3770 ac_datarootdir_hack='
3771 s&@datadir@&$datadir&g
3772 s&@docdir@&$docdir&g
3773 s&@infodir@&$infodir&g
3774 s&@localedir@&$localedir&g
3775 s&@mandir@&$mandir&g
3776 s&\\\${datarootdir}&$datarootdir&g' ;;
3777 esac
3778 _ACEOF
3780 # Neutralize VPATH when `$srcdir' = `.'.
3781 # Shell code in configure.ac might set extrasub.
3782 # FIXME: do we really want to maintain this feature?
3783 cat >>$CONFIG_STATUS <<_ACEOF
3784 sed "$ac_vpsub
3785 $extrasub
3786 _ACEOF
3787 cat >>$CONFIG_STATUS <<\_ACEOF
3789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3790 s&@configure_input@&$configure_input&;t t
3791 s&@top_builddir@&$ac_top_builddir_sub&;t t
3792 s&@srcdir@&$ac_srcdir&;t t
3793 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3794 s&@top_srcdir@&$ac_top_srcdir&;t t
3795 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3796 s&@builddir@&$ac_builddir&;t t
3797 s&@abs_builddir@&$ac_abs_builddir&;t t
3798 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3799 s&@INSTALL@&$ac_INSTALL&;t t
3800 $ac_datarootdir_hack
3801 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3803 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3804 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3805 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3806 which seems to be undefined. Please make sure it is defined." >&5
3807 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3808 which seems to be undefined. Please make sure it is defined." >&2;}
3810 rm -f "$tmp/stdin"
3811 case $ac_file in
3812 -) cat "$tmp/out"; rm -f "$tmp/out";;
3813 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3814 esac
3818 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3819 echo "$as_me: executing $ac_file commands" >&6;}
3821 esac
3824 case $ac_file$ac_mode in
3825 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3826 # Configurable variable values for building test suites.
3827 # Generated by $0.
3828 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3830 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3831 at_testdir='tests'
3832 abs_builddir='$ac_abs_builddir'
3833 at_srcdir='$ac_srcdir'
3834 abs_srcdir='$ac_abs_srcdir'
3835 at_top_srcdir='$ac_top_srcdir'
3836 abs_top_srcdir='$ac_abs_top_srcdir'
3837 at_top_build_prefix='$ac_top_build_prefix'
3838 abs_top_builddir='$ac_abs_top_builddir'
3840 # Backward compatibility with Autotest <= 2.59b:
3841 at_top_builddir=\$at_top_build_prefix
3843 AUTOTEST_PATH='tests'
3845 SHELL=\${CONFIG_SHELL-'$SHELL'}
3846 ATEOF
3849 esac
3850 done # for ac_tag
3853 { (exit 0); exit 0; }
3854 _ACEOF
3855 chmod +x $CONFIG_STATUS
3856 ac_clean_files=$ac_clean_files_save
3859 # configure is writing to config.log, and then calls config.status.
3860 # config.status does its own redirection, appending to config.log.
3861 # Unfortunately, on DOS this fails, as config.log is still kept open
3862 # by configure, so config.status won't be able to write to it; its
3863 # output is simply discarded. So we exec the FD to /dev/null,
3864 # effectively closing config.log, so it can be properly (re)opened and
3865 # appended to by config.status. When coming back to configure, we
3866 # need to make the FD available again.
3867 if test "$no_create" != yes; then
3868 ac_cs_success=:
3869 ac_config_status_args=
3870 test "$silent" = yes &&
3871 ac_config_status_args="$ac_config_status_args --quiet"
3872 exec 5>/dev/null
3873 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3874 exec 5>>config.log
3875 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3876 # would make configure fail if this is the last instruction.
3877 $ac_cs_success || { (exit 1); exit 1; }
3880 # Report the state of this version of Autoconf if this is a beta.
3881 cat <<EOF
3883 You are about to use an experimental version of Autoconf. Be sure to
3884 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3886 Below you will find information on the status of this version of Autoconf.
3890 sed -n '/^\* Status/,$p' $srcdir/BUGS