* lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
[autoconf/tsuna.git] / configure
blob78ae488b359cc59de8a704694511bfe40600b194
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 ECHO_C= ECHO_N= ECHO_T=
440 case `echo -n x` in
441 -n*)
442 case `echo 'x\c'` in
443 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
444 *) ECHO_C='\c';;
445 esac;;
447 ECHO_N='-n';;
448 esac
450 if expr a : '\(a\)' >/dev/null 2>&1; then
451 as_expr=expr
452 else
453 as_expr=false
456 rm -f conf$$ conf$$.exe conf$$.file
457 echo >conf$$.file
458 if ln -s conf$$.file conf$$ 2>/dev/null; then
459 # We could just check for DJGPP; but this test a) works b) is more generic
460 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
461 if test -f conf$$.exe; then
462 # Don't use ln at all; we don't have any links
463 as_ln_s='cp -p'
464 else
465 as_ln_s='ln -s'
467 elif ln conf$$.file conf$$ 2>/dev/null; then
468 as_ln_s=ln
469 else
470 as_ln_s='cp -p'
472 rm -f conf$$ conf$$.exe conf$$.file
474 if mkdir -p . 2>/dev/null; then
475 as_mkdir_p=:
476 else
477 test -d ./-p && rmdir ./-p
478 as_mkdir_p=false
481 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
482 # systems may use methods other than mode bits to determine executability.
483 cat >conf$$.file <<_ASEOF
484 #! /bin/sh
485 exit 0
486 _ASEOF
487 chmod +x conf$$.file
488 if test -x conf$$.file >/dev/null 2>&1; then
489 as_executable_p="test -x"
490 else
491 as_executable_p=:
493 rm -f conf$$.file
495 # Sed expression to map a string onto a valid CPP name.
496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
498 # Sed expression to map a string onto a valid variable name.
499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
502 # IFS
503 # We need space, tab and new line, in precisely that order.
504 as_nl='
506 IFS=" $as_nl"
508 # CDPATH.
509 $as_unset CDPATH
512 exec 7<&0 </dev/null 6>&1
514 # Name of the host.
515 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
516 # so uname gets run too.
517 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
520 # Initializations.
522 ac_default_prefix=/usr/local
523 ac_config_libobj_dir=.
524 cross_compiling=no
525 subdirs=
526 MFLAGS=
527 MAKEFLAGS=
528 SHELL=${CONFIG_SHELL-/bin/sh}
530 # Maximum number of lines to put in a shell here document.
531 # This variable seems obsolete. It should probably be removed, and
532 # only ac_max_sed_lines should be used.
533 : ${ac_max_here_lines=38}
535 # Identity of this package.
536 PACKAGE_NAME='GNU Autoconf'
537 PACKAGE_TARNAME='autoconf'
538 PACKAGE_VERSION='2.59c'
539 PACKAGE_STRING='GNU Autoconf 2.59c'
540 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
542 ac_unique_file="ChangeLog"
543 ac_subst_vars='SHELL
544 PATH_SEPARATOR
545 PACKAGE_NAME
546 PACKAGE_TARNAME
547 PACKAGE_VERSION
548 PACKAGE_STRING
549 PACKAGE_BUGREPORT
550 exec_prefix
551 prefix
552 program_transform_name
553 bindir
554 sbindir
555 libexecdir
556 datarootdir
557 datadir
558 sysconfdir
559 sharedstatedir
560 localstatedir
561 includedir
562 oldincludedir
563 docdir
564 infodir
565 htmldir
566 dvidir
567 pdfdir
568 psdir
569 libdir
570 localedir
571 mandir
572 build_alias
573 host_alias
574 target_alias
575 DEFS
576 ECHO_C
577 ECHO_N
578 ECHO_T
579 LIBS
580 INSTALL_PROGRAM
581 INSTALL_SCRIPT
582 INSTALL_DATA
583 CYGPATH_W
584 PACKAGE
585 VERSION
586 ACLOCAL
587 AUTOCONF
588 AUTOMAKE
589 AUTOHEADER
590 MAKEINFO
591 install_sh
592 STRIP
593 ac_ct_STRIP
594 INSTALL_STRIP_PROGRAM
595 mkdir_p
597 SET_MAKE
598 am__leading_dot
599 AMTAR
600 am__tar
601 am__untar
602 ac_cv_sh_n_works
603 EXPR
605 HELP2MAN
606 PERL
607 TEST_EMACS
608 EMACS
609 EMACSLOADPATH
610 lispdir
611 GREP
612 LIBOBJS
613 LTLIBOBJS'
614 ac_subst_files=''
616 # Initialize some variables set by options.
617 ac_init_help=
618 ac_init_version=false
619 # The variables have the same names as the options, with
620 # dashes changed to underlines.
621 cache_file=/dev/null
622 exec_prefix=NONE
623 no_create=
624 no_recursion=
625 prefix=NONE
626 program_prefix=NONE
627 program_suffix=NONE
628 program_transform_name=s,x,x,
629 silent=
630 site=
631 srcdir=
632 verbose=
633 x_includes=NONE
634 x_libraries=NONE
636 # Installation directory options.
637 # These are left unexpanded so users can "make install exec_prefix=/foo"
638 # and all the variables that are supposed to be based on exec_prefix
639 # by default will actually change.
640 # Use braces instead of parens because sh, perl, etc. also accept them.
641 # (The list follows the same order as the GNU Coding Standards.)
642 bindir='${exec_prefix}/bin'
643 sbindir='${exec_prefix}/sbin'
644 libexecdir='${exec_prefix}/libexec'
645 datarootdir='${prefix}/share'
646 datadir='${datarootdir}'
647 sysconfdir='${prefix}/etc'
648 sharedstatedir='${prefix}/com'
649 localstatedir='${prefix}/var'
650 includedir='${prefix}/include'
651 oldincludedir='/usr/include'
652 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
653 infodir='${datarootdir}/info'
654 htmldir='${docdir}'
655 dvidir='${docdir}'
656 pdfdir='${docdir}'
657 psdir='${docdir}'
658 libdir='${exec_prefix}/lib'
659 localedir='${datarootdir}/locale'
660 mandir='${datarootdir}/man'
662 ac_prev=
663 ac_dashdash=
664 for ac_option
666 # If the previous option needs an argument, assign it.
667 if test -n "$ac_prev"; then
668 eval "$ac_prev=\$ac_option"
669 ac_prev=
670 continue
673 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
675 # Accept the important Cygnus configure options, so we can diagnose typos.
677 case $ac_dashdash$ac_option in
679 ac_dashdash=yes ;;
681 -bindir | --bindir | --bindi | --bind | --bin | --bi)
682 ac_prev=bindir ;;
683 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
684 bindir=$ac_optarg ;;
686 -build | --build | --buil | --bui | --bu)
687 ac_prev=build_alias ;;
688 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
689 build_alias=$ac_optarg ;;
691 -cache-file | --cache-file | --cache-fil | --cache-fi \
692 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
693 ac_prev=cache_file ;;
694 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
695 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
696 cache_file=$ac_optarg ;;
698 --config-cache | -C)
699 cache_file=config.cache ;;
701 -datadir | --datadir | --datadi | --datad)
702 ac_prev=datadir ;;
703 -datadir=* | --datadir=* | --datadi=* | --datad=*)
704 datadir=$ac_optarg ;;
706 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
707 | --dataroo | --dataro | --datar)
708 ac_prev=datarootdir ;;
709 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
710 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
711 datarootdir=$ac_optarg ;;
713 -disable-* | --disable-*)
714 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
715 # Reject names that are not valid shell variable names.
716 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
717 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
718 { (exit 1); exit 1; }; }
719 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
720 eval "enable_$ac_feature=no" ;;
722 -docdir | --docdir | --docdi | --doc | --do)
723 ac_prev=docdir ;;
724 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
725 docdir=$ac_optarg ;;
727 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
728 ac_prev=dvidir ;;
729 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
730 dvidir=$ac_optarg ;;
732 -enable-* | --enable-*)
733 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
734 # Reject names that are not valid shell variable names.
735 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
736 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
737 { (exit 1); exit 1; }; }
738 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
739 case $ac_option in
740 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
741 *) ac_optarg=yes ;;
742 esac
743 eval "enable_$ac_feature='$ac_optarg'" ;;
745 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
746 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
747 | --exec | --exe | --ex)
748 ac_prev=exec_prefix ;;
749 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
750 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
751 | --exec=* | --exe=* | --ex=*)
752 exec_prefix=$ac_optarg ;;
754 -gas | --gas | --ga | --g)
755 # Obsolete; use --with-gas.
756 with_gas=yes ;;
758 -help | --help | --hel | --he | -h)
759 ac_init_help=long ;;
760 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
761 ac_init_help=recursive ;;
762 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
763 ac_init_help=short ;;
765 -host | --host | --hos | --ho)
766 ac_prev=host_alias ;;
767 -host=* | --host=* | --hos=* | --ho=*)
768 host_alias=$ac_optarg ;;
770 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
771 ac_prev=htmldir ;;
772 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
773 | --ht=*)
774 htmldir=$ac_optarg ;;
776 -includedir | --includedir | --includedi | --included | --include \
777 | --includ | --inclu | --incl | --inc)
778 ac_prev=includedir ;;
779 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
780 | --includ=* | --inclu=* | --incl=* | --inc=*)
781 includedir=$ac_optarg ;;
783 -infodir | --infodir | --infodi | --infod | --info | --inf)
784 ac_prev=infodir ;;
785 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
786 infodir=$ac_optarg ;;
788 -libdir | --libdir | --libdi | --libd)
789 ac_prev=libdir ;;
790 -libdir=* | --libdir=* | --libdi=* | --libd=*)
791 libdir=$ac_optarg ;;
793 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
794 | --libexe | --libex | --libe)
795 ac_prev=libexecdir ;;
796 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
797 | --libexe=* | --libex=* | --libe=*)
798 libexecdir=$ac_optarg ;;
800 -localedir | --localedir | --localedi | --localed | --locale)
801 ac_prev=localedir ;;
802 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
803 localedir=$ac_optarg ;;
805 -localstatedir | --localstatedir | --localstatedi | --localstated \
806 | --localstate | --localstat | --localsta | --localst | --locals)
807 ac_prev=localstatedir ;;
808 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
809 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
810 localstatedir=$ac_optarg ;;
812 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
813 ac_prev=mandir ;;
814 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
815 mandir=$ac_optarg ;;
817 -nfp | --nfp | --nf)
818 # Obsolete; use --without-fp.
819 with_fp=no ;;
821 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
822 | --no-cr | --no-c | -n)
823 no_create=yes ;;
825 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
826 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
827 no_recursion=yes ;;
829 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
830 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
831 | --oldin | --oldi | --old | --ol | --o)
832 ac_prev=oldincludedir ;;
833 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
834 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
835 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
836 oldincludedir=$ac_optarg ;;
838 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
839 ac_prev=prefix ;;
840 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
841 prefix=$ac_optarg ;;
843 -program-prefix | --program-prefix | --program-prefi | --program-pref \
844 | --program-pre | --program-pr | --program-p)
845 ac_prev=program_prefix ;;
846 -program-prefix=* | --program-prefix=* | --program-prefi=* \
847 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
848 program_prefix=$ac_optarg ;;
850 -program-suffix | --program-suffix | --program-suffi | --program-suff \
851 | --program-suf | --program-su | --program-s)
852 ac_prev=program_suffix ;;
853 -program-suffix=* | --program-suffix=* | --program-suffi=* \
854 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
855 program_suffix=$ac_optarg ;;
857 -program-transform-name | --program-transform-name \
858 | --program-transform-nam | --program-transform-na \
859 | --program-transform-n | --program-transform- \
860 | --program-transform | --program-transfor \
861 | --program-transfo | --program-transf \
862 | --program-trans | --program-tran \
863 | --progr-tra | --program-tr | --program-t)
864 ac_prev=program_transform_name ;;
865 -program-transform-name=* | --program-transform-name=* \
866 | --program-transform-nam=* | --program-transform-na=* \
867 | --program-transform-n=* | --program-transform-=* \
868 | --program-transform=* | --program-transfor=* \
869 | --program-transfo=* | --program-transf=* \
870 | --program-trans=* | --program-tran=* \
871 | --progr-tra=* | --program-tr=* | --program-t=*)
872 program_transform_name=$ac_optarg ;;
874 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
875 ac_prev=pdfdir ;;
876 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
877 pdfdir=$ac_optarg ;;
879 -psdir | --psdir | --psdi | --psd | --ps)
880 ac_prev=psdir ;;
881 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
882 psdir=$ac_optarg ;;
884 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
885 | -silent | --silent | --silen | --sile | --sil)
886 silent=yes ;;
888 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
889 ac_prev=sbindir ;;
890 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
891 | --sbi=* | --sb=*)
892 sbindir=$ac_optarg ;;
894 -sharedstatedir | --sharedstatedir | --sharedstatedi \
895 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
896 | --sharedst | --shareds | --shared | --share | --shar \
897 | --sha | --sh)
898 ac_prev=sharedstatedir ;;
899 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
900 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
901 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
902 | --sha=* | --sh=*)
903 sharedstatedir=$ac_optarg ;;
905 -site | --site | --sit)
906 ac_prev=site ;;
907 -site=* | --site=* | --sit=*)
908 site=$ac_optarg ;;
910 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
911 ac_prev=srcdir ;;
912 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
913 srcdir=$ac_optarg ;;
915 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
916 | --syscon | --sysco | --sysc | --sys | --sy)
917 ac_prev=sysconfdir ;;
918 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
919 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
920 sysconfdir=$ac_optarg ;;
922 -target | --target | --targe | --targ | --tar | --ta | --t)
923 ac_prev=target_alias ;;
924 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
925 target_alias=$ac_optarg ;;
927 -v | -verbose | --verbose | --verbos | --verbo | --verb)
928 verbose=yes ;;
930 -version | --version | --versio | --versi | --vers | -V)
931 ac_init_version=: ;;
933 -with-* | --with-*)
934 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
935 # Reject names that are not valid shell variable names.
936 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
937 { echo "$as_me: error: invalid package name: $ac_package" >&2
938 { (exit 1); exit 1; }; }
939 ac_package=`echo $ac_package| sed 's/-/_/g'`
940 case $ac_option in
941 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
942 *) ac_optarg=yes ;;
943 esac
944 eval "with_$ac_package='$ac_optarg'" ;;
946 -without-* | --without-*)
947 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
950 { echo "$as_me: error: invalid package name: $ac_package" >&2
951 { (exit 1); exit 1; }; }
952 ac_package=`echo $ac_package | sed 's/-/_/g'`
953 eval "with_$ac_package=no" ;;
955 --x)
956 # Obsolete; use --with-x.
957 with_x=yes ;;
959 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
960 | --x-incl | --x-inc | --x-in | --x-i)
961 ac_prev=x_includes ;;
962 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
963 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
964 x_includes=$ac_optarg ;;
966 -x-libraries | --x-libraries | --x-librarie | --x-librari \
967 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
968 ac_prev=x_libraries ;;
969 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
970 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
971 x_libraries=$ac_optarg ;;
973 -*) { echo "$as_me: error: unrecognized option: $ac_option
974 Try \`$0 --help' for more information." >&2
975 { (exit 1); exit 1; }; }
978 *=*)
979 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
982 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
983 { (exit 1); exit 1; }; }
984 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
985 eval "$ac_envvar='$ac_optarg'"
986 export $ac_envvar ;;
989 # FIXME: should be removed in autoconf 3.0.
990 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
991 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
992 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
993 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
996 esac
997 done
999 if test -n "$ac_prev"; then
1000 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1001 { echo "$as_me: error: missing argument to $ac_option" >&2
1002 { (exit 1); exit 1; }; }
1005 # Be sure to have absolute directory names.
1006 for ac_var in exec_prefix prefix
1008 eval ac_val=$`echo $ac_var`
1009 case $ac_val in
1010 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1011 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1012 { (exit 1); exit 1; }; };;
1013 esac
1014 done
1016 # Be sure to have absolute directory names.
1017 for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir \
1018 sharedstatedir localstatedir includedir oldincludedir \
1019 docdir infodir htmldir dvidir pdfdir psdir libdir \
1020 localedir mandir
1022 eval ac_val=$`echo $ac_var`
1023 case $ac_val in
1024 [\\/$]* | ?:[\\/]* ) ;;
1025 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1026 { (exit 1); exit 1; }; };;
1027 esac
1028 done
1030 # There might be people who depend on the old broken behavior: `$host'
1031 # used to hold the argument of --host etc.
1032 # FIXME: To remove some day.
1033 build=$build_alias
1034 host=$host_alias
1035 target=$target_alias
1037 # FIXME: To remove some day.
1038 if test "x$host_alias" != x; then
1039 if test "x$build_alias" = x; then
1040 cross_compiling=maybe
1041 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1042 If a cross compiler is detected then cross compile mode will be used." >&2
1043 elif test "x$build_alias" != "x$host_alias"; then
1044 cross_compiling=yes
1048 ac_tool_prefix=
1049 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1051 test "$silent" = yes && exec 6>/dev/null
1054 # Find the source files, if location was not specified.
1055 if test -z "$srcdir"; then
1056 ac_srcdir_defaulted=yes
1057 # Try the directory containing this script, then its parent.
1058 ac_confdir=`(dirname "$0") 2>/dev/null ||
1059 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1060 X"$0" : 'X\(//\)[^/]' \| \
1061 X"$0" : 'X\(//\)$' \| \
1062 X"$0" : 'X\(/\)' \| \
1063 . : '\(.\)' 2>/dev/null ||
1064 echo X"$0" |
1065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1066 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1067 /^X\(\/\/\)$/{ s//\1/; q; }
1068 /^X\(\/\).*/{ s//\1/; q; }
1069 s/.*/./; q'`
1070 srcdir=$ac_confdir
1071 if test ! -r $srcdir/$ac_unique_file; then
1072 srcdir=..
1074 else
1075 ac_srcdir_defaulted=no
1077 if test ! -r $srcdir/$ac_unique_file; then
1078 if test "$ac_srcdir_defaulted" = yes; then
1079 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1080 { (exit 1); exit 1; }; }
1081 else
1082 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1083 { (exit 1); exit 1; }; }
1086 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1087 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1088 { (exit 1); exit 1; }; }
1089 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1091 ac_pwd=`pwd` && test -n "$ac_pwd" ||
1092 { echo "$as_me: error: Working directory cannot be determined" >&2
1093 { (exit 1); exit 1; }; }
1095 ac_pat="[\$][{][_$as_cr_Letters][_$as_cr_alnum]*[}]"
1097 for ac_dir in "$ac_pwd" "$srcdir" \
1098 "$bindir" "$sbindir" "$libexecdir" "$datarootdir" "$datadir" \
1099 "$sysconfdir" "$sharedstatedir" "$localstatedir" "$includedir" \
1100 "$oldincludedir" "$docdir" "$infodir" "$htmldir" "$dvidir" "$pdfdir" \
1101 "$psdir" "$libdir" "$localedir" "$mandir"
1103 # Remove references to shell or make variables.
1104 ac_dirx=$ac_dir
1105 while :
1107 case $ac_dirx in
1108 *\${*}*)
1109 ac_dirx=`
1110 expr "X$ac_dirx" : "X\\(.*\\)$ac_pat"`X`
1111 expr "X$ac_dirx" : "X.*$ac_pat\\(.*\\)"`;;
1112 *) break;;
1113 esac
1114 done
1116 # Check for newline, tab, space, and other weird possibilities.
1117 # Preserve that tab character below!
1118 case $ac_dirx in
1119 '' | -* | */-* | *'
1120 '* | *' '* | *' '* | *\"* | *\#* | *\ | *\&* | *\'* | *\(* | *\)* | \
1121 *\** | *\;* | *\<* | *\=* | *\>* | *\?* | *\[* | *\\* | *\`* | \
1122 *\|* | \~*)
1123 echo "$as_me: WARNING: Directory name \`$ac_dir' contains special characters" >&2;;
1124 esac
1125 done
1126 ac_env_build_alias_set=${build_alias+set}
1127 ac_env_build_alias_value=$build_alias
1128 ac_cv_env_build_alias_set=${build_alias+set}
1129 ac_cv_env_build_alias_value=$build_alias
1130 ac_env_host_alias_set=${host_alias+set}
1131 ac_env_host_alias_value=$host_alias
1132 ac_cv_env_host_alias_set=${host_alias+set}
1133 ac_cv_env_host_alias_value=$host_alias
1134 ac_env_target_alias_set=${target_alias+set}
1135 ac_env_target_alias_value=$target_alias
1136 ac_cv_env_target_alias_set=${target_alias+set}
1137 ac_cv_env_target_alias_value=$target_alias
1138 ac_env_EMACS_set=${EMACS+set}
1139 ac_env_EMACS_value=$EMACS
1140 ac_cv_env_EMACS_set=${EMACS+set}
1141 ac_cv_env_EMACS_value=$EMACS
1142 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
1143 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
1144 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
1145 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
1148 # Report the --help message.
1150 if test "$ac_init_help" = "long"; then
1151 # Omit some internal or obsolete options to make the list less imposing.
1152 # This message is too long to be a string in the A/UX 3.1 sh.
1153 cat <<_ACEOF
1154 \`configure' configures GNU Autoconf 2.59c to adapt to many kinds of systems.
1156 Usage: $0 [OPTION]... [VAR=VALUE]...
1158 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1159 VAR=VALUE. See below for descriptions of some of the useful variables.
1161 Defaults for the options are specified in brackets.
1163 Configuration:
1164 -h, --help display this help and exit
1165 --help=short display options specific to this package
1166 --help=recursive display the short help of all the included packages
1167 -V, --version display version information and exit
1168 -q, --quiet, --silent do not print \`checking...' messages
1169 --cache-file=FILE cache test results in FILE [disabled]
1170 -C, --config-cache alias for \`--cache-file=config.cache'
1171 -n, --no-create do not create output files
1172 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1174 _ACEOF
1176 cat <<_ACEOF
1177 Installation directories:
1178 --prefix=PREFIX install architecture-independent files in PREFIX
1179 [$ac_default_prefix]
1180 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1181 [PREFIX]
1183 By default, \`make install' will install all the files in
1184 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1185 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1186 for instance \`--prefix=\$HOME'.
1188 For better control, use the options below.
1190 Fine tuning of the installation directories:
1191 --bindir=DIR user executables [EPREFIX/bin]
1192 --sbindir=DIR system admin executables [EPREFIX/sbin]
1193 --libexecdir=DIR program executables [EPREFIX/libexec]
1194 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1195 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1196 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1197 --libdir=DIR object code libraries [EPREFIX/lib]
1198 --includedir=DIR C header files [PREFIX/include]
1199 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1200 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1201 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1202 --infodir=DIR info documentation [DATAROOTDIR/info]
1203 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1204 --mandir=DIR man documentation [DATAROOTDIR/man]
1205 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1206 --htmldir=DIR html documentation [DOCDIR]
1207 --dvidir=DIR dvi documentation [DOCDIR]
1208 --pdfdir=DIR pdf documentation [DOCDIR]
1209 --psdir=DIR ps documentation [DOCDIR]
1210 _ACEOF
1212 cat <<\_ACEOF
1214 Program names:
1215 --program-prefix=PREFIX prepend PREFIX to installed program names
1216 --program-suffix=SUFFIX append SUFFIX to installed program names
1217 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1218 _ACEOF
1221 if test -n "$ac_init_help"; then
1222 case $ac_init_help in
1223 short | recursive ) echo "Configuration of GNU Autoconf 2.59c:";;
1224 esac
1225 cat <<\_ACEOF
1227 Optional Packages:
1228 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1229 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1230 --with-lispdir override the default lisp directory
1232 Some influential environment variables:
1233 EMACS the Emacs editor command
1234 EMACSLOADPATH
1235 the Emacs library search path
1237 Use these variables to override the choices made by `configure' or to help
1238 it to find libraries and programs with nonstandard names/locations.
1240 Report bugs to <bug-autoconf@gnu.org>.
1241 _ACEOF
1242 ac_status=$?
1245 if test "$ac_init_help" = "recursive"; then
1246 # If there are subdirs, report their specific --help.
1247 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1248 test -d $ac_dir || continue
1249 ac_builddir=.
1251 if test "$ac_dir" != .; then
1252 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1253 # A "../" for each directory in $ac_dir_suffix.
1254 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1255 else
1256 ac_dir_suffix= ac_top_builddir=
1259 case $srcdir in
1260 .) # No --srcdir option. We are building in place.
1261 ac_srcdir=.
1262 if test -z "$ac_top_builddir"; then
1263 ac_top_srcdir=.
1264 else
1265 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1266 fi ;;
1267 [\\/]* | ?:[\\/]* ) # Absolute name.
1268 ac_srcdir=$srcdir$ac_dir_suffix;
1269 ac_top_srcdir=$srcdir ;;
1270 *) # Relative name.
1271 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1272 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1273 esac
1275 # Do not use `cd foo && pwd` to compute absolute names, because
1276 # the directories may not exist.
1277 case $ac_pwd in
1278 .) ac_abs_builddir="$ac_dir";;
1280 case "$ac_dir" in
1281 .) ac_abs_builddir=$ac_pwd;;
1282 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1283 *) ac_abs_builddir=$ac_pwd/"$ac_dir";;
1284 esac;;
1285 esac
1286 case $ac_abs_builddir in
1287 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1289 case ${ac_top_builddir}. in
1290 .) ac_abs_top_builddir=$ac_abs_builddir;;
1291 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1293 esac;;
1294 esac
1295 case $ac_abs_builddir in
1296 .) ac_abs_srcdir=$ac_srcdir;;
1298 case $ac_srcdir in
1299 .) ac_abs_srcdir=$ac_abs_builddir;;
1300 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1301 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1302 esac;;
1303 esac
1304 case $ac_abs_builddir in
1305 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1307 case $ac_top_srcdir in
1308 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1309 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1311 esac;;
1312 esac
1314 cd $ac_dir || { ac_status=$?; continue; }
1315 # Check for guested configure; otherwise get Cygnus style configure.
1316 if test -f $ac_srcdir/configure.gnu; then
1317 echo &&
1318 $SHELL $ac_srcdir/configure.gnu --help=recursive
1319 elif test -f $ac_srcdir/configure; then
1320 echo &&
1321 $SHELL $ac_srcdir/configure --help=recursive
1322 elif test -f $ac_srcdir/configure.ac ||
1323 test -f $ac_srcdir/configure.in; then
1324 echo &&
1325 $ac_configure --help
1326 else
1327 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1328 fi || ac_status=$?
1329 cd "$ac_pwd" || { ac_status=$?; break; }
1330 done
1333 test -n "$ac_init_help" && exit $ac_status
1334 if $ac_init_version; then
1335 cat <<\_ACEOF
1336 GNU Autoconf configure 2.59c
1337 generated by GNU Autoconf 2.59c
1339 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1340 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
1341 This configure script is free software; the Free Software Foundation
1342 gives unlimited permission to copy, distribute and modify it.
1343 _ACEOF
1344 exit
1346 exec 5>config.log
1347 cat >&5 <<_ACEOF
1348 This file contains any messages produced by compilers while
1349 running configure, to aid debugging if configure makes a mistake.
1351 It was created by GNU Autoconf $as_me 2.59c, which was
1352 generated by GNU Autoconf 2.59c. Invocation command line was
1354 $ $0 $@
1356 _ACEOF
1358 cat <<_ASUNAME
1359 ## --------- ##
1360 ## Platform. ##
1361 ## --------- ##
1363 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1364 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1365 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1366 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1367 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1369 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1370 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1372 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1373 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1374 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1375 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1376 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1377 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1378 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1380 _ASUNAME
1382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1383 for as_dir in $PATH
1385 IFS=$as_save_IFS
1386 test -z "$as_dir" && as_dir=.
1387 echo "PATH: $as_dir"
1388 done
1390 } >&5
1392 cat >&5 <<_ACEOF
1395 ## ----------- ##
1396 ## Core tests. ##
1397 ## ----------- ##
1399 _ACEOF
1402 # Keep a trace of the command line.
1403 # Strip out --no-create and --no-recursion so they do not pile up.
1404 # Strip out --silent because we don't want to record it for future runs.
1405 # Also quote any args containing shell meta-characters.
1406 # Make two passes to allow for proper duplicate-argument suppression.
1407 ac_configure_args=
1408 ac_configure_args0=
1409 ac_configure_args1=
1410 ac_sep=
1411 ac_must_keep_next=false
1412 for ac_pass in 1 2
1414 for ac_arg
1416 case $ac_arg in
1417 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1418 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1419 | -silent | --silent | --silen | --sile | --sil)
1420 continue ;;
1421 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1422 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1423 esac
1424 case $ac_pass in
1425 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1427 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1428 if test $ac_must_keep_next = true; then
1429 ac_must_keep_next=false # Got value, back to normal.
1430 else
1431 case $ac_arg in
1432 *=* | --config-cache | -C | -disable-* | --disable-* \
1433 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1434 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1435 | -with-* | --with-* | -without-* | --without-* | --x)
1436 case "$ac_configure_args0 " in
1437 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1438 esac
1440 -* ) ac_must_keep_next=true ;;
1441 esac
1443 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1444 # Get rid of the leading space.
1445 ac_sep=" "
1447 esac
1448 done
1449 done
1450 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1451 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1453 # When interrupted or exit'd, cleanup temporary files, and complete
1454 # config.log. We remove comments because anyway the quotes in there
1455 # would cause problems or look ugly.
1456 # WARNING: Be sure not to use single quotes in there, as some shells,
1457 # such as our DU 5.0 friend, will then `close' the trap.
1458 trap 'exit_status=$?
1459 # Save into config.log some information that might help in debugging.
1461 echo
1463 cat <<\_ASBOX
1464 ## ---------------- ##
1465 ## Cache variables. ##
1466 ## ---------------- ##
1467 _ASBOX
1468 echo
1469 # The following way of writing the cache mishandles newlines in values,
1471 (set) 2>&1 |
1472 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1473 *ac_space=\ *)
1474 sed -n \
1475 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1479 sed -n \
1480 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1482 esac;
1484 echo
1486 cat <<\_ASBOX
1487 ## ----------------- ##
1488 ## Output variables. ##
1489 ## ----------------- ##
1490 _ASBOX
1491 echo
1492 for ac_var in $ac_subst_vars
1494 eval ac_val=$`echo $ac_var`
1495 echo "$ac_var='"'"'$ac_val'"'"'"
1496 done | sort
1497 echo
1499 if test -n "$ac_subst_files"; then
1500 cat <<\_ASBOX
1501 ## ------------- ##
1502 ## Output files. ##
1503 ## ------------- ##
1504 _ASBOX
1505 echo
1506 for ac_var in $ac_subst_files
1508 eval ac_val=$`echo $ac_var`
1509 echo "$ac_var='"'"'$ac_val'"'"'"
1510 done | sort
1511 echo
1514 if test -s confdefs.h; then
1515 cat <<\_ASBOX
1516 ## ----------- ##
1517 ## confdefs.h. ##
1518 ## ----------- ##
1519 _ASBOX
1520 echo
1521 sed "/^$/d" confdefs.h | sort
1522 echo
1524 test "$ac_signal" != 0 &&
1525 echo "$as_me: caught signal $ac_signal"
1526 echo "$as_me: exit $exit_status"
1527 } >&5
1528 rm -f core *.core &&
1529 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1530 exit $exit_status
1532 for ac_signal in 1 2 13 15; do
1533 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1534 done
1535 ac_signal=0
1537 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1538 rm -f -r conftest* confdefs.h
1539 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1540 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1541 ac_space=' '
1542 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
1544 # Predefined preprocessor variables.
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_NAME "$PACKAGE_NAME"
1548 _ACEOF
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1553 _ACEOF
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1558 _ACEOF
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_STRING "$PACKAGE_STRING"
1563 _ACEOF
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1568 _ACEOF
1571 # Let the site file select an alternate cache file if it wants to.
1572 # Prefer explicitly selected file to automatically selected ones.
1573 if test -z "$CONFIG_SITE"; then
1574 if test "x$prefix" != xNONE; then
1575 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1576 else
1577 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1580 for ac_site_file in $CONFIG_SITE; do
1581 if test -r "$ac_site_file"; then
1582 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1583 echo "$as_me: loading site script $ac_site_file" >&6;}
1584 sed 's/^/| /' "$ac_site_file" >&5
1585 . "$ac_site_file"
1587 done
1589 if test -r "$cache_file"; then
1590 # Some versions of bash will fail to source /dev/null (special
1591 # files actually), so we avoid doing that.
1592 if test -f "$cache_file"; then
1593 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1594 echo "$as_me: loading cache $cache_file" >&6;}
1595 case $cache_file in
1596 [\\/]* | ?:[\\/]* ) . $cache_file;;
1597 *) . ./$cache_file;;
1598 esac
1600 else
1601 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1602 echo "$as_me: creating cache $cache_file" >&6;}
1603 >$cache_file
1606 # Check that the precious variables saved in the cache have kept the same
1607 # value.
1608 ac_cache_corrupted=false
1609 for ac_var in `(set) 2>&1 |
1610 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1611 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1612 eval ac_new_set=\$ac_env_${ac_var}_set
1613 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1614 eval ac_new_val="\$ac_env_${ac_var}_value"
1615 case $ac_old_set,$ac_new_set in
1616 set,)
1617 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1618 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1619 ac_cache_corrupted=: ;;
1620 ,set)
1621 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1622 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1623 ac_cache_corrupted=: ;;
1624 ,);;
1626 if test "x$ac_old_val" != "x$ac_new_val"; then
1627 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1628 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1629 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1630 echo "$as_me: former value: $ac_old_val" >&2;}
1631 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1632 echo "$as_me: current value: $ac_new_val" >&2;}
1633 ac_cache_corrupted=:
1634 fi;;
1635 esac
1636 # Pass precious variables to config.status.
1637 if test "$ac_new_set" = set; then
1638 case $ac_new_val in
1639 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1640 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641 *) ac_arg=$ac_var=$ac_new_val ;;
1642 esac
1643 case " $ac_configure_args " in
1644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1645 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1646 esac
1648 done
1649 if $ac_cache_corrupted; then
1650 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1651 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1652 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1653 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1654 { (exit 1); exit 1; }; }
1657 ac_ext=c
1658 ac_cpp='$CPP $CPPFLAGS'
1659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1692 ac_aux_dir=
1693 for ac_dir in config $srcdir/config; do
1694 if test -f $ac_dir/install-sh; then
1695 ac_aux_dir=$ac_dir
1696 ac_install_sh="$ac_aux_dir/install-sh -c"
1697 break
1698 elif test -f $ac_dir/install.sh; then
1699 ac_aux_dir=$ac_dir
1700 ac_install_sh="$ac_aux_dir/install.sh -c"
1701 break
1702 elif test -f $ac_dir/shtool; then
1703 ac_aux_dir=$ac_dir
1704 ac_install_sh="$ac_aux_dir/shtool install -c"
1705 break
1707 done
1708 if test -z "$ac_aux_dir"; then
1709 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1710 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1711 { (exit 1); exit 1; }; }
1713 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1714 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1715 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717 ac_config_files="$ac_config_files config/Makefile"
1720 am__api_version="1.9"
1721 # Find a good install program. We prefer a C program (faster),
1722 # so one script is as good as another. But avoid the broken or
1723 # incompatible versions:
1724 # SysV /etc/install, /usr/sbin/install
1725 # SunOS /usr/etc/install
1726 # IRIX /sbin/install
1727 # AIX /bin/install
1728 # AmigaOS /C/install, which installs bootblocks on floppy discs
1729 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1730 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1731 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1732 # OS/2's system install, which has a completely different semantic
1733 # ./install, which can be erroneously created by make from ./install.sh.
1734 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1735 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1736 if test -z "$INSTALL"; then
1737 if test "${ac_cv_path_install+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 else
1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1741 for as_dir in $PATH
1743 IFS=$as_save_IFS
1744 test -z "$as_dir" && as_dir=.
1745 # Account for people who put trailing slashes in PATH elements.
1746 case $as_dir/ in
1747 ./ | .// | /cC/* | \
1748 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1749 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1750 /usr/ucb/* ) ;;
1752 # OSF1 and SCO ODT 3.0 have their own names for install.
1753 # Don't use installbsd from OSF since it installs stuff as root
1754 # by default.
1755 for ac_prog in ginstall scoinst install; do
1756 for ac_exec_ext in '' $ac_executable_extensions; do
1757 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1758 if test $ac_prog = install &&
1759 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1760 # AIX install. It has an incompatible calling convention.
1762 elif test $ac_prog = install &&
1763 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1764 # program-specific install script used by HP pwplus--don't use.
1766 else
1767 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1768 break 3
1771 done
1772 done
1774 esac
1775 done
1779 if test "${ac_cv_path_install+set}" = set; then
1780 INSTALL=$ac_cv_path_install
1781 else
1782 # As a last resort, use the slow shell script. Don't cache a
1783 # value for INSTALL within a source directory, because that will
1784 # break other packages using the cache if that directory is
1785 # removed, or if the value is a relative name.
1786 INSTALL=$ac_install_sh
1789 echo "$as_me:$LINENO: result: $INSTALL" >&5
1790 echo "${ECHO_T}$INSTALL" >&6
1792 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1793 # It thinks the first close brace ends the variable substitution.
1794 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1796 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1798 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1800 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1801 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1802 # Just in case
1803 sleep 1
1804 echo timestamp > conftest.file
1805 # Do `set' in a subshell so we don't clobber the current shell's
1806 # arguments. Must try -L first in case configure is actually a
1807 # symlink; some systems play weird games with the mod time of symlinks
1808 # (eg FreeBSD returns the mod time of the symlink's containing
1809 # directory).
1810 if (
1811 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1812 if test "$*" = "X"; then
1813 # -L didn't work.
1814 set X `ls -t $srcdir/configure conftest.file`
1816 rm -f conftest.file
1817 if test "$*" != "X $srcdir/configure conftest.file" \
1818 && test "$*" != "X conftest.file $srcdir/configure"; then
1820 # If neither matched, then we have a broken ls. This can happen
1821 # if, for instance, CONFIG_SHELL is bash and it inherits a
1822 # broken ls alias from the environment. This has actually
1823 # happened. Such a system could not be considered "sane".
1824 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1825 alias in your environment" >&5
1826 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1827 alias in your environment" >&2;}
1828 { (exit 1); exit 1; }; }
1831 test "$2" = conftest.file
1833 then
1834 # Ok.
1836 else
1837 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1838 Check your system clock" >&5
1839 echo "$as_me: error: newly created file is older than distributed files!
1840 Check your system clock" >&2;}
1841 { (exit 1); exit 1; }; }
1843 echo "$as_me:$LINENO: result: yes" >&5
1844 echo "${ECHO_T}yes" >&6
1845 test "$program_prefix" != NONE &&
1846 program_transform_name="s|^|$program_prefix|;$program_transform_name"
1847 # Use a double $ so make ignores it.
1848 test "$program_suffix" != NONE &&
1849 program_transform_name="s|\$|$program_suffix|;$program_transform_name"
1850 # Double any \ or $. echo might interpret backslashes.
1851 # By default was `s,x,x', remove it if useless.
1852 cat <<\_ACEOF >conftest.sed
1853 s/[\\$]/&&/g;s/;s,x,x,$//
1854 _ACEOF
1855 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1856 rm -f conftest.sed
1858 # expand $ac_aux_dir to an absolute path
1859 am_aux_dir=`cd $ac_aux_dir && pwd`
1861 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1862 # Use eval to expand $SHELL
1863 if eval "$MISSING --run true"; then
1864 am_missing_run="$MISSING --run "
1865 else
1866 am_missing_run=
1867 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1868 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1871 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1872 # We used to keeping the `.' as first argument, in order to
1873 # allow $(mkdir_p) to be used without argument. As in
1874 # $(mkdir_p) $(somedir)
1875 # where $(somedir) is conditionally defined. However this is wrong
1876 # for two reasons:
1877 # 1. if the package is installed by a user who cannot write `.'
1878 # make install will fail,
1879 # 2. the above comment should most certainly read
1880 # $(mkdir_p) $(DESTDIR)$(somedir)
1881 # so it does not work when $(somedir) is undefined and
1882 # $(DESTDIR) is not.
1883 # To support the latter case, we have to write
1884 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1885 # so the `.' trick is pointless.
1886 mkdir_p='mkdir -p --'
1887 else
1888 # On NextStep and OpenStep, the `mkdir' command does not
1889 # recognize any option. It will interpret all options as
1890 # directories to create, and then abort because `.' already
1891 # exists.
1892 for d in ./-p ./--version;
1894 test -d $d && rmdir $d
1895 done
1896 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1897 if test -f "$ac_aux_dir/mkinstalldirs"; then
1898 mkdir_p='$(mkinstalldirs)'
1899 else
1900 mkdir_p='$(install_sh) -d'
1904 for ac_prog in gawk mawk nawk awk
1906 # Extract the first word of "$ac_prog", so it can be a program name with args.
1907 set dummy $ac_prog; ac_word=$2
1908 echo "$as_me:$LINENO: checking for $ac_word" >&5
1909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1910 if test "${ac_cv_prog_AWK+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1912 else
1913 if test -n "$AWK"; then
1914 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1915 else
1916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 for as_dir in $PATH
1919 IFS=$as_save_IFS
1920 test -z "$as_dir" && as_dir=.
1921 for ac_exec_ext in '' $ac_executable_extensions; do
1922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1923 ac_cv_prog_AWK="$ac_prog"
1924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1925 break 2
1927 done
1928 done
1932 AWK=$ac_cv_prog_AWK
1933 if test -n "$AWK"; then
1934 echo "$as_me:$LINENO: result: $AWK" >&5
1935 echo "${ECHO_T}$AWK" >&6
1936 else
1937 echo "$as_me:$LINENO: result: no" >&5
1938 echo "${ECHO_T}no" >&6
1941 test -n "$AWK" && break
1942 done
1944 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1945 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1946 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1947 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 else
1950 cat >conftest.make <<\_ACEOF
1951 SHELL = /bin/sh
1952 all:
1953 @echo 'ac_maketemp=X"$(MAKE)"'
1954 _ACEOF
1955 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1956 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1957 if test "$ac_maketemp" != X ; then
1958 eval ac_cv_prog_make_${ac_make}_set=yes
1959 else
1960 eval ac_cv_prog_make_${ac_make}_set=no
1962 rm -f conftest.make
1964 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1965 echo "$as_me:$LINENO: result: yes" >&5
1966 echo "${ECHO_T}yes" >&6
1967 SET_MAKE=
1968 else
1969 echo "$as_me:$LINENO: result: no" >&5
1970 echo "${ECHO_T}no" >&6
1971 SET_MAKE="MAKE=${MAKE-make}"
1974 rm -rf .tst 2>/dev/null
1975 mkdir .tst 2>/dev/null
1976 if test -d .tst; then
1977 am__leading_dot=.
1978 else
1979 am__leading_dot=_
1981 rmdir .tst 2>/dev/null
1983 # test to see if srcdir already configured
1984 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1985 test -f $srcdir/config.status; then
1986 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1987 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1988 { (exit 1); exit 1; }; }
1991 # test whether we have cygpath
1992 if test -z "$CYGPATH_W"; then
1993 if (cygpath --version) >/dev/null 2>/dev/null; then
1994 CYGPATH_W='cygpath -w'
1995 else
1996 CYGPATH_W=echo
2001 # Define the identity of the package.
2002 PACKAGE='autoconf'
2003 VERSION='2.59c'
2006 cat >>confdefs.h <<_ACEOF
2007 #define PACKAGE "$PACKAGE"
2008 _ACEOF
2011 cat >>confdefs.h <<_ACEOF
2012 #define VERSION "$VERSION"
2013 _ACEOF
2015 # Some tools Automake needs.
2017 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2020 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2023 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2026 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2029 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2031 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2033 # Installed binaries are usually stripped using `strip' when the user
2034 # run `make install-strip'. However `strip' might not be the right
2035 # tool to use in cross-compilation environments, therefore Automake
2036 # will honor the `STRIP' environment variable to overrule this program.
2037 if test "$cross_compiling" != no; then
2038 if test -n "$ac_tool_prefix"; then
2039 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2040 set dummy ${ac_tool_prefix}strip; ac_word=$2
2041 echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2043 if test "${ac_cv_prog_STRIP+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2045 else
2046 if test -n "$STRIP"; then
2047 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2048 else
2049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 for as_dir in $PATH
2052 IFS=$as_save_IFS
2053 test -z "$as_dir" && as_dir=.
2054 for ac_exec_ext in '' $ac_executable_extensions; do
2055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2056 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 break 2
2060 done
2061 done
2065 STRIP=$ac_cv_prog_STRIP
2066 if test -n "$STRIP"; then
2067 echo "$as_me:$LINENO: result: $STRIP" >&5
2068 echo "${ECHO_T}$STRIP" >&6
2069 else
2070 echo "$as_me:$LINENO: result: no" >&5
2071 echo "${ECHO_T}no" >&6
2075 if test -z "$ac_cv_prog_STRIP"; then
2076 ac_ct_STRIP=$STRIP
2077 # Extract the first word of "strip", so it can be a program name with args.
2078 set dummy strip; ac_word=$2
2079 echo "$as_me:$LINENO: checking for $ac_word" >&5
2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 else
2084 if test -n "$ac_ct_STRIP"; then
2085 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2086 else
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088 for as_dir in $PATH
2090 IFS=$as_save_IFS
2091 test -z "$as_dir" && as_dir=.
2092 for ac_exec_ext in '' $ac_executable_extensions; do
2093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2094 ac_cv_prog_ac_ct_STRIP="strip"
2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 break 2
2098 done
2099 done
2103 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2104 if test -n "$ac_ct_STRIP"; then
2105 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2106 echo "${ECHO_T}$ac_ct_STRIP" >&6
2107 else
2108 echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6
2112 if test "x$ac_ct_STRIP" = x; then
2113 STRIP=":"
2114 else
2115 if test "$build" != "$host"; then
2116 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2117 whose name does not start with the host triplet. If you think this
2118 configuration is useful to you, please write to autoconf@gnu.org." >&5
2119 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2120 whose name does not start with the host triplet. If you think this
2121 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2123 STRIP=$ac_ct_STRIP
2125 else
2126 STRIP="$ac_cv_prog_STRIP"
2130 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2132 # We need awk for the "check" target. The system "awk" is bad on
2133 # some platforms.
2134 # Always define AMTAR for backward compatibility.
2136 AMTAR=${AMTAR-"${am_missing_run}tar"}
2138 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2145 # We use `/bin/sh -n script' to check that there are no syntax errors
2146 # in the scripts. Although incredible, there are /bin/sh that go into
2147 # endless loops with `-n', e.g., SunOS's:
2149 # $ uname -a
2150 # SunOS ondine 4.1.3 2 sun4m unknown
2151 # $ cat endless.sh
2152 # while false
2153 # do
2155 # done
2156 # exit 0
2157 # $ time sh endless.sh
2158 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2159 # $ time sh -nx endless.sh
2160 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2162 # So before using `/bin/sh -n' to check our scripts, we first check
2163 # that `/bin/sh -n' is not broken to death.
2165 # A script that never returns. We don't care that it never returns,
2166 # broken /bin/sh loop equally with `false', but it makes it easier to
2167 # test the robustness in a good environment: just remove the `-n'.
2168 echo "$as_me:$LINENO: checking whether sh -n works" >&5
2169 echo $ECHO_N "checking whether sh -n works... $ECHO_C" >&6
2170 if test "${ac_cv_sh_n_works+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 else
2173 cat > conftest.sh <<_CONFEOF_
2174 while :
2177 done
2178 _CONFEOF_
2180 (/bin/sh -n conftest.sh) &
2181 sleep 2
2182 if kill $! >/dev/null 2>&1; then
2183 # We managed to kill the child, which means that we probably
2184 # can't trust `/bin/sh -n', hence the test failed.
2185 ac_cv_sh_n_works=no
2186 else
2187 ac_cv_sh_n_works=yes
2189 rm conftest.sh
2192 echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2193 echo "${ECHO_T}$ac_cv_sh_n_works" >&6
2196 # Initialize the test suite.
2197 ac_config_commands="$ac_config_commands tests/atconfig"
2200 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2202 # Extract the first word of "expr", so it can be a program name with args.
2203 set dummy expr; ac_word=$2
2204 echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206 if test "${ac_cv_path_EXPR+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 else
2209 case $EXPR in
2210 [\\/]* | ?:[\\/]*)
2211 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 for as_dir in $PATH
2217 IFS=$as_save_IFS
2218 test -z "$as_dir" && as_dir=.
2219 for ac_exec_ext in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2221 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2223 break 2
2225 done
2226 done
2229 esac
2231 EXPR=$ac_cv_path_EXPR
2233 if test -n "$EXPR"; then
2234 echo "$as_me:$LINENO: result: $EXPR" >&5
2235 echo "${ECHO_T}$EXPR" >&6
2236 else
2237 echo "$as_me:$LINENO: result: no" >&5
2238 echo "${ECHO_T}no" >&6
2243 ## ---- ##
2244 ## M4. ##
2245 ## ---- ##
2247 # We use an absolute name for GNU m4 so even if users have another m4 first in
2248 # their path, the installer can configure with a path that has GNU m4
2249 # first and get that path embedded in the installed autoconf and
2250 # autoheader scripts.
2251 for ac_prog in gm4 gnum4 m4
2253 # Extract the first word of "$ac_prog", so it can be a program name with args.
2254 set dummy $ac_prog; ac_word=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_path_M4+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 else
2260 case $M4 in
2261 [\\/]* | ?:[\\/]*)
2262 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2268 IFS=$as_save_IFS
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2272 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 break 2
2276 done
2277 done
2280 esac
2282 M4=$ac_cv_path_M4
2284 if test -n "$M4"; then
2285 echo "$as_me:$LINENO: result: $M4" >&5
2286 echo "${ECHO_T}$M4" >&6
2287 else
2288 echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6
2292 test -n "$M4" && break
2293 done
2294 test -n "$M4" || M4="m4"
2296 echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2297 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
2298 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 else
2301 ac_cv_prog_gnu_m4=no
2302 if test x"$M4" != x; then
2303 case `$M4 --help < /dev/null 2>&1` in
2304 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2305 esac
2308 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2309 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
2310 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2311 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2312 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2313 { (exit 1); exit 1; }; }
2316 ## ----------- ##
2317 ## Man pages. ##
2318 ## ----------- ##
2320 ac_config_files="$ac_config_files man/Makefile"
2323 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2327 ## ------ ##
2328 ## Perl. ##
2329 ## ------ ##
2331 # We use an absolute name for perl so the #! line in autoscan will work.
2332 # Extract the first word of "perl", so it can be a program name with args.
2333 set dummy perl; ac_word=$2
2334 echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2336 if test "${ac_cv_path_PERL+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 else
2339 case $PERL in
2340 [\\/]* | ?:[\\/]*)
2341 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2345 for as_dir in $PATH
2347 IFS=$as_save_IFS
2348 test -z "$as_dir" && as_dir=.
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2351 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2353 break 2
2355 done
2356 done
2358 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2360 esac
2362 PERL=$ac_cv_path_PERL
2364 if test -n "$PERL"; then
2365 echo "$as_me:$LINENO: result: $PERL" >&5
2366 echo "${ECHO_T}$PERL" >&6
2367 else
2368 echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6
2372 if test "$PERL" = no; then
2373 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2374 echo "$as_me: error: perl is not found" >&2;}
2375 { (exit 1); exit 1; }; }
2377 $PERL -e 'require 5.005_03;' || {
2378 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2379 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2380 { (exit 1); exit 1; }; }
2384 ## ------- ##
2385 ## Emacs. ##
2386 ## ------- ##
2388 ac_config_files="$ac_config_files lib/emacs/Makefile"
2390 TEST_EMACS=$EMACS
2391 test x"$TEST_EMACS" = xt && TEST_EMACS=
2392 for ac_prog in emacs xemacs
2394 # Extract the first word of "$ac_prog", so it can be a program name with args.
2395 set dummy $ac_prog; ac_word=$2
2396 echo "$as_me:$LINENO: checking for $ac_word" >&5
2397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2398 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 else
2401 if test -n "$TEST_EMACS"; then
2402 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2403 else
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405 for as_dir in $PATH
2407 IFS=$as_save_IFS
2408 test -z "$as_dir" && as_dir=.
2409 for ac_exec_ext in '' $ac_executable_extensions; do
2410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2411 ac_cv_prog_TEST_EMACS="$ac_prog"
2412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 break 2
2415 done
2416 done
2420 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2421 if test -n "$TEST_EMACS"; then
2422 echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2423 echo "${ECHO_T}$TEST_EMACS" >&6
2424 else
2425 echo "$as_me:$LINENO: result: no" >&5
2426 echo "${ECHO_T}no" >&6
2429 test -n "$TEST_EMACS" && break
2430 done
2431 test -n "$TEST_EMACS" || TEST_EMACS="no"
2434 # autoconf-mode.el and autotest-mode.el do not work with older version of
2435 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2436 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2437 # We detect this problem here.
2438 if test "$TEST_EMACS" != no; then
2439 echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2440 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6
2441 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 else
2444 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2445 cat >conftest.el << "EOF"
2446 (defvar broken)
2447 (defun broken-mode () (setq broken-defaults `(broken nil)))
2449 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2450 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2451 ac_status=$?
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }; then
2454 ac_cv_prog_emacs_ok=yes
2455 else
2456 ac_cv_prog_emacs_ok=no
2459 rm -f conftest.el conftest.elc
2461 echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2462 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6
2463 if test $ac_cv_prog_emacs_ok = no; then
2464 TEST_EMACS=no
2470 EMACS=$TEST_EMACS
2473 # If set to t, that means we are running in a shell under Emacs.
2474 # If you have an Emacs named "t", then use the full path.
2475 test x"$EMACS" = xt && EMACS=
2476 for ac_prog in emacs xemacs
2478 # Extract the first word of "$ac_prog", so it can be a program name with args.
2479 set dummy $ac_prog; ac_word=$2
2480 echo "$as_me:$LINENO: checking for $ac_word" >&5
2481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2482 if test "${ac_cv_prog_EMACS+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 else
2485 if test -n "$EMACS"; then
2486 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2487 else
2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 for as_dir in $PATH
2491 IFS=$as_save_IFS
2492 test -z "$as_dir" && as_dir=.
2493 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2495 ac_cv_prog_EMACS="$ac_prog"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 break 2
2499 done
2500 done
2504 EMACS=$ac_cv_prog_EMACS
2505 if test -n "$EMACS"; then
2506 echo "$as_me:$LINENO: result: $EMACS" >&5
2507 echo "${ECHO_T}$EMACS" >&6
2508 else
2509 echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6
2513 test -n "$EMACS" && break
2514 done
2515 test -n "$EMACS" || EMACS="no"
2520 # Check whether --with-lispdir or --without-lispdir was given.
2521 if test "${with_lispdir+set}" = set; then
2522 withval="$with_lispdir"
2523 lispdir="$withval"
2524 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2525 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2526 echo "$as_me:$LINENO: result: $lispdir" >&5
2527 echo "${ECHO_T}$lispdir" >&6
2528 else
2530 echo "$as_me:$LINENO: checking where .elc files should go" >&5
2531 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
2532 if test "${am_cv_lispdir+set}" = set; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 else
2536 if test $EMACS != "no"; then
2537 if test x${lispdir+set} != xset; then
2538 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2539 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2540 # which is non-obvious for non-emacs users.
2541 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2542 # emacsen earlier and avoid running this altogether.
2543 { (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
2544 ($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
2545 ac_status=$?
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }
2548 am_cv_lispdir=`sed -n \
2549 -e 's,/$,,' \
2550 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2551 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2552 conftest.out`
2553 rm conftest.out
2556 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2559 echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2560 echo "${ECHO_T}$am_cv_lispdir" >&6
2561 lispdir="$am_cv_lispdir"
2568 ## ------ ##
2569 ## Grep. ##
2570 ## ------ ##
2571 echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2572 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
2573 if test "${ac_cv_path_GREP+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 else
2576 # Extract the first word of "grep ggrep" to use in msg output
2577 if test -z "$GREP"; then
2578 set dummy grep ggrep; ac_prog_name=$2
2579 if test "${ac_cv_path_GREP+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 else
2582 ac_path_GREP_found=false
2583 # Loop through the user's path and test for each of PROGNAME-LIST
2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 as_dummy="$PATH:/usr/xpg4/bin"
2586 for as_dir in $as_dummy
2588 IFS=$as_save_IFS
2589 test -z "$as_dir" && as_dir=.
2590 for ac_prog in grep ggrep; do
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2593 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2594 # Check for GNU ac_path_GREP and select it if it is found.
2595 # Check for GNU $ac_path_GREP
2596 case `"$ac_path_GREP" --version 2>&1` in
2597 *GNU*)
2598 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2600 ac_count=0
2601 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2602 while :
2604 cat "conftest.in" "conftest.in" >"conftest.tmp"
2605 mv "conftest.tmp" "conftest.in"
2606 cp "conftest.in" "conftest.nl"
2607 echo 'GREP' >> "conftest.nl"
2608 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2609 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2610 ac_count=`expr $ac_count + 1`
2611 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2612 # Best one so far, save it but keep looking for a better one
2613 ac_cv_path_GREP="$ac_path_GREP"
2614 ac_path_GREP_max=$ac_count
2616 # 10*(2^10) chars as input seems more than enough
2617 test $ac_count -gt 10 && break
2618 done
2619 rm -f conftest.*;;
2620 esac
2623 $ac_path_GREP_found && break 3
2624 done
2625 done
2627 done
2632 GREP="$ac_cv_path_GREP"
2633 if test -z "$GREP"; then
2634 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2635 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2636 { (exit 1); exit 1; }; }
2639 else
2640 ac_cv_path_GREP=$GREP
2645 echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2646 echo "${ECHO_T}$ac_cv_path_GREP" >&6
2647 GREP="$ac_cv_path_GREP"
2652 ## ------------ ##
2653 ## Conclusion. ##
2654 ## ------------ ##
2656 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"
2659 cat >confcache <<\_ACEOF
2660 # This file is a shell script that caches the results of configure
2661 # tests run on this system so they can be shared between configure
2662 # scripts and configure runs, see configure's option --config-cache.
2663 # It is not useful on other systems. If it contains results you don't
2664 # want to keep, you may remove or edit it.
2666 # config.status only pays attention to the cache file if you give it
2667 # the --recheck option to rerun configure.
2669 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2670 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2671 # following values.
2673 _ACEOF
2675 # The following way of writing the cache mishandles newlines in values,
2676 # but we know of no workaround that is simple, portable, and efficient.
2677 # So, don't put newlines in cache variables' values.
2678 # Ultrix sh set writes to stderr and can't be redirected directly,
2679 # and sets the high bit in the cache file unless we assign to the vars.
2681 (set) 2>&1 |
2682 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2683 *ac_space=\ *)
2684 # `set' does not quote correctly, so add quotes (double-quote
2685 # substitution turns \\\\ into \\, and sed turns \\ into \).
2686 sed -n \
2687 "s/'/'\\\\''/g;
2688 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2691 # `set' quotes correctly as required by POSIX, so do not add quotes.
2692 sed -n \
2693 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2695 esac;
2697 sed '
2698 t clear
2699 : clear
2700 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2701 t end
2702 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2703 : end' >>confcache
2704 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2705 if test -w $cache_file; then
2706 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2707 cat confcache >$cache_file
2708 else
2709 echo "not updating unwritable cache $cache_file"
2712 rm -f confcache
2714 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2715 # Let make expand exec_prefix.
2716 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2718 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2719 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2720 # trailing colons and then remove the whole line if VPATH becomes empty
2721 # (actually we leave an empty line to preserve line numbers).
2722 if test "x$srcdir" = x.; then
2723 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2724 s/:*\$(srcdir):*/:/;
2725 s/:*\${srcdir}:*/:/;
2726 s/:*@srcdir@:*/:/;
2727 s/^\([^=]*=[ ]*\):*/\1/;
2728 s/:*$//;
2729 s/^[^=]*=[ ]*$//;
2733 # Transform confdefs.h into DEFS.
2734 # Protect against shell expansion while executing Makefile rules.
2735 # Protect against Makefile macro expansion.
2737 # If the first sed substitution is executed (which looks for macros that
2738 # take arguments), then we branch to the quote section. Otherwise,
2739 # look for a macro that doesn't take arguments.
2740 cat >confdef2opt.sed <<\_ACEOF
2741 t clear
2742 : clear
2743 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2744 t quote
2745 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2746 t quote
2748 : quote
2749 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2750 s,\[,\\&,g
2751 s,\],\\&,g
2752 s,\$,$$,g
2754 _ACEOF
2755 # We use echo to avoid assuming a particular line-breaking character.
2756 # The extra dot is to prevent the shell from consuming trailing
2757 # line-breaks from the sub-command output. A line-break within
2758 # single-quotes doesn't work because, if this script is created in a
2759 # platform that uses two characters for line-breaks (e.g., DOS), tr
2760 # would break.
2761 ac_LF_and_DOT=`echo; echo .`
2762 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2763 rm -f confdef2opt.sed
2766 ac_libobjs=
2767 ac_ltlibobjs=
2768 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2769 # 1. Remove the extension, and $U if already installed.
2770 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2771 ac_i=`echo "$ac_i" | sed "$ac_script"`
2772 # 2. Add them.
2773 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2774 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2775 done
2776 LIBOBJS=$ac_libobjs
2778 LTLIBOBJS=$ac_ltlibobjs
2782 : ${CONFIG_STATUS=./config.status}
2783 ac_clean_files_save=$ac_clean_files
2784 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2785 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2786 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2787 cat >$CONFIG_STATUS <<_ACEOF
2788 #! $SHELL
2789 # Generated by $as_me.
2790 # Run this file to recreate the current configuration.
2791 # Compiler output produced by configure, useful for debugging
2792 # configure, is in config.log if it exists.
2794 debug=false
2795 ac_cs_recheck=false
2796 ac_cs_silent=false
2797 SHELL=\${CONFIG_SHELL-$SHELL}
2798 _ACEOF
2800 cat >>$CONFIG_STATUS <<\_ACEOF
2801 ## --------------------- ##
2802 ## M4sh Initialization. ##
2803 ## --------------------- ##
2805 # Be Bourne compatible
2806 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2807 emulate sh
2808 NULLCMD=:
2809 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2810 # is contrary to our usage. Disable this feature.
2811 alias -g '${1+"$@"}'='"$@"'
2812 setopt NO_GLOB_SUBST
2813 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2814 set -o posix
2816 BIN_SH=xpg4; export BIN_SH # for Tru64
2817 DUALCASE=1; export DUALCASE # for MKS sh
2820 # PATH needs CR
2821 # Avoid depending upon Character Ranges.
2822 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2823 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2824 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2825 as_cr_digits='0123456789'
2826 as_cr_alnum=$as_cr_Letters$as_cr_digits
2828 # The user is always right.
2829 if test "${PATH_SEPARATOR+set}" != set; then
2830 echo "#! /bin/sh" >conf$$.sh
2831 echo "exit 0" >>conf$$.sh
2832 chmod +x conf$$.sh
2833 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2834 PATH_SEPARATOR=';'
2835 else
2836 PATH_SEPARATOR=:
2838 rm -f conf$$.sh
2841 # Support unset when possible.
2842 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2843 as_unset=unset
2844 else
2845 as_unset=false
2849 # Find who we are. Look in the path if we contain no path at all
2850 # relative or not.
2851 case $0 in
2852 *[\\/]* ) as_myself=$0 ;;
2853 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 for as_dir in $PATH
2856 IFS=$as_save_IFS
2857 test -z "$as_dir" && as_dir=.
2858 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2859 done
2862 esac
2863 # We did not find ourselves, most probably we were run as `sh COMMAND'
2864 # in which case we are not to be found in the path.
2865 if test "x$as_myself" = x; then
2866 as_myself=$0
2868 if test ! -f "$as_myself"; then
2869 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
2870 echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
2871 { (exit 1); exit 1; }; }
2874 # Work around bugs in pre-3.0 UWIN ksh.
2875 for as_var in ENV MAIL MAILPATH
2876 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2877 done
2878 PS1='$ '
2879 PS2='> '
2880 PS4='+ '
2882 # NLS nuisances.
2883 for as_var in \
2884 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2885 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2886 LC_TELEPHONE LC_TIME
2888 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2889 eval $as_var=C; export $as_var
2890 else
2891 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2893 done
2895 # Required to use basename.
2896 if expr a : '\(a\)' >/dev/null 2>&1; then
2897 as_expr=expr
2898 else
2899 as_expr=false
2902 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2903 as_basename=basename
2904 else
2905 as_basename=false
2909 # Name of the executable.
2910 as_me=`$as_basename "$0" ||
2911 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2912 X"$0" : 'X\(//\)$' \| \
2913 X"$0" : 'X\(/\)$' \| \
2914 . : '\(.\)' 2>/dev/null ||
2915 echo X/"$0" |
2916 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2917 /^X\/\(\/\/\)$/{ s//\1/; q; }
2918 /^X\/\(\/\).*/{ s//\1/; q; }
2919 s/.*/./; q'`
2924 as_lineno_1=$LINENO
2925 as_lineno_2=$LINENO
2926 test "x$as_lineno_1" != "x$as_lineno_2" &&
2927 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2929 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2930 # uniformly replaced by the line number. The first 'sed' inserts a
2931 # line-number line after each line using $LINENO; the second 'sed'
2932 # does the real work. The second script uses 'N' to pair each
2933 # line-number line with the line containing $LINENO, and appends
2934 # trailing '-' during substitution so that $LINENO is not a special
2935 # case at line end.
2936 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2937 # scripts with optimization help from Paolo Bonzini. Blame Lee
2938 # E. McMahon (1931-1989) for sed's syntax. :-)
2939 sed -n '
2941 /[$]LINENO/=
2942 ' <$as_myself |
2943 sed '
2944 s,[$]LINENO.*,&-,
2945 t lineno
2947 : lineno
2949 : loop
2950 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2951 t loop
2952 s,-\n.*,,
2953 ' >$as_me.lineno &&
2954 chmod +x $as_me.lineno ||
2955 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2956 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2957 { (exit 1); exit 1; }; }
2959 # Don't try to exec as it changes $[0], causing all sort of problems
2960 # (the dirname of $[0] is not the place where we might find the
2961 # original and so on. Autoconf is especially sensible to this).
2962 . ./$as_me.lineno
2963 # Exit status is that of the last command.
2964 exit
2968 ECHO_C= ECHO_N= ECHO_T=
2969 case `echo -n x` in
2970 -n*)
2971 case `echo 'x\c'` in
2972 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2973 *) ECHO_C='\c';;
2974 esac;;
2976 ECHO_N='-n';;
2977 esac
2979 if expr a : '\(a\)' >/dev/null 2>&1; then
2980 as_expr=expr
2981 else
2982 as_expr=false
2985 rm -f conf$$ conf$$.exe conf$$.file
2986 echo >conf$$.file
2987 if ln -s conf$$.file conf$$ 2>/dev/null; then
2988 # We could just check for DJGPP; but this test a) works b) is more generic
2989 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2990 if test -f conf$$.exe; then
2991 # Don't use ln at all; we don't have any links
2992 as_ln_s='cp -p'
2993 else
2994 as_ln_s='ln -s'
2996 elif ln conf$$.file conf$$ 2>/dev/null; then
2997 as_ln_s=ln
2998 else
2999 as_ln_s='cp -p'
3001 rm -f conf$$ conf$$.exe conf$$.file
3003 if mkdir -p . 2>/dev/null; then
3004 as_mkdir_p=:
3005 else
3006 test -d ./-p && rmdir ./-p
3007 as_mkdir_p=false
3010 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3011 # systems may use methods other than mode bits to determine executability.
3012 cat >conf$$.file <<_ASEOF
3013 #! /bin/sh
3014 exit 0
3015 _ASEOF
3016 chmod +x conf$$.file
3017 if test -x conf$$.file >/dev/null 2>&1; then
3018 as_executable_p="test -x"
3019 else
3020 as_executable_p=:
3022 rm -f conf$$.file
3024 # Sed expression to map a string onto a valid CPP name.
3025 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3027 # Sed expression to map a string onto a valid variable name.
3028 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3031 # IFS
3032 # We need space, tab and new line, in precisely that order.
3033 as_nl='
3035 IFS=" $as_nl"
3037 # CDPATH.
3038 $as_unset CDPATH
3040 exec 6>&1
3042 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3043 # report actual input values of CONFIG_FILES etc. instead of their
3044 # values after options handling. Logging --version etc. is OK.
3045 exec 5>>config.log
3047 echo
3048 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3049 ## Running $as_me. ##
3050 _ASBOX
3051 } >&5
3052 cat >&5 <<_CSEOF
3054 This file was extended by GNU Autoconf $as_me 2.59c, which was
3055 generated by GNU Autoconf 2.59c. Invocation command line was
3057 CONFIG_FILES = $CONFIG_FILES
3058 CONFIG_HEADERS = $CONFIG_HEADERS
3059 CONFIG_LINKS = $CONFIG_LINKS
3060 CONFIG_COMMANDS = $CONFIG_COMMANDS
3061 $ $0 $@
3063 _CSEOF
3064 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3065 echo >&5
3066 _ACEOF
3068 # Files that config.status was made for.
3069 if test -n "$ac_config_files"; then
3070 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3073 if test -n "$ac_config_headers"; then
3074 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3077 if test -n "$ac_config_links"; then
3078 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3081 if test -n "$ac_config_commands"; then
3082 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3085 cat >>$CONFIG_STATUS <<\_ACEOF
3087 ac_cs_usage="\
3088 \`$as_me' instantiates files from templates according to the
3089 current configuration.
3091 Usage: $0 [OPTIONS] [FILE]...
3093 -h, --help print this help, then exit
3094 -V, --version print version number, then exit
3095 -q, --quiet do not print progress messages
3096 -d, --debug don't remove temporary files
3097 --recheck update $as_me by reconfiguring in the same conditions
3098 --file=FILE[:TEMPLATE]
3099 instantiate the configuration file FILE
3101 Configuration files:
3102 $config_files
3104 Configuration commands:
3105 $config_commands
3107 Report bugs to <bug-autoconf@gnu.org>."
3108 _ACEOF
3110 cat >>$CONFIG_STATUS <<_ACEOF
3111 ac_cs_version="\\
3112 GNU Autoconf config.status 2.59c
3113 configured by $0, generated by GNU Autoconf 2.59c,
3114 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3116 Copyright (C) 2005 Free Software Foundation, Inc.
3117 This config.status script is free software; the Free Software Foundation
3118 gives unlimited permission to copy, distribute and modify it."
3119 ac_pwd='$ac_pwd'
3120 srcdir='$srcdir'
3121 INSTALL="$INSTALL"
3122 _ACEOF
3124 cat >>$CONFIG_STATUS <<\_ACEOF
3125 # If no file are specified by the user, then we need to provide default
3126 # value. By we need to know if files were specified by the user.
3127 ac_need_defaults=:
3128 while test $# != 0
3130 case $1 in
3131 --*=*)
3132 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3133 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3134 ac_shift=:
3137 ac_option=$1
3138 ac_optarg=$2
3139 ac_shift=shift
3141 *) # This is not an option, so the user has probably given explicit
3142 # arguments.
3143 ac_option=$1
3144 ac_need_defaults=false;;
3145 esac
3147 case $ac_option in
3148 # Handling of the options.
3149 _ACEOF
3150 cat >>$CONFIG_STATUS <<\_ACEOF
3151 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3152 ac_cs_recheck=: ;;
3153 --version | --vers* | -V )
3154 echo "$ac_cs_version"; exit ;;
3155 --he | --h)
3156 # Conflict between --help and --header
3157 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3158 Try \`$0 --help' for more information." >&5
3159 echo "$as_me: error: ambiguous option: $1
3160 Try \`$0 --help' for more information." >&2;}
3161 { (exit 1); exit 1; }; };;
3162 --help | --hel | -h )
3163 echo "$ac_cs_usage"; exit ;;
3164 --debug | --d* | -d )
3165 debug=: ;;
3166 --file | --fil | --fi | --f )
3167 $ac_shift
3168 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3169 ac_need_defaults=false;;
3170 --header | --heade | --head | --hea )
3171 $ac_shift
3172 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3173 ac_need_defaults=false;;
3174 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3175 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3176 ac_cs_silent=: ;;
3178 # This is an error.
3179 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3180 Try \`$0 --help' for more information." >&5
3181 echo "$as_me: error: unrecognized option: $1
3182 Try \`$0 --help' for more information." >&2;}
3183 { (exit 1); exit 1; }; } ;;
3185 *) ac_config_targets="$ac_config_targets $1" ;;
3187 esac
3188 shift
3189 done
3191 ac_configure_extra_args=
3193 if $ac_cs_silent; then
3194 exec 6>/dev/null
3195 ac_configure_extra_args="$ac_configure_extra_args --silent"
3198 _ACEOF
3199 cat >>$CONFIG_STATUS <<_ACEOF
3200 if \$ac_cs_recheck; then
3201 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3202 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3205 _ACEOF
3211 cat >>$CONFIG_STATUS <<\_ACEOF
3212 for ac_config_target in $ac_config_targets
3214 case "$ac_config_target" in
3215 # Handling of arguments.
3216 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3217 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3218 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3219 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3220 "lib/emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3221 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3222 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3223 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3224 "lib/Autom4te/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3225 "lib/autoscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3226 "lib/m4sugar/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3227 "lib/autoconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3228 "lib/autotest/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3229 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3230 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3231 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3232 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3233 { (exit 1); exit 1; }; };;
3234 esac
3235 done
3237 # If the user did not use the arguments to specify the items to instantiate,
3238 # then the envvar interface is used. Set only those that are not.
3239 # We use the long form for the default assignment because of an extremely
3240 # bizarre bug on SunOS 4.1.3.
3241 if $ac_need_defaults; then
3242 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3243 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3246 # Have a temporary directory for convenience. Make it in the build tree
3247 # simply because there is no reason against having it here, and in addition,
3248 # creating and moving files from /tmp can sometimes cause problems.
3249 # Hook for its removal unless debugging.
3250 $debug ||
3252 trap 'exit_status=$?; rm -fr "$tmp" && exit $exit_status' 0
3253 trap '{ (exit 1); exit 1; }' 1 2 13 15
3255 # Create a (secure) tmp directory for tmp files.
3258 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3259 test -n "$tmp" && test -d "$tmp"
3260 } ||
3262 tmp=./conf$$-$RANDOM
3263 (umask 077 && mkdir "$tmp")
3264 } ||
3266 echo "$me: cannot create a temporary directory in ." >&2
3267 { (exit 1); exit 1; }
3270 _ACEOF
3272 cat >>$CONFIG_STATUS <<_ACEOF
3275 # CONFIG_FILES section.
3278 # No need to generate the scripts if there are no CONFIG_FILES.
3279 # This happens for instance when ./config.status config.h
3280 if test -n "\$CONFIG_FILES"; then
3281 # Protect against being on the right side of a sed subst in config.status.
3282 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3283 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >"\$tmp/subs.sed" <<\\CEOF
3284 s,@SHELL@,$SHELL,;t t
3285 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3286 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3287 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3288 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3289 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3290 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3291 s,@exec_prefix@,$exec_prefix,;t t
3292 s,@prefix@,$prefix,;t t
3293 s,@program_transform_name@,$program_transform_name,;t t
3294 s,@bindir@,$bindir,;t t
3295 s,@sbindir@,$sbindir,;t t
3296 s,@libexecdir@,$libexecdir,;t t
3297 s,@datarootdir@,$datarootdir,;t t
3298 s,@datadir@,$datadir,;t t
3299 s,@sysconfdir@,$sysconfdir,;t t
3300 s,@sharedstatedir@,$sharedstatedir,;t t
3301 s,@localstatedir@,$localstatedir,;t t
3302 s,@includedir@,$includedir,;t t
3303 s,@oldincludedir@,$oldincludedir,;t t
3304 s,@docdir@,$docdir,;t t
3305 s,@infodir@,$infodir,;t t
3306 s,@htmldir@,$htmldir,;t t
3307 s,@dvidir@,$dvidir,;t t
3308 s,@pdfdir@,$pdfdir,;t t
3309 s,@psdir@,$psdir,;t t
3310 s,@libdir@,$libdir,;t t
3311 s,@localedir@,$localedir,;t t
3312 s,@mandir@,$mandir,;t t
3313 s,@build_alias@,$build_alias,;t t
3314 s,@host_alias@,$host_alias,;t t
3315 s,@target_alias@,$target_alias,;t t
3316 s,@DEFS@,$DEFS,;t t
3317 s,@ECHO_C@,$ECHO_C,;t t
3318 s,@ECHO_N@,$ECHO_N,;t t
3319 s,@ECHO_T@,$ECHO_T,;t t
3320 s,@LIBS@,$LIBS,;t t
3321 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3322 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3323 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3324 s,@CYGPATH_W@,$CYGPATH_W,;t t
3325 s,@PACKAGE@,$PACKAGE,;t t
3326 s,@VERSION@,$VERSION,;t t
3327 s,@ACLOCAL@,$ACLOCAL,;t t
3328 s,@AUTOCONF@,$AUTOCONF,;t t
3329 s,@AUTOMAKE@,$AUTOMAKE,;t t
3330 s,@AUTOHEADER@,$AUTOHEADER,;t t
3331 s,@MAKEINFO@,$MAKEINFO,;t t
3332 s,@install_sh@,$install_sh,;t t
3333 s,@STRIP@,$STRIP,;t t
3334 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3335 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3336 s,@mkdir_p@,$mkdir_p,;t t
3337 s,@AWK@,$AWK,;t t
3338 s,@SET_MAKE@,$SET_MAKE,;t t
3339 s,@am__leading_dot@,$am__leading_dot,;t t
3340 s,@AMTAR@,$AMTAR,;t t
3341 s,@am__tar@,$am__tar,;t t
3342 s,@am__untar@,$am__untar,;t t
3343 s,@ac_cv_sh_n_works@,$ac_cv_sh_n_works,;t t
3344 s,@EXPR@,$EXPR,;t t
3345 s,@M4@,$M4,;t t
3346 s,@HELP2MAN@,$HELP2MAN,;t t
3347 s,@PERL@,$PERL,;t t
3348 s,@TEST_EMACS@,$TEST_EMACS,;t t
3349 s,@EMACS@,$EMACS,;t t
3350 s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
3351 s,@lispdir@,$lispdir,;t t
3352 s,@GREP@,$GREP,;t t
3353 s,@LIBOBJS@,$LIBOBJS,;t t
3354 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3355 CEOF
3357 _ACEOF
3359 cat >>$CONFIG_STATUS <<\_ACEOF
3360 # Split the substitutions into bite-sized pieces for seds with
3361 # small command number limits, like on Digital OSF/1 and HP-UX.
3362 ac_max_sed_lines=48
3363 ac_sed_frag=1 # Number of current file.
3364 ac_beg=1 # First line for current file.
3365 ac_end=$ac_max_sed_lines # Line after last line for current file.
3366 ac_more_lines=:
3367 ac_sed_cmds=
3368 while $ac_more_lines; do
3369 if test $ac_beg -gt 1; then
3370 sed "1,${ac_beg}d; ${ac_end}q" "$tmp/subs.sed" >"$tmp/subs.frag"
3371 else
3372 sed "${ac_end}q" "$tmp/subs.sed" >"$tmp/subs.frag"
3374 if test ! -s "$tmp/subs.frag"; then
3375 ac_more_lines=false
3376 else
3377 # The purpose of the label and of the branching condition is to
3378 # speed up the sed processing (if there are no `@' at all, there
3379 # is no need to browse any of the substitutions).
3380 # These are the two extra sed commands mentioned above.
3381 (echo ':t
3382 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat "$tmp/subs.frag") >"$tmp/subs-$ac_sed_frag.sed"
3383 if test -z "$ac_sed_cmds"; then
3384 ac_sed_cmds="sed -f '$tmp/subs-$ac_sed_frag.sed'"
3385 else
3386 ac_sed_cmds="$ac_sed_cmds | sed -f '$tmp/subs-$ac_sed_frag.sed'"
3388 ac_sed_frag=`expr $ac_sed_frag + 1`
3389 ac_beg=$ac_end
3390 ac_end=`expr $ac_end + $ac_max_sed_lines`
3392 done
3393 if test -z "$ac_sed_cmds"; then
3394 ac_sed_cmds=cat
3396 fi # test -n "$CONFIG_FILES"
3398 _ACEOF
3399 cat >>$CONFIG_STATUS <<\_ACEOF
3400 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3401 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3402 case $ac_file in
3403 - | *:- | *:-:* ) # input from stdin
3404 cat >"$tmp/stdin"
3405 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3406 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3407 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3408 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3409 * ) ac_file_in=$ac_file.in ;;
3410 esac
3412 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3413 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3414 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3415 X"$ac_file" : 'X\(//\)[^/]' \| \
3416 X"$ac_file" : 'X\(//\)$' \| \
3417 X"$ac_file" : 'X\(/\)' \| \
3418 . : '\(.\)' 2>/dev/null ||
3419 echo X"$ac_file" |
3420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3421 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3422 /^X\(\/\/\)$/{ s//\1/; q; }
3423 /^X\(\/\).*/{ s//\1/; q; }
3424 s/.*/./; q'`
3425 { if $as_mkdir_p; then
3426 test -d "$ac_dir" || mkdir -p "$ac_dir"
3427 else
3428 as_dir="$ac_dir"
3429 as_dirs=
3430 while test ! -d "$as_dir"; do
3431 as_dirs="$as_dir $as_dirs"
3432 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3433 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3434 X"$as_dir" : 'X\(//\)[^/]' \| \
3435 X"$as_dir" : 'X\(//\)$' \| \
3436 X"$as_dir" : 'X\(/\)' \| \
3437 . : '\(.\)' 2>/dev/null ||
3438 echo X"$as_dir" |
3439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3441 /^X\(\/\/\)$/{ s//\1/; q; }
3442 /^X\(\/\).*/{ s//\1/; q; }
3443 s/.*/./; q'`
3444 done
3445 test ! -n "$as_dirs" || mkdir $as_dirs
3446 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3447 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3448 { (exit 1); exit 1; }; }; }
3450 ac_builddir=.
3452 if test "$ac_dir" != .; then
3453 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3454 # A "../" for each directory in $ac_dir_suffix.
3455 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3456 else
3457 ac_dir_suffix= ac_top_builddir=
3460 case $srcdir in
3461 .) # No --srcdir option. We are building in place.
3462 ac_srcdir=.
3463 if test -z "$ac_top_builddir"; then
3464 ac_top_srcdir=.
3465 else
3466 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3467 fi ;;
3468 [\\/]* | ?:[\\/]* ) # Absolute name.
3469 ac_srcdir=$srcdir$ac_dir_suffix;
3470 ac_top_srcdir=$srcdir ;;
3471 *) # Relative name.
3472 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3473 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3474 esac
3476 # Do not use `cd foo && pwd` to compute absolute names, because
3477 # the directories may not exist.
3478 case $ac_pwd in
3479 .) ac_abs_builddir="$ac_dir";;
3481 case "$ac_dir" in
3482 .) ac_abs_builddir=$ac_pwd;;
3483 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3484 *) ac_abs_builddir=$ac_pwd/"$ac_dir";;
3485 esac;;
3486 esac
3487 case $ac_abs_builddir in
3488 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3490 case ${ac_top_builddir}. in
3491 .) ac_abs_top_builddir=$ac_abs_builddir;;
3492 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3493 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3494 esac;;
3495 esac
3496 case $ac_abs_builddir in
3497 .) ac_abs_srcdir=$ac_srcdir;;
3499 case $ac_srcdir in
3500 .) ac_abs_srcdir=$ac_abs_builddir;;
3501 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3502 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3503 esac;;
3504 esac
3505 case $ac_abs_builddir in
3506 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3508 case $ac_top_srcdir in
3509 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3510 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3511 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3512 esac;;
3513 esac
3516 case $INSTALL in
3517 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3518 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3519 esac
3521 if test x"$ac_file" != x-; then
3522 { echo "$as_me:$LINENO: creating $ac_file" >&5
3523 echo "$as_me: creating $ac_file" >&6;}
3524 rm -f "$ac_file"
3526 # Let's still pretend it is `configure' which instantiates (i.e., don't
3527 # use $as_me), people would be surprised to read:
3528 # /* config.h. Generated by config.status. */
3529 if test x"$ac_file" = x-; then
3530 configure_input=
3531 else
3532 configure_input="$ac_file. "
3534 configure_input=$configure_input"Generated from `echo $ac_file_in |
3535 sed 's,.*/,,'` by configure."
3537 # First look for the input files in the build tree, otherwise in the
3538 # src tree.
3539 ac_file_inputs=`IFS=:
3540 for f in $ac_file_in; do
3541 case $f in
3542 -) echo "$tmp/stdin" ;;
3543 [\\/$]*)
3544 # Absolute (can't be DOS-style, as IFS=:)
3545 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3546 echo "$as_me: error: cannot find input file: $f" >&2;}
3547 { (exit 1); exit 1; }; }
3548 echo "$f";;
3549 *) # Relative
3550 if test -f "$f"; then
3551 # Build tree
3552 echo "$f"
3553 elif test -f "$srcdir/$f"; then
3554 # Source tree
3555 echo "$srcdir/$f"
3556 else
3557 # /dev/null tree
3558 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3559 echo "$as_me: error: cannot find input file: $f" >&2;}
3560 { (exit 1); exit 1; }; }
3561 fi;;
3562 esac
3563 done` || { (exit 1); exit 1; }
3564 _ACEOF
3565 cat >>$CONFIG_STATUS <<_ACEOF
3566 sed "$ac_vpsub
3567 $extrasub
3568 _ACEOF
3569 cat >>$CONFIG_STATUS <<\_ACEOF
3571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3572 s|@configure_input@|$configure_input|;t t
3573 s|@srcdir@|$ac_srcdir|;t t
3574 s|@abs_srcdir@|$ac_abs_srcdir|;t t
3575 s|@top_srcdir@|$ac_top_srcdir|;t t
3576 s|@abs_top_srcdir@|$ac_abs_top_srcdir|;t t
3577 s|@builddir@|$ac_builddir|;t t
3578 s|@abs_builddir@|$ac_abs_builddir|;t t
3579 s|@top_builddir@|$ac_top_builddir|;t t
3580 s|@abs_top_builddir@|$ac_abs_top_builddir|;t t
3581 s,@INSTALL@,$ac_INSTALL,;t t
3582 " $ac_file_inputs | (eval "$ac_sed_cmds") >"$tmp/out"
3583 rm -f "$tmp/stdin"
3584 if test x"$ac_file" != x-; then
3585 mv "$tmp/out" $ac_file
3586 else
3587 cat "$tmp/out"
3588 rm -f "$tmp/out"
3591 done
3592 _ACEOF
3593 cat >>$CONFIG_STATUS <<\_ACEOF
3596 # CONFIG_COMMANDS section.
3598 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3599 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3600 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3601 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3602 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3603 X"$ac_dest" : 'X\(//\)[^/]' \| \
3604 X"$ac_dest" : 'X\(//\)$' \| \
3605 X"$ac_dest" : 'X\(/\)' \| \
3606 . : '\(.\)' 2>/dev/null ||
3607 echo X"$ac_dest" |
3608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3609 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3610 /^X\(\/\/\)$/{ s//\1/; q; }
3611 /^X\(\/\).*/{ s//\1/; q; }
3612 s/.*/./; q'`
3613 { if $as_mkdir_p; then
3614 test -d "$ac_dir" || mkdir -p "$ac_dir"
3615 else
3616 as_dir="$ac_dir"
3617 as_dirs=
3618 while test ! -d "$as_dir"; do
3619 as_dirs="$as_dir $as_dirs"
3620 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3621 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3622 X"$as_dir" : 'X\(//\)[^/]' \| \
3623 X"$as_dir" : 'X\(//\)$' \| \
3624 X"$as_dir" : 'X\(/\)' \| \
3625 . : '\(.\)' 2>/dev/null ||
3626 echo X"$as_dir" |
3627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3628 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3629 /^X\(\/\/\)$/{ s//\1/; q; }
3630 /^X\(\/\).*/{ s//\1/; q; }
3631 s/.*/./; q'`
3632 done
3633 test ! -n "$as_dirs" || mkdir $as_dirs
3634 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3635 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3636 { (exit 1); exit 1; }; }; }
3638 ac_builddir=.
3640 if test "$ac_dir" != .; then
3641 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3642 # A "../" for each directory in $ac_dir_suffix.
3643 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3644 else
3645 ac_dir_suffix= ac_top_builddir=
3648 case $srcdir in
3649 .) # No --srcdir option. We are building in place.
3650 ac_srcdir=.
3651 if test -z "$ac_top_builddir"; then
3652 ac_top_srcdir=.
3653 else
3654 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3655 fi ;;
3656 [\\/]* | ?:[\\/]* ) # Absolute name.
3657 ac_srcdir=$srcdir$ac_dir_suffix;
3658 ac_top_srcdir=$srcdir ;;
3659 *) # Relative name.
3660 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3661 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3662 esac
3664 # Do not use `cd foo && pwd` to compute absolute names, because
3665 # the directories may not exist.
3666 case $ac_pwd in
3667 .) ac_abs_builddir="$ac_dir";;
3669 case "$ac_dir" in
3670 .) ac_abs_builddir=$ac_pwd;;
3671 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3672 *) ac_abs_builddir=$ac_pwd/"$ac_dir";;
3673 esac;;
3674 esac
3675 case $ac_abs_builddir in
3676 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3678 case ${ac_top_builddir}. in
3679 .) ac_abs_top_builddir=$ac_abs_builddir;;
3680 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3681 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3682 esac;;
3683 esac
3684 case $ac_abs_builddir in
3685 .) ac_abs_srcdir=$ac_srcdir;;
3687 case $ac_srcdir in
3688 .) ac_abs_srcdir=$ac_abs_builddir;;
3689 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3690 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3691 esac;;
3692 esac
3693 case $ac_abs_builddir in
3694 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3696 case $ac_top_srcdir in
3697 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3698 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3699 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3700 esac;;
3701 esac
3704 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3705 echo "$as_me: executing $ac_dest commands" >&6;}
3706 case $ac_dest in
3707 tests/atconfig ) cat >tests/atconfig <<ATEOF
3708 # Configurable variable values for building test suites.
3709 # Generated by $0.
3710 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3712 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3713 at_testdir='tests'
3714 abs_builddir='$ac_abs_builddir'
3715 at_srcdir='$ac_srcdir'
3716 abs_srcdir='$ac_abs_srcdir'
3717 at_top_srcdir='$ac_top_srcdir'
3718 abs_top_srcdir='$ac_abs_top_srcdir'
3719 at_top_builddir='$ac_top_builddir'
3720 abs_top_builddir='$ac_abs_top_builddir'
3722 AUTOTEST_PATH='tests'
3724 SHELL=\${CONFIG_SHELL-'$SHELL'}
3725 ATEOF
3727 esac
3728 done
3729 _ACEOF
3731 cat >>$CONFIG_STATUS <<\_ACEOF
3733 { (exit 0); exit 0; }
3734 _ACEOF
3735 chmod +x $CONFIG_STATUS
3736 ac_clean_files=$ac_clean_files_save
3739 # configure is writing to config.log, and then calls config.status.
3740 # config.status does its own redirection, appending to config.log.
3741 # Unfortunately, on DOS this fails, as config.log is still kept open
3742 # by configure, so config.status won't be able to write to it; its
3743 # output is simply discarded. So we exec the FD to /dev/null,
3744 # effectively closing config.log, so it can be properly (re)opened and
3745 # appended to by config.status. When coming back to configure, we
3746 # need to make the FD available again.
3747 if test "$no_create" != yes; then
3748 ac_cs_success=:
3749 ac_config_status_args=
3750 test "$silent" = yes &&
3751 ac_config_status_args="$ac_config_status_args --quiet"
3752 exec 5>/dev/null
3753 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3754 exec 5>>config.log
3755 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3756 # would make configure fail if this is the last instruction.
3757 $ac_cs_success || { (exit 1); exit 1; }
3760 # Report the state of this version of Autoconf if this is a beta.
3761 cat <<EOF
3763 You are about to use an experimental version of Autoconf. Be sure to
3764 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3766 Below you will find information on the status of this version of Autoconf.
3770 sed -n '/^\* Status/,$p' $srcdir/BUGS