Change <space>''<tab> to <tab><space> where that makes sense.
[autoconf.git] / configure
blob22ca0be7a742e2930685f7687bc247823003afd3
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\(/\)' \| . 2>/dev/null ||
133 echo X/"$0" |
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
135 s//\1/
138 /^X\/\(\/\/\)$/{
139 s//\1/
142 /^X\/\(\/\).*/{
143 s//\1/
146 s/.*/./; q'`
148 # CDPATH.
149 $as_unset CDPATH
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
154 as_have_required=yes
155 else
156 as_have_required=no
159 if test $as_have_required = yes && (eval ":
160 (as_func_return () {
161 (exit \$1)
163 as_func_success () {
164 as_func_return 0
166 as_func_failure () {
167 as_func_return 1
169 as_func_ret_success () {
170 return 0
172 as_func_ret_failure () {
173 return 1
176 exitcode=0
177 if as_func_success; then
179 else
180 exitcode=1
181 echo as_func_success failed.
184 if as_func_failure; then
185 exitcode=1
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
191 else
192 exitcode=1
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 else
204 exitcode=1
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
211 as_lineno_1=\$LINENO
212 as_lineno_2=\$LINENO
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
217 else
218 as_candidate_shells=
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 test -d "$as_dir" || continue
225 case $as_dir in
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done
230 esac
231 done
232 IFS=$as_save_IFS
235 for as_shell in $as_candidate_shells $SHELL; do
236 if { ($as_shell) 2> /dev/null <<\_ASEOF
237 # Be Bourne compatible
238 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
239 emulate sh
240 NULLCMD=:
241 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
242 # is contrary to our usage. Disable this feature.
243 alias -g '${1+"$@"}'='"$@"'
244 setopt NO_GLOB_SUBST
245 else
246 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
250 _ASEOF
251 }; then
252 CONFIG_SHELL=$as_shell
253 as_have_required=yes
254 if { $as_shell 2> /dev/null <<\_ASEOF
255 # Be Bourne compatible
256 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
257 emulate sh
258 NULLCMD=:
259 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
260 # is contrary to our usage. Disable this feature.
261 alias -g '${1+"$@"}'='"$@"'
262 setopt NO_GLOB_SUBST
263 else
264 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
268 (as_func_return () {
269 (exit $1)
271 as_func_success () {
272 as_func_return 0
274 as_func_failure () {
275 as_func_return 1
277 as_func_ret_success () {
278 return 0
280 as_func_ret_failure () {
281 return 1
284 exitcode=0
285 if as_func_success; then
287 else
288 exitcode=1
289 echo as_func_success failed.
292 if as_func_failure; then
293 exitcode=1
294 echo as_func_failure succeeded.
297 if as_func_ret_success; then
299 else
300 exitcode=1
301 echo as_func_ret_success failed.
304 if as_func_ret_failure; then
305 exitcode=1
306 echo as_func_ret_failure succeeded.
309 if ( set x; as_func_ret_success y && test x = "$1" ); then
311 else
312 exitcode=1
313 echo positional parameters were not saved.
316 test $exitcode = 0) || { (exit 1); exit 1; }
319 as_lineno_1=$LINENO
320 as_lineno_2=$LINENO
321 test "x$as_lineno_1" != "x$as_lineno_2" &&
322 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
324 _ASEOF
325 }; then
326 break
331 done
333 if test "x$CONFIG_SHELL" != x; then
334 for as_var in BASH_ENV ENV
335 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
336 done
337 export CONFIG_SHELL
338 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
342 if test $as_have_required = no; then
343 echo This script requires a shell more modern than all the
344 echo shells that I found on your system. Please install a
345 echo modern shell, or manually run the script under such a
346 echo shell if you do have one.
347 { (exit 1); exit 1; }
357 (eval "as_func_return () {
358 (exit \$1)
360 as_func_success () {
361 as_func_return 0
363 as_func_failure () {
364 as_func_return 1
366 as_func_ret_success () {
367 return 0
369 as_func_ret_failure () {
370 return 1
373 exitcode=0
374 if as_func_success; then
376 else
377 exitcode=1
378 echo as_func_success failed.
381 if as_func_failure; then
382 exitcode=1
383 echo as_func_failure succeeded.
386 if as_func_ret_success; then
388 else
389 exitcode=1
390 echo as_func_ret_success failed.
393 if as_func_ret_failure; then
394 exitcode=1
395 echo as_func_ret_failure succeeded.
398 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
400 else
401 exitcode=1
402 echo positional parameters were not saved.
405 test \$exitcode = 0") || {
406 echo No shell found that supports shell functions.
407 echo Please tell autoconf@gnu.org about your system,
408 echo including any error possibly output before this
409 echo message
414 as_lineno_1=$LINENO
415 as_lineno_2=$LINENO
416 test "x$as_lineno_1" != "x$as_lineno_2" &&
417 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
419 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
420 # uniformly replaced by the line number. The first 'sed' inserts a
421 # line-number line after each line using $LINENO; the second 'sed'
422 # does the real work. The second script uses 'N' to pair each
423 # line-number line with the line containing $LINENO, and appends
424 # trailing '-' during substitution so that $LINENO is not a special
425 # case at line end.
426 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
427 # scripts with optimization help from Paolo Bonzini. Blame Lee
428 # E. McMahon (1931-1989) for sed's syntax. :-)
429 sed -n '
431 /[$]LINENO/=
432 ' <$as_myself |
433 sed '
434 s/[$]LINENO.*/&-/
435 t lineno
437 :lineno
439 :loop
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 t loop
442 s/-\n.*//
443 ' >$as_me.lineno &&
444 chmod +x "$as_me.lineno" ||
445 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
446 { (exit 1); exit 1; }; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
451 . "./$as_me.lineno"
452 # Exit status is that of the last command.
453 exit
457 if (dirname /) >/dev/null 2>&1; then
458 as_dirname=dirname
459 else
460 as_dirname=false
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in
465 -n*)
466 case `echo 'x\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 *) ECHO_C='\c';;
469 esac;;
471 ECHO_N='-n';;
472 esac
474 if expr a : '\(a\)' >/dev/null 2>&1 &&
475 test "X`expr 00001 : '.*\(...\)'`" = X001; then
476 as_expr=expr
477 else
478 as_expr=false
481 rm -f conf$$ conf$$.exe conf$$.file
482 echo >conf$$.file
483 if ln -s conf$$.file conf$$ 2>/dev/null; then
484 # We could just check for DJGPP; but this test a) works b) is more generic
485 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
486 if test -f conf$$.exe; then
487 # Don't use ln at all; we don't have any links
488 as_ln_s='cp -p'
489 else
490 as_ln_s='ln -s'
492 elif ln conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s=ln
494 else
495 as_ln_s='cp -p'
497 rm -f conf$$ conf$$.exe conf$$.file
499 if mkdir -p . 2>/dev/null; then
500 as_mkdir_p=:
501 else
502 test -d ./-p && rmdir ./-p
503 as_mkdir_p=false
506 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
507 # systems may use methods other than mode bits to determine executability.
508 cat >conf$$.file <<_ASEOF
509 #! /bin/sh
510 exit 0
511 _ASEOF
512 chmod +x conf$$.file
513 if test -x conf$$.file >/dev/null 2>&1; then
514 as_executable_p="test -x"
515 else
516 as_executable_p=:
518 rm -f conf$$.file
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 exec 7<&0 </dev/null 6>&1
530 # Name of the host.
531 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
532 # so uname gets run too.
533 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 # Initializations.
538 ac_default_prefix=/usr/local
539 ac_clean_files=
540 ac_config_libobj_dir=.
541 LIBOBJS=
542 cross_compiling=no
543 subdirs=
544 MFLAGS=
545 MAKEFLAGS=
546 SHELL=${CONFIG_SHELL-/bin/sh}
548 # Identity of this package.
549 PACKAGE_NAME='GNU Autoconf'
550 PACKAGE_TARNAME='autoconf'
551 PACKAGE_VERSION='2.59c'
552 PACKAGE_STRING='GNU Autoconf 2.59c'
553 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
555 ac_unique_file="ChangeLog"
556 ac_subst_vars='SHELL
557 PATH_SEPARATOR
558 PACKAGE_NAME
559 PACKAGE_TARNAME
560 PACKAGE_VERSION
561 PACKAGE_STRING
562 PACKAGE_BUGREPORT
563 exec_prefix
564 prefix
565 program_transform_name
566 bindir
567 sbindir
568 libexecdir
569 datarootdir
570 datadir
571 sysconfdir
572 sharedstatedir
573 localstatedir
574 includedir
575 oldincludedir
576 docdir
577 infodir
578 htmldir
579 dvidir
580 pdfdir
581 psdir
582 libdir
583 localedir
584 mandir
585 DEFS
586 ECHO_C
587 ECHO_N
588 ECHO_T
589 LIBS
590 build_alias
591 host_alias
592 target_alias
593 INSTALL_PROGRAM
594 INSTALL_SCRIPT
595 INSTALL_DATA
596 CYGPATH_W
597 PACKAGE
598 VERSION
599 ACLOCAL
600 AUTOCONF
601 AUTOMAKE
602 AUTOHEADER
603 MAKEINFO
604 install_sh
605 STRIP
606 INSTALL_STRIP_PROGRAM
607 mkdir_p
609 SET_MAKE
610 am__leading_dot
611 AMTAR
612 am__tar
613 am__untar
614 ac_cv_sh_n_works
615 EXPR
617 HELP2MAN
618 PERL
619 TEST_EMACS
620 EMACS
621 EMACSLOADPATH
622 lispdir
623 GREP
624 EGREP
626 LIBOBJS
627 LTLIBOBJS'
628 ac_subst_files=''
629 ac_precious_vars='build_alias
630 host_alias
631 target_alias
632 EMACS
633 EMACSLOADPATH'
636 # Initialize some variables set by options.
637 ac_init_help=
638 ac_init_version=false
639 # The variables have the same names as the options, with
640 # dashes changed to underlines.
641 cache_file=/dev/null
642 exec_prefix=NONE
643 no_create=
644 no_recursion=
645 prefix=NONE
646 program_prefix=NONE
647 program_suffix=NONE
648 program_transform_name=s,x,x,
649 silent=
650 site=
651 srcdir=
652 verbose=
653 x_includes=NONE
654 x_libraries=NONE
656 # Installation directory options.
657 # These are left unexpanded so users can "make install exec_prefix=/foo"
658 # and all the variables that are supposed to be based on exec_prefix
659 # by default will actually change.
660 # Use braces instead of parens because sh, perl, etc. also accept them.
661 # (The list follows the same order as the GNU Coding Standards.)
662 bindir='${exec_prefix}/bin'
663 sbindir='${exec_prefix}/sbin'
664 libexecdir='${exec_prefix}/libexec'
665 datarootdir='${prefix}/share'
666 datadir='${datarootdir}'
667 sysconfdir='${prefix}/etc'
668 sharedstatedir='${prefix}/com'
669 localstatedir='${prefix}/var'
670 includedir='${prefix}/include'
671 oldincludedir='/usr/include'
672 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
673 infodir='${datarootdir}/info'
674 htmldir='${docdir}'
675 dvidir='${docdir}'
676 pdfdir='${docdir}'
677 psdir='${docdir}'
678 libdir='${exec_prefix}/lib'
679 localedir='${datarootdir}/locale'
680 mandir='${datarootdir}/man'
682 ac_prev=
683 ac_dashdash=
684 for ac_option
686 # If the previous option needs an argument, assign it.
687 if test -n "$ac_prev"; then
688 eval $ac_prev=\$ac_option
689 ac_prev=
690 continue
693 case $ac_option in
694 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
695 *) ac_optarg=yes ;;
696 esac
698 # Accept the important Cygnus configure options, so we can diagnose typos.
700 case $ac_dashdash$ac_option in
702 ac_dashdash=yes ;;
704 -bindir | --bindir | --bindi | --bind | --bin | --bi)
705 ac_prev=bindir ;;
706 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
707 bindir=$ac_optarg ;;
709 -build | --build | --buil | --bui | --bu)
710 ac_prev=build_alias ;;
711 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
712 build_alias=$ac_optarg ;;
714 -cache-file | --cache-file | --cache-fil | --cache-fi \
715 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
716 ac_prev=cache_file ;;
717 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
718 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
719 cache_file=$ac_optarg ;;
721 --config-cache | -C)
722 cache_file=config.cache ;;
724 -datadir | --datadir | --datadi | --datad)
725 ac_prev=datadir ;;
726 -datadir=* | --datadir=* | --datadi=* | --datad=*)
727 datadir=$ac_optarg ;;
729 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
730 | --dataroo | --dataro | --datar)
731 ac_prev=datarootdir ;;
732 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
733 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
734 datarootdir=$ac_optarg ;;
736 -disable-* | --disable-*)
737 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
741 { (exit 1); exit 1; }; }
742 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
743 eval enable_$ac_feature=no ;;
745 -docdir | --docdir | --docdi | --doc | --do)
746 ac_prev=docdir ;;
747 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
748 docdir=$ac_optarg ;;
750 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
751 ac_prev=dvidir ;;
752 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
753 dvidir=$ac_optarg ;;
755 -enable-* | --enable-*)
756 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
759 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
760 { (exit 1); exit 1; }; }
761 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
762 eval enable_$ac_feature=\$ac_optarg ;;
764 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
765 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
766 | --exec | --exe | --ex)
767 ac_prev=exec_prefix ;;
768 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
769 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
770 | --exec=* | --exe=* | --ex=*)
771 exec_prefix=$ac_optarg ;;
773 -gas | --gas | --ga | --g)
774 # Obsolete; use --with-gas.
775 with_gas=yes ;;
777 -help | --help | --hel | --he | -h)
778 ac_init_help=long ;;
779 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
780 ac_init_help=recursive ;;
781 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
782 ac_init_help=short ;;
784 -host | --host | --hos | --ho)
785 ac_prev=host_alias ;;
786 -host=* | --host=* | --hos=* | --ho=*)
787 host_alias=$ac_optarg ;;
789 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
790 ac_prev=htmldir ;;
791 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
792 | --ht=*)
793 htmldir=$ac_optarg ;;
795 -includedir | --includedir | --includedi | --included | --include \
796 | --includ | --inclu | --incl | --inc)
797 ac_prev=includedir ;;
798 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
799 | --includ=* | --inclu=* | --incl=* | --inc=*)
800 includedir=$ac_optarg ;;
802 -infodir | --infodir | --infodi | --infod | --info | --inf)
803 ac_prev=infodir ;;
804 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
805 infodir=$ac_optarg ;;
807 -libdir | --libdir | --libdi | --libd)
808 ac_prev=libdir ;;
809 -libdir=* | --libdir=* | --libdi=* | --libd=*)
810 libdir=$ac_optarg ;;
812 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
813 | --libexe | --libex | --libe)
814 ac_prev=libexecdir ;;
815 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
816 | --libexe=* | --libex=* | --libe=*)
817 libexecdir=$ac_optarg ;;
819 -localedir | --localedir | --localedi | --localed | --locale)
820 ac_prev=localedir ;;
821 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
822 localedir=$ac_optarg ;;
824 -localstatedir | --localstatedir | --localstatedi | --localstated \
825 | --localstate | --localstat | --localsta | --localst | --locals)
826 ac_prev=localstatedir ;;
827 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
828 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
829 localstatedir=$ac_optarg ;;
831 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
832 ac_prev=mandir ;;
833 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
834 mandir=$ac_optarg ;;
836 -nfp | --nfp | --nf)
837 # Obsolete; use --without-fp.
838 with_fp=no ;;
840 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
841 | --no-cr | --no-c | -n)
842 no_create=yes ;;
844 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
845 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
846 no_recursion=yes ;;
848 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
849 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
850 | --oldin | --oldi | --old | --ol | --o)
851 ac_prev=oldincludedir ;;
852 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
853 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
854 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
855 oldincludedir=$ac_optarg ;;
857 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
858 ac_prev=prefix ;;
859 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
860 prefix=$ac_optarg ;;
862 -program-prefix | --program-prefix | --program-prefi | --program-pref \
863 | --program-pre | --program-pr | --program-p)
864 ac_prev=program_prefix ;;
865 -program-prefix=* | --program-prefix=* | --program-prefi=* \
866 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
867 program_prefix=$ac_optarg ;;
869 -program-suffix | --program-suffix | --program-suffi | --program-suff \
870 | --program-suf | --program-su | --program-s)
871 ac_prev=program_suffix ;;
872 -program-suffix=* | --program-suffix=* | --program-suffi=* \
873 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
874 program_suffix=$ac_optarg ;;
876 -program-transform-name | --program-transform-name \
877 | --program-transform-nam | --program-transform-na \
878 | --program-transform-n | --program-transform- \
879 | --program-transform | --program-transfor \
880 | --program-transfo | --program-transf \
881 | --program-trans | --program-tran \
882 | --progr-tra | --program-tr | --program-t)
883 ac_prev=program_transform_name ;;
884 -program-transform-name=* | --program-transform-name=* \
885 | --program-transform-nam=* | --program-transform-na=* \
886 | --program-transform-n=* | --program-transform-=* \
887 | --program-transform=* | --program-transfor=* \
888 | --program-transfo=* | --program-transf=* \
889 | --program-trans=* | --program-tran=* \
890 | --progr-tra=* | --program-tr=* | --program-t=*)
891 program_transform_name=$ac_optarg ;;
893 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
894 ac_prev=pdfdir ;;
895 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
896 pdfdir=$ac_optarg ;;
898 -psdir | --psdir | --psdi | --psd | --ps)
899 ac_prev=psdir ;;
900 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
901 psdir=$ac_optarg ;;
903 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
904 | -silent | --silent | --silen | --sile | --sil)
905 silent=yes ;;
907 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
908 ac_prev=sbindir ;;
909 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
910 | --sbi=* | --sb=*)
911 sbindir=$ac_optarg ;;
913 -sharedstatedir | --sharedstatedir | --sharedstatedi \
914 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
915 | --sharedst | --shareds | --shared | --share | --shar \
916 | --sha | --sh)
917 ac_prev=sharedstatedir ;;
918 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
919 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
920 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
921 | --sha=* | --sh=*)
922 sharedstatedir=$ac_optarg ;;
924 -site | --site | --sit)
925 ac_prev=site ;;
926 -site=* | --site=* | --sit=*)
927 site=$ac_optarg ;;
929 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
930 ac_prev=srcdir ;;
931 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
932 srcdir=$ac_optarg ;;
934 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
935 | --syscon | --sysco | --sysc | --sys | --sy)
936 ac_prev=sysconfdir ;;
937 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
938 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
939 sysconfdir=$ac_optarg ;;
941 -target | --target | --targe | --targ | --tar | --ta | --t)
942 ac_prev=target_alias ;;
943 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
944 target_alias=$ac_optarg ;;
946 -v | -verbose | --verbose | --verbos | --verbo | --verb)
947 verbose=yes ;;
949 -version | --version | --versio | --versi | --vers | -V)
950 ac_init_version=: ;;
952 -with-* | --with-*)
953 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
956 { echo "$as_me: error: invalid package name: $ac_package" >&2
957 { (exit 1); exit 1; }; }
958 ac_package=`echo $ac_package| sed 's/-/_/g'`
959 eval with_$ac_package=\$ac_optarg ;;
961 -without-* | --without-*)
962 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
965 { echo "$as_me: error: invalid package name: $ac_package" >&2
966 { (exit 1); exit 1; }; }
967 ac_package=`echo $ac_package | sed 's/-/_/g'`
968 eval with_$ac_package=no ;;
970 --x)
971 # Obsolete; use --with-x.
972 with_x=yes ;;
974 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
975 | --x-incl | --x-inc | --x-in | --x-i)
976 ac_prev=x_includes ;;
977 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
978 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
979 x_includes=$ac_optarg ;;
981 -x-libraries | --x-libraries | --x-librarie | --x-librari \
982 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
983 ac_prev=x_libraries ;;
984 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
985 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
986 x_libraries=$ac_optarg ;;
988 -*) { echo "$as_me: error: unrecognized option: $ac_option
989 Try \`$0 --help' for more information." >&2
990 { (exit 1); exit 1; }; }
993 *=*)
994 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
997 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
998 { (exit 1); exit 1; }; }
999 eval $ac_envvar=\$ac_optarg
1000 export $ac_envvar ;;
1003 # FIXME: should be removed in autoconf 3.0.
1004 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1005 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1006 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1007 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1010 esac
1011 done
1013 if test -n "$ac_prev"; then
1014 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1015 { echo "$as_me: error: missing argument to $ac_option" >&2
1016 { (exit 1); exit 1; }; }
1019 # Be sure to have absolute directory names.
1020 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1021 datadir sysconfdir sharedstatedir localstatedir includedir \
1022 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1023 libdir localedir mandir
1025 eval ac_val=\$$ac_var
1026 case $ac_val in
1027 [\\/$]* | ?:[\\/]* ) continue;;
1028 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1029 esac
1030 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1031 { (exit 1); exit 1; }; }
1032 done
1034 # There might be people who depend on the old broken behavior: `$host'
1035 # used to hold the argument of --host etc.
1036 # FIXME: To remove some day.
1037 build=$build_alias
1038 host=$host_alias
1039 target=$target_alias
1041 # FIXME: To remove some day.
1042 if test "x$host_alias" != x; then
1043 if test "x$build_alias" = x; then
1044 cross_compiling=maybe
1045 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1046 If a cross compiler is detected then cross compile mode will be used." >&2
1047 elif test "x$build_alias" != "x$host_alias"; then
1048 cross_compiling=yes
1052 ac_tool_prefix=
1053 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1055 test "$silent" = yes && exec 6>/dev/null
1058 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1059 ac_ls_di=`ls -di .` &&
1060 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1061 { echo "$as_me: error: Working directory cannot be determined" >&2
1062 { (exit 1); exit 1; }; }
1063 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1064 { echo "$as_me: error: pwd does not report name of working directory" >&2
1065 { (exit 1); exit 1; }; }
1068 # Find the source files, if location was not specified.
1069 if test -z "$srcdir"; then
1070 ac_srcdir_defaulted=yes
1071 # Try the directory containing this script, then the parent directory.
1072 ac_confdir=`$as_dirname "$0" ||
1073 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1074 X"$0" : 'X\(//\)[^/]' \| \
1075 X"$0" : 'X\(//\)$' \| \
1076 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1077 echo X"$0" |
1078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1079 s//\1/
1082 /^X\(\/\/\)[^/].*/{
1083 s//\1/
1086 /^X\(\/\/\)$/{
1087 s//\1/
1090 /^X\(\/\).*/{
1091 s//\1/
1094 s/.*/./; q'`
1095 srcdir=$ac_confdir
1096 if test ! -r "$srcdir/$ac_unique_file"; then
1097 srcdir=..
1099 else
1100 ac_srcdir_defaulted=no
1102 if test ! -r "$srcdir/$ac_unique_file"; then
1103 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1104 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1105 { (exit 1); exit 1; }; }
1107 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1108 ac_abs_confdir=`(
1109 cd $srcdir && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1110 { (exit 1); exit 1; }; }
1111 pwd)`
1112 # When building in place, set srcdir=.
1113 if test "$ac_abs_confdir" = "$ac_pwd"; then
1114 srcdir=.
1116 # Remove unnecessary trailing slashes from srcdir.
1117 # Double slashes in file names in object file debugging info
1118 # mess up M-x gdb in Emacs.
1119 case $srcdir in
1120 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1121 esac
1122 for ac_var in $ac_precious_vars; do
1123 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1124 eval ac_env_${ac_var}_value=\$${ac_var}
1125 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1126 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1127 done
1130 # Report the --help message.
1132 if test "$ac_init_help" = "long"; then
1133 # Omit some internal or obsolete options to make the list less imposing.
1134 # This message is too long to be a string in the A/UX 3.1 sh.
1135 cat <<_ACEOF
1136 \`configure' configures GNU Autoconf 2.59c to adapt to many kinds of systems.
1138 Usage: $0 [OPTION]... [VAR=VALUE]...
1140 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1141 VAR=VALUE. See below for descriptions of some of the useful variables.
1143 Defaults for the options are specified in brackets.
1145 Configuration:
1146 -h, --help display this help and exit
1147 --help=short display options specific to this package
1148 --help=recursive display the short help of all the included packages
1149 -V, --version display version information and exit
1150 -q, --quiet, --silent do not print \`checking...' messages
1151 --cache-file=FILE cache test results in FILE [disabled]
1152 -C, --config-cache alias for \`--cache-file=config.cache'
1153 -n, --no-create do not create output files
1154 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1156 Installation directories:
1157 --prefix=PREFIX install architecture-independent files in PREFIX
1158 [$ac_default_prefix]
1159 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1160 [PREFIX]
1162 By default, \`make install' will install all the files in
1163 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1164 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1165 for instance \`--prefix=\$HOME'.
1167 For better control, use the options below.
1169 Fine tuning of the installation directories:
1170 --bindir=DIR user executables [EPREFIX/bin]
1171 --sbindir=DIR system admin executables [EPREFIX/sbin]
1172 --libexecdir=DIR program executables [EPREFIX/libexec]
1173 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1174 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1175 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1176 --libdir=DIR object code libraries [EPREFIX/lib]
1177 --includedir=DIR C header files [PREFIX/include]
1178 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1179 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1180 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1181 --infodir=DIR info documentation [DATAROOTDIR/info]
1182 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1183 --mandir=DIR man documentation [DATAROOTDIR/man]
1184 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1185 --htmldir=DIR html documentation [DOCDIR]
1186 --dvidir=DIR dvi documentation [DOCDIR]
1187 --pdfdir=DIR pdf documentation [DOCDIR]
1188 --psdir=DIR ps documentation [DOCDIR]
1189 _ACEOF
1191 cat <<\_ACEOF
1193 Program names:
1194 --program-prefix=PREFIX prepend PREFIX to installed program names
1195 --program-suffix=SUFFIX append SUFFIX to installed program names
1196 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1197 _ACEOF
1200 if test -n "$ac_init_help"; then
1201 case $ac_init_help in
1202 short | recursive ) echo "Configuration of GNU Autoconf 2.59c:";;
1203 esac
1204 cat <<\_ACEOF
1206 Optional Packages:
1207 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1208 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1209 --with-lispdir override the default lisp directory
1211 Some influential environment variables:
1212 EMACS the Emacs editor command
1213 EMACSLOADPATH
1214 the Emacs library search path
1216 Use these variables to override the choices made by `configure' or to help
1217 it to find libraries and programs with nonstandard names/locations.
1219 Report bugs to <bug-autoconf@gnu.org>.
1220 _ACEOF
1221 ac_status=$?
1224 if test "$ac_init_help" = "recursive"; then
1225 # If there are subdirs, report their specific --help.
1226 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1227 test -d $ac_dir || continue
1228 ac_builddir=.
1230 case "$ac_dir" in
1231 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1233 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1234 # A ".." for each directory in $ac_dir_suffix.
1235 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1236 case $ac_top_builddir_sub in
1237 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1238 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1239 esac ;;
1240 esac
1241 ac_abs_top_builddir=$ac_pwd
1242 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1243 # for backward compatibility:
1244 ac_top_builddir=$ac_top_build_prefix
1246 case $srcdir in
1247 .) # We are building in place.
1248 ac_srcdir=.
1249 ac_top_srcdir=$ac_top_builddir_sub
1250 ac_abs_top_srcdir=$ac_pwd ;;
1251 [\\/]* | ?:[\\/]* ) # Absolute name.
1252 ac_srcdir=$srcdir$ac_dir_suffix;
1253 ac_top_srcdir=$srcdir
1254 ac_abs_top_srcdir=$srcdir ;;
1255 *) # Relative name.
1256 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1257 ac_top_srcdir=$ac_top_build_prefix$srcdir
1258 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1259 esac
1260 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1262 cd $ac_dir || { ac_status=$?; continue; }
1263 # Check for guested configure; otherwise get Cygnus style configure.
1264 if test -f $ac_srcdir/configure.gnu; then
1265 echo &&
1266 $SHELL $ac_srcdir/configure.gnu --help=recursive
1267 elif test -f $ac_srcdir/configure; then
1268 echo &&
1269 $SHELL $ac_srcdir/configure --help=recursive
1270 elif test -f $ac_srcdir/configure.in; then
1271 echo &&
1272 $ac_configure --help
1273 else
1274 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1275 fi || ac_status=$?
1276 cd "$ac_pwd" || { ac_status=$?; break; }
1277 done
1280 test -n "$ac_init_help" && exit $ac_status
1281 if $ac_init_version; then
1282 cat <<\_ACEOF
1283 GNU Autoconf configure 2.59c
1284 generated by GNU Autoconf 2.59c
1286 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1287 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1288 This configure script is free software; the Free Software Foundation
1289 gives unlimited permission to copy, distribute and modify it.
1290 _ACEOF
1291 exit
1293 exec 5>config.log
1294 cat >&5 <<_ACEOF
1295 This file contains any messages produced by compilers while
1296 running configure, to aid debugging if configure makes a mistake.
1298 It was created by GNU Autoconf $as_me 2.59c, which was
1299 generated by GNU Autoconf 2.59c. Invocation command line was
1301 $ $0 $@
1303 _ACEOF
1305 cat <<_ASUNAME
1306 ## --------- ##
1307 ## Platform. ##
1308 ## --------- ##
1310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1317 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1319 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1320 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1322 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1323 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1324 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1325 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1327 _ASUNAME
1329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1330 for as_dir in $PATH
1332 IFS=$as_save_IFS
1333 test -z "$as_dir" && as_dir=.
1334 echo "PATH: $as_dir"
1335 done
1336 IFS=$as_save_IFS
1338 } >&5
1340 cat >&5 <<_ACEOF
1343 ## ----------- ##
1344 ## Core tests. ##
1345 ## ----------- ##
1347 _ACEOF
1350 # Keep a trace of the command line.
1351 # Strip out --no-create and --no-recursion so they do not pile up.
1352 # Strip out --silent because we don't want to record it for future runs.
1353 # Also quote any args containing shell meta-characters.
1354 # Make two passes to allow for proper duplicate-argument suppression.
1355 ac_configure_args=
1356 ac_configure_args0=
1357 ac_configure_args1=
1358 ac_sep=
1359 ac_must_keep_next=false
1360 for ac_pass in 1 2
1362 for ac_arg
1364 case $ac_arg in
1365 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 continue ;;
1369 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1370 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1371 esac
1372 case $ac_pass in
1373 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1375 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1376 if test $ac_must_keep_next = true; then
1377 ac_must_keep_next=false # Got value, back to normal.
1378 else
1379 case $ac_arg in
1380 *=* | --config-cache | -C | -disable-* | --disable-* \
1381 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1382 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1383 | -with-* | --with-* | -without-* | --without-* | --x)
1384 case "$ac_configure_args0 " in
1385 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1386 esac
1388 -* ) ac_must_keep_next=true ;;
1389 esac
1391 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1392 # Get rid of the leading space.
1393 ac_sep=" "
1395 esac
1396 done
1397 done
1398 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1399 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1401 # When interrupted or exit'd, cleanup temporary files, and complete
1402 # config.log. We remove comments because anyway the quotes in there
1403 # would cause problems or look ugly.
1404 # WARNING: Be sure not to use single quotes in there, as some shells,
1405 # such as our DU 5.0 friend, will then `close' the trap.
1406 trap 'exit_status=$?
1407 # Save into config.log some information that might help in debugging.
1409 echo
1411 cat <<\_ASBOX
1412 ## ---------------- ##
1413 ## Cache variables. ##
1414 ## ---------------- ##
1415 _ASBOX
1416 echo
1417 # The following way of writing the cache mishandles newlines in values,
1419 (set) 2>&1 |
1420 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1421 *ac_space=\ *)
1422 sed -n \
1423 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1424 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1427 sed -n \
1428 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1430 esac;
1432 echo
1434 cat <<\_ASBOX
1435 ## ----------------- ##
1436 ## Output variables. ##
1437 ## ----------------- ##
1438 _ASBOX
1439 echo
1440 for ac_var in $ac_subst_vars
1442 eval ac_val=\$$ac_var
1443 echo "$ac_var='"'"'$ac_val'"'"'"
1444 done | sort
1445 echo
1447 if test -n "$ac_subst_files"; then
1448 cat <<\_ASBOX
1449 ## ------------------- ##
1450 ## File substitutions. ##
1451 ## ------------------- ##
1452 _ASBOX
1453 echo
1454 for ac_var in $ac_subst_files
1456 eval ac_val=\$$ac_var
1457 echo "$ac_var='"'"'$ac_val'"'"'"
1458 done | sort
1459 echo
1462 if test -s confdefs.h; then
1463 cat <<\_ASBOX
1464 ## ----------- ##
1465 ## confdefs.h. ##
1466 ## ----------- ##
1467 _ASBOX
1468 echo
1469 sed "/^$/d" confdefs.h | sort
1470 echo
1472 test "$ac_signal" != 0 &&
1473 echo "$as_me: caught signal $ac_signal"
1474 echo "$as_me: exit $exit_status"
1475 } >&5
1476 rm -f core *.core core.conftest.* &&
1477 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1478 exit $exit_status
1480 for ac_signal in 1 2 13 15; do
1481 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1482 done
1483 ac_signal=0
1485 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1486 rm -f -r conftest* confdefs.h
1488 # Predefined preprocessor variables.
1490 cat >>confdefs.h <<_ACEOF
1491 #define PACKAGE_NAME "$PACKAGE_NAME"
1492 _ACEOF
1495 cat >>confdefs.h <<_ACEOF
1496 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1497 _ACEOF
1500 cat >>confdefs.h <<_ACEOF
1501 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1502 _ACEOF
1505 cat >>confdefs.h <<_ACEOF
1506 #define PACKAGE_STRING "$PACKAGE_STRING"
1507 _ACEOF
1510 cat >>confdefs.h <<_ACEOF
1511 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1512 _ACEOF
1515 # Let the site file select an alternate cache file if it wants to.
1516 # Prefer explicitly selected file to automatically selected ones.
1517 if test -n "$CONFIG_SITE"; then
1518 set x "$CONFIG_SITE"
1519 elif test "x$prefix" != xNONE; then
1520 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1521 else
1522 set x "$ac_default_prefix/share/config.site" \
1523 "$ac_default_prefix/etc/config.site"
1525 shift
1526 for ac_site_file
1528 if test -r "$ac_site_file"; then
1529 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1530 echo "$as_me: loading site script $ac_site_file" >&6;}
1531 sed 's/^/| /' "$ac_site_file" >&5
1532 . "$ac_site_file"
1534 done
1536 if test -r "$cache_file"; then
1537 # Some versions of bash will fail to source /dev/null (special
1538 # files actually), so we avoid doing that.
1539 if test -f "$cache_file"; then
1540 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1541 echo "$as_me: loading cache $cache_file" >&6;}
1542 case $cache_file in
1543 [\\/]* | ?:[\\/]* ) . $cache_file;;
1544 *) . ./$cache_file;;
1545 esac
1547 else
1548 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1549 echo "$as_me: creating cache $cache_file" >&6;}
1550 >$cache_file
1553 # Check that the precious variables saved in the cache have kept the same
1554 # value.
1555 ac_cache_corrupted=false
1556 for ac_var in $ac_precious_vars; do
1557 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1558 eval ac_new_set=\$ac_env_${ac_var}_set
1559 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1560 eval ac_new_val=\$ac_env_${ac_var}_value
1561 case $ac_old_set,$ac_new_set in
1562 set,)
1563 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1564 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1565 ac_cache_corrupted=: ;;
1566 ,set)
1567 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1568 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1569 ac_cache_corrupted=: ;;
1570 ,);;
1572 if test "x$ac_old_val" != "x$ac_new_val"; then
1573 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1574 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1575 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1576 echo "$as_me: former value: $ac_old_val" >&2;}
1577 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1578 echo "$as_me: current value: $ac_new_val" >&2;}
1579 ac_cache_corrupted=:
1580 fi;;
1581 esac
1582 # Pass precious variables to config.status.
1583 if test "$ac_new_set" = set; then
1584 case $ac_new_val in
1585 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1586 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1587 *) ac_arg=$ac_var=$ac_new_val ;;
1588 esac
1589 case " $ac_configure_args " in
1590 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1591 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1592 esac
1594 done
1595 if $ac_cache_corrupted; then
1596 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1597 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1598 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1599 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1600 { (exit 1); exit 1; }; }
1627 ac_ext=c
1628 ac_cpp='$CPP $CPPFLAGS'
1629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1636 ac_aux_dir=
1637 for ac_dir in config $srcdir/config; do
1638 if test -f $ac_dir/install-sh; then
1639 ac_aux_dir=$ac_dir
1640 ac_install_sh="$ac_aux_dir/install-sh -c"
1641 break
1642 elif test -f $ac_dir/install.sh; then
1643 ac_aux_dir=$ac_dir
1644 ac_install_sh="$ac_aux_dir/install.sh -c"
1645 break
1646 elif test -f $ac_dir/shtool; then
1647 ac_aux_dir=$ac_dir
1648 ac_install_sh="$ac_aux_dir/shtool install -c"
1649 break
1651 done
1652 if test -z "$ac_aux_dir"; then
1653 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1654 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1655 { (exit 1); exit 1; }; }
1657 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1658 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1659 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1662 ac_config_files="$ac_config_files config/Makefile"
1664 am__api_version="1.9"
1665 # Find a good install program. We prefer a C program (faster),
1666 # so one script is as good as another. But avoid the broken or
1667 # incompatible versions:
1668 # SysV /etc/install, /usr/sbin/install
1669 # SunOS /usr/etc/install
1670 # IRIX /sbin/install
1671 # AIX /bin/install
1672 # AmigaOS /C/install, which installs bootblocks on floppy discs
1673 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1674 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1675 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1676 # OS/2's system install, which has a completely different semantic
1677 # ./install, which can be erroneously created by make from ./install.sh.
1678 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1679 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1680 if test -z "$INSTALL"; then
1681 if test "${ac_cv_path_install+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 else
1684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1685 for as_dir in $PATH
1687 IFS=$as_save_IFS
1688 test -z "$as_dir" && as_dir=.
1689 test -d "$as_dir" || continue
1690 # Account for people who put trailing slashes in PATH elements.
1691 case $as_dir/ in
1692 ./ | .// | /cC/* | \
1693 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1694 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1695 /usr/ucb/* ) ;;
1697 # OSF1 and SCO ODT 3.0 have their own names for install.
1698 # Don't use installbsd from OSF since it installs stuff as root
1699 # by default.
1700 for ac_prog in ginstall scoinst install; do
1701 for ac_exec_ext in '' $ac_executable_extensions; do
1702 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1703 if test $ac_prog = install &&
1704 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1705 # AIX install. It has an incompatible calling convention.
1707 elif test $ac_prog = install &&
1708 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1709 # program-specific install script used by HP pwplus--don't use.
1711 else
1712 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1713 break 3
1716 done
1717 done
1719 esac
1720 done
1721 IFS=$as_save_IFS
1725 if test "${ac_cv_path_install+set}" = set; then
1726 INSTALL=$ac_cv_path_install
1727 else
1728 # As a last resort, use the slow shell script. Don't cache a
1729 # value for INSTALL within a source directory, because that will
1730 # break other packages using the cache if that directory is
1731 # removed, or if the value is a relative name.
1732 INSTALL=$ac_install_sh
1735 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1736 echo "${ECHO_T}$INSTALL" >&6; }
1738 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1739 # It thinks the first close brace ends the variable substitution.
1740 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1742 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1744 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1746 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1747 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1748 # Just in case
1749 sleep 1
1750 echo timestamp > conftest.file
1751 # Do `set' in a subshell so we don't clobber the current shell's
1752 # arguments. Must try -L first in case configure is actually a
1753 # symlink; some systems play weird games with the mod time of symlinks
1754 # (eg FreeBSD returns the mod time of the symlink's containing
1755 # directory).
1756 if (
1757 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1758 if test "$*" = "X"; then
1759 # -L didn't work.
1760 set X `ls -t $srcdir/configure conftest.file`
1762 rm -f conftest.file
1763 if test "$*" != "X $srcdir/configure conftest.file" \
1764 && test "$*" != "X conftest.file $srcdir/configure"; then
1766 # If neither matched, then we have a broken ls. This can happen
1767 # if, for instance, CONFIG_SHELL is bash and it inherits a
1768 # broken ls alias from the environment. This has actually
1769 # happened. Such a system could not be considered "sane".
1770 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1771 alias in your environment" >&5
1772 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1773 alias in your environment" >&2;}
1774 { (exit 1); exit 1; }; }
1777 test "$2" = conftest.file
1779 then
1780 # Ok.
1782 else
1783 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1784 Check your system clock" >&5
1785 echo "$as_me: error: newly created file is older than distributed files!
1786 Check your system clock" >&2;}
1787 { (exit 1); exit 1; }; }
1789 { echo "$as_me:$LINENO: result: yes" >&5
1790 echo "${ECHO_T}yes" >&6; }
1791 test "$program_prefix" != NONE &&
1792 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1793 # Use a double $ so make ignores it.
1794 test "$program_suffix" != NONE &&
1795 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1796 # Double any \ or $. echo might interpret backslashes.
1797 # By default was `s,x,x', remove it if useless.
1798 cat <<\_ACEOF >conftest.sed
1799 s/[\\$]/&&/g;s/;s,x,x,$//
1800 _ACEOF
1801 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1802 rm -f conftest.sed
1804 # expand $ac_aux_dir to an absolute path
1805 am_aux_dir=`cd $ac_aux_dir && pwd`
1807 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1808 # Use eval to expand $SHELL
1809 if eval "$MISSING --run true"; then
1810 am_missing_run="$MISSING --run "
1811 else
1812 am_missing_run=
1813 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1814 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1817 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1818 # We used to keeping the `.' as first argument, in order to
1819 # allow $(mkdir_p) to be used without argument. As in
1820 # $(mkdir_p) $(somedir)
1821 # where $(somedir) is conditionally defined. However this is wrong
1822 # for two reasons:
1823 # 1. if the package is installed by a user who cannot write `.'
1824 # make install will fail,
1825 # 2. the above comment should most certainly read
1826 # $(mkdir_p) $(DESTDIR)$(somedir)
1827 # so it does not work when $(somedir) is undefined and
1828 # $(DESTDIR) is not.
1829 # To support the latter case, we have to write
1830 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1831 # so the `.' trick is pointless.
1832 mkdir_p='mkdir -p --'
1833 else
1834 # On NextStep and OpenStep, the `mkdir' command does not
1835 # recognize any option. It will interpret all options as
1836 # directories to create, and then abort because `.' already
1837 # exists.
1838 for d in ./-p ./--version;
1840 test -d $d && rmdir $d
1841 done
1842 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1843 if test -f "$ac_aux_dir/mkinstalldirs"; then
1844 mkdir_p='$(mkinstalldirs)'
1845 else
1846 mkdir_p='$(install_sh) -d'
1850 for ac_prog in gawk mawk nawk awk
1852 # Extract the first word of "$ac_prog", so it can be a program name with args.
1853 set dummy $ac_prog; ac_word=$2
1854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1856 if test "${ac_cv_prog_AWK+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1858 else
1859 if test -n "$AWK"; then
1860 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1861 else
1862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1863 for as_dir in $PATH
1865 IFS=$as_save_IFS
1866 test -z "$as_dir" && as_dir=.
1867 test -d "$as_dir" || continue
1868 for ac_exec_ext in '' $ac_executable_extensions; do
1869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1870 ac_cv_prog_AWK="$ac_prog"
1871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 break 2
1874 done
1875 done
1876 IFS=$as_save_IFS
1880 AWK=$ac_cv_prog_AWK
1881 if test -n "$AWK"; then
1882 { echo "$as_me:$LINENO: result: $AWK" >&5
1883 echo "${ECHO_T}$AWK" >&6; }
1884 else
1885 { echo "$as_me:$LINENO: result: no" >&5
1886 echo "${ECHO_T}no" >&6; }
1890 test -n "$AWK" && break
1891 done
1893 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1894 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1895 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1896 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 else
1899 cat >conftest.make <<\_ACEOF
1900 SHELL = /bin/sh
1901 all:
1902 @echo 'ac_maketemp=X"$(MAKE)"'
1903 _ACEOF
1904 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1905 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1906 if test "$ac_maketemp" != X ; then
1907 eval ac_cv_prog_make_${ac_make}_set=yes
1908 else
1909 eval ac_cv_prog_make_${ac_make}_set=no
1911 rm -f conftest.make
1913 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1914 { echo "$as_me:$LINENO: result: yes" >&5
1915 echo "${ECHO_T}yes" >&6; }
1916 SET_MAKE=
1917 else
1918 { echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6; }
1920 SET_MAKE="MAKE=${MAKE-make}"
1923 rm -rf .tst 2>/dev/null
1924 mkdir .tst 2>/dev/null
1925 if test -d .tst; then
1926 am__leading_dot=.
1927 else
1928 am__leading_dot=_
1930 rmdir .tst 2>/dev/null
1932 # test to see if srcdir already configured
1933 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1934 test -f $srcdir/config.status; then
1935 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1936 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1937 { (exit 1); exit 1; }; }
1940 # test whether we have cygpath
1941 if test -z "$CYGPATH_W"; then
1942 if (cygpath --version) >/dev/null 2>/dev/null; then
1943 CYGPATH_W='cygpath -w'
1944 else
1945 CYGPATH_W=echo
1950 # Define the identity of the package.
1951 PACKAGE='autoconf'
1952 VERSION='2.59c'
1955 cat >>confdefs.h <<_ACEOF
1956 #define PACKAGE "$PACKAGE"
1957 _ACEOF
1960 cat >>confdefs.h <<_ACEOF
1961 #define VERSION "$VERSION"
1962 _ACEOF
1964 # Some tools Automake needs.
1966 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1969 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1972 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1975 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1978 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1980 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1982 # Installed binaries are usually stripped using `strip' when the user
1983 # run `make install-strip'. However `strip' might not be the right
1984 # tool to use in cross-compilation environments, therefore Automake
1985 # will honor the `STRIP' environment variable to overrule this program.
1986 if test "$cross_compiling" != no; then
1987 if test -n "$ac_tool_prefix"; then
1988 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1989 set dummy ${ac_tool_prefix}strip; ac_word=$2
1990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1992 if test "${ac_cv_prog_STRIP+set}" = set; then
1993 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 else
1995 if test -n "$STRIP"; then
1996 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1997 else
1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 for as_dir in $PATH
2001 IFS=$as_save_IFS
2002 test -z "$as_dir" && as_dir=.
2003 test -d "$as_dir" || continue
2004 for ac_exec_ext in '' $ac_executable_extensions; do
2005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2006 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2008 break 2
2010 done
2011 done
2012 IFS=$as_save_IFS
2016 STRIP=$ac_cv_prog_STRIP
2017 if test -n "$STRIP"; then
2018 { echo "$as_me:$LINENO: result: $STRIP" >&5
2019 echo "${ECHO_T}$STRIP" >&6; }
2020 else
2021 { echo "$as_me:$LINENO: result: no" >&5
2022 echo "${ECHO_T}no" >&6; }
2027 if test -z "$ac_cv_prog_STRIP"; then
2028 ac_ct_STRIP=$STRIP
2029 # Extract the first word of "strip", so it can be a program name with args.
2030 set dummy strip; ac_word=$2
2031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2033 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 else
2036 if test -n "$ac_ct_STRIP"; then
2037 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2038 else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 for as_dir in $PATH
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 test -d "$as_dir" || continue
2045 for ac_exec_ext in '' $ac_executable_extensions; do
2046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2047 ac_cv_prog_ac_ct_STRIP="strip"
2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049 break 2
2051 done
2052 done
2053 IFS=$as_save_IFS
2057 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2058 if test -n "$ac_ct_STRIP"; then
2059 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2060 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2061 else
2062 { echo "$as_me:$LINENO: result: no" >&5
2063 echo "${ECHO_T}no" >&6; }
2066 if test "x$ac_ct_STRIP" = x; then
2067 STRIP=":"
2068 else
2069 case $cross_compiling:$ac_tool_warned in
2070 yes:)
2071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2072 whose name does not start with the host triplet. If you think this
2073 configuration is useful to you, please write to autoconf@gnu.org." >&5
2074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2075 whose name does not start with the host triplet. If you think this
2076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2077 ac_tool_warned=yes ;;
2078 esac
2079 STRIP=$ac_ct_STRIP
2081 else
2082 STRIP="$ac_cv_prog_STRIP"
2086 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2088 # We need awk for the "check" target. The system "awk" is bad on
2089 # some platforms.
2090 # Always define AMTAR for backward compatibility.
2092 AMTAR=${AMTAR-"${am_missing_run}tar"}
2094 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2101 # We use `/bin/sh -n script' to check that there are no syntax errors
2102 # in the scripts. Although incredible, there are /bin/sh that go into
2103 # endless loops with `-n', e.g., SunOS's:
2105 # $ uname -a
2106 # SunOS ondine 4.1.3 2 sun4m unknown
2107 # $ cat endless.sh
2108 # while false
2109 # do
2111 # done
2112 # exit 0
2113 # $ time sh endless.sh
2114 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2115 # $ time sh -nx endless.sh
2116 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2118 # So before using `/bin/sh -n' to check our scripts, we first check
2119 # that `/bin/sh -n' is not broken to death.
2121 # A script that never returns. We don't care that it never returns,
2122 # broken /bin/sh loop equally with `false', but it makes it easier to
2123 # test the robustness in a good environment: just remove the `-n'.
2124 { echo "$as_me:$LINENO: checking whether sh -n works" >&5
2125 echo $ECHO_N "checking whether sh -n works... $ECHO_C" >&6; }
2126 if test "${ac_cv_sh_n_works+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 else
2129 cat > conftest.sh <<_CONFEOF_
2130 while :
2133 done
2134 _CONFEOF_
2136 (/bin/sh -n conftest.sh) &
2137 sleep 2
2138 if kill $! >/dev/null 2>&1; then
2139 # We managed to kill the child, which means that we probably
2140 # can't trust `/bin/sh -n', hence the test failed.
2141 ac_cv_sh_n_works=no
2142 else
2143 ac_cv_sh_n_works=yes
2145 rm conftest.sh
2148 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2149 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2152 # Initialize the test suite.
2154 ac_config_commands="$ac_config_commands tests/atconfig"
2157 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2158 # Extract the first word of "expr", so it can be a program name with args.
2159 set dummy expr; ac_word=$2
2160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2162 if test "${ac_cv_path_EXPR+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 else
2165 case $EXPR in
2166 [\\/]* | ?:[\\/]*)
2167 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH
2173 IFS=$as_save_IFS
2174 test -z "$as_dir" && as_dir=.
2175 test -d "$as_dir" || continue
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2178 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 break 2
2182 done
2183 done
2184 IFS=$as_save_IFS
2187 esac
2189 EXPR=$ac_cv_path_EXPR
2190 if test -n "$EXPR"; then
2191 { echo "$as_me:$LINENO: result: $EXPR" >&5
2192 echo "${ECHO_T}$EXPR" >&6; }
2193 else
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2201 ## ---- ##
2202 ## M4. ##
2203 ## ---- ##
2205 # We use an absolute name for GNU m4 so even if users have another m4 first in
2206 # their path, the installer can configure with a path that has GNU m4
2207 # first and get that path embedded in the installed autoconf and
2208 # autoheader scripts.
2209 for ac_prog in gm4 gnum4 m4
2211 # Extract the first word of "$ac_prog", so it can be a program name with args.
2212 set dummy $ac_prog; ac_word=$2
2213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2215 if test "${ac_cv_path_M4+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 else
2218 case $M4 in
2219 [\\/]* | ?:[\\/]*)
2220 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224 for as_dir in $PATH
2226 IFS=$as_save_IFS
2227 test -z "$as_dir" && as_dir=.
2228 test -d "$as_dir" || continue
2229 for ac_exec_ext in '' $ac_executable_extensions; do
2230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2231 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 break 2
2235 done
2236 done
2237 IFS=$as_save_IFS
2240 esac
2242 M4=$ac_cv_path_M4
2243 if test -n "$M4"; then
2244 { echo "$as_me:$LINENO: result: $M4" >&5
2245 echo "${ECHO_T}$M4" >&6; }
2246 else
2247 { echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6; }
2252 test -n "$M4" && break
2253 done
2254 test -n "$M4" || M4="m4"
2256 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2257 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2258 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2259 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 else
2261 ac_cv_prog_gnu_m4=no
2262 if test x"$M4" != x; then
2263 case `$M4 --help < /dev/null 2>&1` in
2264 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2265 esac
2268 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2269 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2270 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2271 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2272 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2273 { (exit 1); exit 1; }; }
2276 ## ----------- ##
2277 ## Man pages. ##
2278 ## ----------- ##
2281 ac_config_files="$ac_config_files man/Makefile"
2283 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2287 ## ------ ##
2288 ## Perl. ##
2289 ## ------ ##
2291 # We use an absolute name for perl so the #! line in autoscan will work.
2292 # Extract the first word of "perl", so it can be a program name with args.
2293 set dummy perl; ac_word=$2
2294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2296 if test "${ac_cv_path_PERL+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 else
2299 case $PERL in
2300 [\\/]* | ?:[\\/]*)
2301 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 for as_dir in $PATH
2307 IFS=$as_save_IFS
2308 test -z "$as_dir" && as_dir=.
2309 test -d "$as_dir" || continue
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2312 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 break 2
2316 done
2317 done
2318 IFS=$as_save_IFS
2320 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2322 esac
2324 PERL=$ac_cv_path_PERL
2325 if test -n "$PERL"; then
2326 { echo "$as_me:$LINENO: result: $PERL" >&5
2327 echo "${ECHO_T}$PERL" >&6; }
2328 else
2329 { echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6; }
2334 if test "$PERL" = no; then
2335 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2336 echo "$as_me: error: perl is not found" >&2;}
2337 { (exit 1); exit 1; }; }
2339 $PERL -e 'require 5.005_03;' || {
2340 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2341 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2342 { (exit 1); exit 1; }; }
2346 ## ------- ##
2347 ## Emacs. ##
2348 ## ------- ##
2351 ac_config_files="$ac_config_files lib/emacs/Makefile"
2352 TEST_EMACS=$EMACS
2353 test x"$TEST_EMACS" = xt && TEST_EMACS=
2354 for ac_prog in emacs xemacs
2356 # Extract the first word of "$ac_prog", so it can be a program name with args.
2357 set dummy $ac_prog; ac_word=$2
2358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2360 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 else
2363 if test -n "$TEST_EMACS"; then
2364 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2365 else
2366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 for as_dir in $PATH
2369 IFS=$as_save_IFS
2370 test -z "$as_dir" && as_dir=.
2371 test -d "$as_dir" || continue
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2374 ac_cv_prog_TEST_EMACS="$ac_prog"
2375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 break 2
2378 done
2379 done
2380 IFS=$as_save_IFS
2384 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2385 if test -n "$TEST_EMACS"; then
2386 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2387 echo "${ECHO_T}$TEST_EMACS" >&6; }
2388 else
2389 { echo "$as_me:$LINENO: result: no" >&5
2390 echo "${ECHO_T}no" >&6; }
2394 test -n "$TEST_EMACS" && break
2395 done
2396 test -n "$TEST_EMACS" || TEST_EMACS="no"
2399 # autoconf-mode.el and autotest-mode.el do not work with older version of
2400 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2401 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2402 # We detect this problem here.
2403 if test "$TEST_EMACS" != no; then
2404 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2405 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2406 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2410 cat >conftest.el << "EOF"
2411 (defvar broken)
2412 (defun broken-mode () (setq broken-defaults `(broken nil)))
2414 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2415 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2416 ac_status=$?
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; then
2419 ac_cv_prog_emacs_ok=yes
2420 else
2421 ac_cv_prog_emacs_ok=no
2424 rm -f conftest.el conftest.elc
2426 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2427 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2428 if test $ac_cv_prog_emacs_ok = no; then
2429 TEST_EMACS=no
2435 EMACS=$TEST_EMACS
2438 # If set to t, that means we are running in a shell under Emacs.
2439 # If you have an Emacs named "t", then use the full path.
2440 test x"$EMACS" = xt && EMACS=
2441 for ac_prog in emacs xemacs
2443 # Extract the first word of "$ac_prog", so it can be a program name with args.
2444 set dummy $ac_prog; ac_word=$2
2445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2447 if test "${ac_cv_prog_EMACS+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 else
2450 if test -n "$EMACS"; then
2451 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2452 else
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 for as_dir in $PATH
2456 IFS=$as_save_IFS
2457 test -z "$as_dir" && as_dir=.
2458 test -d "$as_dir" || continue
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2461 ac_cv_prog_EMACS="$ac_prog"
2462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 break 2
2465 done
2466 done
2467 IFS=$as_save_IFS
2471 EMACS=$ac_cv_prog_EMACS
2472 if test -n "$EMACS"; then
2473 { echo "$as_me:$LINENO: result: $EMACS" >&5
2474 echo "${ECHO_T}$EMACS" >&6; }
2475 else
2476 { echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6; }
2481 test -n "$EMACS" && break
2482 done
2483 test -n "$EMACS" || EMACS="no"
2488 # Check whether --with-lispdir was given.
2489 if test "${with_lispdir+set}" = set; then
2490 withval=$with_lispdir; lispdir="$withval"
2491 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2492 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2493 { echo "$as_me:$LINENO: result: $lispdir" >&5
2494 echo "${ECHO_T}$lispdir" >&6; }
2495 else
2497 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2498 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2499 if test "${am_cv_lispdir+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 else
2503 if test $EMACS != "no"; then
2504 if test x${lispdir+set} != xset; then
2505 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2506 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2507 # which is non-obvious for non-emacs users.
2508 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2509 # emacsen earlier and avoid running this altogether.
2510 { (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
2511 ($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
2512 ac_status=$?
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }
2515 am_cv_lispdir=`sed -n \
2516 -e 's,/$,,' \
2517 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2518 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2519 conftest.out`
2520 rm conftest.out
2523 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2526 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2527 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2528 lispdir="$am_cv_lispdir"
2536 ## ------------ ##
2537 ## Grep & sed. ##
2538 ## ------------ ##
2539 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2540 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2541 if test "${ac_cv_path_GREP+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 else
2544 # Extract the first word of "grep ggrep" to use in msg output
2545 if test -z "$GREP"; then
2546 set dummy grep ggrep; ac_prog_name=$2
2547 if test "${ac_cv_path_GREP+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 else
2550 ac_path_GREP_found=false
2551 # Loop through the user's path and test for each of PROGNAME-LIST
2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2555 IFS=$as_save_IFS
2556 test -z "$as_dir" && as_dir=.
2557 test -d "$as_dir" || continue
2558 for ac_prog in grep ggrep; do
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2561 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2562 # Check for GNU ac_path_GREP and select it if it is found.
2563 # Check for GNU $ac_path_GREP
2564 case `"$ac_path_GREP" --version 2>&1` in
2565 *GNU*)
2566 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2568 ac_count=0
2569 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2570 while :
2572 cat "conftest.in" "conftest.in" >"conftest.tmp"
2573 mv "conftest.tmp" "conftest.in"
2574 cp "conftest.in" "conftest.nl"
2575 echo 'GREP' >> "conftest.nl"
2576 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2577 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2578 ac_count=`expr $ac_count + 1`
2579 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2580 # Best one so far, save it but keep looking for a better one
2581 ac_cv_path_GREP="$ac_path_GREP"
2582 ac_path_GREP_max=$ac_count
2584 # 10*(2^10) chars as input seems more than enough
2585 test $ac_count -gt 10 && break
2586 done
2587 rm -f conftest.*;;
2588 esac
2591 $ac_path_GREP_found && break 3
2592 done
2593 done
2595 done
2596 IFS=$as_save_IFS
2601 GREP="$ac_cv_path_GREP"
2602 if test -z "$GREP"; then
2603 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2604 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2605 { (exit 1); exit 1; }; }
2608 else
2609 ac_cv_path_GREP=$GREP
2614 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2615 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2616 GREP="$ac_cv_path_GREP"
2619 { echo "$as_me:$LINENO: checking for egrep" >&5
2620 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2621 if test "${ac_cv_path_EGREP+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 else
2624 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2625 then ac_cv_path_EGREP="$GREP -E"
2626 else
2627 # Extract the first word of "egrep" to use in msg output
2628 if test -z "$EGREP"; then
2629 set dummy egrep; ac_prog_name=$2
2630 if test "${ac_cv_path_EGREP+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 else
2633 ac_path_EGREP_found=false
2634 # Loop through the user's path and test for each of PROGNAME-LIST
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2638 IFS=$as_save_IFS
2639 test -z "$as_dir" && as_dir=.
2640 test -d "$as_dir" || continue
2641 for ac_prog in egrep; do
2642 for ac_exec_ext in '' $ac_executable_extensions; do
2643 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2644 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2645 # Check for GNU ac_path_EGREP and select it if it is found.
2646 # Check for GNU $ac_path_EGREP
2647 case `"$ac_path_EGREP" --version 2>&1` in
2648 *GNU*)
2649 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2651 ac_count=0
2652 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2653 while :
2655 cat "conftest.in" "conftest.in" >"conftest.tmp"
2656 mv "conftest.tmp" "conftest.in"
2657 cp "conftest.in" "conftest.nl"
2658 echo 'EGREP' >> "conftest.nl"
2659 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2660 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2661 ac_count=`expr $ac_count + 1`
2662 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2663 # Best one so far, save it but keep looking for a better one
2664 ac_cv_path_EGREP="$ac_path_EGREP"
2665 ac_path_EGREP_max=$ac_count
2667 # 10*(2^10) chars as input seems more than enough
2668 test $ac_count -gt 10 && break
2669 done
2670 rm -f conftest.*;;
2671 esac
2674 $ac_path_EGREP_found && break 3
2675 done
2676 done
2678 done
2679 IFS=$as_save_IFS
2684 EGREP="$ac_cv_path_EGREP"
2685 if test -z "$EGREP"; then
2686 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2687 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2688 { (exit 1); exit 1; }; }
2691 else
2692 ac_cv_path_EGREP=$EGREP
2698 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2699 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2700 EGREP="$ac_cv_path_EGREP"
2703 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2704 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2705 if test "${ac_cv_path_SED+set}" = set; then
2706 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 else
2708 # Extract the first word of "sed gsed" to use in msg output
2709 if test -z "$SED"; then
2710 set dummy sed gsed; ac_prog_name=$2
2711 if test "${ac_cv_path_SED+set}" = set; then
2712 echo $ECHO_N "(cached) $ECHO_C" >&6
2713 else
2714 ac_path_SED_found=false
2715 # Loop through the user's path and test for each of PROGNAME-LIST
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 for as_dir in $PATH
2719 IFS=$as_save_IFS
2720 test -z "$as_dir" && as_dir=.
2721 test -d "$as_dir" || continue
2722 for ac_prog in sed gsed; do
2723 for ac_exec_ext in '' $ac_executable_extensions; do
2724 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2725 { test -f "$ac_path_SED" && $as_executable_p "$ac_path_SED"; } || continue
2726 # Check for GNU ac_path_SED and select it if it is found.
2727 # Check for GNU $ac_path_SED
2728 case `"$ac_path_SED" --version 2>&1` in
2729 *GNU*)
2730 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2732 ac_count=0
2733 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2734 while :
2736 cat "conftest.in" "conftest.in" >"conftest.tmp"
2737 mv "conftest.tmp" "conftest.in"
2738 cp "conftest.in" "conftest.nl"
2739 echo '' >> "conftest.nl"
2740 "$ac_path_SED" -e 's/a$//' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2741 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2742 ac_count=`expr $ac_count + 1`
2743 if test $ac_count -gt ${ac_path_SED_max-0}; then
2744 # Best one so far, save it but keep looking for a better one
2745 ac_cv_path_SED="$ac_path_SED"
2746 ac_path_SED_max=$ac_count
2748 # 10*(2^10) chars as input seems more than enough
2749 test $ac_count -gt 10 && break
2750 done
2751 rm -f conftest.*;;
2752 esac
2755 $ac_path_SED_found && break 3
2756 done
2757 done
2759 done
2760 IFS=$as_save_IFS
2765 SED="$ac_cv_path_SED"
2766 if test -z "$SED"; then
2767 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2768 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2769 { (exit 1); exit 1; }; }
2772 else
2773 ac_cv_path_SED=$SED
2777 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2778 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2779 SED="$ac_cv_path_SED"
2784 ## ------------ ##
2785 ## Conclusion. ##
2786 ## ------------ ##
2789 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"
2791 cat >confcache <<\_ACEOF
2792 # This file is a shell script that caches the results of configure
2793 # tests run on this system so they can be shared between configure
2794 # scripts and configure runs, see configure's option --config-cache.
2795 # It is not useful on other systems. If it contains results you don't
2796 # want to keep, you may remove or edit it.
2798 # config.status only pays attention to the cache file if you give it
2799 # the --recheck option to rerun configure.
2801 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2802 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2803 # following values.
2805 _ACEOF
2807 # The following way of writing the cache mishandles newlines in values,
2808 # but we know of no workaround that is simple, portable, and efficient.
2809 # So, don't put newlines in cache variables' values.
2810 # Ultrix sh set writes to stderr and can't be redirected directly,
2811 # and sets the high bit in the cache file unless we assign to the vars.
2813 (set) 2>&1 |
2814 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2815 *ac_space=\ *)
2816 # `set' does not quote correctly, so add quotes (double-quote
2817 # substitution turns \\\\ into \\, and sed turns \\ into \).
2818 sed -n \
2819 "s/'/'\\\\''/g;
2820 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2823 # `set' quotes correctly as required by POSIX, so do not add quotes.
2824 sed -n \
2825 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2827 esac;
2829 sed '
2830 t clear
2831 :clear
2832 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2833 t end
2834 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2835 :end' >>confcache
2836 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2837 if test -w $cache_file; then
2838 test "x$cache_file" != "x/dev/null" &&
2839 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2840 echo "$as_me: updating cache $cache_file" >&6;}
2841 cat confcache >$cache_file
2842 else
2843 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2844 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
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\(/\)' \| . 2>/dev/null ||
3044 echo X/"$0" |
3045 sed '/^.*\/\([^/][^/]*\)\/*$/{
3046 s//\1/
3049 /^X\/\(\/\/\)$/{
3050 s//\1/
3053 /^X\/\(\/\).*/{
3054 s//\1/
3057 s/.*/./; q'`
3059 # CDPATH.
3060 $as_unset CDPATH
3064 as_lineno_1=$LINENO
3065 as_lineno_2=$LINENO
3066 test "x$as_lineno_1" != "x$as_lineno_2" &&
3067 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3069 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3070 # uniformly replaced by the line number. The first 'sed' inserts a
3071 # line-number line after each line using $LINENO; the second 'sed'
3072 # does the real work. The second script uses 'N' to pair each
3073 # line-number line with the line containing $LINENO, and appends
3074 # trailing '-' during substitution so that $LINENO is not a special
3075 # case at line end.
3076 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3077 # scripts with optimization help from Paolo Bonzini. Blame Lee
3078 # E. McMahon (1931-1989) for sed's syntax. :-)
3079 sed -n '
3081 /[$]LINENO/=
3082 ' <$as_myself |
3083 sed '
3084 s/[$]LINENO.*/&-/
3085 t lineno
3087 :lineno
3089 :loop
3090 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3091 t loop
3092 s/-\n.*//
3093 ' >$as_me.lineno &&
3094 chmod +x "$as_me.lineno" ||
3095 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3096 { (exit 1); exit 1; }; }
3098 # Don't try to exec as it changes $[0], causing all sort of problems
3099 # (the dirname of $[0] is not the place where we might find the
3100 # original and so on. Autoconf is especially sensitive to this).
3101 . "./$as_me.lineno"
3102 # Exit status is that of the last command.
3103 exit
3107 if (dirname /) >/dev/null 2>&1; then
3108 as_dirname=dirname
3109 else
3110 as_dirname=false
3113 ECHO_C= ECHO_N= ECHO_T=
3114 case `echo -n x` in
3115 -n*)
3116 case `echo 'x\c'` in
3117 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3118 *) ECHO_C='\c';;
3119 esac;;
3121 ECHO_N='-n';;
3122 esac
3124 if expr a : '\(a\)' >/dev/null 2>&1 &&
3125 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3126 as_expr=expr
3127 else
3128 as_expr=false
3131 rm -f conf$$ conf$$.exe conf$$.file
3132 echo >conf$$.file
3133 if ln -s conf$$.file conf$$ 2>/dev/null; then
3134 # We could just check for DJGPP; but this test a) works b) is more generic
3135 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3136 if test -f conf$$.exe; then
3137 # Don't use ln at all; we don't have any links
3138 as_ln_s='cp -p'
3139 else
3140 as_ln_s='ln -s'
3142 elif ln conf$$.file conf$$ 2>/dev/null; then
3143 as_ln_s=ln
3144 else
3145 as_ln_s='cp -p'
3147 rm -f conf$$ conf$$.exe conf$$.file
3149 if mkdir -p . 2>/dev/null; then
3150 as_mkdir_p=:
3151 else
3152 test -d ./-p && rmdir ./-p
3153 as_mkdir_p=false
3156 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3157 # systems may use methods other than mode bits to determine executability.
3158 cat >conf$$.file <<_ASEOF
3159 #! /bin/sh
3160 exit 0
3161 _ASEOF
3162 chmod +x conf$$.file
3163 if test -x conf$$.file >/dev/null 2>&1; then
3164 as_executable_p="test -x"
3165 else
3166 as_executable_p=:
3168 rm -f conf$$.file
3170 # Sed expression to map a string onto a valid CPP name.
3171 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3173 # Sed expression to map a string onto a valid variable name.
3174 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3177 exec 6>&1
3179 # Save the log message, to keep $[0] and so on meaningful, and to
3180 # report actual input values of CONFIG_FILES etc. instead of their
3181 # values after options handling.
3182 ac_log="
3183 This file was extended by GNU Autoconf $as_me 2.59c, which was
3184 generated by GNU Autoconf 2.59c. Invocation command line was
3186 CONFIG_FILES = $CONFIG_FILES
3187 CONFIG_HEADERS = $CONFIG_HEADERS
3188 CONFIG_LINKS = $CONFIG_LINKS
3189 CONFIG_COMMANDS = $CONFIG_COMMANDS
3190 $ $0 $@
3192 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3195 _ACEOF
3197 cat >>$CONFIG_STATUS <<_ACEOF
3198 # Files that config.status was made for.
3199 config_files="$ac_config_files"
3200 config_commands="$ac_config_commands"
3202 _ACEOF
3204 cat >>$CONFIG_STATUS <<\_ACEOF
3205 ac_cs_usage="\
3206 \`$as_me' instantiates files from templates according to the
3207 current configuration.
3209 Usage: $0 [OPTIONS] [FILE]...
3211 -h, --help print this help, then exit
3212 -V, --version print version number, then exit
3213 -q, --quiet do not print progress messages
3214 -d, --debug don't remove temporary files
3215 --recheck update $as_me by reconfiguring in the same conditions
3216 --file=FILE[:TEMPLATE]
3217 instantiate the configuration file FILE
3219 Configuration files:
3220 $config_files
3222 Configuration commands:
3223 $config_commands
3225 Report bugs to <bug-autoconf@gnu.org>."
3227 _ACEOF
3228 cat >>$CONFIG_STATUS <<_ACEOF
3229 ac_cs_version="\\
3230 GNU Autoconf config.status 2.59c
3231 configured by $0, generated by GNU Autoconf 2.59c,
3232 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3234 Copyright (C) 2006 Free Software Foundation, Inc.
3235 This config.status script is free software; the Free Software Foundation
3236 gives unlimited permission to copy, distribute and modify it."
3238 ac_pwd='$ac_pwd'
3239 srcdir='$srcdir'
3240 INSTALL='$INSTALL'
3242 _ACEOF
3244 cat >>$CONFIG_STATUS <<\_ACEOF
3245 # If no file are specified by the user, then we need to provide default
3246 # value. By we need to know if files were specified by the user.
3247 ac_need_defaults=:
3248 while test $# != 0
3250 case $1 in
3251 --*=*)
3252 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3253 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3254 ac_shift=:
3257 ac_option=$1
3258 ac_optarg=$2
3259 ac_shift=shift
3261 esac
3263 case $ac_option in
3264 # Handling of the options.
3265 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3266 ac_cs_recheck=: ;;
3267 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3268 echo "$ac_cs_version"; exit ;;
3269 --debug | --debu | --deb | --de | --d | -d )
3270 debug=: ;;
3271 --file | --fil | --fi | --f )
3272 $ac_shift
3273 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3274 ac_need_defaults=false;;
3275 --he | --h | --help | --hel | -h )
3276 echo "$ac_cs_usage"; exit ;;
3277 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3278 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3279 ac_cs_silent=: ;;
3281 # This is an error.
3282 -*) { echo "$as_me: error: unrecognized option: $1
3283 Try \`$0 --help' for more information." >&2
3284 { (exit 1); exit 1; }; } ;;
3286 *) ac_config_targets="$ac_config_targets $1"
3287 ac_need_defaults=false ;;
3289 esac
3290 shift
3291 done
3293 ac_configure_extra_args=
3295 if $ac_cs_silent; then
3296 exec 6>/dev/null
3297 ac_configure_extra_args="$ac_configure_extra_args --silent"
3300 exec 5>>config.log
3302 echo
3303 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3304 ## Running $as_me. ##
3305 _ASBOX
3306 echo "$ac_log"
3307 } >&5
3309 _ACEOF
3310 cat >>$CONFIG_STATUS <<_ACEOF
3311 if \$ac_cs_recheck; then
3312 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3313 CONFIG_SHELL=$SHELL
3314 export CONFIG_SHELL
3315 exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3317 _ACEOF
3319 cat >>$CONFIG_STATUS <<\_ACEOF
3321 # Handling of arguments.
3322 for ac_config_target in $ac_config_targets
3324 case $ac_config_target in
3325 config/Makefile) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
3326 tests/atconfig) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3327 tests/Makefile) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3328 tests/atlocal) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3329 man/Makefile) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3330 lib/emacs/Makefile) CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3331 Makefile) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3332 doc/Makefile) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3333 lib/Makefile) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3334 lib/Autom4te/Makefile) CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3335 lib/autoscan/Makefile) CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3336 lib/m4sugar/Makefile) CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3337 lib/autoconf/Makefile) CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3338 lib/autotest/Makefile) CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3339 bin/Makefile) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3341 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3342 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3343 { (exit 1); exit 1; }; };;
3344 esac
3345 done
3348 # If the user did not use the arguments to specify the items to instantiate,
3349 # then the envvar interface is used. Set only those that are not.
3350 # We use the long form for the default assignment because of an extremely
3351 # bizarre bug on SunOS 4.1.3.
3352 if $ac_need_defaults; then
3353 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3354 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3357 # Have a temporary directory for convenience. Make it in the build tree
3358 # simply because there is no reason against having it here, and in addition,
3359 # creating and moving files from /tmp can sometimes cause problems.
3360 # Hook for its removal unless debugging.
3361 # Note that there is a small window in which the directory will not be cleaned:
3362 # after its creation but before its name has been assigned to `$tmp'.
3363 $debug ||
3365 tmp=
3366 trap 'exit_status=$?
3367 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3369 trap '{ (exit 1); exit 1; }' 1 2 13 15
3371 # Create a (secure) tmp directory for tmp files.
3374 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3375 test -n "$tmp" && test -d "$tmp"
3376 } ||
3378 tmp=./conf$$-$RANDOM
3379 (umask 077 && mkdir "$tmp")
3380 } ||
3382 echo "$me: cannot create a temporary directory in ." >&2
3383 { (exit 1); exit 1; }
3387 # Set up the sed scripts for CONFIG_FILES section.
3390 # No need to generate the scripts if there are no CONFIG_FILES.
3391 # This happens for instance when ./config.status config.h
3392 if test -n "$CONFIG_FILES"; then
3394 _ACEOF
3398 ac_delim='%!_!# '
3399 for ac_last_try in false false false false false :; do
3400 cat >conf$$subs.sed <<_ACEOF
3401 SHELL!$SHELL$ac_delim
3402 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3403 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3404 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3405 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3406 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3407 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3408 exec_prefix!$exec_prefix$ac_delim
3409 prefix!$prefix$ac_delim
3410 program_transform_name!$program_transform_name$ac_delim
3411 bindir!$bindir$ac_delim
3412 sbindir!$sbindir$ac_delim
3413 libexecdir!$libexecdir$ac_delim
3414 datarootdir!$datarootdir$ac_delim
3415 datadir!$datadir$ac_delim
3416 sysconfdir!$sysconfdir$ac_delim
3417 sharedstatedir!$sharedstatedir$ac_delim
3418 localstatedir!$localstatedir$ac_delim
3419 includedir!$includedir$ac_delim
3420 oldincludedir!$oldincludedir$ac_delim
3421 docdir!$docdir$ac_delim
3422 infodir!$infodir$ac_delim
3423 htmldir!$htmldir$ac_delim
3424 dvidir!$dvidir$ac_delim
3425 pdfdir!$pdfdir$ac_delim
3426 psdir!$psdir$ac_delim
3427 libdir!$libdir$ac_delim
3428 localedir!$localedir$ac_delim
3429 mandir!$mandir$ac_delim
3430 DEFS!$DEFS$ac_delim
3431 ECHO_C!$ECHO_C$ac_delim
3432 ECHO_N!$ECHO_N$ac_delim
3433 ECHO_T!$ECHO_T$ac_delim
3434 LIBS!$LIBS$ac_delim
3435 build_alias!$build_alias$ac_delim
3436 host_alias!$host_alias$ac_delim
3437 target_alias!$target_alias$ac_delim
3438 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3439 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3440 INSTALL_DATA!$INSTALL_DATA$ac_delim
3441 CYGPATH_W!$CYGPATH_W$ac_delim
3442 PACKAGE!$PACKAGE$ac_delim
3443 VERSION!$VERSION$ac_delim
3444 ACLOCAL!$ACLOCAL$ac_delim
3445 AUTOCONF!$AUTOCONF$ac_delim
3446 AUTOMAKE!$AUTOMAKE$ac_delim
3447 AUTOHEADER!$AUTOHEADER$ac_delim
3448 MAKEINFO!$MAKEINFO$ac_delim
3449 install_sh!$install_sh$ac_delim
3450 STRIP!$STRIP$ac_delim
3451 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3452 mkdir_p!$mkdir_p$ac_delim
3453 AWK!$AWK$ac_delim
3454 SET_MAKE!$SET_MAKE$ac_delim
3455 am__leading_dot!$am__leading_dot$ac_delim
3456 AMTAR!$AMTAR$ac_delim
3457 am__tar!$am__tar$ac_delim
3458 am__untar!$am__untar$ac_delim
3459 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3460 EXPR!$EXPR$ac_delim
3461 M4!$M4$ac_delim
3462 HELP2MAN!$HELP2MAN$ac_delim
3463 PERL!$PERL$ac_delim
3464 TEST_EMACS!$TEST_EMACS$ac_delim
3465 EMACS!$EMACS$ac_delim
3466 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3467 lispdir!$lispdir$ac_delim
3468 GREP!$GREP$ac_delim
3469 EGREP!$EGREP$ac_delim
3470 SED!$SED$ac_delim
3471 LIBOBJS!$LIBOBJS$ac_delim
3472 LTLIBOBJS!$LTLIBOBJS$ac_delim
3473 _ACEOF
3475 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 72; then
3476 break
3477 elif $ac_last_try; then
3478 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3479 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3480 { (exit 1); exit 1; }; }
3481 else
3482 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3484 done
3486 ac_eof=
3487 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
3488 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3489 ac_eof=`expr 0$ac_eof + 1`
3492 cat >>$CONFIG_STATUS <<_ACEOF
3493 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3495 _ACEOF
3496 sed '
3497 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3498 s/^/s,@/; s/!/@,|#_!!_#|/
3501 s/'"$ac_delim"'$/,g/; t
3502 s/$/\\/; p
3503 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3504 ' >>$CONFIG_STATUS <conf$$subs.sed
3505 rm -f conf$$subs.sed
3506 cat >>$CONFIG_STATUS <<_ACEOF
3507 :end
3508 s/|#_!!_#|//g
3509 CEOF$ac_eof
3510 _ACEOF
3513 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3514 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3515 # trailing colons and then remove the whole line if VPATH becomes empty
3516 # (actually we leave an empty line to preserve line numbers).
3517 if test "x$srcdir" = x.; then
3518 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3519 s/:*\$(srcdir):*/:/
3520 s/:*\${srcdir}:*/:/
3521 s/:*@srcdir@:*/:/
3522 s/^\([^=]*=[ ]*\):*/\1/
3523 s/:*$//
3524 s/^[^=]*=[ ]*$//
3528 cat >>$CONFIG_STATUS <<\_ACEOF
3529 fi # test -n "$CONFIG_FILES"
3532 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3534 case $ac_tag in
3535 :[FHLC]) ac_mode=$ac_tag; continue;;
3536 esac
3537 case $ac_mode$ac_tag in
3538 :[FHL]*:*);;
3539 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3540 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3541 { (exit 1); exit 1; }; };;
3542 :[FH]-) ac_tag=-:-;;
3543 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3544 esac
3545 ac_save_IFS=$IFS
3546 IFS=:
3547 set x $ac_tag
3548 IFS=$ac_save_IFS
3549 shift
3550 ac_file=$1
3551 shift
3553 case $ac_mode in
3554 :L) ac_source=$1;;
3555 :[FH])
3556 ac_file_inputs=
3557 for ac_f
3559 case $ac_f in
3560 -) ac_f="$tmp/stdin";;
3561 *) # Look for the file first in the build tree, then in the source tree
3562 # (if the path is not absolute). The absolute path cannot be DOS-style,
3563 # because $ac_f cannot contain `:'.
3564 test -f "$ac_f" ||
3565 case $ac_f in
3566 [\\/$]*) false;;
3567 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3568 esac ||
3569 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3570 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3571 { (exit 1); exit 1; }; };;
3572 esac
3573 ac_file_inputs="$ac_file_inputs $ac_f"
3574 done
3576 # Let's still pretend it is `configure' which instantiates (i.e., don't
3577 # use $as_me), people would be surprised to read:
3578 # /* config.h. Generated by config.status. */
3579 configure_input="Generated from "`IFS=:
3580 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3581 if test x"$ac_file" != x-; then
3582 configure_input="$ac_file. $configure_input"
3583 { echo "$as_me:$LINENO: creating $ac_file" >&5
3584 echo "$as_me: creating $ac_file" >&6;}
3587 case $ac_tag in
3588 *:-:* | *:-) cat >"$tmp/stdin";;
3589 esac
3591 esac
3593 ac_dir=`$as_dirname "$ac_file" ||
3594 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3595 X"$ac_file" : 'X\(//\)[^/]' \| \
3596 X"$ac_file" : 'X\(//\)$' \| \
3597 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3598 echo X"$ac_file" |
3599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3600 s//\1/
3603 /^X\(\/\/\)[^/].*/{
3604 s//\1/
3607 /^X\(\/\/\)$/{
3608 s//\1/
3611 /^X\(\/\).*/{
3612 s//\1/
3615 s/.*/./; q'`
3616 { if $as_mkdir_p; then
3617 test -d "$ac_dir" || mkdir -p "$ac_dir"
3618 else
3619 as_dir="$ac_dir"
3620 as_dirs=
3621 while test ! -d "$as_dir"; do
3622 as_dirs="$as_dir $as_dirs"
3623 as_dir=`$as_dirname "$as_dir" ||
3624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3625 X"$as_dir" : 'X\(//\)[^/]' \| \
3626 X"$as_dir" : 'X\(//\)$' \| \
3627 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3628 echo X"$as_dir" |
3629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3630 s//\1/
3633 /^X\(\/\/\)[^/].*/{
3634 s//\1/
3637 /^X\(\/\/\)$/{
3638 s//\1/
3641 /^X\(\/\).*/{
3642 s//\1/
3645 s/.*/./; q'`
3646 done
3647 test ! -n "$as_dirs" || mkdir $as_dirs
3648 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3649 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3650 { (exit 1); exit 1; }; }; }
3651 ac_builddir=.
3653 case "$ac_dir" in
3654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3656 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3657 # A ".." for each directory in $ac_dir_suffix.
3658 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3659 case $ac_top_builddir_sub in
3660 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3661 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3662 esac ;;
3663 esac
3664 ac_abs_top_builddir=$ac_pwd
3665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3666 # for backward compatibility:
3667 ac_top_builddir=$ac_top_build_prefix
3669 case $srcdir in
3670 .) # We are building in place.
3671 ac_srcdir=.
3672 ac_top_srcdir=$ac_top_builddir_sub
3673 ac_abs_top_srcdir=$ac_pwd ;;
3674 [\\/]* | ?:[\\/]* ) # Absolute name.
3675 ac_srcdir=$srcdir$ac_dir_suffix;
3676 ac_top_srcdir=$srcdir
3677 ac_abs_top_srcdir=$srcdir ;;
3678 *) # Relative name.
3679 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3680 ac_top_srcdir=$ac_top_build_prefix$srcdir
3681 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3682 esac
3683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3686 case $ac_mode in
3689 # CONFIG_FILE
3692 case $INSTALL in
3693 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3694 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3695 esac
3697 _ACEOF
3699 # Neutralize VPATH when `$srcdir' = `.'.
3700 # Shell code in configure.ac might set extrasub.
3701 # FIXME: do we really want to maintain this feature?
3702 cat >>$CONFIG_STATUS <<_ACEOF
3703 sed "$ac_vpsub
3704 $extrasub
3705 _ACEOF
3706 cat >>$CONFIG_STATUS <<\_ACEOF
3708 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3709 s&@configure_input@&$configure_input&;t t
3710 s&@top_builddir@&$ac_top_builddir_sub&;t t
3711 s&@srcdir@&$ac_srcdir&;t t
3712 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3713 s&@top_srcdir@&$ac_top_srcdir&;t t
3714 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3715 s&@builddir@&$ac_builddir&;t t
3716 s&@abs_builddir@&$ac_abs_builddir&;t t
3717 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3718 s&@INSTALL@&$ac_INSTALL&;t t
3719 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3721 rm -f "$tmp/stdin"
3722 case $ac_file in
3723 -) cat "$tmp/out"; rm -f "$tmp/out";;
3724 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3725 esac
3729 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3730 echo "$as_me: executing $ac_file commands" >&6;}
3732 esac
3735 case $ac_file$ac_mode in
3736 tests/atconfig:C) cat >tests/atconfig <<ATEOF
3737 # Configurable variable values for building test suites.
3738 # Generated by $0.
3739 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3741 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3742 at_testdir='tests'
3743 abs_builddir='$ac_abs_builddir'
3744 at_srcdir='$ac_srcdir'
3745 abs_srcdir='$ac_abs_srcdir'
3746 at_top_srcdir='$ac_top_srcdir'
3747 abs_top_srcdir='$ac_abs_top_srcdir'
3748 at_top_build_prefix='$ac_top_build_prefix'
3749 abs_top_builddir='$ac_abs_top_builddir'
3751 # Backward compatibility with Autotest <= 2.59b:
3752 at_top_builddir=\$at_top_build_prefix
3754 AUTOTEST_PATH='tests'
3756 SHELL=\${CONFIG_SHELL-'$SHELL'}
3757 ATEOF
3760 esac
3761 done # for ac_tag
3764 { (exit 0); exit 0; }
3765 _ACEOF
3766 chmod +x $CONFIG_STATUS
3767 ac_clean_files=$ac_clean_files_save
3770 # configure is writing to config.log, and then calls config.status.
3771 # config.status does its own redirection, appending to config.log.
3772 # Unfortunately, on DOS this fails, as config.log is still kept open
3773 # by configure, so config.status won't be able to write to it; its
3774 # output is simply discarded. So we exec the FD to /dev/null,
3775 # effectively closing config.log, so it can be properly (re)opened and
3776 # appended to by config.status. When coming back to configure, we
3777 # need to make the FD available again.
3778 if test "$no_create" != yes; then
3779 ac_cs_success=:
3780 ac_config_status_args=
3781 test "$silent" = yes &&
3782 ac_config_status_args="$ac_config_status_args --quiet"
3783 exec 5>/dev/null
3784 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3785 exec 5>>config.log
3786 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3787 # would make configure fail if this is the last instruction.
3788 $ac_cs_success || { (exit 1); exit 1; }
3791 # Report the state of this version of Autoconf if this is a beta.
3792 cat <<EOF
3794 You are about to use an experimental version of Autoconf. Be sure to
3795 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3797 Below you will find information on the status of this version of Autoconf.
3801 sed -n '/^\* Status/,$p' $srcdir/BUGS