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