Regenerate.
[autoconf/tsuna.git] / configure
blob85a2182d21b85ce3fcde2fdeab1f1ba997efc721
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59c for GNU Autoconf 2.59c.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005 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 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
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 # Find who we are. Look in the path if we contain no path at all
60 # relative or not.
61 case $0 in
62 *[\\/]* ) as_myself=$0 ;;
63 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64 for as_dir in $PATH
66 IFS=$as_save_IFS
67 test -z "$as_dir" && as_dir=.
68 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
69 done
72 esac
73 # We did not find ourselves, most probably we were run as `sh COMMAND'
74 # in which case we are not to be found in the path.
75 if test "x$as_myself" = x; then
76 as_myself=$0
78 if test ! -f "$as_myself"; then
79 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
80 { (exit 1); exit 1; }; }
83 # Work around bugs in pre-3.0 UWIN ksh.
84 for as_var in ENV MAIL MAILPATH
85 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
86 done
87 PS1='$ '
88 PS2='> '
89 PS4='+ '
91 # NLS nuisances.
92 for as_var in \
93 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95 LC_TELEPHONE LC_TIME
97 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98 eval $as_var=C; export $as_var
99 else
100 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 done
104 # Required to use basename.
105 if expr a : '\(a\)' >/dev/null 2>&1; then
106 as_expr=expr
107 else
108 as_expr=false
111 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
112 as_basename=basename
113 else
114 as_basename=false
118 # Name of the executable.
119 as_me=`$as_basename "$0" ||
120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121 X"$0" : 'X\(//\)$' \| \
122 X"$0" : 'X\(/\)$' \| \
123 . : '\(.\)' 2>/dev/null ||
124 echo X/"$0" |
125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
126 /^X\/\(\/\/\)$/{ s//\1/; q; }
127 /^X\/\(\/\).*/{ s//\1/; q; }
128 s/.*/./; q'`
132 if test "x$CONFIG_SHELL" = x; then
133 if (eval ":") 2>/dev/null; then
134 as_have_required=yes
135 else
136 as_have_required=no
139 if test $as_have_required = yes && (eval ":
140 (as_func_return () {
141 (exit \$1)
143 as_func_success () {
144 as_func_return 0
146 as_func_failure () {
147 as_func_return 1
149 as_func_ret_success () {
150 return 0
152 as_func_ret_failure () {
153 return 1
156 exitcode=0
157 if as_func_success; then
159 else
160 exitcode=1
161 echo as_func_success failed.
164 if as_func_failure; then
165 exitcode=1
166 echo as_func_failure succeeded.
169 if as_func_ret_success; then
171 else
172 exitcode=1
173 echo as_func_ret_success failed.
176 if as_func_ret_failure; then
177 exitcode=1
178 echo as_func_ret_failure succeeded.
181 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
183 else
184 exitcode=1
185 echo positional parameters were not saved.
188 test \$exitcode = 0) || { (exit 1); exit 1; }
191 as_lineno_1=\$LINENO
192 as_lineno_2=\$LINENO
193 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
194 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
195 ") 2> /dev/null; then
197 else
198 as_candidate_shells=
199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
202 IFS=$as_save_IFS
203 test -z "$as_dir" && as_dir=.
204 case $as_dir in
206 for as_base in sh bash ksh sh5; do
207 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
208 done
209 esac
210 done
213 for as_shell in $as_candidate_shells $SHELL; do
214 if { ($as_shell) 2> /dev/null <<\_ASEOF
215 # Be Bourne compatible
216 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
217 emulate sh
218 NULLCMD=:
219 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
220 # is contrary to our usage. Disable this feature.
221 alias -g '${1+"$@"}'='"$@"'
222 setopt NO_GLOB_SUBST
223 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
224 set -o posix
226 BIN_SH=xpg4; export BIN_SH # for Tru64
227 DUALCASE=1; export DUALCASE # for MKS sh
230 _ASEOF
231 }; then
232 CONFIG_SHELL=$as_shell
233 as_have_required=yes
234 if { $as_shell 2> /dev/null <<\_ASEOF
235 # Be Bourne compatible
236 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
237 emulate sh
238 NULLCMD=:
239 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
240 # is contrary to our usage. Disable this feature.
241 alias -g '${1+"$@"}'='"$@"'
242 setopt NO_GLOB_SUBST
243 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
244 set -o posix
246 BIN_SH=xpg4; export BIN_SH # for Tru64
247 DUALCASE=1; export DUALCASE # for MKS sh
250 (as_func_return () {
251 (exit $1)
253 as_func_success () {
254 as_func_return 0
256 as_func_failure () {
257 as_func_return 1
259 as_func_ret_success () {
260 return 0
262 as_func_ret_failure () {
263 return 1
266 exitcode=0
267 if as_func_success; then
269 else
270 exitcode=1
271 echo as_func_success failed.
274 if as_func_failure; then
275 exitcode=1
276 echo as_func_failure succeeded.
279 if as_func_ret_success; then
281 else
282 exitcode=1
283 echo as_func_ret_success failed.
286 if as_func_ret_failure; then
287 exitcode=1
288 echo as_func_ret_failure succeeded.
291 if ( set x; as_func_ret_success y && test x = "$1" ); then
293 else
294 exitcode=1
295 echo positional parameters were not saved.
298 test $exitcode = 0) || { (exit 1); exit 1; }
301 as_lineno_1=$LINENO
302 as_lineno_2=$LINENO
303 test "x$as_lineno_1" != "x$as_lineno_2" &&
304 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
306 _ASEOF
307 }; then
308 break
313 done
315 if test "x$CONFIG_SHELL" != x; then
316 for as_var in BASH_ENV ENV
317 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
318 done
319 export CONFIG_SHELL
320 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
324 if test $as_have_required = no; then
325 echo This script requires a shell more modern than all the
326 echo shells that I found on your system. Please install a
327 echo modern shell, or manually run the script under such a
328 echo shell if you do have one.
329 { (exit 1); exit 1; }
339 (eval "as_func_return () {
340 (exit \$1)
342 as_func_success () {
343 as_func_return 0
345 as_func_failure () {
346 as_func_return 1
348 as_func_ret_success () {
349 return 0
351 as_func_ret_failure () {
352 return 1
355 exitcode=0
356 if as_func_success; then
358 else
359 exitcode=1
360 echo as_func_success failed.
363 if as_func_failure; then
364 exitcode=1
365 echo as_func_failure succeeded.
368 if as_func_ret_success; then
370 else
371 exitcode=1
372 echo as_func_ret_success failed.
375 if as_func_ret_failure; then
376 exitcode=1
377 echo as_func_ret_failure succeeded.
380 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
382 else
383 exitcode=1
384 echo positional parameters were not saved.
387 test \$exitcode = 0") || {
388 echo No shell found that supports shell functions.
389 echo Please tell autoconf@gnu.org about your system,
390 echo including any error possibly output before this
391 echo message
396 as_lineno_1=$LINENO
397 as_lineno_2=$LINENO
398 test "x$as_lineno_1" != "x$as_lineno_2" &&
399 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
401 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
402 # uniformly replaced by the line number. The first 'sed' inserts a
403 # line-number line after each line using $LINENO; the second 'sed'
404 # does the real work. The second script uses 'N' to pair each
405 # line-number line with the line containing $LINENO, and appends
406 # trailing '-' during substitution so that $LINENO is not a special
407 # case at line end.
408 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
409 # scripts with optimization help from Paolo Bonzini. Blame Lee
410 # E. McMahon (1931-1989) for sed's syntax. :-)
411 sed -n '
413 /[$]LINENO/=
414 ' <$as_myself |
415 sed '
416 s,[$]LINENO.*,&-,
417 t lineno
419 :lineno
421 :loop
422 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
423 t loop
424 s,-\n.*,,
425 ' >$as_me.lineno &&
426 chmod +x $as_me.lineno ||
427 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
428 { (exit 1); exit 1; }; }
430 # Don't try to exec as it changes $[0], causing all sort of problems
431 # (the dirname of $[0] is not the place where we might find the
432 # original and so on. Autoconf is especially sensible to this).
433 . ./$as_me.lineno
434 # Exit status is that of the last command.
435 exit
439 ECHO_C= ECHO_N= ECHO_T=
440 case `echo -n x` in
441 -n*)
442 case `echo 'x\c'` in
443 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
444 *) ECHO_C='\c';;
445 esac;;
447 ECHO_N='-n';;
448 esac
450 if expr a : '\(a\)' >/dev/null 2>&1; then
451 as_expr=expr
452 else
453 as_expr=false
456 rm -f conf$$ conf$$.exe conf$$.file
457 echo >conf$$.file
458 if ln -s conf$$.file conf$$ 2>/dev/null; then
459 # We could just check for DJGPP; but this test a) works b) is more generic
460 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
461 if test -f conf$$.exe; then
462 # Don't use ln at all; we don't have any links
463 as_ln_s='cp -p'
464 else
465 as_ln_s='ln -s'
467 elif ln conf$$.file conf$$ 2>/dev/null; then
468 as_ln_s=ln
469 else
470 as_ln_s='cp -p'
472 rm -f conf$$ conf$$.exe conf$$.file
474 if mkdir -p . 2>/dev/null; then
475 as_mkdir_p=:
476 else
477 test -d ./-p && rmdir ./-p
478 as_mkdir_p=false
481 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
482 # systems may use methods other than mode bits to determine executability.
483 cat >conf$$.file <<_ASEOF
484 #! /bin/sh
485 exit 0
486 _ASEOF
487 chmod +x conf$$.file
488 if test -x conf$$.file >/dev/null 2>&1; then
489 as_executable_p="test -x"
490 else
491 as_executable_p=:
493 rm -f conf$$.file
495 # Sed expression to map a string onto a valid CPP name.
496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
498 # Sed expression to map a string onto a valid variable name.
499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
502 # IFS
503 # We need space, tab and new line, in precisely that order.
504 as_nl='
506 IFS=" $as_nl"
508 # CDPATH.
509 $as_unset CDPATH
512 exec 7<&0 </dev/null 6>&1
514 # Name of the host.
515 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
516 # so uname gets run too.
517 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
520 # Initializations.
522 ac_default_prefix=/usr/local
523 ac_config_libobj_dir=.
524 cross_compiling=no
525 subdirs=
526 MFLAGS=
527 MAKEFLAGS=
528 SHELL=${CONFIG_SHELL-/bin/sh}
530 # Identity of this package.
531 PACKAGE_NAME='GNU Autoconf'
532 PACKAGE_TARNAME='autoconf'
533 PACKAGE_VERSION='2.59c'
534 PACKAGE_STRING='GNU Autoconf 2.59c'
535 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
537 ac_unique_file="ChangeLog"
538 ac_subst_vars='SHELL
539 PATH_SEPARATOR
540 PACKAGE_NAME
541 PACKAGE_TARNAME
542 PACKAGE_VERSION
543 PACKAGE_STRING
544 PACKAGE_BUGREPORT
545 exec_prefix
546 prefix
547 program_transform_name
548 bindir
549 sbindir
550 libexecdir
551 datarootdir
552 datadir
553 sysconfdir
554 sharedstatedir
555 localstatedir
556 includedir
557 oldincludedir
558 docdir
559 infodir
560 htmldir
561 dvidir
562 pdfdir
563 psdir
564 libdir
565 localedir
566 mandir
567 build_alias
568 host_alias
569 target_alias
570 DEFS
571 ECHO_C
572 ECHO_N
573 ECHO_T
574 LIBS
575 INSTALL_PROGRAM
576 INSTALL_SCRIPT
577 INSTALL_DATA
578 CYGPATH_W
579 PACKAGE
580 VERSION
581 ACLOCAL
582 AUTOCONF
583 AUTOMAKE
584 AUTOHEADER
585 MAKEINFO
586 install_sh
587 STRIP
588 ac_ct_STRIP
589 INSTALL_STRIP_PROGRAM
590 mkdir_p
592 SET_MAKE
593 am__leading_dot
594 AMTAR
595 am__tar
596 am__untar
597 ac_cv_sh_n_works
598 EXPR
600 HELP2MAN
601 PERL
602 TEST_EMACS
603 EMACS
604 EMACSLOADPATH
605 lispdir
606 GREP
607 EGREP
609 LIBOBJS
610 LTLIBOBJS'
611 ac_subst_files=''
613 # Initialize some variables set by options.
614 ac_init_help=
615 ac_init_version=false
616 # The variables have the same names as the options, with
617 # dashes changed to underlines.
618 cache_file=/dev/null
619 exec_prefix=NONE
620 no_create=
621 no_recursion=
622 prefix=NONE
623 program_prefix=NONE
624 program_suffix=NONE
625 program_transform_name=s,x,x,
626 silent=
627 site=
628 srcdir=
629 verbose=
630 x_includes=NONE
631 x_libraries=NONE
633 # Installation directory options.
634 # These are left unexpanded so users can "make install exec_prefix=/foo"
635 # and all the variables that are supposed to be based on exec_prefix
636 # by default will actually change.
637 # Use braces instead of parens because sh, perl, etc. also accept them.
638 # (The list follows the same order as the GNU Coding Standards.)
639 bindir='${exec_prefix}/bin'
640 sbindir='${exec_prefix}/sbin'
641 libexecdir='${exec_prefix}/libexec'
642 datarootdir='${prefix}/share'
643 datadir='${datarootdir}'
644 sysconfdir='${prefix}/etc'
645 sharedstatedir='${prefix}/com'
646 localstatedir='${prefix}/var'
647 includedir='${prefix}/include'
648 oldincludedir='/usr/include'
649 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
650 infodir='${datarootdir}/info'
651 htmldir='${docdir}'
652 dvidir='${docdir}'
653 pdfdir='${docdir}'
654 psdir='${docdir}'
655 libdir='${exec_prefix}/lib'
656 localedir='${datarootdir}/locale'
657 mandir='${datarootdir}/man'
659 ac_prev=
660 ac_dashdash=
661 for ac_option
663 # If the previous option needs an argument, assign it.
664 if test -n "$ac_prev"; then
665 eval $ac_prev=\$ac_option
666 ac_prev=
667 continue
670 case $ac_option in
671 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
672 *) ac_optarg=yes ;;
673 esac
675 # Accept the important Cygnus configure options, so we can diagnose typos.
677 case $ac_dashdash$ac_option in
679 ac_dashdash=yes ;;
681 -bindir | --bindir | --bindi | --bind | --bin | --bi)
682 ac_prev=bindir ;;
683 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
684 bindir=$ac_optarg ;;
686 -build | --build | --buil | --bui | --bu)
687 ac_prev=build_alias ;;
688 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
689 build_alias=$ac_optarg ;;
691 -cache-file | --cache-file | --cache-fil | --cache-fi \
692 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
693 ac_prev=cache_file ;;
694 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
695 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
696 cache_file=$ac_optarg ;;
698 --config-cache | -C)
699 cache_file=config.cache ;;
701 -datadir | --datadir | --datadi | --datad)
702 ac_prev=datadir ;;
703 -datadir=* | --datadir=* | --datadi=* | --datad=*)
704 datadir=$ac_optarg ;;
706 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
707 | --dataroo | --dataro | --datar)
708 ac_prev=datarootdir ;;
709 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
710 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
711 datarootdir=$ac_optarg ;;
713 -disable-* | --disable-*)
714 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
715 # Reject names that are not valid shell variable names.
716 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
717 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
718 { (exit 1); exit 1; }; }
719 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
720 eval enable_$ac_feature=no ;;
722 -docdir | --docdir | --docdi | --doc | --do)
723 ac_prev=docdir ;;
724 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
725 docdir=$ac_optarg ;;
727 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
728 ac_prev=dvidir ;;
729 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
730 dvidir=$ac_optarg ;;
732 -enable-* | --enable-*)
733 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
734 # Reject names that are not valid shell variable names.
735 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
736 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
737 { (exit 1); exit 1; }; }
738 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
739 eval enable_$ac_feature=\$ac_optarg ;;
741 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
742 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
743 | --exec | --exe | --ex)
744 ac_prev=exec_prefix ;;
745 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
746 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
747 | --exec=* | --exe=* | --ex=*)
748 exec_prefix=$ac_optarg ;;
750 -gas | --gas | --ga | --g)
751 # Obsolete; use --with-gas.
752 with_gas=yes ;;
754 -help | --help | --hel | --he | -h)
755 ac_init_help=long ;;
756 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
757 ac_init_help=recursive ;;
758 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
759 ac_init_help=short ;;
761 -host | --host | --hos | --ho)
762 ac_prev=host_alias ;;
763 -host=* | --host=* | --hos=* | --ho=*)
764 host_alias=$ac_optarg ;;
766 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
767 ac_prev=htmldir ;;
768 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
769 | --ht=*)
770 htmldir=$ac_optarg ;;
772 -includedir | --includedir | --includedi | --included | --include \
773 | --includ | --inclu | --incl | --inc)
774 ac_prev=includedir ;;
775 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
776 | --includ=* | --inclu=* | --incl=* | --inc=*)
777 includedir=$ac_optarg ;;
779 -infodir | --infodir | --infodi | --infod | --info | --inf)
780 ac_prev=infodir ;;
781 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
782 infodir=$ac_optarg ;;
784 -libdir | --libdir | --libdi | --libd)
785 ac_prev=libdir ;;
786 -libdir=* | --libdir=* | --libdi=* | --libd=*)
787 libdir=$ac_optarg ;;
789 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
790 | --libexe | --libex | --libe)
791 ac_prev=libexecdir ;;
792 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
793 | --libexe=* | --libex=* | --libe=*)
794 libexecdir=$ac_optarg ;;
796 -localedir | --localedir | --localedi | --localed | --locale)
797 ac_prev=localedir ;;
798 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
799 localedir=$ac_optarg ;;
801 -localstatedir | --localstatedir | --localstatedi | --localstated \
802 | --localstate | --localstat | --localsta | --localst | --locals)
803 ac_prev=localstatedir ;;
804 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
805 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
806 localstatedir=$ac_optarg ;;
808 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
809 ac_prev=mandir ;;
810 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
811 mandir=$ac_optarg ;;
813 -nfp | --nfp | --nf)
814 # Obsolete; use --without-fp.
815 with_fp=no ;;
817 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
818 | --no-cr | --no-c | -n)
819 no_create=yes ;;
821 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
822 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
823 no_recursion=yes ;;
825 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
826 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
827 | --oldin | --oldi | --old | --ol | --o)
828 ac_prev=oldincludedir ;;
829 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
830 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
831 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
832 oldincludedir=$ac_optarg ;;
834 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
835 ac_prev=prefix ;;
836 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
837 prefix=$ac_optarg ;;
839 -program-prefix | --program-prefix | --program-prefi | --program-pref \
840 | --program-pre | --program-pr | --program-p)
841 ac_prev=program_prefix ;;
842 -program-prefix=* | --program-prefix=* | --program-prefi=* \
843 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
844 program_prefix=$ac_optarg ;;
846 -program-suffix | --program-suffix | --program-suffi | --program-suff \
847 | --program-suf | --program-su | --program-s)
848 ac_prev=program_suffix ;;
849 -program-suffix=* | --program-suffix=* | --program-suffi=* \
850 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
851 program_suffix=$ac_optarg ;;
853 -program-transform-name | --program-transform-name \
854 | --program-transform-nam | --program-transform-na \
855 | --program-transform-n | --program-transform- \
856 | --program-transform | --program-transfor \
857 | --program-transfo | --program-transf \
858 | --program-trans | --program-tran \
859 | --progr-tra | --program-tr | --program-t)
860 ac_prev=program_transform_name ;;
861 -program-transform-name=* | --program-transform-name=* \
862 | --program-transform-nam=* | --program-transform-na=* \
863 | --program-transform-n=* | --program-transform-=* \
864 | --program-transform=* | --program-transfor=* \
865 | --program-transfo=* | --program-transf=* \
866 | --program-trans=* | --program-tran=* \
867 | --progr-tra=* | --program-tr=* | --program-t=*)
868 program_transform_name=$ac_optarg ;;
870 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
871 ac_prev=pdfdir ;;
872 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
873 pdfdir=$ac_optarg ;;
875 -psdir | --psdir | --psdi | --psd | --ps)
876 ac_prev=psdir ;;
877 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
878 psdir=$ac_optarg ;;
880 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
881 | -silent | --silent | --silen | --sile | --sil)
882 silent=yes ;;
884 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
885 ac_prev=sbindir ;;
886 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
887 | --sbi=* | --sb=*)
888 sbindir=$ac_optarg ;;
890 -sharedstatedir | --sharedstatedir | --sharedstatedi \
891 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
892 | --sharedst | --shareds | --shared | --share | --shar \
893 | --sha | --sh)
894 ac_prev=sharedstatedir ;;
895 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
896 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
897 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
898 | --sha=* | --sh=*)
899 sharedstatedir=$ac_optarg ;;
901 -site | --site | --sit)
902 ac_prev=site ;;
903 -site=* | --site=* | --sit=*)
904 site=$ac_optarg ;;
906 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
907 ac_prev=srcdir ;;
908 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
909 srcdir=$ac_optarg ;;
911 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
912 | --syscon | --sysco | --sysc | --sys | --sy)
913 ac_prev=sysconfdir ;;
914 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
915 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
916 sysconfdir=$ac_optarg ;;
918 -target | --target | --targe | --targ | --tar | --ta | --t)
919 ac_prev=target_alias ;;
920 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
921 target_alias=$ac_optarg ;;
923 -v | -verbose | --verbose | --verbos | --verbo | --verb)
924 verbose=yes ;;
926 -version | --version | --versio | --versi | --vers | -V)
927 ac_init_version=: ;;
929 -with-* | --with-*)
930 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
933 { echo "$as_me: error: invalid package name: $ac_package" >&2
934 { (exit 1); exit 1; }; }
935 ac_package=`echo $ac_package| sed 's/-/_/g'`
936 eval with_$ac_package=\$ac_optarg ;;
938 -without-* | --without-*)
939 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
940 # Reject names that are not valid shell variable names.
941 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
942 { echo "$as_me: error: invalid package name: $ac_package" >&2
943 { (exit 1); exit 1; }; }
944 ac_package=`echo $ac_package | sed 's/-/_/g'`
945 eval with_$ac_package=no ;;
947 --x)
948 # Obsolete; use --with-x.
949 with_x=yes ;;
951 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
952 | --x-incl | --x-inc | --x-in | --x-i)
953 ac_prev=x_includes ;;
954 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
955 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
956 x_includes=$ac_optarg ;;
958 -x-libraries | --x-libraries | --x-librarie | --x-librari \
959 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
960 ac_prev=x_libraries ;;
961 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
962 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
963 x_libraries=$ac_optarg ;;
965 -*) { echo "$as_me: error: unrecognized option: $ac_option
966 Try \`$0 --help' for more information." >&2
967 { (exit 1); exit 1; }; }
970 *=*)
971 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
974 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
975 { (exit 1); exit 1; }; }
976 eval $ac_envvar=\$ac_optarg
977 export $ac_envvar ;;
980 # FIXME: should be removed in autoconf 3.0.
981 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
982 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
983 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
984 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
987 esac
988 done
990 if test -n "$ac_prev"; then
991 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
992 { echo "$as_me: error: missing argument to $ac_option" >&2
993 { (exit 1); exit 1; }; }
996 # Be sure to have absolute directory names.
997 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
998 datadir sysconfdir sharedstatedir localstatedir includedir \
999 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1000 libdir localedir mandir
1002 eval ac_val=\$$ac_var
1003 case $ac_val in
1004 [\\/$]* | ?:[\\/]* ) continue;;
1005 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1006 esac
1007 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1008 { (exit 1); exit 1; }; }
1009 done
1011 # There might be people who depend on the old broken behavior: `$host'
1012 # used to hold the argument of --host etc.
1013 # FIXME: To remove some day.
1014 build=$build_alias
1015 host=$host_alias
1016 target=$target_alias
1018 # FIXME: To remove some day.
1019 if test "x$host_alias" != x; then
1020 if test "x$build_alias" = x; then
1021 cross_compiling=maybe
1022 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1023 If a cross compiler is detected then cross compile mode will be used." >&2
1024 elif test "x$build_alias" != "x$host_alias"; then
1025 cross_compiling=yes
1029 ac_tool_prefix=
1030 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1032 test "$silent" = yes && exec 6>/dev/null
1035 # Find the source files, if location was not specified.
1036 if test -z "$srcdir"; then
1037 ac_srcdir_defaulted=yes
1038 # Try the directory containing this script, then the parent directory.
1039 ac_confdir=`(dirname "$0") 2>/dev/null ||
1040 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1041 X"$0" : 'X\(//\)[^/]' \| \
1042 X"$0" : 'X\(//\)$' \| \
1043 X"$0" : 'X\(/\)' \| \
1044 . : '\(.\)' 2>/dev/null ||
1045 echo X"$0" |
1046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1047 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1048 /^X\(\/\/\)$/{ s//\1/; q; }
1049 /^X\(\/\).*/{ s//\1/; q; }
1050 s/.*/./; q'`
1051 srcdir=$ac_confdir
1052 if test ! -r "$srcdir/$ac_unique_file"; then
1053 srcdir=..
1055 else
1056 ac_srcdir_defaulted=no
1058 if test ! -r "$srcdir/$ac_unique_file"; then
1059 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1060 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1061 { (exit 1); exit 1; }; }
1063 (cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
1064 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1065 { (exit 1); exit 1; }; }
1066 srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
1068 ac_pwd=`pwd` && test -n "$ac_pwd" ||
1069 { echo "$as_me: error: Working directory cannot be determined" >&2
1070 { (exit 1); exit 1; }; }
1072 ac_pat="[\$][{][_$as_cr_Letters][_$as_cr_alnum]*[}]"
1073 ac_pat1='*)*'
1075 for ac_var in ac_pwd srcdir
1077 # Remove references to shell or make variables.
1078 eval ac_dir=\$$ac_var
1079 ac_dirx=$ac_dir
1080 while :
1082 case $ac_dirx in
1083 *\${*}*)
1084 ac_dirx=`
1085 expr "X$ac_dirx" : "X\\(.*\\)$ac_pat"`X`
1086 expr "X$ac_dirx" : "X.*$ac_pat\\(.*\\)"`;;
1087 *) break;;
1088 esac
1089 done
1091 # Check for newline, tab, space, and other weird possibilities.
1092 # Preserve that tab character below!
1093 case $ac_dirx in
1094 '' | -* | */-* | *'
1095 '* | *' '* | *' '* | *\"* | *\#* | *\ | *\&* | *\'* | *\(* | $ac_pat1 | \
1096 *\** | *\;* | *\<* | *\=* | *\>* | *\?* | *\[* | *\\* | *\`* | \
1097 *\|* | \~*)
1098 { echo "$as_me: error: $ac_var directory name \`$ac_dir' has special characters" >&2
1099 { (exit 1); exit 1; }; };;
1100 esac
1101 done
1102 ac_env_build_alias_set=${build_alias+set}
1103 ac_env_build_alias_value=$build_alias
1104 ac_cv_env_build_alias_set=${build_alias+set}
1105 ac_cv_env_build_alias_value=$build_alias
1106 ac_env_host_alias_set=${host_alias+set}
1107 ac_env_host_alias_value=$host_alias
1108 ac_cv_env_host_alias_set=${host_alias+set}
1109 ac_cv_env_host_alias_value=$host_alias
1110 ac_env_target_alias_set=${target_alias+set}
1111 ac_env_target_alias_value=$target_alias
1112 ac_cv_env_target_alias_set=${target_alias+set}
1113 ac_cv_env_target_alias_value=$target_alias
1114 ac_env_EMACS_set=${EMACS+set}
1115 ac_env_EMACS_value=$EMACS
1116 ac_cv_env_EMACS_set=${EMACS+set}
1117 ac_cv_env_EMACS_value=$EMACS
1118 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
1119 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
1120 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
1121 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
1124 # Report the --help message.
1126 if test "$ac_init_help" = "long"; then
1127 # Omit some internal or obsolete options to make the list less imposing.
1128 # This message is too long to be a string in the A/UX 3.1 sh.
1129 cat <<_ACEOF
1130 \`configure' configures GNU Autoconf 2.59c to adapt to many kinds of systems.
1132 Usage: $0 [OPTION]... [VAR=VALUE]...
1134 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1135 VAR=VALUE. See below for descriptions of some of the useful variables.
1137 Defaults for the options are specified in brackets.
1139 Configuration:
1140 -h, --help display this help and exit
1141 --help=short display options specific to this package
1142 --help=recursive display the short help of all the included packages
1143 -V, --version display version information and exit
1144 -q, --quiet, --silent do not print \`checking...' messages
1145 --cache-file=FILE cache test results in FILE [disabled]
1146 -C, --config-cache alias for \`--cache-file=config.cache'
1147 -n, --no-create do not create output files
1148 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1150 Installation directories:
1151 --prefix=PREFIX install architecture-independent files in PREFIX
1152 [$ac_default_prefix]
1153 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1154 [PREFIX]
1156 By default, \`make install' will install all the files in
1157 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1158 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1159 for instance \`--prefix=\$HOME'.
1161 For better control, use the options below.
1163 Fine tuning of the installation directories:
1164 --bindir=DIR user executables [EPREFIX/bin]
1165 --sbindir=DIR system admin executables [EPREFIX/sbin]
1166 --libexecdir=DIR program executables [EPREFIX/libexec]
1167 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1168 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1169 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1170 --libdir=DIR object code libraries [EPREFIX/lib]
1171 --includedir=DIR C header files [PREFIX/include]
1172 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1173 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1174 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1175 --infodir=DIR info documentation [DATAROOTDIR/info]
1176 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1177 --mandir=DIR man documentation [DATAROOTDIR/man]
1178 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1179 --htmldir=DIR html documentation [DOCDIR]
1180 --dvidir=DIR dvi documentation [DOCDIR]
1181 --pdfdir=DIR pdf documentation [DOCDIR]
1182 --psdir=DIR ps documentation [DOCDIR]
1183 _ACEOF
1185 cat <<\_ACEOF
1187 Program names:
1188 --program-prefix=PREFIX prepend PREFIX to installed program names
1189 --program-suffix=SUFFIX append SUFFIX to installed program names
1190 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1191 _ACEOF
1194 if test -n "$ac_init_help"; then
1195 case $ac_init_help in
1196 short | recursive ) echo "Configuration of GNU Autoconf 2.59c:";;
1197 esac
1198 cat <<\_ACEOF
1200 Optional Packages:
1201 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1202 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1203 --with-lispdir override the default lisp directory
1205 Some influential environment variables:
1206 EMACS the Emacs editor command
1207 EMACSLOADPATH
1208 the Emacs library search path
1210 Use these variables to override the choices made by `configure' or to help
1211 it to find libraries and programs with nonstandard names/locations.
1213 Report bugs to <bug-autoconf@gnu.org>.
1214 _ACEOF
1215 ac_status=$?
1218 if test "$ac_init_help" = "recursive"; then
1219 # If there are subdirs, report their specific --help.
1220 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1221 test -d $ac_dir || continue
1222 ac_builddir=.
1224 case "$ac_dir" in
1225 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1227 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1228 # A ".." for each directory in $ac_dir_suffix.
1229 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1230 case $ac_top_builddir_sub in
1231 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1232 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1233 esac ;;
1234 esac
1235 ac_abs_top_builddir=$ac_pwd
1236 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1237 # for backward compatibility:
1238 ac_top_builddir=$ac_top_build_prefix
1240 case $srcdir in
1241 .) # No --srcdir option. We are building in place.
1242 ac_srcdir=.
1243 ac_top_srcdir=$ac_top_builddir_sub
1244 ac_abs_top_srcdir=$ac_pwd ;;
1245 [\\/]* | ?:[\\/]* ) # Absolute name.
1246 ac_srcdir=$srcdir$ac_dir_suffix;
1247 ac_top_srcdir=$srcdir
1248 ac_abs_top_srcdir=$srcdir ;;
1249 *) # Relative name.
1250 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1251 ac_top_srcdir=$ac_top_build_prefix$srcdir
1252 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1253 esac
1254 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1256 cd $ac_dir || { ac_status=$?; continue; }
1257 # Check for guested configure; otherwise get Cygnus style configure.
1258 if test -f $ac_srcdir/configure.gnu; then
1259 echo &&
1260 $SHELL $ac_srcdir/configure.gnu --help=recursive
1261 elif test -f $ac_srcdir/configure; then
1262 echo &&
1263 $SHELL $ac_srcdir/configure --help=recursive
1264 elif test -f $ac_srcdir/configure.ac ||
1265 test -f $ac_srcdir/configure.in; then
1266 echo &&
1267 $ac_configure --help
1268 else
1269 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1270 fi || ac_status=$?
1271 cd "$ac_pwd" || { ac_status=$?; break; }
1272 done
1275 test -n "$ac_init_help" && exit $ac_status
1276 if $ac_init_version; then
1277 cat <<\_ACEOF
1278 GNU Autoconf configure 2.59c
1279 generated by GNU Autoconf 2.59c
1281 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1282 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
1283 This configure script is free software; the Free Software Foundation
1284 gives unlimited permission to copy, distribute and modify it.
1285 _ACEOF
1286 exit
1288 exec 5>config.log
1289 cat >&5 <<_ACEOF
1290 This file contains any messages produced by compilers while
1291 running configure, to aid debugging if configure makes a mistake.
1293 It was created by GNU Autoconf $as_me 2.59c, which was
1294 generated by GNU Autoconf 2.59c. Invocation command line was
1296 $ $0 $@
1298 _ACEOF
1300 cat <<_ASUNAME
1301 ## --------- ##
1302 ## Platform. ##
1303 ## --------- ##
1305 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1306 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1307 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1308 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1309 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1311 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1312 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1314 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1315 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1316 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1317 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1318 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1319 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1320 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1322 _ASUNAME
1324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1325 for as_dir in $PATH
1327 IFS=$as_save_IFS
1328 test -z "$as_dir" && as_dir=.
1329 echo "PATH: $as_dir"
1330 done
1332 } >&5
1334 cat >&5 <<_ACEOF
1337 ## ----------- ##
1338 ## Core tests. ##
1339 ## ----------- ##
1341 _ACEOF
1344 # Keep a trace of the command line.
1345 # Strip out --no-create and --no-recursion so they do not pile up.
1346 # Strip out --silent because we don't want to record it for future runs.
1347 # Also quote any args containing shell meta-characters.
1348 # Make two passes to allow for proper duplicate-argument suppression.
1349 ac_configure_args=
1350 ac_configure_args0=
1351 ac_configure_args1=
1352 ac_sep=
1353 ac_must_keep_next=false
1354 for ac_pass in 1 2
1356 for ac_arg
1358 case $ac_arg in
1359 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1361 | -silent | --silent | --silen | --sile | --sil)
1362 continue ;;
1363 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1364 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1365 esac
1366 case $ac_pass in
1367 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1369 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1370 if test $ac_must_keep_next = true; then
1371 ac_must_keep_next=false # Got value, back to normal.
1372 else
1373 case $ac_arg in
1374 *=* | --config-cache | -C | -disable-* | --disable-* \
1375 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1376 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1377 | -with-* | --with-* | -without-* | --without-* | --x)
1378 case "$ac_configure_args0 " in
1379 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1380 esac
1382 -* ) ac_must_keep_next=true ;;
1383 esac
1385 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1386 # Get rid of the leading space.
1387 ac_sep=" "
1389 esac
1390 done
1391 done
1392 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1393 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1395 # When interrupted or exit'd, cleanup temporary files, and complete
1396 # config.log. We remove comments because anyway the quotes in there
1397 # would cause problems or look ugly.
1398 # WARNING: Be sure not to use single quotes in there, as some shells,
1399 # such as our DU 5.0 friend, will then `close' the trap.
1400 trap 'exit_status=$?
1401 # Save into config.log some information that might help in debugging.
1403 echo
1405 cat <<\_ASBOX
1406 ## ---------------- ##
1407 ## Cache variables. ##
1408 ## ---------------- ##
1409 _ASBOX
1410 echo
1411 # The following way of writing the cache mishandles newlines in values,
1413 (set) 2>&1 |
1414 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1415 *ac_space=\ *)
1416 sed -n \
1417 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1418 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1421 sed -n \
1422 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1424 esac;
1426 echo
1428 cat <<\_ASBOX
1429 ## ----------------- ##
1430 ## Output variables. ##
1431 ## ----------------- ##
1432 _ASBOX
1433 echo
1434 for ac_var in $ac_subst_vars
1436 eval ac_val=\$$ac_var
1437 echo "$ac_var='"'"'$ac_val'"'"'"
1438 done | sort
1439 echo
1441 if test -n "$ac_subst_files"; then
1442 cat <<\_ASBOX
1443 ## ------------- ##
1444 ## Output files. ##
1445 ## ------------- ##
1446 _ASBOX
1447 echo
1448 for ac_var in $ac_subst_files
1450 eval ac_val=\$$ac_var
1451 echo "$ac_var='"'"'$ac_val'"'"'"
1452 done | sort
1453 echo
1456 if test -s confdefs.h; then
1457 cat <<\_ASBOX
1458 ## ----------- ##
1459 ## confdefs.h. ##
1460 ## ----------- ##
1461 _ASBOX
1462 echo
1463 sed "/^$/d" confdefs.h | sort
1464 echo
1466 test "$ac_signal" != 0 &&
1467 echo "$as_me: caught signal $ac_signal"
1468 echo "$as_me: exit $exit_status"
1469 } >&5
1470 rm -f core *.core core.conftest.* &&
1471 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1472 exit $exit_status
1474 for ac_signal in 1 2 13 15; do
1475 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1476 done
1477 ac_signal=0
1479 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1480 rm -f -r conftest* confdefs.h
1482 # Predefined preprocessor variables.
1484 cat >>confdefs.h <<_ACEOF
1485 #define PACKAGE_NAME "$PACKAGE_NAME"
1486 _ACEOF
1489 cat >>confdefs.h <<_ACEOF
1490 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1491 _ACEOF
1494 cat >>confdefs.h <<_ACEOF
1495 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1496 _ACEOF
1499 cat >>confdefs.h <<_ACEOF
1500 #define PACKAGE_STRING "$PACKAGE_STRING"
1501 _ACEOF
1504 cat >>confdefs.h <<_ACEOF
1505 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1506 _ACEOF
1509 # Let the site file select an alternate cache file if it wants to.
1510 # Prefer explicitly selected file to automatically selected ones.
1511 if test -z "$CONFIG_SITE"; then
1512 if test "x$prefix" != xNONE; then
1513 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1514 else
1515 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1518 for ac_site_file in $CONFIG_SITE; do
1519 if test -r "$ac_site_file"; then
1520 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1521 echo "$as_me: loading site script $ac_site_file" >&6;}
1522 sed 's/^/| /' "$ac_site_file" >&5
1523 . "$ac_site_file"
1525 done
1527 if test -r "$cache_file"; then
1528 # Some versions of bash will fail to source /dev/null (special
1529 # files actually), so we avoid doing that.
1530 if test -f "$cache_file"; then
1531 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1532 echo "$as_me: loading cache $cache_file" >&6;}
1533 case $cache_file in
1534 [\\/]* | ?:[\\/]* ) . $cache_file;;
1535 *) . ./$cache_file;;
1536 esac
1538 else
1539 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1540 echo "$as_me: creating cache $cache_file" >&6;}
1541 >$cache_file
1544 # Check that the precious variables saved in the cache have kept the same
1545 # value.
1546 ac_cache_corrupted=false
1547 for ac_var in `(set) 2>&1 |
1548 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1549 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1550 eval ac_new_set=\$ac_env_${ac_var}_set
1551 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1552 eval ac_new_val=\$ac_env_${ac_var}_value
1553 case $ac_old_set,$ac_new_set in
1554 set,)
1555 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1556 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1557 ac_cache_corrupted=: ;;
1558 ,set)
1559 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1560 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1561 ac_cache_corrupted=: ;;
1562 ,);;
1564 if test "x$ac_old_val" != "x$ac_new_val"; then
1565 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1566 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1567 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1568 echo "$as_me: former value: $ac_old_val" >&2;}
1569 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1570 echo "$as_me: current value: $ac_new_val" >&2;}
1571 ac_cache_corrupted=:
1572 fi;;
1573 esac
1574 # Pass precious variables to config.status.
1575 if test "$ac_new_set" = set; then
1576 case $ac_new_val in
1577 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1578 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1579 *) ac_arg=$ac_var=$ac_new_val ;;
1580 esac
1581 case " $ac_configure_args " in
1582 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1583 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1584 esac
1586 done
1587 if $ac_cache_corrupted; then
1588 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1589 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1590 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1591 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1592 { (exit 1); exit 1; }; }
1595 ac_ext=c
1596 ac_cpp='$CPP $CPPFLAGS'
1597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1630 ac_aux_dir=
1631 for ac_dir in config $srcdir/config; do
1632 if test -f $ac_dir/install-sh; then
1633 ac_aux_dir=$ac_dir
1634 ac_install_sh="$ac_aux_dir/install-sh -c"
1635 break
1636 elif test -f $ac_dir/install.sh; then
1637 ac_aux_dir=$ac_dir
1638 ac_install_sh="$ac_aux_dir/install.sh -c"
1639 break
1640 elif test -f $ac_dir/shtool; then
1641 ac_aux_dir=$ac_dir
1642 ac_install_sh="$ac_aux_dir/shtool install -c"
1643 break
1645 done
1646 if test -z "$ac_aux_dir"; then
1647 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1648 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1649 { (exit 1); exit 1; }; }
1651 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1652 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1653 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1655 ac_config_files="$ac_config_files config/Makefile"
1658 am__api_version="1.9"
1659 # Find a good install program. We prefer a C program (faster),
1660 # so one script is as good as another. But avoid the broken or
1661 # incompatible versions:
1662 # SysV /etc/install, /usr/sbin/install
1663 # SunOS /usr/etc/install
1664 # IRIX /sbin/install
1665 # AIX /bin/install
1666 # AmigaOS /C/install, which installs bootblocks on floppy discs
1667 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1668 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1669 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1670 # OS/2's system install, which has a completely different semantic
1671 # ./install, which can be erroneously created by make from ./install.sh.
1672 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1673 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1674 if test -z "$INSTALL"; then
1675 if test "${ac_cv_path_install+set}" = set; then
1676 echo $ECHO_N "(cached) $ECHO_C" >&6
1677 else
1678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1679 for as_dir in $PATH
1681 IFS=$as_save_IFS
1682 test -z "$as_dir" && as_dir=.
1683 # Account for people who put trailing slashes in PATH elements.
1684 case $as_dir/ in
1685 ./ | .// | /cC/* | \
1686 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1687 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1688 /usr/ucb/* ) ;;
1690 # OSF1 and SCO ODT 3.0 have their own names for install.
1691 # Don't use installbsd from OSF since it installs stuff as root
1692 # by default.
1693 for ac_prog in ginstall scoinst install; do
1694 for ac_exec_ext in '' $ac_executable_extensions; do
1695 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1696 if test $ac_prog = install &&
1697 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1698 # AIX install. It has an incompatible calling convention.
1700 elif test $ac_prog = install &&
1701 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1702 # program-specific install script used by HP pwplus--don't use.
1704 else
1705 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1706 break 3
1709 done
1710 done
1712 esac
1713 done
1717 if test "${ac_cv_path_install+set}" = set; then
1718 INSTALL=$ac_cv_path_install
1719 else
1720 # As a last resort, use the slow shell script. Don't cache a
1721 # value for INSTALL within a source directory, because that will
1722 # break other packages using the cache if that directory is
1723 # removed, or if the value is a relative name.
1724 INSTALL=$ac_install_sh
1727 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1728 echo "${ECHO_T}$INSTALL" >&6; }
1730 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1731 # It thinks the first close brace ends the variable substitution.
1732 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1734 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1736 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1738 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1739 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1740 # Just in case
1741 sleep 1
1742 echo timestamp > conftest.file
1743 # Do `set' in a subshell so we don't clobber the current shell's
1744 # arguments. Must try -L first in case configure is actually a
1745 # symlink; some systems play weird games with the mod time of symlinks
1746 # (eg FreeBSD returns the mod time of the symlink's containing
1747 # directory).
1748 if (
1749 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1750 if test "$*" = "X"; then
1751 # -L didn't work.
1752 set X `ls -t $srcdir/configure conftest.file`
1754 rm -f conftest.file
1755 if test "$*" != "X $srcdir/configure conftest.file" \
1756 && test "$*" != "X conftest.file $srcdir/configure"; then
1758 # If neither matched, then we have a broken ls. This can happen
1759 # if, for instance, CONFIG_SHELL is bash and it inherits a
1760 # broken ls alias from the environment. This has actually
1761 # happened. Such a system could not be considered "sane".
1762 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1763 alias in your environment" >&5
1764 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1765 alias in your environment" >&2;}
1766 { (exit 1); exit 1; }; }
1769 test "$2" = conftest.file
1771 then
1772 # Ok.
1774 else
1775 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1776 Check your system clock" >&5
1777 echo "$as_me: error: newly created file is older than distributed files!
1778 Check your system clock" >&2;}
1779 { (exit 1); exit 1; }; }
1781 { echo "$as_me:$LINENO: result: yes" >&5
1782 echo "${ECHO_T}yes" >&6; }
1783 test "$program_prefix" != NONE &&
1784 program_transform_name="s|^|$program_prefix|;$program_transform_name"
1785 # Use a double $ so make ignores it.
1786 test "$program_suffix" != NONE &&
1787 program_transform_name="s|\$|$program_suffix|;$program_transform_name"
1788 # Double any \ or $. echo might interpret backslashes.
1789 # By default was `s,x,x', remove it if useless.
1790 cat <<\_ACEOF >conftest.sed
1791 s/[\\$]/&&/g;s/;s,x,x,$//
1792 _ACEOF
1793 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1794 rm -f conftest.sed
1796 # expand $ac_aux_dir to an absolute path
1797 am_aux_dir=`cd $ac_aux_dir && pwd`
1799 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1800 # Use eval to expand $SHELL
1801 if eval "$MISSING --run true"; then
1802 am_missing_run="$MISSING --run "
1803 else
1804 am_missing_run=
1805 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1806 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1809 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1810 # We used to keeping the `.' as first argument, in order to
1811 # allow $(mkdir_p) to be used without argument. As in
1812 # $(mkdir_p) $(somedir)
1813 # where $(somedir) is conditionally defined. However this is wrong
1814 # for two reasons:
1815 # 1. if the package is installed by a user who cannot write `.'
1816 # make install will fail,
1817 # 2. the above comment should most certainly read
1818 # $(mkdir_p) $(DESTDIR)$(somedir)
1819 # so it does not work when $(somedir) is undefined and
1820 # $(DESTDIR) is not.
1821 # To support the latter case, we have to write
1822 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1823 # so the `.' trick is pointless.
1824 mkdir_p='mkdir -p --'
1825 else
1826 # On NextStep and OpenStep, the `mkdir' command does not
1827 # recognize any option. It will interpret all options as
1828 # directories to create, and then abort because `.' already
1829 # exists.
1830 for d in ./-p ./--version;
1832 test -d $d && rmdir $d
1833 done
1834 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1835 if test -f "$ac_aux_dir/mkinstalldirs"; then
1836 mkdir_p='$(mkinstalldirs)'
1837 else
1838 mkdir_p='$(install_sh) -d'
1842 for ac_prog in gawk mawk nawk awk
1844 # Extract the first word of "$ac_prog", so it can be a program name with args.
1845 set dummy $ac_prog; ac_word=$2
1846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1848 if test "${ac_cv_prog_AWK+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 else
1851 if test -n "$AWK"; then
1852 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1853 else
1854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1855 for as_dir in $PATH
1857 IFS=$as_save_IFS
1858 test -z "$as_dir" && as_dir=.
1859 for ac_exec_ext in '' $ac_executable_extensions; do
1860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1861 ac_cv_prog_AWK="$ac_prog"
1862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 break 2
1865 done
1866 done
1870 AWK=$ac_cv_prog_AWK
1871 if test -n "$AWK"; then
1872 { echo "$as_me:$LINENO: result: $AWK" >&5
1873 echo "${ECHO_T}$AWK" >&6; }
1874 else
1875 { echo "$as_me:$LINENO: result: no" >&5
1876 echo "${ECHO_T}no" >&6; }
1879 test -n "$AWK" && break
1880 done
1882 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1883 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1884 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1885 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888 cat >conftest.make <<\_ACEOF
1889 SHELL = /bin/sh
1890 all:
1891 @echo 'ac_maketemp=X"$(MAKE)"'
1892 _ACEOF
1893 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1894 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1895 if test "$ac_maketemp" != X ; then
1896 eval ac_cv_prog_make_${ac_make}_set=yes
1897 else
1898 eval ac_cv_prog_make_${ac_make}_set=no
1900 rm -f conftest.make
1902 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1903 { echo "$as_me:$LINENO: result: yes" >&5
1904 echo "${ECHO_T}yes" >&6; }
1905 SET_MAKE=
1906 else
1907 { echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6; }
1909 SET_MAKE="MAKE=${MAKE-make}"
1912 rm -rf .tst 2>/dev/null
1913 mkdir .tst 2>/dev/null
1914 if test -d .tst; then
1915 am__leading_dot=.
1916 else
1917 am__leading_dot=_
1919 rmdir .tst 2>/dev/null
1921 # test to see if srcdir already configured
1922 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1923 test -f $srcdir/config.status; then
1924 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1925 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1926 { (exit 1); exit 1; }; }
1929 # test whether we have cygpath
1930 if test -z "$CYGPATH_W"; then
1931 if (cygpath --version) >/dev/null 2>/dev/null; then
1932 CYGPATH_W='cygpath -w'
1933 else
1934 CYGPATH_W=echo
1939 # Define the identity of the package.
1940 PACKAGE='autoconf'
1941 VERSION='2.59c'
1944 cat >>confdefs.h <<_ACEOF
1945 #define PACKAGE "$PACKAGE"
1946 _ACEOF
1949 cat >>confdefs.h <<_ACEOF
1950 #define VERSION "$VERSION"
1951 _ACEOF
1953 # Some tools Automake needs.
1955 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1958 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1961 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1964 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1967 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1969 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1971 # Installed binaries are usually stripped using `strip' when the user
1972 # run `make install-strip'. However `strip' might not be the right
1973 # tool to use in cross-compilation environments, therefore Automake
1974 # will honor the `STRIP' environment variable to overrule this program.
1975 if test "$cross_compiling" != no; then
1976 if test -n "$ac_tool_prefix"; then
1977 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1978 set dummy ${ac_tool_prefix}strip; ac_word=$2
1979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1981 if test "${ac_cv_prog_STRIP+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 else
1984 if test -n "$STRIP"; then
1985 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1986 else
1987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988 for as_dir in $PATH
1990 IFS=$as_save_IFS
1991 test -z "$as_dir" && as_dir=.
1992 for ac_exec_ext in '' $ac_executable_extensions; do
1993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1994 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 break 2
1998 done
1999 done
2003 STRIP=$ac_cv_prog_STRIP
2004 if test -n "$STRIP"; then
2005 { echo "$as_me:$LINENO: result: $STRIP" >&5
2006 echo "${ECHO_T}$STRIP" >&6; }
2007 else
2008 { echo "$as_me:$LINENO: result: no" >&5
2009 echo "${ECHO_T}no" >&6; }
2013 if test -z "$ac_cv_prog_STRIP"; then
2014 ac_ct_STRIP=$STRIP
2015 # Extract the first word of "strip", so it can be a program name with args.
2016 set dummy strip; ac_word=$2
2017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2019 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 else
2022 if test -n "$ac_ct_STRIP"; then
2023 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2024 else
2025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026 for as_dir in $PATH
2028 IFS=$as_save_IFS
2029 test -z "$as_dir" && as_dir=.
2030 for ac_exec_ext in '' $ac_executable_extensions; do
2031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2032 ac_cv_prog_ac_ct_STRIP="strip"
2033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034 break 2
2036 done
2037 done
2041 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2042 if test -n "$ac_ct_STRIP"; then
2043 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2044 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2045 else
2046 { echo "$as_me:$LINENO: result: no" >&5
2047 echo "${ECHO_T}no" >&6; }
2050 if test "x$ac_ct_STRIP" = x; then
2051 STRIP=":"
2052 else
2053 if test "$build" != "$host"; then
2054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2055 whose name does not start with the host triplet. If you think this
2056 configuration is useful to you, please write to autoconf@gnu.org." >&5
2057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2058 whose name does not start with the host triplet. If you think this
2059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2061 STRIP=$ac_ct_STRIP
2063 else
2064 STRIP="$ac_cv_prog_STRIP"
2068 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2070 # We need awk for the "check" target. The system "awk" is bad on
2071 # some platforms.
2072 # Always define AMTAR for backward compatibility.
2074 AMTAR=${AMTAR-"${am_missing_run}tar"}
2076 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2083 # We use `/bin/sh -n script' to check that there are no syntax errors
2084 # in the scripts. Although incredible, there are /bin/sh that go into
2085 # endless loops with `-n', e.g., SunOS's:
2087 # $ uname -a
2088 # SunOS ondine 4.1.3 2 sun4m unknown
2089 # $ cat endless.sh
2090 # while false
2091 # do
2093 # done
2094 # exit 0
2095 # $ time sh endless.sh
2096 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2097 # $ time sh -nx endless.sh
2098 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2100 # So before using `/bin/sh -n' to check our scripts, we first check
2101 # that `/bin/sh -n' is not broken to death.
2103 # A script that never returns. We don't care that it never returns,
2104 # broken /bin/sh loop equally with `false', but it makes it easier to
2105 # test the robustness in a good environment: just remove the `-n'.
2106 { echo "$as_me:$LINENO: checking whether sh -n works" >&5
2107 echo $ECHO_N "checking whether sh -n works... $ECHO_C" >&6; }
2108 if test "${ac_cv_sh_n_works+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2110 else
2111 cat > conftest.sh <<_CONFEOF_
2112 while :
2115 done
2116 _CONFEOF_
2118 (/bin/sh -n conftest.sh) &
2119 sleep 2
2120 if kill $! >/dev/null 2>&1; then
2121 # We managed to kill the child, which means that we probably
2122 # can't trust `/bin/sh -n', hence the test failed.
2123 ac_cv_sh_n_works=no
2124 else
2125 ac_cv_sh_n_works=yes
2127 rm conftest.sh
2130 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2131 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2134 # Initialize the test suite.
2135 ac_config_commands="$ac_config_commands tests/atconfig"
2138 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2140 # Extract the first word of "expr", so it can be a program name with args.
2141 set dummy expr; ac_word=$2
2142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2144 if test "${ac_cv_path_EXPR+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 else
2147 case $EXPR in
2148 [\\/]* | ?:[\\/]*)
2149 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2159 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2163 done
2164 done
2167 esac
2169 EXPR=$ac_cv_path_EXPR
2171 if test -n "$EXPR"; then
2172 { echo "$as_me:$LINENO: result: $EXPR" >&5
2173 echo "${ECHO_T}$EXPR" >&6; }
2174 else
2175 { echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6; }
2181 ## ---- ##
2182 ## M4. ##
2183 ## ---- ##
2185 # We use an absolute name for GNU m4 so even if users have another m4 first in
2186 # their path, the installer can configure with a path that has GNU m4
2187 # first and get that path embedded in the installed autoconf and
2188 # autoheader scripts.
2189 for ac_prog in gm4 gnum4 m4
2191 # Extract the first word of "$ac_prog", so it can be a program name with args.
2192 set dummy $ac_prog; ac_word=$2
2193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2195 if test "${ac_cv_path_M4+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2197 else
2198 case $M4 in
2199 [\\/]* | ?:[\\/]*)
2200 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2204 for as_dir in $PATH
2206 IFS=$as_save_IFS
2207 test -z "$as_dir" && as_dir=.
2208 for ac_exec_ext in '' $ac_executable_extensions; do
2209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2210 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 break 2
2214 done
2215 done
2218 esac
2220 M4=$ac_cv_path_M4
2222 if test -n "$M4"; then
2223 { echo "$as_me:$LINENO: result: $M4" >&5
2224 echo "${ECHO_T}$M4" >&6; }
2225 else
2226 { echo "$as_me:$LINENO: result: no" >&5
2227 echo "${ECHO_T}no" >&6; }
2230 test -n "$M4" && break
2231 done
2232 test -n "$M4" || M4="m4"
2234 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2235 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2236 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 else
2239 ac_cv_prog_gnu_m4=no
2240 if test x"$M4" != x; then
2241 case `$M4 --help < /dev/null 2>&1` in
2242 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2243 esac
2246 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2247 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2248 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2249 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2250 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2251 { (exit 1); exit 1; }; }
2254 ## ----------- ##
2255 ## Man pages. ##
2256 ## ----------- ##
2258 ac_config_files="$ac_config_files man/Makefile"
2261 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2265 ## ------ ##
2266 ## Perl. ##
2267 ## ------ ##
2269 # We use an absolute name for perl so the #! line in autoscan will work.
2270 # Extract the first word of "perl", so it can be a program name with args.
2271 set dummy perl; ac_word=$2
2272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2274 if test "${ac_cv_path_PERL+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 else
2277 case $PERL in
2278 [\\/]* | ?:[\\/]*)
2279 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283 for as_dir in $PATH
2285 IFS=$as_save_IFS
2286 test -z "$as_dir" && as_dir=.
2287 for ac_exec_ext in '' $ac_executable_extensions; do
2288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2289 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 break 2
2293 done
2294 done
2296 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2298 esac
2300 PERL=$ac_cv_path_PERL
2302 if test -n "$PERL"; then
2303 { echo "$as_me:$LINENO: result: $PERL" >&5
2304 echo "${ECHO_T}$PERL" >&6; }
2305 else
2306 { echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6; }
2310 if test "$PERL" = no; then
2311 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2312 echo "$as_me: error: perl is not found" >&2;}
2313 { (exit 1); exit 1; }; }
2315 $PERL -e 'require 5.005_03;' || {
2316 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2317 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2318 { (exit 1); exit 1; }; }
2322 ## ------- ##
2323 ## Emacs. ##
2324 ## ------- ##
2326 ac_config_files="$ac_config_files lib/emacs/Makefile"
2328 TEST_EMACS=$EMACS
2329 test x"$TEST_EMACS" = xt && TEST_EMACS=
2330 for ac_prog in emacs xemacs
2332 # Extract the first word of "$ac_prog", so it can be a program name with args.
2333 set dummy $ac_prog; ac_word=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 else
2339 if test -n "$TEST_EMACS"; then
2340 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2341 else
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH
2345 IFS=$as_save_IFS
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_TEST_EMACS="$ac_prog"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 break 2
2353 done
2354 done
2358 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2359 if test -n "$TEST_EMACS"; then
2360 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2361 echo "${ECHO_T}$TEST_EMACS" >&6; }
2362 else
2363 { echo "$as_me:$LINENO: result: no" >&5
2364 echo "${ECHO_T}no" >&6; }
2367 test -n "$TEST_EMACS" && break
2368 done
2369 test -n "$TEST_EMACS" || TEST_EMACS="no"
2372 # autoconf-mode.el and autotest-mode.el do not work with older version of
2373 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2374 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2375 # We detect this problem here.
2376 if test "$TEST_EMACS" != no; then
2377 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2378 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2379 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 else
2382 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2383 cat >conftest.el << "EOF"
2384 (defvar broken)
2385 (defun broken-mode () (setq broken-defaults `(broken nil)))
2387 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2388 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2389 ac_status=$?
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; then
2392 ac_cv_prog_emacs_ok=yes
2393 else
2394 ac_cv_prog_emacs_ok=no
2397 rm -f conftest.el conftest.elc
2399 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2400 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2401 if test $ac_cv_prog_emacs_ok = no; then
2402 TEST_EMACS=no
2408 EMACS=$TEST_EMACS
2411 # If set to t, that means we are running in a shell under Emacs.
2412 # If you have an Emacs named "t", then use the full path.
2413 test x"$EMACS" = xt && EMACS=
2414 for ac_prog in emacs xemacs
2416 # Extract the first word of "$ac_prog", so it can be a program name with args.
2417 set dummy $ac_prog; ac_word=$2
2418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2420 if test "${ac_cv_prog_EMACS+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 else
2423 if test -n "$EMACS"; then
2424 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2425 else
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427 for as_dir in $PATH
2429 IFS=$as_save_IFS
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_EMACS="$ac_prog"
2434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 break 2
2437 done
2438 done
2442 EMACS=$ac_cv_prog_EMACS
2443 if test -n "$EMACS"; then
2444 { echo "$as_me:$LINENO: result: $EMACS" >&5
2445 echo "${ECHO_T}$EMACS" >&6; }
2446 else
2447 { echo "$as_me:$LINENO: result: no" >&5
2448 echo "${ECHO_T}no" >&6; }
2451 test -n "$EMACS" && break
2452 done
2453 test -n "$EMACS" || EMACS="no"
2458 # Check whether --with-lispdir or --without-lispdir was given.
2459 if test "${with_lispdir+set}" = set; then
2460 withval="$with_lispdir"
2461 lispdir="$withval"
2462 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2463 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2464 { echo "$as_me:$LINENO: result: $lispdir" >&5
2465 echo "${ECHO_T}$lispdir" >&6; }
2466 else
2468 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2469 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2470 if test "${am_cv_lispdir+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 else
2474 if test $EMACS != "no"; then
2475 if test x${lispdir+set} != xset; then
2476 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2477 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2478 # which is non-obvious for non-emacs users.
2479 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2480 # emacsen earlier and avoid running this altogether.
2481 { (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
2482 ($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
2483 ac_status=$?
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }
2486 am_cv_lispdir=`sed -n \
2487 -e 's,/$,,' \
2488 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2489 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2490 conftest.out`
2491 rm conftest.out
2494 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2497 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2498 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2499 lispdir="$am_cv_lispdir"
2506 ## ------------ ##
2507 ## Grep & sed. ##
2508 ## ------------ ##
2509 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2510 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2511 if test "${ac_cv_path_GREP+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 else
2514 # Extract the first word of "grep ggrep" to use in msg output
2515 if test -z "$GREP"; then
2516 set dummy grep ggrep; ac_prog_name=$2
2517 if test "${ac_cv_path_GREP+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 else
2520 ac_path_GREP_found=false
2521 # Loop through the user's path and test for each of PROGNAME-LIST
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523 as_dummy="$PATH:/usr/xpg4/bin"
2524 for as_dir in $as_dummy
2526 IFS=$as_save_IFS
2527 test -z "$as_dir" && as_dir=.
2528 for ac_prog in grep ggrep; do
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2531 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2532 # Check for GNU ac_path_GREP and select it if it is found.
2533 # Check for GNU $ac_path_GREP
2534 case `"$ac_path_GREP" --version 2>&1` in
2535 *GNU*)
2536 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2538 ac_count=0
2539 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2540 while :
2542 cat "conftest.in" "conftest.in" >"conftest.tmp"
2543 mv "conftest.tmp" "conftest.in"
2544 cp "conftest.in" "conftest.nl"
2545 echo 'GREP' >> "conftest.nl"
2546 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2547 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2548 ac_count=`expr $ac_count + 1`
2549 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2550 # Best one so far, save it but keep looking for a better one
2551 ac_cv_path_GREP="$ac_path_GREP"
2552 ac_path_GREP_max=$ac_count
2554 # 10*(2^10) chars as input seems more than enough
2555 test $ac_count -gt 10 && break
2556 done
2557 rm -f conftest.*;;
2558 esac
2561 $ac_path_GREP_found && break 3
2562 done
2563 done
2565 done
2570 GREP="$ac_cv_path_GREP"
2571 if test -z "$GREP"; then
2572 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2573 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2574 { (exit 1); exit 1; }; }
2577 else
2578 ac_cv_path_GREP=$GREP
2583 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2584 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2585 GREP="$ac_cv_path_GREP"
2588 { echo "$as_me:$LINENO: checking for egrep" >&5
2589 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2590 if test "${ac_cv_path_EGREP+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2592 else
2593 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2594 then ac_cv_path_EGREP="$GREP -E"
2595 else
2596 # Extract the first word of "egrep" to use in msg output
2597 if test -z "$EGREP"; then
2598 set dummy egrep; ac_prog_name=$2
2599 if test "${ac_cv_path_EGREP+set}" = set; then
2600 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 else
2602 ac_path_EGREP_found=false
2603 # Loop through the user's path and test for each of PROGNAME-LIST
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 as_dummy="$PATH:/usr/xpg4/bin"
2606 for as_dir in $as_dummy
2608 IFS=$as_save_IFS
2609 test -z "$as_dir" && as_dir=.
2610 for ac_prog in egrep; do
2611 for ac_exec_ext in '' $ac_executable_extensions; do
2612 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2613 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2614 # Check for GNU ac_path_EGREP and select it if it is found.
2615 # Check for GNU $ac_path_EGREP
2616 case `"$ac_path_EGREP" --version 2>&1` in
2617 *GNU*)
2618 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2620 ac_count=0
2621 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2622 while :
2624 cat "conftest.in" "conftest.in" >"conftest.tmp"
2625 mv "conftest.tmp" "conftest.in"
2626 cp "conftest.in" "conftest.nl"
2627 echo 'EGREP' >> "conftest.nl"
2628 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2629 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2630 ac_count=`expr $ac_count + 1`
2631 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2632 # Best one so far, save it but keep looking for a better one
2633 ac_cv_path_EGREP="$ac_path_EGREP"
2634 ac_path_EGREP_max=$ac_count
2636 # 10*(2^10) chars as input seems more than enough
2637 test $ac_count -gt 10 && break
2638 done
2639 rm -f conftest.*;;
2640 esac
2643 $ac_path_EGREP_found && break 3
2644 done
2645 done
2647 done
2652 EGREP="$ac_cv_path_EGREP"
2653 if test -z "$EGREP"; then
2654 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2655 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2656 { (exit 1); exit 1; }; }
2659 else
2660 ac_cv_path_EGREP=$EGREP
2666 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2667 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2668 EGREP="$ac_cv_path_EGREP"
2671 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2672 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2673 if test "${ac_cv_path_SED+set}" = set; then
2674 echo $ECHO_N "(cached) $ECHO_C" >&6
2675 else
2676 # Extract the first word of "sed gsed" to use in msg output
2677 if test -z "$SED"; then
2678 set dummy sed gsed; ac_prog_name=$2
2679 if test "${ac_cv_path_SED+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 else
2682 ac_path_SED_found=false
2683 # Loop through the user's path and test for each of PROGNAME-LIST
2684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685 for as_dir in $PATH
2687 IFS=$as_save_IFS
2688 test -z "$as_dir" && as_dir=.
2689 for ac_prog in sed gsed; do
2690 for ac_exec_ext in '' $ac_executable_extensions; do
2691 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2692 { test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
2693 # Check for GNU ac_path_SED and select it if it is found.
2694 # Check for GNU $ac_path_SED
2695 case `"$ac_path_SED" --version 2>&1` in
2696 *GNU*)
2697 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2699 ac_count=0
2700 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2701 while :
2703 cat "conftest.in" "conftest.in" >"conftest.tmp"
2704 mv "conftest.tmp" "conftest.in"
2705 cp "conftest.in" "conftest.nl"
2706 echo '' >> "conftest.nl"
2707 "$ac_path_SED" -e 's/a$//' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2708 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2709 ac_count=`expr $ac_count + 1`
2710 if test $ac_count -gt ${ac_path_SED_max-0}; then
2711 # Best one so far, save it but keep looking for a better one
2712 ac_cv_path_SED="$ac_path_SED"
2713 ac_path_SED_max=$ac_count
2715 # 10*(2^10) chars as input seems more than enough
2716 test $ac_count -gt 10 && break
2717 done
2718 rm -f conftest.*;;
2719 esac
2722 $ac_path_SED_found && break 3
2723 done
2724 done
2726 done
2731 SED="$ac_cv_path_SED"
2732 if test -z "$SED"; then
2733 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2734 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2735 { (exit 1); exit 1; }; }
2738 else
2739 ac_cv_path_SED=$SED
2743 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2744 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2745 SED="$ac_cv_path_SED"
2750 ## ------------ ##
2751 ## Conclusion. ##
2752 ## ------------ ##
2754 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"
2757 cat >confcache <<\_ACEOF
2758 # This file is a shell script that caches the results of configure
2759 # tests run on this system so they can be shared between configure
2760 # scripts and configure runs, see configure's option --config-cache.
2761 # It is not useful on other systems. If it contains results you don't
2762 # want to keep, you may remove or edit it.
2764 # config.status only pays attention to the cache file if you give it
2765 # the --recheck option to rerun configure.
2767 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2768 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2769 # following values.
2771 _ACEOF
2773 # The following way of writing the cache mishandles newlines in values,
2774 # but we know of no workaround that is simple, portable, and efficient.
2775 # So, don't put newlines in cache variables' values.
2776 # Ultrix sh set writes to stderr and can't be redirected directly,
2777 # and sets the high bit in the cache file unless we assign to the vars.
2779 (set) 2>&1 |
2780 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2781 *ac_space=\ *)
2782 # `set' does not quote correctly, so add quotes (double-quote
2783 # substitution turns \\\\ into \\, and sed turns \\ into \).
2784 sed -n \
2785 "s/'/'\\\\''/g;
2786 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2789 # `set' quotes correctly as required by POSIX, so do not add quotes.
2790 sed -n \
2791 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2793 esac;
2795 sed '
2796 t clear
2797 :clear
2798 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2799 t end
2800 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2801 :end' >>confcache
2802 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2803 if test -w $cache_file; then
2804 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2805 cat confcache >$cache_file
2806 else
2807 echo "not updating unwritable cache $cache_file"
2810 rm -f confcache
2812 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2813 # Let make expand exec_prefix.
2814 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2816 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2817 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2818 # trailing colons and then remove the whole line if VPATH becomes empty
2819 # (actually we leave an empty line to preserve line numbers).
2820 if test "x$srcdir" = x.; then
2821 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2822 s/:*\$(srcdir):*/:/;
2823 s/:*\${srcdir}:*/:/;
2824 s/:*@srcdir@:*/:/;
2825 s/^\([^=]*=[ ]*\):*/\1/;
2826 s/:*$//;
2827 s/^[^=]*=[ ]*$//;
2831 # Transform confdefs.h into DEFS.
2832 # Protect against shell expansion while executing Makefile rules.
2833 # Protect against Makefile macro expansion.
2835 # If the first sed substitution is executed (which looks for macros that
2836 # take arguments), then we branch to the quote section. Otherwise,
2837 # look for a macro that doesn't take arguments.
2838 cat >confdef2opt.sed <<\_ACEOF
2839 t clear
2840 :clear
2841 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2842 t quote
2843 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2844 t quote
2846 :quote
2847 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2848 s,\[,\\&,g
2849 s,\],\\&,g
2850 s,\$,$$,g
2852 _ACEOF
2853 # We use echo to avoid assuming a particular line-breaking character.
2854 # The extra dot is to prevent the shell from consuming trailing
2855 # line-breaks from the sub-command output. A line-break within
2856 # single-quotes doesn't work because, if this script is created in a
2857 # platform that uses two characters for line-breaks (e.g., DOS), tr
2858 # would break.
2859 ac_LF_and_DOT=`echo; echo .`
2860 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2861 rm -f confdef2opt.sed
2864 ac_libobjs=
2865 ac_ltlibobjs=
2866 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2867 # 1. Remove the extension, and $U if already installed.
2868 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2869 ac_i=`echo "$ac_i" | sed "$ac_script"`
2870 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2871 # will be set to the directory where LIBOBJS objects are built.
2872 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2873 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2874 done
2875 LIBOBJS=$ac_libobjs
2877 LTLIBOBJS=$ac_ltlibobjs
2881 : ${CONFIG_STATUS=./config.status}
2882 ac_clean_files_save=$ac_clean_files
2883 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2884 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2885 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2886 cat >$CONFIG_STATUS <<_ACEOF
2887 #! $SHELL
2888 # Generated by $as_me.
2889 # Run this file to recreate the current configuration.
2890 # Compiler output produced by configure, useful for debugging
2891 # configure, is in config.log if it exists.
2893 debug=false
2894 ac_cs_recheck=false
2895 ac_cs_silent=false
2896 SHELL=\${CONFIG_SHELL-$SHELL}
2897 _ACEOF
2899 cat >>$CONFIG_STATUS <<\_ACEOF
2900 ## --------------------- ##
2901 ## M4sh Initialization. ##
2902 ## --------------------- ##
2904 # Be Bourne compatible
2905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2906 emulate sh
2907 NULLCMD=:
2908 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2909 # is contrary to our usage. Disable this feature.
2910 alias -g '${1+"$@"}'='"$@"'
2911 setopt NO_GLOB_SUBST
2912 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2913 set -o posix
2915 BIN_SH=xpg4; export BIN_SH # for Tru64
2916 DUALCASE=1; export DUALCASE # for MKS sh
2919 # PATH needs CR
2920 # Avoid depending upon Character Ranges.
2921 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2922 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2923 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2924 as_cr_digits='0123456789'
2925 as_cr_alnum=$as_cr_Letters$as_cr_digits
2927 # The user is always right.
2928 if test "${PATH_SEPARATOR+set}" != set; then
2929 echo "#! /bin/sh" >conf$$.sh
2930 echo "exit 0" >>conf$$.sh
2931 chmod +x conf$$.sh
2932 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2933 PATH_SEPARATOR=';'
2934 else
2935 PATH_SEPARATOR=:
2937 rm -f conf$$.sh
2940 # Support unset when possible.
2941 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2942 as_unset=unset
2943 else
2944 as_unset=false
2948 # Find who we are. Look in the path if we contain no path at all
2949 # relative or not.
2950 case $0 in
2951 *[\\/]* ) as_myself=$0 ;;
2952 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 for as_dir in $PATH
2955 IFS=$as_save_IFS
2956 test -z "$as_dir" && as_dir=.
2957 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2958 done
2961 esac
2962 # We did not find ourselves, most probably we were run as `sh COMMAND'
2963 # in which case we are not to be found in the path.
2964 if test "x$as_myself" = x; then
2965 as_myself=$0
2967 if test ! -f "$as_myself"; then
2968 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
2969 echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
2970 { (exit 1); exit 1; }; }
2973 # Work around bugs in pre-3.0 UWIN ksh.
2974 for as_var in ENV MAIL MAILPATH
2975 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2976 done
2977 PS1='$ '
2978 PS2='> '
2979 PS4='+ '
2981 # NLS nuisances.
2982 for as_var in \
2983 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2984 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2985 LC_TELEPHONE LC_TIME
2987 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2988 eval $as_var=C; export $as_var
2989 else
2990 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2992 done
2994 # Required to use basename.
2995 if expr a : '\(a\)' >/dev/null 2>&1; then
2996 as_expr=expr
2997 else
2998 as_expr=false
3001 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3002 as_basename=basename
3003 else
3004 as_basename=false
3008 # Name of the executable.
3009 as_me=`$as_basename "$0" ||
3010 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3011 X"$0" : 'X\(//\)$' \| \
3012 X"$0" : 'X\(/\)$' \| \
3013 . : '\(.\)' 2>/dev/null ||
3014 echo X/"$0" |
3015 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3016 /^X\/\(\/\/\)$/{ s//\1/; q; }
3017 /^X\/\(\/\).*/{ s//\1/; q; }
3018 s/.*/./; q'`
3023 as_lineno_1=$LINENO
3024 as_lineno_2=$LINENO
3025 test "x$as_lineno_1" != "x$as_lineno_2" &&
3026 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3028 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3029 # uniformly replaced by the line number. The first 'sed' inserts a
3030 # line-number line after each line using $LINENO; the second 'sed'
3031 # does the real work. The second script uses 'N' to pair each
3032 # line-number line with the line containing $LINENO, and appends
3033 # trailing '-' during substitution so that $LINENO is not a special
3034 # case at line end.
3035 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3036 # scripts with optimization help from Paolo Bonzini. Blame Lee
3037 # E. McMahon (1931-1989) for sed's syntax. :-)
3038 sed -n '
3040 /[$]LINENO/=
3041 ' <$as_myself |
3042 sed '
3043 s,[$]LINENO.*,&-,
3044 t lineno
3046 :lineno
3048 :loop
3049 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
3050 t loop
3051 s,-\n.*,,
3052 ' >$as_me.lineno &&
3053 chmod +x $as_me.lineno ||
3054 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3055 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3056 { (exit 1); exit 1; }; }
3058 # Don't try to exec as it changes $[0], causing all sort of problems
3059 # (the dirname of $[0] is not the place where we might find the
3060 # original and so on. Autoconf is especially sensible to this).
3061 . ./$as_me.lineno
3062 # Exit status is that of the last command.
3063 exit
3067 ECHO_C= ECHO_N= ECHO_T=
3068 case `echo -n x` in
3069 -n*)
3070 case `echo 'x\c'` in
3071 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3072 *) ECHO_C='\c';;
3073 esac;;
3075 ECHO_N='-n';;
3076 esac
3078 if expr a : '\(a\)' >/dev/null 2>&1; then
3079 as_expr=expr
3080 else
3081 as_expr=false
3084 rm -f conf$$ conf$$.exe conf$$.file
3085 echo >conf$$.file
3086 if ln -s conf$$.file conf$$ 2>/dev/null; then
3087 # We could just check for DJGPP; but this test a) works b) is more generic
3088 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3089 if test -f conf$$.exe; then
3090 # Don't use ln at all; we don't have any links
3091 as_ln_s='cp -p'
3092 else
3093 as_ln_s='ln -s'
3095 elif ln conf$$.file conf$$ 2>/dev/null; then
3096 as_ln_s=ln
3097 else
3098 as_ln_s='cp -p'
3100 rm -f conf$$ conf$$.exe conf$$.file
3102 if mkdir -p . 2>/dev/null; then
3103 as_mkdir_p=:
3104 else
3105 test -d ./-p && rmdir ./-p
3106 as_mkdir_p=false
3109 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3110 # systems may use methods other than mode bits to determine executability.
3111 cat >conf$$.file <<_ASEOF
3112 #! /bin/sh
3113 exit 0
3114 _ASEOF
3115 chmod +x conf$$.file
3116 if test -x conf$$.file >/dev/null 2>&1; then
3117 as_executable_p="test -x"
3118 else
3119 as_executable_p=:
3121 rm -f conf$$.file
3123 # Sed expression to map a string onto a valid CPP name.
3124 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3126 # Sed expression to map a string onto a valid variable name.
3127 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3130 # IFS
3131 # We need space, tab and new line, in precisely that order.
3132 as_nl='
3134 IFS=" $as_nl"
3136 # CDPATH.
3137 $as_unset CDPATH
3139 exec 6>&1
3141 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3142 # report actual input values of CONFIG_FILES etc. instead of their
3143 # values after options handling. Logging --version etc. is OK.
3144 exec 5>>config.log
3146 echo
3147 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3148 ## Running $as_me. ##
3149 _ASBOX
3150 } >&5
3151 cat >&5 <<_CSEOF
3153 This file was extended by GNU Autoconf $as_me 2.59c, which was
3154 generated by GNU Autoconf 2.59c. Invocation command line was
3156 CONFIG_FILES = $CONFIG_FILES
3157 CONFIG_HEADERS = $CONFIG_HEADERS
3158 CONFIG_LINKS = $CONFIG_LINKS
3159 CONFIG_COMMANDS = $CONFIG_COMMANDS
3160 $ $0 $@
3162 _CSEOF
3163 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3164 echo >&5
3165 _ACEOF
3167 # Files that config.status was made for.
3168 if test -n "$ac_config_files"; then
3169 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3172 if test -n "$ac_config_headers"; then
3173 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3176 if test -n "$ac_config_links"; then
3177 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3180 if test -n "$ac_config_commands"; then
3181 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3184 cat >>$CONFIG_STATUS <<\_ACEOF
3186 ac_cs_usage="\
3187 \`$as_me' instantiates files from templates according to the
3188 current configuration.
3190 Usage: $0 [OPTIONS] [FILE]...
3192 -h, --help print this help, then exit
3193 -V, --version print version number, then exit
3194 -q, --quiet do not print progress messages
3195 -d, --debug don't remove temporary files
3196 --recheck update $as_me by reconfiguring in the same conditions
3197 --file=FILE[:TEMPLATE]
3198 instantiate the configuration file FILE
3200 Configuration files:
3201 $config_files
3203 Configuration commands:
3204 $config_commands
3206 Report bugs to <bug-autoconf@gnu.org>."
3207 _ACEOF
3209 cat >>$CONFIG_STATUS <<_ACEOF
3210 ac_cs_version="\\
3211 GNU Autoconf config.status 2.59c
3212 configured by $0, generated by GNU Autoconf 2.59c,
3213 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3215 Copyright (C) 2005 Free Software Foundation, Inc.
3216 This config.status script is free software; the Free Software Foundation
3217 gives unlimited permission to copy, distribute and modify it."
3218 ac_pwd='$ac_pwd'
3219 srcdir='$srcdir'
3220 INSTALL="$INSTALL"
3221 _ACEOF
3223 cat >>$CONFIG_STATUS <<\_ACEOF
3224 # If no file are specified by the user, then we need to provide default
3225 # value. By we need to know if files were specified by the user.
3226 ac_need_defaults=:
3227 while test $# != 0
3229 case $1 in
3230 --*=*)
3231 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3232 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3233 ac_shift=:
3236 ac_option=$1
3237 ac_optarg=$2
3238 ac_shift=shift
3240 *) # This is not an option, so the user has probably given explicit
3241 # arguments.
3242 ac_option=$1
3243 ac_need_defaults=false;;
3244 esac
3246 case $ac_option in
3247 # Handling of the options.
3248 _ACEOF
3249 cat >>$CONFIG_STATUS <<\_ACEOF
3250 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3251 ac_cs_recheck=: ;;
3252 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3253 echo "$ac_cs_version"; exit ;;
3254 --he | --h)
3255 # Conflict between --help and --header
3256 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3257 Try \`$0 --help' for more information." >&5
3258 echo "$as_me: error: ambiguous option: $1
3259 Try \`$0 --help' for more information." >&2;}
3260 { (exit 1); exit 1; }; };;
3261 --help | --hel | -h )
3262 echo "$ac_cs_usage"; exit ;;
3263 --debug | --debu | --deb | --de | --d | -d )
3264 debug=: ;;
3265 --file | --fil | --fi | --f )
3266 $ac_shift
3267 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3268 ac_need_defaults=false;;
3269 --header | --heade | --head | --hea )
3270 $ac_shift
3271 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3272 ac_need_defaults=false;;
3273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3274 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3275 ac_cs_silent=: ;;
3277 # This is an error.
3278 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3279 Try \`$0 --help' for more information." >&5
3280 echo "$as_me: error: unrecognized option: $1
3281 Try \`$0 --help' for more information." >&2;}
3282 { (exit 1); exit 1; }; } ;;
3284 *) ac_config_targets="$ac_config_targets $1" ;;
3286 esac
3287 shift
3288 done
3290 ac_configure_extra_args=
3292 if $ac_cs_silent; then
3293 exec 6>/dev/null
3294 ac_configure_extra_args="$ac_configure_extra_args --silent"
3297 _ACEOF
3298 cat >>$CONFIG_STATUS <<_ACEOF
3299 if \$ac_cs_recheck; then
3300 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3301 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3304 _ACEOF
3310 cat >>$CONFIG_STATUS <<\_ACEOF
3311 for ac_config_target in $ac_config_targets
3313 case "$ac_config_target" in
3314 # Handling of arguments.
3315 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3316 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3317 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3318 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3319 "lib/emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3320 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3321 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3322 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3323 "lib/Autom4te/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3324 "lib/autoscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3325 "lib/m4sugar/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3326 "lib/autoconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3327 "lib/autotest/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3328 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3329 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3330 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3331 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3332 { (exit 1); exit 1; }; };;
3333 esac
3334 done
3336 # If the user did not use the arguments to specify the items to instantiate,
3337 # then the envvar interface is used. Set only those that are not.
3338 # We use the long form for the default assignment because of an extremely
3339 # bizarre bug on SunOS 4.1.3.
3340 if $ac_need_defaults; then
3341 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3342 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3345 # Have a temporary directory for convenience. Make it in the build tree
3346 # simply because there is no reason against having it here, and in addition,
3347 # creating and moving files from /tmp can sometimes cause problems.
3348 # Hook for its removal unless debugging.
3349 $debug ||
3351 trap 'exit_status=$?; rm -fr "$tmp" && exit $exit_status' 0
3352 trap '{ (exit 1); exit 1; }' 1 2 13 15
3354 # Create a (secure) tmp directory for tmp files.
3357 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3358 test -n "$tmp" && test -d "$tmp"
3359 } ||
3361 tmp=./conf$$-$RANDOM
3362 (umask 077 && mkdir "$tmp")
3363 } ||
3365 echo "$me: cannot create a temporary directory in ." >&2
3366 { (exit 1); exit 1; }
3369 _ACEOF
3371 cat >>$CONFIG_STATUS <<\_ACEOF
3373 # CONFIG_FILES section.
3376 # No need to generate the scripts if there are no CONFIG_FILES.
3377 # This happens for instance when ./config.status config.h
3378 if test -n "$CONFIG_FILES"; then
3380 _ACEOF
3384 ac_delim='%!_!# '
3385 for ac_last_try in false false false false false :; do
3386 cat >conf$$subs.sed <<_ACEOF
3387 SHELL!$SHELL$ac_delim
3388 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3389 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3390 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3391 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3392 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3393 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3394 exec_prefix!$exec_prefix$ac_delim
3395 prefix!$prefix$ac_delim
3396 program_transform_name!$program_transform_name$ac_delim
3397 bindir!$bindir$ac_delim
3398 sbindir!$sbindir$ac_delim
3399 libexecdir!$libexecdir$ac_delim
3400 datarootdir!$datarootdir$ac_delim
3401 datadir!$datadir$ac_delim
3402 sysconfdir!$sysconfdir$ac_delim
3403 sharedstatedir!$sharedstatedir$ac_delim
3404 localstatedir!$localstatedir$ac_delim
3405 includedir!$includedir$ac_delim
3406 oldincludedir!$oldincludedir$ac_delim
3407 docdir!$docdir$ac_delim
3408 infodir!$infodir$ac_delim
3409 htmldir!$htmldir$ac_delim
3410 dvidir!$dvidir$ac_delim
3411 pdfdir!$pdfdir$ac_delim
3412 psdir!$psdir$ac_delim
3413 libdir!$libdir$ac_delim
3414 localedir!$localedir$ac_delim
3415 mandir!$mandir$ac_delim
3416 build_alias!$build_alias$ac_delim
3417 host_alias!$host_alias$ac_delim
3418 target_alias!$target_alias$ac_delim
3419 DEFS!$DEFS$ac_delim
3420 ECHO_C!$ECHO_C$ac_delim
3421 ECHO_N!$ECHO_N$ac_delim
3422 ECHO_T!$ECHO_T$ac_delim
3423 LIBS!$LIBS$ac_delim
3424 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3425 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3426 INSTALL_DATA!$INSTALL_DATA$ac_delim
3427 CYGPATH_W!$CYGPATH_W$ac_delim
3428 PACKAGE!$PACKAGE$ac_delim
3429 VERSION!$VERSION$ac_delim
3430 ACLOCAL!$ACLOCAL$ac_delim
3431 AUTOCONF!$AUTOCONF$ac_delim
3432 AUTOMAKE!$AUTOMAKE$ac_delim
3433 AUTOHEADER!$AUTOHEADER$ac_delim
3434 MAKEINFO!$MAKEINFO$ac_delim
3435 install_sh!$install_sh$ac_delim
3436 STRIP!$STRIP$ac_delim
3437 ac_ct_STRIP!$ac_ct_STRIP$ac_delim
3438 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3439 mkdir_p!$mkdir_p$ac_delim
3440 AWK!$AWK$ac_delim
3441 SET_MAKE!$SET_MAKE$ac_delim
3442 am__leading_dot!$am__leading_dot$ac_delim
3443 AMTAR!$AMTAR$ac_delim
3444 am__tar!$am__tar$ac_delim
3445 am__untar!$am__untar$ac_delim
3446 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3447 EXPR!$EXPR$ac_delim
3448 M4!$M4$ac_delim
3449 HELP2MAN!$HELP2MAN$ac_delim
3450 PERL!$PERL$ac_delim
3451 TEST_EMACS!$TEST_EMACS$ac_delim
3452 EMACS!$EMACS$ac_delim
3453 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3454 lispdir!$lispdir$ac_delim
3455 GREP!$GREP$ac_delim
3456 EGREP!$EGREP$ac_delim
3457 SED!$SED$ac_delim
3458 LIBOBJS!$LIBOBJS$ac_delim
3459 LTLIBOBJS!$LTLIBOBJS$ac_delim
3460 _ACEOF
3462 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 73; then
3463 break
3464 elif $ac_last_try; then
3465 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3466 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3467 { (exit 1); exit 1; }; }
3468 else
3469 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3471 done
3473 ac_eof=`sed -n '/^CEOF0-9*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3474 ac_eof=`expr 0$ac_eof + 1`
3476 cat >>$CONFIG_STATUS <<_ACEOF
3477 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3478 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3479 _ACEOF
3480 sed '
3481 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3482 s/^/s,@/; s/!/@,|#_!!_#|/
3485 s/'"$ac_delim"'$/,g/; t
3486 s/$/\\/; p
3487 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3488 ' >>$CONFIG_STATUS <conf$$subs.sed
3489 rm -f conf$$subs.sed
3490 cat >>$CONFIG_STATUS <<_ACEOF
3491 :end
3492 s/|#_!!_#|//g
3493 CEOF$ac_eof
3494 _ACEOF
3496 cat >>$CONFIG_STATUS <<\_ACEOF
3497 fi # test -n "$CONFIG_FILES"
3499 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3500 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3501 case $ac_file in
3502 - | *:- | *:-:* ) # input from stdin
3503 cat >"$tmp/stdin" ;;
3504 esac
3505 case $ac_file in
3506 *:*) ac_file_in=`expr "X$ac_file" : 'X[^:]*:\(.*\)'`
3507 ac_file=`expr "X$ac_file" : 'X\([^:]*\)'` ;;
3508 -) ac_file_in=- ;;
3509 *) ac_file_in=$ac_file.in ;;
3510 esac
3512 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3513 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3514 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3515 X"$ac_file" : 'X\(//\)[^/]' \| \
3516 X"$ac_file" : 'X\(//\)$' \| \
3517 X"$ac_file" : 'X\(/\)' \| \
3518 . : '\(.\)' 2>/dev/null ||
3519 echo X"$ac_file" |
3520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3521 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3522 /^X\(\/\/\)$/{ s//\1/; q; }
3523 /^X\(\/\).*/{ s//\1/; q; }
3524 s/.*/./; q'`
3525 { if $as_mkdir_p; then
3526 test -d "$ac_dir" || mkdir -p "$ac_dir"
3527 else
3528 as_dir="$ac_dir"
3529 as_dirs=
3530 while test ! -d "$as_dir"; do
3531 as_dirs="$as_dir $as_dirs"
3532 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3533 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3534 X"$as_dir" : 'X\(//\)[^/]' \| \
3535 X"$as_dir" : 'X\(//\)$' \| \
3536 X"$as_dir" : 'X\(/\)' \| \
3537 . : '\(.\)' 2>/dev/null ||
3538 echo X"$as_dir" |
3539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3540 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3541 /^X\(\/\/\)$/{ s//\1/; q; }
3542 /^X\(\/\).*/{ s//\1/; q; }
3543 s/.*/./; q'`
3544 done
3545 test ! -n "$as_dirs" || mkdir $as_dirs
3546 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3547 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3548 { (exit 1); exit 1; }; }; }
3550 ac_builddir=.
3552 case "$ac_dir" in
3553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3555 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3556 # A ".." for each directory in $ac_dir_suffix.
3557 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3558 case $ac_top_builddir_sub in
3559 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3560 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3561 esac ;;
3562 esac
3563 ac_abs_top_builddir=$ac_pwd
3564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3565 # for backward compatibility:
3566 ac_top_builddir=$ac_top_build_prefix
3568 case $srcdir in
3569 .) # No --srcdir option. We are building in place.
3570 ac_srcdir=.
3571 ac_top_srcdir=$ac_top_builddir_sub
3572 ac_abs_top_srcdir=$ac_pwd ;;
3573 [\\/]* | ?:[\\/]* ) # Absolute name.
3574 ac_srcdir=$srcdir$ac_dir_suffix;
3575 ac_top_srcdir=$srcdir
3576 ac_abs_top_srcdir=$srcdir ;;
3577 *) # Relative name.
3578 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3579 ac_top_srcdir=$ac_top_build_prefix$srcdir
3580 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3581 esac
3582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3585 case $INSTALL in
3586 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3587 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3588 esac
3590 if test x"$ac_file" != x-; then
3591 { echo "$as_me:$LINENO: creating $ac_file" >&5
3592 echo "$as_me: creating $ac_file" >&6;}
3593 rm -f "$ac_file"
3595 # Let's still pretend it is `configure' which instantiates (i.e., don't
3596 # use $as_me), people would be surprised to read:
3597 # /* config.h. Generated by config.status. */
3598 if test x"$ac_file" = x-; then
3599 configure_input=
3600 else
3601 configure_input="$ac_file. "
3603 configure_input=$configure_input"Generated from `echo $ac_file_in |
3604 sed 's,.*/,,'` by configure."
3606 # First look for the input files in the build tree, otherwise in the
3607 # src tree.
3608 ac_file_inputs=`IFS=:
3609 for f in $ac_file_in; do
3610 case $f in
3611 -) echo "$tmp/stdin" ;;
3612 [\\/$]*)
3613 # Absolute (can't be DOS-style, as IFS=:)
3614 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3615 echo "$as_me: error: cannot find input file: $f" >&2;}
3616 { (exit 1); exit 1; }; }
3617 echo "$f";;
3618 *) # Relative
3619 if test -f "$f"; then
3620 # Build tree
3621 echo "$f"
3622 elif test -f "$srcdir/$f"; then
3623 # Source tree
3624 echo "$srcdir/$f"
3625 else
3626 # /dev/null tree
3627 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3628 echo "$as_me: error: cannot find input file: $f" >&2;}
3629 { (exit 1); exit 1; }; }
3630 fi;;
3631 esac
3632 done` || { (exit 1); exit 1; }
3633 _ACEOF
3634 cat >>$CONFIG_STATUS <<_ACEOF
3635 sed "$ac_vpsub
3636 $extrasub
3637 _ACEOF
3638 cat >>$CONFIG_STATUS <<\_ACEOF
3640 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3641 s|@configure_input@|$configure_input|;t t
3642 s|@srcdir@|$ac_srcdir|;t t
3643 s|@abs_srcdir@|$ac_abs_srcdir|;t t
3644 s|@top_srcdir@|$ac_top_srcdir|;t t
3645 s|@abs_top_srcdir@|$ac_abs_top_srcdir|;t t
3646 s|@builddir@|$ac_builddir|;t t
3647 s|@abs_builddir@|$ac_abs_builddir|;t t
3648 s|@top_builddir@|$ac_top_builddir_sub|;t t
3649 s|@abs_top_builddir@|$ac_abs_top_builddir|;t t
3650 s,@INSTALL@,$ac_INSTALL,;t t
3651 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3652 rm -f "$tmp/stdin"
3653 if test x"$ac_file" != x-; then
3654 mv "$tmp/out" $ac_file
3655 else
3656 cat "$tmp/out"
3657 rm -f "$tmp/out"
3660 done
3661 _ACEOF
3662 cat >>$CONFIG_STATUS <<\_ACEOF
3665 # CONFIG_COMMANDS section.
3667 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3668 case $ac_file in
3669 *:*) ac_source=`expr "X$ac_file" : 'X[^:]*:\(.*\)'`
3670 ac_dest=`expr "X$ac_file" : 'X\([^:]*\)'` ;;
3671 *) ac_dest=$ac_file ac_source=$ac_file ;;
3672 esac
3673 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3674 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3675 X"$ac_dest" : 'X\(//\)[^/]' \| \
3676 X"$ac_dest" : 'X\(//\)$' \| \
3677 X"$ac_dest" : 'X\(/\)' \| \
3678 . : '\(.\)' 2>/dev/null ||
3679 echo X"$ac_dest" |
3680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3682 /^X\(\/\/\)$/{ s//\1/; q; }
3683 /^X\(\/\).*/{ s//\1/; q; }
3684 s/.*/./; q'`
3685 { if $as_mkdir_p; then
3686 test -d "$ac_dir" || mkdir -p "$ac_dir"
3687 else
3688 as_dir="$ac_dir"
3689 as_dirs=
3690 while test ! -d "$as_dir"; do
3691 as_dirs="$as_dir $as_dirs"
3692 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3694 X"$as_dir" : 'X\(//\)[^/]' \| \
3695 X"$as_dir" : 'X\(//\)$' \| \
3696 X"$as_dir" : 'X\(/\)' \| \
3697 . : '\(.\)' 2>/dev/null ||
3698 echo X"$as_dir" |
3699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3700 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3701 /^X\(\/\/\)$/{ s//\1/; q; }
3702 /^X\(\/\).*/{ s//\1/; q; }
3703 s/.*/./; q'`
3704 done
3705 test ! -n "$as_dirs" || mkdir $as_dirs
3706 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3707 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3708 { (exit 1); exit 1; }; }; }
3710 ac_builddir=.
3712 case "$ac_dir" in
3713 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3715 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3716 # A ".." for each directory in $ac_dir_suffix.
3717 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3718 case $ac_top_builddir_sub in
3719 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3720 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3721 esac ;;
3722 esac
3723 ac_abs_top_builddir=$ac_pwd
3724 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3725 # for backward compatibility:
3726 ac_top_builddir=$ac_top_build_prefix
3728 case $srcdir in
3729 .) # No --srcdir option. We are building in place.
3730 ac_srcdir=.
3731 ac_top_srcdir=$ac_top_builddir_sub
3732 ac_abs_top_srcdir=$ac_pwd ;;
3733 [\\/]* | ?:[\\/]* ) # Absolute name.
3734 ac_srcdir=$srcdir$ac_dir_suffix;
3735 ac_top_srcdir=$srcdir
3736 ac_abs_top_srcdir=$srcdir ;;
3737 *) # Relative name.
3738 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3739 ac_top_srcdir=$ac_top_build_prefix$srcdir
3740 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3741 esac
3742 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3745 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3746 echo "$as_me: executing $ac_dest commands" >&6;}
3747 case $ac_dest in
3748 tests/atconfig ) cat >tests/atconfig <<ATEOF
3749 # Configurable variable values for building test suites.
3750 # Generated by $0.
3751 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3753 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3754 at_testdir='tests'
3755 abs_builddir='$ac_abs_builddir'
3756 at_srcdir='$ac_srcdir'
3757 abs_srcdir='$ac_abs_srcdir'
3758 at_top_srcdir='$ac_top_srcdir'
3759 abs_top_srcdir='$ac_abs_top_srcdir'
3760 at_top_build_prefix='$ac_top_build_prefix'
3761 abs_top_builddir='$ac_abs_top_builddir'
3763 AUTOTEST_PATH='tests'
3765 SHELL=\${CONFIG_SHELL-'$SHELL'}
3766 ATEOF
3768 esac
3769 done
3770 _ACEOF
3772 cat >>$CONFIG_STATUS <<\_ACEOF
3774 { (exit 0); exit 0; }
3775 _ACEOF
3776 chmod +x $CONFIG_STATUS
3777 ac_clean_files=$ac_clean_files_save
3780 # configure is writing to config.log, and then calls config.status.
3781 # config.status does its own redirection, appending to config.log.
3782 # Unfortunately, on DOS this fails, as config.log is still kept open
3783 # by configure, so config.status won't be able to write to it; its
3784 # output is simply discarded. So we exec the FD to /dev/null,
3785 # effectively closing config.log, so it can be properly (re)opened and
3786 # appended to by config.status. When coming back to configure, we
3787 # need to make the FD available again.
3788 if test "$no_create" != yes; then
3789 ac_cs_success=:
3790 ac_config_status_args=
3791 test "$silent" = yes &&
3792 ac_config_status_args="$ac_config_status_args --quiet"
3793 exec 5>/dev/null
3794 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3795 exec 5>>config.log
3796 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3797 # would make configure fail if this is the last instruction.
3798 $ac_cs_success || { (exit 1); exit 1; }
3801 # Report the state of this version of Autoconf if this is a beta.
3802 cat <<EOF
3804 You are about to use an experimental version of Autoconf. Be sure to
3805 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3807 Below you will find information on the status of this version of Autoconf.
3811 sed -n '/^\* Status/,$p' $srcdir/BUGS