* NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
[autoconf.git] / configure
blob1d4fd1afaf9d34e89aa487197dfa41160d696c8f
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, 2006 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 else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
27 DUALCASE=1; export DUALCASE # for MKS sh
29 # PATH needs CR
30 # Avoid depending upon Character Ranges.
31 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34 as_cr_digits='0123456789'
35 as_cr_alnum=$as_cr_Letters$as_cr_digits
37 # The user is always right.
38 if test "${PATH_SEPARATOR+set}" != set; then
39 echo "#! /bin/sh" >conf$$.sh
40 echo "exit 0" >>conf$$.sh
41 chmod +x conf$$.sh
42 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
43 PATH_SEPARATOR=';'
44 else
45 PATH_SEPARATOR=:
47 rm -f conf$$.sh
50 # Support unset when possible.
51 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52 as_unset=unset
53 else
54 as_unset=false
58 # IFS
59 # We need space, tab and new line, in precisely that order. Quoting is
60 # there to prevent editors from complaining about space-tab.
61 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
62 # splitting by setting IFS to empty value.)
63 as_nl='
65 IFS=" "" $as_nl"
67 # Find who we are. Look in the path if we contain no directory separator.
68 case $0 in
69 *[\\/]* ) as_myself=$0 ;;
70 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71 for as_dir in $PATH
73 IFS=$as_save_IFS
74 test -z "$as_dir" && as_dir=.
75 test -d "$as_dir" || continue
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77 done
78 IFS=$as_save_IFS
81 esac
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
85 as_myself=$0
87 if test ! -f "$as_myself"; then
88 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
89 { (exit 1); exit 1; }; }
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95 done
96 PS1='$ '
97 PS2='> '
98 PS4='+ '
100 # NLS nuisances.
101 for as_var in \
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 LC_TELEPHONE LC_TIME
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
108 else
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 done
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
116 as_expr=expr
117 else
118 as_expr=false
121 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
122 as_basename=basename
123 else
124 as_basename=false
128 # Name of the executable.
129 as_me=`$as_basename "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| \
133 . : '\(.\)' 2>/dev/null ||
134 echo X/"$0" |
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
136 s//\1/
139 /^X\/\(\/\/\)$/{
140 s//\1/
143 /^X\/\(\/\).*/{
144 s//\1/
147 s/.*/./; q'`
149 # CDPATH.
150 $as_unset CDPATH
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
164 as_func_success () {
165 as_func_return 0
167 as_func_failure () {
168 as_func_return 1
170 as_func_ret_success () {
171 return 0
173 as_func_ret_failure () {
174 return 1
177 exitcode=0
178 if as_func_success; then
180 else
181 exitcode=1
182 echo as_func_success failed.
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
190 if as_func_ret_success; then
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 else
205 exitcode=1
206 echo positional parameters were not saved.
209 test \$exitcode = 0) || { (exit 1); exit 1; }
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 test -d "$as_dir" || continue
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 if { ($as_shell) 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
251 _ASEOF
252 }; then
253 CONFIG_SHELL=$as_shell
254 as_have_required=yes
255 if { $as_shell 2> /dev/null <<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
258 emulate sh
259 NULLCMD=:
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
263 setopt NO_GLOB_SUBST
264 else
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 (as_func_return () {
270 (exit $1)
272 as_func_success () {
273 as_func_return 0
275 as_func_failure () {
276 as_func_return 1
278 as_func_ret_success () {
279 return 0
281 as_func_ret_failure () {
282 return 1
285 exitcode=0
286 if as_func_success; then
288 else
289 exitcode=1
290 echo as_func_success failed.
293 if as_func_failure; then
294 exitcode=1
295 echo as_func_failure succeeded.
298 if as_func_ret_success; then
300 else
301 exitcode=1
302 echo as_func_ret_success failed.
305 if as_func_ret_failure; then
306 exitcode=1
307 echo as_func_ret_failure succeeded.
310 if ( set x; as_func_ret_success y && test x = "$1" ); then
312 else
313 exitcode=1
314 echo positional parameters were not saved.
317 test $exitcode = 0) || { (exit 1); exit 1; }
320 as_lineno_1=$LINENO
321 as_lineno_2=$LINENO
322 test "x$as_lineno_1" != "x$as_lineno_2" &&
323 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
325 _ASEOF
326 }; then
327 break
332 done
334 if test "x$CONFIG_SHELL" != x; then
335 for as_var in BASH_ENV ENV
336 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
337 done
338 export CONFIG_SHELL
339 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
343 if test $as_have_required = no; then
344 echo This script requires a shell more modern than all the
345 echo shells that I found on your system. Please install a
346 echo modern shell, or manually run the script under such a
347 echo shell if you do have one.
348 { (exit 1); exit 1; }
358 (eval "as_func_return () {
359 (exit \$1)
361 as_func_success () {
362 as_func_return 0
364 as_func_failure () {
365 as_func_return 1
367 as_func_ret_success () {
368 return 0
370 as_func_ret_failure () {
371 return 1
374 exitcode=0
375 if as_func_success; then
377 else
378 exitcode=1
379 echo as_func_success failed.
382 if as_func_failure; then
383 exitcode=1
384 echo as_func_failure succeeded.
387 if as_func_ret_success; then
389 else
390 exitcode=1
391 echo as_func_ret_success failed.
394 if as_func_ret_failure; then
395 exitcode=1
396 echo as_func_ret_failure succeeded.
399 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
401 else
402 exitcode=1
403 echo positional parameters were not saved.
406 test \$exitcode = 0") || {
407 echo No shell found that supports shell functions.
408 echo Please tell autoconf@gnu.org about your system,
409 echo including any error possibly output before this
410 echo message
415 as_lineno_1=$LINENO
416 as_lineno_2=$LINENO
417 test "x$as_lineno_1" != "x$as_lineno_2" &&
418 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
420 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
421 # uniformly replaced by the line number. The first 'sed' inserts a
422 # line-number line after each line using $LINENO; the second 'sed'
423 # does the real work. The second script uses 'N' to pair each
424 # line-number line with the line containing $LINENO, and appends
425 # trailing '-' during substitution so that $LINENO is not a special
426 # case at line end.
427 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
428 # scripts with optimization help from Paolo Bonzini. Blame Lee
429 # E. McMahon (1931-1989) for sed's syntax. :-)
430 sed -n '
432 /[$]LINENO/=
433 ' <$as_myself |
434 sed '
435 s/[$]LINENO.*/&-/
436 t lineno
438 :lineno
440 :loop
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 t loop
443 s/-\n.*//
444 ' >$as_me.lineno &&
445 chmod +x "$as_me.lineno" ||
446 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
447 { (exit 1); exit 1; }; }
449 # Don't try to exec as it changes $[0], causing all sort of problems
450 # (the dirname of $[0] is not the place where we might find the
451 # original and so on. Autoconf is especially sensitive to this).
452 . "./$as_me.lineno"
453 # Exit status is that of the last command.
454 exit
458 if (dirname /) >/dev/null 2>&1; then
459 as_dirname=dirname
460 else
461 as_dirname=false
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in
466 -n*)
467 case `echo 'x\c'` in
468 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) ECHO_C='\c';;
470 esac;;
472 ECHO_N='-n';;
473 esac
475 if expr a : '\(a\)' >/dev/null 2>&1 &&
476 test "X`expr 00001 : '.*\(...\)'`" = X001; then
477 as_expr=expr
478 else
479 as_expr=false
482 rm -f conf$$ conf$$.exe conf$$.file
483 echo >conf$$.file
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 # We could just check for DJGPP; but this test a) works b) is more generic
486 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
487 if test -f conf$$.exe; then
488 # Don't use ln at all; we don't have any links
489 as_ln_s='cp -p'
490 else
491 as_ln_s='ln -s'
493 elif ln conf$$.file conf$$ 2>/dev/null; then
494 as_ln_s=ln
495 else
496 as_ln_s='cp -p'
498 rm -f conf$$ conf$$.exe conf$$.file
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p=:
502 else
503 test -d ./-p && rmdir ./-p
504 as_mkdir_p=false
507 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
508 # systems may use methods other than mode bits to determine executability.
509 cat >conf$$.file <<_ASEOF
510 #! /bin/sh
511 exit 0
512 _ASEOF
513 chmod +x conf$$.file
514 if test -x conf$$.file >/dev/null 2>&1; then
515 as_executable_p="test -x"
516 else
517 as_executable_p=:
519 rm -f conf$$.file
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 exec 7<&0 </dev/null 6>&1
531 # Name of the host.
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 # Initializations.
539 ac_default_prefix=/usr/local
540 ac_clean_files=
541 ac_config_libobj_dir=.
542 LIBOBJS=
543 cross_compiling=no
544 subdirs=
545 MFLAGS=
546 MAKEFLAGS=
547 SHELL=${CONFIG_SHELL-/bin/sh}
549 # Identity of this package.
550 PACKAGE_NAME='GNU Autoconf'
551 PACKAGE_TARNAME='autoconf'
552 PACKAGE_VERSION='2.59c'
553 PACKAGE_STRING='GNU Autoconf 2.59c'
554 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
556 ac_unique_file="ChangeLog"
557 ac_subst_vars='SHELL
558 PATH_SEPARATOR
559 PACKAGE_NAME
560 PACKAGE_TARNAME
561 PACKAGE_VERSION
562 PACKAGE_STRING
563 PACKAGE_BUGREPORT
564 exec_prefix
565 prefix
566 program_transform_name
567 bindir
568 sbindir
569 libexecdir
570 datarootdir
571 datadir
572 sysconfdir
573 sharedstatedir
574 localstatedir
575 includedir
576 oldincludedir
577 docdir
578 infodir
579 htmldir
580 dvidir
581 pdfdir
582 psdir
583 libdir
584 localedir
585 mandir
586 DEFS
587 ECHO_C
588 ECHO_N
589 ECHO_T
590 LIBS
591 build_alias
592 host_alias
593 target_alias
594 INSTALL_PROGRAM
595 INSTALL_SCRIPT
596 INSTALL_DATA
597 CYGPATH_W
598 PACKAGE
599 VERSION
600 ACLOCAL
601 AUTOCONF
602 AUTOMAKE
603 AUTOHEADER
604 MAKEINFO
605 install_sh
606 STRIP
607 INSTALL_STRIP_PROGRAM
608 mkdir_p
610 SET_MAKE
611 am__leading_dot
612 AMTAR
613 am__tar
614 am__untar
615 ac_cv_sh_n_works
616 EXPR
618 HELP2MAN
619 PERL
620 TEST_EMACS
621 EMACS
622 EMACSLOADPATH
623 lispdir
624 GREP
625 EGREP
627 LIBOBJS
628 LTLIBOBJS'
629 ac_subst_files=''
630 ac_precious_vars='build_alias
631 host_alias
632 target_alias
633 EMACS
634 EMACSLOADPATH'
637 # Initialize some variables set by options.
638 ac_init_help=
639 ac_init_version=false
640 # The variables have the same names as the options, with
641 # dashes changed to underlines.
642 cache_file=/dev/null
643 exec_prefix=NONE
644 no_create=
645 no_recursion=
646 prefix=NONE
647 program_prefix=NONE
648 program_suffix=NONE
649 program_transform_name=s,x,x,
650 silent=
651 site=
652 srcdir=
653 verbose=
654 x_includes=NONE
655 x_libraries=NONE
657 # Installation directory options.
658 # These are left unexpanded so users can "make install exec_prefix=/foo"
659 # and all the variables that are supposed to be based on exec_prefix
660 # by default will actually change.
661 # Use braces instead of parens because sh, perl, etc. also accept them.
662 # (The list follows the same order as the GNU Coding Standards.)
663 bindir='${exec_prefix}/bin'
664 sbindir='${exec_prefix}/sbin'
665 libexecdir='${exec_prefix}/libexec'
666 datarootdir='${prefix}/share'
667 datadir='${datarootdir}'
668 sysconfdir='${prefix}/etc'
669 sharedstatedir='${prefix}/com'
670 localstatedir='${prefix}/var'
671 includedir='${prefix}/include'
672 oldincludedir='/usr/include'
673 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
674 infodir='${datarootdir}/info'
675 htmldir='${docdir}'
676 dvidir='${docdir}'
677 pdfdir='${docdir}'
678 psdir='${docdir}'
679 libdir='${exec_prefix}/lib'
680 localedir='${datarootdir}/locale'
681 mandir='${datarootdir}/man'
683 ac_prev=
684 ac_dashdash=
685 for ac_option
687 # If the previous option needs an argument, assign it.
688 if test -n "$ac_prev"; then
689 eval $ac_prev=\$ac_option
690 ac_prev=
691 continue
694 case $ac_option in
695 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
696 *) ac_optarg=yes ;;
697 esac
699 # Accept the important Cygnus configure options, so we can diagnose typos.
701 case $ac_dashdash$ac_option in
703 ac_dashdash=yes ;;
705 -bindir | --bindir | --bindi | --bind | --bin | --bi)
706 ac_prev=bindir ;;
707 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
708 bindir=$ac_optarg ;;
710 -build | --build | --buil | --bui | --bu)
711 ac_prev=build_alias ;;
712 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
713 build_alias=$ac_optarg ;;
715 -cache-file | --cache-file | --cache-fil | --cache-fi \
716 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
717 ac_prev=cache_file ;;
718 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
719 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
720 cache_file=$ac_optarg ;;
722 --config-cache | -C)
723 cache_file=config.cache ;;
725 -datadir | --datadir | --datadi | --datad)
726 ac_prev=datadir ;;
727 -datadir=* | --datadir=* | --datadi=* | --datad=*)
728 datadir=$ac_optarg ;;
730 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
731 | --dataroo | --dataro | --datar)
732 ac_prev=datarootdir ;;
733 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
734 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
735 datarootdir=$ac_optarg ;;
737 -disable-* | --disable-*)
738 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
739 # Reject names that are not valid shell variable names.
740 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
741 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
742 { (exit 1); exit 1; }; }
743 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
744 eval enable_$ac_feature=no ;;
746 -docdir | --docdir | --docdi | --doc | --do)
747 ac_prev=docdir ;;
748 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
749 docdir=$ac_optarg ;;
751 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
752 ac_prev=dvidir ;;
753 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
754 dvidir=$ac_optarg ;;
756 -enable-* | --enable-*)
757 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
761 { (exit 1); exit 1; }; }
762 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
763 eval enable_$ac_feature=\$ac_optarg ;;
765 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
766 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
767 | --exec | --exe | --ex)
768 ac_prev=exec_prefix ;;
769 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
770 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
771 | --exec=* | --exe=* | --ex=*)
772 exec_prefix=$ac_optarg ;;
774 -gas | --gas | --ga | --g)
775 # Obsolete; use --with-gas.
776 with_gas=yes ;;
778 -help | --help | --hel | --he | -h)
779 ac_init_help=long ;;
780 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
781 ac_init_help=recursive ;;
782 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
783 ac_init_help=short ;;
785 -host | --host | --hos | --ho)
786 ac_prev=host_alias ;;
787 -host=* | --host=* | --hos=* | --ho=*)
788 host_alias=$ac_optarg ;;
790 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
791 ac_prev=htmldir ;;
792 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
793 | --ht=*)
794 htmldir=$ac_optarg ;;
796 -includedir | --includedir | --includedi | --included | --include \
797 | --includ | --inclu | --incl | --inc)
798 ac_prev=includedir ;;
799 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
800 | --includ=* | --inclu=* | --incl=* | --inc=*)
801 includedir=$ac_optarg ;;
803 -infodir | --infodir | --infodi | --infod | --info | --inf)
804 ac_prev=infodir ;;
805 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
806 infodir=$ac_optarg ;;
808 -libdir | --libdir | --libdi | --libd)
809 ac_prev=libdir ;;
810 -libdir=* | --libdir=* | --libdi=* | --libd=*)
811 libdir=$ac_optarg ;;
813 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
814 | --libexe | --libex | --libe)
815 ac_prev=libexecdir ;;
816 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
817 | --libexe=* | --libex=* | --libe=*)
818 libexecdir=$ac_optarg ;;
820 -localedir | --localedir | --localedi | --localed | --locale)
821 ac_prev=localedir ;;
822 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
823 localedir=$ac_optarg ;;
825 -localstatedir | --localstatedir | --localstatedi | --localstated \
826 | --localstate | --localstat | --localsta | --localst | --locals)
827 ac_prev=localstatedir ;;
828 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
829 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
830 localstatedir=$ac_optarg ;;
832 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
833 ac_prev=mandir ;;
834 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
835 mandir=$ac_optarg ;;
837 -nfp | --nfp | --nf)
838 # Obsolete; use --without-fp.
839 with_fp=no ;;
841 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
842 | --no-cr | --no-c | -n)
843 no_create=yes ;;
845 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
846 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
847 no_recursion=yes ;;
849 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
850 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
851 | --oldin | --oldi | --old | --ol | --o)
852 ac_prev=oldincludedir ;;
853 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
854 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
855 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
856 oldincludedir=$ac_optarg ;;
858 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
859 ac_prev=prefix ;;
860 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
861 prefix=$ac_optarg ;;
863 -program-prefix | --program-prefix | --program-prefi | --program-pref \
864 | --program-pre | --program-pr | --program-p)
865 ac_prev=program_prefix ;;
866 -program-prefix=* | --program-prefix=* | --program-prefi=* \
867 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
868 program_prefix=$ac_optarg ;;
870 -program-suffix | --program-suffix | --program-suffi | --program-suff \
871 | --program-suf | --program-su | --program-s)
872 ac_prev=program_suffix ;;
873 -program-suffix=* | --program-suffix=* | --program-suffi=* \
874 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
875 program_suffix=$ac_optarg ;;
877 -program-transform-name | --program-transform-name \
878 | --program-transform-nam | --program-transform-na \
879 | --program-transform-n | --program-transform- \
880 | --program-transform | --program-transfor \
881 | --program-transfo | --program-transf \
882 | --program-trans | --program-tran \
883 | --progr-tra | --program-tr | --program-t)
884 ac_prev=program_transform_name ;;
885 -program-transform-name=* | --program-transform-name=* \
886 | --program-transform-nam=* | --program-transform-na=* \
887 | --program-transform-n=* | --program-transform-=* \
888 | --program-transform=* | --program-transfor=* \
889 | --program-transfo=* | --program-transf=* \
890 | --program-trans=* | --program-tran=* \
891 | --progr-tra=* | --program-tr=* | --program-t=*)
892 program_transform_name=$ac_optarg ;;
894 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
895 ac_prev=pdfdir ;;
896 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
897 pdfdir=$ac_optarg ;;
899 -psdir | --psdir | --psdi | --psd | --ps)
900 ac_prev=psdir ;;
901 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
902 psdir=$ac_optarg ;;
904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
905 | -silent | --silent | --silen | --sile | --sil)
906 silent=yes ;;
908 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
909 ac_prev=sbindir ;;
910 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
911 | --sbi=* | --sb=*)
912 sbindir=$ac_optarg ;;
914 -sharedstatedir | --sharedstatedir | --sharedstatedi \
915 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
916 | --sharedst | --shareds | --shared | --share | --shar \
917 | --sha | --sh)
918 ac_prev=sharedstatedir ;;
919 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
920 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
921 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
922 | --sha=* | --sh=*)
923 sharedstatedir=$ac_optarg ;;
925 -site | --site | --sit)
926 ac_prev=site ;;
927 -site=* | --site=* | --sit=*)
928 site=$ac_optarg ;;
930 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
931 ac_prev=srcdir ;;
932 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
933 srcdir=$ac_optarg ;;
935 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
936 | --syscon | --sysco | --sysc | --sys | --sy)
937 ac_prev=sysconfdir ;;
938 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
939 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
940 sysconfdir=$ac_optarg ;;
942 -target | --target | --targe | --targ | --tar | --ta | --t)
943 ac_prev=target_alias ;;
944 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
945 target_alias=$ac_optarg ;;
947 -v | -verbose | --verbose | --verbos | --verbo | --verb)
948 verbose=yes ;;
950 -version | --version | --versio | --versi | --vers | -V)
951 ac_init_version=: ;;
953 -with-* | --with-*)
954 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
957 { echo "$as_me: error: invalid package name: $ac_package" >&2
958 { (exit 1); exit 1; }; }
959 ac_package=`echo $ac_package| sed 's/-/_/g'`
960 eval with_$ac_package=\$ac_optarg ;;
962 -without-* | --without-*)
963 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
966 { echo "$as_me: error: invalid package name: $ac_package" >&2
967 { (exit 1); exit 1; }; }
968 ac_package=`echo $ac_package | sed 's/-/_/g'`
969 eval with_$ac_package=no ;;
971 --x)
972 # Obsolete; use --with-x.
973 with_x=yes ;;
975 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
976 | --x-incl | --x-inc | --x-in | --x-i)
977 ac_prev=x_includes ;;
978 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
979 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
980 x_includes=$ac_optarg ;;
982 -x-libraries | --x-libraries | --x-librarie | --x-librari \
983 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
984 ac_prev=x_libraries ;;
985 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
986 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
987 x_libraries=$ac_optarg ;;
989 -*) { echo "$as_me: error: unrecognized option: $ac_option
990 Try \`$0 --help' for more information." >&2
991 { (exit 1); exit 1; }; }
994 *=*)
995 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
998 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
999 { (exit 1); exit 1; }; }
1000 eval $ac_envvar=\$ac_optarg
1001 export $ac_envvar ;;
1004 # FIXME: should be removed in autoconf 3.0.
1005 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1006 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1007 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1008 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1011 esac
1012 done
1014 if test -n "$ac_prev"; then
1015 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1016 { echo "$as_me: error: missing argument to $ac_option" >&2
1017 { (exit 1); exit 1; }; }
1020 # Be sure to have absolute directory names.
1021 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1022 datadir sysconfdir sharedstatedir localstatedir includedir \
1023 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1024 libdir localedir mandir
1026 eval ac_val=\$$ac_var
1027 case $ac_val in
1028 [\\/$]* | ?:[\\/]* ) continue;;
1029 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1030 esac
1031 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1032 { (exit 1); exit 1; }; }
1033 done
1035 # There might be people who depend on the old broken behavior: `$host'
1036 # used to hold the argument of --host etc.
1037 # FIXME: To remove some day.
1038 build=$build_alias
1039 host=$host_alias
1040 target=$target_alias
1042 # FIXME: To remove some day.
1043 if test "x$host_alias" != x; then
1044 if test "x$build_alias" = x; then
1045 cross_compiling=maybe
1046 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1047 If a cross compiler is detected then cross compile mode will be used." >&2
1048 elif test "x$build_alias" != "x$host_alias"; then
1049 cross_compiling=yes
1053 ac_tool_prefix=
1054 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1056 test "$silent" = yes && exec 6>/dev/null
1059 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1060 ac_ls_di=`ls -di .` &&
1061 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1062 { echo "$as_me: error: Working directory cannot be determined" >&2
1063 { (exit 1); exit 1; }; }
1064 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1065 { echo "$as_me: error: pwd does not report name of working directory" >&2
1066 { (exit 1); exit 1; }; }
1069 # Find the source files, if location was not specified.
1070 if test -z "$srcdir"; then
1071 ac_srcdir_defaulted=yes
1072 # Try the directory containing this script, then the parent directory.
1073 ac_confdir=`$as_dirname "$0" ||
1074 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1075 X"$0" : 'X\(//\)[^/]' \| \
1076 X"$0" : 'X\(//\)$' \| \
1077 X"$0" : 'X\(/\)' \| \
1078 . : '\(.\)' 2>/dev/null ||
1079 echo X"$0" |
1080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1081 s//\1/
1084 /^X\(\/\/\)[^/].*/{
1085 s//\1/
1088 /^X\(\/\/\)$/{
1089 s//\1/
1092 /^X\(\/\).*/{
1093 s//\1/
1096 s/.*/./; q'`
1097 srcdir=$ac_confdir
1098 if test ! -r "$srcdir/$ac_unique_file"; then
1099 srcdir=..
1101 else
1102 ac_srcdir_defaulted=no
1104 if test ! -r "$srcdir/$ac_unique_file"; then
1105 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1106 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1107 { (exit 1); exit 1; }; }
1109 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1110 ac_abs_confdir=`(
1111 cd $srcdir && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1112 { (exit 1); exit 1; }; }
1113 pwd)`
1114 # When building in place, set srcdir=.
1115 if test "$ac_abs_confdir" = "$ac_pwd"; then
1116 srcdir=.
1118 # Remove unnecessary trailing slashes from srcdir.
1119 # Double slashes in file names in object file debugging info
1120 # mess up M-x gdb in Emacs.
1121 case $srcdir in
1122 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1123 esac
1124 for ac_var in $ac_precious_vars; do
1125 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1126 eval ac_env_${ac_var}_value=\$${ac_var}
1127 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1128 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1129 done
1132 # Report the --help message.
1134 if test "$ac_init_help" = "long"; then
1135 # Omit some internal or obsolete options to make the list less imposing.
1136 # This message is too long to be a string in the A/UX 3.1 sh.
1137 cat <<_ACEOF
1138 \`configure' configures GNU Autoconf 2.59c to adapt to many kinds of systems.
1140 Usage: $0 [OPTION]... [VAR=VALUE]...
1142 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1143 VAR=VALUE. See below for descriptions of some of the useful variables.
1145 Defaults for the options are specified in brackets.
1147 Configuration:
1148 -h, --help display this help and exit
1149 --help=short display options specific to this package
1150 --help=recursive display the short help of all the included packages
1151 -V, --version display version information and exit
1152 -q, --quiet, --silent do not print \`checking...' messages
1153 --cache-file=FILE cache test results in FILE [disabled]
1154 -C, --config-cache alias for \`--cache-file=config.cache'
1155 -n, --no-create do not create output files
1156 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1158 Installation directories:
1159 --prefix=PREFIX install architecture-independent files in PREFIX
1160 [$ac_default_prefix]
1161 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1162 [PREFIX]
1164 By default, \`make install' will install all the files in
1165 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1166 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1167 for instance \`--prefix=\$HOME'.
1169 For better control, use the options below.
1171 Fine tuning of the installation directories:
1172 --bindir=DIR user executables [EPREFIX/bin]
1173 --sbindir=DIR system admin executables [EPREFIX/sbin]
1174 --libexecdir=DIR program executables [EPREFIX/libexec]
1175 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1176 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1177 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1178 --libdir=DIR object code libraries [EPREFIX/lib]
1179 --includedir=DIR C header files [PREFIX/include]
1180 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1181 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1182 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1183 --infodir=DIR info documentation [DATAROOTDIR/info]
1184 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1185 --mandir=DIR man documentation [DATAROOTDIR/man]
1186 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1187 --htmldir=DIR html documentation [DOCDIR]
1188 --dvidir=DIR dvi documentation [DOCDIR]
1189 --pdfdir=DIR pdf documentation [DOCDIR]
1190 --psdir=DIR ps documentation [DOCDIR]
1191 _ACEOF
1193 cat <<\_ACEOF
1195 Program names:
1196 --program-prefix=PREFIX prepend PREFIX to installed program names
1197 --program-suffix=SUFFIX append SUFFIX to installed program names
1198 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1199 _ACEOF
1202 if test -n "$ac_init_help"; then
1203 case $ac_init_help in
1204 short | recursive ) echo "Configuration of GNU Autoconf 2.59c:";;
1205 esac
1206 cat <<\_ACEOF
1208 Optional Packages:
1209 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1210 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1211 --with-lispdir override the default lisp directory
1213 Some influential environment variables:
1214 EMACS the Emacs editor command
1215 EMACSLOADPATH
1216 the Emacs library search path
1218 Use these variables to override the choices made by `configure' or to help
1219 it to find libraries and programs with nonstandard names/locations.
1221 Report bugs to <bug-autoconf@gnu.org>.
1222 _ACEOF
1223 ac_status=$?
1226 if test "$ac_init_help" = "recursive"; then
1227 # If there are subdirs, report their specific --help.
1228 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1229 test -d $ac_dir || continue
1230 ac_builddir=.
1232 case "$ac_dir" in
1233 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1235 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1236 # A ".." for each directory in $ac_dir_suffix.
1237 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1238 case $ac_top_builddir_sub in
1239 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1240 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1241 esac ;;
1242 esac
1243 ac_abs_top_builddir=$ac_pwd
1244 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1245 # for backward compatibility:
1246 ac_top_builddir=$ac_top_build_prefix
1248 case $srcdir in
1249 .) # We are building in place.
1250 ac_srcdir=.
1251 ac_top_srcdir=$ac_top_builddir_sub
1252 ac_abs_top_srcdir=$ac_pwd ;;
1253 [\\/]* | ?:[\\/]* ) # Absolute name.
1254 ac_srcdir=$srcdir$ac_dir_suffix;
1255 ac_top_srcdir=$srcdir
1256 ac_abs_top_srcdir=$srcdir ;;
1257 *) # Relative name.
1258 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1259 ac_top_srcdir=$ac_top_build_prefix$srcdir
1260 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1261 esac
1262 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1264 cd $ac_dir || { ac_status=$?; continue; }
1265 # Check for guested configure; otherwise get Cygnus style configure.
1266 if test -f $ac_srcdir/configure.gnu; then
1267 echo &&
1268 $SHELL $ac_srcdir/configure.gnu --help=recursive
1269 elif test -f $ac_srcdir/configure; then
1270 echo &&
1271 $SHELL $ac_srcdir/configure --help=recursive
1272 elif test -f $ac_srcdir/configure.ac ||
1273 test -f $ac_srcdir/configure.in; then
1274 echo &&
1275 $ac_configure --help
1276 else
1277 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1278 fi || ac_status=$?
1279 cd "$ac_pwd" || { ac_status=$?; break; }
1280 done
1283 test -n "$ac_init_help" && exit $ac_status
1284 if $ac_init_version; then
1285 cat <<\_ACEOF
1286 GNU Autoconf configure 2.59c
1287 generated by GNU Autoconf 2.59c
1289 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1290 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1291 This configure script is free software; the Free Software Foundation
1292 gives unlimited permission to copy, distribute and modify it.
1293 _ACEOF
1294 exit
1296 exec 5>config.log
1297 cat >&5 <<_ACEOF
1298 This file contains any messages produced by compilers while
1299 running configure, to aid debugging if configure makes a mistake.
1301 It was created by GNU Autoconf $as_me 2.59c, which was
1302 generated by GNU Autoconf 2.59c. Invocation command line was
1304 $ $0 $@
1306 _ACEOF
1308 cat <<_ASUNAME
1309 ## --------- ##
1310 ## Platform. ##
1311 ## --------- ##
1313 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1314 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1315 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1316 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1317 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1319 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1320 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1322 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1323 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1324 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1325 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1326 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1327 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1328 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1330 _ASUNAME
1332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1333 for as_dir in $PATH
1335 IFS=$as_save_IFS
1336 test -z "$as_dir" && as_dir=.
1337 echo "PATH: $as_dir"
1338 done
1339 IFS=$as_save_IFS
1341 } >&5
1343 cat >&5 <<_ACEOF
1346 ## ----------- ##
1347 ## Core tests. ##
1348 ## ----------- ##
1350 _ACEOF
1353 # Keep a trace of the command line.
1354 # Strip out --no-create and --no-recursion so they do not pile up.
1355 # Strip out --silent because we don't want to record it for future runs.
1356 # Also quote any args containing shell meta-characters.
1357 # Make two passes to allow for proper duplicate-argument suppression.
1358 ac_configure_args=
1359 ac_configure_args0=
1360 ac_configure_args1=
1361 ac_sep=
1362 ac_must_keep_next=false
1363 for ac_pass in 1 2
1365 for ac_arg
1367 case $ac_arg in
1368 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1369 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1370 | -silent | --silent | --silen | --sile | --sil)
1371 continue ;;
1372 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1373 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1374 esac
1375 case $ac_pass in
1376 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1378 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1379 if test $ac_must_keep_next = true; then
1380 ac_must_keep_next=false # Got value, back to normal.
1381 else
1382 case $ac_arg in
1383 *=* | --config-cache | -C | -disable-* | --disable-* \
1384 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1385 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1386 | -with-* | --with-* | -without-* | --without-* | --x)
1387 case "$ac_configure_args0 " in
1388 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1389 esac
1391 -* ) ac_must_keep_next=true ;;
1392 esac
1394 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1395 # Get rid of the leading space.
1396 ac_sep=" "
1398 esac
1399 done
1400 done
1401 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1402 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1404 # When interrupted or exit'd, cleanup temporary files, and complete
1405 # config.log. We remove comments because anyway the quotes in there
1406 # would cause problems or look ugly.
1407 # WARNING: Be sure not to use single quotes in there, as some shells,
1408 # such as our DU 5.0 friend, will then `close' the trap.
1409 trap 'exit_status=$?
1410 # Save into config.log some information that might help in debugging.
1412 echo
1414 cat <<\_ASBOX
1415 ## ---------------- ##
1416 ## Cache variables. ##
1417 ## ---------------- ##
1418 _ASBOX
1419 echo
1420 # The following way of writing the cache mishandles newlines in values,
1422 (set) 2>&1 |
1423 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1424 *ac_space=\ *)
1425 sed -n \
1426 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1430 sed -n \
1431 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1433 esac;
1435 echo
1437 cat <<\_ASBOX
1438 ## ----------------- ##
1439 ## Output variables. ##
1440 ## ----------------- ##
1441 _ASBOX
1442 echo
1443 for ac_var in $ac_subst_vars
1445 eval ac_val=\$$ac_var
1446 echo "$ac_var='"'"'$ac_val'"'"'"
1447 done | sort
1448 echo
1450 if test -n "$ac_subst_files"; then
1451 cat <<\_ASBOX
1452 ## ------------------- ##
1453 ## File substitutions. ##
1454 ## ------------------- ##
1455 _ASBOX
1456 echo
1457 for ac_var in $ac_subst_files
1459 eval ac_val=\$$ac_var
1460 echo "$ac_var='"'"'$ac_val'"'"'"
1461 done | sort
1462 echo
1465 if test -s confdefs.h; then
1466 cat <<\_ASBOX
1467 ## ----------- ##
1468 ## confdefs.h. ##
1469 ## ----------- ##
1470 _ASBOX
1471 echo
1472 sed "/^$/d" confdefs.h | sort
1473 echo
1475 test "$ac_signal" != 0 &&
1476 echo "$as_me: caught signal $ac_signal"
1477 echo "$as_me: exit $exit_status"
1478 } >&5
1479 rm -f core *.core core.conftest.* &&
1480 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1481 exit $exit_status
1483 for ac_signal in 1 2 13 15; do
1484 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1485 done
1486 ac_signal=0
1488 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1489 rm -f -r conftest* confdefs.h
1491 # Predefined preprocessor variables.
1493 cat >>confdefs.h <<_ACEOF
1494 #define PACKAGE_NAME "$PACKAGE_NAME"
1495 _ACEOF
1498 cat >>confdefs.h <<_ACEOF
1499 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1500 _ACEOF
1503 cat >>confdefs.h <<_ACEOF
1504 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1505 _ACEOF
1508 cat >>confdefs.h <<_ACEOF
1509 #define PACKAGE_STRING "$PACKAGE_STRING"
1510 _ACEOF
1513 cat >>confdefs.h <<_ACEOF
1514 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1515 _ACEOF
1518 # Let the site file select an alternate cache file if it wants to.
1519 # Prefer explicitly selected file to automatically selected ones.
1520 if test -n "$CONFIG_SITE"; then
1521 set x "$CONFIG_SITE"
1522 elif test "x$prefix" != xNONE; then
1523 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1524 else
1525 set x "$ac_default_prefix/share/config.site" \
1526 "$ac_default_prefix/etc/config.site"
1528 shift
1529 for ac_site_file
1531 if test -r "$ac_site_file"; then
1532 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1533 echo "$as_me: loading site script $ac_site_file" >&6;}
1534 sed 's/^/| /' "$ac_site_file" >&5
1535 . "$ac_site_file"
1537 done
1539 if test -r "$cache_file"; then
1540 # Some versions of bash will fail to source /dev/null (special
1541 # files actually), so we avoid doing that.
1542 if test -f "$cache_file"; then
1543 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1544 echo "$as_me: loading cache $cache_file" >&6;}
1545 case $cache_file in
1546 [\\/]* | ?:[\\/]* ) . $cache_file;;
1547 *) . ./$cache_file;;
1548 esac
1550 else
1551 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1552 echo "$as_me: creating cache $cache_file" >&6;}
1553 >$cache_file
1556 # Check that the precious variables saved in the cache have kept the same
1557 # value.
1558 ac_cache_corrupted=false
1559 for ac_var in $ac_precious_vars; do
1560 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1561 eval ac_new_set=\$ac_env_${ac_var}_set
1562 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1563 eval ac_new_val=\$ac_env_${ac_var}_value
1564 case $ac_old_set,$ac_new_set in
1565 set,)
1566 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1567 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1568 ac_cache_corrupted=: ;;
1569 ,set)
1570 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1571 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1572 ac_cache_corrupted=: ;;
1573 ,);;
1575 if test "x$ac_old_val" != "x$ac_new_val"; then
1576 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1577 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1578 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1579 echo "$as_me: former value: $ac_old_val" >&2;}
1580 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1581 echo "$as_me: current value: $ac_new_val" >&2;}
1582 ac_cache_corrupted=:
1583 fi;;
1584 esac
1585 # Pass precious variables to config.status.
1586 if test "$ac_new_set" = set; then
1587 case $ac_new_val in
1588 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1589 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1590 *) ac_arg=$ac_var=$ac_new_val ;;
1591 esac
1592 case " $ac_configure_args " in
1593 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1594 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1595 esac
1597 done
1598 if $ac_cache_corrupted; then
1599 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1600 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1601 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1602 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1603 { (exit 1); exit 1; }; }
1630 ac_ext=c
1631 ac_cpp='$CPP $CPPFLAGS'
1632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1639 ac_aux_dir=
1640 for ac_dir in config $srcdir/config; do
1641 if test -f $ac_dir/install-sh; then
1642 ac_aux_dir=$ac_dir
1643 ac_install_sh="$ac_aux_dir/install-sh -c"
1644 break
1645 elif test -f $ac_dir/install.sh; then
1646 ac_aux_dir=$ac_dir
1647 ac_install_sh="$ac_aux_dir/install.sh -c"
1648 break
1649 elif test -f $ac_dir/shtool; then
1650 ac_aux_dir=$ac_dir
1651 ac_install_sh="$ac_aux_dir/shtool install -c"
1652 break
1654 done
1655 if test -z "$ac_aux_dir"; then
1656 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1657 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1658 { (exit 1); exit 1; }; }
1660 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1661 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1662 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1664 ac_config_files="$ac_config_files config/Makefile"
1667 am__api_version="1.9"
1668 # Find a good install program. We prefer a C program (faster),
1669 # so one script is as good as another. But avoid the broken or
1670 # incompatible versions:
1671 # SysV /etc/install, /usr/sbin/install
1672 # SunOS /usr/etc/install
1673 # IRIX /sbin/install
1674 # AIX /bin/install
1675 # AmigaOS /C/install, which installs bootblocks on floppy discs
1676 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1677 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1678 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1679 # OS/2's system install, which has a completely different semantic
1680 # ./install, which can be erroneously created by make from ./install.sh.
1681 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1682 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1683 if test -z "$INSTALL"; then
1684 if test "${ac_cv_path_install+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 else
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688 for as_dir in $PATH
1690 IFS=$as_save_IFS
1691 test -z "$as_dir" && as_dir=.
1692 test -d "$as_dir" || continue
1693 # Account for people who put trailing slashes in PATH elements.
1694 case $as_dir/ in
1695 ./ | .// | /cC/* | \
1696 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1697 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1698 /usr/ucb/* ) ;;
1700 # OSF1 and SCO ODT 3.0 have their own names for install.
1701 # Don't use installbsd from OSF since it installs stuff as root
1702 # by default.
1703 for ac_prog in ginstall scoinst install; do
1704 for ac_exec_ext in '' $ac_executable_extensions; do
1705 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1706 if test $ac_prog = install &&
1707 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1708 # AIX install. It has an incompatible calling convention.
1710 elif test $ac_prog = install &&
1711 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1712 # program-specific install script used by HP pwplus--don't use.
1714 else
1715 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1716 break 3
1719 done
1720 done
1722 esac
1723 done
1724 IFS=$as_save_IFS
1728 if test "${ac_cv_path_install+set}" = set; then
1729 INSTALL=$ac_cv_path_install
1730 else
1731 # As a last resort, use the slow shell script. Don't cache a
1732 # value for INSTALL within a source directory, because that will
1733 # break other packages using the cache if that directory is
1734 # removed, or if the value is a relative name.
1735 INSTALL=$ac_install_sh
1738 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1739 echo "${ECHO_T}$INSTALL" >&6; }
1741 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1742 # It thinks the first close brace ends the variable substitution.
1743 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1745 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1747 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1749 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1750 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1751 # Just in case
1752 sleep 1
1753 echo timestamp > conftest.file
1754 # Do `set' in a subshell so we don't clobber the current shell's
1755 # arguments. Must try -L first in case configure is actually a
1756 # symlink; some systems play weird games with the mod time of symlinks
1757 # (eg FreeBSD returns the mod time of the symlink's containing
1758 # directory).
1759 if (
1760 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1761 if test "$*" = "X"; then
1762 # -L didn't work.
1763 set X `ls -t $srcdir/configure conftest.file`
1765 rm -f conftest.file
1766 if test "$*" != "X $srcdir/configure conftest.file" \
1767 && test "$*" != "X conftest.file $srcdir/configure"; then
1769 # If neither matched, then we have a broken ls. This can happen
1770 # if, for instance, CONFIG_SHELL is bash and it inherits a
1771 # broken ls alias from the environment. This has actually
1772 # happened. Such a system could not be considered "sane".
1773 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1774 alias in your environment" >&5
1775 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1776 alias in your environment" >&2;}
1777 { (exit 1); exit 1; }; }
1780 test "$2" = conftest.file
1782 then
1783 # Ok.
1785 else
1786 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1787 Check your system clock" >&5
1788 echo "$as_me: error: newly created file is older than distributed files!
1789 Check your system clock" >&2;}
1790 { (exit 1); exit 1; }; }
1792 { echo "$as_me:$LINENO: result: yes" >&5
1793 echo "${ECHO_T}yes" >&6; }
1794 test "$program_prefix" != NONE &&
1795 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1796 # Use a double $ so make ignores it.
1797 test "$program_suffix" != NONE &&
1798 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1799 # Double any \ or $. echo might interpret backslashes.
1800 # By default was `s,x,x', remove it if useless.
1801 cat <<\_ACEOF >conftest.sed
1802 s/[\\$]/&&/g;s/;s,x,x,$//
1803 _ACEOF
1804 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1805 rm -f conftest.sed
1807 # expand $ac_aux_dir to an absolute path
1808 am_aux_dir=`cd $ac_aux_dir && pwd`
1810 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1811 # Use eval to expand $SHELL
1812 if eval "$MISSING --run true"; then
1813 am_missing_run="$MISSING --run "
1814 else
1815 am_missing_run=
1816 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1817 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1820 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1821 # We used to keeping the `.' as first argument, in order to
1822 # allow $(mkdir_p) to be used without argument. As in
1823 # $(mkdir_p) $(somedir)
1824 # where $(somedir) is conditionally defined. However this is wrong
1825 # for two reasons:
1826 # 1. if the package is installed by a user who cannot write `.'
1827 # make install will fail,
1828 # 2. the above comment should most certainly read
1829 # $(mkdir_p) $(DESTDIR)$(somedir)
1830 # so it does not work when $(somedir) is undefined and
1831 # $(DESTDIR) is not.
1832 # To support the latter case, we have to write
1833 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1834 # so the `.' trick is pointless.
1835 mkdir_p='mkdir -p --'
1836 else
1837 # On NextStep and OpenStep, the `mkdir' command does not
1838 # recognize any option. It will interpret all options as
1839 # directories to create, and then abort because `.' already
1840 # exists.
1841 for d in ./-p ./--version;
1843 test -d $d && rmdir $d
1844 done
1845 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1846 if test -f "$ac_aux_dir/mkinstalldirs"; then
1847 mkdir_p='$(mkinstalldirs)'
1848 else
1849 mkdir_p='$(install_sh) -d'
1853 for ac_prog in gawk mawk nawk awk
1855 # Extract the first word of "$ac_prog", so it can be a program name with args.
1856 set dummy $ac_prog; ac_word=$2
1857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1859 if test "${ac_cv_prog_AWK+set}" = set; then
1860 echo $ECHO_N "(cached) $ECHO_C" >&6
1861 else
1862 if test -n "$AWK"; then
1863 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1864 else
1865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866 for as_dir in $PATH
1868 IFS=$as_save_IFS
1869 test -z "$as_dir" && as_dir=.
1870 test -d "$as_dir" || continue
1871 for ac_exec_ext in '' $ac_executable_extensions; do
1872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1873 ac_cv_prog_AWK="$ac_prog"
1874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1875 break 2
1877 done
1878 done
1879 IFS=$as_save_IFS
1883 AWK=$ac_cv_prog_AWK
1884 if test -n "$AWK"; then
1885 { echo "$as_me:$LINENO: result: $AWK" >&5
1886 echo "${ECHO_T}$AWK" >&6; }
1887 else
1888 { echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6; }
1893 test -n "$AWK" && break
1894 done
1896 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1897 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1898 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1899 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 else
1902 cat >conftest.make <<\_ACEOF
1903 SHELL = /bin/sh
1904 all:
1905 @echo 'ac_maketemp=X"$(MAKE)"'
1906 _ACEOF
1907 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1908 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1909 if test "$ac_maketemp" != X ; then
1910 eval ac_cv_prog_make_${ac_make}_set=yes
1911 else
1912 eval ac_cv_prog_make_${ac_make}_set=no
1914 rm -f conftest.make
1916 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1917 { echo "$as_me:$LINENO: result: yes" >&5
1918 echo "${ECHO_T}yes" >&6; }
1919 SET_MAKE=
1920 else
1921 { echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6; }
1923 SET_MAKE="MAKE=${MAKE-make}"
1926 rm -rf .tst 2>/dev/null
1927 mkdir .tst 2>/dev/null
1928 if test -d .tst; then
1929 am__leading_dot=.
1930 else
1931 am__leading_dot=_
1933 rmdir .tst 2>/dev/null
1935 # test to see if srcdir already configured
1936 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1937 test -f $srcdir/config.status; then
1938 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1939 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1940 { (exit 1); exit 1; }; }
1943 # test whether we have cygpath
1944 if test -z "$CYGPATH_W"; then
1945 if (cygpath --version) >/dev/null 2>/dev/null; then
1946 CYGPATH_W='cygpath -w'
1947 else
1948 CYGPATH_W=echo
1953 # Define the identity of the package.
1954 PACKAGE='autoconf'
1955 VERSION='2.59c'
1958 cat >>confdefs.h <<_ACEOF
1959 #define PACKAGE "$PACKAGE"
1960 _ACEOF
1963 cat >>confdefs.h <<_ACEOF
1964 #define VERSION "$VERSION"
1965 _ACEOF
1967 # Some tools Automake needs.
1969 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1972 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1975 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1978 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1981 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1983 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1985 # Installed binaries are usually stripped using `strip' when the user
1986 # run `make install-strip'. However `strip' might not be the right
1987 # tool to use in cross-compilation environments, therefore Automake
1988 # will honor the `STRIP' environment variable to overrule this program.
1989 if test "$cross_compiling" != no; then
1990 if test -n "$ac_tool_prefix"; then
1991 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1992 set dummy ${ac_tool_prefix}strip; ac_word=$2
1993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1995 if test "${ac_cv_prog_STRIP+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 else
1998 if test -n "$STRIP"; then
1999 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2000 else
2001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002 for as_dir in $PATH
2004 IFS=$as_save_IFS
2005 test -z "$as_dir" && as_dir=.
2006 test -d "$as_dir" || continue
2007 for ac_exec_ext in '' $ac_executable_extensions; do
2008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2009 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2011 break 2
2013 done
2014 done
2015 IFS=$as_save_IFS
2019 STRIP=$ac_cv_prog_STRIP
2020 if test -n "$STRIP"; then
2021 { echo "$as_me:$LINENO: result: $STRIP" >&5
2022 echo "${ECHO_T}$STRIP" >&6; }
2023 else
2024 { echo "$as_me:$LINENO: result: no" >&5
2025 echo "${ECHO_T}no" >&6; }
2030 if test -z "$ac_cv_prog_STRIP"; then
2031 ac_ct_STRIP=$STRIP
2032 # Extract the first word of "strip", so it can be a program name with args.
2033 set dummy strip; ac_word=$2
2034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2036 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 else
2039 if test -n "$ac_ct_STRIP"; then
2040 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2041 else
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 for as_dir in $PATH
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 test -d "$as_dir" || continue
2048 for ac_exec_ext in '' $ac_executable_extensions; do
2049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2050 ac_cv_prog_ac_ct_STRIP="strip"
2051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2052 break 2
2054 done
2055 done
2056 IFS=$as_save_IFS
2060 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2061 if test -n "$ac_ct_STRIP"; then
2062 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2063 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2064 else
2065 { echo "$as_me:$LINENO: result: no" >&5
2066 echo "${ECHO_T}no" >&6; }
2069 if test "x$ac_ct_STRIP" = x; then
2070 STRIP=":"
2071 else
2072 case $cross_compiling:$ac_tool_warned in
2073 yes:)
2074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2075 whose name does not start with the host triplet. If you think this
2076 configuration is useful to you, please write to autoconf@gnu.org." >&5
2077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2078 whose name does not start with the host triplet. If you think this
2079 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2080 ac_tool_warned=yes ;;
2081 esac
2082 STRIP=$ac_ct_STRIP
2084 else
2085 STRIP="$ac_cv_prog_STRIP"
2089 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2091 # We need awk for the "check" target. The system "awk" is bad on
2092 # some platforms.
2093 # Always define AMTAR for backward compatibility.
2095 AMTAR=${AMTAR-"${am_missing_run}tar"}
2097 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2104 # We use `/bin/sh -n script' to check that there are no syntax errors
2105 # in the scripts. Although incredible, there are /bin/sh that go into
2106 # endless loops with `-n', e.g., SunOS's:
2108 # $ uname -a
2109 # SunOS ondine 4.1.3 2 sun4m unknown
2110 # $ cat endless.sh
2111 # while false
2112 # do
2114 # done
2115 # exit 0
2116 # $ time sh endless.sh
2117 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2118 # $ time sh -nx endless.sh
2119 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2121 # So before using `/bin/sh -n' to check our scripts, we first check
2122 # that `/bin/sh -n' is not broken to death.
2124 # A script that never returns. We don't care that it never returns,
2125 # broken /bin/sh loop equally with `false', but it makes it easier to
2126 # test the robustness in a good environment: just remove the `-n'.
2127 { echo "$as_me:$LINENO: checking whether sh -n works" >&5
2128 echo $ECHO_N "checking whether sh -n works... $ECHO_C" >&6; }
2129 if test "${ac_cv_sh_n_works+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 else
2132 cat > conftest.sh <<_CONFEOF_
2133 while :
2136 done
2137 _CONFEOF_
2139 (/bin/sh -n conftest.sh) &
2140 sleep 2
2141 if kill $! >/dev/null 2>&1; then
2142 # We managed to kill the child, which means that we probably
2143 # can't trust `/bin/sh -n', hence the test failed.
2144 ac_cv_sh_n_works=no
2145 else
2146 ac_cv_sh_n_works=yes
2148 rm conftest.sh
2151 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2152 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2155 # Initialize the test suite.
2156 ac_config_commands="$ac_config_commands tests/atconfig"
2159 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2161 # Extract the first word of "expr", so it can be a program name with args.
2162 set dummy expr; ac_word=$2
2163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2165 if test "${ac_cv_path_EXPR+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 else
2168 case $EXPR in
2169 [\\/]* | ?:[\\/]*)
2170 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2176 IFS=$as_save_IFS
2177 test -z "$as_dir" && as_dir=.
2178 test -d "$as_dir" || continue
2179 for ac_exec_ext in '' $ac_executable_extensions; do
2180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2181 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 break 2
2185 done
2186 done
2187 IFS=$as_save_IFS
2190 esac
2192 EXPR=$ac_cv_path_EXPR
2193 if test -n "$EXPR"; then
2194 { echo "$as_me:$LINENO: result: $EXPR" >&5
2195 echo "${ECHO_T}$EXPR" >&6; }
2196 else
2197 { echo "$as_me:$LINENO: result: no" >&5
2198 echo "${ECHO_T}no" >&6; }
2204 ## ---- ##
2205 ## M4. ##
2206 ## ---- ##
2208 # We use an absolute name for GNU m4 so even if users have another m4 first in
2209 # their path, the installer can configure with a path that has GNU m4
2210 # first and get that path embedded in the installed autoconf and
2211 # autoheader scripts.
2212 for ac_prog in gm4 gnum4 m4
2214 # Extract the first word of "$ac_prog", so it can be a program name with args.
2215 set dummy $ac_prog; ac_word=$2
2216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218 if test "${ac_cv_path_M4+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 else
2221 case $M4 in
2222 [\\/]* | ?:[\\/]*)
2223 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 for as_dir in $PATH
2229 IFS=$as_save_IFS
2230 test -z "$as_dir" && as_dir=.
2231 test -d "$as_dir" || continue
2232 for ac_exec_ext in '' $ac_executable_extensions; do
2233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2234 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2236 break 2
2238 done
2239 done
2240 IFS=$as_save_IFS
2243 esac
2245 M4=$ac_cv_path_M4
2246 if test -n "$M4"; then
2247 { echo "$as_me:$LINENO: result: $M4" >&5
2248 echo "${ECHO_T}$M4" >&6; }
2249 else
2250 { echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6; }
2255 test -n "$M4" && break
2256 done
2257 test -n "$M4" || M4="m4"
2259 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2260 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2261 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 else
2264 ac_cv_prog_gnu_m4=no
2265 if test x"$M4" != x; then
2266 case `$M4 --help < /dev/null 2>&1` in
2267 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2268 esac
2271 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2272 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2273 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2274 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2275 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2276 { (exit 1); exit 1; }; }
2279 ## ----------- ##
2280 ## Man pages. ##
2281 ## ----------- ##
2283 ac_config_files="$ac_config_files man/Makefile"
2286 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2290 ## ------ ##
2291 ## Perl. ##
2292 ## ------ ##
2294 # We use an absolute name for perl so the #! line in autoscan will work.
2295 # Extract the first word of "perl", so it can be a program name with args.
2296 set dummy perl; ac_word=$2
2297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2299 if test "${ac_cv_path_PERL+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 else
2302 case $PERL in
2303 [\\/]* | ?:[\\/]*)
2304 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 test -d "$as_dir" || continue
2313 for ac_exec_ext in '' $ac_executable_extensions; do
2314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2315 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 break 2
2319 done
2320 done
2321 IFS=$as_save_IFS
2323 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2325 esac
2327 PERL=$ac_cv_path_PERL
2328 if test -n "$PERL"; then
2329 { echo "$as_me:$LINENO: result: $PERL" >&5
2330 echo "${ECHO_T}$PERL" >&6; }
2331 else
2332 { echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6; }
2337 if test "$PERL" = no; then
2338 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2339 echo "$as_me: error: perl is not found" >&2;}
2340 { (exit 1); exit 1; }; }
2342 $PERL -e 'require 5.005_03;' || {
2343 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2344 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2345 { (exit 1); exit 1; }; }
2349 ## ------- ##
2350 ## Emacs. ##
2351 ## ------- ##
2353 ac_config_files="$ac_config_files lib/emacs/Makefile"
2355 TEST_EMACS=$EMACS
2356 test x"$TEST_EMACS" = xt && TEST_EMACS=
2357 for ac_prog in emacs xemacs
2359 # Extract the first word of "$ac_prog", so it can be a program name with args.
2360 set dummy $ac_prog; ac_word=$2
2361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2363 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 else
2366 if test -n "$TEST_EMACS"; then
2367 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2368 else
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 for as_dir in $PATH
2372 IFS=$as_save_IFS
2373 test -z "$as_dir" && as_dir=.
2374 test -d "$as_dir" || continue
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2377 ac_cv_prog_TEST_EMACS="$ac_prog"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 break 2
2381 done
2382 done
2383 IFS=$as_save_IFS
2387 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2388 if test -n "$TEST_EMACS"; then
2389 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2390 echo "${ECHO_T}$TEST_EMACS" >&6; }
2391 else
2392 { echo "$as_me:$LINENO: result: no" >&5
2393 echo "${ECHO_T}no" >&6; }
2397 test -n "$TEST_EMACS" && break
2398 done
2399 test -n "$TEST_EMACS" || TEST_EMACS="no"
2402 # autoconf-mode.el and autotest-mode.el do not work with older version of
2403 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2404 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2405 # We detect this problem here.
2406 if test "$TEST_EMACS" != no; then
2407 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2408 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2409 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2410 echo $ECHO_N "(cached) $ECHO_C" >&6
2411 else
2412 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2413 cat >conftest.el << "EOF"
2414 (defvar broken)
2415 (defun broken-mode () (setq broken-defaults `(broken nil)))
2417 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2418 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2419 ac_status=$?
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; then
2422 ac_cv_prog_emacs_ok=yes
2423 else
2424 ac_cv_prog_emacs_ok=no
2427 rm -f conftest.el conftest.elc
2429 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2430 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2431 if test $ac_cv_prog_emacs_ok = no; then
2432 TEST_EMACS=no
2438 EMACS=$TEST_EMACS
2441 # If set to t, that means we are running in a shell under Emacs.
2442 # If you have an Emacs named "t", then use the full path.
2443 test x"$EMACS" = xt && EMACS=
2444 for ac_prog in emacs xemacs
2446 # Extract the first word of "$ac_prog", so it can be a program name with args.
2447 set dummy $ac_prog; ac_word=$2
2448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2450 if test "${ac_cv_prog_EMACS+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2452 else
2453 if test -n "$EMACS"; then
2454 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2455 else
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 for as_dir in $PATH
2459 IFS=$as_save_IFS
2460 test -z "$as_dir" && as_dir=.
2461 test -d "$as_dir" || continue
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2464 ac_cv_prog_EMACS="$ac_prog"
2465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 break 2
2468 done
2469 done
2470 IFS=$as_save_IFS
2474 EMACS=$ac_cv_prog_EMACS
2475 if test -n "$EMACS"; then
2476 { echo "$as_me:$LINENO: result: $EMACS" >&5
2477 echo "${ECHO_T}$EMACS" >&6; }
2478 else
2479 { echo "$as_me:$LINENO: result: no" >&5
2480 echo "${ECHO_T}no" >&6; }
2484 test -n "$EMACS" && break
2485 done
2486 test -n "$EMACS" || EMACS="no"
2491 # Check whether --with-lispdir was given.
2492 if test "${with_lispdir+set}" = set; then
2493 withval=$with_lispdir; lispdir="$withval"
2494 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2495 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2496 { echo "$as_me:$LINENO: result: $lispdir" >&5
2497 echo "${ECHO_T}$lispdir" >&6; }
2498 else
2500 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2501 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2502 if test "${am_cv_lispdir+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2506 if test $EMACS != "no"; then
2507 if test x${lispdir+set} != xset; then
2508 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2509 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2510 # which is non-obvious for non-emacs users.
2511 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2512 # emacsen earlier and avoid running this altogether.
2513 { (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
2514 ($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
2515 ac_status=$?
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }
2518 am_cv_lispdir=`sed -n \
2519 -e 's,/$,,' \
2520 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2521 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2522 conftest.out`
2523 rm conftest.out
2526 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2529 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2530 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2531 lispdir="$am_cv_lispdir"
2539 ## ------------ ##
2540 ## Grep & sed. ##
2541 ## ------------ ##
2542 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2543 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2544 if test "${ac_cv_path_GREP+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 else
2547 # Extract the first word of "grep ggrep" to use in msg output
2548 if test -z "$GREP"; then
2549 set dummy grep ggrep; ac_prog_name=$2
2550 if test "${ac_cv_path_GREP+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 else
2553 ac_path_GREP_found=false
2554 # Loop through the user's path and test for each of PROGNAME-LIST
2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2558 IFS=$as_save_IFS
2559 test -z "$as_dir" && as_dir=.
2560 test -d "$as_dir" || continue
2561 for ac_prog in grep ggrep; do
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2564 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2565 # Check for GNU ac_path_GREP and select it if it is found.
2566 # Check for GNU $ac_path_GREP
2567 case `"$ac_path_GREP" --version 2>&1` in
2568 *GNU*)
2569 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2571 ac_count=0
2572 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2573 while :
2575 cat "conftest.in" "conftest.in" >"conftest.tmp"
2576 mv "conftest.tmp" "conftest.in"
2577 cp "conftest.in" "conftest.nl"
2578 echo 'GREP' >> "conftest.nl"
2579 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2580 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2581 ac_count=`expr $ac_count + 1`
2582 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2583 # Best one so far, save it but keep looking for a better one
2584 ac_cv_path_GREP="$ac_path_GREP"
2585 ac_path_GREP_max=$ac_count
2587 # 10*(2^10) chars as input seems more than enough
2588 test $ac_count -gt 10 && break
2589 done
2590 rm -f conftest.*;;
2591 esac
2594 $ac_path_GREP_found && break 3
2595 done
2596 done
2598 done
2599 IFS=$as_save_IFS
2604 GREP="$ac_cv_path_GREP"
2605 if test -z "$GREP"; then
2606 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2607 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2608 { (exit 1); exit 1; }; }
2611 else
2612 ac_cv_path_GREP=$GREP
2617 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2618 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2619 GREP="$ac_cv_path_GREP"
2622 { echo "$as_me:$LINENO: checking for egrep" >&5
2623 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2624 if test "${ac_cv_path_EGREP+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 else
2627 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2628 then ac_cv_path_EGREP="$GREP -E"
2629 else
2630 # Extract the first word of "egrep" to use in msg output
2631 if test -z "$EGREP"; then
2632 set dummy egrep; ac_prog_name=$2
2633 if test "${ac_cv_path_EGREP+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 else
2636 ac_path_EGREP_found=false
2637 # Loop through the user's path and test for each of PROGNAME-LIST
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2641 IFS=$as_save_IFS
2642 test -z "$as_dir" && as_dir=.
2643 test -d "$as_dir" || continue
2644 for ac_prog in egrep; do
2645 for ac_exec_ext in '' $ac_executable_extensions; do
2646 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2647 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2648 # Check for GNU ac_path_EGREP and select it if it is found.
2649 # Check for GNU $ac_path_EGREP
2650 case `"$ac_path_EGREP" --version 2>&1` in
2651 *GNU*)
2652 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2654 ac_count=0
2655 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2656 while :
2658 cat "conftest.in" "conftest.in" >"conftest.tmp"
2659 mv "conftest.tmp" "conftest.in"
2660 cp "conftest.in" "conftest.nl"
2661 echo 'EGREP' >> "conftest.nl"
2662 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2663 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2664 ac_count=`expr $ac_count + 1`
2665 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2666 # Best one so far, save it but keep looking for a better one
2667 ac_cv_path_EGREP="$ac_path_EGREP"
2668 ac_path_EGREP_max=$ac_count
2670 # 10*(2^10) chars as input seems more than enough
2671 test $ac_count -gt 10 && break
2672 done
2673 rm -f conftest.*;;
2674 esac
2677 $ac_path_EGREP_found && break 3
2678 done
2679 done
2681 done
2682 IFS=$as_save_IFS
2687 EGREP="$ac_cv_path_EGREP"
2688 if test -z "$EGREP"; then
2689 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2690 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2691 { (exit 1); exit 1; }; }
2694 else
2695 ac_cv_path_EGREP=$EGREP
2701 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2702 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2703 EGREP="$ac_cv_path_EGREP"
2706 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2707 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2708 if test "${ac_cv_path_SED+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 else
2711 # Extract the first word of "sed gsed" to use in msg output
2712 if test -z "$SED"; then
2713 set dummy sed gsed; ac_prog_name=$2
2714 if test "${ac_cv_path_SED+set}" = set; then
2715 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 else
2717 ac_path_SED_found=false
2718 # Loop through the user's path and test for each of PROGNAME-LIST
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 for as_dir in $PATH
2722 IFS=$as_save_IFS
2723 test -z "$as_dir" && as_dir=.
2724 test -d "$as_dir" || continue
2725 for ac_prog in sed gsed; do
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2728 { test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
2729 # Check for GNU ac_path_SED and select it if it is found.
2730 # Check for GNU $ac_path_SED
2731 case `"$ac_path_SED" --version 2>&1` in
2732 *GNU*)
2733 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2735 ac_count=0
2736 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2737 while :
2739 cat "conftest.in" "conftest.in" >"conftest.tmp"
2740 mv "conftest.tmp" "conftest.in"
2741 cp "conftest.in" "conftest.nl"
2742 echo '' >> "conftest.nl"
2743 "$ac_path_SED" -e 's/a$//' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2744 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2745 ac_count=`expr $ac_count + 1`
2746 if test $ac_count -gt ${ac_path_SED_max-0}; then
2747 # Best one so far, save it but keep looking for a better one
2748 ac_cv_path_SED="$ac_path_SED"
2749 ac_path_SED_max=$ac_count
2751 # 10*(2^10) chars as input seems more than enough
2752 test $ac_count -gt 10 && break
2753 done
2754 rm -f conftest.*;;
2755 esac
2758 $ac_path_SED_found && break 3
2759 done
2760 done
2762 done
2763 IFS=$as_save_IFS
2768 SED="$ac_cv_path_SED"
2769 if test -z "$SED"; then
2770 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2771 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2772 { (exit 1); exit 1; }; }
2775 else
2776 ac_cv_path_SED=$SED
2780 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2781 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2782 SED="$ac_cv_path_SED"
2787 ## ------------ ##
2788 ## Conclusion. ##
2789 ## ------------ ##
2791 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"
2794 cat >confcache <<\_ACEOF
2795 # This file is a shell script that caches the results of configure
2796 # tests run on this system so they can be shared between configure
2797 # scripts and configure runs, see configure's option --config-cache.
2798 # It is not useful on other systems. If it contains results you don't
2799 # want to keep, you may remove or edit it.
2801 # config.status only pays attention to the cache file if you give it
2802 # the --recheck option to rerun configure.
2804 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2805 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2806 # following values.
2808 _ACEOF
2810 # The following way of writing the cache mishandles newlines in values,
2811 # but we know of no workaround that is simple, portable, and efficient.
2812 # So, don't put newlines in cache variables' values.
2813 # Ultrix sh set writes to stderr and can't be redirected directly,
2814 # and sets the high bit in the cache file unless we assign to the vars.
2816 (set) 2>&1 |
2817 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2818 *ac_space=\ *)
2819 # `set' does not quote correctly, so add quotes (double-quote
2820 # substitution turns \\\\ into \\, and sed turns \\ into \).
2821 sed -n \
2822 "s/'/'\\\\''/g;
2823 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2826 # `set' quotes correctly as required by POSIX, so do not add quotes.
2827 sed -n \
2828 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2830 esac;
2832 sed '
2833 t clear
2834 :clear
2835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2836 t end
2837 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2838 :end' >>confcache
2839 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2840 if test -w $cache_file; then
2841 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2842 cat confcache >$cache_file
2843 else
2844 echo "not updating unwritable cache $cache_file"
2847 rm -f confcache
2849 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2850 # Let make expand exec_prefix.
2851 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2853 # Transform confdefs.h into DEFS.
2854 # Protect against shell expansion while executing Makefile rules.
2855 # Protect against Makefile macro expansion.
2857 # If the first sed substitution is executed (which looks for macros that
2858 # take arguments), then we branch to the quote section. Otherwise,
2859 # look for a macro that doesn't take arguments.
2860 cat >confdef2opt.sed <<\_ACEOF
2861 t clear
2862 :clear
2863 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2864 t quote
2865 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2866 t quote
2868 :quote
2869 s/[ `~#$^&*(){}\\|;'"<>?]/\\&/g
2870 s/\[/\\&/g
2871 s/\]/\\&/g
2872 s/\$/$$/g
2874 _ACEOF
2875 # We use echo to avoid assuming a particular line-breaking character.
2876 # The extra dot is to prevent the shell from consuming trailing
2877 # line-breaks from the sub-command output. A line-break within
2878 # single-quotes doesn't work because, if this script is created in a
2879 # platform that uses two characters for line-breaks (e.g., DOS), tr
2880 # would break.
2881 ac_LF_and_DOT=`echo; echo .`
2882 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2883 rm -f confdef2opt.sed
2886 ac_libobjs=
2887 ac_ltlibobjs=
2888 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2889 # 1. Remove the extension, and $U if already installed.
2890 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2891 ac_i=`echo "$ac_i" | sed "$ac_script"`
2892 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2893 # will be set to the directory where LIBOBJS objects are built.
2894 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2895 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2896 done
2897 LIBOBJS=$ac_libobjs
2899 LTLIBOBJS=$ac_ltlibobjs
2903 : ${CONFIG_STATUS=./config.status}
2904 ac_clean_files_save=$ac_clean_files
2905 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2906 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2907 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2908 cat >$CONFIG_STATUS <<_ACEOF
2909 #! $SHELL
2910 # Generated by $as_me.
2911 # Run this file to recreate the current configuration.
2912 # Compiler output produced by configure, useful for debugging
2913 # configure, is in config.log if it exists.
2915 debug=false
2916 ac_cs_recheck=false
2917 ac_cs_silent=false
2918 SHELL=\${CONFIG_SHELL-$SHELL}
2919 _ACEOF
2921 cat >>$CONFIG_STATUS <<\_ACEOF
2922 ## --------------------- ##
2923 ## M4sh Initialization. ##
2924 ## --------------------- ##
2926 # Be Bourne compatible
2927 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2928 emulate sh
2929 NULLCMD=:
2930 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2931 # is contrary to our usage. Disable this feature.
2932 alias -g '${1+"$@"}'='"$@"'
2933 setopt NO_GLOB_SUBST
2934 else
2935 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2938 DUALCASE=1; export DUALCASE # for MKS sh
2940 # PATH needs CR
2941 # Avoid depending upon Character Ranges.
2942 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2943 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2944 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2945 as_cr_digits='0123456789'
2946 as_cr_alnum=$as_cr_Letters$as_cr_digits
2948 # The user is always right.
2949 if test "${PATH_SEPARATOR+set}" != set; then
2950 echo "#! /bin/sh" >conf$$.sh
2951 echo "exit 0" >>conf$$.sh
2952 chmod +x conf$$.sh
2953 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2954 PATH_SEPARATOR=';'
2955 else
2956 PATH_SEPARATOR=:
2958 rm -f conf$$.sh
2961 # Support unset when possible.
2962 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2963 as_unset=unset
2964 else
2965 as_unset=false
2969 # IFS
2970 # We need space, tab and new line, in precisely that order. Quoting is
2971 # there to prevent editors from complaining about space-tab.
2972 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2973 # splitting by setting IFS to empty value.)
2974 as_nl='
2976 IFS=" "" $as_nl"
2978 # Find who we are. Look in the path if we contain no directory separator.
2979 case $0 in
2980 *[\\/]* ) as_myself=$0 ;;
2981 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 for as_dir in $PATH
2984 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=.
2986 test -d "$as_dir" || continue
2987 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2988 done
2989 IFS=$as_save_IFS
2992 esac
2993 # We did not find ourselves, most probably we were run as `sh COMMAND'
2994 # in which case we are not to be found in the path.
2995 if test "x$as_myself" = x; then
2996 as_myself=$0
2998 if test ! -f "$as_myself"; then
2999 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
3000 { (exit 1); exit 1; }; }
3003 # Work around bugs in pre-3.0 UWIN ksh.
3004 for as_var in ENV MAIL MAILPATH
3005 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3006 done
3007 PS1='$ '
3008 PS2='> '
3009 PS4='+ '
3011 # NLS nuisances.
3012 for as_var in \
3013 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3014 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3015 LC_TELEPHONE LC_TIME
3017 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3018 eval $as_var=C; export $as_var
3019 else
3020 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3022 done
3024 # Required to use basename.
3025 if expr a : '\(a\)' >/dev/null 2>&1 &&
3026 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3027 as_expr=expr
3028 else
3029 as_expr=false
3032 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3033 as_basename=basename
3034 else
3035 as_basename=false
3039 # Name of the executable.
3040 as_me=`$as_basename "$0" ||
3041 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3042 X"$0" : 'X\(//\)$' \| \
3043 X"$0" : 'X\(/\)' \| \
3044 . : '\(.\)' 2>/dev/null ||
3045 echo X/"$0" |
3046 sed '/^.*\/\([^/][^/]*\)\/*$/{
3047 s//\1/
3050 /^X\/\(\/\/\)$/{
3051 s//\1/
3054 /^X\/\(\/\).*/{
3055 s//\1/
3058 s/.*/./; q'`
3060 # CDPATH.
3061 $as_unset CDPATH
3065 as_lineno_1=$LINENO
3066 as_lineno_2=$LINENO
3067 test "x$as_lineno_1" != "x$as_lineno_2" &&
3068 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3070 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3071 # uniformly replaced by the line number. The first 'sed' inserts a
3072 # line-number line after each line using $LINENO; the second 'sed'
3073 # does the real work. The second script uses 'N' to pair each
3074 # line-number line with the line containing $LINENO, and appends
3075 # trailing '-' during substitution so that $LINENO is not a special
3076 # case at line end.
3077 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3078 # scripts with optimization help from Paolo Bonzini. Blame Lee
3079 # E. McMahon (1931-1989) for sed's syntax. :-)
3080 sed -n '
3082 /[$]LINENO/=
3083 ' <$as_myself |
3084 sed '
3085 s/[$]LINENO.*/&-/
3086 t lineno
3088 :lineno
3090 :loop
3091 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3092 t loop
3093 s/-\n.*//
3094 ' >$as_me.lineno &&
3095 chmod +x "$as_me.lineno" ||
3096 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3097 { (exit 1); exit 1; }; }
3099 # Don't try to exec as it changes $[0], causing all sort of problems
3100 # (the dirname of $[0] is not the place where we might find the
3101 # original and so on. Autoconf is especially sensitive to this).
3102 . "./$as_me.lineno"
3103 # Exit status is that of the last command.
3104 exit
3108 if (dirname /) >/dev/null 2>&1; then
3109 as_dirname=dirname
3110 else
3111 as_dirname=false
3114 ECHO_C= ECHO_N= ECHO_T=
3115 case `echo -n x` in
3116 -n*)
3117 case `echo 'x\c'` in
3118 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3119 *) ECHO_C='\c';;
3120 esac;;
3122 ECHO_N='-n';;
3123 esac
3125 if expr a : '\(a\)' >/dev/null 2>&1 &&
3126 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3127 as_expr=expr
3128 else
3129 as_expr=false
3132 rm -f conf$$ conf$$.exe conf$$.file
3133 echo >conf$$.file
3134 if ln -s conf$$.file conf$$ 2>/dev/null; then
3135 # We could just check for DJGPP; but this test a) works b) is more generic
3136 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3137 if test -f conf$$.exe; then
3138 # Don't use ln at all; we don't have any links
3139 as_ln_s='cp -p'
3140 else
3141 as_ln_s='ln -s'
3143 elif ln conf$$.file conf$$ 2>/dev/null; then
3144 as_ln_s=ln
3145 else
3146 as_ln_s='cp -p'
3148 rm -f conf$$ conf$$.exe conf$$.file
3150 if mkdir -p . 2>/dev/null; then
3151 as_mkdir_p=:
3152 else
3153 test -d ./-p && rmdir ./-p
3154 as_mkdir_p=false
3157 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3158 # systems may use methods other than mode bits to determine executability.
3159 cat >conf$$.file <<_ASEOF
3160 #! /bin/sh
3161 exit 0
3162 _ASEOF
3163 chmod +x conf$$.file
3164 if test -x conf$$.file >/dev/null 2>&1; then
3165 as_executable_p="test -x"
3166 else
3167 as_executable_p=:
3169 rm -f conf$$.file
3171 # Sed expression to map a string onto a valid CPP name.
3172 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3174 # Sed expression to map a string onto a valid variable name.
3175 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3178 exec 6>&1
3180 # Save the log message, to keep $[0] and so on meaningful, and to
3181 # report actual input values of CONFIG_FILES etc. instead of their
3182 # values after options handling.
3183 ac_log="
3184 This file was extended by GNU Autoconf $as_me 2.59c, which was
3185 generated by GNU Autoconf 2.59c. Invocation command line was
3187 CONFIG_FILES = $CONFIG_FILES
3188 CONFIG_HEADERS = $CONFIG_HEADERS
3189 CONFIG_LINKS = $CONFIG_LINKS
3190 CONFIG_COMMANDS = $CONFIG_COMMANDS
3191 $ $0 $@
3193 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3196 _ACEOF
3198 cat >>$CONFIG_STATUS <<_ACEOF
3199 # Files that config.status was made for.
3200 config_files="$ac_config_files"
3201 config_commands="$ac_config_commands"
3203 _ACEOF
3205 cat >>$CONFIG_STATUS <<\_ACEOF
3206 ac_cs_usage="\
3207 \`$as_me' instantiates files from templates according to the
3208 current configuration.
3210 Usage: $0 [OPTIONS] [FILE]...
3212 -h, --help print this help, then exit
3213 -V, --version print version number, then exit
3214 -q, --quiet do not print progress messages
3215 -d, --debug don't remove temporary files
3216 --recheck update $as_me by reconfiguring in the same conditions
3217 --file=FILE[:TEMPLATE]
3218 instantiate the configuration file FILE
3220 Configuration files:
3221 $config_files
3223 Configuration commands:
3224 $config_commands
3226 Report bugs to <bug-autoconf@gnu.org>."
3228 _ACEOF
3229 cat >>$CONFIG_STATUS <<_ACEOF
3230 ac_cs_version="\\
3231 GNU Autoconf config.status 2.59c
3232 configured by $0, generated by GNU Autoconf 2.59c,
3233 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3235 Copyright (C) 2006 Free Software Foundation, Inc.
3236 This config.status script is free software; the Free Software Foundation
3237 gives unlimited permission to copy, distribute and modify it."
3239 ac_pwd='$ac_pwd'
3240 srcdir='$srcdir'
3241 INSTALL='$INSTALL'
3243 _ACEOF
3245 cat >>$CONFIG_STATUS <<\_ACEOF
3246 # If no file are specified by the user, then we need to provide default
3247 # value. By we need to know if files were specified by the user.
3248 ac_need_defaults=:
3249 while test $# != 0
3251 case $1 in
3252 --*=*)
3253 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3254 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3255 ac_shift=:
3258 ac_option=$1
3259 ac_optarg=$2
3260 ac_shift=shift
3262 esac
3264 case $ac_option in
3265 # Handling of the options.
3266 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3267 ac_cs_recheck=: ;;
3268 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3269 echo "$ac_cs_version"; exit ;;
3270 --debug | --debu | --deb | --de | --d | -d )
3271 debug=: ;;
3272 --file | --fil | --fi | --f )
3273 $ac_shift
3274 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3275 ac_need_defaults=false;;
3276 --he | --h | --help | --hel | -h )
3277 echo "$ac_cs_usage"; exit ;;
3278 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3279 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3280 ac_cs_silent=: ;;
3282 # This is an error.
3283 -*) { echo "$as_me: error: unrecognized option: $1
3284 Try \`$0 --help' for more information." >&2
3285 { (exit 1); exit 1; }; } ;;
3287 *) ac_config_targets="$ac_config_targets $1"
3288 ac_need_defaults=false ;;
3290 esac
3291 shift
3292 done
3294 ac_configure_extra_args=
3296 if $ac_cs_silent; then
3297 exec 6>/dev/null
3298 ac_configure_extra_args="$ac_configure_extra_args --silent"
3301 exec 5>>config.log
3303 echo
3304 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3305 ## Running $as_me. ##
3306 _ASBOX
3307 echo "$ac_log"
3308 } >&5
3310 _ACEOF
3311 cat >>$CONFIG_STATUS <<_ACEOF
3312 if \$ac_cs_recheck; then
3313 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3314 CONFIG_SHELL=$SHELL
3315 export CONFIG_SHELL
3316 exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3318 _ACEOF
3320 cat >>$CONFIG_STATUS <<\_ACEOF
3322 # Handling of arguments.
3323 for ac_config_target in $ac_config_targets
3325 case $ac_config_target in
3326 config/Makefile) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3327 tests/atconfig) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3328 tests/Makefile) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3329 tests/atlocal) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3330 man/Makefile) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3331 lib/emacs/Makefile) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3332 Makefile) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3333 doc/Makefile) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3334 lib/Makefile) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3335 lib/Autom4te/Makefile) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3336 lib/autoscan/Makefile) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3337 lib/m4sugar/Makefile) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3338 lib/autoconf/Makefile) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3339 lib/autotest/Makefile) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3340 bin/Makefile) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3342 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3343 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3344 { (exit 1); exit 1; }; };;
3345 esac
3346 done
3349 # If the user did not use the arguments to specify the items to instantiate,
3350 # then the envvar interface is used. Set only those that are not.
3351 # We use the long form for the default assignment because of an extremely
3352 # bizarre bug on SunOS 4.1.3.
3353 if $ac_need_defaults; then
3354 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3355 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3358 # Have a temporary directory for convenience. Make it in the build tree
3359 # simply because there is no reason against having it here, and in addition,
3360 # creating and moving files from /tmp can sometimes cause problems.
3361 # Hook for its removal unless debugging.
3362 # Note that there is a small window in which the directory will not be cleaned:
3363 # after its creation but before its name has been assigned to `$tmp'.
3364 $debug ||
3366 tmp=
3367 trap 'exit_status=$?
3368 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3370 trap '{ (exit 1); exit 1; }' 1 2 13 15
3372 # Create a (secure) tmp directory for tmp files.
3375 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3376 test -n "$tmp" && test -d "$tmp"
3377 } ||
3379 tmp=./conf$$-$RANDOM
3380 (umask 077 && mkdir "$tmp")
3381 } ||
3383 echo "$me: cannot create a temporary directory in ." >&2
3384 { (exit 1); exit 1; }
3388 # Set up the sed scripts for CONFIG_FILES section.
3391 # No need to generate the scripts if there are no CONFIG_FILES.
3392 # This happens for instance when ./config.status config.h
3393 if test -n "$CONFIG_FILES"; then
3395 _ACEOF
3399 ac_delim='%!_!# '
3400 for ac_last_try in false false false false false :; do
3401 cat >conf$$subs.sed <<_ACEOF
3402 SHELL!$SHELL$ac_delim
3403 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3404 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3405 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3406 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3407 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3408 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3409 exec_prefix!$exec_prefix$ac_delim
3410 prefix!$prefix$ac_delim
3411 program_transform_name!$program_transform_name$ac_delim
3412 bindir!$bindir$ac_delim
3413 sbindir!$sbindir$ac_delim
3414 libexecdir!$libexecdir$ac_delim
3415 datarootdir!$datarootdir$ac_delim
3416 datadir!$datadir$ac_delim
3417 sysconfdir!$sysconfdir$ac_delim
3418 sharedstatedir!$sharedstatedir$ac_delim
3419 localstatedir!$localstatedir$ac_delim
3420 includedir!$includedir$ac_delim
3421 oldincludedir!$oldincludedir$ac_delim
3422 docdir!$docdir$ac_delim
3423 infodir!$infodir$ac_delim
3424 htmldir!$htmldir$ac_delim
3425 dvidir!$dvidir$ac_delim
3426 pdfdir!$pdfdir$ac_delim
3427 psdir!$psdir$ac_delim
3428 libdir!$libdir$ac_delim
3429 localedir!$localedir$ac_delim
3430 mandir!$mandir$ac_delim
3431 DEFS!$DEFS$ac_delim
3432 ECHO_C!$ECHO_C$ac_delim
3433 ECHO_N!$ECHO_N$ac_delim
3434 ECHO_T!$ECHO_T$ac_delim
3435 LIBS!$LIBS$ac_delim
3436 build_alias!$build_alias$ac_delim
3437 host_alias!$host_alias$ac_delim
3438 target_alias!$target_alias$ac_delim
3439 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3440 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3441 INSTALL_DATA!$INSTALL_DATA$ac_delim
3442 CYGPATH_W!$CYGPATH_W$ac_delim
3443 PACKAGE!$PACKAGE$ac_delim
3444 VERSION!$VERSION$ac_delim
3445 ACLOCAL!$ACLOCAL$ac_delim
3446 AUTOCONF!$AUTOCONF$ac_delim
3447 AUTOMAKE!$AUTOMAKE$ac_delim
3448 AUTOHEADER!$AUTOHEADER$ac_delim
3449 MAKEINFO!$MAKEINFO$ac_delim
3450 install_sh!$install_sh$ac_delim
3451 STRIP!$STRIP$ac_delim
3452 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3453 mkdir_p!$mkdir_p$ac_delim
3454 AWK!$AWK$ac_delim
3455 SET_MAKE!$SET_MAKE$ac_delim
3456 am__leading_dot!$am__leading_dot$ac_delim
3457 AMTAR!$AMTAR$ac_delim
3458 am__tar!$am__tar$ac_delim
3459 am__untar!$am__untar$ac_delim
3460 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3461 EXPR!$EXPR$ac_delim
3462 M4!$M4$ac_delim
3463 HELP2MAN!$HELP2MAN$ac_delim
3464 PERL!$PERL$ac_delim
3465 TEST_EMACS!$TEST_EMACS$ac_delim
3466 EMACS!$EMACS$ac_delim
3467 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3468 lispdir!$lispdir$ac_delim
3469 GREP!$GREP$ac_delim
3470 EGREP!$EGREP$ac_delim
3471 SED!$SED$ac_delim
3472 LIBOBJS!$LIBOBJS$ac_delim
3473 LTLIBOBJS!$LTLIBOBJS$ac_delim
3474 _ACEOF
3476 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 72; then
3477 break
3478 elif $ac_last_try; then
3479 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3480 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3481 { (exit 1); exit 1; }; }
3482 else
3483 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3485 done
3487 ac_eof=
3488 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
3489 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3490 ac_eof=`expr 0$ac_eof + 1`
3493 cat >>$CONFIG_STATUS <<_ACEOF
3494 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3495 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3496 _ACEOF
3497 sed '
3498 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3499 s/^/s,@/; s/!/@,|#_!!_#|/
3502 s/'"$ac_delim"'$/,g/; t
3503 s/$/\\/; p
3504 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3505 ' >>$CONFIG_STATUS <conf$$subs.sed
3506 rm -f conf$$subs.sed
3507 cat >>$CONFIG_STATUS <<_ACEOF
3508 :end
3509 s/|#_!!_#|//g
3510 CEOF$ac_eof
3511 _ACEOF
3514 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3515 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3516 # trailing colons and then remove the whole line if VPATH becomes empty
3517 # (actually we leave an empty line to preserve line numbers).
3518 if test "x$srcdir" = x.; then
3519 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3520 s/:*\$(srcdir):*/:/
3521 s/:*\${srcdir}:*/:/
3522 s/:*@srcdir@:*/:/
3523 s/^\([^=]*=[ ]*\):*/\1/
3524 s/:*$//
3525 s/^[^=]*=[ ]*$//
3529 cat >>$CONFIG_STATUS <<\_ACEOF
3530 fi # test -n "$CONFIG_FILES"
3533 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3535 case $ac_tag in
3536 :[FHLC]) ac_mode=$ac_tag; continue;;
3537 esac
3538 case $ac_mode$ac_tag in
3539 :[FHL]*:*);;
3540 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3541 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3542 { (exit 1); exit 1; }; };;
3543 :[FH]-) ac_tag=-:-;;
3544 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3545 esac
3546 ac_save_IFS=$IFS
3547 IFS=:
3548 set x $ac_tag
3549 IFS=$ac_save_IFS
3550 shift
3551 ac_file=$1
3552 shift
3554 case $ac_mode in
3555 :L) ac_source=$1;;
3556 :[FH])
3557 ac_file_inputs=
3558 for ac_f
3560 case $ac_f in
3561 -) ac_f="$tmp/stdin";;
3562 *) # Look for the file first in the build tree, then in the source tree
3563 # (if the path is not absolute). The absolute path cannot be DOS-style,
3564 # because $ac_f cannot contain `:'.
3565 test -f "$ac_f" ||
3566 case $ac_f in
3567 [\\/$]*) false;;
3568 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3569 esac ||
3570 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3571 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3572 { (exit 1); exit 1; }; };;
3573 esac
3574 ac_file_inputs="$ac_file_inputs $ac_f"
3575 done
3577 # Let's still pretend it is `configure' which instantiates (i.e., don't
3578 # use $as_me), people would be surprised to read:
3579 # /* config.h. Generated by config.status. */
3580 configure_input="Generated from "`IFS=:
3581 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3582 if test x"$ac_file" != x-; then
3583 configure_input="$ac_file. $configure_input"
3584 { echo "$as_me:$LINENO: creating $ac_file" >&5
3585 echo "$as_me: creating $ac_file" >&6;}
3588 case $ac_tag in
3589 *:-:* | *:-) cat >"$tmp/stdin";;
3590 esac
3592 esac
3594 ac_dir=`$as_dirname "$ac_file" ||
3595 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3596 X"$ac_file" : 'X\(//\)[^/]' \| \
3597 X"$ac_file" : 'X\(//\)$' \| \
3598 X"$ac_file" : 'X\(/\)' \| \
3599 . : '\(.\)' 2>/dev/null ||
3600 echo X"$ac_file" |
3601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3602 s//\1/
3605 /^X\(\/\/\)[^/].*/{
3606 s//\1/
3609 /^X\(\/\/\)$/{
3610 s//\1/
3613 /^X\(\/\).*/{
3614 s//\1/
3617 s/.*/./; q'`
3618 { if $as_mkdir_p; then
3619 test -d "$ac_dir" || mkdir -p "$ac_dir"
3620 else
3621 as_dir="$ac_dir"
3622 as_dirs=
3623 while test ! -d "$as_dir"; do
3624 as_dirs="$as_dir $as_dirs"
3625 as_dir=`$as_dirname "$as_dir" ||
3626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3627 X"$as_dir" : 'X\(//\)[^/]' \| \
3628 X"$as_dir" : 'X\(//\)$' \| \
3629 X"$as_dir" : 'X\(/\)' \| \
3630 . : '\(.\)' 2>/dev/null ||
3631 echo X"$as_dir" |
3632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3633 s//\1/
3636 /^X\(\/\/\)[^/].*/{
3637 s//\1/
3640 /^X\(\/\/\)$/{
3641 s//\1/
3644 /^X\(\/\).*/{
3645 s//\1/
3648 s/.*/./; q'`
3649 done
3650 test ! -n "$as_dirs" || mkdir $as_dirs
3651 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3652 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3653 { (exit 1); exit 1; }; }; }
3654 ac_builddir=.
3656 case "$ac_dir" in
3657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3659 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3660 # A ".." for each directory in $ac_dir_suffix.
3661 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3662 case $ac_top_builddir_sub in
3663 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3664 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3665 esac ;;
3666 esac
3667 ac_abs_top_builddir=$ac_pwd
3668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3669 # for backward compatibility:
3670 ac_top_builddir=$ac_top_build_prefix
3672 case $srcdir in
3673 .) # We are building in place.
3674 ac_srcdir=.
3675 ac_top_srcdir=$ac_top_builddir_sub
3676 ac_abs_top_srcdir=$ac_pwd ;;
3677 [\\/]* | ?:[\\/]* ) # Absolute name.
3678 ac_srcdir=$srcdir$ac_dir_suffix;
3679 ac_top_srcdir=$srcdir
3680 ac_abs_top_srcdir=$srcdir ;;
3681 *) # Relative name.
3682 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3683 ac_top_srcdir=$ac_top_build_prefix$srcdir
3684 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3685 esac
3686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3689 case $ac_mode in
3692 # CONFIG_FILE
3695 case $INSTALL in
3696 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3697 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3698 esac
3700 _ACEOF
3702 # Neutralize VPATH when `$srcdir' = `.'.
3703 # Shell code in configure.ac might set extrasub.
3704 # FIXME: do we really want to maintain this feature?
3705 cat >>$CONFIG_STATUS <<_ACEOF
3706 sed "$ac_vpsub
3707 $extrasub
3708 _ACEOF
3709 cat >>$CONFIG_STATUS <<\_ACEOF
3711 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3712 s&@configure_input@&$configure_input&;t t
3713 s&@top_builddir@&$ac_top_builddir_sub&;t t
3714 s&@srcdir@&$ac_srcdir&;t t
3715 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3716 s&@top_srcdir@&$ac_top_srcdir&;t t
3717 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3718 s&@builddir@&$ac_builddir&;t t
3719 s&@abs_builddir@&$ac_abs_builddir&;t t
3720 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3721 s&@INSTALL@&$ac_INSTALL&;t t
3722 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3724 rm -f "$tmp/stdin"
3725 case $ac_file in
3726 -) cat "$tmp/out"; rm -f "$tmp/out";;
3727 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3728 esac
3732 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3733 echo "$as_me: executing $ac_file commands" >&6;}
3735 esac
3738 case $ac_file$ac_mode in
3739 tests/atconfig:C) cat >tests/atconfig <<ATEOF
3740 # Configurable variable values for building test suites.
3741 # Generated by $0.
3742 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3744 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3745 at_testdir='tests'
3746 abs_builddir='$ac_abs_builddir'
3747 at_srcdir='$ac_srcdir'
3748 abs_srcdir='$ac_abs_srcdir'
3749 at_top_srcdir='$ac_top_srcdir'
3750 abs_top_srcdir='$ac_abs_top_srcdir'
3751 at_top_build_prefix='$ac_top_build_prefix'
3752 abs_top_builddir='$ac_abs_top_builddir'
3754 # Backward compatibility with Autotest <= 2.59b:
3755 at_top_builddir=\$at_top_build_prefix
3757 AUTOTEST_PATH='tests'
3759 SHELL=\${CONFIG_SHELL-'$SHELL'}
3760 ATEOF
3763 esac
3764 done # for ac_tag
3767 { (exit 0); exit 0; }
3768 _ACEOF
3769 chmod +x $CONFIG_STATUS
3770 ac_clean_files=$ac_clean_files_save
3773 # configure is writing to config.log, and then calls config.status.
3774 # config.status does its own redirection, appending to config.log.
3775 # Unfortunately, on DOS this fails, as config.log is still kept open
3776 # by configure, so config.status won't be able to write to it; its
3777 # output is simply discarded. So we exec the FD to /dev/null,
3778 # effectively closing config.log, so it can be properly (re)opened and
3779 # appended to by config.status. When coming back to configure, we
3780 # need to make the FD available again.
3781 if test "$no_create" != yes; then
3782 ac_cs_success=:
3783 ac_config_status_args=
3784 test "$silent" = yes &&
3785 ac_config_status_args="$ac_config_status_args --quiet"
3786 exec 5>/dev/null
3787 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3788 exec 5>>config.log
3789 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3790 # would make configure fail if this is the last instruction.
3791 $ac_cs_success || { (exit 1); exit 1; }
3794 # Report the state of this version of Autoconf if this is a beta.
3795 cat <<EOF
3797 You are about to use an experimental version of Autoconf. Be sure to
3798 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3800 Below you will find information on the status of this version of Autoconf.
3804 sed -n '/^\* Status/,$p' $srcdir/BUGS