Regenerate.
[autoconf/tsuna.git] / configure
blob7aa763981f5b68cd4a4d7e8d2513075044b27024
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59c for GNU Autoconf 2.59c.
5 # Report bugs to <bug-autoconf@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # Find who we are. Look in the path if we contain no path at all
60 # relative or not.
61 case $0 in
62 *[\\/]* ) as_myself=$0 ;;
63 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64 for as_dir in $PATH
66 IFS=$as_save_IFS
67 test -z "$as_dir" && as_dir=.
68 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
69 done
72 esac
73 # We did not find ourselves, most probably we were run as `sh COMMAND'
74 # in which case we are not to be found in the path.
75 if test "x$as_myself" = x; then
76 as_myself=$0
78 if test ! -f "$as_myself"; then
79 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
80 { (exit 1); exit 1; }; }
83 # Work around bugs in pre-3.0 UWIN ksh.
84 for as_var in ENV MAIL MAILPATH
85 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
86 done
87 PS1='$ '
88 PS2='> '
89 PS4='+ '
91 # NLS nuisances.
92 for as_var in \
93 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95 LC_TELEPHONE LC_TIME
97 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98 eval $as_var=C; export $as_var
99 else
100 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 done
104 # Required to use basename.
105 if expr a : '\(a\)' >/dev/null 2>&1; then
106 as_expr=expr
107 else
108 as_expr=false
111 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
112 as_basename=basename
113 else
114 as_basename=false
118 # Name of the executable.
119 as_me=`$as_basename "$0" ||
120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121 X"$0" : 'X\(//\)$' \| \
122 X"$0" : 'X\(/\)$' \| \
123 . : '\(.\)' 2>/dev/null ||
124 echo X/"$0" |
125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
126 /^X\/\(\/\/\)$/{ s//\1/; q; }
127 /^X\/\(\/\).*/{ s//\1/; q; }
128 s/.*/./; q'`
132 if test "x$CONFIG_SHELL" = x; then
133 if (eval ":") 2>/dev/null; then
134 as_have_required=yes
135 else
136 as_have_required=no
139 if test $as_have_required = yes && (eval ":
140 (as_func_return () {
141 (exit \$1)
143 as_func_success () {
144 as_func_return 0
146 as_func_failure () {
147 as_func_return 1
149 as_func_ret_success () {
150 return 0
152 as_func_ret_failure () {
153 return 1
156 exitcode=0
157 if as_func_success; then
159 else
160 exitcode=1
161 echo as_func_success failed.
164 if as_func_failure; then
165 exitcode=1
166 echo as_func_failure succeeded.
169 if as_func_ret_success; then
171 else
172 exitcode=1
173 echo as_func_ret_success failed.
176 if as_func_ret_failure; then
177 exitcode=1
178 echo as_func_ret_failure succeeded.
181 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
183 else
184 exitcode=1
185 echo positional parameters were not saved.
188 test \$exitcode = 0) || { (exit 1); exit 1; }
191 as_lineno_1=\$LINENO
192 as_lineno_2=\$LINENO
193 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
194 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
195 ") 2> /dev/null; then
197 else
198 as_candidate_shells=
199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
202 IFS=$as_save_IFS
203 test -z "$as_dir" && as_dir=.
204 case $as_dir in
206 for as_base in sh bash ksh sh5; do
207 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
208 done
209 esac
210 done
213 for as_shell in $as_candidate_shells $SHELL; do
214 if { ($as_shell) 2> /dev/null <<\_ASEOF
215 # Be Bourne compatible
216 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
217 emulate sh
218 NULLCMD=:
219 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
220 # is contrary to our usage. Disable this feature.
221 alias -g '${1+"$@"}'='"$@"'
222 setopt NO_GLOB_SUBST
223 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
224 set -o posix
226 BIN_SH=xpg4; export BIN_SH # for Tru64
227 DUALCASE=1; export DUALCASE # for MKS sh
230 _ASEOF
231 }; then
232 CONFIG_SHELL=$as_shell
233 as_have_required=yes
234 if { $as_shell 2> /dev/null <<\_ASEOF
235 # Be Bourne compatible
236 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
237 emulate sh
238 NULLCMD=:
239 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
240 # is contrary to our usage. Disable this feature.
241 alias -g '${1+"$@"}'='"$@"'
242 setopt NO_GLOB_SUBST
243 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
244 set -o posix
246 BIN_SH=xpg4; export BIN_SH # for Tru64
247 DUALCASE=1; export DUALCASE # for MKS sh
250 (as_func_return () {
251 (exit $1)
253 as_func_success () {
254 as_func_return 0
256 as_func_failure () {
257 as_func_return 1
259 as_func_ret_success () {
260 return 0
262 as_func_ret_failure () {
263 return 1
266 exitcode=0
267 if as_func_success; then
269 else
270 exitcode=1
271 echo as_func_success failed.
274 if as_func_failure; then
275 exitcode=1
276 echo as_func_failure succeeded.
279 if as_func_ret_success; then
281 else
282 exitcode=1
283 echo as_func_ret_success failed.
286 if as_func_ret_failure; then
287 exitcode=1
288 echo as_func_ret_failure succeeded.
291 if ( set x; as_func_ret_success y && test x = "$1" ); then
293 else
294 exitcode=1
295 echo positional parameters were not saved.
298 test $exitcode = 0) || { (exit 1); exit 1; }
301 as_lineno_1=$LINENO
302 as_lineno_2=$LINENO
303 test "x$as_lineno_1" != "x$as_lineno_2" &&
304 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
306 _ASEOF
307 }; then
308 break
313 done
315 if test "x$CONFIG_SHELL" != x; then
316 for as_var in BASH_ENV ENV
317 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
318 done
319 export CONFIG_SHELL
320 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
324 if test $as_have_required = no; then
325 echo This script requires a shell more modern than all the
326 echo shells that I found on your system. Please install a
327 echo modern shell, or manually run the script under such a
328 echo shell if you do have one.
329 { (exit 1); exit 1; }
339 (eval "as_func_return () {
340 (exit \$1)
342 as_func_success () {
343 as_func_return 0
345 as_func_failure () {
346 as_func_return 1
348 as_func_ret_success () {
349 return 0
351 as_func_ret_failure () {
352 return 1
355 exitcode=0
356 if as_func_success; then
358 else
359 exitcode=1
360 echo as_func_success failed.
363 if as_func_failure; then
364 exitcode=1
365 echo as_func_failure succeeded.
368 if as_func_ret_success; then
370 else
371 exitcode=1
372 echo as_func_ret_success failed.
375 if as_func_ret_failure; then
376 exitcode=1
377 echo as_func_ret_failure succeeded.
380 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
382 else
383 exitcode=1
384 echo positional parameters were not saved.
387 test \$exitcode = 0") || {
388 echo No shell found that supports shell functions.
389 echo Please tell autoconf@gnu.org about your system,
390 echo including any error possibly output before this
391 echo message
396 as_lineno_1=$LINENO
397 as_lineno_2=$LINENO
398 test "x$as_lineno_1" != "x$as_lineno_2" &&
399 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
401 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
402 # uniformly replaced by the line number. The first 'sed' inserts a
403 # line-number line after each line using $LINENO; the second 'sed'
404 # does the real work. The second script uses 'N' to pair each
405 # line-number line with the line containing $LINENO, and appends
406 # trailing '-' during substitution so that $LINENO is not a special
407 # case at line end.
408 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
409 # scripts with optimization help from Paolo Bonzini. Blame Lee
410 # E. McMahon (1931-1989) for sed's syntax. :-)
411 sed -n '
413 /[$]LINENO/=
414 ' <$as_myself |
415 sed '
416 s,[$]LINENO.*,&-,
417 t lineno
419 : lineno
421 : loop
422 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
423 t loop
424 s,-\n.*,,
425 ' >$as_me.lineno &&
426 chmod +x $as_me.lineno ||
427 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
428 { (exit 1); exit 1; }; }
430 # Don't try to exec as it changes $[0], causing all sort of problems
431 # (the dirname of $[0] is not the place where we might find the
432 # original and so on. Autoconf is especially sensible to this).
433 . ./$as_me.lineno
434 # Exit status is that of the last command.
435 exit
439 ECHO_C= ECHO_N= ECHO_T=
440 case `echo -n x` in
441 -n*)
442 case `echo 'x\c'` in
443 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
444 *) ECHO_C='\c';;
445 esac;;
447 ECHO_N='-n';;
448 esac
450 if expr a : '\(a\)' >/dev/null 2>&1; then
451 as_expr=expr
452 else
453 as_expr=false
456 rm -f conf$$ conf$$.exe conf$$.file
457 echo >conf$$.file
458 if ln -s conf$$.file conf$$ 2>/dev/null; then
459 # We could just check for DJGPP; but this test a) works b) is more generic
460 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
461 if test -f conf$$.exe; then
462 # Don't use ln at all; we don't have any links
463 as_ln_s='cp -p'
464 else
465 as_ln_s='ln -s'
467 elif ln conf$$.file conf$$ 2>/dev/null; then
468 as_ln_s=ln
469 else
470 as_ln_s='cp -p'
472 rm -f conf$$ conf$$.exe conf$$.file
474 if mkdir -p . 2>/dev/null; then
475 as_mkdir_p=:
476 else
477 test -d ./-p && rmdir ./-p
478 as_mkdir_p=false
481 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
482 # systems may use methods other than mode bits to determine executability.
483 cat >conf$$.file <<_ASEOF
484 #! /bin/sh
485 exit 0
486 _ASEOF
487 chmod +x conf$$.file
488 if test -x conf$$.file >/dev/null 2>&1; then
489 as_executable_p="test -x"
490 else
491 as_executable_p=:
493 rm -f conf$$.file
495 # Sed expression to map a string onto a valid CPP name.
496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
498 # Sed expression to map a string onto a valid variable name.
499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
502 # IFS
503 # We need space, tab and new line, in precisely that order.
504 as_nl='
506 IFS=" $as_nl"
508 # CDPATH.
509 $as_unset CDPATH
512 exec 7<&0 </dev/null 6>&1
514 # Name of the host.
515 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
516 # so uname gets run too.
517 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
520 # Initializations.
522 ac_default_prefix=/usr/local
523 ac_config_libobj_dir=.
524 cross_compiling=no
525 subdirs=
526 MFLAGS=
527 MAKEFLAGS=
528 SHELL=${CONFIG_SHELL-/bin/sh}
530 # Identity of this package.
531 PACKAGE_NAME='GNU Autoconf'
532 PACKAGE_TARNAME='autoconf'
533 PACKAGE_VERSION='2.59c'
534 PACKAGE_STRING='GNU Autoconf 2.59c'
535 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
537 ac_unique_file="ChangeLog"
538 ac_subst_vars='SHELL
539 PATH_SEPARATOR
540 PACKAGE_NAME
541 PACKAGE_TARNAME
542 PACKAGE_VERSION
543 PACKAGE_STRING
544 PACKAGE_BUGREPORT
545 exec_prefix
546 prefix
547 program_transform_name
548 bindir
549 sbindir
550 libexecdir
551 datarootdir
552 datadir
553 sysconfdir
554 sharedstatedir
555 localstatedir
556 includedir
557 oldincludedir
558 docdir
559 infodir
560 htmldir
561 dvidir
562 pdfdir
563 psdir
564 libdir
565 localedir
566 mandir
567 build_alias
568 host_alias
569 target_alias
570 DEFS
571 ECHO_C
572 ECHO_N
573 ECHO_T
574 LIBS
575 INSTALL_PROGRAM
576 INSTALL_SCRIPT
577 INSTALL_DATA
578 CYGPATH_W
579 PACKAGE
580 VERSION
581 ACLOCAL
582 AUTOCONF
583 AUTOMAKE
584 AUTOHEADER
585 MAKEINFO
586 install_sh
587 STRIP
588 ac_ct_STRIP
589 INSTALL_STRIP_PROGRAM
590 mkdir_p
592 SET_MAKE
593 am__leading_dot
594 AMTAR
595 am__tar
596 am__untar
597 ac_cv_sh_n_works
598 EXPR
600 HELP2MAN
601 PERL
602 TEST_EMACS
603 EMACS
604 EMACSLOADPATH
605 lispdir
606 GREP
607 LIBOBJS
608 LTLIBOBJS'
609 ac_subst_files=''
611 # Initialize some variables set by options.
612 ac_init_help=
613 ac_init_version=false
614 # The variables have the same names as the options, with
615 # dashes changed to underlines.
616 cache_file=/dev/null
617 exec_prefix=NONE
618 no_create=
619 no_recursion=
620 prefix=NONE
621 program_prefix=NONE
622 program_suffix=NONE
623 program_transform_name=s,x,x,
624 silent=
625 site=
626 srcdir=
627 verbose=
628 x_includes=NONE
629 x_libraries=NONE
631 # Installation directory options.
632 # These are left unexpanded so users can "make install exec_prefix=/foo"
633 # and all the variables that are supposed to be based on exec_prefix
634 # by default will actually change.
635 # Use braces instead of parens because sh, perl, etc. also accept them.
636 # (The list follows the same order as the GNU Coding Standards.)
637 bindir='${exec_prefix}/bin'
638 sbindir='${exec_prefix}/sbin'
639 libexecdir='${exec_prefix}/libexec'
640 datarootdir='${prefix}/share'
641 datadir='${datarootdir}'
642 sysconfdir='${prefix}/etc'
643 sharedstatedir='${prefix}/com'
644 localstatedir='${prefix}/var'
645 includedir='${prefix}/include'
646 oldincludedir='/usr/include'
647 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
648 infodir='${datarootdir}/info'
649 htmldir='${docdir}'
650 dvidir='${docdir}'
651 pdfdir='${docdir}'
652 psdir='${docdir}'
653 libdir='${exec_prefix}/lib'
654 localedir='${datarootdir}/locale'
655 mandir='${datarootdir}/man'
657 ac_prev=
658 ac_dashdash=
659 for ac_option
661 # If the previous option needs an argument, assign it.
662 if test -n "$ac_prev"; then
663 eval "$ac_prev=\$ac_option"
664 ac_prev=
665 continue
668 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
670 # Accept the important Cygnus configure options, so we can diagnose typos.
672 case $ac_dashdash$ac_option in
674 ac_dashdash=yes ;;
676 -bindir | --bindir | --bindi | --bind | --bin | --bi)
677 ac_prev=bindir ;;
678 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
679 bindir=$ac_optarg ;;
681 -build | --build | --buil | --bui | --bu)
682 ac_prev=build_alias ;;
683 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
684 build_alias=$ac_optarg ;;
686 -cache-file | --cache-file | --cache-fil | --cache-fi \
687 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
688 ac_prev=cache_file ;;
689 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
690 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
691 cache_file=$ac_optarg ;;
693 --config-cache | -C)
694 cache_file=config.cache ;;
696 -datadir | --datadir | --datadi | --datad)
697 ac_prev=datadir ;;
698 -datadir=* | --datadir=* | --datadi=* | --datad=*)
699 datadir=$ac_optarg ;;
701 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
702 | --dataroo | --dataro | --datar)
703 ac_prev=datarootdir ;;
704 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
705 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
706 datarootdir=$ac_optarg ;;
708 -disable-* | --disable-*)
709 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
710 # Reject names that are not valid shell variable names.
711 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
712 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
713 { (exit 1); exit 1; }; }
714 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
715 eval "enable_$ac_feature=no" ;;
717 -docdir | --docdir | --docdi | --doc | --do)
718 ac_prev=docdir ;;
719 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
720 docdir=$ac_optarg ;;
722 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
723 ac_prev=dvidir ;;
724 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
725 dvidir=$ac_optarg ;;
727 -enable-* | --enable-*)
728 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
729 # Reject names that are not valid shell variable names.
730 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
731 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
732 { (exit 1); exit 1; }; }
733 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
734 case $ac_option in
735 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
736 *) ac_optarg=yes ;;
737 esac
738 eval "enable_$ac_feature='$ac_optarg'" ;;
740 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
741 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
742 | --exec | --exe | --ex)
743 ac_prev=exec_prefix ;;
744 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
745 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
746 | --exec=* | --exe=* | --ex=*)
747 exec_prefix=$ac_optarg ;;
749 -gas | --gas | --ga | --g)
750 # Obsolete; use --with-gas.
751 with_gas=yes ;;
753 -help | --help | --hel | --he | -h)
754 ac_init_help=long ;;
755 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
756 ac_init_help=recursive ;;
757 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
758 ac_init_help=short ;;
760 -host | --host | --hos | --ho)
761 ac_prev=host_alias ;;
762 -host=* | --host=* | --hos=* | --ho=*)
763 host_alias=$ac_optarg ;;
765 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
766 ac_prev=htmldir ;;
767 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
768 | --ht=*)
769 htmldir=$ac_optarg ;;
771 -includedir | --includedir | --includedi | --included | --include \
772 | --includ | --inclu | --incl | --inc)
773 ac_prev=includedir ;;
774 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
775 | --includ=* | --inclu=* | --incl=* | --inc=*)
776 includedir=$ac_optarg ;;
778 -infodir | --infodir | --infodi | --infod | --info | --inf)
779 ac_prev=infodir ;;
780 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
781 infodir=$ac_optarg ;;
783 -libdir | --libdir | --libdi | --libd)
784 ac_prev=libdir ;;
785 -libdir=* | --libdir=* | --libdi=* | --libd=*)
786 libdir=$ac_optarg ;;
788 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
789 | --libexe | --libex | --libe)
790 ac_prev=libexecdir ;;
791 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
792 | --libexe=* | --libex=* | --libe=*)
793 libexecdir=$ac_optarg ;;
795 -localedir | --localedir | --localedi | --localed | --locale)
796 ac_prev=localedir ;;
797 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
798 localedir=$ac_optarg ;;
800 -localstatedir | --localstatedir | --localstatedi | --localstated \
801 | --localstate | --localstat | --localsta | --localst | --locals)
802 ac_prev=localstatedir ;;
803 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
804 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
805 localstatedir=$ac_optarg ;;
807 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
808 ac_prev=mandir ;;
809 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
810 mandir=$ac_optarg ;;
812 -nfp | --nfp | --nf)
813 # Obsolete; use --without-fp.
814 with_fp=no ;;
816 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
817 | --no-cr | --no-c | -n)
818 no_create=yes ;;
820 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
821 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
822 no_recursion=yes ;;
824 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
825 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
826 | --oldin | --oldi | --old | --ol | --o)
827 ac_prev=oldincludedir ;;
828 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
829 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
830 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
831 oldincludedir=$ac_optarg ;;
833 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
834 ac_prev=prefix ;;
835 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
836 prefix=$ac_optarg ;;
838 -program-prefix | --program-prefix | --program-prefi | --program-pref \
839 | --program-pre | --program-pr | --program-p)
840 ac_prev=program_prefix ;;
841 -program-prefix=* | --program-prefix=* | --program-prefi=* \
842 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
843 program_prefix=$ac_optarg ;;
845 -program-suffix | --program-suffix | --program-suffi | --program-suff \
846 | --program-suf | --program-su | --program-s)
847 ac_prev=program_suffix ;;
848 -program-suffix=* | --program-suffix=* | --program-suffi=* \
849 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
850 program_suffix=$ac_optarg ;;
852 -program-transform-name | --program-transform-name \
853 | --program-transform-nam | --program-transform-na \
854 | --program-transform-n | --program-transform- \
855 | --program-transform | --program-transfor \
856 | --program-transfo | --program-transf \
857 | --program-trans | --program-tran \
858 | --progr-tra | --program-tr | --program-t)
859 ac_prev=program_transform_name ;;
860 -program-transform-name=* | --program-transform-name=* \
861 | --program-transform-nam=* | --program-transform-na=* \
862 | --program-transform-n=* | --program-transform-=* \
863 | --program-transform=* | --program-transfor=* \
864 | --program-transfo=* | --program-transf=* \
865 | --program-trans=* | --program-tran=* \
866 | --progr-tra=* | --program-tr=* | --program-t=*)
867 program_transform_name=$ac_optarg ;;
869 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
870 ac_prev=pdfdir ;;
871 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
872 pdfdir=$ac_optarg ;;
874 -psdir | --psdir | --psdi | --psd | --ps)
875 ac_prev=psdir ;;
876 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
877 psdir=$ac_optarg ;;
879 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
880 | -silent | --silent | --silen | --sile | --sil)
881 silent=yes ;;
883 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
884 ac_prev=sbindir ;;
885 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
886 | --sbi=* | --sb=*)
887 sbindir=$ac_optarg ;;
889 -sharedstatedir | --sharedstatedir | --sharedstatedi \
890 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
891 | --sharedst | --shareds | --shared | --share | --shar \
892 | --sha | --sh)
893 ac_prev=sharedstatedir ;;
894 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
895 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
896 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
897 | --sha=* | --sh=*)
898 sharedstatedir=$ac_optarg ;;
900 -site | --site | --sit)
901 ac_prev=site ;;
902 -site=* | --site=* | --sit=*)
903 site=$ac_optarg ;;
905 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
906 ac_prev=srcdir ;;
907 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
908 srcdir=$ac_optarg ;;
910 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
911 | --syscon | --sysco | --sysc | --sys | --sy)
912 ac_prev=sysconfdir ;;
913 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
914 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
915 sysconfdir=$ac_optarg ;;
917 -target | --target | --targe | --targ | --tar | --ta | --t)
918 ac_prev=target_alias ;;
919 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
920 target_alias=$ac_optarg ;;
922 -v | -verbose | --verbose | --verbos | --verbo | --verb)
923 verbose=yes ;;
925 -version | --version | --versio | --versi | --vers | -V)
926 ac_init_version=: ;;
928 -with-* | --with-*)
929 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
930 # Reject names that are not valid shell variable names.
931 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
932 { echo "$as_me: error: invalid package name: $ac_package" >&2
933 { (exit 1); exit 1; }; }
934 ac_package=`echo $ac_package| sed 's/-/_/g'`
935 case $ac_option in
936 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
937 *) ac_optarg=yes ;;
938 esac
939 eval "with_$ac_package='$ac_optarg'" ;;
941 -without-* | --without-*)
942 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
943 # Reject names that are not valid shell variable names.
944 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
945 { echo "$as_me: error: invalid package name: $ac_package" >&2
946 { (exit 1); exit 1; }; }
947 ac_package=`echo $ac_package | sed 's/-/_/g'`
948 eval "with_$ac_package=no" ;;
950 --x)
951 # Obsolete; use --with-x.
952 with_x=yes ;;
954 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
955 | --x-incl | --x-inc | --x-in | --x-i)
956 ac_prev=x_includes ;;
957 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
958 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
959 x_includes=$ac_optarg ;;
961 -x-libraries | --x-libraries | --x-librarie | --x-librari \
962 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
963 ac_prev=x_libraries ;;
964 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
965 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
966 x_libraries=$ac_optarg ;;
968 -*) { echo "$as_me: error: unrecognized option: $ac_option
969 Try \`$0 --help' for more information." >&2
970 { (exit 1); exit 1; }; }
973 *=*)
974 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
977 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
978 { (exit 1); exit 1; }; }
979 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
980 eval "$ac_envvar='$ac_optarg'"
981 export $ac_envvar ;;
984 # FIXME: should be removed in autoconf 3.0.
985 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
986 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
987 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
988 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
991 esac
992 done
994 if test -n "$ac_prev"; then
995 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
996 { echo "$as_me: error: missing argument to $ac_option" >&2
997 { (exit 1); exit 1; }; }
1000 # Be sure to have absolute directory names.
1001 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1002 datadir sysconfdir sharedstatedir localstatedir includedir \
1003 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1004 libdir localedir mandir
1006 eval ac_val=$`echo $ac_var`
1007 case $ac_val in
1008 [\\/$]* | ?:[\\/]* ) continue;;
1009 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1010 esac
1011 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1012 { (exit 1); exit 1; }; }
1013 done
1015 # There might be people who depend on the old broken behavior: `$host'
1016 # used to hold the argument of --host etc.
1017 # FIXME: To remove some day.
1018 build=$build_alias
1019 host=$host_alias
1020 target=$target_alias
1022 # FIXME: To remove some day.
1023 if test "x$host_alias" != x; then
1024 if test "x$build_alias" = x; then
1025 cross_compiling=maybe
1026 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1027 If a cross compiler is detected then cross compile mode will be used." >&2
1028 elif test "x$build_alias" != "x$host_alias"; then
1029 cross_compiling=yes
1033 ac_tool_prefix=
1034 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1036 test "$silent" = yes && exec 6>/dev/null
1039 # Find the source files, if location was not specified.
1040 if test -z "$srcdir"; then
1041 ac_srcdir_defaulted=yes
1042 # Try the directory containing this script, then its parent.
1043 ac_confdir=`(dirname "$0") 2>/dev/null ||
1044 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1045 X"$0" : 'X\(//\)[^/]' \| \
1046 X"$0" : 'X\(//\)$' \| \
1047 X"$0" : 'X\(/\)' \| \
1048 . : '\(.\)' 2>/dev/null ||
1049 echo X"$0" |
1050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1051 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1052 /^X\(\/\/\)$/{ s//\1/; q; }
1053 /^X\(\/\).*/{ s//\1/; q; }
1054 s/.*/./; q'`
1055 srcdir=$ac_confdir
1056 if test ! -r $srcdir/$ac_unique_file; then
1057 srcdir=..
1059 else
1060 ac_srcdir_defaulted=no
1062 if test ! -r $srcdir/$ac_unique_file; then
1063 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1064 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1065 { (exit 1); exit 1; }; }
1067 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1068 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1069 { (exit 1); exit 1; }; }
1070 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1072 ac_pwd=`pwd` && test -n "$ac_pwd" ||
1073 { echo "$as_me: error: Working directory cannot be determined" >&2
1074 { (exit 1); exit 1; }; }
1076 ac_pat="[\$][{][_$as_cr_Letters][_$as_cr_alnum]*[}]"
1078 for ac_dir in "$ac_pwd" "$srcdir" \
1079 "$bindir" "$sbindir" "$libexecdir" "$datarootdir" "$datadir" \
1080 "$sysconfdir" "$sharedstatedir" "$localstatedir" "$includedir" \
1081 "$oldincludedir" "$docdir" "$infodir" "$htmldir" "$dvidir" "$pdfdir" \
1082 "$psdir" "$libdir" "$localedir" "$mandir"
1084 # Remove references to shell or make variables.
1085 ac_dirx=$ac_dir
1086 while :
1088 case $ac_dirx in
1089 *\${*}*)
1090 ac_dirx=`
1091 expr "X$ac_dirx" : "X\\(.*\\)$ac_pat"`X`
1092 expr "X$ac_dirx" : "X.*$ac_pat\\(.*\\)"`;;
1093 *) break;;
1094 esac
1095 done
1097 # Check for newline, tab, space, and other weird possibilities.
1098 # Preserve that tab character below!
1099 case $ac_dirx in
1100 '' | -* | */-* | *'
1101 '* | *' '* | *' '* | *\"* | *\#* | *\ | *\&* | *\'* | *\(* | *\)* | \
1102 *\** | *\;* | *\<* | *\=* | *\>* | *\?* | *\[* | *\\* | *\`* | \
1103 *\|* | \~*)
1104 echo "$as_me: WARNING: Directory name \`$ac_dir' contains special characters" >&2;;
1105 esac
1106 done
1107 ac_env_build_alias_set=${build_alias+set}
1108 ac_env_build_alias_value=$build_alias
1109 ac_cv_env_build_alias_set=${build_alias+set}
1110 ac_cv_env_build_alias_value=$build_alias
1111 ac_env_host_alias_set=${host_alias+set}
1112 ac_env_host_alias_value=$host_alias
1113 ac_cv_env_host_alias_set=${host_alias+set}
1114 ac_cv_env_host_alias_value=$host_alias
1115 ac_env_target_alias_set=${target_alias+set}
1116 ac_env_target_alias_value=$target_alias
1117 ac_cv_env_target_alias_set=${target_alias+set}
1118 ac_cv_env_target_alias_value=$target_alias
1119 ac_env_EMACS_set=${EMACS+set}
1120 ac_env_EMACS_value=$EMACS
1121 ac_cv_env_EMACS_set=${EMACS+set}
1122 ac_cv_env_EMACS_value=$EMACS
1123 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
1124 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
1125 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
1126 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
1129 # Report the --help message.
1131 if test "$ac_init_help" = "long"; then
1132 # Omit some internal or obsolete options to make the list less imposing.
1133 # This message is too long to be a string in the A/UX 3.1 sh.
1134 cat <<_ACEOF
1135 \`configure' configures GNU Autoconf 2.59c to adapt to many kinds of systems.
1137 Usage: $0 [OPTION]... [VAR=VALUE]...
1139 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1140 VAR=VALUE. See below for descriptions of some of the useful variables.
1142 Defaults for the options are specified in brackets.
1144 Configuration:
1145 -h, --help display this help and exit
1146 --help=short display options specific to this package
1147 --help=recursive display the short help of all the included packages
1148 -V, --version display version information and exit
1149 -q, --quiet, --silent do not print \`checking...' messages
1150 --cache-file=FILE cache test results in FILE [disabled]
1151 -C, --config-cache alias for \`--cache-file=config.cache'
1152 -n, --no-create do not create output files
1153 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1155 Installation directories:
1156 --prefix=PREFIX install architecture-independent files in PREFIX
1157 [$ac_default_prefix]
1158 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1159 [PREFIX]
1161 By default, \`make install' will install all the files in
1162 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1163 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1164 for instance \`--prefix=\$HOME'.
1166 For better control, use the options below.
1168 Fine tuning of the installation directories:
1169 --bindir=DIR user executables [EPREFIX/bin]
1170 --sbindir=DIR system admin executables [EPREFIX/sbin]
1171 --libexecdir=DIR program executables [EPREFIX/libexec]
1172 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1173 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1174 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1175 --libdir=DIR object code libraries [EPREFIX/lib]
1176 --includedir=DIR C header files [PREFIX/include]
1177 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1178 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1179 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1180 --infodir=DIR info documentation [DATAROOTDIR/info]
1181 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1182 --mandir=DIR man documentation [DATAROOTDIR/man]
1183 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1184 --htmldir=DIR html documentation [DOCDIR]
1185 --dvidir=DIR dvi documentation [DOCDIR]
1186 --pdfdir=DIR pdf documentation [DOCDIR]
1187 --psdir=DIR ps documentation [DOCDIR]
1188 _ACEOF
1190 cat <<\_ACEOF
1192 Program names:
1193 --program-prefix=PREFIX prepend PREFIX to installed program names
1194 --program-suffix=SUFFIX append SUFFIX to installed program names
1195 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1196 _ACEOF
1199 if test -n "$ac_init_help"; then
1200 case $ac_init_help in
1201 short | recursive ) echo "Configuration of GNU Autoconf 2.59c:";;
1202 esac
1203 cat <<\_ACEOF
1205 Optional Packages:
1206 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1207 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1208 --with-lispdir override the default lisp directory
1210 Some influential environment variables:
1211 EMACS the Emacs editor command
1212 EMACSLOADPATH
1213 the Emacs library search path
1215 Use these variables to override the choices made by `configure' or to help
1216 it to find libraries and programs with nonstandard names/locations.
1218 Report bugs to <bug-autoconf@gnu.org>.
1219 _ACEOF
1220 ac_status=$?
1223 if test "$ac_init_help" = "recursive"; then
1224 # If there are subdirs, report their specific --help.
1225 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1226 test -d $ac_dir || continue
1227 ac_builddir=.
1229 case "$ac_dir" in
1230 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1232 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1233 # A ".." for each directory in $ac_dir_suffix.
1234 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1235 case $ac_top_builddir_sub in
1236 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1237 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1238 esac ;;
1239 esac
1240 ac_abs_top_builddir=$ac_pwd
1241 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1242 # for backward compatibility:
1243 ac_top_builddir=$ac_top_build_prefix
1245 case $srcdir in
1246 .) # No --srcdir option. We are building in place.
1247 ac_srcdir=.
1248 ac_top_srcdir=$ac_top_builddir_sub
1249 ac_abs_top_srcdir=$ac_pwd ;;
1250 [\\/]* | ?:[\\/]* ) # Absolute name.
1251 ac_srcdir=$srcdir$ac_dir_suffix;
1252 ac_top_srcdir=$srcdir
1253 ac_abs_top_srcdir=$srcdir ;;
1254 *) # Relative name.
1255 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1256 ac_top_srcdir=$ac_top_build_prefix$srcdir
1257 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1258 esac
1259 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1261 cd $ac_dir || { ac_status=$?; continue; }
1262 # Check for guested configure; otherwise get Cygnus style configure.
1263 if test -f $ac_srcdir/configure.gnu; then
1264 echo &&
1265 $SHELL $ac_srcdir/configure.gnu --help=recursive
1266 elif test -f $ac_srcdir/configure; then
1267 echo &&
1268 $SHELL $ac_srcdir/configure --help=recursive
1269 elif test -f $ac_srcdir/configure.ac ||
1270 test -f $ac_srcdir/configure.in; then
1271 echo &&
1272 $ac_configure --help
1273 else
1274 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1275 fi || ac_status=$?
1276 cd "$ac_pwd" || { ac_status=$?; break; }
1277 done
1280 test -n "$ac_init_help" && exit $ac_status
1281 if $ac_init_version; then
1282 cat <<\_ACEOF
1283 GNU Autoconf configure 2.59c
1284 generated by GNU Autoconf 2.59c
1286 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1287 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
1288 This configure script is free software; the Free Software Foundation
1289 gives unlimited permission to copy, distribute and modify it.
1290 _ACEOF
1291 exit
1293 exec 5>config.log
1294 cat >&5 <<_ACEOF
1295 This file contains any messages produced by compilers while
1296 running configure, to aid debugging if configure makes a mistake.
1298 It was created by GNU Autoconf $as_me 2.59c, which was
1299 generated by GNU Autoconf 2.59c. Invocation command line was
1301 $ $0 $@
1303 _ACEOF
1305 cat <<_ASUNAME
1306 ## --------- ##
1307 ## Platform. ##
1308 ## --------- ##
1310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1317 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1319 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1320 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1322 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1323 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1324 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1325 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1327 _ASUNAME
1329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1330 for as_dir in $PATH
1332 IFS=$as_save_IFS
1333 test -z "$as_dir" && as_dir=.
1334 echo "PATH: $as_dir"
1335 done
1337 } >&5
1339 cat >&5 <<_ACEOF
1342 ## ----------- ##
1343 ## Core tests. ##
1344 ## ----------- ##
1346 _ACEOF
1349 # Keep a trace of the command line.
1350 # Strip out --no-create and --no-recursion so they do not pile up.
1351 # Strip out --silent because we don't want to record it for future runs.
1352 # Also quote any args containing shell meta-characters.
1353 # Make two passes to allow for proper duplicate-argument suppression.
1354 ac_configure_args=
1355 ac_configure_args0=
1356 ac_configure_args1=
1357 ac_sep=
1358 ac_must_keep_next=false
1359 for ac_pass in 1 2
1361 for ac_arg
1363 case $ac_arg in
1364 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1366 | -silent | --silent | --silen | --sile | --sil)
1367 continue ;;
1368 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1369 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1370 esac
1371 case $ac_pass in
1372 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1374 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1375 if test $ac_must_keep_next = true; then
1376 ac_must_keep_next=false # Got value, back to normal.
1377 else
1378 case $ac_arg in
1379 *=* | --config-cache | -C | -disable-* | --disable-* \
1380 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1381 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1382 | -with-* | --with-* | -without-* | --without-* | --x)
1383 case "$ac_configure_args0 " in
1384 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1385 esac
1387 -* ) ac_must_keep_next=true ;;
1388 esac
1390 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1391 # Get rid of the leading space.
1392 ac_sep=" "
1394 esac
1395 done
1396 done
1397 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1398 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1400 # When interrupted or exit'd, cleanup temporary files, and complete
1401 # config.log. We remove comments because anyway the quotes in there
1402 # would cause problems or look ugly.
1403 # WARNING: Be sure not to use single quotes in there, as some shells,
1404 # such as our DU 5.0 friend, will then `close' the trap.
1405 trap 'exit_status=$?
1406 # Save into config.log some information that might help in debugging.
1408 echo
1410 cat <<\_ASBOX
1411 ## ---------------- ##
1412 ## Cache variables. ##
1413 ## ---------------- ##
1414 _ASBOX
1415 echo
1416 # The following way of writing the cache mishandles newlines in values,
1418 (set) 2>&1 |
1419 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1420 *ac_space=\ *)
1421 sed -n \
1422 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1423 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1426 sed -n \
1427 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1429 esac;
1431 echo
1433 cat <<\_ASBOX
1434 ## ----------------- ##
1435 ## Output variables. ##
1436 ## ----------------- ##
1437 _ASBOX
1438 echo
1439 for ac_var in $ac_subst_vars
1441 eval ac_val=$`echo $ac_var`
1442 echo "$ac_var='"'"'$ac_val'"'"'"
1443 done | sort
1444 echo
1446 if test -n "$ac_subst_files"; then
1447 cat <<\_ASBOX
1448 ## ------------- ##
1449 ## Output files. ##
1450 ## ------------- ##
1451 _ASBOX
1452 echo
1453 for ac_var in $ac_subst_files
1455 eval ac_val=$`echo $ac_var`
1456 echo "$ac_var='"'"'$ac_val'"'"'"
1457 done | sort
1458 echo
1461 if test -s confdefs.h; then
1462 cat <<\_ASBOX
1463 ## ----------- ##
1464 ## confdefs.h. ##
1465 ## ----------- ##
1466 _ASBOX
1467 echo
1468 sed "/^$/d" confdefs.h | sort
1469 echo
1471 test "$ac_signal" != 0 &&
1472 echo "$as_me: caught signal $ac_signal"
1473 echo "$as_me: exit $exit_status"
1474 } >&5
1475 rm -f core *.core core.conftest.* &&
1476 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1477 exit $exit_status
1479 for ac_signal in 1 2 13 15; do
1480 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1481 done
1482 ac_signal=0
1484 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1485 rm -f -r conftest* confdefs.h
1487 # Predefined preprocessor variables.
1489 cat >>confdefs.h <<_ACEOF
1490 #define PACKAGE_NAME "$PACKAGE_NAME"
1491 _ACEOF
1494 cat >>confdefs.h <<_ACEOF
1495 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1496 _ACEOF
1499 cat >>confdefs.h <<_ACEOF
1500 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1501 _ACEOF
1504 cat >>confdefs.h <<_ACEOF
1505 #define PACKAGE_STRING "$PACKAGE_STRING"
1506 _ACEOF
1509 cat >>confdefs.h <<_ACEOF
1510 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1511 _ACEOF
1514 # Let the site file select an alternate cache file if it wants to.
1515 # Prefer explicitly selected file to automatically selected ones.
1516 if test -z "$CONFIG_SITE"; then
1517 if test "x$prefix" != xNONE; then
1518 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1519 else
1520 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1523 for ac_site_file in $CONFIG_SITE; do
1524 if test -r "$ac_site_file"; then
1525 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1526 echo "$as_me: loading site script $ac_site_file" >&6;}
1527 sed 's/^/| /' "$ac_site_file" >&5
1528 . "$ac_site_file"
1530 done
1532 if test -r "$cache_file"; then
1533 # Some versions of bash will fail to source /dev/null (special
1534 # files actually), so we avoid doing that.
1535 if test -f "$cache_file"; then
1536 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1537 echo "$as_me: loading cache $cache_file" >&6;}
1538 case $cache_file in
1539 [\\/]* | ?:[\\/]* ) . $cache_file;;
1540 *) . ./$cache_file;;
1541 esac
1543 else
1544 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1545 echo "$as_me: creating cache $cache_file" >&6;}
1546 >$cache_file
1549 # Check that the precious variables saved in the cache have kept the same
1550 # value.
1551 ac_cache_corrupted=false
1552 for ac_var in `(set) 2>&1 |
1553 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1554 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1555 eval ac_new_set=\$ac_env_${ac_var}_set
1556 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1557 eval ac_new_val="\$ac_env_${ac_var}_value"
1558 case $ac_old_set,$ac_new_set in
1559 set,)
1560 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1561 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1562 ac_cache_corrupted=: ;;
1563 ,set)
1564 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1565 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1566 ac_cache_corrupted=: ;;
1567 ,);;
1569 if test "x$ac_old_val" != "x$ac_new_val"; then
1570 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1571 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1572 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1573 echo "$as_me: former value: $ac_old_val" >&2;}
1574 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1575 echo "$as_me: current value: $ac_new_val" >&2;}
1576 ac_cache_corrupted=:
1577 fi;;
1578 esac
1579 # Pass precious variables to config.status.
1580 if test "$ac_new_set" = set; then
1581 case $ac_new_val in
1582 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1583 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1584 *) ac_arg=$ac_var=$ac_new_val ;;
1585 esac
1586 case " $ac_configure_args " in
1587 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1588 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1589 esac
1591 done
1592 if $ac_cache_corrupted; then
1593 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1594 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1595 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1596 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1597 { (exit 1); exit 1; }; }
1600 ac_ext=c
1601 ac_cpp='$CPP $CPPFLAGS'
1602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1635 ac_aux_dir=
1636 for ac_dir in config $srcdir/config; do
1637 if test -f $ac_dir/install-sh; then
1638 ac_aux_dir=$ac_dir
1639 ac_install_sh="$ac_aux_dir/install-sh -c"
1640 break
1641 elif test -f $ac_dir/install.sh; then
1642 ac_aux_dir=$ac_dir
1643 ac_install_sh="$ac_aux_dir/install.sh -c"
1644 break
1645 elif test -f $ac_dir/shtool; then
1646 ac_aux_dir=$ac_dir
1647 ac_install_sh="$ac_aux_dir/shtool install -c"
1648 break
1650 done
1651 if test -z "$ac_aux_dir"; then
1652 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1653 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1654 { (exit 1); exit 1; }; }
1656 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1657 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1658 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1660 ac_config_files="$ac_config_files config/Makefile"
1663 am__api_version="1.9"
1664 # Find a good install program. We prefer a C program (faster),
1665 # so one script is as good as another. But avoid the broken or
1666 # incompatible versions:
1667 # SysV /etc/install, /usr/sbin/install
1668 # SunOS /usr/etc/install
1669 # IRIX /sbin/install
1670 # AIX /bin/install
1671 # AmigaOS /C/install, which installs bootblocks on floppy discs
1672 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1673 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1674 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1675 # OS/2's system install, which has a completely different semantic
1676 # ./install, which can be erroneously created by make from ./install.sh.
1677 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1678 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1679 if test -z "$INSTALL"; then
1680 if test "${ac_cv_path_install+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 else
1683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1684 for as_dir in $PATH
1686 IFS=$as_save_IFS
1687 test -z "$as_dir" && as_dir=.
1688 # Account for people who put trailing slashes in PATH elements.
1689 case $as_dir/ in
1690 ./ | .// | /cC/* | \
1691 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1692 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1693 /usr/ucb/* ) ;;
1695 # OSF1 and SCO ODT 3.0 have their own names for install.
1696 # Don't use installbsd from OSF since it installs stuff as root
1697 # by default.
1698 for ac_prog in ginstall scoinst install; do
1699 for ac_exec_ext in '' $ac_executable_extensions; do
1700 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1701 if test $ac_prog = install &&
1702 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1703 # AIX install. It has an incompatible calling convention.
1705 elif test $ac_prog = install &&
1706 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1707 # program-specific install script used by HP pwplus--don't use.
1709 else
1710 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1711 break 3
1714 done
1715 done
1717 esac
1718 done
1722 if test "${ac_cv_path_install+set}" = set; then
1723 INSTALL=$ac_cv_path_install
1724 else
1725 # As a last resort, use the slow shell script. Don't cache a
1726 # value for INSTALL within a source directory, because that will
1727 # break other packages using the cache if that directory is
1728 # removed, or if the value is a relative name.
1729 INSTALL=$ac_install_sh
1732 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1733 echo "${ECHO_T}$INSTALL" >&6; }
1735 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1736 # It thinks the first close brace ends the variable substitution.
1737 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1739 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1741 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1743 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1744 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1745 # Just in case
1746 sleep 1
1747 echo timestamp > conftest.file
1748 # Do `set' in a subshell so we don't clobber the current shell's
1749 # arguments. Must try -L first in case configure is actually a
1750 # symlink; some systems play weird games with the mod time of symlinks
1751 # (eg FreeBSD returns the mod time of the symlink's containing
1752 # directory).
1753 if (
1754 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1755 if test "$*" = "X"; then
1756 # -L didn't work.
1757 set X `ls -t $srcdir/configure conftest.file`
1759 rm -f conftest.file
1760 if test "$*" != "X $srcdir/configure conftest.file" \
1761 && test "$*" != "X conftest.file $srcdir/configure"; then
1763 # If neither matched, then we have a broken ls. This can happen
1764 # if, for instance, CONFIG_SHELL is bash and it inherits a
1765 # broken ls alias from the environment. This has actually
1766 # happened. Such a system could not be considered "sane".
1767 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1768 alias in your environment" >&5
1769 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1770 alias in your environment" >&2;}
1771 { (exit 1); exit 1; }; }
1774 test "$2" = conftest.file
1776 then
1777 # Ok.
1779 else
1780 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1781 Check your system clock" >&5
1782 echo "$as_me: error: newly created file is older than distributed files!
1783 Check your system clock" >&2;}
1784 { (exit 1); exit 1; }; }
1786 { echo "$as_me:$LINENO: result: yes" >&5
1787 echo "${ECHO_T}yes" >&6; }
1788 test "$program_prefix" != NONE &&
1789 program_transform_name="s|^|$program_prefix|;$program_transform_name"
1790 # Use a double $ so make ignores it.
1791 test "$program_suffix" != NONE &&
1792 program_transform_name="s|\$|$program_suffix|;$program_transform_name"
1793 # Double any \ or $. echo might interpret backslashes.
1794 # By default was `s,x,x', remove it if useless.
1795 cat <<\_ACEOF >conftest.sed
1796 s/[\\$]/&&/g;s/;s,x,x,$//
1797 _ACEOF
1798 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1799 rm -f conftest.sed
1801 # expand $ac_aux_dir to an absolute path
1802 am_aux_dir=`cd $ac_aux_dir && pwd`
1804 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1805 # Use eval to expand $SHELL
1806 if eval "$MISSING --run true"; then
1807 am_missing_run="$MISSING --run "
1808 else
1809 am_missing_run=
1810 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1811 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1814 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1815 # We used to keeping the `.' as first argument, in order to
1816 # allow $(mkdir_p) to be used without argument. As in
1817 # $(mkdir_p) $(somedir)
1818 # where $(somedir) is conditionally defined. However this is wrong
1819 # for two reasons:
1820 # 1. if the package is installed by a user who cannot write `.'
1821 # make install will fail,
1822 # 2. the above comment should most certainly read
1823 # $(mkdir_p) $(DESTDIR)$(somedir)
1824 # so it does not work when $(somedir) is undefined and
1825 # $(DESTDIR) is not.
1826 # To support the latter case, we have to write
1827 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1828 # so the `.' trick is pointless.
1829 mkdir_p='mkdir -p --'
1830 else
1831 # On NextStep and OpenStep, the `mkdir' command does not
1832 # recognize any option. It will interpret all options as
1833 # directories to create, and then abort because `.' already
1834 # exists.
1835 for d in ./-p ./--version;
1837 test -d $d && rmdir $d
1838 done
1839 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1840 if test -f "$ac_aux_dir/mkinstalldirs"; then
1841 mkdir_p='$(mkinstalldirs)'
1842 else
1843 mkdir_p='$(install_sh) -d'
1847 for ac_prog in gawk mawk nawk awk
1849 # Extract the first word of "$ac_prog", so it can be a program name with args.
1850 set dummy $ac_prog; ac_word=$2
1851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1853 if test "${ac_cv_prog_AWK+set}" = set; then
1854 echo $ECHO_N "(cached) $ECHO_C" >&6
1855 else
1856 if test -n "$AWK"; then
1857 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1858 else
1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1860 for as_dir in $PATH
1862 IFS=$as_save_IFS
1863 test -z "$as_dir" && as_dir=.
1864 for ac_exec_ext in '' $ac_executable_extensions; do
1865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1866 ac_cv_prog_AWK="$ac_prog"
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868 break 2
1870 done
1871 done
1875 AWK=$ac_cv_prog_AWK
1876 if test -n "$AWK"; then
1877 { echo "$as_me:$LINENO: result: $AWK" >&5
1878 echo "${ECHO_T}$AWK" >&6; }
1879 else
1880 { echo "$as_me:$LINENO: result: no" >&5
1881 echo "${ECHO_T}no" >&6; }
1884 test -n "$AWK" && break
1885 done
1887 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1888 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1889 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1890 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 else
1893 cat >conftest.make <<\_ACEOF
1894 SHELL = /bin/sh
1895 all:
1896 @echo 'ac_maketemp=X"$(MAKE)"'
1897 _ACEOF
1898 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1899 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1900 if test "$ac_maketemp" != X ; then
1901 eval ac_cv_prog_make_${ac_make}_set=yes
1902 else
1903 eval ac_cv_prog_make_${ac_make}_set=no
1905 rm -f conftest.make
1907 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1908 { echo "$as_me:$LINENO: result: yes" >&5
1909 echo "${ECHO_T}yes" >&6; }
1910 SET_MAKE=
1911 else
1912 { echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6; }
1914 SET_MAKE="MAKE=${MAKE-make}"
1917 rm -rf .tst 2>/dev/null
1918 mkdir .tst 2>/dev/null
1919 if test -d .tst; then
1920 am__leading_dot=.
1921 else
1922 am__leading_dot=_
1924 rmdir .tst 2>/dev/null
1926 # test to see if srcdir already configured
1927 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1928 test -f $srcdir/config.status; then
1929 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1930 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1931 { (exit 1); exit 1; }; }
1934 # test whether we have cygpath
1935 if test -z "$CYGPATH_W"; then
1936 if (cygpath --version) >/dev/null 2>/dev/null; then
1937 CYGPATH_W='cygpath -w'
1938 else
1939 CYGPATH_W=echo
1944 # Define the identity of the package.
1945 PACKAGE='autoconf'
1946 VERSION='2.59c'
1949 cat >>confdefs.h <<_ACEOF
1950 #define PACKAGE "$PACKAGE"
1951 _ACEOF
1954 cat >>confdefs.h <<_ACEOF
1955 #define VERSION "$VERSION"
1956 _ACEOF
1958 # Some tools Automake needs.
1960 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1963 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1966 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1969 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1972 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1974 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1976 # Installed binaries are usually stripped using `strip' when the user
1977 # run `make install-strip'. However `strip' might not be the right
1978 # tool to use in cross-compilation environments, therefore Automake
1979 # will honor the `STRIP' environment variable to overrule this program.
1980 if test "$cross_compiling" != no; then
1981 if test -n "$ac_tool_prefix"; then
1982 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1983 set dummy ${ac_tool_prefix}strip; ac_word=$2
1984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1986 if test "${ac_cv_prog_STRIP+set}" = set; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 else
1989 if test -n "$STRIP"; then
1990 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1991 else
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993 for as_dir in $PATH
1995 IFS=$as_save_IFS
1996 test -z "$as_dir" && as_dir=.
1997 for ac_exec_ext in '' $ac_executable_extensions; do
1998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1999 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2001 break 2
2003 done
2004 done
2008 STRIP=$ac_cv_prog_STRIP
2009 if test -n "$STRIP"; then
2010 { echo "$as_me:$LINENO: result: $STRIP" >&5
2011 echo "${ECHO_T}$STRIP" >&6; }
2012 else
2013 { echo "$as_me:$LINENO: result: no" >&5
2014 echo "${ECHO_T}no" >&6; }
2018 if test -z "$ac_cv_prog_STRIP"; then
2019 ac_ct_STRIP=$STRIP
2020 # Extract the first word of "strip", so it can be a program name with args.
2021 set dummy strip; ac_word=$2
2022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2024 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 else
2027 if test -n "$ac_ct_STRIP"; then
2028 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2029 else
2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2031 for as_dir in $PATH
2033 IFS=$as_save_IFS
2034 test -z "$as_dir" && as_dir=.
2035 for ac_exec_ext in '' $ac_executable_extensions; do
2036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2037 ac_cv_prog_ac_ct_STRIP="strip"
2038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 break 2
2041 done
2042 done
2046 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2047 if test -n "$ac_ct_STRIP"; then
2048 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2049 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2050 else
2051 { echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6; }
2055 if test "x$ac_ct_STRIP" = x; then
2056 STRIP=":"
2057 else
2058 if test "$build" != "$host"; then
2059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2060 whose name does not start with the host triplet. If you think this
2061 configuration is useful to you, please write to autoconf@gnu.org." >&5
2062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2063 whose name does not start with the host triplet. If you think this
2064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2066 STRIP=$ac_ct_STRIP
2068 else
2069 STRIP="$ac_cv_prog_STRIP"
2073 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2075 # We need awk for the "check" target. The system "awk" is bad on
2076 # some platforms.
2077 # Always define AMTAR for backward compatibility.
2079 AMTAR=${AMTAR-"${am_missing_run}tar"}
2081 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2088 # We use `/bin/sh -n script' to check that there are no syntax errors
2089 # in the scripts. Although incredible, there are /bin/sh that go into
2090 # endless loops with `-n', e.g., SunOS's:
2092 # $ uname -a
2093 # SunOS ondine 4.1.3 2 sun4m unknown
2094 # $ cat endless.sh
2095 # while false
2096 # do
2098 # done
2099 # exit 0
2100 # $ time sh endless.sh
2101 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2102 # $ time sh -nx endless.sh
2103 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2105 # So before using `/bin/sh -n' to check our scripts, we first check
2106 # that `/bin/sh -n' is not broken to death.
2108 # A script that never returns. We don't care that it never returns,
2109 # broken /bin/sh loop equally with `false', but it makes it easier to
2110 # test the robustness in a good environment: just remove the `-n'.
2111 { echo "$as_me:$LINENO: checking whether sh -n works" >&5
2112 echo $ECHO_N "checking whether sh -n works... $ECHO_C" >&6; }
2113 if test "${ac_cv_sh_n_works+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2115 else
2116 cat > conftest.sh <<_CONFEOF_
2117 while :
2120 done
2121 _CONFEOF_
2123 (/bin/sh -n conftest.sh) &
2124 sleep 2
2125 if kill $! >/dev/null 2>&1; then
2126 # We managed to kill the child, which means that we probably
2127 # can't trust `/bin/sh -n', hence the test failed.
2128 ac_cv_sh_n_works=no
2129 else
2130 ac_cv_sh_n_works=yes
2132 rm conftest.sh
2135 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2136 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2139 # Initialize the test suite.
2140 ac_config_commands="$ac_config_commands tests/atconfig"
2143 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2145 # Extract the first word of "expr", so it can be a program name with args.
2146 set dummy expr; ac_word=$2
2147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2149 if test "${ac_cv_path_EXPR+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 else
2152 case $EXPR in
2153 [\\/]* | ?:[\\/]*)
2154 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 for as_dir in $PATH
2160 IFS=$as_save_IFS
2161 test -z "$as_dir" && as_dir=.
2162 for ac_exec_ext in '' $ac_executable_extensions; do
2163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2164 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 break 2
2168 done
2169 done
2172 esac
2174 EXPR=$ac_cv_path_EXPR
2176 if test -n "$EXPR"; then
2177 { echo "$as_me:$LINENO: result: $EXPR" >&5
2178 echo "${ECHO_T}$EXPR" >&6; }
2179 else
2180 { echo "$as_me:$LINENO: result: no" >&5
2181 echo "${ECHO_T}no" >&6; }
2186 ## ---- ##
2187 ## M4. ##
2188 ## ---- ##
2190 # We use an absolute name for GNU m4 so even if users have another m4 first in
2191 # their path, the installer can configure with a path that has GNU m4
2192 # first and get that path embedded in the installed autoconf and
2193 # autoheader scripts.
2194 for ac_prog in gm4 gnum4 m4
2196 # Extract the first word of "$ac_prog", so it can be a program name with args.
2197 set dummy $ac_prog; ac_word=$2
2198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2200 if test "${ac_cv_path_M4+set}" = set; then
2201 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 else
2203 case $M4 in
2204 [\\/]* | ?:[\\/]*)
2205 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 for as_dir in $PATH
2211 IFS=$as_save_IFS
2212 test -z "$as_dir" && as_dir=.
2213 for ac_exec_ext in '' $ac_executable_extensions; do
2214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2215 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 break 2
2219 done
2220 done
2223 esac
2225 M4=$ac_cv_path_M4
2227 if test -n "$M4"; then
2228 { echo "$as_me:$LINENO: result: $M4" >&5
2229 echo "${ECHO_T}$M4" >&6; }
2230 else
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2235 test -n "$M4" && break
2236 done
2237 test -n "$M4" || M4="m4"
2239 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2240 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2241 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2243 else
2244 ac_cv_prog_gnu_m4=no
2245 if test x"$M4" != x; then
2246 case `$M4 --help < /dev/null 2>&1` in
2247 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2248 esac
2251 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2252 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2253 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2254 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2255 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2256 { (exit 1); exit 1; }; }
2259 ## ----------- ##
2260 ## Man pages. ##
2261 ## ----------- ##
2263 ac_config_files="$ac_config_files man/Makefile"
2266 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2270 ## ------ ##
2271 ## Perl. ##
2272 ## ------ ##
2274 # We use an absolute name for perl so the #! line in autoscan will work.
2275 # Extract the first word of "perl", so it can be a program name with args.
2276 set dummy perl; ac_word=$2
2277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2279 if test "${ac_cv_path_PERL+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 else
2282 case $PERL in
2283 [\\/]* | ?:[\\/]*)
2284 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 for as_dir in $PATH
2290 IFS=$as_save_IFS
2291 test -z "$as_dir" && as_dir=.
2292 for ac_exec_ext in '' $ac_executable_extensions; do
2293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2294 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 break 2
2298 done
2299 done
2301 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2303 esac
2305 PERL=$ac_cv_path_PERL
2307 if test -n "$PERL"; then
2308 { echo "$as_me:$LINENO: result: $PERL" >&5
2309 echo "${ECHO_T}$PERL" >&6; }
2310 else
2311 { echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6; }
2315 if test "$PERL" = no; then
2316 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2317 echo "$as_me: error: perl is not found" >&2;}
2318 { (exit 1); exit 1; }; }
2320 $PERL -e 'require 5.005_03;' || {
2321 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2322 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2323 { (exit 1); exit 1; }; }
2327 ## ------- ##
2328 ## Emacs. ##
2329 ## ------- ##
2331 ac_config_files="$ac_config_files lib/emacs/Makefile"
2333 TEST_EMACS=$EMACS
2334 test x"$TEST_EMACS" = xt && TEST_EMACS=
2335 for ac_prog in emacs xemacs
2337 # Extract the first word of "$ac_prog", so it can be a program name with args.
2338 set dummy $ac_prog; ac_word=$2
2339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2341 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 else
2344 if test -n "$TEST_EMACS"; then
2345 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2346 else
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 for as_dir in $PATH
2350 IFS=$as_save_IFS
2351 test -z "$as_dir" && as_dir=.
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2354 ac_cv_prog_TEST_EMACS="$ac_prog"
2355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2356 break 2
2358 done
2359 done
2363 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2364 if test -n "$TEST_EMACS"; then
2365 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2366 echo "${ECHO_T}$TEST_EMACS" >&6; }
2367 else
2368 { echo "$as_me:$LINENO: result: no" >&5
2369 echo "${ECHO_T}no" >&6; }
2372 test -n "$TEST_EMACS" && break
2373 done
2374 test -n "$TEST_EMACS" || TEST_EMACS="no"
2377 # autoconf-mode.el and autotest-mode.el do not work with older version of
2378 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2379 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2380 # We detect this problem here.
2381 if test "$TEST_EMACS" != no; then
2382 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2383 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2384 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 else
2387 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2388 cat >conftest.el << "EOF"
2389 (defvar broken)
2390 (defun broken-mode () (setq broken-defaults `(broken nil)))
2392 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2393 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2394 ac_status=$?
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; then
2397 ac_cv_prog_emacs_ok=yes
2398 else
2399 ac_cv_prog_emacs_ok=no
2402 rm -f conftest.el conftest.elc
2404 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2405 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2406 if test $ac_cv_prog_emacs_ok = no; then
2407 TEST_EMACS=no
2413 EMACS=$TEST_EMACS
2416 # If set to t, that means we are running in a shell under Emacs.
2417 # If you have an Emacs named "t", then use the full path.
2418 test x"$EMACS" = xt && EMACS=
2419 for ac_prog in emacs xemacs
2421 # Extract the first word of "$ac_prog", so it can be a program name with args.
2422 set dummy $ac_prog; ac_word=$2
2423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2425 if test "${ac_cv_prog_EMACS+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 else
2428 if test -n "$EMACS"; then
2429 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2430 else
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 for as_dir in $PATH
2434 IFS=$as_save_IFS
2435 test -z "$as_dir" && as_dir=.
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2438 ac_cv_prog_EMACS="$ac_prog"
2439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 break 2
2442 done
2443 done
2447 EMACS=$ac_cv_prog_EMACS
2448 if test -n "$EMACS"; then
2449 { echo "$as_me:$LINENO: result: $EMACS" >&5
2450 echo "${ECHO_T}$EMACS" >&6; }
2451 else
2452 { echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6; }
2456 test -n "$EMACS" && break
2457 done
2458 test -n "$EMACS" || EMACS="no"
2463 # Check whether --with-lispdir or --without-lispdir was given.
2464 if test "${with_lispdir+set}" = set; then
2465 withval="$with_lispdir"
2466 lispdir="$withval"
2467 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2468 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2469 { echo "$as_me:$LINENO: result: $lispdir" >&5
2470 echo "${ECHO_T}$lispdir" >&6; }
2471 else
2473 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2474 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2475 if test "${am_cv_lispdir+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 else
2479 if test $EMACS != "no"; then
2480 if test x${lispdir+set} != xset; then
2481 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2482 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2483 # which is non-obvious for non-emacs users.
2484 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2485 # emacsen earlier and avoid running this altogether.
2486 { (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
2487 ($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
2488 ac_status=$?
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }
2491 am_cv_lispdir=`sed -n \
2492 -e 's,/$,,' \
2493 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2494 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2495 conftest.out`
2496 rm conftest.out
2499 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2502 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2503 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2504 lispdir="$am_cv_lispdir"
2511 ## ------ ##
2512 ## Grep. ##
2513 ## ------ ##
2514 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2515 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2516 if test "${ac_cv_path_GREP+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 else
2519 # Extract the first word of "grep ggrep" to use in msg output
2520 if test -z "$GREP"; then
2521 set dummy grep ggrep; ac_prog_name=$2
2522 if test "${ac_cv_path_GREP+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 else
2525 ac_path_GREP_found=false
2526 # Loop through the user's path and test for each of PROGNAME-LIST
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 as_dummy="$PATH:/usr/xpg4/bin"
2529 for as_dir in $as_dummy
2531 IFS=$as_save_IFS
2532 test -z "$as_dir" && as_dir=.
2533 for ac_prog in grep ggrep; do
2534 for ac_exec_ext in '' $ac_executable_extensions; do
2535 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2536 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2537 # Check for GNU ac_path_GREP and select it if it is found.
2538 # Check for GNU $ac_path_GREP
2539 case `"$ac_path_GREP" --version 2>&1` in
2540 *GNU*)
2541 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2543 ac_count=0
2544 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2545 while :
2547 cat "conftest.in" "conftest.in" >"conftest.tmp"
2548 mv "conftest.tmp" "conftest.in"
2549 cp "conftest.in" "conftest.nl"
2550 echo 'GREP' >> "conftest.nl"
2551 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2552 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2553 ac_count=`expr $ac_count + 1`
2554 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2555 # Best one so far, save it but keep looking for a better one
2556 ac_cv_path_GREP="$ac_path_GREP"
2557 ac_path_GREP_max=$ac_count
2559 # 10*(2^10) chars as input seems more than enough
2560 test $ac_count -gt 10 && break
2561 done
2562 rm -f conftest.*;;
2563 esac
2566 $ac_path_GREP_found && break 3
2567 done
2568 done
2570 done
2575 GREP="$ac_cv_path_GREP"
2576 if test -z "$GREP"; then
2577 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2578 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2579 { (exit 1); exit 1; }; }
2582 else
2583 ac_cv_path_GREP=$GREP
2588 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2589 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2590 GREP="$ac_cv_path_GREP"
2595 ## ------------ ##
2596 ## Conclusion. ##
2597 ## ------------ ##
2599 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"
2602 cat >confcache <<\_ACEOF
2603 # This file is a shell script that caches the results of configure
2604 # tests run on this system so they can be shared between configure
2605 # scripts and configure runs, see configure's option --config-cache.
2606 # It is not useful on other systems. If it contains results you don't
2607 # want to keep, you may remove or edit it.
2609 # config.status only pays attention to the cache file if you give it
2610 # the --recheck option to rerun configure.
2612 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2613 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2614 # following values.
2616 _ACEOF
2618 # The following way of writing the cache mishandles newlines in values,
2619 # but we know of no workaround that is simple, portable, and efficient.
2620 # So, don't put newlines in cache variables' values.
2621 # Ultrix sh set writes to stderr and can't be redirected directly,
2622 # and sets the high bit in the cache file unless we assign to the vars.
2624 (set) 2>&1 |
2625 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2626 *ac_space=\ *)
2627 # `set' does not quote correctly, so add quotes (double-quote
2628 # substitution turns \\\\ into \\, and sed turns \\ into \).
2629 sed -n \
2630 "s/'/'\\\\''/g;
2631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2634 # `set' quotes correctly as required by POSIX, so do not add quotes.
2635 sed -n \
2636 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2638 esac;
2640 sed '
2641 t clear
2642 : clear
2643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2644 t end
2645 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2646 : end' >>confcache
2647 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2648 if test -w $cache_file; then
2649 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2650 cat confcache >$cache_file
2651 else
2652 echo "not updating unwritable cache $cache_file"
2655 rm -f confcache
2657 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2658 # Let make expand exec_prefix.
2659 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2661 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2662 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2663 # trailing colons and then remove the whole line if VPATH becomes empty
2664 # (actually we leave an empty line to preserve line numbers).
2665 if test "x$srcdir" = x.; then
2666 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2667 s/:*\$(srcdir):*/:/;
2668 s/:*\${srcdir}:*/:/;
2669 s/:*@srcdir@:*/:/;
2670 s/^\([^=]*=[ ]*\):*/\1/;
2671 s/:*$//;
2672 s/^[^=]*=[ ]*$//;
2676 # Transform confdefs.h into DEFS.
2677 # Protect against shell expansion while executing Makefile rules.
2678 # Protect against Makefile macro expansion.
2680 # If the first sed substitution is executed (which looks for macros that
2681 # take arguments), then we branch to the quote section. Otherwise,
2682 # look for a macro that doesn't take arguments.
2683 cat >confdef2opt.sed <<\_ACEOF
2684 t clear
2685 : clear
2686 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2687 t quote
2688 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2689 t quote
2691 : quote
2692 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2693 s,\[,\\&,g
2694 s,\],\\&,g
2695 s,\$,$$,g
2697 _ACEOF
2698 # We use echo to avoid assuming a particular line-breaking character.
2699 # The extra dot is to prevent the shell from consuming trailing
2700 # line-breaks from the sub-command output. A line-break within
2701 # single-quotes doesn't work because, if this script is created in a
2702 # platform that uses two characters for line-breaks (e.g., DOS), tr
2703 # would break.
2704 ac_LF_and_DOT=`echo; echo .`
2705 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2706 rm -f confdef2opt.sed
2709 ac_libobjs=
2710 ac_ltlibobjs=
2711 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2712 # 1. Remove the extension, and $U if already installed.
2713 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2714 ac_i=`echo "$ac_i" | sed "$ac_script"`
2715 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2716 # will be set to the directory where LIBOBJS objects are built.
2717 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2718 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2719 done
2720 LIBOBJS=$ac_libobjs
2722 LTLIBOBJS=$ac_ltlibobjs
2726 : ${CONFIG_STATUS=./config.status}
2727 ac_clean_files_save=$ac_clean_files
2728 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2729 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2730 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2731 cat >$CONFIG_STATUS <<_ACEOF
2732 #! $SHELL
2733 # Generated by $as_me.
2734 # Run this file to recreate the current configuration.
2735 # Compiler output produced by configure, useful for debugging
2736 # configure, is in config.log if it exists.
2738 debug=false
2739 ac_cs_recheck=false
2740 ac_cs_silent=false
2741 SHELL=\${CONFIG_SHELL-$SHELL}
2742 _ACEOF
2744 cat >>$CONFIG_STATUS <<\_ACEOF
2745 ## --------------------- ##
2746 ## M4sh Initialization. ##
2747 ## --------------------- ##
2749 # Be Bourne compatible
2750 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2751 emulate sh
2752 NULLCMD=:
2753 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2754 # is contrary to our usage. Disable this feature.
2755 alias -g '${1+"$@"}'='"$@"'
2756 setopt NO_GLOB_SUBST
2757 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2758 set -o posix
2760 BIN_SH=xpg4; export BIN_SH # for Tru64
2761 DUALCASE=1; export DUALCASE # for MKS sh
2764 # PATH needs CR
2765 # Avoid depending upon Character Ranges.
2766 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2767 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2768 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2769 as_cr_digits='0123456789'
2770 as_cr_alnum=$as_cr_Letters$as_cr_digits
2772 # The user is always right.
2773 if test "${PATH_SEPARATOR+set}" != set; then
2774 echo "#! /bin/sh" >conf$$.sh
2775 echo "exit 0" >>conf$$.sh
2776 chmod +x conf$$.sh
2777 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2778 PATH_SEPARATOR=';'
2779 else
2780 PATH_SEPARATOR=:
2782 rm -f conf$$.sh
2785 # Support unset when possible.
2786 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2787 as_unset=unset
2788 else
2789 as_unset=false
2793 # Find who we are. Look in the path if we contain no path at all
2794 # relative or not.
2795 case $0 in
2796 *[\\/]* ) as_myself=$0 ;;
2797 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 for as_dir in $PATH
2800 IFS=$as_save_IFS
2801 test -z "$as_dir" && as_dir=.
2802 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2803 done
2806 esac
2807 # We did not find ourselves, most probably we were run as `sh COMMAND'
2808 # in which case we are not to be found in the path.
2809 if test "x$as_myself" = x; then
2810 as_myself=$0
2812 if test ! -f "$as_myself"; then
2813 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
2814 echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
2815 { (exit 1); exit 1; }; }
2818 # Work around bugs in pre-3.0 UWIN ksh.
2819 for as_var in ENV MAIL MAILPATH
2820 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2821 done
2822 PS1='$ '
2823 PS2='> '
2824 PS4='+ '
2826 # NLS nuisances.
2827 for as_var in \
2828 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2829 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2830 LC_TELEPHONE LC_TIME
2832 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2833 eval $as_var=C; export $as_var
2834 else
2835 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2837 done
2839 # Required to use basename.
2840 if expr a : '\(a\)' >/dev/null 2>&1; then
2841 as_expr=expr
2842 else
2843 as_expr=false
2846 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2847 as_basename=basename
2848 else
2849 as_basename=false
2853 # Name of the executable.
2854 as_me=`$as_basename "$0" ||
2855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2856 X"$0" : 'X\(//\)$' \| \
2857 X"$0" : 'X\(/\)$' \| \
2858 . : '\(.\)' 2>/dev/null ||
2859 echo X/"$0" |
2860 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2861 /^X\/\(\/\/\)$/{ s//\1/; q; }
2862 /^X\/\(\/\).*/{ s//\1/; q; }
2863 s/.*/./; q'`
2868 as_lineno_1=$LINENO
2869 as_lineno_2=$LINENO
2870 test "x$as_lineno_1" != "x$as_lineno_2" &&
2871 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2873 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2874 # uniformly replaced by the line number. The first 'sed' inserts a
2875 # line-number line after each line using $LINENO; the second 'sed'
2876 # does the real work. The second script uses 'N' to pair each
2877 # line-number line with the line containing $LINENO, and appends
2878 # trailing '-' during substitution so that $LINENO is not a special
2879 # case at line end.
2880 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2881 # scripts with optimization help from Paolo Bonzini. Blame Lee
2882 # E. McMahon (1931-1989) for sed's syntax. :-)
2883 sed -n '
2885 /[$]LINENO/=
2886 ' <$as_myself |
2887 sed '
2888 s,[$]LINENO.*,&-,
2889 t lineno
2891 : lineno
2893 : loop
2894 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2895 t loop
2896 s,-\n.*,,
2897 ' >$as_me.lineno &&
2898 chmod +x $as_me.lineno ||
2899 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2900 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2901 { (exit 1); exit 1; }; }
2903 # Don't try to exec as it changes $[0], causing all sort of problems
2904 # (the dirname of $[0] is not the place where we might find the
2905 # original and so on. Autoconf is especially sensible to this).
2906 . ./$as_me.lineno
2907 # Exit status is that of the last command.
2908 exit
2912 ECHO_C= ECHO_N= ECHO_T=
2913 case `echo -n x` in
2914 -n*)
2915 case `echo 'x\c'` in
2916 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2917 *) ECHO_C='\c';;
2918 esac;;
2920 ECHO_N='-n';;
2921 esac
2923 if expr a : '\(a\)' >/dev/null 2>&1; then
2924 as_expr=expr
2925 else
2926 as_expr=false
2929 rm -f conf$$ conf$$.exe conf$$.file
2930 echo >conf$$.file
2931 if ln -s conf$$.file conf$$ 2>/dev/null; then
2932 # We could just check for DJGPP; but this test a) works b) is more generic
2933 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2934 if test -f conf$$.exe; then
2935 # Don't use ln at all; we don't have any links
2936 as_ln_s='cp -p'
2937 else
2938 as_ln_s='ln -s'
2940 elif ln conf$$.file conf$$ 2>/dev/null; then
2941 as_ln_s=ln
2942 else
2943 as_ln_s='cp -p'
2945 rm -f conf$$ conf$$.exe conf$$.file
2947 if mkdir -p . 2>/dev/null; then
2948 as_mkdir_p=:
2949 else
2950 test -d ./-p && rmdir ./-p
2951 as_mkdir_p=false
2954 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2955 # systems may use methods other than mode bits to determine executability.
2956 cat >conf$$.file <<_ASEOF
2957 #! /bin/sh
2958 exit 0
2959 _ASEOF
2960 chmod +x conf$$.file
2961 if test -x conf$$.file >/dev/null 2>&1; then
2962 as_executable_p="test -x"
2963 else
2964 as_executable_p=:
2966 rm -f conf$$.file
2968 # Sed expression to map a string onto a valid CPP name.
2969 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2971 # Sed expression to map a string onto a valid variable name.
2972 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2975 # IFS
2976 # We need space, tab and new line, in precisely that order.
2977 as_nl='
2979 IFS=" $as_nl"
2981 # CDPATH.
2982 $as_unset CDPATH
2984 exec 6>&1
2986 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2987 # report actual input values of CONFIG_FILES etc. instead of their
2988 # values after options handling. Logging --version etc. is OK.
2989 exec 5>>config.log
2991 echo
2992 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2993 ## Running $as_me. ##
2994 _ASBOX
2995 } >&5
2996 cat >&5 <<_CSEOF
2998 This file was extended by GNU Autoconf $as_me 2.59c, which was
2999 generated by GNU Autoconf 2.59c. Invocation command line was
3001 CONFIG_FILES = $CONFIG_FILES
3002 CONFIG_HEADERS = $CONFIG_HEADERS
3003 CONFIG_LINKS = $CONFIG_LINKS
3004 CONFIG_COMMANDS = $CONFIG_COMMANDS
3005 $ $0 $@
3007 _CSEOF
3008 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3009 echo >&5
3010 _ACEOF
3012 # Files that config.status was made for.
3013 if test -n "$ac_config_files"; then
3014 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3017 if test -n "$ac_config_headers"; then
3018 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3021 if test -n "$ac_config_links"; then
3022 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3025 if test -n "$ac_config_commands"; then
3026 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3029 cat >>$CONFIG_STATUS <<\_ACEOF
3031 ac_cs_usage="\
3032 \`$as_me' instantiates files from templates according to the
3033 current configuration.
3035 Usage: $0 [OPTIONS] [FILE]...
3037 -h, --help print this help, then exit
3038 -V, --version print version number, then exit
3039 -q, --quiet do not print progress messages
3040 -d, --debug don't remove temporary files
3041 --recheck update $as_me by reconfiguring in the same conditions
3042 --file=FILE[:TEMPLATE]
3043 instantiate the configuration file FILE
3045 Configuration files:
3046 $config_files
3048 Configuration commands:
3049 $config_commands
3051 Report bugs to <bug-autoconf@gnu.org>."
3052 _ACEOF
3054 cat >>$CONFIG_STATUS <<_ACEOF
3055 ac_cs_version="\\
3056 GNU Autoconf config.status 2.59c
3057 configured by $0, generated by GNU Autoconf 2.59c,
3058 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3060 Copyright (C) 2005 Free Software Foundation, Inc.
3061 This config.status script is free software; the Free Software Foundation
3062 gives unlimited permission to copy, distribute and modify it."
3063 ac_pwd='$ac_pwd'
3064 srcdir='$srcdir'
3065 INSTALL="$INSTALL"
3066 _ACEOF
3068 cat >>$CONFIG_STATUS <<\_ACEOF
3069 # If no file are specified by the user, then we need to provide default
3070 # value. By we need to know if files were specified by the user.
3071 ac_need_defaults=:
3072 while test $# != 0
3074 case $1 in
3075 --*=*)
3076 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3077 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3078 ac_shift=:
3081 ac_option=$1
3082 ac_optarg=$2
3083 ac_shift=shift
3085 *) # This is not an option, so the user has probably given explicit
3086 # arguments.
3087 ac_option=$1
3088 ac_need_defaults=false;;
3089 esac
3091 case $ac_option in
3092 # Handling of the options.
3093 _ACEOF
3094 cat >>$CONFIG_STATUS <<\_ACEOF
3095 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3096 ac_cs_recheck=: ;;
3097 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3098 echo "$ac_cs_version"; exit ;;
3099 --he | --h)
3100 # Conflict between --help and --header
3101 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3102 Try \`$0 --help' for more information." >&5
3103 echo "$as_me: error: ambiguous option: $1
3104 Try \`$0 --help' for more information." >&2;}
3105 { (exit 1); exit 1; }; };;
3106 --help | --hel | -h )
3107 echo "$ac_cs_usage"; exit ;;
3108 --debug | --debu | --deb | --de | --d | -d )
3109 debug=: ;;
3110 --file | --fil | --fi | --f )
3111 $ac_shift
3112 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3113 ac_need_defaults=false;;
3114 --header | --heade | --head | --hea )
3115 $ac_shift
3116 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3117 ac_need_defaults=false;;
3118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3119 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3120 ac_cs_silent=: ;;
3122 # This is an error.
3123 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3124 Try \`$0 --help' for more information." >&5
3125 echo "$as_me: error: unrecognized option: $1
3126 Try \`$0 --help' for more information." >&2;}
3127 { (exit 1); exit 1; }; } ;;
3129 *) ac_config_targets="$ac_config_targets $1" ;;
3131 esac
3132 shift
3133 done
3135 ac_configure_extra_args=
3137 if $ac_cs_silent; then
3138 exec 6>/dev/null
3139 ac_configure_extra_args="$ac_configure_extra_args --silent"
3142 _ACEOF
3143 cat >>$CONFIG_STATUS <<_ACEOF
3144 if \$ac_cs_recheck; then
3145 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3146 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3149 _ACEOF
3155 cat >>$CONFIG_STATUS <<\_ACEOF
3156 for ac_config_target in $ac_config_targets
3158 case "$ac_config_target" in
3159 # Handling of arguments.
3160 "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3161 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3162 "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3163 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3164 "lib/emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3165 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3166 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3167 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3168 "lib/Autom4te/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3169 "lib/autoscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3170 "lib/m4sugar/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3171 "lib/autoconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3172 "lib/autotest/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3173 "bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3174 "" ) CONFIG_LINKS="$CONFIG_LINKS " ;;
3175 "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3176 "" ) CONFIG_HEADERS="$CONFIG_HEADERS " ;;
3177 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3178 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3179 { (exit 1); exit 1; }; };;
3180 esac
3181 done
3183 # If the user did not use the arguments to specify the items to instantiate,
3184 # then the envvar interface is used. Set only those that are not.
3185 # We use the long form for the default assignment because of an extremely
3186 # bizarre bug on SunOS 4.1.3.
3187 if $ac_need_defaults; then
3188 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3189 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3192 # Have a temporary directory for convenience. Make it in the build tree
3193 # simply because there is no reason against having it here, and in addition,
3194 # creating and moving files from /tmp can sometimes cause problems.
3195 # Hook for its removal unless debugging.
3196 $debug ||
3198 trap 'exit_status=$?; rm -fr "$tmp" && exit $exit_status' 0
3199 trap '{ (exit 1); exit 1; }' 1 2 13 15
3201 # Create a (secure) tmp directory for tmp files.
3204 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3205 test -n "$tmp" && test -d "$tmp"
3206 } ||
3208 tmp=./conf$$-$RANDOM
3209 (umask 077 && mkdir "$tmp")
3210 } ||
3212 echo "$me: cannot create a temporary directory in ." >&2
3213 { (exit 1); exit 1; }
3216 _ACEOF
3218 cat >>$CONFIG_STATUS <<\_ACEOF
3220 # CONFIG_FILES section.
3223 # No need to generate the scripts if there are no CONFIG_FILES.
3224 # This happens for instance when ./config.status config.h
3225 if test -n "$CONFIG_FILES"; then
3227 _ACEOF
3231 ac_delim='%!_!# '
3232 for ac_last_try in false false false false false :; do
3233 cat >conf$$subs.sed <<_ACEOF
3234 SHELL!$SHELL$ac_delim
3235 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3236 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3237 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3238 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3239 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3240 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3241 exec_prefix!$exec_prefix$ac_delim
3242 prefix!$prefix$ac_delim
3243 program_transform_name!$program_transform_name$ac_delim
3244 bindir!$bindir$ac_delim
3245 sbindir!$sbindir$ac_delim
3246 libexecdir!$libexecdir$ac_delim
3247 datarootdir!$datarootdir$ac_delim
3248 datadir!$datadir$ac_delim
3249 sysconfdir!$sysconfdir$ac_delim
3250 sharedstatedir!$sharedstatedir$ac_delim
3251 localstatedir!$localstatedir$ac_delim
3252 includedir!$includedir$ac_delim
3253 oldincludedir!$oldincludedir$ac_delim
3254 docdir!$docdir$ac_delim
3255 infodir!$infodir$ac_delim
3256 htmldir!$htmldir$ac_delim
3257 dvidir!$dvidir$ac_delim
3258 pdfdir!$pdfdir$ac_delim
3259 psdir!$psdir$ac_delim
3260 libdir!$libdir$ac_delim
3261 localedir!$localedir$ac_delim
3262 mandir!$mandir$ac_delim
3263 build_alias!$build_alias$ac_delim
3264 host_alias!$host_alias$ac_delim
3265 target_alias!$target_alias$ac_delim
3266 DEFS!$DEFS$ac_delim
3267 ECHO_C!$ECHO_C$ac_delim
3268 ECHO_N!$ECHO_N$ac_delim
3269 ECHO_T!$ECHO_T$ac_delim
3270 LIBS!$LIBS$ac_delim
3271 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3272 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3273 INSTALL_DATA!$INSTALL_DATA$ac_delim
3274 CYGPATH_W!$CYGPATH_W$ac_delim
3275 PACKAGE!$PACKAGE$ac_delim
3276 VERSION!$VERSION$ac_delim
3277 ACLOCAL!$ACLOCAL$ac_delim
3278 AUTOCONF!$AUTOCONF$ac_delim
3279 AUTOMAKE!$AUTOMAKE$ac_delim
3280 AUTOHEADER!$AUTOHEADER$ac_delim
3281 MAKEINFO!$MAKEINFO$ac_delim
3282 install_sh!$install_sh$ac_delim
3283 STRIP!$STRIP$ac_delim
3284 ac_ct_STRIP!$ac_ct_STRIP$ac_delim
3285 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3286 mkdir_p!$mkdir_p$ac_delim
3287 AWK!$AWK$ac_delim
3288 SET_MAKE!$SET_MAKE$ac_delim
3289 am__leading_dot!$am__leading_dot$ac_delim
3290 AMTAR!$AMTAR$ac_delim
3291 am__tar!$am__tar$ac_delim
3292 am__untar!$am__untar$ac_delim
3293 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3294 EXPR!$EXPR$ac_delim
3295 M4!$M4$ac_delim
3296 HELP2MAN!$HELP2MAN$ac_delim
3297 PERL!$PERL$ac_delim
3298 TEST_EMACS!$TEST_EMACS$ac_delim
3299 EMACS!$EMACS$ac_delim
3300 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3301 lispdir!$lispdir$ac_delim
3302 GREP!$GREP$ac_delim
3303 LIBOBJS!$LIBOBJS$ac_delim
3304 LTLIBOBJS!$LTLIBOBJS$ac_delim
3305 _ACEOF
3307 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 71; then
3308 break
3309 elif $ac_last_try; then
3310 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3311 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3312 { (exit 1); exit 1; }; }
3313 else
3314 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3316 done
3318 ac_eof=`sed -n '/^CEOF0-9*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3319 ac_eof=`expr 0$ac_eof + 1`
3321 cat >>$CONFIG_STATUS <<_ACEOF
3322 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3324 _ACEOF
3325 sed '
3326 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3327 s/^/s,@/; s/!/@,|#_!!_#|/
3330 s/'"$ac_delim"'$/,g/; t
3331 s/$/\\/; p
3332 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3333 ' >>$CONFIG_STATUS <conf$$subs.sed
3334 rm -f conf$$subs.sed
3335 cat >>$CONFIG_STATUS <<_ACEOF
3336 :end
3337 s/|#_!!_#|//g
3338 CEOF$ac_eof
3339 _ACEOF
3341 cat >>$CONFIG_STATUS <<\_ACEOF
3342 fi # test -n "$CONFIG_FILES"
3344 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3345 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3346 case $ac_file in
3347 - | *:- | *:-:* ) # input from stdin
3348 cat >"$tmp/stdin" ;;
3349 esac
3350 case $ac_file in
3351 *:*) ac_file_in=`expr "X$ac_file" : 'X[^:]*:\(.*\)'`
3352 ac_file=`expr "X$ac_file" : 'X\([^:]*\)'` ;;
3353 -) ac_file_in=- ;;
3354 *) ac_file_in=$ac_file.in ;;
3355 esac
3357 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3358 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3359 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3360 X"$ac_file" : 'X\(//\)[^/]' \| \
3361 X"$ac_file" : 'X\(//\)$' \| \
3362 X"$ac_file" : 'X\(/\)' \| \
3363 . : '\(.\)' 2>/dev/null ||
3364 echo X"$ac_file" |
3365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3367 /^X\(\/\/\)$/{ s//\1/; q; }
3368 /^X\(\/\).*/{ s//\1/; q; }
3369 s/.*/./; q'`
3370 { if $as_mkdir_p; then
3371 test -d "$ac_dir" || mkdir -p "$ac_dir"
3372 else
3373 as_dir="$ac_dir"
3374 as_dirs=
3375 while test ! -d "$as_dir"; do
3376 as_dirs="$as_dir $as_dirs"
3377 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3379 X"$as_dir" : 'X\(//\)[^/]' \| \
3380 X"$as_dir" : 'X\(//\)$' \| \
3381 X"$as_dir" : 'X\(/\)' \| \
3382 . : '\(.\)' 2>/dev/null ||
3383 echo X"$as_dir" |
3384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3385 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3386 /^X\(\/\/\)$/{ s//\1/; q; }
3387 /^X\(\/\).*/{ s//\1/; q; }
3388 s/.*/./; q'`
3389 done
3390 test ! -n "$as_dirs" || mkdir $as_dirs
3391 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3392 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3393 { (exit 1); exit 1; }; }; }
3395 ac_builddir=.
3397 case "$ac_dir" in
3398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3400 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3401 # A ".." for each directory in $ac_dir_suffix.
3402 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3403 case $ac_top_builddir_sub in
3404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3406 esac ;;
3407 esac
3408 ac_abs_top_builddir=$ac_pwd
3409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3410 # for backward compatibility:
3411 ac_top_builddir=$ac_top_build_prefix
3413 case $srcdir in
3414 .) # No --srcdir option. We are building in place.
3415 ac_srcdir=.
3416 ac_top_srcdir=$ac_top_builddir_sub
3417 ac_abs_top_srcdir=$ac_pwd ;;
3418 [\\/]* | ?:[\\/]* ) # Absolute name.
3419 ac_srcdir=$srcdir$ac_dir_suffix;
3420 ac_top_srcdir=$srcdir
3421 ac_abs_top_srcdir=$srcdir ;;
3422 *) # Relative name.
3423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3424 ac_top_srcdir=$ac_top_build_prefix$srcdir
3425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3426 esac
3427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3430 case $INSTALL in
3431 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3432 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3433 esac
3435 if test x"$ac_file" != x-; then
3436 { echo "$as_me:$LINENO: creating $ac_file" >&5
3437 echo "$as_me: creating $ac_file" >&6;}
3438 rm -f "$ac_file"
3440 # Let's still pretend it is `configure' which instantiates (i.e., don't
3441 # use $as_me), people would be surprised to read:
3442 # /* config.h. Generated by config.status. */
3443 if test x"$ac_file" = x-; then
3444 configure_input=
3445 else
3446 configure_input="$ac_file. "
3448 configure_input=$configure_input"Generated from `echo $ac_file_in |
3449 sed 's,.*/,,'` by configure."
3451 # First look for the input files in the build tree, otherwise in the
3452 # src tree.
3453 ac_file_inputs=`IFS=:
3454 for f in $ac_file_in; do
3455 case $f in
3456 -) echo "$tmp/stdin" ;;
3457 [\\/$]*)
3458 # Absolute (can't be DOS-style, as IFS=:)
3459 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3460 echo "$as_me: error: cannot find input file: $f" >&2;}
3461 { (exit 1); exit 1; }; }
3462 echo "$f";;
3463 *) # Relative
3464 if test -f "$f"; then
3465 # Build tree
3466 echo "$f"
3467 elif test -f "$srcdir/$f"; then
3468 # Source tree
3469 echo "$srcdir/$f"
3470 else
3471 # /dev/null tree
3472 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3473 echo "$as_me: error: cannot find input file: $f" >&2;}
3474 { (exit 1); exit 1; }; }
3475 fi;;
3476 esac
3477 done` || { (exit 1); exit 1; }
3478 _ACEOF
3479 cat >>$CONFIG_STATUS <<_ACEOF
3480 sed "$ac_vpsub
3481 $extrasub
3482 _ACEOF
3483 cat >>$CONFIG_STATUS <<\_ACEOF
3485 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3486 s|@configure_input@|$configure_input|;t t
3487 s|@srcdir@|$ac_srcdir|;t t
3488 s|@abs_srcdir@|$ac_abs_srcdir|;t t
3489 s|@top_srcdir@|$ac_top_srcdir|;t t
3490 s|@abs_top_srcdir@|$ac_abs_top_srcdir|;t t
3491 s|@builddir@|$ac_builddir|;t t
3492 s|@abs_builddir@|$ac_abs_builddir|;t t
3493 s|@top_builddir@|$ac_top_builddir_sub|;t t
3494 s|@abs_top_builddir@|$ac_abs_top_builddir|;t t
3495 s,@INSTALL@,$ac_INSTALL,;t t
3496 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3497 rm -f "$tmp/stdin"
3498 if test x"$ac_file" != x-; then
3499 mv "$tmp/out" $ac_file
3500 else
3501 cat "$tmp/out"
3502 rm -f "$tmp/out"
3505 done
3506 _ACEOF
3507 cat >>$CONFIG_STATUS <<\_ACEOF
3510 # CONFIG_COMMANDS section.
3512 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3513 case $ac_file in
3514 *:*) ac_source=`expr "X$ac_file" : 'X[^:]*:\(.*\)'`
3515 ac_dest=`expr "X$ac_file" : 'X\([^:]*\)'` ;;
3516 *) ac_dest=$ac_file ac_source=$ac_file ;;
3517 esac
3518 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3519 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3520 X"$ac_dest" : 'X\(//\)[^/]' \| \
3521 X"$ac_dest" : 'X\(//\)$' \| \
3522 X"$ac_dest" : 'X\(/\)' \| \
3523 . : '\(.\)' 2>/dev/null ||
3524 echo X"$ac_dest" |
3525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3527 /^X\(\/\/\)$/{ s//\1/; q; }
3528 /^X\(\/\).*/{ s//\1/; q; }
3529 s/.*/./; q'`
3530 { if $as_mkdir_p; then
3531 test -d "$ac_dir" || mkdir -p "$ac_dir"
3532 else
3533 as_dir="$ac_dir"
3534 as_dirs=
3535 while test ! -d "$as_dir"; do
3536 as_dirs="$as_dir $as_dirs"
3537 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3538 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3539 X"$as_dir" : 'X\(//\)[^/]' \| \
3540 X"$as_dir" : 'X\(//\)$' \| \
3541 X"$as_dir" : 'X\(/\)' \| \
3542 . : '\(.\)' 2>/dev/null ||
3543 echo X"$as_dir" |
3544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3545 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3546 /^X\(\/\/\)$/{ s//\1/; q; }
3547 /^X\(\/\).*/{ s//\1/; q; }
3548 s/.*/./; q'`
3549 done
3550 test ! -n "$as_dirs" || mkdir $as_dirs
3551 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3552 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3553 { (exit 1); exit 1; }; }; }
3555 ac_builddir=.
3557 case "$ac_dir" in
3558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3560 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3561 # A ".." for each directory in $ac_dir_suffix.
3562 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3563 case $ac_top_builddir_sub in
3564 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3565 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3566 esac ;;
3567 esac
3568 ac_abs_top_builddir=$ac_pwd
3569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3570 # for backward compatibility:
3571 ac_top_builddir=$ac_top_build_prefix
3573 case $srcdir in
3574 .) # No --srcdir option. We are building in place.
3575 ac_srcdir=.
3576 ac_top_srcdir=$ac_top_builddir_sub
3577 ac_abs_top_srcdir=$ac_pwd ;;
3578 [\\/]* | ?:[\\/]* ) # Absolute name.
3579 ac_srcdir=$srcdir$ac_dir_suffix;
3580 ac_top_srcdir=$srcdir
3581 ac_abs_top_srcdir=$srcdir ;;
3582 *) # Relative name.
3583 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3584 ac_top_srcdir=$ac_top_build_prefix$srcdir
3585 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3586 esac
3587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3590 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3591 echo "$as_me: executing $ac_dest commands" >&6;}
3592 case $ac_dest in
3593 tests/atconfig ) cat >tests/atconfig <<ATEOF
3594 # Configurable variable values for building test suites.
3595 # Generated by $0.
3596 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3598 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3599 at_testdir='tests'
3600 abs_builddir='$ac_abs_builddir'
3601 at_srcdir='$ac_srcdir'
3602 abs_srcdir='$ac_abs_srcdir'
3603 at_top_srcdir='$ac_top_srcdir'
3604 abs_top_srcdir='$ac_abs_top_srcdir'
3605 at_top_build_prefix='$ac_top_build_prefix'
3606 abs_top_builddir='$ac_abs_top_builddir'
3608 AUTOTEST_PATH='tests'
3610 SHELL=\${CONFIG_SHELL-'$SHELL'}
3611 ATEOF
3613 esac
3614 done
3615 _ACEOF
3617 cat >>$CONFIG_STATUS <<\_ACEOF
3619 { (exit 0); exit 0; }
3620 _ACEOF
3621 chmod +x $CONFIG_STATUS
3622 ac_clean_files=$ac_clean_files_save
3625 # configure is writing to config.log, and then calls config.status.
3626 # config.status does its own redirection, appending to config.log.
3627 # Unfortunately, on DOS this fails, as config.log is still kept open
3628 # by configure, so config.status won't be able to write to it; its
3629 # output is simply discarded. So we exec the FD to /dev/null,
3630 # effectively closing config.log, so it can be properly (re)opened and
3631 # appended to by config.status. When coming back to configure, we
3632 # need to make the FD available again.
3633 if test "$no_create" != yes; then
3634 ac_cs_success=:
3635 ac_config_status_args=
3636 test "$silent" = yes &&
3637 ac_config_status_args="$ac_config_status_args --quiet"
3638 exec 5>/dev/null
3639 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3640 exec 5>>config.log
3641 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3642 # would make configure fail if this is the last instruction.
3643 $ac_cs_success || { (exit 1); exit 1; }
3646 # Report the state of this version of Autoconf if this is a beta.
3647 cat <<EOF
3649 You are about to use an experimental version of Autoconf. Be sure to
3650 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3652 Below you will find information on the status of this version of Autoconf.
3656 sed -n '/^\* Status/,$p' $srcdir/BUGS