* tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
[autoconf/tsuna.git] / configure
blob79ddc41fa5f9b38d0a7846bf48f436ed341be06b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60c for GNU Autoconf 2.60c.
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 more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='GNU Autoconf'
576 PACKAGE_TARNAME='autoconf'
577 PACKAGE_VERSION='2.60c'
578 PACKAGE_STRING='GNU Autoconf 2.60c'
579 PACKAGE_BUGREPORT='bug-autoconf@gnu.org'
581 ac_unique_file="ChangeLog"
582 ac_subst_vars='SHELL
583 PATH_SEPARATOR
584 PACKAGE_NAME
585 PACKAGE_TARNAME
586 PACKAGE_VERSION
587 PACKAGE_STRING
588 PACKAGE_BUGREPORT
589 exec_prefix
590 prefix
591 program_transform_name
592 bindir
593 sbindir
594 libexecdir
595 datarootdir
596 datadir
597 sysconfdir
598 sharedstatedir
599 localstatedir
600 includedir
601 oldincludedir
602 docdir
603 infodir
604 htmldir
605 dvidir
606 pdfdir
607 psdir
608 libdir
609 localedir
610 mandir
611 DEFS
612 ECHO_C
613 ECHO_N
614 ECHO_T
615 LIBS
616 build_alias
617 host_alias
618 target_alias
619 INSTALL_PROGRAM
620 INSTALL_SCRIPT
621 INSTALL_DATA
622 am__isrc
623 CYGPATH_W
624 PACKAGE
625 VERSION
626 ACLOCAL
627 AUTOCONF
628 AUTOMAKE
629 AUTOHEADER
630 MAKEINFO
631 install_sh
632 STRIP
633 INSTALL_STRIP_PROGRAM
634 mkdir_p
636 SET_MAKE
637 am__leading_dot
638 AMTAR
639 am__tar
640 am__untar
641 ac_cv_sh_n_works
642 EXPR
644 M4_DEBUGFILE
645 HELP2MAN
646 PERL
647 TEST_EMACS
648 EMACS
649 EMACSLOADPATH
650 lispdir
651 GREP
652 EGREP
654 LIBOBJS
655 LTLIBOBJS'
656 ac_subst_files=''
657 ac_precious_vars='build_alias
658 host_alias
659 target_alias
660 EMACS
661 EMACSLOADPATH'
664 # Initialize some variables set by options.
665 ac_init_help=
666 ac_init_version=false
667 # The variables have the same names as the options, with
668 # dashes changed to underlines.
669 cache_file=/dev/null
670 exec_prefix=NONE
671 no_create=
672 no_recursion=
673 prefix=NONE
674 program_prefix=NONE
675 program_suffix=NONE
676 program_transform_name=s,x,x,
677 silent=
678 site=
679 srcdir=
680 verbose=
681 x_includes=NONE
682 x_libraries=NONE
684 # Installation directory options.
685 # These are left unexpanded so users can "make install exec_prefix=/foo"
686 # and all the variables that are supposed to be based on exec_prefix
687 # by default will actually change.
688 # Use braces instead of parens because sh, perl, etc. also accept them.
689 # (The list follows the same order as the GNU Coding Standards.)
690 bindir='${exec_prefix}/bin'
691 sbindir='${exec_prefix}/sbin'
692 libexecdir='${exec_prefix}/libexec'
693 datarootdir='${prefix}/share'
694 datadir='${datarootdir}'
695 sysconfdir='${prefix}/etc'
696 sharedstatedir='${prefix}/com'
697 localstatedir='${prefix}/var'
698 includedir='${prefix}/include'
699 oldincludedir='/usr/include'
700 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
701 infodir='${datarootdir}/info'
702 htmldir='${docdir}'
703 dvidir='${docdir}'
704 pdfdir='${docdir}'
705 psdir='${docdir}'
706 libdir='${exec_prefix}/lib'
707 localedir='${datarootdir}/locale'
708 mandir='${datarootdir}/man'
710 ac_prev=
711 ac_dashdash=
712 for ac_option
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\$ac_option
717 ac_prev=
718 continue
721 case $ac_option in
722 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 *) ac_optarg=yes ;;
724 esac
726 # Accept the important Cygnus configure options, so we can diagnose typos.
728 case $ac_dashdash$ac_option in
730 ac_dashdash=yes ;;
732 -bindir | --bindir | --bindi | --bind | --bin | --bi)
733 ac_prev=bindir ;;
734 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
735 bindir=$ac_optarg ;;
737 -build | --build | --buil | --bui | --bu)
738 ac_prev=build_alias ;;
739 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
740 build_alias=$ac_optarg ;;
742 -cache-file | --cache-file | --cache-fil | --cache-fi \
743 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
744 ac_prev=cache_file ;;
745 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
746 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
747 cache_file=$ac_optarg ;;
749 --config-cache | -C)
750 cache_file=config.cache ;;
752 -datadir | --datadir | --datadi | --datad)
753 ac_prev=datadir ;;
754 -datadir=* | --datadir=* | --datadi=* | --datad=*)
755 datadir=$ac_optarg ;;
757 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
758 | --dataroo | --dataro | --datar)
759 ac_prev=datarootdir ;;
760 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
761 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
762 datarootdir=$ac_optarg ;;
764 -disable-* | --disable-*)
765 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
766 # Reject names that are not valid shell variable names.
767 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
768 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
769 { (exit 1); exit 1; }; }
770 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
771 eval enable_$ac_feature=no ;;
773 -docdir | --docdir | --docdi | --doc | --do)
774 ac_prev=docdir ;;
775 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
776 docdir=$ac_optarg ;;
778 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
779 ac_prev=dvidir ;;
780 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
781 dvidir=$ac_optarg ;;
783 -enable-* | --enable-*)
784 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
787 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
788 { (exit 1); exit 1; }; }
789 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
790 eval enable_$ac_feature=\$ac_optarg ;;
792 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
793 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
794 | --exec | --exe | --ex)
795 ac_prev=exec_prefix ;;
796 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
797 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
798 | --exec=* | --exe=* | --ex=*)
799 exec_prefix=$ac_optarg ;;
801 -gas | --gas | --ga | --g)
802 # Obsolete; use --with-gas.
803 with_gas=yes ;;
805 -help | --help | --hel | --he | -h)
806 ac_init_help=long ;;
807 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
808 ac_init_help=recursive ;;
809 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
810 ac_init_help=short ;;
812 -host | --host | --hos | --ho)
813 ac_prev=host_alias ;;
814 -host=* | --host=* | --hos=* | --ho=*)
815 host_alias=$ac_optarg ;;
817 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
818 ac_prev=htmldir ;;
819 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
820 | --ht=*)
821 htmldir=$ac_optarg ;;
823 -includedir | --includedir | --includedi | --included | --include \
824 | --includ | --inclu | --incl | --inc)
825 ac_prev=includedir ;;
826 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
827 | --includ=* | --inclu=* | --incl=* | --inc=*)
828 includedir=$ac_optarg ;;
830 -infodir | --infodir | --infodi | --infod | --info | --inf)
831 ac_prev=infodir ;;
832 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
833 infodir=$ac_optarg ;;
835 -libdir | --libdir | --libdi | --libd)
836 ac_prev=libdir ;;
837 -libdir=* | --libdir=* | --libdi=* | --libd=*)
838 libdir=$ac_optarg ;;
840 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
841 | --libexe | --libex | --libe)
842 ac_prev=libexecdir ;;
843 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
844 | --libexe=* | --libex=* | --libe=*)
845 libexecdir=$ac_optarg ;;
847 -localedir | --localedir | --localedi | --localed | --locale)
848 ac_prev=localedir ;;
849 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
850 localedir=$ac_optarg ;;
852 -localstatedir | --localstatedir | --localstatedi | --localstated \
853 | --localstate | --localstat | --localsta | --localst | --locals)
854 ac_prev=localstatedir ;;
855 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
856 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
857 localstatedir=$ac_optarg ;;
859 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
860 ac_prev=mandir ;;
861 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
862 mandir=$ac_optarg ;;
864 -nfp | --nfp | --nf)
865 # Obsolete; use --without-fp.
866 with_fp=no ;;
868 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
869 | --no-cr | --no-c | -n)
870 no_create=yes ;;
872 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
873 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
874 no_recursion=yes ;;
876 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
877 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
878 | --oldin | --oldi | --old | --ol | --o)
879 ac_prev=oldincludedir ;;
880 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
881 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
882 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
883 oldincludedir=$ac_optarg ;;
885 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
886 ac_prev=prefix ;;
887 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
888 prefix=$ac_optarg ;;
890 -program-prefix | --program-prefix | --program-prefi | --program-pref \
891 | --program-pre | --program-pr | --program-p)
892 ac_prev=program_prefix ;;
893 -program-prefix=* | --program-prefix=* | --program-prefi=* \
894 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
895 program_prefix=$ac_optarg ;;
897 -program-suffix | --program-suffix | --program-suffi | --program-suff \
898 | --program-suf | --program-su | --program-s)
899 ac_prev=program_suffix ;;
900 -program-suffix=* | --program-suffix=* | --program-suffi=* \
901 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
902 program_suffix=$ac_optarg ;;
904 -program-transform-name | --program-transform-name \
905 | --program-transform-nam | --program-transform-na \
906 | --program-transform-n | --program-transform- \
907 | --program-transform | --program-transfor \
908 | --program-transfo | --program-transf \
909 | --program-trans | --program-tran \
910 | --progr-tra | --program-tr | --program-t)
911 ac_prev=program_transform_name ;;
912 -program-transform-name=* | --program-transform-name=* \
913 | --program-transform-nam=* | --program-transform-na=* \
914 | --program-transform-n=* | --program-transform-=* \
915 | --program-transform=* | --program-transfor=* \
916 | --program-transfo=* | --program-transf=* \
917 | --program-trans=* | --program-tran=* \
918 | --progr-tra=* | --program-tr=* | --program-t=*)
919 program_transform_name=$ac_optarg ;;
921 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
922 ac_prev=pdfdir ;;
923 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
924 pdfdir=$ac_optarg ;;
926 -psdir | --psdir | --psdi | --psd | --ps)
927 ac_prev=psdir ;;
928 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
929 psdir=$ac_optarg ;;
931 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
932 | -silent | --silent | --silen | --sile | --sil)
933 silent=yes ;;
935 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
936 ac_prev=sbindir ;;
937 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
938 | --sbi=* | --sb=*)
939 sbindir=$ac_optarg ;;
941 -sharedstatedir | --sharedstatedir | --sharedstatedi \
942 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
943 | --sharedst | --shareds | --shared | --share | --shar \
944 | --sha | --sh)
945 ac_prev=sharedstatedir ;;
946 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
947 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
948 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
949 | --sha=* | --sh=*)
950 sharedstatedir=$ac_optarg ;;
952 -site | --site | --sit)
953 ac_prev=site ;;
954 -site=* | --site=* | --sit=*)
955 site=$ac_optarg ;;
957 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
958 ac_prev=srcdir ;;
959 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
960 srcdir=$ac_optarg ;;
962 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
963 | --syscon | --sysco | --sysc | --sys | --sy)
964 ac_prev=sysconfdir ;;
965 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
966 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
967 sysconfdir=$ac_optarg ;;
969 -target | --target | --targe | --targ | --tar | --ta | --t)
970 ac_prev=target_alias ;;
971 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
972 target_alias=$ac_optarg ;;
974 -v | -verbose | --verbose | --verbos | --verbo | --verb)
975 verbose=yes ;;
977 -version | --version | --versio | --versi | --vers | -V)
978 ac_init_version=: ;;
980 -with-* | --with-*)
981 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
984 { echo "$as_me: error: invalid package name: $ac_package" >&2
985 { (exit 1); exit 1; }; }
986 ac_package=`echo $ac_package| sed 's/-/_/g'`
987 eval with_$ac_package=\$ac_optarg ;;
989 -without-* | --without-*)
990 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
993 { echo "$as_me: error: invalid package name: $ac_package" >&2
994 { (exit 1); exit 1; }; }
995 ac_package=`echo $ac_package | sed 's/-/_/g'`
996 eval with_$ac_package=no ;;
998 --x)
999 # Obsolete; use --with-x.
1000 with_x=yes ;;
1002 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1003 | --x-incl | --x-inc | --x-in | --x-i)
1004 ac_prev=x_includes ;;
1005 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1006 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1007 x_includes=$ac_optarg ;;
1009 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1010 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1011 ac_prev=x_libraries ;;
1012 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1013 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1014 x_libraries=$ac_optarg ;;
1016 -*) { echo "$as_me: error: unrecognized option: $ac_option
1017 Try \`$0 --help' for more information." >&2
1018 { (exit 1); exit 1; }; }
1021 *=*)
1022 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1025 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1026 { (exit 1); exit 1; }; }
1027 eval $ac_envvar=\$ac_optarg
1028 export $ac_envvar ;;
1031 # FIXME: should be removed in autoconf 3.0.
1032 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1033 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1035 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1038 esac
1039 done
1041 if test -n "$ac_prev"; then
1042 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1043 { echo "$as_me: error: missing argument to $ac_option" >&2
1044 { (exit 1); exit 1; }; }
1047 # Be sure to have absolute directory names.
1048 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1049 datadir sysconfdir sharedstatedir localstatedir includedir \
1050 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1051 libdir localedir mandir
1053 eval ac_val=\$$ac_var
1054 case $ac_val in
1055 [\\/$]* | ?:[\\/]* ) continue;;
1056 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1057 esac
1058 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1059 { (exit 1); exit 1; }; }
1060 done
1062 # There might be people who depend on the old broken behavior: `$host'
1063 # used to hold the argument of --host etc.
1064 # FIXME: To remove some day.
1065 build=$build_alias
1066 host=$host_alias
1067 target=$target_alias
1069 # FIXME: To remove some day.
1070 if test "x$host_alias" != x; then
1071 if test "x$build_alias" = x; then
1072 cross_compiling=maybe
1073 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1074 If a cross compiler is detected then cross compile mode will be used." >&2
1075 elif test "x$build_alias" != "x$host_alias"; then
1076 cross_compiling=yes
1080 ac_tool_prefix=
1081 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1083 test "$silent" = yes && exec 6>/dev/null
1086 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1087 ac_ls_di=`ls -di .` &&
1088 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1089 { echo "$as_me: error: Working directory cannot be determined" >&2
1090 { (exit 1); exit 1; }; }
1091 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1092 { echo "$as_me: error: pwd does not report name of working directory" >&2
1093 { (exit 1); exit 1; }; }
1096 # Find the source files, if location was not specified.
1097 if test -z "$srcdir"; then
1098 ac_srcdir_defaulted=yes
1099 # Try the directory containing this script, then the parent directory.
1100 ac_confdir=`$as_dirname -- "$0" ||
1101 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1102 X"$0" : 'X\(//\)[^/]' \| \
1103 X"$0" : 'X\(//\)$' \| \
1104 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1105 echo X"$0" |
1106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1107 s//\1/
1110 /^X\(\/\/\)[^/].*/{
1111 s//\1/
1114 /^X\(\/\/\)$/{
1115 s//\1/
1118 /^X\(\/\).*/{
1119 s//\1/
1122 s/.*/./; q'`
1123 srcdir=$ac_confdir
1124 if test ! -r "$srcdir/$ac_unique_file"; then
1125 srcdir=..
1127 else
1128 ac_srcdir_defaulted=no
1130 if test ! -r "$srcdir/$ac_unique_file"; then
1131 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1132 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1133 { (exit 1); exit 1; }; }
1135 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1136 ac_abs_confdir=`(
1137 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1138 { (exit 1); exit 1; }; }
1139 pwd)`
1140 # When building in place, set srcdir=.
1141 if test "$ac_abs_confdir" = "$ac_pwd"; then
1142 srcdir=.
1144 # Remove unnecessary trailing slashes from srcdir.
1145 # Double slashes in file names in object file debugging info
1146 # mess up M-x gdb in Emacs.
1147 case $srcdir in
1148 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1149 esac
1150 for ac_var in $ac_precious_vars; do
1151 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1152 eval ac_env_${ac_var}_value=\$${ac_var}
1153 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1154 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1155 done
1158 # Report the --help message.
1160 if test "$ac_init_help" = "long"; then
1161 # Omit some internal or obsolete options to make the list less imposing.
1162 # This message is too long to be a string in the A/UX 3.1 sh.
1163 cat <<_ACEOF
1164 \`configure' configures GNU Autoconf 2.60c to adapt to many kinds of systems.
1166 Usage: $0 [OPTION]... [VAR=VALUE]...
1168 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1169 VAR=VALUE. See below for descriptions of some of the useful variables.
1171 Defaults for the options are specified in brackets.
1173 Configuration:
1174 -h, --help display this help and exit
1175 --help=short display options specific to this package
1176 --help=recursive display the short help of all the included packages
1177 -V, --version display version information and exit
1178 -q, --quiet, --silent do not print \`checking...' messages
1179 --cache-file=FILE cache test results in FILE [disabled]
1180 -C, --config-cache alias for \`--cache-file=config.cache'
1181 -n, --no-create do not create output files
1182 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1184 Installation directories:
1185 --prefix=PREFIX install architecture-independent files in PREFIX
1186 [$ac_default_prefix]
1187 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1188 [PREFIX]
1190 By default, \`make install' will install all the files in
1191 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1192 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1193 for instance \`--prefix=\$HOME'.
1195 For better control, use the options below.
1197 Fine tuning of the installation directories:
1198 --bindir=DIR user executables [EPREFIX/bin]
1199 --sbindir=DIR system admin executables [EPREFIX/sbin]
1200 --libexecdir=DIR program executables [EPREFIX/libexec]
1201 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1202 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1203 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1204 --libdir=DIR object code libraries [EPREFIX/lib]
1205 --includedir=DIR C header files [PREFIX/include]
1206 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1207 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1208 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1209 --infodir=DIR info documentation [DATAROOTDIR/info]
1210 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1211 --mandir=DIR man documentation [DATAROOTDIR/man]
1212 --docdir=DIR documentation root [DATAROOTDIR/doc/autoconf]
1213 --htmldir=DIR html documentation [DOCDIR]
1214 --dvidir=DIR dvi documentation [DOCDIR]
1215 --pdfdir=DIR pdf documentation [DOCDIR]
1216 --psdir=DIR ps documentation [DOCDIR]
1217 _ACEOF
1219 cat <<\_ACEOF
1221 Program names:
1222 --program-prefix=PREFIX prepend PREFIX to installed program names
1223 --program-suffix=SUFFIX append SUFFIX to installed program names
1224 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1225 _ACEOF
1228 if test -n "$ac_init_help"; then
1229 case $ac_init_help in
1230 short | recursive ) echo "Configuration of GNU Autoconf 2.60c:";;
1231 esac
1232 cat <<\_ACEOF
1234 Optional Packages:
1235 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1236 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1237 --with-lispdir override the default lisp directory
1239 Some influential environment variables:
1240 EMACS the Emacs editor command
1241 EMACSLOADPATH
1242 the Emacs library search path
1244 Use these variables to override the choices made by `configure' or to help
1245 it to find libraries and programs with nonstandard names/locations.
1247 Report bugs to <bug-autoconf@gnu.org>.
1248 _ACEOF
1249 ac_status=$?
1252 if test "$ac_init_help" = "recursive"; then
1253 # If there are subdirs, report their specific --help.
1254 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1255 test -d "$ac_dir" || continue
1256 ac_builddir=.
1258 case "$ac_dir" in
1259 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1261 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1262 # A ".." for each directory in $ac_dir_suffix.
1263 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1264 case $ac_top_builddir_sub in
1265 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1266 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1267 esac ;;
1268 esac
1269 ac_abs_top_builddir=$ac_pwd
1270 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1271 # for backward compatibility:
1272 ac_top_builddir=$ac_top_build_prefix
1274 case $srcdir in
1275 .) # We are building in place.
1276 ac_srcdir=.
1277 ac_top_srcdir=$ac_top_builddir_sub
1278 ac_abs_top_srcdir=$ac_pwd ;;
1279 [\\/]* | ?:[\\/]* ) # Absolute name.
1280 ac_srcdir=$srcdir$ac_dir_suffix;
1281 ac_top_srcdir=$srcdir
1282 ac_abs_top_srcdir=$srcdir ;;
1283 *) # Relative name.
1284 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1285 ac_top_srcdir=$ac_top_build_prefix$srcdir
1286 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1287 esac
1288 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1290 cd "$ac_dir" || { ac_status=$?; continue; }
1291 # Check for guested configure.
1292 if test -f "$ac_srcdir/configure.gnu"; then
1293 echo &&
1294 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1295 elif test -f "$ac_srcdir/configure"; then
1296 echo &&
1297 $SHELL "$ac_srcdir/configure" --help=recursive
1298 else
1299 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1300 fi || ac_status=$?
1301 cd "$ac_pwd" || { ac_status=$?; break; }
1302 done
1305 test -n "$ac_init_help" && exit $ac_status
1306 if $ac_init_version; then
1307 cat <<\_ACEOF
1308 GNU Autoconf configure 2.60c
1309 generated by GNU Autoconf 2.60c
1311 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1312 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1313 This configure script is free software; the Free Software Foundation
1314 gives unlimited permission to copy, distribute and modify it.
1315 _ACEOF
1316 exit
1318 cat >config.log <<_ACEOF
1319 This file contains any messages produced by compilers while
1320 running configure, to aid debugging if configure makes a mistake.
1322 It was created by GNU Autoconf $as_me 2.60c, which was
1323 generated by GNU Autoconf 2.60c. Invocation command line was
1325 $ $0 $@
1327 _ACEOF
1328 exec 5>>config.log
1330 cat <<_ASUNAME
1331 ## --------- ##
1332 ## Platform. ##
1333 ## --------- ##
1335 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1336 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1337 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1338 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1339 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1341 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1342 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1344 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1345 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1346 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1347 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1348 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1349 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1350 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1352 _ASUNAME
1354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1355 for as_dir in $PATH
1357 IFS=$as_save_IFS
1358 test -z "$as_dir" && as_dir=.
1359 echo "PATH: $as_dir"
1360 done
1361 IFS=$as_save_IFS
1363 } >&5
1365 cat >&5 <<_ACEOF
1368 ## ----------- ##
1369 ## Core tests. ##
1370 ## ----------- ##
1372 _ACEOF
1375 # Keep a trace of the command line.
1376 # Strip out --no-create and --no-recursion so they do not pile up.
1377 # Strip out --silent because we don't want to record it for future runs.
1378 # Also quote any args containing shell meta-characters.
1379 # Make two passes to allow for proper duplicate-argument suppression.
1380 ac_configure_args=
1381 ac_configure_args0=
1382 ac_configure_args1=
1383 ac_must_keep_next=false
1384 for ac_pass in 1 2
1386 for ac_arg
1388 case $ac_arg in
1389 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1391 | -silent | --silent | --silen | --sile | --sil)
1392 continue ;;
1393 *\'*)
1394 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1395 esac
1396 case $ac_pass in
1397 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1399 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1400 if test $ac_must_keep_next = true; then
1401 ac_must_keep_next=false # Got value, back to normal.
1402 else
1403 case $ac_arg in
1404 *=* | --config-cache | -C | -disable-* | --disable-* \
1405 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1406 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1407 | -with-* | --with-* | -without-* | --without-* | --x)
1408 case "$ac_configure_args0 " in
1409 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1410 esac
1412 -* ) ac_must_keep_next=true ;;
1413 esac
1415 ac_configure_args="$ac_configure_args '$ac_arg'"
1417 esac
1418 done
1419 done
1420 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1421 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1423 # When interrupted or exit'd, cleanup temporary files, and complete
1424 # config.log. We remove comments because anyway the quotes in there
1425 # would cause problems or look ugly.
1426 # WARNING: Use '\'' to represent an apostrophe within the trap.
1427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1428 trap 'exit_status=$?
1429 # Save into config.log some information that might help in debugging.
1431 echo
1433 cat <<\_ASBOX
1434 ## ---------------- ##
1435 ## Cache variables. ##
1436 ## ---------------- ##
1437 _ASBOX
1438 echo
1439 # The following way of writing the cache mishandles newlines in values,
1441 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1442 eval ac_val=\$$ac_var
1443 case $ac_val in #(
1444 *${as_nl}*)
1445 case $ac_var in #(
1446 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1447 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1448 esac
1449 case $ac_var in #(
1450 _ | IFS | as_nl) ;; #(
1451 *) $as_unset $ac_var ;;
1452 esac ;;
1453 esac
1454 done
1455 (set) 2>&1 |
1456 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1457 *${as_nl}ac_space=\ *)
1458 sed -n \
1459 "s/'\''/'\''\\\\'\'''\''/g;
1460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1461 ;; #(
1463 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1465 esac |
1466 sort
1468 echo
1470 cat <<\_ASBOX
1471 ## ----------------- ##
1472 ## Output variables. ##
1473 ## ----------------- ##
1474 _ASBOX
1475 echo
1476 for ac_var in $ac_subst_vars
1478 eval ac_val=\$$ac_var
1479 case $ac_val in
1480 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1481 esac
1482 echo "$ac_var='\''$ac_val'\''"
1483 done | sort
1484 echo
1486 if test -n "$ac_subst_files"; then
1487 cat <<\_ASBOX
1488 ## ------------------- ##
1489 ## File substitutions. ##
1490 ## ------------------- ##
1491 _ASBOX
1492 echo
1493 for ac_var in $ac_subst_files
1495 eval ac_val=\$$ac_var
1496 case $ac_val in
1497 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1498 esac
1499 echo "$ac_var='\''$ac_val'\''"
1500 done | sort
1501 echo
1504 if test -s confdefs.h; then
1505 cat <<\_ASBOX
1506 ## ----------- ##
1507 ## confdefs.h. ##
1508 ## ----------- ##
1509 _ASBOX
1510 echo
1511 cat confdefs.h
1512 echo
1514 test "$ac_signal" != 0 &&
1515 echo "$as_me: caught signal $ac_signal"
1516 echo "$as_me: exit $exit_status"
1517 } >&5
1518 rm -f core *.core core.conftest.* &&
1519 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1520 exit $exit_status
1522 for ac_signal in 1 2 13 15; do
1523 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1524 done
1525 ac_signal=0
1527 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1528 rm -f -r conftest* confdefs.h
1530 # Predefined preprocessor variables.
1532 cat >>confdefs.h <<_ACEOF
1533 #define PACKAGE_NAME "$PACKAGE_NAME"
1534 _ACEOF
1537 cat >>confdefs.h <<_ACEOF
1538 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1539 _ACEOF
1542 cat >>confdefs.h <<_ACEOF
1543 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1544 _ACEOF
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_STRING "$PACKAGE_STRING"
1549 _ACEOF
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1554 _ACEOF
1557 # Let the site file select an alternate cache file if it wants to.
1558 # Prefer explicitly selected file to automatically selected ones.
1559 if test -n "$CONFIG_SITE"; then
1560 set x "$CONFIG_SITE"
1561 elif test "x$prefix" != xNONE; then
1562 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1563 else
1564 set x "$ac_default_prefix/share/config.site" \
1565 "$ac_default_prefix/etc/config.site"
1567 shift
1568 for ac_site_file
1570 if test -r "$ac_site_file"; then
1571 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1572 echo "$as_me: loading site script $ac_site_file" >&6;}
1573 sed 's/^/| /' "$ac_site_file" >&5
1574 . "$ac_site_file"
1576 done
1578 if test -r "$cache_file"; then
1579 # Some versions of bash will fail to source /dev/null (special
1580 # files actually), so we avoid doing that.
1581 if test -f "$cache_file"; then
1582 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1583 echo "$as_me: loading cache $cache_file" >&6;}
1584 case $cache_file in
1585 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1586 *) . "./$cache_file";;
1587 esac
1589 else
1590 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1591 echo "$as_me: creating cache $cache_file" >&6;}
1592 >$cache_file
1595 # Check that the precious variables saved in the cache have kept the same
1596 # value.
1597 ac_cache_corrupted=false
1598 for ac_var in $ac_precious_vars; do
1599 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1600 eval ac_new_set=\$ac_env_${ac_var}_set
1601 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1602 eval ac_new_val=\$ac_env_${ac_var}_value
1603 case $ac_old_set,$ac_new_set in
1604 set,)
1605 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1606 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1607 ac_cache_corrupted=: ;;
1608 ,set)
1609 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1610 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1611 ac_cache_corrupted=: ;;
1612 ,);;
1614 if test "x$ac_old_val" != "x$ac_new_val"; then
1615 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1616 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1617 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1618 echo "$as_me: former value: $ac_old_val" >&2;}
1619 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1620 echo "$as_me: current value: $ac_new_val" >&2;}
1621 ac_cache_corrupted=:
1622 fi;;
1623 esac
1624 # Pass precious variables to config.status.
1625 if test "$ac_new_set" = set; then
1626 case $ac_new_val in
1627 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1628 *) ac_arg=$ac_var=$ac_new_val ;;
1629 esac
1630 case " $ac_configure_args " in
1631 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1632 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1633 esac
1635 done
1636 if $ac_cache_corrupted; then
1637 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1638 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1639 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1640 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1641 { (exit 1); exit 1; }; }
1668 ac_ext=c
1669 ac_cpp='$CPP $CPPFLAGS'
1670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1677 ac_aux_dir=
1678 for ac_dir in build-aux "$srcdir"/build-aux; do
1679 if test -f "$ac_dir/install-sh"; then
1680 ac_aux_dir=$ac_dir
1681 ac_install_sh="$ac_aux_dir/install-sh -c"
1682 break
1683 elif test -f "$ac_dir/install.sh"; then
1684 ac_aux_dir=$ac_dir
1685 ac_install_sh="$ac_aux_dir/install.sh -c"
1686 break
1687 elif test -f "$ac_dir/shtool"; then
1688 ac_aux_dir=$ac_dir
1689 ac_install_sh="$ac_aux_dir/shtool install -c"
1690 break
1692 done
1693 if test -z "$ac_aux_dir"; then
1694 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1695 echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1696 { (exit 1); exit 1; }; }
1699 # These three variables are undocumented and unsupported,
1700 # and are intended to be withdrawn in a future Autoconf release.
1701 # They can cause serious problems if a builder's source tree is in a directory
1702 # whose full name contains unusual characters.
1703 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1704 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1705 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1709 am__api_version='1.10'
1711 # Find a good install program. We prefer a C program (faster),
1712 # so one script is as good as another. But avoid the broken or
1713 # incompatible versions:
1714 # SysV /etc/install, /usr/sbin/install
1715 # SunOS /usr/etc/install
1716 # IRIX /sbin/install
1717 # AIX /bin/install
1718 # AmigaOS /C/install, which installs bootblocks on floppy discs
1719 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1720 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1721 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1722 # OS/2's system install, which has a completely different semantic
1723 # ./install, which can be erroneously created by make from ./install.sh.
1724 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1725 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1726 if test -z "$INSTALL"; then
1727 if test "${ac_cv_path_install+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 else
1730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 for as_dir in $PATH
1733 IFS=$as_save_IFS
1734 test -z "$as_dir" && as_dir=.
1735 # Account for people who put trailing slashes in PATH elements.
1736 case $as_dir/ in
1737 ./ | .// | /cC/* | \
1738 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1739 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1740 /usr/ucb/* ) ;;
1742 # OSF1 and SCO ODT 3.0 have their own names for install.
1743 # Don't use installbsd from OSF since it installs stuff as root
1744 # by default.
1745 for ac_prog in ginstall scoinst install; do
1746 for ac_exec_ext in '' $ac_executable_extensions; do
1747 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1748 if test $ac_prog = install &&
1749 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1750 # AIX install. It has an incompatible calling convention.
1752 elif test $ac_prog = install &&
1753 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1754 # program-specific install script used by HP pwplus--don't use.
1756 else
1757 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1758 break 3
1761 done
1762 done
1764 esac
1765 done
1766 IFS=$as_save_IFS
1770 if test "${ac_cv_path_install+set}" = set; then
1771 INSTALL=$ac_cv_path_install
1772 else
1773 # As a last resort, use the slow shell script. Don't cache a
1774 # value for INSTALL within a source directory, because that will
1775 # break other packages using the cache if that directory is
1776 # removed, or if the value is a relative name.
1777 INSTALL=$ac_install_sh
1780 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1781 echo "${ECHO_T}$INSTALL" >&6; }
1783 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1784 # It thinks the first close brace ends the variable substitution.
1785 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1787 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1789 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1791 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1792 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1793 # Just in case
1794 sleep 1
1795 echo timestamp > conftest.file
1796 # Do `set' in a subshell so we don't clobber the current shell's
1797 # arguments. Must try -L first in case configure is actually a
1798 # symlink; some systems play weird games with the mod time of symlinks
1799 # (eg FreeBSD returns the mod time of the symlink's containing
1800 # directory).
1801 if (
1802 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1803 if test "$*" = "X"; then
1804 # -L didn't work.
1805 set X `ls -t $srcdir/configure conftest.file`
1807 rm -f conftest.file
1808 if test "$*" != "X $srcdir/configure conftest.file" \
1809 && test "$*" != "X conftest.file $srcdir/configure"; then
1811 # If neither matched, then we have a broken ls. This can happen
1812 # if, for instance, CONFIG_SHELL is bash and it inherits a
1813 # broken ls alias from the environment. This has actually
1814 # happened. Such a system could not be considered "sane".
1815 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1816 alias in your environment" >&5
1817 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1818 alias in your environment" >&2;}
1819 { (exit 1); exit 1; }; }
1822 test "$2" = conftest.file
1824 then
1825 # Ok.
1827 else
1828 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1829 Check your system clock" >&5
1830 echo "$as_me: error: newly created file is older than distributed files!
1831 Check your system clock" >&2;}
1832 { (exit 1); exit 1; }; }
1834 { echo "$as_me:$LINENO: result: yes" >&5
1835 echo "${ECHO_T}yes" >&6; }
1836 test "$program_prefix" != NONE &&
1837 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1838 # Use a double $ so make ignores it.
1839 test "$program_suffix" != NONE &&
1840 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1841 # Double any \ or $. echo might interpret backslashes.
1842 # By default was `s,x,x', remove it if useless.
1843 cat <<\_ACEOF >conftest.sed
1844 s/[\\$]/&&/g;s/;s,x,x,$//
1845 _ACEOF
1846 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1847 rm -f conftest.sed
1849 # expand $ac_aux_dir to an absolute path
1850 am_aux_dir=`cd $ac_aux_dir && pwd`
1852 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1853 # Use eval to expand $SHELL
1854 if eval "$MISSING --run true"; then
1855 am_missing_run="$MISSING --run "
1856 else
1857 am_missing_run=
1858 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1859 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1862 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1863 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1864 if test -z "$MKDIR_P"; then
1865 if test "${ac_cv_path_mkdir+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 else
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1869 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1871 IFS=$as_save_IFS
1872 test -z "$as_dir" && as_dir=.
1873 for ac_prog in mkdir gmkdir; do
1874 for ac_exec_ext in '' $ac_executable_extensions; do
1875 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1876 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1877 'mkdir (GNU coreutils) '* | \
1878 'mkdir (coreutils) '* | \
1879 'mkdir (fileutils) '4.1*)
1880 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1881 break 3;;
1882 esac
1883 done
1884 done
1885 done
1886 IFS=$as_save_IFS
1890 if test "${ac_cv_path_mkdir+set}" = set; then
1891 MKDIR_P="$ac_cv_path_mkdir -p"
1892 else
1893 # As a last resort, use the slow shell script. Don't cache a
1894 # value for MKDIR_P within a source directory, because that will
1895 # break other packages using the cache if that directory is
1896 # removed, or if the value is a relative name.
1897 test -d ./--version && rmdir ./--version
1898 MKDIR_P="$ac_install_sh -d"
1901 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1902 echo "${ECHO_T}$MKDIR_P" >&6; }
1904 mkdir_p="$MKDIR_P"
1905 case $mkdir_p in
1906 [\\/$]* | ?:[\\/]*) ;;
1907 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1908 esac
1910 for ac_prog in gawk mawk nawk awk
1912 # Extract the first word of "$ac_prog", so it can be a program name with args.
1913 set dummy $ac_prog; ac_word=$2
1914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1916 if test "${ac_cv_prog_AWK+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 else
1919 if test -n "$AWK"; then
1920 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1921 else
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923 for as_dir in $PATH
1925 IFS=$as_save_IFS
1926 test -z "$as_dir" && as_dir=.
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1929 ac_cv_prog_AWK="$ac_prog"
1930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1931 break 2
1933 done
1934 done
1935 IFS=$as_save_IFS
1939 AWK=$ac_cv_prog_AWK
1940 if test -n "$AWK"; then
1941 { echo "$as_me:$LINENO: result: $AWK" >&5
1942 echo "${ECHO_T}$AWK" >&6; }
1943 else
1944 { echo "$as_me:$LINENO: result: no" >&5
1945 echo "${ECHO_T}no" >&6; }
1949 test -n "$AWK" && break
1950 done
1952 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1953 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1954 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1955 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 else
1958 cat >conftest.make <<\_ACEOF
1959 SHELL = /bin/sh
1960 all:
1961 @echo '@@@%%%=$(MAKE)=@@@%%%'
1962 _ACEOF
1963 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1964 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1965 *@@@%%%=?*=@@@%%%*)
1966 eval ac_cv_prog_make_${ac_make}_set=yes;;
1968 eval ac_cv_prog_make_${ac_make}_set=no;;
1969 esac
1970 rm -f conftest.make
1972 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1973 { echo "$as_me:$LINENO: result: yes" >&5
1974 echo "${ECHO_T}yes" >&6; }
1975 SET_MAKE=
1976 else
1977 { echo "$as_me:$LINENO: result: no" >&5
1978 echo "${ECHO_T}no" >&6; }
1979 SET_MAKE="MAKE=${MAKE-make}"
1982 rm -rf .tst 2>/dev/null
1983 mkdir .tst 2>/dev/null
1984 if test -d .tst; then
1985 am__leading_dot=.
1986 else
1987 am__leading_dot=_
1989 rmdir .tst 2>/dev/null
1991 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1992 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1993 # is not polluted with repeated "-I."
1994 am__isrc=' -I$(srcdir)'
1995 # test to see if srcdir already configured
1996 if test -f $srcdir/config.status; then
1997 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1998 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1999 { (exit 1); exit 1; }; }
2003 # test whether we have cygpath
2004 if test -z "$CYGPATH_W"; then
2005 if (cygpath --version) >/dev/null 2>/dev/null; then
2006 CYGPATH_W='cygpath -w'
2007 else
2008 CYGPATH_W=echo
2013 # Define the identity of the package.
2014 PACKAGE='autoconf'
2015 VERSION='2.60c'
2018 cat >>confdefs.h <<_ACEOF
2019 #define PACKAGE "$PACKAGE"
2020 _ACEOF
2023 cat >>confdefs.h <<_ACEOF
2024 #define VERSION "$VERSION"
2025 _ACEOF
2027 # Some tools Automake needs.
2029 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2032 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2035 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2038 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2041 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2043 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2045 # Installed binaries are usually stripped using `strip' when the user
2046 # run `make install-strip'. However `strip' might not be the right
2047 # tool to use in cross-compilation environments, therefore Automake
2048 # will honor the `STRIP' environment variable to overrule this program.
2049 if test "$cross_compiling" != no; then
2050 if test -n "$ac_tool_prefix"; then
2051 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2052 set dummy ${ac_tool_prefix}strip; ac_word=$2
2053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2055 if test "${ac_cv_prog_STRIP+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 else
2058 if test -n "$STRIP"; then
2059 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2060 else
2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 for as_dir in $PATH
2064 IFS=$as_save_IFS
2065 test -z "$as_dir" && as_dir=.
2066 for ac_exec_ext in '' $ac_executable_extensions; do
2067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2068 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070 break 2
2072 done
2073 done
2074 IFS=$as_save_IFS
2078 STRIP=$ac_cv_prog_STRIP
2079 if test -n "$STRIP"; then
2080 { echo "$as_me:$LINENO: result: $STRIP" >&5
2081 echo "${ECHO_T}$STRIP" >&6; }
2082 else
2083 { echo "$as_me:$LINENO: result: no" >&5
2084 echo "${ECHO_T}no" >&6; }
2089 if test -z "$ac_cv_prog_STRIP"; then
2090 ac_ct_STRIP=$STRIP
2091 # Extract the first word of "strip", so it can be a program name with args.
2092 set dummy strip; ac_word=$2
2093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 else
2098 if test -n "$ac_ct_STRIP"; then
2099 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2100 else
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_ac_ct_STRIP="strip"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 break 2
2112 done
2113 done
2114 IFS=$as_save_IFS
2118 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2119 if test -n "$ac_ct_STRIP"; then
2120 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2121 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2122 else
2123 { echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6; }
2127 if test "x$ac_ct_STRIP" = x; then
2128 STRIP=":"
2129 else
2130 case $cross_compiling:$ac_tool_warned in
2131 yes:)
2132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2133 whose name does not start with the host triplet. If you think this
2134 configuration is useful to you, please write to autoconf@gnu.org." >&5
2135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2136 whose name does not start with the host triplet. If you think this
2137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2138 ac_tool_warned=yes ;;
2139 esac
2140 STRIP=$ac_ct_STRIP
2142 else
2143 STRIP="$ac_cv_prog_STRIP"
2147 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2149 # We need awk for the "check" target. The system "awk" is bad on
2150 # some platforms.
2151 # Always define AMTAR for backward compatibility.
2153 AMTAR=${AMTAR-"${am_missing_run}tar"}
2155 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2162 # We use `/bin/sh -n script' to check that there are no syntax errors
2163 # in the scripts. Although incredible, there are /bin/sh that go into
2164 # endless loops with `-n', e.g., SunOS's:
2166 # $ uname -a
2167 # SunOS ondine 4.1.3 2 sun4m unknown
2168 # $ cat endless.sh
2169 # while false
2170 # do
2172 # done
2173 # exit 0
2174 # $ time sh endless.sh
2175 # sh endless.sh 0,02s user 0,03s system 78% cpu 0,064 total
2176 # $ time sh -nx endless.sh
2177 # ^Csh -nx endless.sh 3,67s user 0,03s system 63% cpu 5,868 total
2179 # Also, some implementations of /bin/sh (e.g., Solaris 8) are soooo slow
2180 # that they are unusable on large scripts like our testsuite.
2182 # So before using `/bin/sh -n' to check our scripts, we first check
2183 # that `/bin/sh -n' is known to not have these problems.
2185 { echo "$as_me:$LINENO: checking whether /bin/sh -n is known to work" >&5
2186 echo $ECHO_N "checking whether /bin/sh -n is known to work... $ECHO_C" >&6; }
2187 if test "${ac_cv_sh_n_works+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 else
2190 if (
2191 unset BASH_VERSION ZSH_VERSION
2192 /bin/sh -c '
2193 test -n "${BASH_VERSION+set}" || # Bash
2194 test -n "${KSH_VERSION+set}" || # pdksh
2195 test -n "${ZSH_VERSION+set}" || # zsh
2196 test -n "${.sh.version}" # ksh93; put this last since its syntax is dodgy
2198 ) 2>/dev/null
2199 then ac_cv_sh_n_works=yes
2200 else ac_cv_sh_n_works=no
2204 { echo "$as_me:$LINENO: result: $ac_cv_sh_n_works" >&5
2205 echo "${ECHO_T}$ac_cv_sh_n_works" >&6; }
2208 # Initialize the test suite.
2209 ac_config_commands="$ac_config_commands tests/atconfig"
2212 ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2214 # Extract the first word of "expr", so it can be a program name with args.
2215 set dummy expr; ac_word=$2
2216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218 if test "${ac_cv_path_EXPR+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 else
2221 case $EXPR in
2222 [\\/]* | ?:[\\/]*)
2223 ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 for as_dir in $PATH
2229 IFS=$as_save_IFS
2230 test -z "$as_dir" && as_dir=.
2231 for ac_exec_ext in '' $ac_executable_extensions; do
2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 break 2
2237 done
2238 done
2239 IFS=$as_save_IFS
2242 esac
2244 EXPR=$ac_cv_path_EXPR
2245 if test -n "$EXPR"; then
2246 { echo "$as_me:$LINENO: result: $EXPR" >&5
2247 echo "${ECHO_T}$EXPR" >&6; }
2248 else
2249 { echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6; }
2256 ## ---- ##
2257 ## M4. ##
2258 ## ---- ##
2260 # We use an absolute name for GNU m4 so even if users have another m4 first in
2261 # their path, the installer can configure with a path that has GNU m4
2262 # first and get that path embedded in the installed autoconf and
2263 # autoheader scripts.
2264 for ac_prog in gm4 gnum4 m4
2266 # Extract the first word of "$ac_prog", so it can be a program name with args.
2267 set dummy $ac_prog; ac_word=$2
2268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2270 if test "${ac_cv_path_M4+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 else
2273 case $M4 in
2274 [\\/]* | ?:[\\/]*)
2275 ac_cv_path_M4="$M4" # Let the user override the test with a path.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 for as_dir in $PATH
2281 IFS=$as_save_IFS
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2289 done
2290 done
2291 IFS=$as_save_IFS
2294 esac
2296 M4=$ac_cv_path_M4
2297 if test -n "$M4"; then
2298 { echo "$as_me:$LINENO: result: $M4" >&5
2299 echo "${ECHO_T}$M4" >&6; }
2300 else
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2306 test -n "$M4" && break
2307 done
2308 test -n "$M4" || M4="m4"
2310 { echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
2311 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6; }
2312 if test "${ac_cv_prog_gnu_m4+set}" = set; then
2313 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 else
2315 ac_cv_prog_gnu_m4=no
2316 if test x"$M4" != x; then
2317 case `$M4 --help < /dev/null 2>&1` in
2318 *reload-state*) ac_cv_prog_gnu_m4=yes ;;
2319 esac
2322 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
2323 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6; }
2324 if test $ac_cv_prog_gnu_m4 = yes ; then
2325 { echo "$as_me:$LINENO: checking how m4 supports trace files" >&5
2326 echo $ECHO_N "checking how m4 supports trace files... $ECHO_C" >&6; }
2327 if test "${ac_cv_prog_gnu_m4_debugfile+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 else
2330 case `$M4 --help < /dev/null 2>&1` in
2331 *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2332 *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2333 esac
2335 { echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2336 echo "${ECHO_T}$ac_cv_prog_gnu_m4_debugfile" >&6; }
2337 M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2341 if test x"$ac_cv_prog_gnu_m4" != xyes; then
2342 { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
2343 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
2344 { (exit 1); exit 1; }; }
2347 ## ----------- ##
2348 ## Man pages. ##
2349 ## ----------- ##
2351 ac_config_files="$ac_config_files man/Makefile"
2354 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
2358 ## ------ ##
2359 ## Perl. ##
2360 ## ------ ##
2362 # We use an absolute name for perl so the #! line in autoscan will work.
2363 # Extract the first word of "perl", so it can be a program name with args.
2364 set dummy perl; ac_word=$2
2365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2367 if test "${ac_cv_path_PERL+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 else
2370 case $PERL in
2371 [\\/]* | ?:[\\/]*)
2372 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 for as_dir in $PATH
2378 IFS=$as_save_IFS
2379 test -z "$as_dir" && as_dir=.
2380 for ac_exec_ext in '' $ac_executable_extensions; do
2381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2382 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 break 2
2386 done
2387 done
2388 IFS=$as_save_IFS
2390 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
2392 esac
2394 PERL=$ac_cv_path_PERL
2395 if test -n "$PERL"; then
2396 { echo "$as_me:$LINENO: result: $PERL" >&5
2397 echo "${ECHO_T}$PERL" >&6; }
2398 else
2399 { echo "$as_me:$LINENO: result: no" >&5
2400 echo "${ECHO_T}no" >&6; }
2404 if test "$PERL" = no; then
2405 { { echo "$as_me:$LINENO: error: perl is not found" >&5
2406 echo "$as_me: error: perl is not found" >&2;}
2407 { (exit 1); exit 1; }; }
2409 $PERL -e 'require 5.005_03;' || {
2410 { { echo "$as_me:$LINENO: error: Perl 5.005_03 or better is required" >&5
2411 echo "$as_me: error: Perl 5.005_03 or better is required" >&2;}
2412 { (exit 1); exit 1; }; }
2416 ## ------- ##
2417 ## Emacs. ##
2418 ## ------- ##
2420 ac_config_files="$ac_config_files lib/emacs/Makefile"
2422 TEST_EMACS=$EMACS
2423 test x"$TEST_EMACS" = xt && TEST_EMACS=
2424 for ac_prog in emacs xemacs
2426 # Extract the first word of "$ac_prog", so it can be a program name with args.
2427 set dummy $ac_prog; ac_word=$2
2428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2430 if test "${ac_cv_prog_TEST_EMACS+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 else
2433 if test -n "$TEST_EMACS"; then
2434 ac_cv_prog_TEST_EMACS="$TEST_EMACS" # Let the user override the test.
2435 else
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 for as_dir in $PATH
2439 IFS=$as_save_IFS
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2443 ac_cv_prog_TEST_EMACS="$ac_prog"
2444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 break 2
2447 done
2448 done
2449 IFS=$as_save_IFS
2453 TEST_EMACS=$ac_cv_prog_TEST_EMACS
2454 if test -n "$TEST_EMACS"; then
2455 { echo "$as_me:$LINENO: result: $TEST_EMACS" >&5
2456 echo "${ECHO_T}$TEST_EMACS" >&6; }
2457 else
2458 { echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6; }
2463 test -n "$TEST_EMACS" && break
2464 done
2465 test -n "$TEST_EMACS" || TEST_EMACS="no"
2468 # autoconf-mode.el and autotest-mode.el do not work with older version of
2469 # Emacs (i.e. 18.x.x). During byte-compilation, Emacs complains:
2470 # "Variable (broken nil) seen on pass 2 of byte compiler but not pass 1"
2471 # We detect this problem here.
2472 if test "$TEST_EMACS" != no; then
2473 { echo "$as_me:$LINENO: checking whether $TEST_EMACS is sufficiently recent" >&5
2474 echo $ECHO_N "checking whether $TEST_EMACS is sufficiently recent... $ECHO_C" >&6; }
2475 if test "${ac_cv_prog_emacs_ok+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 else
2478 # Note: The quoted "EOF" is intentional. It protects the ` in the text.
2479 cat >conftest.el << "EOF"
2480 (defvar broken)
2481 (defun broken-mode () (setq broken-defaults `(broken nil)))
2483 if { (echo "$as_me:$LINENO: \$TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2") >&5
2484 ($TEST_EMACS -batch -q -f batch-byte-compile conftest.el 1>&2) 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; then
2488 ac_cv_prog_emacs_ok=yes
2489 else
2490 ac_cv_prog_emacs_ok=no
2493 rm -f conftest.el conftest.elc
2495 { echo "$as_me:$LINENO: result: $ac_cv_prog_emacs_ok" >&5
2496 echo "${ECHO_T}$ac_cv_prog_emacs_ok" >&6; }
2497 if test $ac_cv_prog_emacs_ok = no; then
2498 TEST_EMACS=no
2504 EMACS=$TEST_EMACS
2507 # If set to t, that means we are running in a shell under Emacs.
2508 # If you have an Emacs named "t", then use the full path.
2509 test x"$EMACS" = xt && EMACS=
2510 for ac_prog in emacs xemacs
2512 # Extract the first word of "$ac_prog", so it can be a program name with args.
2513 set dummy $ac_prog; ac_word=$2
2514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2516 if test "${ac_cv_prog_EMACS+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 else
2519 if test -n "$EMACS"; then
2520 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2521 else
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523 for as_dir in $PATH
2525 IFS=$as_save_IFS
2526 test -z "$as_dir" && as_dir=.
2527 for ac_exec_ext in '' $ac_executable_extensions; do
2528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2529 ac_cv_prog_EMACS="$ac_prog"
2530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2531 break 2
2533 done
2534 done
2535 IFS=$as_save_IFS
2539 EMACS=$ac_cv_prog_EMACS
2540 if test -n "$EMACS"; then
2541 { echo "$as_me:$LINENO: result: $EMACS" >&5
2542 echo "${ECHO_T}$EMACS" >&6; }
2543 else
2544 { echo "$as_me:$LINENO: result: no" >&5
2545 echo "${ECHO_T}no" >&6; }
2549 test -n "$EMACS" && break
2550 done
2551 test -n "$EMACS" || EMACS="no"
2556 # Check whether --with-lispdir was given.
2557 if test "${with_lispdir+set}" = set; then
2558 withval=$with_lispdir; lispdir="$withval"
2559 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2560 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2561 { echo "$as_me:$LINENO: result: $lispdir" >&5
2562 echo "${ECHO_T}$lispdir" >&6; }
2563 else
2565 { echo "$as_me:$LINENO: checking where .elc files should go" >&5
2566 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6; }
2567 if test "${am_cv_lispdir+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2569 else
2571 if test $EMACS != "no"; then
2572 if test x${lispdir+set} != xset; then
2573 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2574 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2575 # which is non-obvious for non-emacs users.
2576 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2577 # emacsen earlier and avoid running this altogether.
2578 { (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
2579 ($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
2580 ac_status=$?
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }
2583 am_cv_lispdir=`sed -n \
2584 -e 's,/$,,' \
2585 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2586 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
2587 conftest.out`
2588 rm conftest.out
2591 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2594 { echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
2595 echo "${ECHO_T}$am_cv_lispdir" >&6; }
2596 lispdir="$am_cv_lispdir"
2604 ## ------------ ##
2605 ## Grep & sed. ##
2606 ## ------------ ##
2607 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2608 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2609 if test "${ac_cv_path_GREP+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 else
2612 # Extract the first word of "grep ggrep" to use in msg output
2613 if test -z "$GREP"; then
2614 set dummy grep ggrep; ac_prog_name=$2
2615 if test "${ac_cv_path_GREP+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2617 else
2618 ac_path_GREP_found=false
2619 # Loop through the user's path and test for each of PROGNAME-LIST
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2623 IFS=$as_save_IFS
2624 test -z "$as_dir" && as_dir=.
2625 for ac_prog in grep ggrep; do
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2628 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2629 # Check for GNU ac_path_GREP and select it if it is found.
2630 # Check for GNU $ac_path_GREP
2631 case `"$ac_path_GREP" --version 2>&1` in
2632 *GNU*)
2633 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2635 ac_count=0
2636 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2637 while :
2639 cat "conftest.in" "conftest.in" >"conftest.tmp"
2640 mv "conftest.tmp" "conftest.in"
2641 cp "conftest.in" "conftest.nl"
2642 echo 'GREP' >> "conftest.nl"
2643 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2644 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2645 ac_count=`expr $ac_count + 1`
2646 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2647 # Best one so far, save it but keep looking for a better one
2648 ac_cv_path_GREP="$ac_path_GREP"
2649 ac_path_GREP_max=$ac_count
2651 # 10*(2^10) chars as input seems more than enough
2652 test $ac_count -gt 10 && break
2653 done
2654 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2655 esac
2658 $ac_path_GREP_found && break 3
2659 done
2660 done
2662 done
2663 IFS=$as_save_IFS
2668 GREP="$ac_cv_path_GREP"
2669 if test -z "$GREP"; then
2670 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2671 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2672 { (exit 1); exit 1; }; }
2675 else
2676 ac_cv_path_GREP=$GREP
2681 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2682 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2683 GREP="$ac_cv_path_GREP"
2686 { echo "$as_me:$LINENO: checking for egrep" >&5
2687 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2688 if test "${ac_cv_path_EGREP+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 else
2691 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2692 then ac_cv_path_EGREP="$GREP -E"
2693 else
2694 # Extract the first word of "egrep" to use in msg output
2695 if test -z "$EGREP"; then
2696 set dummy egrep; ac_prog_name=$2
2697 if test "${ac_cv_path_EGREP+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 else
2700 ac_path_EGREP_found=false
2701 # Loop through the user's path and test for each of PROGNAME-LIST
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2705 IFS=$as_save_IFS
2706 test -z "$as_dir" && as_dir=.
2707 for ac_prog in egrep; do
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2710 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2711 # Check for GNU ac_path_EGREP and select it if it is found.
2712 # Check for GNU $ac_path_EGREP
2713 case `"$ac_path_EGREP" --version 2>&1` in
2714 *GNU*)
2715 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2717 ac_count=0
2718 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2719 while :
2721 cat "conftest.in" "conftest.in" >"conftest.tmp"
2722 mv "conftest.tmp" "conftest.in"
2723 cp "conftest.in" "conftest.nl"
2724 echo 'EGREP' >> "conftest.nl"
2725 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2726 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2727 ac_count=`expr $ac_count + 1`
2728 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2729 # Best one so far, save it but keep looking for a better one
2730 ac_cv_path_EGREP="$ac_path_EGREP"
2731 ac_path_EGREP_max=$ac_count
2733 # 10*(2^10) chars as input seems more than enough
2734 test $ac_count -gt 10 && break
2735 done
2736 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2737 esac
2740 $ac_path_EGREP_found && break 3
2741 done
2742 done
2744 done
2745 IFS=$as_save_IFS
2750 EGREP="$ac_cv_path_EGREP"
2751 if test -z "$EGREP"; then
2752 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2753 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2754 { (exit 1); exit 1; }; }
2757 else
2758 ac_cv_path_EGREP=$EGREP
2764 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2765 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2766 EGREP="$ac_cv_path_EGREP"
2769 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2770 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
2771 if test "${ac_cv_path_SED+set}" = set; then
2772 echo $ECHO_N "(cached) $ECHO_C" >&6
2773 else
2774 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2775 for ac_i in 1 2 3 4 5 6 7; do
2776 ac_script="$ac_script$as_nl$ac_script"
2777 done
2778 echo "$ac_script" | sed 99q >conftest.sed
2779 $as_unset ac_script || ac_script=
2780 # Extract the first word of "sed gsed" to use in msg output
2781 if test -z "$SED"; then
2782 set dummy sed gsed; ac_prog_name=$2
2783 if test "${ac_cv_path_SED+set}" = set; then
2784 echo $ECHO_N "(cached) $ECHO_C" >&6
2785 else
2786 ac_path_SED_found=false
2787 # Loop through the user's path and test for each of PROGNAME-LIST
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 for as_dir in $PATH
2791 IFS=$as_save_IFS
2792 test -z "$as_dir" && as_dir=.
2793 for ac_prog in sed gsed; do
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2796 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2797 # Check for GNU ac_path_SED and select it if it is found.
2798 # Check for GNU $ac_path_SED
2799 case `"$ac_path_SED" --version 2>&1` in
2800 *GNU*)
2801 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2803 ac_count=0
2804 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2805 while :
2807 cat "conftest.in" "conftest.in" >"conftest.tmp"
2808 mv "conftest.tmp" "conftest.in"
2809 cp "conftest.in" "conftest.nl"
2810 echo '' >> "conftest.nl"
2811 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2812 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2813 ac_count=`expr $ac_count + 1`
2814 if test $ac_count -gt ${ac_path_SED_max-0}; then
2815 # Best one so far, save it but keep looking for a better one
2816 ac_cv_path_SED="$ac_path_SED"
2817 ac_path_SED_max=$ac_count
2819 # 10*(2^10) chars as input seems more than enough
2820 test $ac_count -gt 10 && break
2821 done
2822 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2823 esac
2826 $ac_path_SED_found && break 3
2827 done
2828 done
2830 done
2831 IFS=$as_save_IFS
2836 SED="$ac_cv_path_SED"
2837 if test -z "$SED"; then
2838 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2839 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2840 { (exit 1); exit 1; }; }
2843 else
2844 ac_cv_path_SED=$SED
2848 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
2849 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
2850 SED="$ac_cv_path_SED"
2851 rm -f conftest.sed
2855 ## ------------ ##
2856 ## Conclusion. ##
2857 ## ------------ ##
2859 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"
2862 cat >confcache <<\_ACEOF
2863 # This file is a shell script that caches the results of configure
2864 # tests run on this system so they can be shared between configure
2865 # scripts and configure runs, see configure's option --config-cache.
2866 # It is not useful on other systems. If it contains results you don't
2867 # want to keep, you may remove or edit it.
2869 # config.status only pays attention to the cache file if you give it
2870 # the --recheck option to rerun configure.
2872 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2873 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2874 # following values.
2876 _ACEOF
2878 # The following way of writing the cache mishandles newlines in values,
2879 # but we know of no workaround that is simple, portable, and efficient.
2880 # So, we kill variables containing newlines.
2881 # Ultrix sh set writes to stderr and can't be redirected directly,
2882 # and sets the high bit in the cache file unless we assign to the vars.
2884 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2885 eval ac_val=\$$ac_var
2886 case $ac_val in #(
2887 *${as_nl}*)
2888 case $ac_var in #(
2889 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2890 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2891 esac
2892 case $ac_var in #(
2893 _ | IFS | as_nl) ;; #(
2894 *) $as_unset $ac_var ;;
2895 esac ;;
2896 esac
2897 done
2899 (set) 2>&1 |
2900 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2901 *${as_nl}ac_space=\ *)
2902 # `set' does not quote correctly, so add quotes (double-quote
2903 # substitution turns \\\\ into \\, and sed turns \\ into \).
2904 sed -n \
2905 "s/'/'\\\\''/g;
2906 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2907 ;; #(
2909 # `set' quotes correctly as required by POSIX, so do not add quotes.
2910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2912 esac |
2913 sort
2915 sed '
2916 /^ac_cv_env_/b end
2917 t clear
2918 :clear
2919 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2920 t end
2921 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2922 :end' >>confcache
2923 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2924 if test -w "$cache_file"; then
2925 test "x$cache_file" != "x/dev/null" &&
2926 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2927 echo "$as_me: updating cache $cache_file" >&6;}
2928 cat confcache >$cache_file
2929 else
2930 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2931 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2934 rm -f confcache
2936 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2937 # Let make expand exec_prefix.
2938 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2940 # Transform confdefs.h into DEFS.
2941 # Protect against shell expansion while executing Makefile rules.
2942 # Protect against Makefile macro expansion.
2944 # If the first sed substitution is executed (which looks for macros that
2945 # take arguments), then branch to the quote section. Otherwise,
2946 # look for a macro that doesn't take arguments.
2947 ac_script='
2948 t clear
2949 :clear
2950 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2951 t quote
2952 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2953 t quote
2954 b any
2955 :quote
2956 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2957 s/\[/\\&/g
2958 s/\]/\\&/g
2959 s/\$/$$/g
2961 :any
2964 s/^\n//
2965 s/\n/ /g
2969 DEFS=`sed -n "$ac_script" confdefs.h`
2972 ac_libobjs=
2973 ac_ltlibobjs=
2974 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2975 # 1. Remove the extension, and $U if already installed.
2976 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2977 ac_i=`echo "$ac_i" | sed "$ac_script"`
2978 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2979 # will be set to the directory where LIBOBJS objects are built.
2980 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2981 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2982 done
2983 LIBOBJS=$ac_libobjs
2985 LTLIBOBJS=$ac_ltlibobjs
2989 : ${CONFIG_STATUS=./config.status}
2990 ac_clean_files_save=$ac_clean_files
2991 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2992 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2993 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2994 cat >$CONFIG_STATUS <<_ACEOF
2995 #! $SHELL
2996 # Generated by $as_me.
2997 # Run this file to recreate the current configuration.
2998 # Compiler output produced by configure, useful for debugging
2999 # configure, is in config.log if it exists.
3001 debug=false
3002 ac_cs_recheck=false
3003 ac_cs_silent=false
3004 SHELL=\${CONFIG_SHELL-$SHELL}
3005 _ACEOF
3007 cat >>$CONFIG_STATUS <<\_ACEOF
3008 ## --------------------- ##
3009 ## M4sh Initialization. ##
3010 ## --------------------- ##
3012 # Be more Bourne compatible
3013 DUALCASE=1; export DUALCASE # for MKS sh
3014 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3015 emulate sh
3016 NULLCMD=:
3017 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3018 # is contrary to our usage. Disable this feature.
3019 alias -g '${1+"$@"}'='"$@"'
3020 setopt NO_GLOB_SUBST
3021 else
3022 case `(set -o) 2>/dev/null` in
3023 *posix*) set -o posix ;;
3024 esac
3031 # PATH needs CR
3032 # Avoid depending upon Character Ranges.
3033 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3034 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3035 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3036 as_cr_digits='0123456789'
3037 as_cr_alnum=$as_cr_Letters$as_cr_digits
3039 # The user is always right.
3040 if test "${PATH_SEPARATOR+set}" != set; then
3041 echo "#! /bin/sh" >conf$$.sh
3042 echo "exit 0" >>conf$$.sh
3043 chmod +x conf$$.sh
3044 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3045 PATH_SEPARATOR=';'
3046 else
3047 PATH_SEPARATOR=:
3049 rm -f conf$$.sh
3052 # Support unset when possible.
3053 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3054 as_unset=unset
3055 else
3056 as_unset=false
3060 # IFS
3061 # We need space, tab and new line, in precisely that order. Quoting is
3062 # there to prevent editors from complaining about space-tab.
3063 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3064 # splitting by setting IFS to empty value.)
3065 as_nl='
3067 IFS=" "" $as_nl"
3069 # Find who we are. Look in the path if we contain no directory separator.
3070 case $0 in
3071 *[\\/]* ) as_myself=$0 ;;
3072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 for as_dir in $PATH
3075 IFS=$as_save_IFS
3076 test -z "$as_dir" && as_dir=.
3077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3078 done
3079 IFS=$as_save_IFS
3082 esac
3083 # We did not find ourselves, most probably we were run as `sh COMMAND'
3084 # in which case we are not to be found in the path.
3085 if test "x$as_myself" = x; then
3086 as_myself=$0
3088 if test ! -f "$as_myself"; then
3089 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3090 { (exit 1); exit 1; }
3093 # Work around bugs in pre-3.0 UWIN ksh.
3094 for as_var in ENV MAIL MAILPATH
3095 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3096 done
3097 PS1='$ '
3098 PS2='> '
3099 PS4='+ '
3101 # NLS nuisances.
3102 for as_var in \
3103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3105 LC_TELEPHONE LC_TIME
3107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3108 eval $as_var=C; export $as_var
3109 else
3110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3112 done
3114 # Required to use basename.
3115 if expr a : '\(a\)' >/dev/null 2>&1 &&
3116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3117 as_expr=expr
3118 else
3119 as_expr=false
3122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3123 as_basename=basename
3124 else
3125 as_basename=false
3129 # Name of the executable.
3130 as_me=`$as_basename -- "$0" ||
3131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3132 X"$0" : 'X\(//\)$' \| \
3133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3134 echo X/"$0" |
3135 sed '/^.*\/\([^/][^/]*\)\/*$/{
3136 s//\1/
3139 /^X\/\(\/\/\)$/{
3140 s//\1/
3143 /^X\/\(\/\).*/{
3144 s//\1/
3147 s/.*/./; q'`
3149 # CDPATH.
3150 $as_unset CDPATH
3154 as_lineno_1=$LINENO
3155 as_lineno_2=$LINENO
3156 test "x$as_lineno_1" != "x$as_lineno_2" &&
3157 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3160 # uniformly replaced by the line number. The first 'sed' inserts a
3161 # line-number line after each line using $LINENO; the second 'sed'
3162 # does the real work. The second script uses 'N' to pair each
3163 # line-number line with the line containing $LINENO, and appends
3164 # trailing '-' during substitution so that $LINENO is not a special
3165 # case at line end.
3166 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3167 # scripts with optimization help from Paolo Bonzini. Blame Lee
3168 # E. McMahon (1931-1989) for sed's syntax. :-)
3169 sed -n '
3171 /[$]LINENO/=
3172 ' <$as_myself |
3173 sed '
3174 s/[$]LINENO.*/&-/
3175 t lineno
3177 :lineno
3179 :loop
3180 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3181 t loop
3182 s/-\n.*//
3183 ' >$as_me.lineno &&
3184 chmod +x "$as_me.lineno" ||
3185 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3186 { (exit 1); exit 1; }; }
3188 # Don't try to exec as it changes $[0], causing all sort of problems
3189 # (the dirname of $[0] is not the place where we might find the
3190 # original and so on. Autoconf is especially sensitive to this).
3191 . "./$as_me.lineno"
3192 # Exit status is that of the last command.
3193 exit
3197 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3198 as_dirname=dirname
3199 else
3200 as_dirname=false
3203 ECHO_C= ECHO_N= ECHO_T=
3204 case `echo -n x` in
3205 -n*)
3206 case `echo 'x\c'` in
3207 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3208 *) ECHO_C='\c';;
3209 esac;;
3211 ECHO_N='-n';;
3212 esac
3214 if expr a : '\(a\)' >/dev/null 2>&1 &&
3215 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3216 as_expr=expr
3217 else
3218 as_expr=false
3221 rm -f conf$$ conf$$.exe conf$$.file
3222 if test -d conf$$.dir; then
3223 rm -f conf$$.dir/conf$$.file
3224 else
3225 rm -f conf$$.dir
3226 mkdir conf$$.dir
3228 echo >conf$$.file
3229 if ln -s conf$$.file conf$$ 2>/dev/null; then
3230 as_ln_s='ln -s'
3231 # ... but there are two gotchas:
3232 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3233 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3234 # In both cases, we have to default to `cp -p'.
3235 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3236 as_ln_s='cp -p'
3237 elif ln conf$$.file conf$$ 2>/dev/null; then
3238 as_ln_s=ln
3239 else
3240 as_ln_s='cp -p'
3242 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3243 rmdir conf$$.dir 2>/dev/null
3245 if mkdir -p . 2>/dev/null; then
3246 as_mkdir_p=:
3247 else
3248 test -d ./-p && rmdir ./-p
3249 as_mkdir_p=false
3252 if test -x / >/dev/null 2>&1; then
3253 as_test_x='test -x'
3254 else
3255 if ls -dL / >/dev/null 2>&1; then
3256 as_ls_L_option=L
3257 else
3258 as_ls_L_option=
3260 as_test_x='
3261 eval sh -c '\''
3262 if test -d "$1"; then
3263 test -d "$1/.";
3264 else
3265 case $1 in
3266 -*)set "./$1";;
3267 esac;
3268 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3269 ???[sx]*):;;*)false;;esac;fi
3270 '\'' sh
3273 as_executable_p=$as_test_x
3275 # Sed expression to map a string onto a valid CPP name.
3276 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3278 # Sed expression to map a string onto a valid variable name.
3279 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3282 exec 6>&1
3284 # Save the log message, to keep $[0] and so on meaningful, and to
3285 # report actual input values of CONFIG_FILES etc. instead of their
3286 # values after options handling.
3287 ac_log="
3288 This file was extended by GNU Autoconf $as_me 2.60c, which was
3289 generated by GNU Autoconf 2.60c. Invocation command line was
3291 CONFIG_FILES = $CONFIG_FILES
3292 CONFIG_HEADERS = $CONFIG_HEADERS
3293 CONFIG_LINKS = $CONFIG_LINKS
3294 CONFIG_COMMANDS = $CONFIG_COMMANDS
3295 $ $0 $@
3297 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3300 _ACEOF
3302 cat >>$CONFIG_STATUS <<_ACEOF
3303 # Files that config.status was made for.
3304 config_files="$ac_config_files"
3305 config_commands="$ac_config_commands"
3307 _ACEOF
3309 cat >>$CONFIG_STATUS <<\_ACEOF
3310 ac_cs_usage="\
3311 \`$as_me' instantiates files from templates according to the
3312 current configuration.
3314 Usage: $0 [OPTIONS] [FILE]...
3316 -h, --help print this help, then exit
3317 -V, --version print version number and configuration settings, then exit
3318 -q, --quiet do not print progress messages
3319 -d, --debug don't remove temporary files
3320 --recheck update $as_me by reconfiguring in the same conditions
3321 --file=FILE[:TEMPLATE]
3322 instantiate the configuration file FILE
3324 Configuration files:
3325 $config_files
3327 Configuration commands:
3328 $config_commands
3330 Report bugs to <bug-autoconf@gnu.org>."
3332 _ACEOF
3333 cat >>$CONFIG_STATUS <<_ACEOF
3334 ac_cs_version="\\
3335 GNU Autoconf config.status 2.60c
3336 configured by $0, generated by GNU Autoconf 2.60c,
3337 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3339 Copyright (C) 2006 Free Software Foundation, Inc.
3340 This config.status script is free software; the Free Software Foundation
3341 gives unlimited permission to copy, distribute and modify it."
3343 ac_pwd='$ac_pwd'
3344 srcdir='$srcdir'
3345 INSTALL='$INSTALL'
3346 MKDIR_P='$MKDIR_P'
3347 _ACEOF
3349 cat >>$CONFIG_STATUS <<\_ACEOF
3350 # If no file are specified by the user, then we need to provide default
3351 # value. By we need to know if files were specified by the user.
3352 ac_need_defaults=:
3353 while test $# != 0
3355 case $1 in
3356 --*=*)
3357 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3358 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3359 ac_shift=:
3362 ac_option=$1
3363 ac_optarg=$2
3364 ac_shift=shift
3366 esac
3368 case $ac_option in
3369 # Handling of the options.
3370 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3371 ac_cs_recheck=: ;;
3372 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3373 echo "$ac_cs_version"; exit ;;
3374 --debug | --debu | --deb | --de | --d | -d )
3375 debug=: ;;
3376 --file | --fil | --fi | --f )
3377 $ac_shift
3378 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3379 ac_need_defaults=false;;
3380 --he | --h | --help | --hel | -h )
3381 echo "$ac_cs_usage"; exit ;;
3382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3383 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3384 ac_cs_silent=: ;;
3386 # This is an error.
3387 -*) { echo "$as_me: error: unrecognized option: $1
3388 Try \`$0 --help' for more information." >&2
3389 { (exit 1); exit 1; }; } ;;
3391 *) ac_config_targets="$ac_config_targets $1"
3392 ac_need_defaults=false ;;
3394 esac
3395 shift
3396 done
3398 ac_configure_extra_args=
3400 if $ac_cs_silent; then
3401 exec 6>/dev/null
3402 ac_configure_extra_args="$ac_configure_extra_args --silent"
3405 _ACEOF
3406 cat >>$CONFIG_STATUS <<_ACEOF
3407 if \$ac_cs_recheck; then
3408 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3409 CONFIG_SHELL=$SHELL
3410 export CONFIG_SHELL
3411 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3414 _ACEOF
3415 cat >>$CONFIG_STATUS <<\_ACEOF
3416 exec 5>>config.log
3418 echo
3419 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3420 ## Running $as_me. ##
3421 _ASBOX
3422 echo "$ac_log"
3423 } >&5
3425 _ACEOF
3426 cat >>$CONFIG_STATUS <<_ACEOF
3427 _ACEOF
3429 cat >>$CONFIG_STATUS <<\_ACEOF
3431 # Handling of arguments.
3432 for ac_config_target in $ac_config_targets
3434 case $ac_config_target in
3435 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
3436 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3437 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
3438 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
3439 "lib/emacs/Makefile") CONFIG_FILES="$CONFIG_FILES lib/emacs/Makefile" ;;
3440 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3441 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3442 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3443 "lib/Autom4te/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Autom4te/Makefile" ;;
3444 "lib/autoscan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoscan/Makefile" ;;
3445 "lib/m4sugar/Makefile") CONFIG_FILES="$CONFIG_FILES lib/m4sugar/Makefile" ;;
3446 "lib/autoconf/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autoconf/Makefile" ;;
3447 "lib/autotest/Makefile") CONFIG_FILES="$CONFIG_FILES lib/autotest/Makefile" ;;
3448 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
3450 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3451 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3452 { (exit 1); exit 1; }; };;
3453 esac
3454 done
3457 # If the user did not use the arguments to specify the items to instantiate,
3458 # then the envvar interface is used. Set only those that are not.
3459 # We use the long form for the default assignment because of an extremely
3460 # bizarre bug on SunOS 4.1.3.
3461 if $ac_need_defaults; then
3462 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3463 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3466 # Have a temporary directory for convenience. Make it in the build tree
3467 # simply because there is no reason against having it here, and in addition,
3468 # creating and moving files from /tmp can sometimes cause problems.
3469 # Hook for its removal unless debugging.
3470 # Note that there is a small window in which the directory will not be cleaned:
3471 # after its creation but before its name has been assigned to `$tmp'.
3472 $debug ||
3474 tmp=
3475 trap 'exit_status=$?
3476 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3478 trap '{ (exit 1); exit 1; }' 1 2 13 15
3480 # Create a (secure) tmp directory for tmp files.
3483 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3484 test -n "$tmp" && test -d "$tmp"
3485 } ||
3487 tmp=./conf$$-$RANDOM
3488 (umask 077 && mkdir "$tmp")
3489 } ||
3491 echo "$me: cannot create a temporary directory in ." >&2
3492 { (exit 1); exit 1; }
3496 # Set up the sed scripts for CONFIG_FILES section.
3499 # No need to generate the scripts if there are no CONFIG_FILES.
3500 # This happens for instance when ./config.status config.h
3501 if test -n "$CONFIG_FILES"; then
3503 _ACEOF
3507 ac_delim='%!_!# '
3508 for ac_last_try in false false false false false :; do
3509 cat >conf$$subs.sed <<_ACEOF
3510 SHELL!$SHELL$ac_delim
3511 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3512 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3513 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3514 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3515 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3516 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3517 exec_prefix!$exec_prefix$ac_delim
3518 prefix!$prefix$ac_delim
3519 program_transform_name!$program_transform_name$ac_delim
3520 bindir!$bindir$ac_delim
3521 sbindir!$sbindir$ac_delim
3522 libexecdir!$libexecdir$ac_delim
3523 datarootdir!$datarootdir$ac_delim
3524 datadir!$datadir$ac_delim
3525 sysconfdir!$sysconfdir$ac_delim
3526 sharedstatedir!$sharedstatedir$ac_delim
3527 localstatedir!$localstatedir$ac_delim
3528 includedir!$includedir$ac_delim
3529 oldincludedir!$oldincludedir$ac_delim
3530 docdir!$docdir$ac_delim
3531 infodir!$infodir$ac_delim
3532 htmldir!$htmldir$ac_delim
3533 dvidir!$dvidir$ac_delim
3534 pdfdir!$pdfdir$ac_delim
3535 psdir!$psdir$ac_delim
3536 libdir!$libdir$ac_delim
3537 localedir!$localedir$ac_delim
3538 mandir!$mandir$ac_delim
3539 DEFS!$DEFS$ac_delim
3540 ECHO_C!$ECHO_C$ac_delim
3541 ECHO_N!$ECHO_N$ac_delim
3542 ECHO_T!$ECHO_T$ac_delim
3543 LIBS!$LIBS$ac_delim
3544 build_alias!$build_alias$ac_delim
3545 host_alias!$host_alias$ac_delim
3546 target_alias!$target_alias$ac_delim
3547 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3548 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3549 INSTALL_DATA!$INSTALL_DATA$ac_delim
3550 am__isrc!$am__isrc$ac_delim
3551 CYGPATH_W!$CYGPATH_W$ac_delim
3552 PACKAGE!$PACKAGE$ac_delim
3553 VERSION!$VERSION$ac_delim
3554 ACLOCAL!$ACLOCAL$ac_delim
3555 AUTOCONF!$AUTOCONF$ac_delim
3556 AUTOMAKE!$AUTOMAKE$ac_delim
3557 AUTOHEADER!$AUTOHEADER$ac_delim
3558 MAKEINFO!$MAKEINFO$ac_delim
3559 install_sh!$install_sh$ac_delim
3560 STRIP!$STRIP$ac_delim
3561 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3562 mkdir_p!$mkdir_p$ac_delim
3563 AWK!$AWK$ac_delim
3564 SET_MAKE!$SET_MAKE$ac_delim
3565 am__leading_dot!$am__leading_dot$ac_delim
3566 AMTAR!$AMTAR$ac_delim
3567 am__tar!$am__tar$ac_delim
3568 am__untar!$am__untar$ac_delim
3569 ac_cv_sh_n_works!$ac_cv_sh_n_works$ac_delim
3570 EXPR!$EXPR$ac_delim
3571 M4!$M4$ac_delim
3572 M4_DEBUGFILE!$M4_DEBUGFILE$ac_delim
3573 HELP2MAN!$HELP2MAN$ac_delim
3574 PERL!$PERL$ac_delim
3575 TEST_EMACS!$TEST_EMACS$ac_delim
3576 EMACS!$EMACS$ac_delim
3577 EMACSLOADPATH!$EMACSLOADPATH$ac_delim
3578 lispdir!$lispdir$ac_delim
3579 GREP!$GREP$ac_delim
3580 EGREP!$EGREP$ac_delim
3581 SED!$SED$ac_delim
3582 LIBOBJS!$LIBOBJS$ac_delim
3583 LTLIBOBJS!$LTLIBOBJS$ac_delim
3584 _ACEOF
3586 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
3587 break
3588 elif $ac_last_try; then
3589 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3590 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3591 { (exit 1); exit 1; }; }
3592 else
3593 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3595 done
3597 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3598 if test -n "$ac_eof"; then
3599 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3600 ac_eof=`expr $ac_eof + 1`
3603 cat >>$CONFIG_STATUS <<_ACEOF
3604 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3605 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3606 _ACEOF
3607 sed '
3608 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3609 s/^/s,@/; s/!/@,|#_!!_#|/
3612 s/'"$ac_delim"'$/,g/; t
3613 s/$/\\/; p
3614 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3615 ' >>$CONFIG_STATUS <conf$$subs.sed
3616 rm -f conf$$subs.sed
3617 cat >>$CONFIG_STATUS <<_ACEOF
3618 :end
3619 s/|#_!!_#|//g
3620 CEOF$ac_eof
3621 _ACEOF
3624 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3625 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3626 # trailing colons and then remove the whole line if VPATH becomes empty
3627 # (actually we leave an empty line to preserve line numbers).
3628 if test "x$srcdir" = x.; then
3629 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3630 s/:*\$(srcdir):*/:/
3631 s/:*\${srcdir}:*/:/
3632 s/:*@srcdir@:*/:/
3633 s/^\([^=]*=[ ]*\):*/\1/
3634 s/:*$//
3635 s/^[^=]*=[ ]*$//
3639 cat >>$CONFIG_STATUS <<\_ACEOF
3640 fi # test -n "$CONFIG_FILES"
3643 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3645 case $ac_tag in
3646 :[FHLC]) ac_mode=$ac_tag; continue;;
3647 esac
3648 case $ac_mode$ac_tag in
3649 :[FHL]*:*);;
3650 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3651 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3652 { (exit 1); exit 1; }; };;
3653 :[FH]-) ac_tag=-:-;;
3654 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3655 esac
3656 ac_save_IFS=$IFS
3657 IFS=:
3658 set x $ac_tag
3659 IFS=$ac_save_IFS
3660 shift
3661 ac_file=$1
3662 shift
3664 case $ac_mode in
3665 :L) ac_source=$1;;
3666 :[FH])
3667 ac_file_inputs=
3668 for ac_f
3670 case $ac_f in
3671 -) ac_f="$tmp/stdin";;
3672 *) # Look for the file first in the build tree, then in the source tree
3673 # (if the path is not absolute). The absolute path cannot be DOS-style,
3674 # because $ac_f cannot contain `:'.
3675 test -f "$ac_f" ||
3676 case $ac_f in
3677 [\\/$]*) false;;
3678 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3679 esac ||
3680 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3681 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3682 { (exit 1); exit 1; }; };;
3683 esac
3684 ac_file_inputs="$ac_file_inputs $ac_f"
3685 done
3687 # Let's still pretend it is `configure' which instantiates (i.e., don't
3688 # use $as_me), people would be surprised to read:
3689 # /* config.h. Generated by config.status. */
3690 configure_input="Generated from "`IFS=:
3691 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3692 if test x"$ac_file" != x-; then
3693 configure_input="$ac_file. $configure_input"
3694 { echo "$as_me:$LINENO: creating $ac_file" >&5
3695 echo "$as_me: creating $ac_file" >&6;}
3698 case $ac_tag in
3699 *:-:* | *:-) cat >"$tmp/stdin";;
3700 esac
3702 esac
3704 ac_dir=`$as_dirname -- "$ac_file" ||
3705 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3706 X"$ac_file" : 'X\(//\)[^/]' \| \
3707 X"$ac_file" : 'X\(//\)$' \| \
3708 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3709 echo X"$ac_file" |
3710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3711 s//\1/
3714 /^X\(\/\/\)[^/].*/{
3715 s//\1/
3718 /^X\(\/\/\)$/{
3719 s//\1/
3722 /^X\(\/\).*/{
3723 s//\1/
3726 s/.*/./; q'`
3727 { as_dir="$ac_dir"
3728 case $as_dir in #(
3729 -*) as_dir=./$as_dir;;
3730 esac
3731 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3732 as_dirs=
3733 while :; do
3734 case $as_dir in #(
3735 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3736 *) as_qdir=$as_dir;;
3737 esac
3738 as_dirs="'$as_qdir' $as_dirs"
3739 as_dir=`$as_dirname -- "$as_dir" ||
3740 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3741 X"$as_dir" : 'X\(//\)[^/]' \| \
3742 X"$as_dir" : 'X\(//\)$' \| \
3743 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3744 echo X"$as_dir" |
3745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3746 s//\1/
3749 /^X\(\/\/\)[^/].*/{
3750 s//\1/
3753 /^X\(\/\/\)$/{
3754 s//\1/
3757 /^X\(\/\).*/{
3758 s//\1/
3761 s/.*/./; q'`
3762 test -d "$as_dir" && break
3763 done
3764 test -z "$as_dirs" || eval "mkdir $as_dirs"
3765 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3766 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3767 { (exit 1); exit 1; }; }; }
3768 ac_builddir=.
3770 case "$ac_dir" in
3771 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3773 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3774 # A ".." for each directory in $ac_dir_suffix.
3775 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3776 case $ac_top_builddir_sub in
3777 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3778 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3779 esac ;;
3780 esac
3781 ac_abs_top_builddir=$ac_pwd
3782 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3783 # for backward compatibility:
3784 ac_top_builddir=$ac_top_build_prefix
3786 case $srcdir in
3787 .) # We are building in place.
3788 ac_srcdir=.
3789 ac_top_srcdir=$ac_top_builddir_sub
3790 ac_abs_top_srcdir=$ac_pwd ;;
3791 [\\/]* | ?:[\\/]* ) # Absolute name.
3792 ac_srcdir=$srcdir$ac_dir_suffix;
3793 ac_top_srcdir=$srcdir
3794 ac_abs_top_srcdir=$srcdir ;;
3795 *) # Relative name.
3796 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3797 ac_top_srcdir=$ac_top_build_prefix$srcdir
3798 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3799 esac
3800 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3803 case $ac_mode in
3806 # CONFIG_FILE
3809 case $INSTALL in
3810 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3811 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3812 esac
3813 ac_MKDIR_P=$MKDIR_P
3814 case $MKDIR_P in
3815 [\\/$]* | ?:[\\/]* ) ;;
3816 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3817 esac
3818 _ACEOF
3820 cat >>$CONFIG_STATUS <<\_ACEOF
3821 # If the template does not know about datarootdir, expand it.
3822 # FIXME: This hack should be removed a few years after 2.60.
3823 ac_datarootdir_hack=; ac_datarootdir_seen=
3825 case `sed -n '/datarootdir/ {
3829 /@datadir@/p
3830 /@docdir@/p
3831 /@infodir@/p
3832 /@localedir@/p
3833 /@mandir@/p
3834 ' $ac_file_inputs` in
3835 *datarootdir*) ac_datarootdir_seen=yes;;
3836 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3837 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3838 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3839 _ACEOF
3840 cat >>$CONFIG_STATUS <<_ACEOF
3841 ac_datarootdir_hack='
3842 s&@datadir@&$datadir&g
3843 s&@docdir@&$docdir&g
3844 s&@infodir@&$infodir&g
3845 s&@localedir@&$localedir&g
3846 s&@mandir@&$mandir&g
3847 s&\\\${datarootdir}&$datarootdir&g' ;;
3848 esac
3849 _ACEOF
3851 # Neutralize VPATH when `$srcdir' = `.'.
3852 # Shell code in configure.ac might set extrasub.
3853 # FIXME: do we really want to maintain this feature?
3854 cat >>$CONFIG_STATUS <<_ACEOF
3855 sed "$ac_vpsub
3856 $extrasub
3857 _ACEOF
3858 cat >>$CONFIG_STATUS <<\_ACEOF
3860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3861 s&@configure_input@&$configure_input&;t t
3862 s&@top_builddir@&$ac_top_builddir_sub&;t t
3863 s&@srcdir@&$ac_srcdir&;t t
3864 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3865 s&@top_srcdir@&$ac_top_srcdir&;t t
3866 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3867 s&@builddir@&$ac_builddir&;t t
3868 s&@abs_builddir@&$ac_abs_builddir&;t t
3869 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3870 s&@INSTALL@&$ac_INSTALL&;t t
3871 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3872 $ac_datarootdir_hack
3873 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3875 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3876 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3877 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3878 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3879 which seems to be undefined. Please make sure it is defined." >&5
3880 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3881 which seems to be undefined. Please make sure it is defined." >&2;}
3883 rm -f "$tmp/stdin"
3884 case $ac_file in
3885 -) cat "$tmp/out"; rm -f "$tmp/out";;
3886 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3887 esac
3891 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3892 echo "$as_me: executing $ac_file commands" >&6;}
3894 esac
3897 case $ac_file$ac_mode in
3898 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
3899 # Configurable variable values for building test suites.
3900 # Generated by $0.
3901 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
3903 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
3904 at_testdir='tests'
3905 abs_builddir='$ac_abs_builddir'
3906 at_srcdir='$ac_srcdir'
3907 abs_srcdir='$ac_abs_srcdir'
3908 at_top_srcdir='$ac_top_srcdir'
3909 abs_top_srcdir='$ac_abs_top_srcdir'
3910 at_top_build_prefix='$ac_top_build_prefix'
3911 abs_top_builddir='$ac_abs_top_builddir'
3913 # Backward compatibility with Autotest <= 2.59b:
3914 at_top_builddir=\$at_top_build_prefix
3916 AUTOTEST_PATH='tests'
3918 SHELL=\${CONFIG_SHELL-'$SHELL'}
3919 ATEOF
3922 esac
3923 done # for ac_tag
3926 { (exit 0); exit 0; }
3927 _ACEOF
3928 chmod +x $CONFIG_STATUS
3929 ac_clean_files=$ac_clean_files_save
3932 # configure is writing to config.log, and then calls config.status.
3933 # config.status does its own redirection, appending to config.log.
3934 # Unfortunately, on DOS this fails, as config.log is still kept open
3935 # by configure, so config.status won't be able to write to it; its
3936 # output is simply discarded. So we exec the FD to /dev/null,
3937 # effectively closing config.log, so it can be properly (re)opened and
3938 # appended to by config.status. When coming back to configure, we
3939 # need to make the FD available again.
3940 if test "$no_create" != yes; then
3941 ac_cs_success=:
3942 ac_config_status_args=
3943 test "$silent" = yes &&
3944 ac_config_status_args="$ac_config_status_args --quiet"
3945 exec 5>/dev/null
3946 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3947 exec 5>>config.log
3948 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3949 # would make configure fail if this is the last instruction.
3950 $ac_cs_success || { (exit 1); exit 1; }
3953 # Report the state of this version of Autoconf if this is a beta.
3954 cat <<EOF
3956 You are about to use an experimental version of Autoconf. Be sure to
3957 read the relevant mailing lists, most importantly <autoconf@gnu.org>.
3959 Below you will find information on the status of this version of Autoconf.
3963 sed -n '/^\* Status/,$p' $srcdir/BUGS