* NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
[autoconf/tsuna.git] / configure
blob35973bd2feeca1c63915f750e295803440c8e6cb
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]*[}]"
1074 for ac_var in ac_pwd srcdir \
1075 bindir sbindir libexecdir datarootdir datadir \
1076 sysconfdir sharedstatedir localstatedir includedir \
1077 oldincludedir docdir infodir htmldir dvidir pdfdir \
1078 psdir libdir localedir mandir
1080 # Remove references to shell or make variables.
1081 eval ac_dir=\$$ac_var
1082 ac_dirx=$ac_dir
1083 while :
1085 case $ac_dirx in
1086 *\${*}*)
1087 ac_dirx=`
1088 expr "X$ac_dirx" : "X\\(.*\\)$ac_pat"`X`
1089 expr "X$ac_dirx" : "X.*$ac_pat\\(.*\\)"`;;
1090 *) break;;
1091 esac
1092 done
1094 # Check for newline, tab, space, and other weird possibilities.
1095 # Preserve that tab character below!
1096 case $ac_dirx in
1097 '' | -* | */-* | *'
1098 '* | *' '* | *' '* | *\"* | *\#* | *\ | *\&* | *\'* | *\(* | *\)* | \
1099 *\** | *\;* | *\<* | *\=* | *\>* | *\?* | *\[* | *\\* | *\`* | \
1100 *\|* | \~*)
1101 { echo "$as_me: error: $ac_var directory name \`$ac_dir' has special characters" >&2
1102 { (exit 1); exit 1; }; };;
1103 esac
1104 done
1105 ac_env_build_alias_set=${build_alias+set}
1106 ac_env_build_alias_value=$build_alias
1107 ac_cv_env_build_alias_set=${build_alias+set}
1108 ac_cv_env_build_alias_value=$build_alias
1109 ac_env_host_alias_set=${host_alias+set}
1110 ac_env_host_alias_value=$host_alias
1111 ac_cv_env_host_alias_set=${host_alias+set}
1112 ac_cv_env_host_alias_value=$host_alias
1113 ac_env_target_alias_set=${target_alias+set}
1114 ac_env_target_alias_value=$target_alias
1115 ac_cv_env_target_alias_set=${target_alias+set}
1116 ac_cv_env_target_alias_value=$target_alias
1117 ac_env_EMACS_set=${EMACS+set}
1118 ac_env_EMACS_value=$EMACS
1119 ac_cv_env_EMACS_set=${EMACS+set}
1120 ac_cv_env_EMACS_value=$EMACS
1121 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
1122 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
1123 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
1124 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
1127 # Report the --help message.
1129 if test "$ac_init_help" = "long"; then
1130 # Omit some internal or obsolete options to make the list less imposing.
1131 # This message is too long to be a string in the A/UX 3.1 sh.
1132 cat <<_ACEOF
1133 \`configure' configures GNU Autoconf 2.59c to adapt to many kinds of systems.
1135 Usage: $0 [OPTION]... [VAR=VALUE]...
1137 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1138 VAR=VALUE. See below for descriptions of some of the useful variables.
1140 Defaults for the options are specified in brackets.
1142 Configuration:
1143 -h, --help display this help and exit
1144 --help=short display options specific to this package
1145 --help=recursive display the short help of all the included packages
1146 -V, --version display version information and exit
1147 -q, --quiet, --silent do not print \`checking...' messages
1148 --cache-file=FILE cache test results in FILE [disabled]
1149 -C, --config-cache alias for \`--cache-file=config.cache'
1150 -n, --no-create do not create output files
1151 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1153 Installation directories:
1154 --prefix=PREFIX install architecture-independent files in PREFIX
1155 [$ac_default_prefix]
1156 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1157 [PREFIX]
1159 By default, \`make install' will install all the files in
1160 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1161 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1162 for instance \`--prefix=\$HOME'.
1164 For better control, use the options below.
1166 Fine tuning of the installation directories:
1167 --bindir=DIR user executables [EPREFIX/bin]
1168 --sbindir=DIR system admin executables [EPREFIX/sbin]
1169 --libexecdir=DIR program executables [EPREFIX/libexec]
1170 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1171 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1172 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1173 --libdir=DIR object code libraries [EPREFIX/lib]
1174 --includedir=DIR C header files [PREFIX/include]
1175 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1176 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1177 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1178 --infodir=DIR info documentation [DATAROOTDIR/info]
1179 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1180 --mandir=DIR man documentation [DATAROOTDIR/man]
1181 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1182 --htmldir=DIR html documentation [DOCDIR]
1183 --dvidir=DIR dvi documentation [DOCDIR]
1184 --pdfdir=DIR pdf documentation [DOCDIR]
1185 --psdir=DIR ps documentation [DOCDIR]
1186 _ACEOF
1188 cat <<\_ACEOF
1190 Program names:
1191 --program-prefix=PREFIX prepend PREFIX to installed program names
1192 --program-suffix=SUFFIX append SUFFIX to installed program names
1193 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1194 _ACEOF
1197 if test -n "$ac_init_help"; then
1198 case $ac_init_help in
1199 short | recursive ) echo "Configuration of GNU Autoconf 2.59c:";;
1200 esac
1201 cat <<\_ACEOF
1203 Optional Packages:
1204 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1205 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1206 --with-lispdir override the default lisp directory
1208 Some influential environment variables:
1209 EMACS the Emacs editor command
1210 EMACSLOADPATH
1211 the Emacs library search path
1213 Use these variables to override the choices made by `configure' or to help
1214 it to find libraries and programs with nonstandard names/locations.
1216 Report bugs to <bug-autoconf@gnu.org>.
1217 _ACEOF
1218 ac_status=$?
1221 if test "$ac_init_help" = "recursive"; then
1222 # If there are subdirs, report their specific --help.
1223 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1224 test -d $ac_dir || continue
1225 ac_builddir=.
1227 case "$ac_dir" in
1228 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1230 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1231 # A ".." for each directory in $ac_dir_suffix.
1232 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1233 case $ac_top_builddir_sub in
1234 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1235 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1236 esac ;;
1237 esac
1238 ac_abs_top_builddir=$ac_pwd
1239 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1240 # for backward compatibility:
1241 ac_top_builddir=$ac_top_build_prefix
1243 case $srcdir in
1244 .) # No --srcdir option. We are building in place.
1245 ac_srcdir=.
1246 ac_top_srcdir=$ac_top_builddir_sub
1247 ac_abs_top_srcdir=$ac_pwd ;;
1248 [\\/]* | ?:[\\/]* ) # Absolute name.
1249 ac_srcdir=$srcdir$ac_dir_suffix;
1250 ac_top_srcdir=$srcdir
1251 ac_abs_top_srcdir=$srcdir ;;
1252 *) # Relative name.
1253 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1254 ac_top_srcdir=$ac_top_build_prefix$srcdir
1255 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1256 esac
1257 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1259 cd $ac_dir || { ac_status=$?; continue; }
1260 # Check for guested configure; otherwise get Cygnus style configure.
1261 if test -f $ac_srcdir/configure.gnu; then
1262 echo &&
1263 $SHELL $ac_srcdir/configure.gnu --help=recursive
1264 elif test -f $ac_srcdir/configure; then
1265 echo &&
1266 $SHELL $ac_srcdir/configure --help=recursive
1267 elif test -f $ac_srcdir/configure.ac ||
1268 test -f $ac_srcdir/configure.in; then
1269 echo &&
1270 $ac_configure --help
1271 else
1272 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1273 fi || ac_status=$?
1274 cd "$ac_pwd" || { ac_status=$?; break; }
1275 done
1278 test -n "$ac_init_help" && exit $ac_status
1279 if $ac_init_version; then
1280 cat <<\_ACEOF
1281 GNU Autoconf configure 2.59c
1282 generated by GNU Autoconf 2.59c
1284 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1285 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
1286 This configure script is free software; the Free Software Foundation
1287 gives unlimited permission to copy, distribute and modify it.
1288 _ACEOF
1289 exit
1291 exec 5>config.log
1292 cat >&5 <<_ACEOF
1293 This file contains any messages produced by compilers while
1294 running configure, to aid debugging if configure makes a mistake.
1296 It was created by GNU Autoconf $as_me 2.59c, which was
1297 generated by GNU Autoconf 2.59c. Invocation command line was
1299 $ $0 $@
1301 _ACEOF
1303 cat <<_ASUNAME
1304 ## --------- ##
1305 ## Platform. ##
1306 ## --------- ##
1308 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1309 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1310 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1311 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1312 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1314 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1315 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1317 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1318 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1319 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1320 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1321 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1322 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1323 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1325 _ASUNAME
1327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1328 for as_dir in $PATH
1330 IFS=$as_save_IFS
1331 test -z "$as_dir" && as_dir=.
1332 echo "PATH: $as_dir"
1333 done
1335 } >&5
1337 cat >&5 <<_ACEOF
1340 ## ----------- ##
1341 ## Core tests. ##
1342 ## ----------- ##
1344 _ACEOF
1347 # Keep a trace of the command line.
1348 # Strip out --no-create and --no-recursion so they do not pile up.
1349 # Strip out --silent because we don't want to record it for future runs.
1350 # Also quote any args containing shell meta-characters.
1351 # Make two passes to allow for proper duplicate-argument suppression.
1352 ac_configure_args=
1353 ac_configure_args0=
1354 ac_configure_args1=
1355 ac_sep=
1356 ac_must_keep_next=false
1357 for ac_pass in 1 2
1359 for ac_arg
1361 case $ac_arg in
1362 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1363 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1364 | -silent | --silent | --silen | --sile | --sil)
1365 continue ;;
1366 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1367 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1368 esac
1369 case $ac_pass in
1370 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1372 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1373 if test $ac_must_keep_next = true; then
1374 ac_must_keep_next=false # Got value, back to normal.
1375 else
1376 case $ac_arg in
1377 *=* | --config-cache | -C | -disable-* | --disable-* \
1378 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1379 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1380 | -with-* | --with-* | -without-* | --without-* | --x)
1381 case "$ac_configure_args0 " in
1382 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1383 esac
1385 -* ) ac_must_keep_next=true ;;
1386 esac
1388 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1389 # Get rid of the leading space.
1390 ac_sep=" "
1392 esac
1393 done
1394 done
1395 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1396 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1398 # When interrupted or exit'd, cleanup temporary files, and complete
1399 # config.log. We remove comments because anyway the quotes in there
1400 # would cause problems or look ugly.
1401 # WARNING: Be sure not to use single quotes in there, as some shells,
1402 # such as our DU 5.0 friend, will then `close' the trap.
1403 trap 'exit_status=$?
1404 # Save into config.log some information that might help in debugging.
1406 echo
1408 cat <<\_ASBOX
1409 ## ---------------- ##
1410 ## Cache variables. ##
1411 ## ---------------- ##
1412 _ASBOX
1413 echo
1414 # The following way of writing the cache mishandles newlines in values,
1416 (set) 2>&1 |
1417 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1418 *ac_space=\ *)
1419 sed -n \
1420 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1424 sed -n \
1425 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1427 esac;
1429 echo
1431 cat <<\_ASBOX
1432 ## ----------------- ##
1433 ## Output variables. ##
1434 ## ----------------- ##
1435 _ASBOX
1436 echo
1437 for ac_var in $ac_subst_vars
1439 eval ac_val=\$$ac_var
1440 echo "$ac_var='"'"'$ac_val'"'"'"
1441 done | sort
1442 echo
1444 if test -n "$ac_subst_files"; then
1445 cat <<\_ASBOX
1446 ## ------------- ##
1447 ## Output files. ##
1448 ## ------------- ##
1449 _ASBOX
1450 echo
1451 for ac_var in $ac_subst_files
1453 eval ac_val=\$$ac_var
1454 echo "$ac_var='"'"'$ac_val'"'"'"
1455 done | sort
1456 echo
1459 if test -s confdefs.h; then
1460 cat <<\_ASBOX
1461 ## ----------- ##
1462 ## confdefs.h. ##
1463 ## ----------- ##
1464 _ASBOX
1465 echo
1466 sed "/^$/d" confdefs.h | sort
1467 echo
1469 test "$ac_signal" != 0 &&
1470 echo "$as_me: caught signal $ac_signal"
1471 echo "$as_me: exit $exit_status"
1472 } >&5
1473 rm -f core *.core core.conftest.* &&
1474 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1475 exit $exit_status
1477 for ac_signal in 1 2 13 15; do
1478 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1479 done
1480 ac_signal=0
1482 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1483 rm -f -r conftest* confdefs.h
1485 # Predefined preprocessor variables.
1487 cat >>confdefs.h <<_ACEOF
1488 #define PACKAGE_NAME "$PACKAGE_NAME"
1489 _ACEOF
1492 cat >>confdefs.h <<_ACEOF
1493 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1494 _ACEOF
1497 cat >>confdefs.h <<_ACEOF
1498 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1499 _ACEOF
1502 cat >>confdefs.h <<_ACEOF
1503 #define PACKAGE_STRING "$PACKAGE_STRING"
1504 _ACEOF
1507 cat >>confdefs.h <<_ACEOF
1508 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1509 _ACEOF
1512 # Let the site file select an alternate cache file if it wants to.
1513 # Prefer explicitly selected file to automatically selected ones.
1514 if test -z "$CONFIG_SITE"; then
1515 if test "x$prefix" != xNONE; then
1516 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1517 else
1518 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1521 for ac_site_file in $CONFIG_SITE; do
1522 if test -r "$ac_site_file"; then
1523 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1524 echo "$as_me: loading site script $ac_site_file" >&6;}
1525 sed 's/^/| /' "$ac_site_file" >&5
1526 . "$ac_site_file"
1528 done
1530 if test -r "$cache_file"; then
1531 # Some versions of bash will fail to source /dev/null (special
1532 # files actually), so we avoid doing that.
1533 if test -f "$cache_file"; then
1534 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1535 echo "$as_me: loading cache $cache_file" >&6;}
1536 case $cache_file in
1537 [\\/]* | ?:[\\/]* ) . $cache_file;;
1538 *) . ./$cache_file;;
1539 esac
1541 else
1542 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1543 echo "$as_me: creating cache $cache_file" >&6;}
1544 >$cache_file
1547 # Check that the precious variables saved in the cache have kept the same
1548 # value.
1549 ac_cache_corrupted=false
1550 for ac_var in `(set) 2>&1 |
1551 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1552 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1553 eval ac_new_set=\$ac_env_${ac_var}_set
1554 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1555 eval ac_new_val=\$ac_env_${ac_var}_value
1556 case $ac_old_set,$ac_new_set in
1557 set,)
1558 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1559 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1560 ac_cache_corrupted=: ;;
1561 ,set)
1562 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1563 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1564 ac_cache_corrupted=: ;;
1565 ,);;
1567 if test "x$ac_old_val" != "x$ac_new_val"; then
1568 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1569 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1570 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1571 echo "$as_me: former value: $ac_old_val" >&2;}
1572 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1573 echo "$as_me: current value: $ac_new_val" >&2;}
1574 ac_cache_corrupted=:
1575 fi;;
1576 esac
1577 # Pass precious variables to config.status.
1578 if test "$ac_new_set" = set; then
1579 case $ac_new_val in
1580 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1581 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1582 *) ac_arg=$ac_var=$ac_new_val ;;
1583 esac
1584 case " $ac_configure_args " in
1585 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1586 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1587 esac
1589 done
1590 if $ac_cache_corrupted; then
1591 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1592 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1593 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1594 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1595 { (exit 1); exit 1; }; }
1598 ac_ext=c
1599 ac_cpp='$CPP $CPPFLAGS'
1600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1633 ac_aux_dir=
1634 for ac_dir in config $srcdir/config; do
1635 if test -f $ac_dir/install-sh; then
1636 ac_aux_dir=$ac_dir
1637 ac_install_sh="$ac_aux_dir/install-sh -c"
1638 break
1639 elif test -f $ac_dir/install.sh; then
1640 ac_aux_dir=$ac_dir
1641 ac_install_sh="$ac_aux_dir/install.sh -c"
1642 break
1643 elif test -f $ac_dir/shtool; then
1644 ac_aux_dir=$ac_dir
1645 ac_install_sh="$ac_aux_dir/shtool install -c"
1646 break
1648 done
1649 if test -z "$ac_aux_dir"; then
1650 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1651 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1652 { (exit 1); exit 1; }; }
1654 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1655 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1656 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1658 ac_config_files="$ac_config_files config/Makefile"
1661 am__api_version="1.9"
1662 # Find a good install program. We prefer a C program (faster),
1663 # so one script is as good as another. But avoid the broken or
1664 # incompatible versions:
1665 # SysV /etc/install, /usr/sbin/install
1666 # SunOS /usr/etc/install
1667 # IRIX /sbin/install
1668 # AIX /bin/install
1669 # AmigaOS /C/install, which installs bootblocks on floppy discs
1670 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1671 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1672 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1673 # OS/2's system install, which has a completely different semantic
1674 # ./install, which can be erroneously created by make from ./install.sh.
1675 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1676 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1677 if test -z "$INSTALL"; then
1678 if test "${ac_cv_path_install+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 else
1681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682 for as_dir in $PATH
1684 IFS=$as_save_IFS
1685 test -z "$as_dir" && as_dir=.
1686 # Account for people who put trailing slashes in PATH elements.
1687 case $as_dir/ in
1688 ./ | .// | /cC/* | \
1689 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1690 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1691 /usr/ucb/* ) ;;
1693 # OSF1 and SCO ODT 3.0 have their own names for install.
1694 # Don't use installbsd from OSF since it installs stuff as root
1695 # by default.
1696 for ac_prog in ginstall scoinst install; do
1697 for ac_exec_ext in '' $ac_executable_extensions; do
1698 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1699 if test $ac_prog = install &&
1700 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1701 # AIX install. It has an incompatible calling convention.
1703 elif test $ac_prog = install &&
1704 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1705 # program-specific install script used by HP pwplus--don't use.
1707 else
1708 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1709 break 3
1712 done
1713 done
1715 esac
1716 done
1720 if test "${ac_cv_path_install+set}" = set; then
1721 INSTALL=$ac_cv_path_install
1722 else
1723 # As a last resort, use the slow shell script. Don't cache a
1724 # value for INSTALL within a source directory, because that will
1725 # break other packages using the cache if that directory is
1726 # removed, or if the value is a relative name.
1727 INSTALL=$ac_install_sh
1730 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1731 echo "${ECHO_T}$INSTALL" >&6; }
1733 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1734 # It thinks the first close brace ends the variable substitution.
1735 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1737 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1739 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1741 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1742 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1743 # Just in case
1744 sleep 1
1745 echo timestamp > conftest.file
1746 # Do `set' in a subshell so we don't clobber the current shell's
1747 # arguments. Must try -L first in case configure is actually a
1748 # symlink; some systems play weird games with the mod time of symlinks
1749 # (eg FreeBSD returns the mod time of the symlink's containing
1750 # directory).
1751 if (
1752 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1753 if test "$*" = "X"; then
1754 # -L didn't work.
1755 set X `ls -t $srcdir/configure conftest.file`
1757 rm -f conftest.file
1758 if test "$*" != "X $srcdir/configure conftest.file" \
1759 && test "$*" != "X conftest.file $srcdir/configure"; then
1761 # If neither matched, then we have a broken ls. This can happen
1762 # if, for instance, CONFIG_SHELL is bash and it inherits a
1763 # broken ls alias from the environment. This has actually
1764 # happened. Such a system could not be considered "sane".
1765 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1766 alias in your environment" >&5
1767 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1768 alias in your environment" >&2;}
1769 { (exit 1); exit 1; }; }
1772 test "$2" = conftest.file
1774 then
1775 # Ok.
1777 else
1778 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1779 Check your system clock" >&5
1780 echo "$as_me: error: newly created file is older than distributed files!
1781 Check your system clock" >&2;}
1782 { (exit 1); exit 1; }; }
1784 { echo "$as_me:$LINENO: result: yes" >&5
1785 echo "${ECHO_T}yes" >&6; }
1786 test "$program_prefix" != NONE &&
1787 program_transform_name="s|^|$program_prefix|;$program_transform_name"
1788 # Use a double $ so make ignores it.
1789 test "$program_suffix" != NONE &&
1790 program_transform_name="s|\$|$program_suffix|;$program_transform_name"
1791 # Double any \ or $. echo might interpret backslashes.
1792 # By default was `s,x,x', remove it if useless.
1793 cat <<\_ACEOF >conftest.sed
1794 s/[\\$]/&&/g;s/;s,x,x,$//
1795 _ACEOF
1796 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1797 rm -f conftest.sed
1799 # expand $ac_aux_dir to an absolute path
1800 am_aux_dir=`cd $ac_aux_dir && pwd`
1802 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1803 # Use eval to expand $SHELL
1804 if eval "$MISSING --run true"; then
1805 am_missing_run="$MISSING --run "
1806 else
1807 am_missing_run=
1808 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1809 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1812 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1813 # We used to keeping the `.' as first argument, in order to
1814 # allow $(mkdir_p) to be used without argument. As in
1815 # $(mkdir_p) $(somedir)
1816 # where $(somedir) is conditionally defined. However this is wrong
1817 # for two reasons:
1818 # 1. if the package is installed by a user who cannot write `.'
1819 # make install will fail,
1820 # 2. the above comment should most certainly read
1821 # $(mkdir_p) $(DESTDIR)$(somedir)
1822 # so it does not work when $(somedir) is undefined and
1823 # $(DESTDIR) is not.
1824 # To support the latter case, we have to write
1825 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1826 # so the `.' trick is pointless.
1827 mkdir_p='mkdir -p --'
1828 else
1829 # On NextStep and OpenStep, the `mkdir' command does not
1830 # recognize any option. It will interpret all options as
1831 # directories to create, and then abort because `.' already
1832 # exists.
1833 for d in ./-p ./--version;
1835 test -d $d && rmdir $d
1836 done
1837 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1838 if test -f "$ac_aux_dir/mkinstalldirs"; then
1839 mkdir_p='$(mkinstalldirs)'
1840 else
1841 mkdir_p='$(install_sh) -d'
1845 for ac_prog in gawk mawk nawk awk
1847 # Extract the first word of "$ac_prog", so it can be a program name with args.
1848 set dummy $ac_prog; ac_word=$2
1849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1851 if test "${ac_cv_prog_AWK+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 else
1854 if test -n "$AWK"; then
1855 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1856 else
1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858 for as_dir in $PATH
1860 IFS=$as_save_IFS
1861 test -z "$as_dir" && as_dir=.
1862 for ac_exec_ext in '' $ac_executable_extensions; do
1863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1864 ac_cv_prog_AWK="$ac_prog"
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1866 break 2
1868 done
1869 done
1873 AWK=$ac_cv_prog_AWK
1874 if test -n "$AWK"; then
1875 { echo "$as_me:$LINENO: result: $AWK" >&5
1876 echo "${ECHO_T}$AWK" >&6; }
1877 else
1878 { echo "$as_me:$LINENO: result: no" >&5
1879 echo "${ECHO_T}no" >&6; }
1882 test -n "$AWK" && break
1883 done
1885 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1886 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1887 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1888 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891 cat >conftest.make <<\_ACEOF
1892 SHELL = /bin/sh
1893 all:
1894 @echo 'ac_maketemp=X"$(MAKE)"'
1895 _ACEOF
1896 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1897 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1898 if test "$ac_maketemp" != X ; then
1899 eval ac_cv_prog_make_${ac_make}_set=yes
1900 else
1901 eval ac_cv_prog_make_${ac_make}_set=no
1903 rm -f conftest.make
1905 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1906 { echo "$as_me:$LINENO: result: yes" >&5
1907 echo "${ECHO_T}yes" >&6; }
1908 SET_MAKE=
1909 else
1910 { echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6; }
1912 SET_MAKE="MAKE=${MAKE-make}"
1915 rm -rf .tst 2>/dev/null
1916 mkdir .tst 2>/dev/null
1917 if test -d .tst; then
1918 am__leading_dot=.
1919 else
1920 am__leading_dot=_
1922 rmdir .tst 2>/dev/null
1924 # test to see if srcdir already configured
1925 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1926 test -f $srcdir/config.status; then
1927 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1928 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1929 { (exit 1); exit 1; }; }
1932 # test whether we have cygpath
1933 if test -z "$CYGPATH_W"; then
1934 if (cygpath --version) >/dev/null 2>/dev/null; then
1935 CYGPATH_W='cygpath -w'
1936 else
1937 CYGPATH_W=echo
1942 # Define the identity of the package.
1943 PACKAGE='autoconf'
1944 VERSION='2.59c'
1947 cat >>confdefs.h <<_ACEOF
1948 #define PACKAGE "$PACKAGE"
1949 _ACEOF
1952 cat >>confdefs.h <<_ACEOF
1953 #define VERSION "$VERSION"
1954 _ACEOF
1956 # Some tools Automake needs.
1958 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1961 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1964 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1967 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1970 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1972 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1974 # Installed binaries are usually stripped using `strip' when the user
1975 # run `make install-strip'. However `strip' might not be the right
1976 # tool to use in cross-compilation environments, therefore Automake
1977 # will honor the `STRIP' environment variable to overrule this program.
1978 if test "$cross_compiling" != no; then
1979 if test -n "$ac_tool_prefix"; then
1980 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1981 set dummy ${ac_tool_prefix}strip; ac_word=$2
1982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1984 if test "${ac_cv_prog_STRIP+set}" = set; then
1985 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 else
1987 if test -n "$STRIP"; then
1988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1989 else
1990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1991 for as_dir in $PATH
1993 IFS=$as_save_IFS
1994 test -z "$as_dir" && as_dir=.
1995 for ac_exec_ext in '' $ac_executable_extensions; do
1996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1997 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999 break 2
2001 done
2002 done
2006 STRIP=$ac_cv_prog_STRIP
2007 if test -n "$STRIP"; then
2008 { echo "$as_me:$LINENO: result: $STRIP" >&5
2009 echo "${ECHO_T}$STRIP" >&6; }
2010 else
2011 { echo "$as_me:$LINENO: result: no" >&5
2012 echo "${ECHO_T}no" >&6; }
2016 if test -z "$ac_cv_prog_STRIP"; then
2017 ac_ct_STRIP=$STRIP
2018 # Extract the first word of "strip", so it can be a program name with args.
2019 set dummy strip; ac_word=$2
2020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2022 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 else
2025 if test -n "$ac_ct_STRIP"; then
2026 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2027 else
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 for as_dir in $PATH
2031 IFS=$as_save_IFS
2032 test -z "$as_dir" && as_dir=.
2033 for ac_exec_ext in '' $ac_executable_extensions; do
2034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2035 ac_cv_prog_ac_ct_STRIP="strip"
2036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2037 break 2
2039 done
2040 done
2044 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2045 if test -n "$ac_ct_STRIP"; then
2046 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2047 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2048 else
2049 { echo "$as_me:$LINENO: result: no" >&5
2050 echo "${ECHO_T}no" >&6; }
2053 if test "x$ac_ct_STRIP" = x; then
2054 STRIP=":"
2055 else
2056 if test "$build" != "$host"; then
2057 { echo "$as_me:$LINENO: 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." >&5
2060 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2061 whose name does not start with the host triplet. If you think this
2062 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2064 STRIP=$ac_ct_STRIP
2066 else
2067 STRIP="$ac_cv_prog_STRIP"
2071 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2073 # We need awk for the "check" target. The system "awk" is bad on
2074 # some platforms.
2075 # Always define AMTAR for backward compatibility.
2077 AMTAR=${AMTAR-"${am_missing_run}tar"}
2079 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2086 # We use `/bin/sh -n script' to check that there are no syntax errors
2087 # in the scripts. Although incredible, there are /bin/sh that go into
2088 # endless loops with `-n', e.g., SunOS's:
2090 # $ uname -a
2091 # SunOS ondine 4.1.3 2 sun4m unknown
2092 # $ cat endless.sh
2093 # while false
2094 # do
2096 # done
2097 # exit 0
2098 # $ time sh endless.sh
2099 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2100 # $ time sh -nx endless.sh
2101 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2103 # So before using `/bin/sh -n' to check our scripts, we first check
2104 # that `/bin/sh -n' is not broken to death.
2106 # A script that never returns. We don't care that it never returns,
2107 # broken /bin/sh loop equally with `false', but it makes it easier to
2108 # test the robustness in a good environment: just remove the `-n'.
2109 { echo "$as_me:$LINENO: checking whether sh -n works" >&5
2110 echo $ECHO_N "checking whether sh -n works... $ECHO_C" >&6; }
2111 if test "${ac_cv_sh_n_works+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 else
2114 cat > conftest.sh <<_CONFEOF_
2115 while :
2118 done
2119 _CONFEOF_
2121 (/bin/sh -n conftest.sh) &
2122 sleep 2
2123 if kill $! >/dev/null 2>&1; then
2124 # We managed to kill the child, which means that we probably
2125 # can't trust `/bin/sh -n', hence the test failed.
2126 ac_cv_sh_n_works=no
2127 else
2128 ac_cv_sh_n_works=yes
2130 rm conftest.sh
2133 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2134 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2137 # Initialize the test suite.
2138 ac_config_commands="$ac_config_commands tests/atconfig"
2141 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2143 # Extract the first word of "expr", so it can be a program name with args.
2144 set dummy expr; ac_word=$2
2145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2147 if test "${ac_cv_path_EXPR+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 else
2150 case $EXPR in
2151 [\\/]* | ?:[\\/]*)
2152 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156 for as_dir in $PATH
2158 IFS=$as_save_IFS
2159 test -z "$as_dir" && as_dir=.
2160 for ac_exec_ext in '' $ac_executable_extensions; do
2161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2162 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2164 break 2
2166 done
2167 done
2170 esac
2172 EXPR=$ac_cv_path_EXPR
2174 if test -n "$EXPR"; then
2175 { echo "$as_me:$LINENO: result: $EXPR" >&5
2176 echo "${ECHO_T}$EXPR" >&6; }
2177 else
2178 { echo "$as_me:$LINENO: result: no" >&5
2179 echo "${ECHO_T}no" >&6; }
2184 ## ---- ##
2185 ## M4. ##
2186 ## ---- ##
2188 # We use an absolute name for GNU m4 so even if users have another m4 first in
2189 # their path, the installer can configure with a path that has GNU m4
2190 # first and get that path embedded in the installed autoconf and
2191 # autoheader scripts.
2192 for ac_prog in gm4 gnum4 m4
2194 # Extract the first word of "$ac_prog", so it can be a program name with args.
2195 set dummy $ac_prog; ac_word=$2
2196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2198 if test "${ac_cv_path_M4+set}" = set; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 else
2201 case $M4 in
2202 [\\/]* | ?:[\\/]*)
2203 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH
2209 IFS=$as_save_IFS
2210 test -z "$as_dir" && as_dir=.
2211 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2213 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215 break 2
2217 done
2218 done
2221 esac
2223 M4=$ac_cv_path_M4
2225 if test -n "$M4"; then
2226 { echo "$as_me:$LINENO: result: $M4" >&5
2227 echo "${ECHO_T}$M4" >&6; }
2228 else
2229 { echo "$as_me:$LINENO: result: no" >&5
2230 echo "${ECHO_T}no" >&6; }
2233 test -n "$M4" && break
2234 done
2235 test -n "$M4" || M4="m4"
2237 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2238 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2239 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2240 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 else
2242 ac_cv_prog_gnu_m4=no
2243 if test x"$M4" != x; then
2244 case `$M4 --help < /dev/null 2>&1` in
2245 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2246 esac
2249 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2250 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2251 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2252 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2253 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2254 { (exit 1); exit 1; }; }
2257 ## ----------- ##
2258 ## Man pages. ##
2259 ## ----------- ##
2261 ac_config_files="$ac_config_files man/Makefile"
2264 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2268 ## ------ ##
2269 ## Perl. ##
2270 ## ------ ##
2272 # We use an absolute name for perl so the #! line in autoscan will work.
2273 # Extract the first word of "perl", so it can be a program name with args.
2274 set dummy perl; ac_word=$2
2275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2277 if test "${ac_cv_path_PERL+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 else
2280 case $PERL in
2281 [\\/]* | ?:[\\/]*)
2282 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 for as_dir in $PATH
2288 IFS=$as_save_IFS
2289 test -z "$as_dir" && as_dir=.
2290 for ac_exec_ext in '' $ac_executable_extensions; do
2291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2292 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 break 2
2296 done
2297 done
2299 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2301 esac
2303 PERL=$ac_cv_path_PERL
2305 if test -n "$PERL"; then
2306 { echo "$as_me:$LINENO: result: $PERL" >&5
2307 echo "${ECHO_T}$PERL" >&6; }
2308 else
2309 { echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6; }
2313 if test "$PERL" = no; then
2314 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2315 echo "$as_me: error: perl is not found" >&2;}
2316 { (exit 1); exit 1; }; }
2318 $PERL -e 'require 5.005_03;' || {
2319 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2320 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2321 { (exit 1); exit 1; }; }
2325 ## ------- ##
2326 ## Emacs. ##
2327 ## ------- ##
2329 ac_config_files="$ac_config_files lib/emacs/Makefile"
2331 TEST_EMACS=$EMACS
2332 test x"$TEST_EMACS" = xt && TEST_EMACS=
2333 for ac_prog in emacs xemacs
2335 # Extract the first word of "$ac_prog", so it can be a program name with args.
2336 set dummy $ac_prog; ac_word=$2
2337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2339 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 else
2342 if test -n "$TEST_EMACS"; then
2343 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2344 else
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 for as_dir in $PATH
2348 IFS=$as_save_IFS
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2352 ac_cv_prog_TEST_EMACS="$ac_prog"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 break 2
2356 done
2357 done
2361 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2362 if test -n "$TEST_EMACS"; then
2363 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2364 echo "${ECHO_T}$TEST_EMACS" >&6; }
2365 else
2366 { echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6; }
2370 test -n "$TEST_EMACS" && break
2371 done
2372 test -n "$TEST_EMACS" || TEST_EMACS="no"
2375 # autoconf-mode.el and autotest-mode.el do not work with older version of
2376 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2377 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2378 # We detect this problem here.
2379 if test "$TEST_EMACS" != no; then
2380 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2381 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2382 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 else
2385 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2386 cat >conftest.el << "EOF"
2387 (defvar broken)
2388 (defun broken-mode () (setq broken-defaults `(broken nil)))
2390 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2391 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2392 ac_status=$?
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }; then
2395 ac_cv_prog_emacs_ok=yes
2396 else
2397 ac_cv_prog_emacs_ok=no
2400 rm -f conftest.el conftest.elc
2402 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2403 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2404 if test $ac_cv_prog_emacs_ok = no; then
2405 TEST_EMACS=no
2411 EMACS=$TEST_EMACS
2414 # If set to t, that means we are running in a shell under Emacs.
2415 # If you have an Emacs named "t", then use the full path.
2416 test x"$EMACS" = xt && EMACS=
2417 for ac_prog in emacs xemacs
2419 # Extract the first word of "$ac_prog", so it can be a program name with args.
2420 set dummy $ac_prog; ac_word=$2
2421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2423 if test "${ac_cv_prog_EMACS+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 else
2426 if test -n "$EMACS"; then
2427 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2428 else
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 for as_dir in $PATH
2432 IFS=$as_save_IFS
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2436 ac_cv_prog_EMACS="$ac_prog"
2437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438 break 2
2440 done
2441 done
2445 EMACS=$ac_cv_prog_EMACS
2446 if test -n "$EMACS"; then
2447 { echo "$as_me:$LINENO: result: $EMACS" >&5
2448 echo "${ECHO_T}$EMACS" >&6; }
2449 else
2450 { echo "$as_me:$LINENO: result: no" >&5
2451 echo "${ECHO_T}no" >&6; }
2454 test -n "$EMACS" && break
2455 done
2456 test -n "$EMACS" || EMACS="no"
2461 # Check whether --with-lispdir or --without-lispdir was given.
2462 if test "${with_lispdir+set}" = set; then
2463 withval="$with_lispdir"
2464 lispdir="$withval"
2465 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2466 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2467 { echo "$as_me:$LINENO: result: $lispdir" >&5
2468 echo "${ECHO_T}$lispdir" >&6; }
2469 else
2471 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2472 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2473 if test "${am_cv_lispdir+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2475 else
2477 if test $EMACS != "no"; then
2478 if test x${lispdir+set} != xset; then
2479 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2480 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2481 # which is non-obvious for non-emacs users.
2482 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2483 # emacsen earlier and avoid running this altogether.
2484 { (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
2485 ($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
2486 ac_status=$?
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }
2489 am_cv_lispdir=`sed -n \
2490 -e 's,/$,,' \
2491 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2492 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2493 conftest.out`
2494 rm conftest.out
2497 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2500 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2501 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2502 lispdir="$am_cv_lispdir"
2509 ## ------------ ##
2510 ## Grep & sed. ##
2511 ## ------------ ##
2512 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2513 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2514 if test "${ac_cv_path_GREP+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 else
2517 # Extract the first word of "grep ggrep" to use in msg output
2518 if test -z "$GREP"; then
2519 set dummy grep ggrep; ac_prog_name=$2
2520 if test "${ac_cv_path_GREP+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 else
2523 ac_path_GREP_found=false
2524 # Loop through the user's path and test for each of PROGNAME-LIST
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526 as_dummy="$PATH:/usr/xpg4/bin"
2527 for as_dir in $as_dummy
2529 IFS=$as_save_IFS
2530 test -z "$as_dir" && as_dir=.
2531 for ac_prog in grep ggrep; do
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2534 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2535 # Check for GNU ac_path_GREP and select it if it is found.
2536 # Check for GNU $ac_path_GREP
2537 case `"$ac_path_GREP" --version 2>&1` in
2538 *GNU*)
2539 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2541 ac_count=0
2542 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2543 while :
2545 cat "conftest.in" "conftest.in" >"conftest.tmp"
2546 mv "conftest.tmp" "conftest.in"
2547 cp "conftest.in" "conftest.nl"
2548 echo 'GREP' >> "conftest.nl"
2549 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2550 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2551 ac_count=`expr $ac_count + 1`
2552 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2553 # Best one so far, save it but keep looking for a better one
2554 ac_cv_path_GREP="$ac_path_GREP"
2555 ac_path_GREP_max=$ac_count
2557 # 10*(2^10) chars as input seems more than enough
2558 test $ac_count -gt 10 && break
2559 done
2560 rm -f conftest.*;;
2561 esac
2564 $ac_path_GREP_found && break 3
2565 done
2566 done
2568 done
2573 GREP="$ac_cv_path_GREP"
2574 if test -z "$GREP"; then
2575 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2576 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2577 { (exit 1); exit 1; }; }
2580 else
2581 ac_cv_path_GREP=$GREP
2586 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2587 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2588 GREP="$ac_cv_path_GREP"
2591 { echo "$as_me:$LINENO: checking for egrep" >&5
2592 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2593 if test "${ac_cv_path_EGREP+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
2595 else
2596 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2597 then ac_cv_path_EGREP="$GREP -E"
2598 else
2599 # Extract the first word of "egrep" to use in msg output
2600 if test -z "$EGREP"; then
2601 set dummy egrep; ac_prog_name=$2
2602 if test "${ac_cv_path_EGREP+set}" = set; then
2603 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 else
2605 ac_path_EGREP_found=false
2606 # Loop through the user's path and test for each of PROGNAME-LIST
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 as_dummy="$PATH:/usr/xpg4/bin"
2609 for as_dir in $as_dummy
2611 IFS=$as_save_IFS
2612 test -z "$as_dir" && as_dir=.
2613 for ac_prog in egrep; do
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2616 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2617 # Check for GNU ac_path_EGREP and select it if it is found.
2618 # Check for GNU $ac_path_EGREP
2619 case `"$ac_path_EGREP" --version 2>&1` in
2620 *GNU*)
2621 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2623 ac_count=0
2624 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2625 while :
2627 cat "conftest.in" "conftest.in" >"conftest.tmp"
2628 mv "conftest.tmp" "conftest.in"
2629 cp "conftest.in" "conftest.nl"
2630 echo 'EGREP' >> "conftest.nl"
2631 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2632 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2633 ac_count=`expr $ac_count + 1`
2634 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2635 # Best one so far, save it but keep looking for a better one
2636 ac_cv_path_EGREP="$ac_path_EGREP"
2637 ac_path_EGREP_max=$ac_count
2639 # 10*(2^10) chars as input seems more than enough
2640 test $ac_count -gt 10 && break
2641 done
2642 rm -f conftest.*;;
2643 esac
2646 $ac_path_EGREP_found && break 3
2647 done
2648 done
2650 done
2655 EGREP="$ac_cv_path_EGREP"
2656 if test -z "$EGREP"; then
2657 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2658 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2659 { (exit 1); exit 1; }; }
2662 else
2663 ac_cv_path_EGREP=$EGREP
2669 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2670 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2671 EGREP="$ac_cv_path_EGREP"
2674 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2675 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2676 if test "${ac_cv_path_SED+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2678 else
2679 # Extract the first word of "sed gsed" to use in msg output
2680 if test -z "$SED"; then
2681 set dummy sed gsed; ac_prog_name=$2
2682 if test "${ac_cv_path_SED+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 else
2685 ac_path_SED_found=false
2686 # Loop through the user's path and test for each of PROGNAME-LIST
2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688 for as_dir in $PATH
2690 IFS=$as_save_IFS
2691 test -z "$as_dir" && as_dir=.
2692 for ac_prog in sed gsed; do
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2695 { test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
2696 # Check for GNU ac_path_SED and select it if it is found.
2697 # Check for GNU $ac_path_SED
2698 case `"$ac_path_SED" --version 2>&1` in
2699 *GNU*)
2700 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2702 ac_count=0
2703 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2704 while :
2706 cat "conftest.in" "conftest.in" >"conftest.tmp"
2707 mv "conftest.tmp" "conftest.in"
2708 cp "conftest.in" "conftest.nl"
2709 echo '' >> "conftest.nl"
2710 "$ac_path_SED" -e 's/a$//' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2711 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2712 ac_count=`expr $ac_count + 1`
2713 if test $ac_count -gt ${ac_path_SED_max-0}; then
2714 # Best one so far, save it but keep looking for a better one
2715 ac_cv_path_SED="$ac_path_SED"
2716 ac_path_SED_max=$ac_count
2718 # 10*(2^10) chars as input seems more than enough
2719 test $ac_count -gt 10 && break
2720 done
2721 rm -f conftest.*;;
2722 esac
2725 $ac_path_SED_found && break 3
2726 done
2727 done
2729 done
2734 SED="$ac_cv_path_SED"
2735 if test -z "$SED"; then
2736 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2737 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2738 { (exit 1); exit 1; }; }
2741 else
2742 ac_cv_path_SED=$SED
2746 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2747 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2748 SED="$ac_cv_path_SED"
2753 ## ------------ ##
2754 ## Conclusion. ##
2755 ## ------------ ##
2757 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"
2760 cat >confcache <<\_ACEOF
2761 # This file is a shell script that caches the results of configure
2762 # tests run on this system so they can be shared between configure
2763 # scripts and configure runs, see configure's option --config-cache.
2764 # It is not useful on other systems. If it contains results you don't
2765 # want to keep, you may remove or edit it.
2767 # config.status only pays attention to the cache file if you give it
2768 # the --recheck option to rerun configure.
2770 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2771 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2772 # following values.
2774 _ACEOF
2776 # The following way of writing the cache mishandles newlines in values,
2777 # but we know of no workaround that is simple, portable, and efficient.
2778 # So, don't put newlines in cache variables' values.
2779 # Ultrix sh set writes to stderr and can't be redirected directly,
2780 # and sets the high bit in the cache file unless we assign to the vars.
2782 (set) 2>&1 |
2783 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2784 *ac_space=\ *)
2785 # `set' does not quote correctly, so add quotes (double-quote
2786 # substitution turns \\\\ into \\, and sed turns \\ into \).
2787 sed -n \
2788 "s/'/'\\\\''/g;
2789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2792 # `set' quotes correctly as required by POSIX, so do not add quotes.
2793 sed -n \
2794 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2796 esac;
2798 sed '
2799 t clear
2800 :clear
2801 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2802 t end
2803 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2804 :end' >>confcache
2805 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2806 if test -w $cache_file; then
2807 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2808 cat confcache >$cache_file
2809 else
2810 echo "not updating unwritable cache $cache_file"
2813 rm -f confcache
2815 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2816 # Let make expand exec_prefix.
2817 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2819 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2820 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2821 # trailing colons and then remove the whole line if VPATH becomes empty
2822 # (actually we leave an empty line to preserve line numbers).
2823 if test "x$srcdir" = x.; then
2824 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2825 s/:*\$(srcdir):*/:/;
2826 s/:*\${srcdir}:*/:/;
2827 s/:*@srcdir@:*/:/;
2828 s/^\([^=]*=[ ]*\):*/\1/;
2829 s/:*$//;
2830 s/^[^=]*=[ ]*$//;
2834 # Transform confdefs.h into DEFS.
2835 # Protect against shell expansion while executing Makefile rules.
2836 # Protect against Makefile macro expansion.
2838 # If the first sed substitution is executed (which looks for macros that
2839 # take arguments), then we branch to the quote section. Otherwise,
2840 # look for a macro that doesn't take arguments.
2841 cat >confdef2opt.sed <<\_ACEOF
2842 t clear
2843 :clear
2844 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2845 t quote
2846 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2847 t quote
2849 :quote
2850 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2851 s,\[,\\&,g
2852 s,\],\\&,g
2853 s,\$,$$,g
2855 _ACEOF
2856 # We use echo to avoid assuming a particular line-breaking character.
2857 # The extra dot is to prevent the shell from consuming trailing
2858 # line-breaks from the sub-command output. A line-break within
2859 # single-quotes doesn't work because, if this script is created in a
2860 # platform that uses two characters for line-breaks (e.g., DOS), tr
2861 # would break.
2862 ac_LF_and_DOT=`echo; echo .`
2863 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2864 rm -f confdef2opt.sed
2867 ac_libobjs=
2868 ac_ltlibobjs=
2869 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2870 # 1. Remove the extension, and $U if already installed.
2871 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2872 ac_i=`echo "$ac_i" | sed "$ac_script"`
2873 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2874 # will be set to the directory where LIBOBJS objects are built.
2875 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2876 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2877 done
2878 LIBOBJS=$ac_libobjs
2880 LTLIBOBJS=$ac_ltlibobjs
2884 : ${CONFIG_STATUS=./config.status}
2885 ac_clean_files_save=$ac_clean_files
2886 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2887 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2888 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2889 cat >$CONFIG_STATUS <<_ACEOF
2890 #! $SHELL
2891 # Generated by $as_me.
2892 # Run this file to recreate the current configuration.
2893 # Compiler output produced by configure, useful for debugging
2894 # configure, is in config.log if it exists.
2896 debug=false
2897 ac_cs_recheck=false
2898 ac_cs_silent=false
2899 SHELL=\${CONFIG_SHELL-$SHELL}
2900 _ACEOF
2902 cat >>$CONFIG_STATUS <<\_ACEOF
2903 ## --------------------- ##
2904 ## M4sh Initialization. ##
2905 ## --------------------- ##
2907 # Be Bourne compatible
2908 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2909 emulate sh
2910 NULLCMD=:
2911 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2912 # is contrary to our usage. Disable this feature.
2913 alias -g '${1+"$@"}'='"$@"'
2914 setopt NO_GLOB_SUBST
2915 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2916 set -o posix
2918 BIN_SH=xpg4; export BIN_SH # for Tru64
2919 DUALCASE=1; export DUALCASE # for MKS sh
2922 # PATH needs CR
2923 # Avoid depending upon Character Ranges.
2924 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2925 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2926 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2927 as_cr_digits='0123456789'
2928 as_cr_alnum=$as_cr_Letters$as_cr_digits
2930 # The user is always right.
2931 if test "${PATH_SEPARATOR+set}" != set; then
2932 echo "#! /bin/sh" >conf$$.sh
2933 echo "exit 0" >>conf$$.sh
2934 chmod +x conf$$.sh
2935 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2936 PATH_SEPARATOR=';'
2937 else
2938 PATH_SEPARATOR=:
2940 rm -f conf$$.sh
2943 # Support unset when possible.
2944 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2945 as_unset=unset
2946 else
2947 as_unset=false
2951 # Find who we are. Look in the path if we contain no path at all
2952 # relative or not.
2953 case $0 in
2954 *[\\/]* ) as_myself=$0 ;;
2955 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 for as_dir in $PATH
2958 IFS=$as_save_IFS
2959 test -z "$as_dir" && as_dir=.
2960 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2961 done
2964 esac
2965 # We did not find ourselves, most probably we were run as `sh COMMAND'
2966 # in which case we are not to be found in the path.
2967 if test "x$as_myself" = x; then
2968 as_myself=$0
2970 if test ! -f "$as_myself"; then
2971 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
2972 echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
2973 { (exit 1); exit 1; }; }
2976 # Work around bugs in pre-3.0 UWIN ksh.
2977 for as_var in ENV MAIL MAILPATH
2978 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2979 done
2980 PS1='$ '
2981 PS2='> '
2982 PS4='+ '
2984 # NLS nuisances.
2985 for as_var in \
2986 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2987 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2988 LC_TELEPHONE LC_TIME
2990 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2991 eval $as_var=C; export $as_var
2992 else
2993 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2995 done
2997 # Required to use basename.
2998 if expr a : '\(a\)' >/dev/null 2>&1; then
2999 as_expr=expr
3000 else
3001 as_expr=false
3004 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3005 as_basename=basename
3006 else
3007 as_basename=false
3011 # Name of the executable.
3012 as_me=`$as_basename "$0" ||
3013 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3014 X"$0" : 'X\(//\)$' \| \
3015 X"$0" : 'X\(/\)$' \| \
3016 . : '\(.\)' 2>/dev/null ||
3017 echo X/"$0" |
3018 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3019 /^X\/\(\/\/\)$/{ s//\1/; q; }
3020 /^X\/\(\/\).*/{ s//\1/; q; }
3021 s/.*/./; q'`
3026 as_lineno_1=$LINENO
3027 as_lineno_2=$LINENO
3028 test "x$as_lineno_1" != "x$as_lineno_2" &&
3029 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3031 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3032 # uniformly replaced by the line number. The first 'sed' inserts a
3033 # line-number line after each line using $LINENO; the second 'sed'
3034 # does the real work. The second script uses 'N' to pair each
3035 # line-number line with the line containing $LINENO, and appends
3036 # trailing '-' during substitution so that $LINENO is not a special
3037 # case at line end.
3038 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3039 # scripts with optimization help from Paolo Bonzini. Blame Lee
3040 # E. McMahon (1931-1989) for sed's syntax. :-)
3041 sed -n '
3043 /[$]LINENO/=
3044 ' <$as_myself |
3045 sed '
3046 s,[$]LINENO.*,&-,
3047 t lineno
3049 :lineno
3051 :loop
3052 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
3053 t loop
3054 s,-\n.*,,
3055 ' >$as_me.lineno &&
3056 chmod +x $as_me.lineno ||
3057 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3058 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3059 { (exit 1); exit 1; }; }
3061 # Don't try to exec as it changes $[0], causing all sort of problems
3062 # (the dirname of $[0] is not the place where we might find the
3063 # original and so on. Autoconf is especially sensible to this).
3064 . ./$as_me.lineno
3065 # Exit status is that of the last command.
3066 exit
3070 ECHO_C= ECHO_N= ECHO_T=
3071 case `echo -n x` in
3072 -n*)
3073 case `echo 'x\c'` in
3074 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3075 *) ECHO_C='\c';;
3076 esac;;
3078 ECHO_N='-n';;
3079 esac
3081 if expr a : '\(a\)' >/dev/null 2>&1; then
3082 as_expr=expr
3083 else
3084 as_expr=false
3087 rm -f conf$$ conf$$.exe conf$$.file
3088 echo >conf$$.file
3089 if ln -s conf$$.file conf$$ 2>/dev/null; then
3090 # We could just check for DJGPP; but this test a) works b) is more generic
3091 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3092 if test -f conf$$.exe; then
3093 # Don't use ln at all; we don't have any links
3094 as_ln_s='cp -p'
3095 else
3096 as_ln_s='ln -s'
3098 elif ln conf$$.file conf$$ 2>/dev/null; then
3099 as_ln_s=ln
3100 else
3101 as_ln_s='cp -p'
3103 rm -f conf$$ conf$$.exe conf$$.file
3105 if mkdir -p . 2>/dev/null; then
3106 as_mkdir_p=:
3107 else
3108 test -d ./-p && rmdir ./-p
3109 as_mkdir_p=false
3112 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3113 # systems may use methods other than mode bits to determine executability.
3114 cat >conf$$.file <<_ASEOF
3115 #! /bin/sh
3116 exit 0
3117 _ASEOF
3118 chmod +x conf$$.file
3119 if test -x conf$$.file >/dev/null 2>&1; then
3120 as_executable_p="test -x"
3121 else
3122 as_executable_p=:
3124 rm -f conf$$.file
3126 # Sed expression to map a string onto a valid CPP name.
3127 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3129 # Sed expression to map a string onto a valid variable name.
3130 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3133 # IFS
3134 # We need space, tab and new line, in precisely that order.
3135 as_nl='
3137 IFS=" $as_nl"
3139 # CDPATH.
3140 $as_unset CDPATH
3142 exec 6>&1
3144 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3145 # report actual input values of CONFIG_FILES etc. instead of their
3146 # values after options handling. Logging --version etc. is OK.
3147 exec 5>>config.log
3149 echo
3150 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3151 ## Running $as_me. ##
3152 _ASBOX
3153 } >&5
3154 cat >&5 <<_CSEOF
3156 This file was extended by GNU Autoconf $as_me 2.59c, which was
3157 generated by GNU Autoconf 2.59c. Invocation command line was
3159 CONFIG_FILES = $CONFIG_FILES
3160 CONFIG_HEADERS = $CONFIG_HEADERS
3161 CONFIG_LINKS = $CONFIG_LINKS
3162 CONFIG_COMMANDS = $CONFIG_COMMANDS
3163 $ $0 $@
3165 _CSEOF
3166 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3167 echo >&5
3168 _ACEOF
3170 # Files that config.status was made for.
3171 if test -n "$ac_config_files"; then
3172 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3175 if test -n "$ac_config_headers"; then
3176 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3179 if test -n "$ac_config_links"; then
3180 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3183 if test -n "$ac_config_commands"; then
3184 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3187 cat >>$CONFIG_STATUS <<\_ACEOF
3189 ac_cs_usage="\
3190 \`$as_me' instantiates files from templates according to the
3191 current configuration.
3193 Usage: $0 [OPTIONS] [FILE]...
3195 -h, --help print this help, then exit
3196 -V, --version print version number, then exit
3197 -q, --quiet do not print progress messages
3198 -d, --debug don't remove temporary files
3199 --recheck update $as_me by reconfiguring in the same conditions
3200 --file=FILE[:TEMPLATE]
3201 instantiate the configuration file FILE
3203 Configuration files:
3204 $config_files
3206 Configuration commands:
3207 $config_commands
3209 Report bugs to <bug-autoconf@gnu.org>."
3210 _ACEOF
3212 cat >>$CONFIG_STATUS <<_ACEOF
3213 ac_cs_version="\\
3214 GNU Autoconf config.status 2.59c
3215 configured by $0, generated by GNU Autoconf 2.59c,
3216 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3218 Copyright (C) 2005 Free Software Foundation, Inc.
3219 This config.status script is free software; the Free Software Foundation
3220 gives unlimited permission to copy, distribute and modify it."
3221 ac_pwd='$ac_pwd'
3222 srcdir='$srcdir'
3223 INSTALL="$INSTALL"
3224 _ACEOF
3226 cat >>$CONFIG_STATUS <<\_ACEOF
3227 # If no file are specified by the user, then we need to provide default
3228 # value. By we need to know if files were specified by the user.
3229 ac_need_defaults=:
3230 while test $# != 0
3232 case $1 in
3233 --*=*)
3234 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3235 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3236 ac_shift=:
3239 ac_option=$1
3240 ac_optarg=$2
3241 ac_shift=shift
3243 *) # This is not an option, so the user has probably given explicit
3244 # arguments.
3245 ac_option=$1
3246 ac_need_defaults=false;;
3247 esac
3249 case $ac_option in
3250 # Handling of the options.
3251 _ACEOF
3252 cat >>$CONFIG_STATUS <<\_ACEOF
3253 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3254 ac_cs_recheck=: ;;
3255 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3256 echo "$ac_cs_version"; exit ;;
3257 --he | --h)
3258 # Conflict between --help and --header
3259 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3260 Try \`$0 --help' for more information." >&5
3261 echo "$as_me: error: ambiguous option: $1
3262 Try \`$0 --help' for more information." >&2;}
3263 { (exit 1); exit 1; }; };;
3264 --help | --hel | -h )
3265 echo "$ac_cs_usage"; exit ;;
3266 --debug | --debu | --deb | --de | --d | -d )
3267 debug=: ;;
3268 --file | --fil | --fi | --f )
3269 $ac_shift
3270 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3271 ac_need_defaults=false;;
3272 --header | --heade | --head | --hea )
3273 $ac_shift
3274 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3275 ac_need_defaults=false;;
3276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3277 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3278 ac_cs_silent=: ;;
3280 # This is an error.
3281 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3282 Try \`$0 --help' for more information." >&5
3283 echo "$as_me: error: unrecognized option: $1
3284 Try \`$0 --help' for more information." >&2;}
3285 { (exit 1); exit 1; }; } ;;
3287 *) ac_config_targets="$ac_config_targets $1" ;;
3289 esac
3290 shift
3291 done
3293 ac_configure_extra_args=
3295 if $ac_cs_silent; then
3296 exec 6>/dev/null
3297 ac_configure_extra_args="$ac_configure_extra_args --silent"
3300 _ACEOF
3301 cat >>$CONFIG_STATUS <<_ACEOF
3302 if \$ac_cs_recheck; then
3303 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3304 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3307 _ACEOF
3313 cat >>$CONFIG_STATUS <<\_ACEOF
3314 for ac_config_target in $ac_config_targets
3316 case "$ac_config_target" in
3317 # Handling of arguments.
3318 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3319 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3320 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3321 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3322 "lib/emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3323 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3324 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3325 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3326 "lib/Autom4te/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3327 "lib/autoscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3328 "lib/m4sugar/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3329 "lib/autoconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3330 "lib/autotest/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3331 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3332 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3333 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3334 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3335 { (exit 1); exit 1; }; };;
3336 esac
3337 done
3339 # If the user did not use the arguments to specify the items to instantiate,
3340 # then the envvar interface is used. Set only those that are not.
3341 # We use the long form for the default assignment because of an extremely
3342 # bizarre bug on SunOS 4.1.3.
3343 if $ac_need_defaults; then
3344 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3345 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3348 # Have a temporary directory for convenience. Make it in the build tree
3349 # simply because there is no reason against having it here, and in addition,
3350 # creating and moving files from /tmp can sometimes cause problems.
3351 # Hook for its removal unless debugging.
3352 $debug ||
3354 trap 'exit_status=$?; rm -fr "$tmp" && exit $exit_status' 0
3355 trap '{ (exit 1); exit 1; }' 1 2 13 15
3357 # Create a (secure) tmp directory for tmp files.
3360 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3361 test -n "$tmp" && test -d "$tmp"
3362 } ||
3364 tmp=./conf$$-$RANDOM
3365 (umask 077 && mkdir "$tmp")
3366 } ||
3368 echo "$me: cannot create a temporary directory in ." >&2
3369 { (exit 1); exit 1; }
3372 _ACEOF
3374 cat >>$CONFIG_STATUS <<\_ACEOF
3376 # CONFIG_FILES section.
3379 # No need to generate the scripts if there are no CONFIG_FILES.
3380 # This happens for instance when ./config.status config.h
3381 if test -n "$CONFIG_FILES"; then
3383 _ACEOF
3387 ac_delim='%!_!# '
3388 for ac_last_try in false false false false false :; do
3389 cat >conf$$subs.sed <<_ACEOF
3390 SHELL!$SHELL$ac_delim
3391 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3392 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3393 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3394 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3395 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3396 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3397 exec_prefix!$exec_prefix$ac_delim
3398 prefix!$prefix$ac_delim
3399 program_transform_name!$program_transform_name$ac_delim
3400 bindir!$bindir$ac_delim
3401 sbindir!$sbindir$ac_delim
3402 libexecdir!$libexecdir$ac_delim
3403 datarootdir!$datarootdir$ac_delim
3404 datadir!$datadir$ac_delim
3405 sysconfdir!$sysconfdir$ac_delim
3406 sharedstatedir!$sharedstatedir$ac_delim
3407 localstatedir!$localstatedir$ac_delim
3408 includedir!$includedir$ac_delim
3409 oldincludedir!$oldincludedir$ac_delim
3410 docdir!$docdir$ac_delim
3411 infodir!$infodir$ac_delim
3412 htmldir!$htmldir$ac_delim
3413 dvidir!$dvidir$ac_delim
3414 pdfdir!$pdfdir$ac_delim
3415 psdir!$psdir$ac_delim
3416 libdir!$libdir$ac_delim
3417 localedir!$localedir$ac_delim
3418 mandir!$mandir$ac_delim
3419 build_alias!$build_alias$ac_delim
3420 host_alias!$host_alias$ac_delim
3421 target_alias!$target_alias$ac_delim
3422 DEFS!$DEFS$ac_delim
3423 ECHO_C!$ECHO_C$ac_delim
3424 ECHO_N!$ECHO_N$ac_delim
3425 ECHO_T!$ECHO_T$ac_delim
3426 LIBS!$LIBS$ac_delim
3427 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3428 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3429 INSTALL_DATA!$INSTALL_DATA$ac_delim
3430 CYGPATH_W!$CYGPATH_W$ac_delim
3431 PACKAGE!$PACKAGE$ac_delim
3432 VERSION!$VERSION$ac_delim
3433 ACLOCAL!$ACLOCAL$ac_delim
3434 AUTOCONF!$AUTOCONF$ac_delim
3435 AUTOMAKE!$AUTOMAKE$ac_delim
3436 AUTOHEADER!$AUTOHEADER$ac_delim
3437 MAKEINFO!$MAKEINFO$ac_delim
3438 install_sh!$install_sh$ac_delim
3439 STRIP!$STRIP$ac_delim
3440 ac_ct_STRIP!$ac_ct_STRIP$ac_delim
3441 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3442 mkdir_p!$mkdir_p$ac_delim
3443 AWK!$AWK$ac_delim
3444 SET_MAKE!$SET_MAKE$ac_delim
3445 am__leading_dot!$am__leading_dot$ac_delim
3446 AMTAR!$AMTAR$ac_delim
3447 am__tar!$am__tar$ac_delim
3448 am__untar!$am__untar$ac_delim
3449 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3450 EXPR!$EXPR$ac_delim
3451 M4!$M4$ac_delim
3452 HELP2MAN!$HELP2MAN$ac_delim
3453 PERL!$PERL$ac_delim
3454 TEST_EMACS!$TEST_EMACS$ac_delim
3455 EMACS!$EMACS$ac_delim
3456 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3457 lispdir!$lispdir$ac_delim
3458 GREP!$GREP$ac_delim
3459 EGREP!$EGREP$ac_delim
3460 SED!$SED$ac_delim
3461 LIBOBJS!$LIBOBJS$ac_delim
3462 LTLIBOBJS!$LTLIBOBJS$ac_delim
3463 _ACEOF
3465 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 73; then
3466 break
3467 elif $ac_last_try; then
3468 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3469 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3470 { (exit 1); exit 1; }; }
3471 else
3472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3474 done
3476 ac_eof=`sed -n '/^CEOF0-9*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3477 ac_eof=`expr 0$ac_eof + 1`
3479 cat >>$CONFIG_STATUS <<_ACEOF
3480 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3481 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3482 _ACEOF
3483 sed '
3484 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3485 s/^/s,@/; s/!/@,|#_!!_#|/
3488 s/'"$ac_delim"'$/,g/; t
3489 s/$/\\/; p
3490 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3491 ' >>$CONFIG_STATUS <conf$$subs.sed
3492 rm -f conf$$subs.sed
3493 cat >>$CONFIG_STATUS <<_ACEOF
3494 :end
3495 s/|#_!!_#|//g
3496 CEOF$ac_eof
3497 _ACEOF
3499 cat >>$CONFIG_STATUS <<\_ACEOF
3500 fi # test -n "$CONFIG_FILES"
3502 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3503 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3504 case $ac_file in
3505 - | *:- | *:-:* ) # input from stdin
3506 cat >"$tmp/stdin" ;;
3507 esac
3508 case $ac_file in
3509 *:*) ac_file_in=`expr "X$ac_file" : 'X[^:]*:\(.*\)'`
3510 ac_file=`expr "X$ac_file" : 'X\([^:]*\)'` ;;
3511 -) ac_file_in=- ;;
3512 *) ac_file_in=$ac_file.in ;;
3513 esac
3515 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3516 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3517 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3518 X"$ac_file" : 'X\(//\)[^/]' \| \
3519 X"$ac_file" : 'X\(//\)$' \| \
3520 X"$ac_file" : 'X\(/\)' \| \
3521 . : '\(.\)' 2>/dev/null ||
3522 echo X"$ac_file" |
3523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3525 /^X\(\/\/\)$/{ s//\1/; q; }
3526 /^X\(\/\).*/{ s//\1/; q; }
3527 s/.*/./; q'`
3528 { if $as_mkdir_p; then
3529 test -d "$ac_dir" || mkdir -p "$ac_dir"
3530 else
3531 as_dir="$ac_dir"
3532 as_dirs=
3533 while test ! -d "$as_dir"; do
3534 as_dirs="$as_dir $as_dirs"
3535 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3536 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3537 X"$as_dir" : 'X\(//\)[^/]' \| \
3538 X"$as_dir" : 'X\(//\)$' \| \
3539 X"$as_dir" : 'X\(/\)' \| \
3540 . : '\(.\)' 2>/dev/null ||
3541 echo X"$as_dir" |
3542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3543 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3544 /^X\(\/\/\)$/{ s//\1/; q; }
3545 /^X\(\/\).*/{ s//\1/; q; }
3546 s/.*/./; q'`
3547 done
3548 test ! -n "$as_dirs" || mkdir $as_dirs
3549 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3550 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3551 { (exit 1); exit 1; }; }; }
3553 ac_builddir=.
3555 case "$ac_dir" in
3556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3558 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3559 # A ".." for each directory in $ac_dir_suffix.
3560 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3561 case $ac_top_builddir_sub in
3562 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3563 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3564 esac ;;
3565 esac
3566 ac_abs_top_builddir=$ac_pwd
3567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3568 # for backward compatibility:
3569 ac_top_builddir=$ac_top_build_prefix
3571 case $srcdir in
3572 .) # No --srcdir option. We are building in place.
3573 ac_srcdir=.
3574 ac_top_srcdir=$ac_top_builddir_sub
3575 ac_abs_top_srcdir=$ac_pwd ;;
3576 [\\/]* | ?:[\\/]* ) # Absolute name.
3577 ac_srcdir=$srcdir$ac_dir_suffix;
3578 ac_top_srcdir=$srcdir
3579 ac_abs_top_srcdir=$srcdir ;;
3580 *) # Relative name.
3581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3582 ac_top_srcdir=$ac_top_build_prefix$srcdir
3583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3584 esac
3585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3588 case $INSTALL in
3589 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3590 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3591 esac
3593 if test x"$ac_file" != x-; then
3594 { echo "$as_me:$LINENO: creating $ac_file" >&5
3595 echo "$as_me: creating $ac_file" >&6;}
3596 rm -f "$ac_file"
3598 # Let's still pretend it is `configure' which instantiates (i.e., don't
3599 # use $as_me), people would be surprised to read:
3600 # /* config.h. Generated by config.status. */
3601 if test x"$ac_file" = x-; then
3602 configure_input=
3603 else
3604 configure_input="$ac_file. "
3606 configure_input=$configure_input"Generated from `echo $ac_file_in |
3607 sed 's,.*/,,'` by configure."
3609 # First look for the input files in the build tree, otherwise in the
3610 # src tree.
3611 ac_file_inputs=`IFS=:
3612 for f in $ac_file_in; do
3613 case $f in
3614 -) echo "$tmp/stdin" ;;
3615 [\\/$]*)
3616 # Absolute (can't be DOS-style, as IFS=:)
3617 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3618 echo "$as_me: error: cannot find input file: $f" >&2;}
3619 { (exit 1); exit 1; }; }
3620 echo "$f";;
3621 *) # Relative
3622 if test -f "$f"; then
3623 # Build tree
3624 echo "$f"
3625 elif test -f "$srcdir/$f"; then
3626 # Source tree
3627 echo "$srcdir/$f"
3628 else
3629 # /dev/null tree
3630 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3631 echo "$as_me: error: cannot find input file: $f" >&2;}
3632 { (exit 1); exit 1; }; }
3633 fi;;
3634 esac
3635 done` || { (exit 1); exit 1; }
3636 _ACEOF
3637 cat >>$CONFIG_STATUS <<_ACEOF
3638 sed "$ac_vpsub
3639 $extrasub
3640 _ACEOF
3641 cat >>$CONFIG_STATUS <<\_ACEOF
3643 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3644 s|@configure_input@|$configure_input|;t t
3645 s|@srcdir@|$ac_srcdir|;t t
3646 s|@abs_srcdir@|$ac_abs_srcdir|;t t
3647 s|@top_srcdir@|$ac_top_srcdir|;t t
3648 s|@abs_top_srcdir@|$ac_abs_top_srcdir|;t t
3649 s|@builddir@|$ac_builddir|;t t
3650 s|@abs_builddir@|$ac_abs_builddir|;t t
3651 s|@top_builddir@|$ac_top_builddir_sub|;t t
3652 s|@abs_top_builddir@|$ac_abs_top_builddir|;t t
3653 s,@INSTALL@,$ac_INSTALL,;t t
3654 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3655 rm -f "$tmp/stdin"
3656 if test x"$ac_file" != x-; then
3657 mv "$tmp/out" $ac_file
3658 else
3659 cat "$tmp/out"
3660 rm -f "$tmp/out"
3663 done
3664 _ACEOF
3665 cat >>$CONFIG_STATUS <<\_ACEOF
3668 # CONFIG_COMMANDS section.
3670 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3671 case $ac_file in
3672 *:*) ac_source=`expr "X$ac_file" : 'X[^:]*:\(.*\)'`
3673 ac_dest=`expr "X$ac_file" : 'X\([^:]*\)'` ;;
3674 *) ac_dest=$ac_file ac_source=$ac_file ;;
3675 esac
3676 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3677 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3678 X"$ac_dest" : 'X\(//\)[^/]' \| \
3679 X"$ac_dest" : 'X\(//\)$' \| \
3680 X"$ac_dest" : 'X\(/\)' \| \
3681 . : '\(.\)' 2>/dev/null ||
3682 echo X"$ac_dest" |
3683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3685 /^X\(\/\/\)$/{ s//\1/; q; }
3686 /^X\(\/\).*/{ s//\1/; q; }
3687 s/.*/./; q'`
3688 { if $as_mkdir_p; then
3689 test -d "$ac_dir" || mkdir -p "$ac_dir"
3690 else
3691 as_dir="$ac_dir"
3692 as_dirs=
3693 while test ! -d "$as_dir"; do
3694 as_dirs="$as_dir $as_dirs"
3695 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3697 X"$as_dir" : 'X\(//\)[^/]' \| \
3698 X"$as_dir" : 'X\(//\)$' \| \
3699 X"$as_dir" : 'X\(/\)' \| \
3700 . : '\(.\)' 2>/dev/null ||
3701 echo X"$as_dir" |
3702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3704 /^X\(\/\/\)$/{ s//\1/; q; }
3705 /^X\(\/\).*/{ s//\1/; q; }
3706 s/.*/./; q'`
3707 done
3708 test ! -n "$as_dirs" || mkdir $as_dirs
3709 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3710 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3711 { (exit 1); exit 1; }; }; }
3713 ac_builddir=.
3715 case "$ac_dir" in
3716 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3718 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3719 # A ".." for each directory in $ac_dir_suffix.
3720 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3721 case $ac_top_builddir_sub in
3722 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3723 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3724 esac ;;
3725 esac
3726 ac_abs_top_builddir=$ac_pwd
3727 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3728 # for backward compatibility:
3729 ac_top_builddir=$ac_top_build_prefix
3731 case $srcdir in
3732 .) # No --srcdir option. We are building in place.
3733 ac_srcdir=.
3734 ac_top_srcdir=$ac_top_builddir_sub
3735 ac_abs_top_srcdir=$ac_pwd ;;
3736 [\\/]* | ?:[\\/]* ) # Absolute name.
3737 ac_srcdir=$srcdir$ac_dir_suffix;
3738 ac_top_srcdir=$srcdir
3739 ac_abs_top_srcdir=$srcdir ;;
3740 *) # Relative name.
3741 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3742 ac_top_srcdir=$ac_top_build_prefix$srcdir
3743 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3744 esac
3745 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3748 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3749 echo "$as_me: executing $ac_dest commands" >&6;}
3750 case $ac_dest in
3751 tests/atconfig ) cat >tests/atconfig <<ATEOF
3752 # Configurable variable values for building test suites.
3753 # Generated by $0.
3754 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3756 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3757 at_testdir='tests'
3758 abs_builddir='$ac_abs_builddir'
3759 at_srcdir='$ac_srcdir'
3760 abs_srcdir='$ac_abs_srcdir'
3761 at_top_srcdir='$ac_top_srcdir'
3762 abs_top_srcdir='$ac_abs_top_srcdir'
3763 at_top_build_prefix='$ac_top_build_prefix'
3764 abs_top_builddir='$ac_abs_top_builddir'
3766 AUTOTEST_PATH='tests'
3768 SHELL=\${CONFIG_SHELL-'$SHELL'}
3769 ATEOF
3771 esac
3772 done
3773 _ACEOF
3775 cat >>$CONFIG_STATUS <<\_ACEOF
3777 { (exit 0); exit 0; }
3778 _ACEOF
3779 chmod +x $CONFIG_STATUS
3780 ac_clean_files=$ac_clean_files_save
3783 # configure is writing to config.log, and then calls config.status.
3784 # config.status does its own redirection, appending to config.log.
3785 # Unfortunately, on DOS this fails, as config.log is still kept open
3786 # by configure, so config.status won't be able to write to it; its
3787 # output is simply discarded. So we exec the FD to /dev/null,
3788 # effectively closing config.log, so it can be properly (re)opened and
3789 # appended to by config.status. When coming back to configure, we
3790 # need to make the FD available again.
3791 if test "$no_create" != yes; then
3792 ac_cs_success=:
3793 ac_config_status_args=
3794 test "$silent" = yes &&
3795 ac_config_status_args="$ac_config_status_args --quiet"
3796 exec 5>/dev/null
3797 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3798 exec 5>>config.log
3799 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3800 # would make configure fail if this is the last instruction.
3801 $ac_cs_success || { (exit 1); exit 1; }
3804 # Report the state of this version of Autoconf if this is a beta.
3805 cat <<EOF
3807 You are about to use an experimental version of Autoconf. Be sure to
3808 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3810 Below you will find information on the status of this version of Autoconf.
3814 sed -n '/^\* Status/,$p' $srcdir/BUGS