(AC_CHECK_DECL): Assume C89 or better,
[autoconf/tsuna.git] / configure
blobdef7ceedf37c26f789b8808981bc57fd5776b154
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60b for GNU Autoconf 2.60b.
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 that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
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 (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/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 echo '#! /bin/sh' >conf$$.file
520 chmod +x conf$$.file
521 if test -x conf$$.file >/dev/null 2>&1; then
522 as_executable_p="test -x"
523 else
524 as_executable_p=:
526 rm -f conf$$.file
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 exec 7<&0 </dev/null 6>&1
538 # Name of the host.
539 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
540 # so uname gets run too.
541 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544 # Initializations.
546 ac_default_prefix=/usr/local
547 ac_clean_files=
548 ac_config_libobj_dir=.
549 LIBOBJS=
550 cross_compiling=no
551 subdirs=
552 MFLAGS=
553 MAKEFLAGS=
554 SHELL=${CONFIG_SHELL-/bin/sh}
556 # Identity of this package.
557 PACKAGE_NAME='GNU Autoconf'
558 PACKAGE_TARNAME='autoconf'
559 PACKAGE_VERSION='2.60b'
560 PACKAGE_STRING='GNU Autoconf 2.60b'
561 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
563 ac_unique_file="ChangeLog"
564 ac_subst_vars='SHELL
565 PATH_SEPARATOR
566 PACKAGE_NAME
567 PACKAGE_TARNAME
568 PACKAGE_VERSION
569 PACKAGE_STRING
570 PACKAGE_BUGREPORT
571 exec_prefix
572 prefix
573 program_transform_name
574 bindir
575 sbindir
576 libexecdir
577 datarootdir
578 datadir
579 sysconfdir
580 sharedstatedir
581 localstatedir
582 includedir
583 oldincludedir
584 docdir
585 infodir
586 htmldir
587 dvidir
588 pdfdir
589 psdir
590 libdir
591 localedir
592 mandir
593 DEFS
594 ECHO_C
595 ECHO_N
596 ECHO_T
597 LIBS
598 build_alias
599 host_alias
600 target_alias
601 INSTALL_PROGRAM
602 INSTALL_SCRIPT
603 INSTALL_DATA
604 CYGPATH_W
605 PACKAGE
606 VERSION
607 ACLOCAL
608 AUTOCONF
609 AUTOMAKE
610 AUTOHEADER
611 MAKEINFO
612 install_sh
613 STRIP
614 INSTALL_STRIP_PROGRAM
615 mkdir_p
617 SET_MAKE
618 am__leading_dot
619 AMTAR
620 am__tar
621 am__untar
622 ac_cv_sh_n_works
623 EXPR
625 M4_DEBUGFILE
626 HELP2MAN
627 PERL
628 TEST_EMACS
629 EMACS
630 EMACSLOADPATH
631 lispdir
632 GREP
633 EGREP
635 LIBOBJS
636 LTLIBOBJS'
637 ac_subst_files=''
638 ac_precious_vars='build_alias
639 host_alias
640 target_alias
641 EMACS
642 EMACSLOADPATH'
645 # Initialize some variables set by options.
646 ac_init_help=
647 ac_init_version=false
648 # The variables have the same names as the options, with
649 # dashes changed to underlines.
650 cache_file=/dev/null
651 exec_prefix=NONE
652 no_create=
653 no_recursion=
654 prefix=NONE
655 program_prefix=NONE
656 program_suffix=NONE
657 program_transform_name=s,x,x,
658 silent=
659 site=
660 srcdir=
661 verbose=
662 x_includes=NONE
663 x_libraries=NONE
665 # Installation directory options.
666 # These are left unexpanded so users can "make install exec_prefix=/foo"
667 # and all the variables that are supposed to be based on exec_prefix
668 # by default will actually change.
669 # Use braces instead of parens because sh, perl, etc. also accept them.
670 # (The list follows the same order as the GNU Coding Standards.)
671 bindir='${exec_prefix}/bin'
672 sbindir='${exec_prefix}/sbin'
673 libexecdir='${exec_prefix}/libexec'
674 datarootdir='${prefix}/share'
675 datadir='${datarootdir}'
676 sysconfdir='${prefix}/etc'
677 sharedstatedir='${prefix}/com'
678 localstatedir='${prefix}/var'
679 includedir='${prefix}/include'
680 oldincludedir='/usr/include'
681 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
682 infodir='${datarootdir}/info'
683 htmldir='${docdir}'
684 dvidir='${docdir}'
685 pdfdir='${docdir}'
686 psdir='${docdir}'
687 libdir='${exec_prefix}/lib'
688 localedir='${datarootdir}/locale'
689 mandir='${datarootdir}/man'
691 ac_prev=
692 ac_dashdash=
693 for ac_option
695 # If the previous option needs an argument, assign it.
696 if test -n "$ac_prev"; then
697 eval $ac_prev=\$ac_option
698 ac_prev=
699 continue
702 case $ac_option in
703 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
704 *) ac_optarg=yes ;;
705 esac
707 # Accept the important Cygnus configure options, so we can diagnose typos.
709 case $ac_dashdash$ac_option in
711 ac_dashdash=yes ;;
713 -bindir | --bindir | --bindi | --bind | --bin | --bi)
714 ac_prev=bindir ;;
715 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
716 bindir=$ac_optarg ;;
718 -build | --build | --buil | --bui | --bu)
719 ac_prev=build_alias ;;
720 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
721 build_alias=$ac_optarg ;;
723 -cache-file | --cache-file | --cache-fil | --cache-fi \
724 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
725 ac_prev=cache_file ;;
726 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
727 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
728 cache_file=$ac_optarg ;;
730 --config-cache | -C)
731 cache_file=config.cache ;;
733 -datadir | --datadir | --datadi | --datad)
734 ac_prev=datadir ;;
735 -datadir=* | --datadir=* | --datadi=* | --datad=*)
736 datadir=$ac_optarg ;;
738 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
739 | --dataroo | --dataro | --datar)
740 ac_prev=datarootdir ;;
741 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
742 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
743 datarootdir=$ac_optarg ;;
745 -disable-* | --disable-*)
746 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
747 # Reject names that are not valid shell variable names.
748 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
749 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
750 { (exit 1); exit 1; }; }
751 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
752 eval enable_$ac_feature=no ;;
754 -docdir | --docdir | --docdi | --doc | --do)
755 ac_prev=docdir ;;
756 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
757 docdir=$ac_optarg ;;
759 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
760 ac_prev=dvidir ;;
761 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
762 dvidir=$ac_optarg ;;
764 -enable-* | --enable-*)
765 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
766 # Reject names that are not valid shell variable names.
767 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
768 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
769 { (exit 1); exit 1; }; }
770 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
771 eval enable_$ac_feature=\$ac_optarg ;;
773 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
774 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
775 | --exec | --exe | --ex)
776 ac_prev=exec_prefix ;;
777 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
778 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
779 | --exec=* | --exe=* | --ex=*)
780 exec_prefix=$ac_optarg ;;
782 -gas | --gas | --ga | --g)
783 # Obsolete; use --with-gas.
784 with_gas=yes ;;
786 -help | --help | --hel | --he | -h)
787 ac_init_help=long ;;
788 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
789 ac_init_help=recursive ;;
790 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
791 ac_init_help=short ;;
793 -host | --host | --hos | --ho)
794 ac_prev=host_alias ;;
795 -host=* | --host=* | --hos=* | --ho=*)
796 host_alias=$ac_optarg ;;
798 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
799 ac_prev=htmldir ;;
800 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
801 | --ht=*)
802 htmldir=$ac_optarg ;;
804 -includedir | --includedir | --includedi | --included | --include \
805 | --includ | --inclu | --incl | --inc)
806 ac_prev=includedir ;;
807 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
808 | --includ=* | --inclu=* | --incl=* | --inc=*)
809 includedir=$ac_optarg ;;
811 -infodir | --infodir | --infodi | --infod | --info | --inf)
812 ac_prev=infodir ;;
813 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
814 infodir=$ac_optarg ;;
816 -libdir | --libdir | --libdi | --libd)
817 ac_prev=libdir ;;
818 -libdir=* | --libdir=* | --libdi=* | --libd=*)
819 libdir=$ac_optarg ;;
821 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
822 | --libexe | --libex | --libe)
823 ac_prev=libexecdir ;;
824 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
825 | --libexe=* | --libex=* | --libe=*)
826 libexecdir=$ac_optarg ;;
828 -localedir | --localedir | --localedi | --localed | --locale)
829 ac_prev=localedir ;;
830 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
831 localedir=$ac_optarg ;;
833 -localstatedir | --localstatedir | --localstatedi | --localstated \
834 | --localstate | --localstat | --localsta | --localst | --locals)
835 ac_prev=localstatedir ;;
836 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
837 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
838 localstatedir=$ac_optarg ;;
840 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
841 ac_prev=mandir ;;
842 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
843 mandir=$ac_optarg ;;
845 -nfp | --nfp | --nf)
846 # Obsolete; use --without-fp.
847 with_fp=no ;;
849 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
850 | --no-cr | --no-c | -n)
851 no_create=yes ;;
853 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
854 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
855 no_recursion=yes ;;
857 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
858 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
859 | --oldin | --oldi | --old | --ol | --o)
860 ac_prev=oldincludedir ;;
861 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
862 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
863 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
864 oldincludedir=$ac_optarg ;;
866 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
867 ac_prev=prefix ;;
868 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
869 prefix=$ac_optarg ;;
871 -program-prefix | --program-prefix | --program-prefi | --program-pref \
872 | --program-pre | --program-pr | --program-p)
873 ac_prev=program_prefix ;;
874 -program-prefix=* | --program-prefix=* | --program-prefi=* \
875 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
876 program_prefix=$ac_optarg ;;
878 -program-suffix | --program-suffix | --program-suffi | --program-suff \
879 | --program-suf | --program-su | --program-s)
880 ac_prev=program_suffix ;;
881 -program-suffix=* | --program-suffix=* | --program-suffi=* \
882 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
883 program_suffix=$ac_optarg ;;
885 -program-transform-name | --program-transform-name \
886 | --program-transform-nam | --program-transform-na \
887 | --program-transform-n | --program-transform- \
888 | --program-transform | --program-transfor \
889 | --program-transfo | --program-transf \
890 | --program-trans | --program-tran \
891 | --progr-tra | --program-tr | --program-t)
892 ac_prev=program_transform_name ;;
893 -program-transform-name=* | --program-transform-name=* \
894 | --program-transform-nam=* | --program-transform-na=* \
895 | --program-transform-n=* | --program-transform-=* \
896 | --program-transform=* | --program-transfor=* \
897 | --program-transfo=* | --program-transf=* \
898 | --program-trans=* | --program-tran=* \
899 | --progr-tra=* | --program-tr=* | --program-t=*)
900 program_transform_name=$ac_optarg ;;
902 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
903 ac_prev=pdfdir ;;
904 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
905 pdfdir=$ac_optarg ;;
907 -psdir | --psdir | --psdi | --psd | --ps)
908 ac_prev=psdir ;;
909 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
910 psdir=$ac_optarg ;;
912 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
913 | -silent | --silent | --silen | --sile | --sil)
914 silent=yes ;;
916 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
917 ac_prev=sbindir ;;
918 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
919 | --sbi=* | --sb=*)
920 sbindir=$ac_optarg ;;
922 -sharedstatedir | --sharedstatedir | --sharedstatedi \
923 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
924 | --sharedst | --shareds | --shared | --share | --shar \
925 | --sha | --sh)
926 ac_prev=sharedstatedir ;;
927 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
928 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
929 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
930 | --sha=* | --sh=*)
931 sharedstatedir=$ac_optarg ;;
933 -site | --site | --sit)
934 ac_prev=site ;;
935 -site=* | --site=* | --sit=*)
936 site=$ac_optarg ;;
938 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
939 ac_prev=srcdir ;;
940 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
941 srcdir=$ac_optarg ;;
943 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
944 | --syscon | --sysco | --sysc | --sys | --sy)
945 ac_prev=sysconfdir ;;
946 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
947 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
948 sysconfdir=$ac_optarg ;;
950 -target | --target | --targe | --targ | --tar | --ta | --t)
951 ac_prev=target_alias ;;
952 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
953 target_alias=$ac_optarg ;;
955 -v | -verbose | --verbose | --verbos | --verbo | --verb)
956 verbose=yes ;;
958 -version | --version | --versio | --versi | --vers | -V)
959 ac_init_version=: ;;
961 -with-* | --with-*)
962 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
965 { echo "$as_me: error: invalid package name: $ac_package" >&2
966 { (exit 1); exit 1; }; }
967 ac_package=`echo $ac_package| sed 's/-/_/g'`
968 eval with_$ac_package=\$ac_optarg ;;
970 -without-* | --without-*)
971 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
974 { echo "$as_me: error: invalid package name: $ac_package" >&2
975 { (exit 1); exit 1; }; }
976 ac_package=`echo $ac_package | sed 's/-/_/g'`
977 eval with_$ac_package=no ;;
979 --x)
980 # Obsolete; use --with-x.
981 with_x=yes ;;
983 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
984 | --x-incl | --x-inc | --x-in | --x-i)
985 ac_prev=x_includes ;;
986 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
987 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
988 x_includes=$ac_optarg ;;
990 -x-libraries | --x-libraries | --x-librarie | --x-librari \
991 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
992 ac_prev=x_libraries ;;
993 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
994 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
995 x_libraries=$ac_optarg ;;
997 -*) { echo "$as_me: error: unrecognized option: $ac_option
998 Try \`$0 --help' for more information." >&2
999 { (exit 1); exit 1; }; }
1002 *=*)
1003 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1006 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1007 { (exit 1); exit 1; }; }
1008 eval $ac_envvar=\$ac_optarg
1009 export $ac_envvar ;;
1012 # FIXME: should be removed in autoconf 3.0.
1013 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1014 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1015 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1016 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1019 esac
1020 done
1022 if test -n "$ac_prev"; then
1023 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1024 { echo "$as_me: error: missing argument to $ac_option" >&2
1025 { (exit 1); exit 1; }; }
1028 # Be sure to have absolute directory names.
1029 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1030 datadir sysconfdir sharedstatedir localstatedir includedir \
1031 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1032 libdir localedir mandir
1034 eval ac_val=\$$ac_var
1035 case $ac_val in
1036 [\\/$]* | ?:[\\/]* ) continue;;
1037 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1038 esac
1039 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1040 { (exit 1); exit 1; }; }
1041 done
1043 # There might be people who depend on the old broken behavior: `$host'
1044 # used to hold the argument of --host etc.
1045 # FIXME: To remove some day.
1046 build=$build_alias
1047 host=$host_alias
1048 target=$target_alias
1050 # FIXME: To remove some day.
1051 if test "x$host_alias" != x; then
1052 if test "x$build_alias" = x; then
1053 cross_compiling=maybe
1054 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1055 If a cross compiler is detected then cross compile mode will be used." >&2
1056 elif test "x$build_alias" != "x$host_alias"; then
1057 cross_compiling=yes
1061 ac_tool_prefix=
1062 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1064 test "$silent" = yes && exec 6>/dev/null
1067 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1068 ac_ls_di=`ls -di .` &&
1069 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1070 { echo "$as_me: error: Working directory cannot be determined" >&2
1071 { (exit 1); exit 1; }; }
1072 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1073 { echo "$as_me: error: pwd does not report name of working directory" >&2
1074 { (exit 1); exit 1; }; }
1077 # Find the source files, if location was not specified.
1078 if test -z "$srcdir"; then
1079 ac_srcdir_defaulted=yes
1080 # Try the directory containing this script, then the parent directory.
1081 ac_confdir=`$as_dirname -- "$0" ||
1082 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1083 X"$0" : 'X\(//\)[^/]' \| \
1084 X"$0" : 'X\(//\)$' \| \
1085 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1086 echo X"$0" |
1087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1088 s//\1/
1091 /^X\(\/\/\)[^/].*/{
1092 s//\1/
1095 /^X\(\/\/\)$/{
1096 s//\1/
1099 /^X\(\/\).*/{
1100 s//\1/
1103 s/.*/./; q'`
1104 srcdir=$ac_confdir
1105 if test ! -r "$srcdir/$ac_unique_file"; then
1106 srcdir=..
1108 else
1109 ac_srcdir_defaulted=no
1111 if test ! -r "$srcdir/$ac_unique_file"; then
1112 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1113 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1114 { (exit 1); exit 1; }; }
1116 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1117 ac_abs_confdir=`(
1118 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1119 { (exit 1); exit 1; }; }
1120 pwd)`
1121 # When building in place, set srcdir=.
1122 if test "$ac_abs_confdir" = "$ac_pwd"; then
1123 srcdir=.
1125 # Remove unnecessary trailing slashes from srcdir.
1126 # Double slashes in file names in object file debugging info
1127 # mess up M-x gdb in Emacs.
1128 case $srcdir in
1129 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1130 esac
1131 for ac_var in $ac_precious_vars; do
1132 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1133 eval ac_env_${ac_var}_value=\$${ac_var}
1134 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1135 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1136 done
1139 # Report the --help message.
1141 if test "$ac_init_help" = "long"; then
1142 # Omit some internal or obsolete options to make the list less imposing.
1143 # This message is too long to be a string in the A/UX 3.1 sh.
1144 cat <<_ACEOF
1145 \`configure' configures GNU Autoconf 2.60b to adapt to many kinds of systems.
1147 Usage: $0 [OPTION]... [VAR=VALUE]...
1149 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1150 VAR=VALUE. See below for descriptions of some of the useful variables.
1152 Defaults for the options are specified in brackets.
1154 Configuration:
1155 -h, --help display this help and exit
1156 --help=short display options specific to this package
1157 --help=recursive display the short help of all the included packages
1158 -V, --version display version information and exit
1159 -q, --quiet, --silent do not print \`checking...' messages
1160 --cache-file=FILE cache test results in FILE [disabled]
1161 -C, --config-cache alias for \`--cache-file=config.cache'
1162 -n, --no-create do not create output files
1163 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1165 Installation directories:
1166 --prefix=PREFIX install architecture-independent files in PREFIX
1167 [$ac_default_prefix]
1168 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1169 [PREFIX]
1171 By default, \`make install' will install all the files in
1172 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1173 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1174 for instance \`--prefix=\$HOME'.
1176 For better control, use the options below.
1178 Fine tuning of the installation directories:
1179 --bindir=DIR user executables [EPREFIX/bin]
1180 --sbindir=DIR system admin executables [EPREFIX/sbin]
1181 --libexecdir=DIR program executables [EPREFIX/libexec]
1182 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1183 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1184 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1185 --libdir=DIR object code libraries [EPREFIX/lib]
1186 --includedir=DIR C header files [PREFIX/include]
1187 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1188 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1189 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1190 --infodir=DIR info documentation [DATAROOTDIR/info]
1191 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1192 --mandir=DIR man documentation [DATAROOTDIR/man]
1193 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1194 --htmldir=DIR html documentation [DOCDIR]
1195 --dvidir=DIR dvi documentation [DOCDIR]
1196 --pdfdir=DIR pdf documentation [DOCDIR]
1197 --psdir=DIR ps documentation [DOCDIR]
1198 _ACEOF
1200 cat <<\_ACEOF
1202 Program names:
1203 --program-prefix=PREFIX prepend PREFIX to installed program names
1204 --program-suffix=SUFFIX append SUFFIX to installed program names
1205 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1206 _ACEOF
1209 if test -n "$ac_init_help"; then
1210 case $ac_init_help in
1211 short | recursive ) echo "Configuration of GNU Autoconf 2.60b:";;
1212 esac
1213 cat <<\_ACEOF
1215 Optional Packages:
1216 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1217 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1218 --with-lispdir override the default lisp directory
1220 Some influential environment variables:
1221 EMACS the Emacs editor command
1222 EMACSLOADPATH
1223 the Emacs library search path
1225 Use these variables to override the choices made by `configure' or to help
1226 it to find libraries and programs with nonstandard names/locations.
1228 Report bugs to <bug-autoconf@gnu.org>.
1229 _ACEOF
1230 ac_status=$?
1233 if test "$ac_init_help" = "recursive"; then
1234 # If there are subdirs, report their specific --help.
1235 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1236 test -d "$ac_dir" || continue
1237 ac_builddir=.
1239 case "$ac_dir" in
1240 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1242 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1243 # A ".." for each directory in $ac_dir_suffix.
1244 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1245 case $ac_top_builddir_sub in
1246 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1247 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1248 esac ;;
1249 esac
1250 ac_abs_top_builddir=$ac_pwd
1251 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1252 # for backward compatibility:
1253 ac_top_builddir=$ac_top_build_prefix
1255 case $srcdir in
1256 .) # We are building in place.
1257 ac_srcdir=.
1258 ac_top_srcdir=$ac_top_builddir_sub
1259 ac_abs_top_srcdir=$ac_pwd ;;
1260 [\\/]* | ?:[\\/]* ) # Absolute name.
1261 ac_srcdir=$srcdir$ac_dir_suffix;
1262 ac_top_srcdir=$srcdir
1263 ac_abs_top_srcdir=$srcdir ;;
1264 *) # Relative name.
1265 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1266 ac_top_srcdir=$ac_top_build_prefix$srcdir
1267 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1268 esac
1269 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1271 cd "$ac_dir" || { ac_status=$?; continue; }
1272 # Check for guested configure.
1273 if test -f "$ac_srcdir/configure.gnu"; then
1274 echo &&
1275 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1276 elif test -f "$ac_srcdir/configure"; then
1277 echo &&
1278 $SHELL "$ac_srcdir/configure" --help=recursive
1279 else
1280 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1281 fi || ac_status=$?
1282 cd "$ac_pwd" || { ac_status=$?; break; }
1283 done
1286 test -n "$ac_init_help" && exit $ac_status
1287 if $ac_init_version; then
1288 cat <<\_ACEOF
1289 GNU Autoconf configure 2.60b
1290 generated by GNU Autoconf 2.60b
1292 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1293 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1294 This configure script is free software; the Free Software Foundation
1295 gives unlimited permission to copy, distribute and modify it.
1296 _ACEOF
1297 exit
1299 cat >config.log <<_ACEOF
1300 This file contains any messages produced by compilers while
1301 running configure, to aid debugging if configure makes a mistake.
1303 It was created by GNU Autoconf $as_me 2.60b, which was
1304 generated by GNU Autoconf 2.60b. Invocation command line was
1306 $ $0 $@
1308 _ACEOF
1309 exec 5>>config.log
1311 cat <<_ASUNAME
1312 ## --------- ##
1313 ## Platform. ##
1314 ## --------- ##
1316 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1317 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1318 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1319 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1320 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1322 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1323 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1325 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1326 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1327 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1328 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1329 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1330 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1331 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1333 _ASUNAME
1335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336 for as_dir in $PATH
1338 IFS=$as_save_IFS
1339 test -z "$as_dir" && as_dir=.
1340 echo "PATH: $as_dir"
1341 done
1342 IFS=$as_save_IFS
1344 } >&5
1346 cat >&5 <<_ACEOF
1349 ## ----------- ##
1350 ## Core tests. ##
1351 ## ----------- ##
1353 _ACEOF
1356 # Keep a trace of the command line.
1357 # Strip out --no-create and --no-recursion so they do not pile up.
1358 # Strip out --silent because we don't want to record it for future runs.
1359 # Also quote any args containing shell meta-characters.
1360 # Make two passes to allow for proper duplicate-argument suppression.
1361 ac_configure_args=
1362 ac_configure_args0=
1363 ac_configure_args1=
1364 ac_must_keep_next=false
1365 for ac_pass in 1 2
1367 for ac_arg
1369 case $ac_arg in
1370 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1371 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1372 | -silent | --silent | --silen | --sile | --sil)
1373 continue ;;
1374 *\'*)
1375 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1376 esac
1377 case $ac_pass in
1378 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1380 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1381 if test $ac_must_keep_next = true; then
1382 ac_must_keep_next=false # Got value, back to normal.
1383 else
1384 case $ac_arg in
1385 *=* | --config-cache | -C | -disable-* | --disable-* \
1386 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1387 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1388 | -with-* | --with-* | -without-* | --without-* | --x)
1389 case "$ac_configure_args0 " in
1390 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1391 esac
1393 -* ) ac_must_keep_next=true ;;
1394 esac
1396 ac_configure_args="$ac_configure_args '$ac_arg'"
1398 esac
1399 done
1400 done
1401 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1402 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1404 # When interrupted or exit'd, cleanup temporary files, and complete
1405 # config.log. We remove comments because anyway the quotes in there
1406 # would cause problems or look ugly.
1407 # WARNING: Use '\'' to represent an apostrophe within the trap.
1408 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1409 trap 'exit_status=$?
1410 # Save into config.log some information that might help in debugging.
1412 echo
1414 cat <<\_ASBOX
1415 ## ---------------- ##
1416 ## Cache variables. ##
1417 ## ---------------- ##
1418 _ASBOX
1419 echo
1420 # The following way of writing the cache mishandles newlines in values,
1422 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1423 eval ac_val=\$$ac_var
1424 case $ac_val in #(
1425 *${as_nl}*)
1426 case $ac_var in #(
1427 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1428 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1429 esac
1430 case $ac_var in #(
1431 _ | IFS | as_nl) ;; #(
1432 *) $as_unset $ac_var ;;
1433 esac ;;
1434 esac
1435 done
1436 (set) 2>&1 |
1437 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1438 *${as_nl}ac_space=\ *)
1439 sed -n \
1440 "s/'\''/'\''\\\\'\'''\''/g;
1441 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1442 ;; #(
1444 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1446 esac |
1447 sort
1449 echo
1451 cat <<\_ASBOX
1452 ## ----------------- ##
1453 ## Output variables. ##
1454 ## ----------------- ##
1455 _ASBOX
1456 echo
1457 for ac_var in $ac_subst_vars
1459 eval ac_val=\$$ac_var
1460 case $ac_val in
1461 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1462 esac
1463 echo "$ac_var='\''$ac_val'\''"
1464 done | sort
1465 echo
1467 if test -n "$ac_subst_files"; then
1468 cat <<\_ASBOX
1469 ## ------------------- ##
1470 ## File substitutions. ##
1471 ## ------------------- ##
1472 _ASBOX
1473 echo
1474 for ac_var in $ac_subst_files
1476 eval ac_val=\$$ac_var
1477 case $ac_val in
1478 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1479 esac
1480 echo "$ac_var='\''$ac_val'\''"
1481 done | sort
1482 echo
1485 if test -s confdefs.h; then
1486 cat <<\_ASBOX
1487 ## ----------- ##
1488 ## confdefs.h. ##
1489 ## ----------- ##
1490 _ASBOX
1491 echo
1492 cat confdefs.h
1493 echo
1495 test "$ac_signal" != 0 &&
1496 echo "$as_me: caught signal $ac_signal"
1497 echo "$as_me: exit $exit_status"
1498 } >&5
1499 rm -f core *.core core.conftest.* &&
1500 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1501 exit $exit_status
1503 for ac_signal in 1 2 13 15; do
1504 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1505 done
1506 ac_signal=0
1508 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1509 rm -f -r conftest* confdefs.h
1511 # Predefined preprocessor variables.
1513 cat >>confdefs.h <<_ACEOF
1514 #define PACKAGE_NAME "$PACKAGE_NAME"
1515 _ACEOF
1518 cat >>confdefs.h <<_ACEOF
1519 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1520 _ACEOF
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1525 _ACEOF
1528 cat >>confdefs.h <<_ACEOF
1529 #define PACKAGE_STRING "$PACKAGE_STRING"
1530 _ACEOF
1533 cat >>confdefs.h <<_ACEOF
1534 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1535 _ACEOF
1538 # Let the site file select an alternate cache file if it wants to.
1539 # Prefer explicitly selected file to automatically selected ones.
1540 if test -n "$CONFIG_SITE"; then
1541 set x "$CONFIG_SITE"
1542 elif test "x$prefix" != xNONE; then
1543 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1544 else
1545 set x "$ac_default_prefix/share/config.site" \
1546 "$ac_default_prefix/etc/config.site"
1548 shift
1549 for ac_site_file
1551 if test -r "$ac_site_file"; then
1552 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1553 echo "$as_me: loading site script $ac_site_file" >&6;}
1554 sed 's/^/| /' "$ac_site_file" >&5
1555 . "$ac_site_file"
1557 done
1559 if test -r "$cache_file"; then
1560 # Some versions of bash will fail to source /dev/null (special
1561 # files actually), so we avoid doing that.
1562 if test -f "$cache_file"; then
1563 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1564 echo "$as_me: loading cache $cache_file" >&6;}
1565 case $cache_file in
1566 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1567 *) . "./$cache_file";;
1568 esac
1570 else
1571 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1572 echo "$as_me: creating cache $cache_file" >&6;}
1573 >$cache_file
1576 # Check that the precious variables saved in the cache have kept the same
1577 # value.
1578 ac_cache_corrupted=false
1579 for ac_var in $ac_precious_vars; do
1580 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1581 eval ac_new_set=\$ac_env_${ac_var}_set
1582 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1583 eval ac_new_val=\$ac_env_${ac_var}_value
1584 case $ac_old_set,$ac_new_set in
1585 set,)
1586 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1587 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1588 ac_cache_corrupted=: ;;
1589 ,set)
1590 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1591 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1592 ac_cache_corrupted=: ;;
1593 ,);;
1595 if test "x$ac_old_val" != "x$ac_new_val"; then
1596 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1597 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1598 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1599 echo "$as_me: former value: $ac_old_val" >&2;}
1600 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1601 echo "$as_me: current value: $ac_new_val" >&2;}
1602 ac_cache_corrupted=:
1603 fi;;
1604 esac
1605 # Pass precious variables to config.status.
1606 if test "$ac_new_set" = set; then
1607 case $ac_new_val in
1608 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1609 *) ac_arg=$ac_var=$ac_new_val ;;
1610 esac
1611 case " $ac_configure_args " in
1612 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1613 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1614 esac
1616 done
1617 if $ac_cache_corrupted; then
1618 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1619 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1620 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1621 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1622 { (exit 1); exit 1; }; }
1649 ac_ext=c
1650 ac_cpp='$CPP $CPPFLAGS'
1651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1658 ac_aux_dir=
1659 for ac_dir in build-aux "$srcdir"/build-aux; do
1660 if test -f "$ac_dir/install-sh"; then
1661 ac_aux_dir=$ac_dir
1662 ac_install_sh="$ac_aux_dir/install-sh -c"
1663 break
1664 elif test -f "$ac_dir/install.sh"; then
1665 ac_aux_dir=$ac_dir
1666 ac_install_sh="$ac_aux_dir/install.sh -c"
1667 break
1668 elif test -f "$ac_dir/shtool"; then
1669 ac_aux_dir=$ac_dir
1670 ac_install_sh="$ac_aux_dir/shtool install -c"
1671 break
1673 done
1674 if test -z "$ac_aux_dir"; then
1675 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1676 echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1677 { (exit 1); exit 1; }; }
1680 # These three variables are undocumented and unsupported,
1681 # and are intended to be withdrawn in a future Autoconf release.
1682 # They can cause serious problems if a builder's source tree is in a directory
1683 # whose full name contains unusual characters.
1684 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1685 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1686 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1690 am__api_version="1.9"
1691 # Find a good install program. We prefer a C program (faster),
1692 # so one script is as good as another. But avoid the broken or
1693 # incompatible versions:
1694 # SysV /etc/install, /usr/sbin/install
1695 # SunOS /usr/etc/install
1696 # IRIX /sbin/install
1697 # AIX /bin/install
1698 # AmigaOS /C/install, which installs bootblocks on floppy discs
1699 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1700 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1701 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1702 # OS/2's system install, which has a completely different semantic
1703 # ./install, which can be erroneously created by make from ./install.sh.
1704 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1705 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1706 if test -z "$INSTALL"; then
1707 if test "${ac_cv_path_install+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 else
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 for as_dir in $PATH
1713 IFS=$as_save_IFS
1714 test -z "$as_dir" && as_dir=.
1715 # Account for people who put trailing slashes in PATH elements.
1716 case $as_dir/ in
1717 ./ | .// | /cC/* | \
1718 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1719 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1720 /usr/ucb/* ) ;;
1722 # OSF1 and SCO ODT 3.0 have their own names for install.
1723 # Don't use installbsd from OSF since it installs stuff as root
1724 # by default.
1725 for ac_prog in ginstall scoinst install; do
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1728 if test $ac_prog = install &&
1729 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1730 # AIX install. It has an incompatible calling convention.
1732 elif test $ac_prog = install &&
1733 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1734 # program-specific install script used by HP pwplus--don't use.
1736 else
1737 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1738 break 3
1741 done
1742 done
1744 esac
1745 done
1746 IFS=$as_save_IFS
1750 if test "${ac_cv_path_install+set}" = set; then
1751 INSTALL=$ac_cv_path_install
1752 else
1753 # As a last resort, use the slow shell script. Don't cache a
1754 # value for INSTALL within a source directory, because that will
1755 # break other packages using the cache if that directory is
1756 # removed, or if the value is a relative name.
1757 INSTALL=$ac_install_sh
1760 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1761 echo "${ECHO_T}$INSTALL" >&6; }
1763 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1764 # It thinks the first close brace ends the variable substitution.
1765 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1767 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1769 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1771 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1772 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1773 # Just in case
1774 sleep 1
1775 echo timestamp > conftest.file
1776 # Do `set' in a subshell so we don't clobber the current shell's
1777 # arguments. Must try -L first in case configure is actually a
1778 # symlink; some systems play weird games with the mod time of symlinks
1779 # (eg FreeBSD returns the mod time of the symlink's containing
1780 # directory).
1781 if (
1782 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1783 if test "$*" = "X"; then
1784 # -L didn't work.
1785 set X `ls -t $srcdir/configure conftest.file`
1787 rm -f conftest.file
1788 if test "$*" != "X $srcdir/configure conftest.file" \
1789 && test "$*" != "X conftest.file $srcdir/configure"; then
1791 # If neither matched, then we have a broken ls. This can happen
1792 # if, for instance, CONFIG_SHELL is bash and it inherits a
1793 # broken ls alias from the environment. This has actually
1794 # happened. Such a system could not be considered "sane".
1795 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1796 alias in your environment" >&5
1797 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1798 alias in your environment" >&2;}
1799 { (exit 1); exit 1; }; }
1802 test "$2" = conftest.file
1804 then
1805 # Ok.
1807 else
1808 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1809 Check your system clock" >&5
1810 echo "$as_me: error: newly created file is older than distributed files!
1811 Check your system clock" >&2;}
1812 { (exit 1); exit 1; }; }
1814 { echo "$as_me:$LINENO: result: yes" >&5
1815 echo "${ECHO_T}yes" >&6; }
1816 test "$program_prefix" != NONE &&
1817 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1818 # Use a double $ so make ignores it.
1819 test "$program_suffix" != NONE &&
1820 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1821 # Double any \ or $. echo might interpret backslashes.
1822 # By default was `s,x,x', remove it if useless.
1823 cat <<\_ACEOF >conftest.sed
1824 s/[\\$]/&&/g;s/;s,x,x,$//
1825 _ACEOF
1826 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1827 rm -f conftest.sed
1829 # expand $ac_aux_dir to an absolute path
1830 am_aux_dir=`cd $ac_aux_dir && pwd`
1832 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1833 # Use eval to expand $SHELL
1834 if eval "$MISSING --run true"; then
1835 am_missing_run="$MISSING --run "
1836 else
1837 am_missing_run=
1838 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1839 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1842 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1843 # We used to keeping the `.' as first argument, in order to
1844 # allow $(mkdir_p) to be used without argument. As in
1845 # $(mkdir_p) $(somedir)
1846 # where $(somedir) is conditionally defined. However this is wrong
1847 # for two reasons:
1848 # 1. if the package is installed by a user who cannot write `.'
1849 # make install will fail,
1850 # 2. the above comment should most certainly read
1851 # $(mkdir_p) $(DESTDIR)$(somedir)
1852 # so it does not work when $(somedir) is undefined and
1853 # $(DESTDIR) is not.
1854 # To support the latter case, we have to write
1855 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1856 # so the `.' trick is pointless.
1857 mkdir_p='mkdir -p --'
1858 else
1859 # On NextStep and OpenStep, the `mkdir' command does not
1860 # recognize any option. It will interpret all options as
1861 # directories to create, and then abort because `.' already
1862 # exists.
1863 for d in ./-p ./--version;
1865 test -d $d && rmdir $d
1866 done
1867 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1868 if test -f "$ac_aux_dir/mkinstalldirs"; then
1869 mkdir_p='$(mkinstalldirs)'
1870 else
1871 mkdir_p='$(install_sh) -d'
1875 for ac_prog in gawk mawk nawk awk
1877 # Extract the first word of "$ac_prog", so it can be a program name with args.
1878 set dummy $ac_prog; ac_word=$2
1879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1881 if test "${ac_cv_prog_AWK+set}" = set; then
1882 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 else
1884 if test -n "$AWK"; then
1885 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1886 else
1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888 for as_dir in $PATH
1890 IFS=$as_save_IFS
1891 test -z "$as_dir" && as_dir=.
1892 for ac_exec_ext in '' $ac_executable_extensions; do
1893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1894 ac_cv_prog_AWK="$ac_prog"
1895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1896 break 2
1898 done
1899 done
1900 IFS=$as_save_IFS
1904 AWK=$ac_cv_prog_AWK
1905 if test -n "$AWK"; then
1906 { echo "$as_me:$LINENO: result: $AWK" >&5
1907 echo "${ECHO_T}$AWK" >&6; }
1908 else
1909 { echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6; }
1914 test -n "$AWK" && break
1915 done
1917 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1918 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1919 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1920 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 else
1923 cat >conftest.make <<\_ACEOF
1924 SHELL = /bin/sh
1925 all:
1926 @echo '@@@%%%=$(MAKE)=@@@%%%'
1927 _ACEOF
1928 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1929 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1930 *@@@%%%=?*=@@@%%%*)
1931 eval ac_cv_prog_make_${ac_make}_set=yes;;
1933 eval ac_cv_prog_make_${ac_make}_set=no;;
1934 esac
1935 rm -f conftest.make
1937 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1938 { echo "$as_me:$LINENO: result: yes" >&5
1939 echo "${ECHO_T}yes" >&6; }
1940 SET_MAKE=
1941 else
1942 { echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6; }
1944 SET_MAKE="MAKE=${MAKE-make}"
1947 rm -rf .tst 2>/dev/null
1948 mkdir .tst 2>/dev/null
1949 if test -d .tst; then
1950 am__leading_dot=.
1951 else
1952 am__leading_dot=_
1954 rmdir .tst 2>/dev/null
1956 # test to see if srcdir already configured
1957 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1958 test -f $srcdir/config.status; then
1959 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1960 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1961 { (exit 1); exit 1; }; }
1964 # test whether we have cygpath
1965 if test -z "$CYGPATH_W"; then
1966 if (cygpath --version) >/dev/null 2>/dev/null; then
1967 CYGPATH_W='cygpath -w'
1968 else
1969 CYGPATH_W=echo
1974 # Define the identity of the package.
1975 PACKAGE='autoconf'
1976 VERSION='2.60b'
1979 cat >>confdefs.h <<_ACEOF
1980 #define PACKAGE "$PACKAGE"
1981 _ACEOF
1984 cat >>confdefs.h <<_ACEOF
1985 #define VERSION "$VERSION"
1986 _ACEOF
1988 # Some tools Automake needs.
1990 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1993 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1996 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1999 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2002 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2004 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2006 # Installed binaries are usually stripped using `strip' when the user
2007 # run `make install-strip'. However `strip' might not be the right
2008 # tool to use in cross-compilation environments, therefore Automake
2009 # will honor the `STRIP' environment variable to overrule this program.
2010 if test "$cross_compiling" != no; then
2011 if test -n "$ac_tool_prefix"; then
2012 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2013 set dummy ${ac_tool_prefix}strip; ac_word=$2
2014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2016 if test "${ac_cv_prog_STRIP+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 else
2019 if test -n "$STRIP"; then
2020 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2021 else
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 for as_dir in $PATH
2025 IFS=$as_save_IFS
2026 test -z "$as_dir" && as_dir=.
2027 for ac_exec_ext in '' $ac_executable_extensions; do
2028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2029 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 break 2
2033 done
2034 done
2035 IFS=$as_save_IFS
2039 STRIP=$ac_cv_prog_STRIP
2040 if test -n "$STRIP"; then
2041 { echo "$as_me:$LINENO: result: $STRIP" >&5
2042 echo "${ECHO_T}$STRIP" >&6; }
2043 else
2044 { echo "$as_me:$LINENO: result: no" >&5
2045 echo "${ECHO_T}no" >&6; }
2050 if test -z "$ac_cv_prog_STRIP"; then
2051 ac_ct_STRIP=$STRIP
2052 # Extract the first word of "strip", so it can be a program name with args.
2053 set dummy strip; ac_word=$2
2054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2056 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 else
2059 if test -n "$ac_ct_STRIP"; then
2060 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2061 else
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2069 ac_cv_prog_ac_ct_STRIP="strip"
2070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 break 2
2073 done
2074 done
2075 IFS=$as_save_IFS
2079 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2080 if test -n "$ac_ct_STRIP"; then
2081 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2082 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2083 else
2084 { echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6; }
2088 if test "x$ac_ct_STRIP" = x; then
2089 STRIP=":"
2090 else
2091 case $cross_compiling:$ac_tool_warned in
2092 yes:)
2093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2094 whose name does not start with the host triplet. If you think this
2095 configuration is useful to you, please write to autoconf@gnu.org." >&5
2096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2097 whose name does not start with the host triplet. If you think this
2098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2099 ac_tool_warned=yes ;;
2100 esac
2101 STRIP=$ac_ct_STRIP
2103 else
2104 STRIP="$ac_cv_prog_STRIP"
2108 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2110 # We need awk for the "check" target. The system "awk" is bad on
2111 # some platforms.
2112 # Always define AMTAR for backward compatibility.
2114 AMTAR=${AMTAR-"${am_missing_run}tar"}
2116 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2123 # We use `/bin/sh -n script' to check that there are no syntax errors
2124 # in the scripts. Although incredible, there are /bin/sh that go into
2125 # endless loops with `-n', e.g., SunOS's:
2127 # $ uname -a
2128 # SunOS ondine 4.1.3 2 sun4m unknown
2129 # $ cat endless.sh
2130 # while false
2131 # do
2133 # done
2134 # exit 0
2135 # $ time sh endless.sh
2136 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2137 # $ time sh -nx endless.sh
2138 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2140 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2141 # that they are unusable on large scripts like our testsuite.
2143 # So before using `/bin/sh -n' to check our scripts, we first check
2144 # that `/bin/sh -n' is known to not have these problems.
2146 { echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2147 echo $ECHO_N "checking whether /bin/sh -n is known to work... $ECHO_C" >&6; }
2148 if test "${ac_cv_sh_n_works+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 else
2151 if (
2152 unset BASH_VERSION ZSH_VERSION
2153 /bin/sh -c '
2154 test -n "${BASH_VERSION+set}" || # Bash
2155 test -n "${KSH_VERSION+set}" || # pdksh
2156 test -n "${ZSH_VERSION+set}" || # zsh
2157 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2159 ) 2>/dev/null
2160 then ac_cv_sh_n_works=yes
2161 else ac_cv_sh_n_works=no
2165 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2166 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2169 # Initialize the test suite.
2170 ac_config_commands="$ac_config_commands tests/atconfig"
2173 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2175 # Extract the first word of "expr", so it can be a program name with args.
2176 set dummy expr; ac_word=$2
2177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2179 if test "${ac_cv_path_EXPR+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 else
2182 case $EXPR in
2183 [\\/]* | ?:[\\/]*)
2184 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188 for as_dir in $PATH
2190 IFS=$as_save_IFS
2191 test -z "$as_dir" && as_dir=.
2192 for ac_exec_ext in '' $ac_executable_extensions; do
2193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2194 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 break 2
2198 done
2199 done
2200 IFS=$as_save_IFS
2203 esac
2205 EXPR=$ac_cv_path_EXPR
2206 if test -n "$EXPR"; then
2207 { echo "$as_me:$LINENO: result: $EXPR" >&5
2208 echo "${ECHO_T}$EXPR" >&6; }
2209 else
2210 { echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6; }
2217 ## ---- ##
2218 ## M4. ##
2219 ## ---- ##
2221 # We use an absolute name for GNU m4 so even if users have another m4 first in
2222 # their path, the installer can configure with a path that has GNU m4
2223 # first and get that path embedded in the installed autoconf and
2224 # autoheader scripts.
2225 for ac_prog in gm4 gnum4 m4
2227 # Extract the first word of "$ac_prog", so it can be a program name with args.
2228 set dummy $ac_prog; ac_word=$2
2229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2231 if test "${ac_cv_path_M4+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 else
2234 case $M4 in
2235 [\\/]* | ?:[\\/]*)
2236 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 for as_dir in $PATH
2242 IFS=$as_save_IFS
2243 test -z "$as_dir" && as_dir=.
2244 for ac_exec_ext in '' $ac_executable_extensions; do
2245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2246 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2248 break 2
2250 done
2251 done
2252 IFS=$as_save_IFS
2255 esac
2257 M4=$ac_cv_path_M4
2258 if test -n "$M4"; then
2259 { echo "$as_me:$LINENO: result: $M4" >&5
2260 echo "${ECHO_T}$M4" >&6; }
2261 else
2262 { echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6; }
2267 test -n "$M4" && break
2268 done
2269 test -n "$M4" || M4="m4"
2271 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2272 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 else
2276 ac_cv_prog_gnu_m4=no
2277 if test x"$M4" != x; then
2278 case `$M4 --help < /dev/null 2>&1` in
2279 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2280 esac
2283 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2284 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2285 if test $ac_cv_prog_gnu_m4 = yes ; then
2286 { echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2287 echo $ECHO_N "checking how m4 supports trace files... $ECHO_C" >&6; }
2288 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 else
2291 case `$M4 --help < /dev/null 2>&1` in
2292 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2293 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2294 esac
2296 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2297 echo "${ECHO_T}$ac_cv_prog_gnu_m4_debugfile" >&6; }
2298 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2302 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2303 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2304 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2305 { (exit 1); exit 1; }; }
2308 ## ----------- ##
2309 ## Man pages. ##
2310 ## ----------- ##
2312 ac_config_files="$ac_config_files man/Makefile"
2315 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2319 ## ------ ##
2320 ## Perl. ##
2321 ## ------ ##
2323 # We use an absolute name for perl so the #! line in autoscan will work.
2324 # Extract the first word of "perl", so it can be a program name with args.
2325 set dummy perl; ac_word=$2
2326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2328 if test "${ac_cv_path_PERL+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2330 else
2331 case $PERL in
2332 [\\/]* | ?:[\\/]*)
2333 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 for as_dir in $PATH
2339 IFS=$as_save_IFS
2340 test -z "$as_dir" && as_dir=.
2341 for ac_exec_ext in '' $ac_executable_extensions; do
2342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2343 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 break 2
2347 done
2348 done
2349 IFS=$as_save_IFS
2351 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2353 esac
2355 PERL=$ac_cv_path_PERL
2356 if test -n "$PERL"; then
2357 { echo "$as_me:$LINENO: result: $PERL" >&5
2358 echo "${ECHO_T}$PERL" >&6; }
2359 else
2360 { echo "$as_me:$LINENO: result: no" >&5
2361 echo "${ECHO_T}no" >&6; }
2365 if test "$PERL" = no; then
2366 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2367 echo "$as_me: error: perl is not found" >&2;}
2368 { (exit 1); exit 1; }; }
2370 $PERL -e 'require 5.005_03;' || {
2371 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2372 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2373 { (exit 1); exit 1; }; }
2377 ## ------- ##
2378 ## Emacs. ##
2379 ## ------- ##
2381 ac_config_files="$ac_config_files lib/emacs/Makefile"
2383 TEST_EMACS=$EMACS
2384 test x"$TEST_EMACS" = xt && TEST_EMACS=
2385 for ac_prog in emacs xemacs
2387 # Extract the first word of "$ac_prog", so it can be a program name with args.
2388 set dummy $ac_prog; ac_word=$2
2389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2391 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 else
2394 if test -n "$TEST_EMACS"; then
2395 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH
2400 IFS=$as_save_IFS
2401 test -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2404 ac_cv_prog_TEST_EMACS="$ac_prog"
2405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 break 2
2408 done
2409 done
2410 IFS=$as_save_IFS
2414 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2415 if test -n "$TEST_EMACS"; then
2416 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2417 echo "${ECHO_T}$TEST_EMACS" >&6; }
2418 else
2419 { echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6; }
2424 test -n "$TEST_EMACS" && break
2425 done
2426 test -n "$TEST_EMACS" || TEST_EMACS="no"
2429 # autoconf-mode.el and autotest-mode.el do not work with older version of
2430 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2431 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2432 # We detect this problem here.
2433 if test "$TEST_EMACS" != no; then
2434 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2435 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2436 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 else
2439 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2440 cat >conftest.el << "EOF"
2441 (defvar broken)
2442 (defun broken-mode () (setq broken-defaults `(broken nil)))
2444 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2445 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2446 ac_status=$?
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; then
2449 ac_cv_prog_emacs_ok=yes
2450 else
2451 ac_cv_prog_emacs_ok=no
2454 rm -f conftest.el conftest.elc
2456 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2457 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2458 if test $ac_cv_prog_emacs_ok = no; then
2459 TEST_EMACS=no
2465 EMACS=$TEST_EMACS
2468 # If set to t, that means we are running in a shell under Emacs.
2469 # If you have an Emacs named "t", then use the full path.
2470 test x"$EMACS" = xt && EMACS=
2471 for ac_prog in emacs xemacs
2473 # Extract the first word of "$ac_prog", so it can be a program name with args.
2474 set dummy $ac_prog; ac_word=$2
2475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2477 if test "${ac_cv_prog_EMACS+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 else
2480 if test -n "$EMACS"; then
2481 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2482 else
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 for as_dir in $PATH
2486 IFS=$as_save_IFS
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_EMACS="$ac_prog"
2491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2492 break 2
2494 done
2495 done
2496 IFS=$as_save_IFS
2500 EMACS=$ac_cv_prog_EMACS
2501 if test -n "$EMACS"; then
2502 { echo "$as_me:$LINENO: result: $EMACS" >&5
2503 echo "${ECHO_T}$EMACS" >&6; }
2504 else
2505 { echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6; }
2510 test -n "$EMACS" && break
2511 done
2512 test -n "$EMACS" || EMACS="no"
2517 # Check whether --with-lispdir was given.
2518 if test "${with_lispdir+set}" = set; then
2519 withval=$with_lispdir; lispdir="$withval"
2520 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2521 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2522 { echo "$as_me:$LINENO: result: $lispdir" >&5
2523 echo "${ECHO_T}$lispdir" >&6; }
2524 else
2526 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2527 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2528 if test "${am_cv_lispdir+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2530 else
2532 if test $EMACS != "no"; then
2533 if test x${lispdir+set} != xset; then
2534 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2535 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2536 # which is non-obvious for non-emacs users.
2537 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2538 # emacsen earlier and avoid running this altogether.
2539 { (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
2540 ($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
2541 ac_status=$?
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }
2544 am_cv_lispdir=`sed -n \
2545 -e 's,/$,,' \
2546 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2547 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2548 conftest.out`
2549 rm conftest.out
2552 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2555 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2556 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2557 lispdir="$am_cv_lispdir"
2565 ## ------------ ##
2566 ## Grep & sed. ##
2567 ## ------------ ##
2568 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2569 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2570 if test "${ac_cv_path_GREP+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 else
2573 # Extract the first word of "grep ggrep" to use in msg output
2574 if test -z "$GREP"; then
2575 set dummy grep ggrep; ac_prog_name=$2
2576 if test "${ac_cv_path_GREP+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 else
2579 ac_path_GREP_found=false
2580 # Loop through the user's path and test for each of PROGNAME-LIST
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2584 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=.
2586 for ac_prog in grep ggrep; do
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2589 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2590 # Check for GNU ac_path_GREP and select it if it is found.
2591 # Check for GNU $ac_path_GREP
2592 case `"$ac_path_GREP" --version 2>&1` in
2593 *GNU*)
2594 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2596 ac_count=0
2597 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2598 while :
2600 cat "conftest.in" "conftest.in" >"conftest.tmp"
2601 mv "conftest.tmp" "conftest.in"
2602 cp "conftest.in" "conftest.nl"
2603 echo 'GREP' >> "conftest.nl"
2604 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2605 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2606 ac_count=`expr $ac_count + 1`
2607 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2608 # Best one so far, save it but keep looking for a better one
2609 ac_cv_path_GREP="$ac_path_GREP"
2610 ac_path_GREP_max=$ac_count
2612 # 10*(2^10) chars as input seems more than enough
2613 test $ac_count -gt 10 && break
2614 done
2615 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2616 esac
2619 $ac_path_GREP_found && break 3
2620 done
2621 done
2623 done
2624 IFS=$as_save_IFS
2629 GREP="$ac_cv_path_GREP"
2630 if test -z "$GREP"; then
2631 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2632 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2633 { (exit 1); exit 1; }; }
2636 else
2637 ac_cv_path_GREP=$GREP
2642 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2643 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2644 GREP="$ac_cv_path_GREP"
2647 { echo "$as_me:$LINENO: checking for egrep" >&5
2648 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2649 if test "${ac_cv_path_EGREP+set}" = set; then
2650 echo $ECHO_N "(cached) $ECHO_C" >&6
2651 else
2652 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2653 then ac_cv_path_EGREP="$GREP -E"
2654 else
2655 # Extract the first word of "egrep" to use in msg output
2656 if test -z "$EGREP"; then
2657 set dummy egrep; ac_prog_name=$2
2658 if test "${ac_cv_path_EGREP+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2660 else
2661 ac_path_EGREP_found=false
2662 # Loop through the user's path and test for each of PROGNAME-LIST
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2666 IFS=$as_save_IFS
2667 test -z "$as_dir" && as_dir=.
2668 for ac_prog in egrep; do
2669 for ac_exec_ext in '' $ac_executable_extensions; do
2670 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2671 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2672 # Check for GNU ac_path_EGREP and select it if it is found.
2673 # Check for GNU $ac_path_EGREP
2674 case `"$ac_path_EGREP" --version 2>&1` in
2675 *GNU*)
2676 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2678 ac_count=0
2679 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2680 while :
2682 cat "conftest.in" "conftest.in" >"conftest.tmp"
2683 mv "conftest.tmp" "conftest.in"
2684 cp "conftest.in" "conftest.nl"
2685 echo 'EGREP' >> "conftest.nl"
2686 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2687 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2688 ac_count=`expr $ac_count + 1`
2689 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2690 # Best one so far, save it but keep looking for a better one
2691 ac_cv_path_EGREP="$ac_path_EGREP"
2692 ac_path_EGREP_max=$ac_count
2694 # 10*(2^10) chars as input seems more than enough
2695 test $ac_count -gt 10 && break
2696 done
2697 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2698 esac
2701 $ac_path_EGREP_found && break 3
2702 done
2703 done
2705 done
2706 IFS=$as_save_IFS
2711 EGREP="$ac_cv_path_EGREP"
2712 if test -z "$EGREP"; then
2713 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2714 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2715 { (exit 1); exit 1; }; }
2718 else
2719 ac_cv_path_EGREP=$EGREP
2725 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2726 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2727 EGREP="$ac_cv_path_EGREP"
2730 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2731 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2732 if test "${ac_cv_path_SED+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 else
2735 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2736 for ac_i in 1 2 3 4 5 6 7; do
2737 ac_script="$ac_script$as_nl$ac_script"
2738 done
2739 echo "$ac_script" | sed 99q >conftest.sed
2740 $as_unset ac_script || ac_script=
2741 # Extract the first word of "sed gsed" to use in msg output
2742 if test -z "$SED"; then
2743 set dummy sed gsed; ac_prog_name=$2
2744 if test "${ac_cv_path_SED+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 else
2747 ac_path_SED_found=false
2748 # Loop through the user's path and test for each of PROGNAME-LIST
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 for as_dir in $PATH
2752 IFS=$as_save_IFS
2753 test -z "$as_dir" && as_dir=.
2754 for ac_prog in sed gsed; do
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2757 { test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
2758 # Check for GNU ac_path_SED and select it if it is found.
2759 # Check for GNU $ac_path_SED
2760 case `"$ac_path_SED" --version 2>&1` in
2761 *GNU*)
2762 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2764 ac_count=0
2765 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2766 while :
2768 cat "conftest.in" "conftest.in" >"conftest.tmp"
2769 mv "conftest.tmp" "conftest.in"
2770 cp "conftest.in" "conftest.nl"
2771 echo '' >> "conftest.nl"
2772 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2773 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2774 ac_count=`expr $ac_count + 1`
2775 if test $ac_count -gt ${ac_path_SED_max-0}; then
2776 # Best one so far, save it but keep looking for a better one
2777 ac_cv_path_SED="$ac_path_SED"
2778 ac_path_SED_max=$ac_count
2780 # 10*(2^10) chars as input seems more than enough
2781 test $ac_count -gt 10 && break
2782 done
2783 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2784 esac
2787 $ac_path_SED_found && break 3
2788 done
2789 done
2791 done
2792 IFS=$as_save_IFS
2797 SED="$ac_cv_path_SED"
2798 if test -z "$SED"; then
2799 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2800 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2801 { (exit 1); exit 1; }; }
2804 else
2805 ac_cv_path_SED=$SED
2809 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2810 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2811 SED="$ac_cv_path_SED"
2812 rm -f conftest.sed
2816 ## ------------ ##
2817 ## Conclusion. ##
2818 ## ------------ ##
2820 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"
2823 cat >confcache <<\_ACEOF
2824 # This file is a shell script that caches the results of configure
2825 # tests run on this system so they can be shared between configure
2826 # scripts and configure runs, see configure's option --config-cache.
2827 # It is not useful on other systems. If it contains results you don't
2828 # want to keep, you may remove or edit it.
2830 # config.status only pays attention to the cache file if you give it
2831 # the --recheck option to rerun configure.
2833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2835 # following values.
2837 _ACEOF
2839 # The following way of writing the cache mishandles newlines in values,
2840 # but we know of no workaround that is simple, portable, and efficient.
2841 # So, we kill variables containing newlines.
2842 # Ultrix sh set writes to stderr and can't be redirected directly,
2843 # and sets the high bit in the cache file unless we assign to the vars.
2845 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2846 eval ac_val=\$$ac_var
2847 case $ac_val in #(
2848 *${as_nl}*)
2849 case $ac_var in #(
2850 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2851 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2852 esac
2853 case $ac_var in #(
2854 _ | IFS | as_nl) ;; #(
2855 *) $as_unset $ac_var ;;
2856 esac ;;
2857 esac
2858 done
2860 (set) 2>&1 |
2861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2862 *${as_nl}ac_space=\ *)
2863 # `set' does not quote correctly, so add quotes (double-quote
2864 # substitution turns \\\\ into \\, and sed turns \\ into \).
2865 sed -n \
2866 "s/'/'\\\\''/g;
2867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2868 ;; #(
2870 # `set' quotes correctly as required by POSIX, so do not add quotes.
2871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2873 esac |
2874 sort
2876 sed '
2877 /^ac_cv_env_/b end
2878 t clear
2879 :clear
2880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2881 t end
2882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2883 :end' >>confcache
2884 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2885 if test -w "$cache_file"; then
2886 test "x$cache_file" != "x/dev/null" &&
2887 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2888 echo "$as_me: updating cache $cache_file" >&6;}
2889 cat confcache >$cache_file
2890 else
2891 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2892 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2895 rm -f confcache
2897 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2898 # Let make expand exec_prefix.
2899 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2901 # Transform confdefs.h into DEFS.
2902 # Protect against shell expansion while executing Makefile rules.
2903 # Protect against Makefile macro expansion.
2905 # If the first sed substitution is executed (which looks for macros that
2906 # take arguments), then branch to the quote section. Otherwise,
2907 # look for a macro that doesn't take arguments.
2908 ac_script='
2909 t clear
2910 :clear
2911 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2912 t quote
2913 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2914 t quote
2915 b any
2916 :quote
2917 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2918 s/\[/\\&/g
2919 s/\]/\\&/g
2920 s/\$/$$/g
2922 :any
2925 s/^\n//
2926 s/\n/ /g
2930 DEFS=`sed -n "$ac_script" confdefs.h`
2933 ac_libobjs=
2934 ac_ltlibobjs=
2935 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2936 # 1. Remove the extension, and $U if already installed.
2937 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2938 ac_i=`echo "$ac_i" | sed "$ac_script"`
2939 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2940 # will be set to the directory where LIBOBJS objects are built.
2941 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2942 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2943 done
2944 LIBOBJS=$ac_libobjs
2946 LTLIBOBJS=$ac_ltlibobjs
2950 : ${CONFIG_STATUS=./config.status}
2951 ac_clean_files_save=$ac_clean_files
2952 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2953 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2954 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2955 cat >$CONFIG_STATUS <<_ACEOF
2956 #! $SHELL
2957 # Generated by $as_me.
2958 # Run this file to recreate the current configuration.
2959 # Compiler output produced by configure, useful for debugging
2960 # configure, is in config.log if it exists.
2962 debug=false
2963 ac_cs_recheck=false
2964 ac_cs_silent=false
2965 SHELL=\${CONFIG_SHELL-$SHELL}
2966 _ACEOF
2968 cat >>$CONFIG_STATUS <<\_ACEOF
2969 ## --------------------- ##
2970 ## M4sh Initialization. ##
2971 ## --------------------- ##
2973 # Be Bourne compatible
2974 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2975 emulate sh
2976 NULLCMD=:
2977 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2978 # is contrary to our usage. Disable this feature.
2979 alias -g '${1+"$@"}'='"$@"'
2980 setopt NO_GLOB_SUBST
2981 else
2982 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2984 BIN_SH=xpg4; export BIN_SH # for Tru64
2985 DUALCASE=1; export DUALCASE # for MKS sh
2988 # PATH needs CR
2989 # Avoid depending upon Character Ranges.
2990 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2991 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2992 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2993 as_cr_digits='0123456789'
2994 as_cr_alnum=$as_cr_Letters$as_cr_digits
2996 # The user is always right.
2997 if test "${PATH_SEPARATOR+set}" != set; then
2998 echo "#! /bin/sh" >conf$$.sh
2999 echo "exit 0" >>conf$$.sh
3000 chmod +x conf$$.sh
3001 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3002 PATH_SEPARATOR=';'
3003 else
3004 PATH_SEPARATOR=:
3006 rm -f conf$$.sh
3009 # Support unset when possible.
3010 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3011 as_unset=unset
3012 else
3013 as_unset=false
3017 # IFS
3018 # We need space, tab and new line, in precisely that order. Quoting is
3019 # there to prevent editors from complaining about space-tab.
3020 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3021 # splitting by setting IFS to empty value.)
3022 as_nl='
3024 IFS=" "" $as_nl"
3026 # Find who we are. Look in the path if we contain no directory separator.
3027 case $0 in
3028 *[\\/]* ) as_myself=$0 ;;
3029 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 for as_dir in $PATH
3032 IFS=$as_save_IFS
3033 test -z "$as_dir" && as_dir=.
3034 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3035 done
3036 IFS=$as_save_IFS
3039 esac
3040 # We did not find ourselves, most probably we were run as `sh COMMAND'
3041 # in which case we are not to be found in the path.
3042 if test "x$as_myself" = x; then
3043 as_myself=$0
3045 if test ! -f "$as_myself"; then
3046 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3047 { (exit 1); exit 1; }
3050 # Work around bugs in pre-3.0 UWIN ksh.
3051 for as_var in ENV MAIL MAILPATH
3052 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3053 done
3054 PS1='$ '
3055 PS2='> '
3056 PS4='+ '
3058 # NLS nuisances.
3059 for as_var in \
3060 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3061 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3062 LC_TELEPHONE LC_TIME
3064 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3065 eval $as_var=C; export $as_var
3066 else
3067 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3069 done
3071 # Required to use basename.
3072 if expr a : '\(a\)' >/dev/null 2>&1 &&
3073 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3074 as_expr=expr
3075 else
3076 as_expr=false
3079 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3080 as_basename=basename
3081 else
3082 as_basename=false
3086 # Name of the executable.
3087 as_me=`$as_basename -- "$0" ||
3088 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3089 X"$0" : 'X\(//\)$' \| \
3090 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3091 echo X/"$0" |
3092 sed '/^.*\/\([^/][^/]*\)\/*$/{
3093 s//\1/
3096 /^X\/\(\/\/\)$/{
3097 s//\1/
3100 /^X\/\(\/\).*/{
3101 s//\1/
3104 s/.*/./; q'`
3106 # CDPATH.
3107 $as_unset CDPATH
3111 as_lineno_1=$LINENO
3112 as_lineno_2=$LINENO
3113 test "x$as_lineno_1" != "x$as_lineno_2" &&
3114 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3116 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3117 # uniformly replaced by the line number. The first 'sed' inserts a
3118 # line-number line after each line using $LINENO; the second 'sed'
3119 # does the real work. The second script uses 'N' to pair each
3120 # line-number line with the line containing $LINENO, and appends
3121 # trailing '-' during substitution so that $LINENO is not a special
3122 # case at line end.
3123 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3124 # scripts with optimization help from Paolo Bonzini. Blame Lee
3125 # E. McMahon (1931-1989) for sed's syntax. :-)
3126 sed -n '
3128 /[$]LINENO/=
3129 ' <$as_myself |
3130 sed '
3131 s/[$]LINENO.*/&-/
3132 t lineno
3134 :lineno
3136 :loop
3137 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3138 t loop
3139 s/-\n.*//
3140 ' >$as_me.lineno &&
3141 chmod +x "$as_me.lineno" ||
3142 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3143 { (exit 1); exit 1; }; }
3145 # Don't try to exec as it changes $[0], causing all sort of problems
3146 # (the dirname of $[0] is not the place where we might find the
3147 # original and so on. Autoconf is especially sensitive to this).
3148 . "./$as_me.lineno"
3149 # Exit status is that of the last command.
3150 exit
3154 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3155 as_dirname=dirname
3156 else
3157 as_dirname=false
3160 ECHO_C= ECHO_N= ECHO_T=
3161 case `echo -n x` in
3162 -n*)
3163 case `echo 'x\c'` in
3164 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3165 *) ECHO_C='\c';;
3166 esac;;
3168 ECHO_N='-n';;
3169 esac
3171 if expr a : '\(a\)' >/dev/null 2>&1 &&
3172 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3173 as_expr=expr
3174 else
3175 as_expr=false
3178 rm -f conf$$ conf$$.exe conf$$.file
3179 if test -d conf$$.dir; then
3180 rm -f conf$$.dir/conf$$.file
3181 else
3182 rm -f conf$$.dir
3183 mkdir conf$$.dir
3185 echo >conf$$.file
3186 if ln -s conf$$.file conf$$ 2>/dev/null; then
3187 as_ln_s='ln -s'
3188 # ... but there are two gotchas:
3189 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3190 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3191 # In both cases, we have to default to `cp -p'.
3192 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3193 as_ln_s='cp -p'
3194 elif ln conf$$.file conf$$ 2>/dev/null; then
3195 as_ln_s=ln
3196 else
3197 as_ln_s='cp -p'
3199 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3200 rmdir conf$$.dir 2>/dev/null
3202 if mkdir -p . 2>/dev/null; then
3203 as_mkdir_p=:
3204 else
3205 test -d ./-p && rmdir ./-p
3206 as_mkdir_p=false
3209 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3210 # systems may use methods other than mode bits to determine executability.
3211 echo '#! /bin/sh' >conf$$.file
3212 chmod +x conf$$.file
3213 if test -x conf$$.file >/dev/null 2>&1; then
3214 as_executable_p="test -x"
3215 else
3216 as_executable_p=:
3218 rm -f conf$$.file
3220 # Sed expression to map a string onto a valid CPP name.
3221 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3223 # Sed expression to map a string onto a valid variable name.
3224 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3227 exec 6>&1
3229 # Save the log message, to keep $[0] and so on meaningful, and to
3230 # report actual input values of CONFIG_FILES etc. instead of their
3231 # values after options handling.
3232 ac_log="
3233 This file was extended by GNU Autoconf $as_me 2.60b, which was
3234 generated by GNU Autoconf 2.60b. Invocation command line was
3236 CONFIG_FILES = $CONFIG_FILES
3237 CONFIG_HEADERS = $CONFIG_HEADERS
3238 CONFIG_LINKS = $CONFIG_LINKS
3239 CONFIG_COMMANDS = $CONFIG_COMMANDS
3240 $ $0 $@
3242 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3245 _ACEOF
3247 cat >>$CONFIG_STATUS <<_ACEOF
3248 # Files that config.status was made for.
3249 config_files="$ac_config_files"
3250 config_commands="$ac_config_commands"
3252 _ACEOF
3254 cat >>$CONFIG_STATUS <<\_ACEOF
3255 ac_cs_usage="\
3256 \`$as_me' instantiates files from templates according to the
3257 current configuration.
3259 Usage: $0 [OPTIONS] [FILE]...
3261 -h, --help print this help, then exit
3262 -V, --version print version number and configuration settings, then exit
3263 -q, --quiet do not print progress messages
3264 -d, --debug don't remove temporary files
3265 --recheck update $as_me by reconfiguring in the same conditions
3266 --file=FILE[:TEMPLATE]
3267 instantiate the configuration file FILE
3269 Configuration files:
3270 $config_files
3272 Configuration commands:
3273 $config_commands
3275 Report bugs to <bug-autoconf@gnu.org>."
3277 _ACEOF
3278 cat >>$CONFIG_STATUS <<_ACEOF
3279 ac_cs_version="\\
3280 GNU Autoconf config.status 2.60b
3281 configured by $0, generated by GNU Autoconf 2.60b,
3282 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3284 Copyright (C) 2006 Free Software Foundation, Inc.
3285 This config.status script is free software; the Free Software Foundation
3286 gives unlimited permission to copy, distribute and modify it."
3288 ac_pwd='$ac_pwd'
3289 srcdir='$srcdir'
3290 INSTALL='$INSTALL'
3291 _ACEOF
3293 cat >>$CONFIG_STATUS <<\_ACEOF
3294 # If no file are specified by the user, then we need to provide default
3295 # value. By we need to know if files were specified by the user.
3296 ac_need_defaults=:
3297 while test $# != 0
3299 case $1 in
3300 --*=*)
3301 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3302 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3303 ac_shift=:
3306 ac_option=$1
3307 ac_optarg=$2
3308 ac_shift=shift
3310 esac
3312 case $ac_option in
3313 # Handling of the options.
3314 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3315 ac_cs_recheck=: ;;
3316 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3317 echo "$ac_cs_version"; exit ;;
3318 --debug | --debu | --deb | --de | --d | -d )
3319 debug=: ;;
3320 --file | --fil | --fi | --f )
3321 $ac_shift
3322 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3323 ac_need_defaults=false;;
3324 --he | --h | --help | --hel | -h )
3325 echo "$ac_cs_usage"; exit ;;
3326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3327 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3328 ac_cs_silent=: ;;
3330 # This is an error.
3331 -*) { echo "$as_me: error: unrecognized option: $1
3332 Try \`$0 --help' for more information." >&2
3333 { (exit 1); exit 1; }; } ;;
3335 *) ac_config_targets="$ac_config_targets $1"
3336 ac_need_defaults=false ;;
3338 esac
3339 shift
3340 done
3342 ac_configure_extra_args=
3344 if $ac_cs_silent; then
3345 exec 6>/dev/null
3346 ac_configure_extra_args="$ac_configure_extra_args --silent"
3349 _ACEOF
3350 cat >>$CONFIG_STATUS <<_ACEOF
3351 if \$ac_cs_recheck; then
3352 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3353 CONFIG_SHELL=$SHELL
3354 export CONFIG_SHELL
3355 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3358 _ACEOF
3359 cat >>$CONFIG_STATUS <<\_ACEOF
3360 exec 5>>config.log
3362 echo
3363 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3364 ## Running $as_me. ##
3365 _ASBOX
3366 echo "$ac_log"
3367 } >&5
3369 _ACEOF
3370 cat >>$CONFIG_STATUS <<_ACEOF
3371 _ACEOF
3373 cat >>$CONFIG_STATUS <<\_ACEOF
3375 # Handling of arguments.
3376 for ac_config_target in $ac_config_targets
3378 case $ac_config_target in
3379 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3380 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3381 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3382 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3383 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3384 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3385 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3386 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3387 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3388 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3389 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3390 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3391 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3392 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3394 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3395 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3396 { (exit 1); exit 1; }; };;
3397 esac
3398 done
3401 # If the user did not use the arguments to specify the items to instantiate,
3402 # then the envvar interface is used. Set only those that are not.
3403 # We use the long form for the default assignment because of an extremely
3404 # bizarre bug on SunOS 4.1.3.
3405 if $ac_need_defaults; then
3406 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3407 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3410 # Have a temporary directory for convenience. Make it in the build tree
3411 # simply because there is no reason against having it here, and in addition,
3412 # creating and moving files from /tmp can sometimes cause problems.
3413 # Hook for its removal unless debugging.
3414 # Note that there is a small window in which the directory will not be cleaned:
3415 # after its creation but before its name has been assigned to `$tmp'.
3416 $debug ||
3418 tmp=
3419 trap 'exit_status=$?
3420 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3422 trap '{ (exit 1); exit 1; }' 1 2 13 15
3424 # Create a (secure) tmp directory for tmp files.
3427 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3428 test -n "$tmp" && test -d "$tmp"
3429 } ||
3431 tmp=./conf$$-$RANDOM
3432 (umask 077 && mkdir "$tmp")
3433 } ||
3435 echo "$me: cannot create a temporary directory in ." >&2
3436 { (exit 1); exit 1; }
3440 # Set up the sed scripts for CONFIG_FILES section.
3443 # No need to generate the scripts if there are no CONFIG_FILES.
3444 # This happens for instance when ./config.status config.h
3445 if test -n "$CONFIG_FILES"; then
3447 _ACEOF
3451 ac_delim='%!_!# '
3452 for ac_last_try in false false false false false :; do
3453 cat >conf$$subs.sed <<_ACEOF
3454 SHELL!$SHELL$ac_delim
3455 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3456 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3457 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3458 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3459 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3460 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3461 exec_prefix!$exec_prefix$ac_delim
3462 prefix!$prefix$ac_delim
3463 program_transform_name!$program_transform_name$ac_delim
3464 bindir!$bindir$ac_delim
3465 sbindir!$sbindir$ac_delim
3466 libexecdir!$libexecdir$ac_delim
3467 datarootdir!$datarootdir$ac_delim
3468 datadir!$datadir$ac_delim
3469 sysconfdir!$sysconfdir$ac_delim
3470 sharedstatedir!$sharedstatedir$ac_delim
3471 localstatedir!$localstatedir$ac_delim
3472 includedir!$includedir$ac_delim
3473 oldincludedir!$oldincludedir$ac_delim
3474 docdir!$docdir$ac_delim
3475 infodir!$infodir$ac_delim
3476 htmldir!$htmldir$ac_delim
3477 dvidir!$dvidir$ac_delim
3478 pdfdir!$pdfdir$ac_delim
3479 psdir!$psdir$ac_delim
3480 libdir!$libdir$ac_delim
3481 localedir!$localedir$ac_delim
3482 mandir!$mandir$ac_delim
3483 DEFS!$DEFS$ac_delim
3484 ECHO_C!$ECHO_C$ac_delim
3485 ECHO_N!$ECHO_N$ac_delim
3486 ECHO_T!$ECHO_T$ac_delim
3487 LIBS!$LIBS$ac_delim
3488 build_alias!$build_alias$ac_delim
3489 host_alias!$host_alias$ac_delim
3490 target_alias!$target_alias$ac_delim
3491 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3492 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3493 INSTALL_DATA!$INSTALL_DATA$ac_delim
3494 CYGPATH_W!$CYGPATH_W$ac_delim
3495 PACKAGE!$PACKAGE$ac_delim
3496 VERSION!$VERSION$ac_delim
3497 ACLOCAL!$ACLOCAL$ac_delim
3498 AUTOCONF!$AUTOCONF$ac_delim
3499 AUTOMAKE!$AUTOMAKE$ac_delim
3500 AUTOHEADER!$AUTOHEADER$ac_delim
3501 MAKEINFO!$MAKEINFO$ac_delim
3502 install_sh!$install_sh$ac_delim
3503 STRIP!$STRIP$ac_delim
3504 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3505 mkdir_p!$mkdir_p$ac_delim
3506 AWK!$AWK$ac_delim
3507 SET_MAKE!$SET_MAKE$ac_delim
3508 am__leading_dot!$am__leading_dot$ac_delim
3509 AMTAR!$AMTAR$ac_delim
3510 am__tar!$am__tar$ac_delim
3511 am__untar!$am__untar$ac_delim
3512 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3513 EXPR!$EXPR$ac_delim
3514 M4!$M4$ac_delim
3515 M4_DEBUGFILE!$M4_DEBUGFILE$ac_delim
3516 HELP2MAN!$HELP2MAN$ac_delim
3517 PERL!$PERL$ac_delim
3518 TEST_EMACS!$TEST_EMACS$ac_delim
3519 EMACS!$EMACS$ac_delim
3520 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3521 lispdir!$lispdir$ac_delim
3522 GREP!$GREP$ac_delim
3523 EGREP!$EGREP$ac_delim
3524 SED!$SED$ac_delim
3525 LIBOBJS!$LIBOBJS$ac_delim
3526 LTLIBOBJS!$LTLIBOBJS$ac_delim
3527 _ACEOF
3529 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
3530 break
3531 elif $ac_last_try; then
3532 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3533 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3534 { (exit 1); exit 1; }; }
3535 else
3536 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3538 done
3540 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3541 if test -n "$ac_eof"; then
3542 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3543 ac_eof=`expr $ac_eof + 1`
3546 cat >>$CONFIG_STATUS <<_ACEOF
3547 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3548 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3549 _ACEOF
3550 sed '
3551 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3552 s/^/s,@/; s/!/@,|#_!!_#|/
3555 s/'"$ac_delim"'$/,g/; t
3556 s/$/\\/; p
3557 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3558 ' >>$CONFIG_STATUS <conf$$subs.sed
3559 rm -f conf$$subs.sed
3560 cat >>$CONFIG_STATUS <<_ACEOF
3561 :end
3562 s/|#_!!_#|//g
3563 CEOF$ac_eof
3564 _ACEOF
3567 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3568 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3569 # trailing colons and then remove the whole line if VPATH becomes empty
3570 # (actually we leave an empty line to preserve line numbers).
3571 if test "x$srcdir" = x.; then
3572 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3573 s/:*\$(srcdir):*/:/
3574 s/:*\${srcdir}:*/:/
3575 s/:*@srcdir@:*/:/
3576 s/^\([^=]*=[ ]*\):*/\1/
3577 s/:*$//
3578 s/^[^=]*=[ ]*$//
3582 cat >>$CONFIG_STATUS <<\_ACEOF
3583 fi # test -n "$CONFIG_FILES"
3586 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3588 case $ac_tag in
3589 :[FHLC]) ac_mode=$ac_tag; continue;;
3590 esac
3591 case $ac_mode$ac_tag in
3592 :[FHL]*:*);;
3593 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3594 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3595 { (exit 1); exit 1; }; };;
3596 :[FH]-) ac_tag=-:-;;
3597 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3598 esac
3599 ac_save_IFS=$IFS
3600 IFS=:
3601 set x $ac_tag
3602 IFS=$ac_save_IFS
3603 shift
3604 ac_file=$1
3605 shift
3607 case $ac_mode in
3608 :L) ac_source=$1;;
3609 :[FH])
3610 ac_file_inputs=
3611 for ac_f
3613 case $ac_f in
3614 -) ac_f="$tmp/stdin";;
3615 *) # Look for the file first in the build tree, then in the source tree
3616 # (if the path is not absolute). The absolute path cannot be DOS-style,
3617 # because $ac_f cannot contain `:'.
3618 test -f "$ac_f" ||
3619 case $ac_f in
3620 [\\/$]*) false;;
3621 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3622 esac ||
3623 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3624 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3625 { (exit 1); exit 1; }; };;
3626 esac
3627 ac_file_inputs="$ac_file_inputs $ac_f"
3628 done
3630 # Let's still pretend it is `configure' which instantiates (i.e., don't
3631 # use $as_me), people would be surprised to read:
3632 # /* config.h. Generated by config.status. */
3633 configure_input="Generated from "`IFS=:
3634 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3635 if test x"$ac_file" != x-; then
3636 configure_input="$ac_file. $configure_input"
3637 { echo "$as_me:$LINENO: creating $ac_file" >&5
3638 echo "$as_me: creating $ac_file" >&6;}
3641 case $ac_tag in
3642 *:-:* | *:-) cat >"$tmp/stdin";;
3643 esac
3645 esac
3647 ac_dir=`$as_dirname -- "$ac_file" ||
3648 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3649 X"$ac_file" : 'X\(//\)[^/]' \| \
3650 X"$ac_file" : 'X\(//\)$' \| \
3651 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3652 echo X"$ac_file" |
3653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3654 s//\1/
3657 /^X\(\/\/\)[^/].*/{
3658 s//\1/
3661 /^X\(\/\/\)$/{
3662 s//\1/
3665 /^X\(\/\).*/{
3666 s//\1/
3669 s/.*/./; q'`
3670 { as_dir="$ac_dir"
3671 case $as_dir in #(
3672 -*) as_dir=./$as_dir;;
3673 esac
3674 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3675 as_dirs=
3676 while :; do
3677 case $as_dir in #(
3678 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3679 *) as_qdir=$as_dir;;
3680 esac
3681 as_dirs="'$as_qdir' $as_dirs"
3682 as_dir=`$as_dirname -- "$as_dir" ||
3683 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3684 X"$as_dir" : 'X\(//\)[^/]' \| \
3685 X"$as_dir" : 'X\(//\)$' \| \
3686 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3687 echo X"$as_dir" |
3688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3689 s//\1/
3692 /^X\(\/\/\)[^/].*/{
3693 s//\1/
3696 /^X\(\/\/\)$/{
3697 s//\1/
3700 /^X\(\/\).*/{
3701 s//\1/
3704 s/.*/./; q'`
3705 test -d "$as_dir" && break
3706 done
3707 test -z "$as_dirs" || eval "mkdir $as_dirs"
3708 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3709 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3710 { (exit 1); exit 1; }; }; }
3711 ac_builddir=.
3713 case "$ac_dir" in
3714 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3716 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3717 # A ".." for each directory in $ac_dir_suffix.
3718 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3719 case $ac_top_builddir_sub in
3720 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3721 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3722 esac ;;
3723 esac
3724 ac_abs_top_builddir=$ac_pwd
3725 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3726 # for backward compatibility:
3727 ac_top_builddir=$ac_top_build_prefix
3729 case $srcdir in
3730 .) # We are building in place.
3731 ac_srcdir=.
3732 ac_top_srcdir=$ac_top_builddir_sub
3733 ac_abs_top_srcdir=$ac_pwd ;;
3734 [\\/]* | ?:[\\/]* ) # Absolute name.
3735 ac_srcdir=$srcdir$ac_dir_suffix;
3736 ac_top_srcdir=$srcdir
3737 ac_abs_top_srcdir=$srcdir ;;
3738 *) # Relative name.
3739 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3740 ac_top_srcdir=$ac_top_build_prefix$srcdir
3741 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3742 esac
3743 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3746 case $ac_mode in
3749 # CONFIG_FILE
3752 case $INSTALL in
3753 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3754 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3755 esac
3756 _ACEOF
3758 cat >>$CONFIG_STATUS <<\_ACEOF
3759 # If the template does not know about datarootdir, expand it.
3760 # FIXME: This hack should be removed a few years after 2.60.
3761 ac_datarootdir_hack=; ac_datarootdir_seen=
3763 case `sed -n '/datarootdir/ {
3767 /@datadir@/p
3768 /@docdir@/p
3769 /@infodir@/p
3770 /@localedir@/p
3771 /@mandir@/p
3772 ' $ac_file_inputs` in
3773 *datarootdir*) ac_datarootdir_seen=yes;;
3774 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3775 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3776 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3777 _ACEOF
3778 cat >>$CONFIG_STATUS <<_ACEOF
3779 ac_datarootdir_hack='
3780 s&@datadir@&$datadir&g
3781 s&@docdir@&$docdir&g
3782 s&@infodir@&$infodir&g
3783 s&@localedir@&$localedir&g
3784 s&@mandir@&$mandir&g
3785 s&\\\${datarootdir}&$datarootdir&g' ;;
3786 esac
3787 _ACEOF
3789 # Neutralize VPATH when `$srcdir' = `.'.
3790 # Shell code in configure.ac might set extrasub.
3791 # FIXME: do we really want to maintain this feature?
3792 cat >>$CONFIG_STATUS <<_ACEOF
3793 sed "$ac_vpsub
3794 $extrasub
3795 _ACEOF
3796 cat >>$CONFIG_STATUS <<\_ACEOF
3798 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3799 s&@configure_input@&$configure_input&;t t
3800 s&@top_builddir@&$ac_top_builddir_sub&;t t
3801 s&@srcdir@&$ac_srcdir&;t t
3802 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3803 s&@top_srcdir@&$ac_top_srcdir&;t t
3804 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3805 s&@builddir@&$ac_builddir&;t t
3806 s&@abs_builddir@&$ac_abs_builddir&;t t
3807 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3808 s&@INSTALL@&$ac_INSTALL&;t t
3809 $ac_datarootdir_hack
3810 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3812 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3813 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3814 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3815 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3816 which seems to be undefined. Please make sure it is defined." >&5
3817 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3818 which seems to be undefined. Please make sure it is defined." >&2;}
3820 rm -f "$tmp/stdin"
3821 case $ac_file in
3822 -) cat "$tmp/out"; rm -f "$tmp/out";;
3823 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3824 esac
3828 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3829 echo "$as_me: executing $ac_file commands" >&6;}
3831 esac
3834 case $ac_file$ac_mode in
3835 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3836 # Configurable variable values for building test suites.
3837 # Generated by $0.
3838 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3840 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3841 at_testdir='tests'
3842 abs_builddir='$ac_abs_builddir'
3843 at_srcdir='$ac_srcdir'
3844 abs_srcdir='$ac_abs_srcdir'
3845 at_top_srcdir='$ac_top_srcdir'
3846 abs_top_srcdir='$ac_abs_top_srcdir'
3847 at_top_build_prefix='$ac_top_build_prefix'
3848 abs_top_builddir='$ac_abs_top_builddir'
3850 # Backward compatibility with Autotest <= 2.59b:
3851 at_top_builddir=\$at_top_build_prefix
3853 AUTOTEST_PATH='tests'
3855 SHELL=\${CONFIG_SHELL-'$SHELL'}
3856 ATEOF
3859 esac
3860 done # for ac_tag
3863 { (exit 0); exit 0; }
3864 _ACEOF
3865 chmod +x $CONFIG_STATUS
3866 ac_clean_files=$ac_clean_files_save
3869 # configure is writing to config.log, and then calls config.status.
3870 # config.status does its own redirection, appending to config.log.
3871 # Unfortunately, on DOS this fails, as config.log is still kept open
3872 # by configure, so config.status won't be able to write to it; its
3873 # output is simply discarded. So we exec the FD to /dev/null,
3874 # effectively closing config.log, so it can be properly (re)opened and
3875 # appended to by config.status. When coming back to configure, we
3876 # need to make the FD available again.
3877 if test "$no_create" != yes; then
3878 ac_cs_success=:
3879 ac_config_status_args=
3880 test "$silent" = yes &&
3881 ac_config_status_args="$ac_config_status_args --quiet"
3882 exec 5>/dev/null
3883 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3884 exec 5>>config.log
3885 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3886 # would make configure fail if this is the last instruction.
3887 $ac_cs_success || { (exit 1); exit 1; }
3890 # Report the state of this version of Autoconf if this is a beta.
3891 cat <<EOF
3893 You are about to use an experimental version of Autoconf. Be sure to
3894 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3896 Below you will find information on the status of this version of Autoconf.
3900 sed -n '/^\* Status/,$p' $srcdir/BUGS