Regenerate.
[autoconf/tsuna.git] / configure
blobaa3dc8a333739f230ccc6fd4b60a072262f3deb6
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_failure succeeded.
164 if as_func_failure; then
165 exitcode=1
166 echo as_func_success failed.
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_failure succeeded.
274 if as_func_failure; then
275 exitcode=1
276 echo as_func_success failed.
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_failure succeeded.
363 if as_func_failure; then
364 exitcode=1
365 echo as_func_success failed.
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 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
440 *c*,-n*) ECHO_N= ECHO_C='
441 ' ECHO_T=' ' ;;
442 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
443 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
444 esac
446 if expr a : '\(a\)' >/dev/null 2>&1; then
447 as_expr=expr
448 else
449 as_expr=false
452 rm -f conf$$ conf$$.exe conf$$.file
453 echo >conf$$.file
454 if ln -s conf$$.file conf$$ 2>/dev/null; then
455 # We could just check for DJGPP; but this test a) works b) is more generic
456 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
457 if test -f conf$$.exe; then
458 # Don't use ln at all; we don't have any links
459 as_ln_s='cp -p'
460 else
461 as_ln_s='ln -s'
463 elif ln conf$$.file conf$$ 2>/dev/null; then
464 as_ln_s=ln
465 else
466 as_ln_s='cp -p'
468 rm -f conf$$ conf$$.exe conf$$.file
470 if mkdir -p . 2>/dev/null; then
471 as_mkdir_p=:
472 else
473 test -d ./-p && rmdir ./-p
474 as_mkdir_p=false
477 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
478 # systems may use methods other than mode bits to determine executability.
479 cat >conf$$.file <<_ASEOF
480 #! /bin/sh
481 exit 0
482 _ASEOF
483 chmod +x conf$$.file
484 if test -x conf$$.file >/dev/null 2>&1; then
485 as_executable_p="test -x"
486 else
487 as_executable_p=:
489 rm -f conf$$.file
491 # Sed expression to map a string onto a valid CPP name.
492 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
494 # Sed expression to map a string onto a valid variable name.
495 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
498 # IFS
499 # We need space, tab and new line, in precisely that order.
500 as_nl='
502 IFS=" $as_nl"
504 # CDPATH.
505 $as_unset CDPATH
508 # Name of the host.
509 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
510 # so uname gets run too.
511 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
513 exec 6>&1
516 # Initializations.
518 ac_default_prefix=/usr/local
519 ac_config_libobj_dir=.
520 cross_compiling=no
521 subdirs=
522 MFLAGS=
523 MAKEFLAGS=
524 SHELL=${CONFIG_SHELL-/bin/sh}
526 # Maximum number of lines to put in a shell here document.
527 # This variable seems obsolete. It should probably be removed, and
528 # only ac_max_sed_lines should be used.
529 : ${ac_max_here_lines=38}
531 # Identity of this package.
532 PACKAGE_NAME='GNU Autoconf'
533 PACKAGE_TARNAME='autoconf'
534 PACKAGE_VERSION='2.59c'
535 PACKAGE_STRING='GNU Autoconf 2.59c'
536 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
538 ac_unique_file="ChangeLog"
539 ac_subst_vars='SHELL
540 PATH_SEPARATOR
541 PACKAGE_NAME
542 PACKAGE_TARNAME
543 PACKAGE_VERSION
544 PACKAGE_STRING
545 PACKAGE_BUGREPORT
546 exec_prefix
547 prefix
548 program_transform_name
549 bindir
550 sbindir
551 libexecdir
552 datarootdir
553 datadir
554 sysconfdir
555 sharedstatedir
556 localstatedir
557 includedir
558 oldincludedir
559 docdir
560 infodir
561 htmldir
562 dvidir
563 pdfdir
564 psdir
565 libdir
566 localedir
567 mandir
568 build_alias
569 host_alias
570 target_alias
571 DEFS
572 ECHO_C
573 ECHO_N
574 ECHO_T
575 LIBS
576 INSTALL_PROGRAM
577 INSTALL_SCRIPT
578 INSTALL_DATA
579 CYGPATH_W
580 PACKAGE
581 VERSION
582 ACLOCAL
583 AUTOCONF
584 AUTOMAKE
585 AUTOHEADER
586 MAKEINFO
587 install_sh
588 STRIP
589 ac_ct_STRIP
590 INSTALL_STRIP_PROGRAM
591 mkdir_p
593 SET_MAKE
594 am__leading_dot
595 AMTAR
596 am__tar
597 am__untar
598 ac_cv_sh_n_works
599 EXPR
601 HELP2MAN
602 PERL
603 TEST_EMACS
604 EMACS
605 EMACSLOADPATH
606 lispdir
607 GREP
608 LIBOBJS
609 LTLIBOBJS'
610 ac_subst_files=''
612 # Initialize some variables set by options.
613 ac_init_help=
614 ac_init_version=false
615 # The variables have the same names as the options, with
616 # dashes changed to underlines.
617 cache_file=/dev/null
618 exec_prefix=NONE
619 no_create=
620 no_recursion=
621 prefix=NONE
622 program_prefix=NONE
623 program_suffix=NONE
624 program_transform_name=s,x,x,
625 silent=
626 site=
627 srcdir=
628 verbose=
629 x_includes=NONE
630 x_libraries=NONE
632 # Installation directory options.
633 # These are left unexpanded so users can "make install exec_prefix=/foo"
634 # and all the variables that are supposed to be based on exec_prefix
635 # by default will actually change.
636 # Use braces instead of parens because sh, perl, etc. also accept them.
637 # (The list follows the same order as the GNU Coding Standards.)
638 bindir='${exec_prefix}/bin'
639 sbindir='${exec_prefix}/sbin'
640 libexecdir='${exec_prefix}/libexec'
641 datarootdir='${prefix}/share'
642 datadir='${datarootdir}'
643 sysconfdir='${prefix}/etc'
644 sharedstatedir='${prefix}/com'
645 localstatedir='${prefix}/var'
646 includedir='${prefix}/include'
647 oldincludedir='/usr/include'
648 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
649 infodir='${datarootdir}/info'
650 htmldir='${docdir}'
651 dvidir='${docdir}'
652 pdfdir='${docdir}'
653 psdir='${docdir}'
654 libdir='${exec_prefix}/lib'
655 localedir='${datarootdir}/locale'
656 mandir='${datarootdir}/man'
658 ac_prev=
659 ac_dashdash=
660 for ac_option
662 # If the previous option needs an argument, assign it.
663 if test -n "$ac_prev"; then
664 eval "$ac_prev=\$ac_option"
665 ac_prev=
666 continue
669 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
671 # Accept the important Cygnus configure options, so we can diagnose typos.
673 case $ac_dashdash$ac_option in
675 ac_dashdash=yes ;;
677 -bindir | --bindir | --bindi | --bind | --bin | --bi)
678 ac_prev=bindir ;;
679 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
680 bindir=$ac_optarg ;;
682 -build | --build | --buil | --bui | --bu)
683 ac_prev=build_alias ;;
684 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
685 build_alias=$ac_optarg ;;
687 -cache-file | --cache-file | --cache-fil | --cache-fi \
688 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
689 ac_prev=cache_file ;;
690 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
691 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
692 cache_file=$ac_optarg ;;
694 --config-cache | -C)
695 cache_file=config.cache ;;
697 -datadir | --datadir | --datadi | --datad)
698 ac_prev=datadir ;;
699 -datadir=* | --datadir=* | --datadi=* | --datad=*)
700 datadir=$ac_optarg ;;
702 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
703 | --dataroo | --dataro | --datar)
704 ac_prev=datarootdir ;;
705 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
706 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
707 datarootdir=$ac_optarg ;;
709 -disable-* | --disable-*)
710 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
711 # Reject names that are not valid shell variable names.
712 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
713 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
714 { (exit 1); exit 1; }; }
715 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
716 eval "enable_$ac_feature=no" ;;
718 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
719 ac_prev=dvidir ;;
720 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
721 dvidir=$ac_optarg ;;
723 -enable-* | --enable-*)
724 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
725 # Reject names that are not valid shell variable names.
726 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
727 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
728 { (exit 1); exit 1; }; }
729 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
730 case $ac_option in
731 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
732 *) ac_optarg=yes ;;
733 esac
734 eval "enable_$ac_feature='$ac_optarg'" ;;
736 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
737 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
738 | --exec | --exe | --ex)
739 ac_prev=exec_prefix ;;
740 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
741 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
742 | --exec=* | --exe=* | --ex=*)
743 exec_prefix=$ac_optarg ;;
745 -gas | --gas | --ga | --g)
746 # Obsolete; use --with-gas.
747 with_gas=yes ;;
749 -help | --help | --hel | --he | -h)
750 ac_init_help=long ;;
751 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
752 ac_init_help=recursive ;;
753 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
754 ac_init_help=short ;;
756 -host | --host | --hos | --ho)
757 ac_prev=host_alias ;;
758 -host=* | --host=* | --hos=* | --ho=*)
759 host_alias=$ac_optarg ;;
761 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
762 ac_prev=htmldir ;;
763 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
764 | --ht=*)
765 htmldir=$ac_optarg ;;
767 -includedir | --includedir | --includedi | --included | --include \
768 | --includ | --inclu | --incl | --inc)
769 ac_prev=includedir ;;
770 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
771 | --includ=* | --inclu=* | --incl=* | --inc=*)
772 includedir=$ac_optarg ;;
774 -infodir | --infodir | --infodi | --infod | --info | --inf)
775 ac_prev=infodir ;;
776 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
777 infodir=$ac_optarg ;;
779 -libdir | --libdir | --libdi | --libd)
780 ac_prev=libdir ;;
781 -libdir=* | --libdir=* | --libdi=* | --libd=*)
782 libdir=$ac_optarg ;;
784 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
785 | --libexe | --libex | --libe)
786 ac_prev=libexecdir ;;
787 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
788 | --libexe=* | --libex=* | --libe=*)
789 libexecdir=$ac_optarg ;;
791 -localedir | --localedir | --localedi | --localed | --locale)
792 ac_prev=localedir ;;
793 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
794 localedir=$ac_optarg ;;
796 -localstatedir | --localstatedir | --localstatedi | --localstated \
797 | --localstate | --localstat | --localsta | --localst | --locals)
798 ac_prev=localstatedir ;;
799 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
800 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
801 localstatedir=$ac_optarg ;;
803 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
804 ac_prev=mandir ;;
805 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
806 mandir=$ac_optarg ;;
808 -nfp | --nfp | --nf)
809 # Obsolete; use --without-fp.
810 with_fp=no ;;
812 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
813 | --no-cr | --no-c | -n)
814 no_create=yes ;;
816 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
817 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
818 no_recursion=yes ;;
820 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
821 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
822 | --oldin | --oldi | --old | --ol | --o)
823 ac_prev=oldincludedir ;;
824 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
825 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
826 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
827 oldincludedir=$ac_optarg ;;
829 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
830 ac_prev=prefix ;;
831 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
832 prefix=$ac_optarg ;;
834 -program-prefix | --program-prefix | --program-prefi | --program-pref \
835 | --program-pre | --program-pr | --program-p)
836 ac_prev=program_prefix ;;
837 -program-prefix=* | --program-prefix=* | --program-prefi=* \
838 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
839 program_prefix=$ac_optarg ;;
841 -program-suffix | --program-suffix | --program-suffi | --program-suff \
842 | --program-suf | --program-su | --program-s)
843 ac_prev=program_suffix ;;
844 -program-suffix=* | --program-suffix=* | --program-suffi=* \
845 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
846 program_suffix=$ac_optarg ;;
848 -program-transform-name | --program-transform-name \
849 | --program-transform-nam | --program-transform-na \
850 | --program-transform-n | --program-transform- \
851 | --program-transform | --program-transfor \
852 | --program-transfo | --program-transf \
853 | --program-trans | --program-tran \
854 | --progr-tra | --program-tr | --program-t)
855 ac_prev=program_transform_name ;;
856 -program-transform-name=* | --program-transform-name=* \
857 | --program-transform-nam=* | --program-transform-na=* \
858 | --program-transform-n=* | --program-transform-=* \
859 | --program-transform=* | --program-transfor=* \
860 | --program-transfo=* | --program-transf=* \
861 | --program-trans=* | --program-tran=* \
862 | --progr-tra=* | --program-tr=* | --program-t=*)
863 program_transform_name=$ac_optarg ;;
865 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
866 ac_prev=pdfdir ;;
867 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
868 pdfdir=$ac_optarg ;;
870 -psdir | --psdir | --psdi | --psd | --ps)
871 ac_prev=psdir ;;
872 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
873 psdir=$ac_optarg ;;
875 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
876 | -silent | --silent | --silen | --sile | --sil)
877 silent=yes ;;
879 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
880 ac_prev=sbindir ;;
881 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
882 | --sbi=* | --sb=*)
883 sbindir=$ac_optarg ;;
885 -sharedstatedir | --sharedstatedir | --sharedstatedi \
886 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
887 | --sharedst | --shareds | --shared | --share | --shar \
888 | --sha | --sh)
889 ac_prev=sharedstatedir ;;
890 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
891 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
892 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
893 | --sha=* | --sh=*)
894 sharedstatedir=$ac_optarg ;;
896 -site | --site | --sit)
897 ac_prev=site ;;
898 -site=* | --site=* | --sit=*)
899 site=$ac_optarg ;;
901 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
902 ac_prev=srcdir ;;
903 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
904 srcdir=$ac_optarg ;;
906 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
907 | --syscon | --sysco | --sysc | --sys | --sy)
908 ac_prev=sysconfdir ;;
909 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
910 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
911 sysconfdir=$ac_optarg ;;
913 -target | --target | --targe | --targ | --tar | --ta | --t)
914 ac_prev=target_alias ;;
915 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
916 target_alias=$ac_optarg ;;
918 -v | -verbose | --verbose | --verbos | --verbo | --verb)
919 verbose=yes ;;
921 -version | --version | --versio | --versi | --vers | -V)
922 ac_init_version=: ;;
924 -with-* | --with-*)
925 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
928 { echo "$as_me: error: invalid package name: $ac_package" >&2
929 { (exit 1); exit 1; }; }
930 ac_package=`echo $ac_package| sed 's/-/_/g'`
931 case $ac_option in
932 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
933 *) ac_optarg=yes ;;
934 esac
935 eval "with_$ac_package='$ac_optarg'" ;;
937 -without-* | --without-*)
938 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
939 # Reject names that are not valid shell variable names.
940 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
941 { echo "$as_me: error: invalid package name: $ac_package" >&2
942 { (exit 1); exit 1; }; }
943 ac_package=`echo $ac_package | sed 's/-/_/g'`
944 eval "with_$ac_package=no" ;;
946 --x)
947 # Obsolete; use --with-x.
948 with_x=yes ;;
950 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
951 | --x-incl | --x-inc | --x-in | --x-i)
952 ac_prev=x_includes ;;
953 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
954 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
955 x_includes=$ac_optarg ;;
957 -x-libraries | --x-libraries | --x-librarie | --x-librari \
958 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
959 ac_prev=x_libraries ;;
960 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
961 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
962 x_libraries=$ac_optarg ;;
964 -*) { echo "$as_me: error: unrecognized option: $ac_option
965 Try \`$0 --help' for more information." >&2
966 { (exit 1); exit 1; }; }
969 *=*)
970 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
973 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
974 { (exit 1); exit 1; }; }
975 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
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
999 eval ac_val=$`echo $ac_var`
1000 case $ac_val in
1001 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1002 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1003 { (exit 1); exit 1; }; };;
1004 esac
1005 done
1007 # Be sure to have absolute directory names.
1008 for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir \
1009 sharedstatedir localstatedir includedir oldincludedir \
1010 docdir infodir htmldir dvidir pdfdir psdir libdir \
1011 localedir mandir
1013 eval ac_val=$`echo $ac_var`
1014 case $ac_val in
1015 [\\/$]* | ?:[\\/]* ) ;;
1016 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1017 { (exit 1); exit 1; }; };;
1018 esac
1019 done
1021 # There might be people who depend on the old broken behavior: `$host'
1022 # used to hold the argument of --host etc.
1023 # FIXME: To remove some day.
1024 build=$build_alias
1025 host=$host_alias
1026 target=$target_alias
1028 # FIXME: To remove some day.
1029 if test "x$host_alias" != x; then
1030 if test "x$build_alias" = x; then
1031 cross_compiling=maybe
1032 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1033 If a cross compiler is detected then cross compile mode will be used." >&2
1034 elif test "x$build_alias" != "x$host_alias"; then
1035 cross_compiling=yes
1039 ac_tool_prefix=
1040 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1042 test "$silent" = yes && exec 6>/dev/null
1045 # Find the source files, if location was not specified.
1046 if test -z "$srcdir"; then
1047 ac_srcdir_defaulted=yes
1048 # Try the directory containing this script, then its parent.
1049 ac_confdir=`(dirname "$0") 2>/dev/null ||
1050 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1051 X"$0" : 'X\(//\)[^/]' \| \
1052 X"$0" : 'X\(//\)$' \| \
1053 X"$0" : 'X\(/\)' \| \
1054 . : '\(.\)' 2>/dev/null ||
1055 echo X"$0" |
1056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1057 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1058 /^X\(\/\/\)$/{ s//\1/; q; }
1059 /^X\(\/\).*/{ s//\1/; q; }
1060 s/.*/./; q'`
1061 srcdir=$ac_confdir
1062 if test ! -r $srcdir/$ac_unique_file; then
1063 srcdir=..
1065 else
1066 ac_srcdir_defaulted=no
1068 if test ! -r $srcdir/$ac_unique_file; then
1069 if test "$ac_srcdir_defaulted" = yes; then
1070 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1071 { (exit 1); exit 1; }; }
1072 else
1073 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1074 { (exit 1); exit 1; }; }
1077 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1078 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1079 { (exit 1); exit 1; }; }
1080 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1081 ac_env_build_alias_set=${build_alias+set}
1082 ac_env_build_alias_value=$build_alias
1083 ac_cv_env_build_alias_set=${build_alias+set}
1084 ac_cv_env_build_alias_value=$build_alias
1085 ac_env_host_alias_set=${host_alias+set}
1086 ac_env_host_alias_value=$host_alias
1087 ac_cv_env_host_alias_set=${host_alias+set}
1088 ac_cv_env_host_alias_value=$host_alias
1089 ac_env_target_alias_set=${target_alias+set}
1090 ac_env_target_alias_value=$target_alias
1091 ac_cv_env_target_alias_set=${target_alias+set}
1092 ac_cv_env_target_alias_value=$target_alias
1093 ac_env_EMACS_set=${EMACS+set}
1094 ac_env_EMACS_value=$EMACS
1095 ac_cv_env_EMACS_set=${EMACS+set}
1096 ac_cv_env_EMACS_value=$EMACS
1097 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
1098 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
1099 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
1100 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
1103 # Report the --help message.
1105 if test "$ac_init_help" = "long"; then
1106 # Omit some internal or obsolete options to make the list less imposing.
1107 # This message is too long to be a string in the A/UX 3.1 sh.
1108 cat <<_ACEOF
1109 \`configure' configures GNU Autoconf 2.59c to adapt to many kinds of systems.
1111 Usage: $0 [OPTION]... [VAR=VALUE]...
1113 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1114 VAR=VALUE. See below for descriptions of some of the useful variables.
1116 Defaults for the options are specified in brackets.
1118 Configuration:
1119 -h, --help display this help and exit
1120 --help=short display options specific to this package
1121 --help=recursive display the short help of all the included packages
1122 -V, --version display version information and exit
1123 -q, --quiet, --silent do not print \`checking...' messages
1124 --cache-file=FILE cache test results in FILE [disabled]
1125 -C, --config-cache alias for \`--cache-file=config.cache'
1126 -n, --no-create do not create output files
1127 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1129 _ACEOF
1131 cat <<_ACEOF
1132 Installation directories:
1133 --prefix=PREFIX install architecture-independent files in PREFIX
1134 [$ac_default_prefix]
1135 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1136 [PREFIX]
1138 By default, \`make install' will install all the files in
1139 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1140 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1141 for instance \`--prefix=\$HOME'.
1143 For better control, use the options below.
1145 Fine tuning of the installation directories:
1146 --bindir=DIR user executables [EPREFIX/bin]
1147 --sbindir=DIR system admin executables [EPREFIX/sbin]
1148 --libexecdir=DIR program executables [EPREFIX/libexec]
1149 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1150 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1151 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1152 --libdir=DIR object code libraries [EPREFIX/lib]
1153 --includedir=DIR C header files [PREFIX/include]
1154 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1155 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1156 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1157 --infodir=DIR info documentation [DATAROOTDIR/info]
1158 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1159 --mandir=DIR man documentation [DATAROOTDIR/man]
1160 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1161 --htmldir=DIR html documentation [DOCDIR]
1162 --dvidir=DIR dvi documentation [DOCDIR]
1163 --pdfdir=DIR pdf documentation [DOCDIR]
1164 --psdir=DIR ps documentation [DOCDIR]
1165 _ACEOF
1167 cat <<\_ACEOF
1169 Program names:
1170 --program-prefix=PREFIX prepend PREFIX to installed program names
1171 --program-suffix=SUFFIX append SUFFIX to installed program names
1172 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1173 _ACEOF
1176 if test -n "$ac_init_help"; then
1177 case $ac_init_help in
1178 short | recursive ) echo "Configuration of GNU Autoconf 2.59c:";;
1179 esac
1180 cat <<\_ACEOF
1182 Optional Packages:
1183 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1184 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1185 --with-lispdir override the default lisp directory
1187 Some influential environment variables:
1188 EMACS the Emacs editor command
1189 EMACSLOADPATH
1190 the Emacs library search path
1192 Use these variables to override the choices made by `configure' or to help
1193 it to find libraries and programs with nonstandard names/locations.
1195 Report bugs to <bug-autoconf@gnu.org>.
1196 _ACEOF
1197 ac_status=$?
1200 if test "$ac_init_help" = "recursive"; then
1201 # If there are subdirs, report their specific --help.
1202 ac_popdir=`pwd`
1203 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1204 test -d $ac_dir || continue
1205 ac_builddir=.
1207 if test "$ac_dir" != .; then
1208 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1209 # A "../" for each directory in $ac_dir_suffix.
1210 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1211 else
1212 ac_dir_suffix= ac_top_builddir=
1215 case $srcdir in
1216 .) # No --srcdir option. We are building in place.
1217 ac_srcdir=.
1218 if test -z "$ac_top_builddir"; then
1219 ac_top_srcdir=.
1220 else
1221 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1222 fi ;;
1223 [\\/]* | ?:[\\/]* ) # Absolute name.
1224 ac_srcdir=$srcdir$ac_dir_suffix;
1225 ac_top_srcdir=$srcdir ;;
1226 *) # Relative name.
1227 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1228 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1229 esac
1231 # Do not use `cd foo && pwd` to compute absolute names, because
1232 # the directories may not exist.
1233 case `pwd` in
1234 .) ac_abs_builddir="$ac_dir";;
1236 case "$ac_dir" in
1237 .) ac_abs_builddir=`pwd`;;
1238 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1239 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1240 esac;;
1241 esac
1242 case $ac_abs_builddir in
1243 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1245 case ${ac_top_builddir}. in
1246 .) ac_abs_top_builddir=$ac_abs_builddir;;
1247 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1248 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1249 esac;;
1250 esac
1251 case $ac_abs_builddir in
1252 .) ac_abs_srcdir=$ac_srcdir;;
1254 case $ac_srcdir in
1255 .) ac_abs_srcdir=$ac_abs_builddir;;
1256 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1257 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1258 esac;;
1259 esac
1260 case $ac_abs_builddir in
1261 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1263 case $ac_top_srcdir in
1264 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1265 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1266 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1267 esac;;
1268 esac
1270 cd $ac_dir || { ac_status=$?; continue; }
1271 # Check for guested configure; otherwise get Cygnus style configure.
1272 if test -f $ac_srcdir/configure.gnu; then
1273 echo &&
1274 $SHELL $ac_srcdir/configure.gnu --help=recursive
1275 elif test -f $ac_srcdir/configure; then
1276 echo &&
1277 $SHELL $ac_srcdir/configure --help=recursive
1278 elif test -f $ac_srcdir/configure.ac ||
1279 test -f $ac_srcdir/configure.in; then
1280 echo &&
1281 $ac_configure --help
1282 else
1283 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1284 fi || ac_status=$?
1285 cd "$ac_popdir" || { ac_status=$?; break; }
1286 done
1289 test -n "$ac_init_help" && exit $ac_status
1290 if $ac_init_version; then
1291 cat <<\_ACEOF
1292 GNU Autoconf configure 2.59c
1293 generated by GNU Autoconf 2.59c
1295 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1296 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
1297 This configure script is free software; the Free Software Foundation
1298 gives unlimited permission to copy, distribute and modify it.
1299 _ACEOF
1300 exit
1302 exec 5>config.log
1303 cat >&5 <<_ACEOF
1304 This file contains any messages produced by compilers while
1305 running configure, to aid debugging if configure makes a mistake.
1307 It was created by GNU Autoconf $as_me 2.59c, which was
1308 generated by GNU Autoconf 2.59c. Invocation command line was
1310 $ $0 $@
1312 _ACEOF
1314 cat <<_ASUNAME
1315 ## --------- ##
1316 ## Platform. ##
1317 ## --------- ##
1319 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1320 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1321 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1322 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1323 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1325 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1326 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1328 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1329 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1330 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1331 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1332 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1333 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1334 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1336 _ASUNAME
1338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1339 for as_dir in $PATH
1341 IFS=$as_save_IFS
1342 test -z "$as_dir" && as_dir=.
1343 echo "PATH: $as_dir"
1344 done
1346 } >&5
1348 cat >&5 <<_ACEOF
1351 ## ----------- ##
1352 ## Core tests. ##
1353 ## ----------- ##
1355 _ACEOF
1358 # Keep a trace of the command line.
1359 # Strip out --no-create and --no-recursion so they do not pile up.
1360 # Strip out --silent because we don't want to record it for future runs.
1361 # Also quote any args containing shell meta-characters.
1362 # Make two passes to allow for proper duplicate-argument suppression.
1363 ac_configure_args=
1364 ac_configure_args0=
1365 ac_configure_args1=
1366 ac_sep=
1367 ac_must_keep_next=false
1368 for ac_pass in 1 2
1370 for ac_arg
1372 case $ac_arg in
1373 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1375 | -silent | --silent | --silen | --sile | --sil)
1376 continue ;;
1377 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1378 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1379 esac
1380 case $ac_pass in
1381 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1383 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1384 if test $ac_must_keep_next = true; then
1385 ac_must_keep_next=false # Got value, back to normal.
1386 else
1387 case $ac_arg in
1388 *=* | --config-cache | -C | -disable-* | --disable-* \
1389 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1390 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1391 | -with-* | --with-* | -without-* | --without-* | --x)
1392 case "$ac_configure_args0 " in
1393 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1394 esac
1396 -* ) ac_must_keep_next=true ;;
1397 esac
1399 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1400 # Get rid of the leading space.
1401 ac_sep=" "
1403 esac
1404 done
1405 done
1406 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1407 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1409 # When interrupted or exit'd, cleanup temporary files, and complete
1410 # config.log. We remove comments because anyway the quotes in there
1411 # would cause problems or look ugly.
1412 # WARNING: Be sure not to use single quotes in there, as some shells,
1413 # such as our DU 5.0 friend, will then `close' the trap.
1414 trap 'exit_status=$?
1415 # Save into config.log some information that might help in debugging.
1417 echo
1419 cat <<\_ASBOX
1420 ## ---------------- ##
1421 ## Cache variables. ##
1422 ## ---------------- ##
1423 _ASBOX
1424 echo
1425 # The following way of writing the cache mishandles newlines in values,
1427 (set) 2>&1 |
1428 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1429 *ac_space=\ *)
1430 sed -n \
1431 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1432 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1435 sed -n \
1436 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1438 esac;
1440 echo
1442 cat <<\_ASBOX
1443 ## ----------------- ##
1444 ## Output variables. ##
1445 ## ----------------- ##
1446 _ASBOX
1447 echo
1448 for ac_var in $ac_subst_vars
1450 eval ac_val=$`echo $ac_var`
1451 echo "$ac_var='"'"'$ac_val'"'"'"
1452 done | sort
1453 echo
1455 if test -n "$ac_subst_files"; then
1456 cat <<\_ASBOX
1457 ## ------------- ##
1458 ## Output files. ##
1459 ## ------------- ##
1460 _ASBOX
1461 echo
1462 for ac_var in $ac_subst_files
1464 eval ac_val=$`echo $ac_var`
1465 echo "$ac_var='"'"'$ac_val'"'"'"
1466 done | sort
1467 echo
1470 if test -s confdefs.h; then
1471 cat <<\_ASBOX
1472 ## ----------- ##
1473 ## confdefs.h. ##
1474 ## ----------- ##
1475 _ASBOX
1476 echo
1477 sed "/^$/d" confdefs.h | sort
1478 echo
1480 test "$ac_signal" != 0 &&
1481 echo "$as_me: caught signal $ac_signal"
1482 echo "$as_me: exit $exit_status"
1483 } >&5
1484 rm -f core *.core &&
1485 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1486 exit $exit_status
1488 for ac_signal in 1 2 13 15; do
1489 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1490 done
1491 ac_signal=0
1493 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1494 rm -f -r conftest* confdefs.h
1495 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1496 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1497 ac_space=' '
1498 echo "$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space" >confdefs.h
1500 # Predefined preprocessor variables.
1502 cat >>confdefs.h <<_ACEOF
1503 #define PACKAGE_NAME "$PACKAGE_NAME"
1504 _ACEOF
1507 cat >>confdefs.h <<_ACEOF
1508 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1509 _ACEOF
1512 cat >>confdefs.h <<_ACEOF
1513 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1514 _ACEOF
1517 cat >>confdefs.h <<_ACEOF
1518 #define PACKAGE_STRING "$PACKAGE_STRING"
1519 _ACEOF
1522 cat >>confdefs.h <<_ACEOF
1523 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1524 _ACEOF
1527 # Let the site file select an alternate cache file if it wants to.
1528 # Prefer explicitly selected file to automatically selected ones.
1529 if test -z "$CONFIG_SITE"; then
1530 if test "x$prefix" != xNONE; then
1531 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1532 else
1533 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1536 for ac_site_file in $CONFIG_SITE; do
1537 if test -r "$ac_site_file"; then
1538 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1539 echo "$as_me: loading site script $ac_site_file" >&6;}
1540 sed 's/^/| /' "$ac_site_file" >&5
1541 . "$ac_site_file"
1543 done
1545 if test -r "$cache_file"; then
1546 # Some versions of bash will fail to source /dev/null (special
1547 # files actually), so we avoid doing that.
1548 if test -f "$cache_file"; then
1549 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1550 echo "$as_me: loading cache $cache_file" >&6;}
1551 case $cache_file in
1552 [\\/]* | ?:[\\/]* ) . $cache_file;;
1553 *) . ./$cache_file;;
1554 esac
1556 else
1557 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1558 echo "$as_me: creating cache $cache_file" >&6;}
1559 >$cache_file
1562 # Check that the precious variables saved in the cache have kept the same
1563 # value.
1564 ac_cache_corrupted=false
1565 for ac_var in `(set) 2>&1 |
1566 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1567 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1568 eval ac_new_set=\$ac_env_${ac_var}_set
1569 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1570 eval ac_new_val="\$ac_env_${ac_var}_value"
1571 case $ac_old_set,$ac_new_set in
1572 set,)
1573 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1574 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1575 ac_cache_corrupted=: ;;
1576 ,set)
1577 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1578 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1579 ac_cache_corrupted=: ;;
1580 ,);;
1582 if test "x$ac_old_val" != "x$ac_new_val"; then
1583 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1584 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1585 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1586 echo "$as_me: former value: $ac_old_val" >&2;}
1587 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1588 echo "$as_me: current value: $ac_new_val" >&2;}
1589 ac_cache_corrupted=:
1590 fi;;
1591 esac
1592 # Pass precious variables to config.status.
1593 if test "$ac_new_set" = set; then
1594 case $ac_new_val in
1595 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1596 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1597 *) ac_arg=$ac_var=$ac_new_val ;;
1598 esac
1599 case " $ac_configure_args " in
1600 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1601 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1602 esac
1604 done
1605 if $ac_cache_corrupted; then
1606 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1607 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1608 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1609 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1610 { (exit 1); exit 1; }; }
1613 ac_ext=c
1614 ac_cpp='$CPP $CPPFLAGS'
1615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1647 ac_aux_dir=
1648 for ac_dir in config $srcdir/config; do
1649 if test -f $ac_dir/install-sh; then
1650 ac_aux_dir=$ac_dir
1651 ac_install_sh="$ac_aux_dir/install-sh -c"
1652 break
1653 elif test -f $ac_dir/install.sh; then
1654 ac_aux_dir=$ac_dir
1655 ac_install_sh="$ac_aux_dir/install.sh -c"
1656 break
1657 elif test -f $ac_dir/shtool; then
1658 ac_aux_dir=$ac_dir
1659 ac_install_sh="$ac_aux_dir/shtool install -c"
1660 break
1662 done
1663 if test -z "$ac_aux_dir"; then
1664 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1665 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1666 { (exit 1); exit 1; }; }
1668 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1669 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1670 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1672 ac_config_files="$ac_config_files config/Makefile"
1675 am__api_version="1.9"
1676 # Find a good install program. We prefer a C program (faster),
1677 # so one script is as good as another. But avoid the broken or
1678 # incompatible versions:
1679 # SysV /etc/install, /usr/sbin/install
1680 # SunOS /usr/etc/install
1681 # IRIX /sbin/install
1682 # AIX /bin/install
1683 # AmigaOS /C/install, which installs bootblocks on floppy discs
1684 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1685 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1686 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1687 # OS/2's system install, which has a completely different semantic
1688 # ./install, which can be erroneously created by make from ./install.sh.
1689 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1690 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1691 if test -z "$INSTALL"; then
1692 if test "${ac_cv_path_install+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 else
1695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1696 for as_dir in $PATH
1698 IFS=$as_save_IFS
1699 test -z "$as_dir" && as_dir=.
1700 # Account for people who put trailing slashes in PATH elements.
1701 case $as_dir/ in
1702 ./ | .// | /cC/* | \
1703 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1704 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1705 /usr/ucb/* ) ;;
1707 # OSF1 and SCO ODT 3.0 have their own names for install.
1708 # Don't use installbsd from OSF since it installs stuff as root
1709 # by default.
1710 for ac_prog in ginstall scoinst install; do
1711 for ac_exec_ext in '' $ac_executable_extensions; do
1712 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1713 if test $ac_prog = install &&
1714 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1715 # AIX install. It has an incompatible calling convention.
1717 elif test $ac_prog = install &&
1718 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1719 # program-specific install script used by HP pwplus--don't use.
1721 else
1722 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1723 break 3
1726 done
1727 done
1729 esac
1730 done
1734 if test "${ac_cv_path_install+set}" = set; then
1735 INSTALL=$ac_cv_path_install
1736 else
1737 # As a last resort, use the slow shell script. Don't cache a
1738 # value for INSTALL within a source directory, because that will
1739 # break other packages using the cache if that directory is
1740 # removed, or if the value is a relative name.
1741 INSTALL=$ac_install_sh
1744 echo "$as_me:$LINENO: result: $INSTALL" >&5
1745 echo "${ECHO_T}$INSTALL" >&6
1747 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1748 # It thinks the first close brace ends the variable substitution.
1749 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1751 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1753 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1755 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1756 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1757 # Just in case
1758 sleep 1
1759 echo timestamp > conftest.file
1760 # Do `set' in a subshell so we don't clobber the current shell's
1761 # arguments. Must try -L first in case configure is actually a
1762 # symlink; some systems play weird games with the mod time of symlinks
1763 # (eg FreeBSD returns the mod time of the symlink's containing
1764 # directory).
1765 if (
1766 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1767 if test "$*" = "X"; then
1768 # -L didn't work.
1769 set X `ls -t $srcdir/configure conftest.file`
1771 rm -f conftest.file
1772 if test "$*" != "X $srcdir/configure conftest.file" \
1773 && test "$*" != "X conftest.file $srcdir/configure"; then
1775 # If neither matched, then we have a broken ls. This can happen
1776 # if, for instance, CONFIG_SHELL is bash and it inherits a
1777 # broken ls alias from the environment. This has actually
1778 # happened. Such a system could not be considered "sane".
1779 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1780 alias in your environment" >&5
1781 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1782 alias in your environment" >&2;}
1783 { (exit 1); exit 1; }; }
1786 test "$2" = conftest.file
1788 then
1789 # Ok.
1791 else
1792 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1793 Check your system clock" >&5
1794 echo "$as_me: error: newly created file is older than distributed files!
1795 Check your system clock" >&2;}
1796 { (exit 1); exit 1; }; }
1798 echo "$as_me:$LINENO: result: yes" >&5
1799 echo "${ECHO_T}yes" >&6
1800 test "$program_prefix" != NONE &&
1801 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1802 # Use a double $ so make ignores it.
1803 test "$program_suffix" != NONE &&
1804 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1805 # Double any \ or $. echo might interpret backslashes.
1806 # By default was `s,x,x', remove it if useless.
1807 cat <<\_ACEOF >conftest.sed
1808 s/[\\$]/&&/g;s/;s,x,x,$//
1809 _ACEOF
1810 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1811 rm -f conftest.sed
1813 # expand $ac_aux_dir to an absolute path
1814 am_aux_dir=`cd $ac_aux_dir && pwd`
1816 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1817 # Use eval to expand $SHELL
1818 if eval "$MISSING --run true"; then
1819 am_missing_run="$MISSING --run "
1820 else
1821 am_missing_run=
1822 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1823 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1826 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1827 # We used to keeping the `.' as first argument, in order to
1828 # allow $(mkdir_p) to be used without argument. As in
1829 # $(mkdir_p) $(somedir)
1830 # where $(somedir) is conditionally defined. However this is wrong
1831 # for two reasons:
1832 # 1. if the package is installed by a user who cannot write `.'
1833 # make install will fail,
1834 # 2. the above comment should most certainly read
1835 # $(mkdir_p) $(DESTDIR)$(somedir)
1836 # so it does not work when $(somedir) is undefined and
1837 # $(DESTDIR) is not.
1838 # To support the latter case, we have to write
1839 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1840 # so the `.' trick is pointless.
1841 mkdir_p='mkdir -p --'
1842 else
1843 # On NextStep and OpenStep, the `mkdir' command does not
1844 # recognize any option. It will interpret all options as
1845 # directories to create, and then abort because `.' already
1846 # exists.
1847 for d in ./-p ./--version;
1849 test -d $d && rmdir $d
1850 done
1851 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1852 if test -f "$ac_aux_dir/mkinstalldirs"; then
1853 mkdir_p='$(mkinstalldirs)'
1854 else
1855 mkdir_p='$(install_sh) -d'
1859 for ac_prog in gawk mawk nawk awk
1861 # Extract the first word of "$ac_prog", so it can be a program name with args.
1862 set dummy $ac_prog; ac_word=$2
1863 echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865 if test "${ac_cv_prog_AWK+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 else
1868 if test -n "$AWK"; then
1869 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1870 else
1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872 for as_dir in $PATH
1874 IFS=$as_save_IFS
1875 test -z "$as_dir" && as_dir=.
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1878 ac_cv_prog_AWK="$ac_prog"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880 break 2
1882 done
1883 done
1887 AWK=$ac_cv_prog_AWK
1888 if test -n "$AWK"; then
1889 echo "$as_me:$LINENO: result: $AWK" >&5
1890 echo "${ECHO_T}$AWK" >&6
1891 else
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1896 test -n "$AWK" && break
1897 done
1899 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1900 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1901 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1902 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1904 else
1905 cat >conftest.make <<\_ACEOF
1906 SHELL = /bin/sh
1907 all:
1908 @echo 'ac_maketemp=X"$(MAKE)"'
1909 _ACEOF
1910 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1911 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1912 if test "$ac_maketemp" != X ; then
1913 eval ac_cv_prog_make_${ac_make}_set=yes
1914 else
1915 eval ac_cv_prog_make_${ac_make}_set=no
1917 rm -f conftest.make
1919 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1920 echo "$as_me:$LINENO: result: yes" >&5
1921 echo "${ECHO_T}yes" >&6
1922 SET_MAKE=
1923 else
1924 echo "$as_me:$LINENO: result: no" >&5
1925 echo "${ECHO_T}no" >&6
1926 SET_MAKE="MAKE=${MAKE-make}"
1929 rm -rf .tst 2>/dev/null
1930 mkdir .tst 2>/dev/null
1931 if test -d .tst; then
1932 am__leading_dot=.
1933 else
1934 am__leading_dot=_
1936 rmdir .tst 2>/dev/null
1938 # test to see if srcdir already configured
1939 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1940 test -f $srcdir/config.status; then
1941 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1942 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1943 { (exit 1); exit 1; }; }
1946 # test whether we have cygpath
1947 if test -z "$CYGPATH_W"; then
1948 if (cygpath --version) >/dev/null 2>/dev/null; then
1949 CYGPATH_W='cygpath -w'
1950 else
1951 CYGPATH_W=echo
1956 # Define the identity of the package.
1957 PACKAGE='autoconf'
1958 VERSION='2.59c'
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE "$PACKAGE"
1963 _ACEOF
1966 cat >>confdefs.h <<_ACEOF
1967 #define VERSION "$VERSION"
1968 _ACEOF
1970 # Some tools Automake needs.
1972 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1975 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1978 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1981 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1984 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1986 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1988 # Installed binaries are usually stripped using `strip' when the user
1989 # run `make install-strip'. However `strip' might not be the right
1990 # tool to use in cross-compilation environments, therefore Automake
1991 # will honor the `STRIP' environment variable to overrule this program.
1992 if test "$cross_compiling" != no; then
1993 if test -n "$ac_tool_prefix"; then
1994 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1995 set dummy ${ac_tool_prefix}strip; ac_word=$2
1996 echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1998 if test "${ac_cv_prog_STRIP+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 else
2001 if test -n "$STRIP"; then
2002 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2003 else
2004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005 for as_dir in $PATH
2007 IFS=$as_save_IFS
2008 test -z "$as_dir" && as_dir=.
2009 for ac_exec_ext in '' $ac_executable_extensions; do
2010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2011 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013 break 2
2015 done
2016 done
2020 STRIP=$ac_cv_prog_STRIP
2021 if test -n "$STRIP"; then
2022 echo "$as_me:$LINENO: result: $STRIP" >&5
2023 echo "${ECHO_T}$STRIP" >&6
2024 else
2025 echo "$as_me:$LINENO: result: no" >&5
2026 echo "${ECHO_T}no" >&6
2030 if test -z "$ac_cv_prog_STRIP"; then
2031 ac_ct_STRIP=$STRIP
2032 # Extract the first word of "strip", so it can be a program name with args.
2033 set dummy strip; ac_word=$2
2034 echo "$as_me:$LINENO: checking for $ac_word" >&5
2035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2036 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 else
2039 if test -n "$ac_ct_STRIP"; then
2040 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2041 else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 for as_dir in $PATH
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2049 ac_cv_prog_ac_ct_STRIP="strip"
2050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 break 2
2053 done
2054 done
2058 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2059 if test -n "$ac_ct_STRIP"; then
2060 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2061 echo "${ECHO_T}$ac_ct_STRIP" >&6
2062 else
2063 echo "$as_me:$LINENO: result: no" >&5
2064 echo "${ECHO_T}no" >&6
2067 if test "x$ac_ct_STRIP" = x; then
2068 STRIP=":"
2069 else
2070 if test "$build" != "$host"; then
2071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2072 whose name does not start with the host triplet. If you think this
2073 configuration is useful to you, please write to autoconf@gnu.org." >&5
2074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2075 whose name does not start with the host triplet. If you think this
2076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2078 STRIP=$ac_ct_STRIP
2080 else
2081 STRIP="$ac_cv_prog_STRIP"
2085 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2087 # We need awk for the "check" target. The system "awk" is bad on
2088 # some platforms.
2089 # Always define AMTAR for backward compatibility.
2091 AMTAR=${AMTAR-"${am_missing_run}tar"}
2093 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2100 # We use `/bin/sh -n script' to check that there are no syntax errors
2101 # in the scripts. Although incredible, there are /bin/sh that go into
2102 # endless loops with `-n', e.g., SunOS's:
2104 # $ uname -a
2105 # SunOS ondine 4.1.3 2 sun4m unknown
2106 # $ cat endless.sh
2107 # while false
2108 # do
2110 # done
2111 # exit 0
2112 # $ time sh endless.sh
2113 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2114 # $ time sh -nx endless.sh
2115 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2117 # So before using `/bin/sh -n' to check our scripts, we first check
2118 # that `/bin/sh -n' is not broken to death.
2120 # A script that never returns. We don't care that it never returns,
2121 # broken /bin/sh loop equally with `false', but it makes it easier to
2122 # test the robustness in a good environment: just remove the `-n'.
2123 echo "$as_me:$LINENO: checking whether sh -n works" >&5
2124 echo $ECHO_N "checking whether sh -n works... $ECHO_C" >&6
2125 if test "${ac_cv_sh_n_works+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2127 else
2128 cat > conftest.sh <<_CONFEOF_
2129 while :
2132 done
2133 _CONFEOF_
2135 (/bin/sh -n conftest.sh) &
2136 sleep 2
2137 if kill $! >/dev/null 2>&1; then
2138 # We managed to kill the child, which means that we probably
2139 # can't trust `/bin/sh -n', hence the test failed.
2140 ac_cv_sh_n_works=no
2141 else
2142 ac_cv_sh_n_works=yes
2144 rm conftest.sh
2147 echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2148 echo "${ECHO_T}$ac_cv_sh_n_works" >&6
2151 # Initialize the test suite.
2152 ac_config_commands="$ac_config_commands tests/atconfig"
2155 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2157 # Extract the first word of "expr", so it can be a program name with args.
2158 set dummy expr; ac_word=$2
2159 echo "$as_me:$LINENO: checking for $ac_word" >&5
2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2161 if test "${ac_cv_path_EXPR+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 else
2164 case $EXPR in
2165 [\\/]* | ?:[\\/]*)
2166 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 for as_dir in $PATH
2172 IFS=$as_save_IFS
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2176 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 break 2
2180 done
2181 done
2184 esac
2186 EXPR=$ac_cv_path_EXPR
2188 if test -n "$EXPR"; then
2189 echo "$as_me:$LINENO: result: $EXPR" >&5
2190 echo "${ECHO_T}$EXPR" >&6
2191 else
2192 echo "$as_me:$LINENO: result: no" >&5
2193 echo "${ECHO_T}no" >&6
2198 ## ---- ##
2199 ## M4. ##
2200 ## ---- ##
2202 # We use an absolute name for GNU m4 so even if users have another m4 first in
2203 # their path, the installer can configure with a path that has GNU m4
2204 # first and get that path embedded in the installed autoconf and
2205 # autoheader scripts.
2206 for ac_prog in gm4 gnum4 m4
2208 # Extract the first word of "$ac_prog", so it can be a program name with args.
2209 set dummy $ac_prog; ac_word=$2
2210 echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2212 if test "${ac_cv_path_M4+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 else
2215 case $M4 in
2216 [\\/]* | ?:[\\/]*)
2217 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2221 for as_dir in $PATH
2223 IFS=$as_save_IFS
2224 test -z "$as_dir" && as_dir=.
2225 for ac_exec_ext in '' $ac_executable_extensions; do
2226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2227 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 break 2
2231 done
2232 done
2235 esac
2237 M4=$ac_cv_path_M4
2239 if test -n "$M4"; then
2240 echo "$as_me:$LINENO: result: $M4" >&5
2241 echo "${ECHO_T}$M4" >&6
2242 else
2243 echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6
2247 test -n "$M4" && break
2248 done
2249 test -n "$M4" || M4="m4"
2251 echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2252 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2253 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 else
2256 ac_cv_prog_gnu_m4=no
2257 if test x"$M4" != x; then
2258 case `$M4 --help < /dev/null 2>&1` in
2259 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2260 esac
2263 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2264 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2265 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2266 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2267 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2268 { (exit 1); exit 1; }; }
2271 ## ----------- ##
2272 ## Man pages. ##
2273 ## ----------- ##
2275 ac_config_files="$ac_config_files man/Makefile"
2278 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2282 ## ------ ##
2283 ## Perl. ##
2284 ## ------ ##
2286 # We use an absolute name for perl so the #! line in autoscan will work.
2287 # Extract the first word of "perl", so it can be a program name with args.
2288 set dummy perl; ac_word=$2
2289 echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2291 if test "${ac_cv_path_PERL+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 else
2294 case $PERL in
2295 [\\/]* | ?:[\\/]*)
2296 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 for as_dir in $PATH
2302 IFS=$as_save_IFS
2303 test -z "$as_dir" && as_dir=.
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2306 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 break 2
2310 done
2311 done
2313 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2315 esac
2317 PERL=$ac_cv_path_PERL
2319 if test -n "$PERL"; then
2320 echo "$as_me:$LINENO: result: $PERL" >&5
2321 echo "${ECHO_T}$PERL" >&6
2322 else
2323 echo "$as_me:$LINENO: result: no" >&5
2324 echo "${ECHO_T}no" >&6
2327 if test "$PERL" = no; then
2328 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2329 echo "$as_me: error: perl is not found" >&2;}
2330 { (exit 1); exit 1; }; }
2332 $PERL -e 'require 5.005_03;' || {
2333 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2334 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2335 { (exit 1); exit 1; }; }
2339 ## ------- ##
2340 ## Emacs. ##
2341 ## ------- ##
2343 ac_config_files="$ac_config_files lib/emacs/Makefile"
2345 TEST_EMACS=$EMACS
2346 test x"$TEST_EMACS" = xt && TEST_EMACS=
2347 for ac_prog in emacs xemacs
2349 # Extract the first word of "$ac_prog", so it can be a program name with args.
2350 set dummy $ac_prog; ac_word=$2
2351 echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2353 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 else
2356 if test -n "$TEST_EMACS"; then
2357 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2358 else
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 for as_dir in $PATH
2362 IFS=$as_save_IFS
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_TEST_EMACS="$ac_prog"
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 break 2
2370 done
2371 done
2375 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2376 if test -n "$TEST_EMACS"; then
2377 echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2378 echo "${ECHO_T}$TEST_EMACS" >&6
2379 else
2380 echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2384 test -n "$TEST_EMACS" && break
2385 done
2386 test -n "$TEST_EMACS" || TEST_EMACS="no"
2389 # autoconf-mode.el and autotest-mode.el do not work with older version of
2390 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2391 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2392 # We detect this problem here.
2393 if test "$TEST_EMACS" != no; then
2394 echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2395 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6
2396 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 else
2399 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2400 cat >conftest.el << "EOF"
2401 (defvar broken)
2402 (defun broken-mode () (setq broken-defaults `(broken nil)))
2404 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2405 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2406 ac_status=$?
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; then
2409 ac_cv_prog_emacs_ok=yes
2410 else
2411 ac_cv_prog_emacs_ok=no
2414 rm -f conftest.el conftest.elc
2416 echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2417 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6
2418 if test $ac_cv_prog_emacs_ok = no; then
2419 TEST_EMACS=no
2425 EMACS=$TEST_EMACS
2428 # If set to t, that means we are running in a shell under Emacs.
2429 # If you have an Emacs named "t", then use the full path.
2430 test x"$EMACS" = xt && EMACS=
2431 for ac_prog in emacs xemacs
2433 # Extract the first word of "$ac_prog", so it can be a program name with args.
2434 set dummy $ac_prog; ac_word=$2
2435 echo "$as_me:$LINENO: checking for $ac_word" >&5
2436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2437 if test "${ac_cv_prog_EMACS+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 else
2440 if test -n "$EMACS"; then
2441 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2442 else
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 for as_dir in $PATH
2446 IFS=$as_save_IFS
2447 test -z "$as_dir" && as_dir=.
2448 for ac_exec_ext in '' $ac_executable_extensions; do
2449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2450 ac_cv_prog_EMACS="$ac_prog"
2451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 break 2
2454 done
2455 done
2459 EMACS=$ac_cv_prog_EMACS
2460 if test -n "$EMACS"; then
2461 echo "$as_me:$LINENO: result: $EMACS" >&5
2462 echo "${ECHO_T}$EMACS" >&6
2463 else
2464 echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6
2468 test -n "$EMACS" && break
2469 done
2470 test -n "$EMACS" || EMACS="no"
2475 # Check whether --with-lispdir or --without-lispdir was given.
2476 if test "${with_lispdir+set}" = set; then
2477 withval="$with_lispdir"
2478 lispdir="$withval"
2479 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2480 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2481 echo "$as_me:$LINENO: result: $lispdir" >&5
2482 echo "${ECHO_T}$lispdir" >&6
2483 else
2485 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2486 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2487 if test "${am_cv_lispdir+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 else
2491 if test $EMACS != "no"; then
2492 if test x${lispdir+set} != xset; then
2493 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2494 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2495 # which is non-obvious for non-emacs users.
2496 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2497 # emacsen earlier and avoid running this altogether.
2498 { (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
2499 ($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
2500 ac_status=$?
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }
2503 am_cv_lispdir=`sed -n \
2504 -e 's,/$,,' \
2505 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2506 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2507 conftest.out`
2508 rm conftest.out
2511 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2514 echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2515 echo "${ECHO_T}$am_cv_lispdir" >&6
2516 lispdir="$am_cv_lispdir"
2523 ## ------ ##
2524 ## Grep. ##
2525 ## ------ ##
2526 echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2527 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
2528 if test "${ac_cv_path_GREP+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2530 else
2531 # Extract the first word of "grep ggrep" to use in msg output
2532 if test -z "$GREP"; then
2533 set dummy grep ggrep; ac_prog_name=$2
2534 if test "${ac_cv_path_GREP+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 else
2537 ac_path_GREP_found=false
2538 # Loop through the user's path and test for each of PROGNAME-LIST
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 as_dummy="$PATH:/usr/xpg4/bin"
2541 for as_dir in $as_dummy
2543 IFS=$as_save_IFS
2544 test -z "$as_dir" && as_dir=.
2545 for ac_prog in grep ggrep; do
2546 for ac_exec_ext in '' $ac_executable_extensions; do
2547 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2548 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2549 # Check for GNU ac_path_GREP and select it if it is found.
2550 # Check for GNU $ac_path_GREP
2551 case `"$ac_path_GREP" --version </dev/null 2>&1` in
2552 *GNU*)
2553 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2555 ac_count=0
2556 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2557 while :
2559 cat "conftest.in" "conftest.in" >"conftest.tmp"
2560 mv "conftest.tmp" "conftest.in"
2561 cp "conftest.in" "conftest.nl"
2562 echo 'GREP' >> "conftest.nl"
2563 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2564 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2565 ac_count=`expr $ac_count + 1`
2566 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2567 # Best one so far, save it but keep looking for a better one
2568 ac_cv_path_GREP="$ac_path_GREP"
2569 ac_path_GREP_max=$ac_count
2571 # 10*(2^10) chars as input seems more than enough
2572 test $ac_count -gt 10 && break
2573 done
2574 rm -f conftest.*;;
2575 esac
2578 $ac_path_GREP_found && break 3
2579 done
2580 done
2582 done
2587 GREP="$ac_cv_path_GREP"
2588 if test -z "$GREP"; then
2589 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2590 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2591 { (exit 1); exit 1; }; }
2594 else
2595 ac_cv_path_GREP=$GREP
2600 echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2601 echo "${ECHO_T}$ac_cv_path_GREP" >&6
2602 GREP="$ac_cv_path_GREP"
2607 ## ------------ ##
2608 ## Conclusion. ##
2609 ## ------------ ##
2611 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"
2614 cat >confcache <<\_ACEOF
2615 # This file is a shell script that caches the results of configure
2616 # tests run on this system so they can be shared between configure
2617 # scripts and configure runs, see configure's option --config-cache.
2618 # It is not useful on other systems. If it contains results you don't
2619 # want to keep, you may remove or edit it.
2621 # config.status only pays attention to the cache file if you give it
2622 # the --recheck option to rerun configure.
2624 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2625 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2626 # following values.
2628 _ACEOF
2630 # The following way of writing the cache mishandles newlines in values,
2631 # but we know of no workaround that is simple, portable, and efficient.
2632 # So, don't put newlines in cache variables' values.
2633 # Ultrix sh set writes to stderr and can't be redirected directly,
2634 # and sets the high bit in the cache file unless we assign to the vars.
2636 (set) 2>&1 |
2637 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2638 *ac_space=\ *)
2639 # `set' does not quote correctly, so add quotes (double-quote
2640 # substitution turns \\\\ into \\, and sed turns \\ into \).
2641 sed -n \
2642 "s/'/'\\\\''/g;
2643 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2646 # `set' quotes correctly as required by POSIX, so do not add quotes.
2647 sed -n \
2648 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2650 esac;
2652 sed '
2653 t clear
2654 : clear
2655 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2656 t end
2657 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2658 : end' >>confcache
2659 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2660 if test -w $cache_file; then
2661 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2662 cat confcache >$cache_file
2663 else
2664 echo "not updating unwritable cache $cache_file"
2667 rm -f confcache
2669 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2670 # Let make expand exec_prefix.
2671 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2673 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2674 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2675 # trailing colons and then remove the whole line if VPATH becomes empty
2676 # (actually we leave an empty line to preserve line numbers).
2677 if test "x$srcdir" = x.; then
2678 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2679 s/:*\$(srcdir):*/:/;
2680 s/:*\${srcdir}:*/:/;
2681 s/:*@srcdir@:*/:/;
2682 s/^\([^=]*=[ ]*\):*/\1/;
2683 s/:*$//;
2684 s/^[^=]*=[ ]*$//;
2688 # Transform confdefs.h into DEFS.
2689 # Protect against shell expansion while executing Makefile rules.
2690 # Protect against Makefile macro expansion.
2692 # If the first sed substitution is executed (which looks for macros that
2693 # take arguments), then we branch to the quote section. Otherwise,
2694 # look for a macro that doesn't take arguments.
2695 cat >confdef2opt.sed <<\_ACEOF
2696 t clear
2697 : clear
2698 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2699 t quote
2700 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2701 t quote
2703 : quote
2704 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2705 s,\[,\\&,g
2706 s,\],\\&,g
2707 s,\$,$$,g
2709 _ACEOF
2710 # We use echo to avoid assuming a particular line-breaking character.
2711 # The extra dot is to prevent the shell from consuming trailing
2712 # line-breaks from the sub-command output. A line-break within
2713 # single-quotes doesn't work because, if this script is created in a
2714 # platform that uses two characters for line-breaks (e.g., DOS), tr
2715 # would break.
2716 ac_LF_and_DOT=`echo; echo .`
2717 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2718 rm -f confdef2opt.sed
2721 ac_libobjs=
2722 ac_ltlibobjs=
2723 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2724 # 1. Remove the extension, and $U if already installed.
2725 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2726 ac_i=`echo "$ac_i" | sed "$ac_script"`
2727 # 2. Add them.
2728 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2729 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2730 done
2731 LIBOBJS=$ac_libobjs
2733 LTLIBOBJS=$ac_ltlibobjs
2737 : ${CONFIG_STATUS=./config.status}
2738 ac_clean_files_save=$ac_clean_files
2739 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2740 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2741 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2742 cat >$CONFIG_STATUS <<_ACEOF
2743 #! $SHELL
2744 # Generated by $as_me.
2745 # Run this file to recreate the current configuration.
2746 # Compiler output produced by configure, useful for debugging
2747 # configure, is in config.log if it exists.
2749 debug=false
2750 ac_cs_recheck=false
2751 ac_cs_silent=false
2752 SHELL=\${CONFIG_SHELL-$SHELL}
2753 _ACEOF
2755 cat >>$CONFIG_STATUS <<\_ACEOF
2756 ## --------------------- ##
2757 ## M4sh Initialization. ##
2758 ## --------------------- ##
2760 # Be Bourne compatible
2761 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2762 emulate sh
2763 NULLCMD=:
2764 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2765 # is contrary to our usage. Disable this feature.
2766 alias -g '${1+"$@"}'='"$@"'
2767 setopt NO_GLOB_SUBST
2768 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2769 set -o posix
2771 BIN_SH=xpg4; export BIN_SH # for Tru64
2772 DUALCASE=1; export DUALCASE # for MKS sh
2775 # PATH needs CR
2776 # Avoid depending upon Character Ranges.
2777 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2778 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2779 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2780 as_cr_digits='0123456789'
2781 as_cr_alnum=$as_cr_Letters$as_cr_digits
2783 # The user is always right.
2784 if test "${PATH_SEPARATOR+set}" != set; then
2785 echo "#! /bin/sh" >conf$$.sh
2786 echo "exit 0" >>conf$$.sh
2787 chmod +x conf$$.sh
2788 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2789 PATH_SEPARATOR=';'
2790 else
2791 PATH_SEPARATOR=:
2793 rm -f conf$$.sh
2796 # Support unset when possible.
2797 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2798 as_unset=unset
2799 else
2800 as_unset=false
2804 # Find who we are. Look in the path if we contain no path at all
2805 # relative or not.
2806 case $0 in
2807 *[\\/]* ) as_myself=$0 ;;
2808 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 for as_dir in $PATH
2811 IFS=$as_save_IFS
2812 test -z "$as_dir" && as_dir=.
2813 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2814 done
2817 esac
2818 # We did not find ourselves, most probably we were run as `sh COMMAND'
2819 # in which case we are not to be found in the path.
2820 if test "x$as_myself" = x; then
2821 as_myself=$0
2823 if test ! -f "$as_myself"; then
2824 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
2825 echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
2826 { (exit 1); exit 1; }; }
2829 # Work around bugs in pre-3.0 UWIN ksh.
2830 for as_var in ENV MAIL MAILPATH
2831 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2832 done
2833 PS1='$ '
2834 PS2='> '
2835 PS4='+ '
2837 # NLS nuisances.
2838 for as_var in \
2839 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2840 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2841 LC_TELEPHONE LC_TIME
2843 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2844 eval $as_var=C; export $as_var
2845 else
2846 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2848 done
2850 # Required to use basename.
2851 if expr a : '\(a\)' >/dev/null 2>&1; then
2852 as_expr=expr
2853 else
2854 as_expr=false
2857 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2858 as_basename=basename
2859 else
2860 as_basename=false
2864 # Name of the executable.
2865 as_me=`$as_basename "$0" ||
2866 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2867 X"$0" : 'X\(//\)$' \| \
2868 X"$0" : 'X\(/\)$' \| \
2869 . : '\(.\)' 2>/dev/null ||
2870 echo X/"$0" |
2871 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2872 /^X\/\(\/\/\)$/{ s//\1/; q; }
2873 /^X\/\(\/\).*/{ s//\1/; q; }
2874 s/.*/./; q'`
2879 as_lineno_1=$LINENO
2880 as_lineno_2=$LINENO
2881 test "x$as_lineno_1" != "x$as_lineno_2" &&
2882 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2884 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2885 # uniformly replaced by the line number. The first 'sed' inserts a
2886 # line-number line after each line using $LINENO; the second 'sed'
2887 # does the real work. The second script uses 'N' to pair each
2888 # line-number line with the line containing $LINENO, and appends
2889 # trailing '-' during substitution so that $LINENO is not a special
2890 # case at line end.
2891 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2892 # scripts with optimization help from Paolo Bonzini. Blame Lee
2893 # E. McMahon (1931-1989) for sed's syntax. :-)
2894 sed -n '
2896 /[$]LINENO/=
2897 ' <$as_myself |
2898 sed '
2899 s,[$]LINENO.*,&-,
2900 t lineno
2902 : lineno
2904 : loop
2905 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2906 t loop
2907 s,-\n.*,,
2908 ' >$as_me.lineno &&
2909 chmod +x $as_me.lineno ||
2910 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2911 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2912 { (exit 1); exit 1; }; }
2914 # Don't try to exec as it changes $[0], causing all sort of problems
2915 # (the dirname of $[0] is not the place where we might find the
2916 # original and so on. Autoconf is especially sensible to this).
2917 . ./$as_me.lineno
2918 # Exit status is that of the last command.
2919 exit
2923 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2924 *c*,-n*) ECHO_N= ECHO_C='
2925 ' ECHO_T=' ' ;;
2926 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2927 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2928 esac
2930 if expr a : '\(a\)' >/dev/null 2>&1; then
2931 as_expr=expr
2932 else
2933 as_expr=false
2936 rm -f conf$$ conf$$.exe conf$$.file
2937 echo >conf$$.file
2938 if ln -s conf$$.file conf$$ 2>/dev/null; then
2939 # We could just check for DJGPP; but this test a) works b) is more generic
2940 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2941 if test -f conf$$.exe; then
2942 # Don't use ln at all; we don't have any links
2943 as_ln_s='cp -p'
2944 else
2945 as_ln_s='ln -s'
2947 elif ln conf$$.file conf$$ 2>/dev/null; then
2948 as_ln_s=ln
2949 else
2950 as_ln_s='cp -p'
2952 rm -f conf$$ conf$$.exe conf$$.file
2954 if mkdir -p . 2>/dev/null; then
2955 as_mkdir_p=:
2956 else
2957 test -d ./-p && rmdir ./-p
2958 as_mkdir_p=false
2961 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2962 # systems may use methods other than mode bits to determine executability.
2963 cat >conf$$.file <<_ASEOF
2964 #! /bin/sh
2965 exit 0
2966 _ASEOF
2967 chmod +x conf$$.file
2968 if test -x conf$$.file >/dev/null 2>&1; then
2969 as_executable_p="test -x"
2970 else
2971 as_executable_p=:
2973 rm -f conf$$.file
2975 # Sed expression to map a string onto a valid CPP name.
2976 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2978 # Sed expression to map a string onto a valid variable name.
2979 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2982 # IFS
2983 # We need space, tab and new line, in precisely that order.
2984 as_nl='
2986 IFS=" $as_nl"
2988 # CDPATH.
2989 $as_unset CDPATH
2991 exec 6>&1
2993 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2994 # report actual input values of CONFIG_FILES etc. instead of their
2995 # values after options handling. Logging --version etc. is OK.
2996 exec 5>>config.log
2998 echo
2999 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3000 ## Running $as_me. ##
3001 _ASBOX
3002 } >&5
3003 cat >&5 <<_CSEOF
3005 This file was extended by GNU Autoconf $as_me 2.59c, which was
3006 generated by GNU Autoconf 2.59c. Invocation command line was
3008 CONFIG_FILES = $CONFIG_FILES
3009 CONFIG_HEADERS = $CONFIG_HEADERS
3010 CONFIG_LINKS = $CONFIG_LINKS
3011 CONFIG_COMMANDS = $CONFIG_COMMANDS
3012 $ $0 $@
3014 _CSEOF
3015 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3016 echo >&5
3017 _ACEOF
3019 # Files that config.status was made for.
3020 if test -n "$ac_config_files"; then
3021 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3024 if test -n "$ac_config_headers"; then
3025 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3028 if test -n "$ac_config_links"; then
3029 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3032 if test -n "$ac_config_commands"; then
3033 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3036 cat >>$CONFIG_STATUS <<\_ACEOF
3038 ac_cs_usage="\
3039 \`$as_me' instantiates files from templates according to the
3040 current configuration.
3042 Usage: $0 [OPTIONS] [FILE]...
3044 -h, --help print this help, then exit
3045 -V, --version print version number, then exit
3046 -q, --quiet do not print progress messages
3047 -d, --debug don't remove temporary files
3048 --recheck update $as_me by reconfiguring in the same conditions
3049 --file=FILE[:TEMPLATE]
3050 instantiate the configuration file FILE
3052 Configuration files:
3053 $config_files
3055 Configuration commands:
3056 $config_commands
3058 Report bugs to <bug-autoconf@gnu.org>."
3059 _ACEOF
3061 cat >>$CONFIG_STATUS <<_ACEOF
3062 ac_cs_version="\\
3063 GNU Autoconf config.status 2.59c
3064 configured by $0, generated by GNU Autoconf 2.59c,
3065 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3067 Copyright (C) 2005 Free Software Foundation, Inc.
3068 This config.status script is free software; the Free Software Foundation
3069 gives unlimited permission to copy, distribute and modify it."
3070 srcdir=$srcdir
3071 INSTALL="$INSTALL"
3072 _ACEOF
3074 cat >>$CONFIG_STATUS <<\_ACEOF
3075 # If no file are specified by the user, then we need to provide default
3076 # value. By we need to know if files were specified by the user.
3077 ac_need_defaults=:
3078 while test $# != 0
3080 case $1 in
3081 --*=*)
3082 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3083 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3084 ac_shift=:
3087 ac_option=$1
3088 ac_optarg=$2
3089 ac_shift=shift
3091 *) # This is not an option, so the user has probably given explicit
3092 # arguments.
3093 ac_option=$1
3094 ac_need_defaults=false;;
3095 esac
3097 case $ac_option in
3098 # Handling of the options.
3099 _ACEOF
3100 cat >>$CONFIG_STATUS <<\_ACEOF
3101 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3102 ac_cs_recheck=: ;;
3103 --version | --vers* | -V )
3104 echo "$ac_cs_version"; exit ;;
3105 --he | --h)
3106 # Conflict between --help and --header
3107 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3108 Try \`$0 --help' for more information." >&5
3109 echo "$as_me: error: ambiguous option: $1
3110 Try \`$0 --help' for more information." >&2;}
3111 { (exit 1); exit 1; }; };;
3112 --help | --hel | -h )
3113 echo "$ac_cs_usage"; exit ;;
3114 --debug | --d* | -d )
3115 debug=: ;;
3116 --file | --fil | --fi | --f )
3117 $ac_shift
3118 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3119 ac_need_defaults=false;;
3120 --header | --heade | --head | --hea )
3121 $ac_shift
3122 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3123 ac_need_defaults=false;;
3124 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3125 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3126 ac_cs_silent=: ;;
3128 # This is an error.
3129 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3130 Try \`$0 --help' for more information." >&5
3131 echo "$as_me: error: unrecognized option: $1
3132 Try \`$0 --help' for more information." >&2;}
3133 { (exit 1); exit 1; }; } ;;
3135 *) ac_config_targets="$ac_config_targets $1" ;;
3137 esac
3138 shift
3139 done
3141 ac_configure_extra_args=
3143 if $ac_cs_silent; then
3144 exec 6>/dev/null
3145 ac_configure_extra_args="$ac_configure_extra_args --silent"
3148 _ACEOF
3149 cat >>$CONFIG_STATUS <<_ACEOF
3150 if \$ac_cs_recheck; then
3151 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3152 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3155 _ACEOF
3161 cat >>$CONFIG_STATUS <<\_ACEOF
3162 for ac_config_target in $ac_config_targets
3164 case "$ac_config_target" in
3165 # Handling of arguments.
3166 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3167 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3168 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3169 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3170 "lib/emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3171 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3172 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3173 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3174 "lib/Autom4te/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3175 "lib/autoscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3176 "lib/m4sugar/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3177 "lib/autoconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3178 "lib/autotest/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3179 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3180 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3181 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3182 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3183 { (exit 1); exit 1; }; };;
3184 esac
3185 done
3187 # If the user did not use the arguments to specify the items to instantiate,
3188 # then the envvar interface is used. Set only those that are not.
3189 # We use the long form for the default assignment because of an extremely
3190 # bizarre bug on SunOS 4.1.3.
3191 if $ac_need_defaults; then
3192 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3193 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3196 # Have a temporary directory for convenience. Make it in the build tree
3197 # simply because there is no reason against having it here, and in addition,
3198 # creating and moving files from /tmp can sometimes cause problems.
3199 # Hook for its removal unless debugging.
3200 $debug ||
3202 trap 'exit_status=$?; rm -fr "$tmp" && exit $exit_status' 0
3203 trap '{ (exit 1); exit 1; }' 1 2 13 15
3205 # Create a (secure) tmp directory for tmp files.
3208 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3209 test -n "$tmp" && test -d "$tmp"
3210 } ||
3212 tmp=./conf$$-$RANDOM
3213 (umask 077 && mkdir "$tmp")
3214 } ||
3216 echo "$me: cannot create a temporary directory in ." >&2
3217 { (exit 1); exit 1; }
3220 _ACEOF
3222 cat >>$CONFIG_STATUS <<_ACEOF
3225 # CONFIG_FILES section.
3228 # No need to generate the scripts if there are no CONFIG_FILES.
3229 # This happens for instance when ./config.status config.h
3230 if test -n "\$CONFIG_FILES"; then
3231 # Protect against being on the right side of a sed subst in config.status.
3232 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3233 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >"\$tmp/subs.sed" <<\\CEOF
3234 s,@SHELL@,$SHELL,;t t
3235 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3236 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3237 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3238 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3239 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3240 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3241 s,@exec_prefix@,$exec_prefix,;t t
3242 s,@prefix@,$prefix,;t t
3243 s,@program_transform_name@,$program_transform_name,;t t
3244 s,@bindir@,$bindir,;t t
3245 s,@sbindir@,$sbindir,;t t
3246 s,@libexecdir@,$libexecdir,;t t
3247 s,@datarootdir@,$datarootdir,;t t
3248 s,@datadir@,$datadir,;t t
3249 s,@sysconfdir@,$sysconfdir,;t t
3250 s,@sharedstatedir@,$sharedstatedir,;t t
3251 s,@localstatedir@,$localstatedir,;t t
3252 s,@includedir@,$includedir,;t t
3253 s,@oldincludedir@,$oldincludedir,;t t
3254 s,@docdir@,$docdir,;t t
3255 s,@infodir@,$infodir,;t t
3256 s,@htmldir@,$htmldir,;t t
3257 s,@dvidir@,$dvidir,;t t
3258 s,@pdfdir@,$pdfdir,;t t
3259 s,@psdir@,$psdir,;t t
3260 s,@libdir@,$libdir,;t t
3261 s,@localedir@,$localedir,;t t
3262 s,@mandir@,$mandir,;t t
3263 s,@build_alias@,$build_alias,;t t
3264 s,@host_alias@,$host_alias,;t t
3265 s,@target_alias@,$target_alias,;t t
3266 s,@DEFS@,$DEFS,;t t
3267 s,@ECHO_C@,$ECHO_C,;t t
3268 s,@ECHO_N@,$ECHO_N,;t t
3269 s,@ECHO_T@,$ECHO_T,;t t
3270 s,@LIBS@,$LIBS,;t t
3271 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3272 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3273 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3274 s,@CYGPATH_W@,$CYGPATH_W,;t t
3275 s,@PACKAGE@,$PACKAGE,;t t
3276 s,@VERSION@,$VERSION,;t t
3277 s,@ACLOCAL@,$ACLOCAL,;t t
3278 s,@AUTOCONF@,$AUTOCONF,;t t
3279 s,@AUTOMAKE@,$AUTOMAKE,;t t
3280 s,@AUTOHEADER@,$AUTOHEADER,;t t
3281 s,@MAKEINFO@,$MAKEINFO,;t t
3282 s,@install_sh@,$install_sh,;t t
3283 s,@STRIP@,$STRIP,;t t
3284 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3285 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3286 s,@mkdir_p@,$mkdir_p,;t t
3287 s,@AWK@,$AWK,;t t
3288 s,@SET_MAKE@,$SET_MAKE,;t t
3289 s,@am__leading_dot@,$am__leading_dot,;t t
3290 s,@AMTAR@,$AMTAR,;t t
3291 s,@am__tar@,$am__tar,;t t
3292 s,@am__untar@,$am__untar,;t t
3293 s,@ac_cv_sh_n_works@,$ac_cv_sh_n_works,;t t
3294 s,@EXPR@,$EXPR,;t t
3295 s,@M4@,$M4,;t t
3296 s,@HELP2MAN@,$HELP2MAN,;t t
3297 s,@PERL@,$PERL,;t t
3298 s,@TEST_EMACS@,$TEST_EMACS,;t t
3299 s,@EMACS@,$EMACS,;t t
3300 s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
3301 s,@lispdir@,$lispdir,;t t
3302 s,@GREP@,$GREP,;t t
3303 s,@LIBOBJS@,$LIBOBJS,;t t
3304 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3305 CEOF
3307 _ACEOF
3309 cat >>$CONFIG_STATUS <<\_ACEOF
3310 # Split the substitutions into bite-sized pieces for seds with
3311 # small command number limits, like on Digital OSF/1 and HP-UX.
3312 ac_max_sed_lines=48
3313 ac_sed_frag=1 # Number of current file.
3314 ac_beg=1 # First line for current file.
3315 ac_end=$ac_max_sed_lines # Line after last line for current file.
3316 ac_more_lines=:
3317 ac_sed_cmds=
3318 while $ac_more_lines; do
3319 if test $ac_beg -gt 1; then
3320 sed "1,${ac_beg}d; ${ac_end}q" "$tmp/subs.sed" >"$tmp/subs.frag"
3321 else
3322 sed "${ac_end}q" "$tmp/subs.sed" >"$tmp/subs.frag"
3324 if test ! -s "$tmp/subs.frag"; then
3325 ac_more_lines=false
3326 else
3327 # The purpose of the label and of the branching condition is to
3328 # speed up the sed processing (if there are no `@' at all, there
3329 # is no need to browse any of the substitutions).
3330 # These are the two extra sed commands mentioned above.
3331 (echo ':t
3332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat "$tmp/subs.frag") >"$tmp/subs-$ac_sed_frag.sed"
3333 if test -z "$ac_sed_cmds"; then
3334 ac_sed_cmds="sed -f '$tmp/subs-$ac_sed_frag.sed'"
3335 else
3336 ac_sed_cmds="$ac_sed_cmds | sed -f '$tmp/subs-$ac_sed_frag.sed'"
3338 ac_sed_frag=`expr $ac_sed_frag + 1`
3339 ac_beg=$ac_end
3340 ac_end=`expr $ac_end + $ac_max_sed_lines`
3342 done
3343 if test -z "$ac_sed_cmds"; then
3344 ac_sed_cmds=cat
3346 fi # test -n "$CONFIG_FILES"
3348 _ACEOF
3349 cat >>$CONFIG_STATUS <<\_ACEOF
3350 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3351 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3352 case $ac_file in
3353 - | *:- | *:-:* ) # input from stdin
3354 cat >"$tmp/stdin"
3355 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3356 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3357 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3358 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3359 * ) ac_file_in=$ac_file.in ;;
3360 esac
3362 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3363 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3364 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3365 X"$ac_file" : 'X\(//\)[^/]' \| \
3366 X"$ac_file" : 'X\(//\)$' \| \
3367 X"$ac_file" : 'X\(/\)' \| \
3368 . : '\(.\)' 2>/dev/null ||
3369 echo X"$ac_file" |
3370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3371 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3372 /^X\(\/\/\)$/{ s//\1/; q; }
3373 /^X\(\/\).*/{ s//\1/; q; }
3374 s/.*/./; q'`
3375 { if $as_mkdir_p; then
3376 test -d "$ac_dir" || mkdir -p "$ac_dir"
3377 else
3378 as_dir="$ac_dir"
3379 as_dirs=
3380 while test ! -d "$as_dir"; do
3381 as_dirs="$as_dir $as_dirs"
3382 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3383 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3384 X"$as_dir" : 'X\(//\)[^/]' \| \
3385 X"$as_dir" : 'X\(//\)$' \| \
3386 X"$as_dir" : 'X\(/\)' \| \
3387 . : '\(.\)' 2>/dev/null ||
3388 echo X"$as_dir" |
3389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3390 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3391 /^X\(\/\/\)$/{ s//\1/; q; }
3392 /^X\(\/\).*/{ s//\1/; q; }
3393 s/.*/./; q'`
3394 done
3395 test ! -n "$as_dirs" || mkdir $as_dirs
3396 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3397 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3398 { (exit 1); exit 1; }; }; }
3400 ac_builddir=.
3402 if test "$ac_dir" != .; then
3403 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3404 # A "../" for each directory in $ac_dir_suffix.
3405 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3406 else
3407 ac_dir_suffix= ac_top_builddir=
3410 case $srcdir in
3411 .) # No --srcdir option. We are building in place.
3412 ac_srcdir=.
3413 if test -z "$ac_top_builddir"; then
3414 ac_top_srcdir=.
3415 else
3416 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3417 fi ;;
3418 [\\/]* | ?:[\\/]* ) # Absolute name.
3419 ac_srcdir=$srcdir$ac_dir_suffix;
3420 ac_top_srcdir=$srcdir ;;
3421 *) # Relative name.
3422 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3423 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3424 esac
3426 # Do not use `cd foo && pwd` to compute absolute names, because
3427 # the directories may not exist.
3428 case `pwd` in
3429 .) ac_abs_builddir="$ac_dir";;
3431 case "$ac_dir" in
3432 .) ac_abs_builddir=`pwd`;;
3433 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3434 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3435 esac;;
3436 esac
3437 case $ac_abs_builddir in
3438 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3440 case ${ac_top_builddir}. in
3441 .) ac_abs_top_builddir=$ac_abs_builddir;;
3442 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3443 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3444 esac;;
3445 esac
3446 case $ac_abs_builddir in
3447 .) ac_abs_srcdir=$ac_srcdir;;
3449 case $ac_srcdir in
3450 .) ac_abs_srcdir=$ac_abs_builddir;;
3451 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3452 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3453 esac;;
3454 esac
3455 case $ac_abs_builddir in
3456 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3458 case $ac_top_srcdir in
3459 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3460 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3461 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3462 esac;;
3463 esac
3466 case $INSTALL in
3467 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3468 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3469 esac
3471 if test x"$ac_file" != x-; then
3472 { echo "$as_me:$LINENO: creating $ac_file" >&5
3473 echo "$as_me: creating $ac_file" >&6;}
3474 rm -f "$ac_file"
3476 # Let's still pretend it is `configure' which instantiates (i.e., don't
3477 # use $as_me), people would be surprised to read:
3478 # /* config.h. Generated by config.status. */
3479 if test x"$ac_file" = x-; then
3480 configure_input=
3481 else
3482 configure_input="$ac_file. "
3484 configure_input=$configure_input"Generated from `echo $ac_file_in |
3485 sed 's,.*/,,'` by configure."
3487 # First look for the input files in the build tree, otherwise in the
3488 # src tree.
3489 ac_file_inputs=`IFS=:
3490 for f in $ac_file_in; do
3491 case $f in
3492 -) echo "$tmp/stdin" ;;
3493 [\\/$]*)
3494 # Absolute (can't be DOS-style, as IFS=:)
3495 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3496 echo "$as_me: error: cannot find input file: $f" >&2;}
3497 { (exit 1); exit 1; }; }
3498 echo "$f";;
3499 *) # Relative
3500 if test -f "$f"; then
3501 # Build tree
3502 echo "$f"
3503 elif test -f "$srcdir/$f"; then
3504 # Source tree
3505 echo "$srcdir/$f"
3506 else
3507 # /dev/null tree
3508 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3509 echo "$as_me: error: cannot find input file: $f" >&2;}
3510 { (exit 1); exit 1; }; }
3511 fi;;
3512 esac
3513 done` || { (exit 1); exit 1; }
3514 _ACEOF
3515 cat >>$CONFIG_STATUS <<_ACEOF
3516 sed "$ac_vpsub
3517 $extrasub
3518 _ACEOF
3519 cat >>$CONFIG_STATUS <<\_ACEOF
3521 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3522 s,@configure_input@,$configure_input,;t t
3523 s,@srcdir@,$ac_srcdir,;t t
3524 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3525 s,@top_srcdir@,$ac_top_srcdir,;t t
3526 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3527 s,@builddir@,$ac_builddir,;t t
3528 s,@abs_builddir@,$ac_abs_builddir,;t t
3529 s,@top_builddir@,$ac_top_builddir,;t t
3530 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3531 s,@INSTALL@,$ac_INSTALL,;t t
3532 " $ac_file_inputs | (eval "$ac_sed_cmds") >"$tmp/out"
3533 rm -f "$tmp/stdin"
3534 if test x"$ac_file" != x-; then
3535 mv "$tmp/out" $ac_file
3536 else
3537 cat "$tmp/out"
3538 rm -f "$tmp/out"
3541 done
3542 _ACEOF
3543 cat >>$CONFIG_STATUS <<\_ACEOF
3546 # CONFIG_COMMANDS section.
3548 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3549 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3550 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3551 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3552 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3553 X"$ac_dest" : 'X\(//\)[^/]' \| \
3554 X"$ac_dest" : 'X\(//\)$' \| \
3555 X"$ac_dest" : 'X\(/\)' \| \
3556 . : '\(.\)' 2>/dev/null ||
3557 echo X"$ac_dest" |
3558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3560 /^X\(\/\/\)$/{ s//\1/; q; }
3561 /^X\(\/\).*/{ s//\1/; q; }
3562 s/.*/./; q'`
3563 { if $as_mkdir_p; then
3564 test -d "$ac_dir" || mkdir -p "$ac_dir"
3565 else
3566 as_dir="$ac_dir"
3567 as_dirs=
3568 while test ! -d "$as_dir"; do
3569 as_dirs="$as_dir $as_dirs"
3570 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3571 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3572 X"$as_dir" : 'X\(//\)[^/]' \| \
3573 X"$as_dir" : 'X\(//\)$' \| \
3574 X"$as_dir" : 'X\(/\)' \| \
3575 . : '\(.\)' 2>/dev/null ||
3576 echo X"$as_dir" |
3577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3578 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3579 /^X\(\/\/\)$/{ s//\1/; q; }
3580 /^X\(\/\).*/{ s//\1/; q; }
3581 s/.*/./; q'`
3582 done
3583 test ! -n "$as_dirs" || mkdir $as_dirs
3584 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3585 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3586 { (exit 1); exit 1; }; }; }
3588 ac_builddir=.
3590 if test "$ac_dir" != .; then
3591 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3592 # A "../" for each directory in $ac_dir_suffix.
3593 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3594 else
3595 ac_dir_suffix= ac_top_builddir=
3598 case $srcdir in
3599 .) # No --srcdir option. We are building in place.
3600 ac_srcdir=.
3601 if test -z "$ac_top_builddir"; then
3602 ac_top_srcdir=.
3603 else
3604 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3605 fi ;;
3606 [\\/]* | ?:[\\/]* ) # Absolute name.
3607 ac_srcdir=$srcdir$ac_dir_suffix;
3608 ac_top_srcdir=$srcdir ;;
3609 *) # Relative name.
3610 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3611 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3612 esac
3614 # Do not use `cd foo && pwd` to compute absolute names, because
3615 # the directories may not exist.
3616 case `pwd` in
3617 .) ac_abs_builddir="$ac_dir";;
3619 case "$ac_dir" in
3620 .) ac_abs_builddir=`pwd`;;
3621 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3622 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3623 esac;;
3624 esac
3625 case $ac_abs_builddir in
3626 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3628 case ${ac_top_builddir}. in
3629 .) ac_abs_top_builddir=$ac_abs_builddir;;
3630 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3631 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3632 esac;;
3633 esac
3634 case $ac_abs_builddir in
3635 .) ac_abs_srcdir=$ac_srcdir;;
3637 case $ac_srcdir in
3638 .) ac_abs_srcdir=$ac_abs_builddir;;
3639 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3640 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3641 esac;;
3642 esac
3643 case $ac_abs_builddir in
3644 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3646 case $ac_top_srcdir in
3647 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3648 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3649 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3650 esac;;
3651 esac
3654 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3655 echo "$as_me: executing $ac_dest commands" >&6;}
3656 case $ac_dest in
3657 tests/atconfig ) cat >tests/atconfig <<ATEOF
3658 # Configurable variable values for building test suites.
3659 # Generated by $0.
3660 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3662 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3663 at_testdir='tests'
3664 abs_builddir='$ac_abs_builddir'
3665 at_srcdir='$ac_srcdir'
3666 abs_srcdir='$ac_abs_srcdir'
3667 at_top_srcdir='$ac_top_srcdir'
3668 abs_top_srcdir='$ac_abs_top_srcdir'
3669 at_top_builddir='$ac_top_builddir'
3670 abs_top_builddir='$ac_abs_top_builddir'
3672 AUTOTEST_PATH='tests'
3674 SHELL=\${CONFIG_SHELL-'$SHELL'}
3675 ATEOF
3677 esac
3678 done
3679 _ACEOF
3681 cat >>$CONFIG_STATUS <<\_ACEOF
3683 { (exit 0); exit 0; }
3684 _ACEOF
3685 chmod +x $CONFIG_STATUS
3686 ac_clean_files=$ac_clean_files_save
3689 # configure is writing to config.log, and then calls config.status.
3690 # config.status does its own redirection, appending to config.log.
3691 # Unfortunately, on DOS this fails, as config.log is still kept open
3692 # by configure, so config.status won't be able to write to it; its
3693 # output is simply discarded. So we exec the FD to /dev/null,
3694 # effectively closing config.log, so it can be properly (re)opened and
3695 # appended to by config.status. When coming back to configure, we
3696 # need to make the FD available again.
3697 if test "$no_create" != yes; then
3698 ac_cs_success=:
3699 ac_config_status_args=
3700 test "$silent" = yes &&
3701 ac_config_status_args="$ac_config_status_args --quiet"
3702 exec 5>/dev/null
3703 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3704 exec 5>>config.log
3705 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3706 # would make configure fail if this is the last instruction.
3707 $ac_cs_success || { (exit 1); exit 1; }
3710 # Report the state of this version of Autoconf if this is a beta.
3711 cat <<EOF
3713 You are about to use an experimental version of Autoconf. Be sure to
3714 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3716 Below you will find information on the status of this version of Autoconf.
3720 sed -n '/^\* Status/,$p' $srcdir/BUGS