* doc/automake.texi (wildcards): Improve "Why doesn't Automake
[automake.git] / configure
blob64d26f0ccede0395223ec838dd8ca2d8716d3c35
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for GNU Automake 1.10a.
5 # Report bugs to <bug-automake@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 Automake'
576 PACKAGE_TARNAME='automake'
577 PACKAGE_VERSION='1.10a'
578 PACKAGE_STRING='GNU Automake 1.10a'
579 PACKAGE_BUGREPORT='bug-automake@gnu.org'
581 ac_unique_file="automake.in"
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 build
620 build_cpu
621 build_vendor
622 build_os
623 am_AUTOCONF
624 INSTALL_PROGRAM
625 INSTALL_SCRIPT
626 INSTALL_DATA
627 am__isrc
628 CYGPATH_W
629 PACKAGE
630 VERSION
631 ACLOCAL
632 AUTOCONF
633 AUTOMAKE
634 AUTOHEADER
635 MAKEINFO
636 install_sh
637 STRIP
638 INSTALL_STRIP_PROGRAM
639 mkdir_p
641 SET_MAKE
642 am__leading_dot
643 AMTAR
644 am__tar
645 am__untar
646 APIVERSION
647 pkgvdatadir
648 PERL
651 MODIFICATION_DELAY
652 GREP
653 EGREP
654 FGREP
655 LIBOBJS
656 LTLIBOBJS'
657 ac_subst_files=''
658 ac_precious_vars='build_alias
659 host_alias
660 target_alias'
663 # Initialize some variables set by options.
664 ac_init_help=
665 ac_init_version=false
666 # The variables have the same names as the options, with
667 # dashes changed to underlines.
668 cache_file=/dev/null
669 exec_prefix=NONE
670 no_create=
671 no_recursion=
672 prefix=NONE
673 program_prefix=NONE
674 program_suffix=NONE
675 program_transform_name=s,x,x,
676 silent=
677 site=
678 srcdir=
679 verbose=
680 x_includes=NONE
681 x_libraries=NONE
683 # Installation directory options.
684 # These are left unexpanded so users can "make install exec_prefix=/foo"
685 # and all the variables that are supposed to be based on exec_prefix
686 # by default will actually change.
687 # Use braces instead of parens because sh, perl, etc. also accept them.
688 # (The list follows the same order as the GNU Coding Standards.)
689 bindir='${exec_prefix}/bin'
690 sbindir='${exec_prefix}/sbin'
691 libexecdir='${exec_prefix}/libexec'
692 datarootdir='${prefix}/share'
693 datadir='${datarootdir}'
694 sysconfdir='${prefix}/etc'
695 sharedstatedir='${prefix}/com'
696 localstatedir='${prefix}/var'
697 includedir='${prefix}/include'
698 oldincludedir='/usr/include'
699 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
700 infodir='${datarootdir}/info'
701 htmldir='${docdir}'
702 dvidir='${docdir}'
703 pdfdir='${docdir}'
704 psdir='${docdir}'
705 libdir='${exec_prefix}/lib'
706 localedir='${datarootdir}/locale'
707 mandir='${datarootdir}/man'
709 ac_prev=
710 ac_dashdash=
711 for ac_option
713 # If the previous option needs an argument, assign it.
714 if test -n "$ac_prev"; then
715 eval $ac_prev=\$ac_option
716 ac_prev=
717 continue
720 case $ac_option in
721 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
722 *) ac_optarg=yes ;;
723 esac
725 # Accept the important Cygnus configure options, so we can diagnose typos.
727 case $ac_dashdash$ac_option in
729 ac_dashdash=yes ;;
731 -bindir | --bindir | --bindi | --bind | --bin | --bi)
732 ac_prev=bindir ;;
733 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
734 bindir=$ac_optarg ;;
736 -build | --build | --buil | --bui | --bu)
737 ac_prev=build_alias ;;
738 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
739 build_alias=$ac_optarg ;;
741 -cache-file | --cache-file | --cache-fil | --cache-fi \
742 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
743 ac_prev=cache_file ;;
744 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
745 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
746 cache_file=$ac_optarg ;;
748 --config-cache | -C)
749 cache_file=config.cache ;;
751 -datadir | --datadir | --datadi | --datad)
752 ac_prev=datadir ;;
753 -datadir=* | --datadir=* | --datadi=* | --datad=*)
754 datadir=$ac_optarg ;;
756 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
757 | --dataroo | --dataro | --datar)
758 ac_prev=datarootdir ;;
759 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
760 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
761 datarootdir=$ac_optarg ;;
763 -disable-* | --disable-*)
764 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
765 # Reject names that are not valid shell variable names.
766 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
767 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
768 { (exit 1); exit 1; }; }
769 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
770 eval enable_$ac_feature=no ;;
772 -docdir | --docdir | --docdi | --doc | --do)
773 ac_prev=docdir ;;
774 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
775 docdir=$ac_optarg ;;
777 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
778 ac_prev=dvidir ;;
779 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
780 dvidir=$ac_optarg ;;
782 -enable-* | --enable-*)
783 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
784 # Reject names that are not valid shell variable names.
785 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
786 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
787 { (exit 1); exit 1; }; }
788 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
789 eval enable_$ac_feature=\$ac_optarg ;;
791 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
792 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
793 | --exec | --exe | --ex)
794 ac_prev=exec_prefix ;;
795 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
796 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
797 | --exec=* | --exe=* | --ex=*)
798 exec_prefix=$ac_optarg ;;
800 -gas | --gas | --ga | --g)
801 # Obsolete; use --with-gas.
802 with_gas=yes ;;
804 -help | --help | --hel | --he | -h)
805 ac_init_help=long ;;
806 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
807 ac_init_help=recursive ;;
808 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
809 ac_init_help=short ;;
811 -host | --host | --hos | --ho)
812 ac_prev=host_alias ;;
813 -host=* | --host=* | --hos=* | --ho=*)
814 host_alias=$ac_optarg ;;
816 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
817 ac_prev=htmldir ;;
818 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
819 | --ht=*)
820 htmldir=$ac_optarg ;;
822 -includedir | --includedir | --includedi | --included | --include \
823 | --includ | --inclu | --incl | --inc)
824 ac_prev=includedir ;;
825 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
826 | --includ=* | --inclu=* | --incl=* | --inc=*)
827 includedir=$ac_optarg ;;
829 -infodir | --infodir | --infodi | --infod | --info | --inf)
830 ac_prev=infodir ;;
831 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
832 infodir=$ac_optarg ;;
834 -libdir | --libdir | --libdi | --libd)
835 ac_prev=libdir ;;
836 -libdir=* | --libdir=* | --libdi=* | --libd=*)
837 libdir=$ac_optarg ;;
839 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
840 | --libexe | --libex | --libe)
841 ac_prev=libexecdir ;;
842 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
843 | --libexe=* | --libex=* | --libe=*)
844 libexecdir=$ac_optarg ;;
846 -localedir | --localedir | --localedi | --localed | --locale)
847 ac_prev=localedir ;;
848 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
849 localedir=$ac_optarg ;;
851 -localstatedir | --localstatedir | --localstatedi | --localstated \
852 | --localstate | --localstat | --localsta | --localst | --locals)
853 ac_prev=localstatedir ;;
854 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
855 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
856 localstatedir=$ac_optarg ;;
858 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
859 ac_prev=mandir ;;
860 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
861 mandir=$ac_optarg ;;
863 -nfp | --nfp | --nf)
864 # Obsolete; use --without-fp.
865 with_fp=no ;;
867 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
868 | --no-cr | --no-c | -n)
869 no_create=yes ;;
871 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
872 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
873 no_recursion=yes ;;
875 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
876 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
877 | --oldin | --oldi | --old | --ol | --o)
878 ac_prev=oldincludedir ;;
879 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
880 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
881 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
882 oldincludedir=$ac_optarg ;;
884 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
885 ac_prev=prefix ;;
886 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
887 prefix=$ac_optarg ;;
889 -program-prefix | --program-prefix | --program-prefi | --program-pref \
890 | --program-pre | --program-pr | --program-p)
891 ac_prev=program_prefix ;;
892 -program-prefix=* | --program-prefix=* | --program-prefi=* \
893 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
894 program_prefix=$ac_optarg ;;
896 -program-suffix | --program-suffix | --program-suffi | --program-suff \
897 | --program-suf | --program-su | --program-s)
898 ac_prev=program_suffix ;;
899 -program-suffix=* | --program-suffix=* | --program-suffi=* \
900 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
901 program_suffix=$ac_optarg ;;
903 -program-transform-name | --program-transform-name \
904 | --program-transform-nam | --program-transform-na \
905 | --program-transform-n | --program-transform- \
906 | --program-transform | --program-transfor \
907 | --program-transfo | --program-transf \
908 | --program-trans | --program-tran \
909 | --progr-tra | --program-tr | --program-t)
910 ac_prev=program_transform_name ;;
911 -program-transform-name=* | --program-transform-name=* \
912 | --program-transform-nam=* | --program-transform-na=* \
913 | --program-transform-n=* | --program-transform-=* \
914 | --program-transform=* | --program-transfor=* \
915 | --program-transfo=* | --program-transf=* \
916 | --program-trans=* | --program-tran=* \
917 | --progr-tra=* | --program-tr=* | --program-t=*)
918 program_transform_name=$ac_optarg ;;
920 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
921 ac_prev=pdfdir ;;
922 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
923 pdfdir=$ac_optarg ;;
925 -psdir | --psdir | --psdi | --psd | --ps)
926 ac_prev=psdir ;;
927 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
928 psdir=$ac_optarg ;;
930 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
931 | -silent | --silent | --silen | --sile | --sil)
932 silent=yes ;;
934 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
935 ac_prev=sbindir ;;
936 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
937 | --sbi=* | --sb=*)
938 sbindir=$ac_optarg ;;
940 -sharedstatedir | --sharedstatedir | --sharedstatedi \
941 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
942 | --sharedst | --shareds | --shared | --share | --shar \
943 | --sha | --sh)
944 ac_prev=sharedstatedir ;;
945 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
946 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
947 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
948 | --sha=* | --sh=*)
949 sharedstatedir=$ac_optarg ;;
951 -site | --site | --sit)
952 ac_prev=site ;;
953 -site=* | --site=* | --sit=*)
954 site=$ac_optarg ;;
956 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
957 ac_prev=srcdir ;;
958 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
959 srcdir=$ac_optarg ;;
961 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
962 | --syscon | --sysco | --sysc | --sys | --sy)
963 ac_prev=sysconfdir ;;
964 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
965 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
966 sysconfdir=$ac_optarg ;;
968 -target | --target | --targe | --targ | --tar | --ta | --t)
969 ac_prev=target_alias ;;
970 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
971 target_alias=$ac_optarg ;;
973 -v | -verbose | --verbose | --verbos | --verbo | --verb)
974 verbose=yes ;;
976 -version | --version | --versio | --versi | --vers | -V)
977 ac_init_version=: ;;
979 -with-* | --with-*)
980 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
983 { echo "$as_me: error: invalid package name: $ac_package" >&2
984 { (exit 1); exit 1; }; }
985 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
986 eval with_$ac_package=\$ac_optarg ;;
988 -without-* | --without-*)
989 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
992 { echo "$as_me: error: invalid package name: $ac_package" >&2
993 { (exit 1); exit 1; }; }
994 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
995 eval with_$ac_package=no ;;
997 --x)
998 # Obsolete; use --with-x.
999 with_x=yes ;;
1001 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1002 | --x-incl | --x-inc | --x-in | --x-i)
1003 ac_prev=x_includes ;;
1004 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1005 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1006 x_includes=$ac_optarg ;;
1008 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1009 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1010 ac_prev=x_libraries ;;
1011 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1012 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1013 x_libraries=$ac_optarg ;;
1015 -*) { echo "$as_me: error: unrecognized option: $ac_option
1016 Try \`$0 --help' for more information." >&2
1017 { (exit 1); exit 1; }; }
1020 *=*)
1021 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1024 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1025 { (exit 1); exit 1; }; }
1026 eval $ac_envvar=\$ac_optarg
1027 export $ac_envvar ;;
1030 # FIXME: should be removed in autoconf 3.0.
1031 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1032 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1033 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1034 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1037 esac
1038 done
1040 if test -n "$ac_prev"; then
1041 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1042 { echo "$as_me: error: missing argument to $ac_option" >&2
1043 { (exit 1); exit 1; }; }
1046 # Be sure to have absolute directory names.
1047 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1048 datadir sysconfdir sharedstatedir localstatedir includedir \
1049 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1050 libdir localedir mandir
1052 eval ac_val=\$$ac_var
1053 case $ac_val in
1054 [\\/$]* | ?:[\\/]* ) continue;;
1055 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1056 esac
1057 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1058 { (exit 1); exit 1; }; }
1059 done
1061 # There might be people who depend on the old broken behavior: `$host'
1062 # used to hold the argument of --host etc.
1063 # FIXME: To remove some day.
1064 build=$build_alias
1065 host=$host_alias
1066 target=$target_alias
1068 # FIXME: To remove some day.
1069 if test "x$host_alias" != x; then
1070 if test "x$build_alias" = x; then
1071 cross_compiling=maybe
1072 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1073 If a cross compiler is detected then cross compile mode will be used." >&2
1074 elif test "x$build_alias" != "x$host_alias"; then
1075 cross_compiling=yes
1079 ac_tool_prefix=
1080 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1082 test "$silent" = yes && exec 6>/dev/null
1085 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1086 ac_ls_di=`ls -di .` &&
1087 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1088 { echo "$as_me: error: Working directory cannot be determined" >&2
1089 { (exit 1); exit 1; }; }
1090 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1091 { echo "$as_me: error: pwd does not report name of working directory" >&2
1092 { (exit 1); exit 1; }; }
1095 # Find the source files, if location was not specified.
1096 if test -z "$srcdir"; then
1097 ac_srcdir_defaulted=yes
1098 # Try the directory containing this script, then the parent directory.
1099 ac_confdir=`$as_dirname -- "$0" ||
1100 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1101 X"$0" : 'X\(//\)[^/]' \| \
1102 X"$0" : 'X\(//\)$' \| \
1103 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1104 echo X"$0" |
1105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1106 s//\1/
1109 /^X\(\/\/\)[^/].*/{
1110 s//\1/
1113 /^X\(\/\/\)$/{
1114 s//\1/
1117 /^X\(\/\).*/{
1118 s//\1/
1121 s/.*/./; q'`
1122 srcdir=$ac_confdir
1123 if test ! -r "$srcdir/$ac_unique_file"; then
1124 srcdir=..
1126 else
1127 ac_srcdir_defaulted=no
1129 if test ! -r "$srcdir/$ac_unique_file"; then
1130 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1131 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1132 { (exit 1); exit 1; }; }
1134 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1135 ac_abs_confdir=`(
1136 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1137 { (exit 1); exit 1; }; }
1138 pwd)`
1139 # When building in place, set srcdir=.
1140 if test "$ac_abs_confdir" = "$ac_pwd"; then
1141 srcdir=.
1143 # Remove unnecessary trailing slashes from srcdir.
1144 # Double slashes in file names in object file debugging info
1145 # mess up M-x gdb in Emacs.
1146 case $srcdir in
1147 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1148 esac
1149 for ac_var in $ac_precious_vars; do
1150 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1151 eval ac_env_${ac_var}_value=\$${ac_var}
1152 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1153 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1154 done
1157 # Report the --help message.
1159 if test "$ac_init_help" = "long"; then
1160 # Omit some internal or obsolete options to make the list less imposing.
1161 # This message is too long to be a string in the A/UX 3.1 sh.
1162 cat <<_ACEOF
1163 \`configure' configures GNU Automake 1.10a to adapt to many kinds of systems.
1165 Usage: $0 [OPTION]... [VAR=VALUE]...
1167 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1168 VAR=VALUE. See below for descriptions of some of the useful variables.
1170 Defaults for the options are specified in brackets.
1172 Configuration:
1173 -h, --help display this help and exit
1174 --help=short display options specific to this package
1175 --help=recursive display the short help of all the included packages
1176 -V, --version display version information and exit
1177 -q, --quiet, --silent do not print \`checking...' messages
1178 --cache-file=FILE cache test results in FILE [disabled]
1179 -C, --config-cache alias for \`--cache-file=config.cache'
1180 -n, --no-create do not create output files
1181 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1183 Installation directories:
1184 --prefix=PREFIX install architecture-independent files in PREFIX
1185 [$ac_default_prefix]
1186 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1187 [PREFIX]
1189 By default, \`make install' will install all the files in
1190 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1191 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1192 for instance \`--prefix=\$HOME'.
1194 For better control, use the options below.
1196 Fine tuning of the installation directories:
1197 --bindir=DIR user executables [EPREFIX/bin]
1198 --sbindir=DIR system admin executables [EPREFIX/sbin]
1199 --libexecdir=DIR program executables [EPREFIX/libexec]
1200 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1201 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1202 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1203 --libdir=DIR object code libraries [EPREFIX/lib]
1204 --includedir=DIR C header files [PREFIX/include]
1205 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1206 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1207 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1208 --infodir=DIR info documentation [DATAROOTDIR/info]
1209 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1210 --mandir=DIR man documentation [DATAROOTDIR/man]
1211 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1212 --htmldir=DIR html documentation [DOCDIR]
1213 --dvidir=DIR dvi documentation [DOCDIR]
1214 --pdfdir=DIR pdf documentation [DOCDIR]
1215 --psdir=DIR ps documentation [DOCDIR]
1216 _ACEOF
1218 cat <<\_ACEOF
1220 Program names:
1221 --program-prefix=PREFIX prepend PREFIX to installed program names
1222 --program-suffix=SUFFIX append SUFFIX to installed program names
1223 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1225 System types:
1226 --build=BUILD configure for building on BUILD [guessed]
1227 _ACEOF
1230 if test -n "$ac_init_help"; then
1231 case $ac_init_help in
1232 short | recursive ) echo "Configuration of GNU Automake 1.10a:";;
1233 esac
1234 cat <<\_ACEOF
1236 Report bugs to <bug-automake@gnu.org>.
1237 _ACEOF
1238 ac_status=$?
1241 if test "$ac_init_help" = "recursive"; then
1242 # If there are subdirs, report their specific --help.
1243 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1244 test -d "$ac_dir" || continue
1245 ac_builddir=.
1247 case "$ac_dir" in
1248 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1250 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1251 # A ".." for each directory in $ac_dir_suffix.
1252 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1253 case $ac_top_builddir_sub in
1254 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1255 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1256 esac ;;
1257 esac
1258 ac_abs_top_builddir=$ac_pwd
1259 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1260 # for backward compatibility:
1261 ac_top_builddir=$ac_top_build_prefix
1263 case $srcdir in
1264 .) # We are building in place.
1265 ac_srcdir=.
1266 ac_top_srcdir=$ac_top_builddir_sub
1267 ac_abs_top_srcdir=$ac_pwd ;;
1268 [\\/]* | ?:[\\/]* ) # Absolute name.
1269 ac_srcdir=$srcdir$ac_dir_suffix;
1270 ac_top_srcdir=$srcdir
1271 ac_abs_top_srcdir=$srcdir ;;
1272 *) # Relative name.
1273 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1274 ac_top_srcdir=$ac_top_build_prefix$srcdir
1275 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1276 esac
1277 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1279 cd "$ac_dir" || { ac_status=$?; continue; }
1280 # Check for guested configure.
1281 if test -f "$ac_srcdir/configure.gnu"; then
1282 echo &&
1283 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1284 elif test -f "$ac_srcdir/configure"; then
1285 echo &&
1286 $SHELL "$ac_srcdir/configure" --help=recursive
1287 else
1288 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1289 fi || ac_status=$?
1290 cd "$ac_pwd" || { ac_status=$?; break; }
1291 done
1294 test -n "$ac_init_help" && exit $ac_status
1295 if $ac_init_version; then
1296 cat <<\_ACEOF
1297 GNU Automake configure 1.10a
1298 generated by GNU Autoconf 2.61
1300 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1301 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1302 This configure script is free software; the Free Software Foundation
1303 gives unlimited permission to copy, distribute and modify it.
1304 _ACEOF
1305 exit
1307 cat >config.log <<_ACEOF
1308 This file contains any messages produced by compilers while
1309 running configure, to aid debugging if configure makes a mistake.
1311 It was created by GNU Automake $as_me 1.10a, which was
1312 generated by GNU Autoconf 2.61. Invocation command line was
1314 $ $0 $@
1316 _ACEOF
1317 exec 5>>config.log
1319 cat <<_ASUNAME
1320 ## --------- ##
1321 ## Platform. ##
1322 ## --------- ##
1324 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1325 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1326 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1327 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1328 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1330 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1331 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1333 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1334 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1335 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1336 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1337 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1338 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1339 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1341 _ASUNAME
1343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1344 for as_dir in $PATH
1346 IFS=$as_save_IFS
1347 test -z "$as_dir" && as_dir=.
1348 echo "PATH: $as_dir"
1349 done
1350 IFS=$as_save_IFS
1352 } >&5
1354 cat >&5 <<_ACEOF
1357 ## ----------- ##
1358 ## Core tests. ##
1359 ## ----------- ##
1361 _ACEOF
1364 # Keep a trace of the command line.
1365 # Strip out --no-create and --no-recursion so they do not pile up.
1366 # Strip out --silent because we don't want to record it for future runs.
1367 # Also quote any args containing shell meta-characters.
1368 # Make two passes to allow for proper duplicate-argument suppression.
1369 ac_configure_args=
1370 ac_configure_args0=
1371 ac_configure_args1=
1372 ac_must_keep_next=false
1373 for ac_pass in 1 2
1375 for ac_arg
1377 case $ac_arg in
1378 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1380 | -silent | --silent | --silen | --sile | --sil)
1381 continue ;;
1382 *\'*)
1383 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1384 esac
1385 case $ac_pass in
1386 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1388 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1389 if test $ac_must_keep_next = true; then
1390 ac_must_keep_next=false # Got value, back to normal.
1391 else
1392 case $ac_arg in
1393 *=* | --config-cache | -C | -disable-* | --disable-* \
1394 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1395 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1396 | -with-* | --with-* | -without-* | --without-* | --x)
1397 case "$ac_configure_args0 " in
1398 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1399 esac
1401 -* ) ac_must_keep_next=true ;;
1402 esac
1404 ac_configure_args="$ac_configure_args '$ac_arg'"
1406 esac
1407 done
1408 done
1409 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1410 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1412 # When interrupted or exit'd, cleanup temporary files, and complete
1413 # config.log. We remove comments because anyway the quotes in there
1414 # would cause problems or look ugly.
1415 # WARNING: Use '\'' to represent an apostrophe within the trap.
1416 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1417 trap 'exit_status=$?
1418 # Save into config.log some information that might help in debugging.
1420 echo
1422 cat <<\_ASBOX
1423 ## ---------------- ##
1424 ## Cache variables. ##
1425 ## ---------------- ##
1426 _ASBOX
1427 echo
1428 # The following way of writing the cache mishandles newlines in values,
1430 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1431 eval ac_val=\$$ac_var
1432 case $ac_val in #(
1433 *${as_nl}*)
1434 case $ac_var in #(
1435 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1436 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1437 esac
1438 case $ac_var in #(
1439 _ | IFS | as_nl) ;; #(
1440 *) $as_unset $ac_var ;;
1441 esac ;;
1442 esac
1443 done
1444 (set) 2>&1 |
1445 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1446 *${as_nl}ac_space=\ *)
1447 sed -n \
1448 "s/'\''/'\''\\\\'\'''\''/g;
1449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1450 ;; #(
1452 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1454 esac |
1455 sort
1457 echo
1459 cat <<\_ASBOX
1460 ## ----------------- ##
1461 ## Output variables. ##
1462 ## ----------------- ##
1463 _ASBOX
1464 echo
1465 for ac_var in $ac_subst_vars
1467 eval ac_val=\$$ac_var
1468 case $ac_val in
1469 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1470 esac
1471 echo "$ac_var='\''$ac_val'\''"
1472 done | sort
1473 echo
1475 if test -n "$ac_subst_files"; then
1476 cat <<\_ASBOX
1477 ## ------------------- ##
1478 ## File substitutions. ##
1479 ## ------------------- ##
1480 _ASBOX
1481 echo
1482 for ac_var in $ac_subst_files
1484 eval ac_val=\$$ac_var
1485 case $ac_val in
1486 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1487 esac
1488 echo "$ac_var='\''$ac_val'\''"
1489 done | sort
1490 echo
1493 if test -s confdefs.h; then
1494 cat <<\_ASBOX
1495 ## ----------- ##
1496 ## confdefs.h. ##
1497 ## ----------- ##
1498 _ASBOX
1499 echo
1500 cat confdefs.h
1501 echo
1503 test "$ac_signal" != 0 &&
1504 echo "$as_me: caught signal $ac_signal"
1505 echo "$as_me: exit $exit_status"
1506 } >&5
1507 rm -f core *.core core.conftest.* &&
1508 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1509 exit $exit_status
1511 for ac_signal in 1 2 13 15; do
1512 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1513 done
1514 ac_signal=0
1516 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1517 rm -f -r conftest* confdefs.h
1519 # Predefined preprocessor variables.
1521 cat >>confdefs.h <<_ACEOF
1522 #define PACKAGE_NAME "$PACKAGE_NAME"
1523 _ACEOF
1526 cat >>confdefs.h <<_ACEOF
1527 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1528 _ACEOF
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1533 _ACEOF
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_STRING "$PACKAGE_STRING"
1538 _ACEOF
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1543 _ACEOF
1546 # Let the site file select an alternate cache file if it wants to.
1547 # Prefer explicitly selected file to automatically selected ones.
1548 if test -n "$CONFIG_SITE"; then
1549 set x "$CONFIG_SITE"
1550 elif test "x$prefix" != xNONE; then
1551 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1552 else
1553 set x "$ac_default_prefix/share/config.site" \
1554 "$ac_default_prefix/etc/config.site"
1556 shift
1557 for ac_site_file
1559 if test -r "$ac_site_file"; then
1560 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1561 echo "$as_me: loading site script $ac_site_file" >&6;}
1562 sed 's/^/| /' "$ac_site_file" >&5
1563 . "$ac_site_file"
1565 done
1567 if test -r "$cache_file"; then
1568 # Some versions of bash will fail to source /dev/null (special
1569 # files actually), so we avoid doing that.
1570 if test -f "$cache_file"; then
1571 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1572 echo "$as_me: loading cache $cache_file" >&6;}
1573 case $cache_file in
1574 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1575 *) . "./$cache_file";;
1576 esac
1578 else
1579 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1580 echo "$as_me: creating cache $cache_file" >&6;}
1581 >$cache_file
1584 # Check that the precious variables saved in the cache have kept the same
1585 # value.
1586 ac_cache_corrupted=false
1587 for ac_var in $ac_precious_vars; do
1588 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1589 eval ac_new_set=\$ac_env_${ac_var}_set
1590 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1591 eval ac_new_val=\$ac_env_${ac_var}_value
1592 case $ac_old_set,$ac_new_set in
1593 set,)
1594 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1595 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1596 ac_cache_corrupted=: ;;
1597 ,set)
1598 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1599 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1600 ac_cache_corrupted=: ;;
1601 ,);;
1603 if test "x$ac_old_val" != "x$ac_new_val"; then
1604 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1605 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1606 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1607 echo "$as_me: former value: $ac_old_val" >&2;}
1608 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1609 echo "$as_me: current value: $ac_new_val" >&2;}
1610 ac_cache_corrupted=:
1611 fi;;
1612 esac
1613 # Pass precious variables to config.status.
1614 if test "$ac_new_set" = set; then
1615 case $ac_new_val in
1616 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1617 *) ac_arg=$ac_var=$ac_new_val ;;
1618 esac
1619 case " $ac_configure_args " in
1620 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1621 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1622 esac
1624 done
1625 if $ac_cache_corrupted; then
1626 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1627 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1628 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1629 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1630 { (exit 1); exit 1; }; }
1657 ac_ext=c
1658 ac_cpp='$CPP $CPPFLAGS'
1659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1666 ac_aux_dir=
1667 for ac_dir in lib "$srcdir"/lib; do
1668 if test -f "$ac_dir/install-sh"; then
1669 ac_aux_dir=$ac_dir
1670 ac_install_sh="$ac_aux_dir/install-sh -c"
1671 break
1672 elif test -f "$ac_dir/install.sh"; then
1673 ac_aux_dir=$ac_dir
1674 ac_install_sh="$ac_aux_dir/install.sh -c"
1675 break
1676 elif test -f "$ac_dir/shtool"; then
1677 ac_aux_dir=$ac_dir
1678 ac_install_sh="$ac_aux_dir/shtool install -c"
1679 break
1681 done
1682 if test -z "$ac_aux_dir"; then
1683 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&5
1684 echo "$as_me: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&2;}
1685 { (exit 1); exit 1; }; }
1688 # These three variables are undocumented and unsupported,
1689 # and are intended to be withdrawn in a future Autoconf release.
1690 # They can cause serious problems if a builder's source tree is in a directory
1691 # whose full name contains unusual characters.
1692 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1693 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1694 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1698 # Make sure we can run config.sub.
1699 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1700 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1701 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1702 { (exit 1); exit 1; }; }
1704 { echo "$as_me:$LINENO: checking build system type" >&5
1705 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1706 if test "${ac_cv_build+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 else
1709 ac_build_alias=$build_alias
1710 test "x$ac_build_alias" = x &&
1711 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1712 test "x$ac_build_alias" = x &&
1713 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1714 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1715 { (exit 1); exit 1; }; }
1716 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1717 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1718 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1719 { (exit 1); exit 1; }; }
1722 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1723 echo "${ECHO_T}$ac_cv_build" >&6; }
1724 case $ac_cv_build in
1725 *-*-*) ;;
1726 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1727 echo "$as_me: error: invalid value of canonical build" >&2;}
1728 { (exit 1); exit 1; }; };;
1729 esac
1730 build=$ac_cv_build
1731 ac_save_IFS=$IFS; IFS='-'
1732 set x $ac_cv_build
1733 shift
1734 build_cpu=$1
1735 build_vendor=$2
1736 shift; shift
1737 # Remember, the first character of IFS is used to create $*,
1738 # except with old shells:
1739 build_os=$*
1740 IFS=$ac_save_IFS
1741 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1745 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1746 # way we can run Autoconf tests from configure (or from the test
1747 # suite) without being bothered by `missing'.
1748 am_AUTOCONF="${AUTOCONF-autoconf}"
1751 am__api_version='1.10a'
1753 # Find a good install program. We prefer a C program (faster),
1754 # so one script is as good as another. But avoid the broken or
1755 # incompatible versions:
1756 # SysV /etc/install, /usr/sbin/install
1757 # SunOS /usr/etc/install
1758 # IRIX /sbin/install
1759 # AIX /bin/install
1760 # AmigaOS /C/install, which installs bootblocks on floppy discs
1761 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1762 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1763 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1764 # OS/2's system install, which has a completely different semantic
1765 # ./install, which can be erroneously created by make from ./install.sh.
1766 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1767 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1768 if test -z "$INSTALL"; then
1769 if test "${ac_cv_path_install+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 else
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1773 for as_dir in $PATH
1775 IFS=$as_save_IFS
1776 test -z "$as_dir" && as_dir=.
1777 # Account for people who put trailing slashes in PATH elements.
1778 case $as_dir/ in
1779 ./ | .// | /cC/* | \
1780 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1781 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1782 /usr/ucb/* ) ;;
1784 # OSF1 and SCO ODT 3.0 have their own names for install.
1785 # Don't use installbsd from OSF since it installs stuff as root
1786 # by default.
1787 for ac_prog in ginstall scoinst install; do
1788 for ac_exec_ext in '' $ac_executable_extensions; do
1789 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1790 if test $ac_prog = install &&
1791 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1792 # AIX install. It has an incompatible calling convention.
1794 elif test $ac_prog = install &&
1795 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1796 # program-specific install script used by HP pwplus--don't use.
1798 else
1799 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1800 break 3
1803 done
1804 done
1806 esac
1807 done
1808 IFS=$as_save_IFS
1812 if test "${ac_cv_path_install+set}" = set; then
1813 INSTALL=$ac_cv_path_install
1814 else
1815 # As a last resort, use the slow shell script. Don't cache a
1816 # value for INSTALL within a source directory, because that will
1817 # break other packages using the cache if that directory is
1818 # removed, or if the value is a relative name.
1819 INSTALL=$ac_install_sh
1822 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1823 echo "${ECHO_T}$INSTALL" >&6; }
1825 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1826 # It thinks the first close brace ends the variable substitution.
1827 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1829 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1831 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1833 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1834 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1835 # Just in case
1836 sleep 1
1837 echo timestamp > conftest.file
1838 # Do `set' in a subshell so we don't clobber the current shell's
1839 # arguments. Must try -L first in case configure is actually a
1840 # symlink; some systems play weird games with the mod time of symlinks
1841 # (eg FreeBSD returns the mod time of the symlink's containing
1842 # directory).
1843 if (
1844 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1845 if test "$*" = "X"; then
1846 # -L didn't work.
1847 set X `ls -t $srcdir/configure conftest.file`
1849 rm -f conftest.file
1850 if test "$*" != "X $srcdir/configure conftest.file" \
1851 && test "$*" != "X conftest.file $srcdir/configure"; then
1853 # If neither matched, then we have a broken ls. This can happen
1854 # if, for instance, CONFIG_SHELL is bash and it inherits a
1855 # broken ls alias from the environment. This has actually
1856 # happened. Such a system could not be considered "sane".
1857 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1858 alias in your environment" >&5
1859 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1860 alias in your environment" >&2;}
1861 { (exit 1); exit 1; }; }
1864 test "$2" = conftest.file
1866 then
1867 # Ok.
1869 else
1870 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1871 Check your system clock" >&5
1872 echo "$as_me: error: newly created file is older than distributed files!
1873 Check your system clock" >&2;}
1874 { (exit 1); exit 1; }; }
1876 { echo "$as_me:$LINENO: result: yes" >&5
1877 echo "${ECHO_T}yes" >&6; }
1878 test "$program_prefix" != NONE &&
1879 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1880 # Use a double $ so make ignores it.
1881 test "$program_suffix" != NONE &&
1882 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1883 # Double any \ or $. echo might interpret backslashes.
1884 # By default was `s,x,x', remove it if useless.
1885 cat <<\_ACEOF >conftest.sed
1886 s/[\\$]/&&/g;s/;s,x,x,$//
1887 _ACEOF
1888 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1889 rm -f conftest.sed
1891 # expand $ac_aux_dir to an absolute path
1892 am_aux_dir=`cd $ac_aux_dir && pwd`
1894 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1895 # Use eval to expand $SHELL
1896 if eval "$MISSING --run true"; then
1897 am_missing_run="$MISSING --run "
1898 else
1899 am_missing_run=
1900 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1901 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1904 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1905 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1906 if test -z "$MKDIR_P"; then
1907 if test "${ac_cv_path_mkdir+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1909 else
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1913 IFS=$as_save_IFS
1914 test -z "$as_dir" && as_dir=.
1915 for ac_prog in mkdir gmkdir; do
1916 for ac_exec_ext in '' $ac_executable_extensions; do
1917 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1918 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1919 'mkdir (GNU coreutils) '* | \
1920 'mkdir (coreutils) '* | \
1921 'mkdir (fileutils) '4.1*)
1922 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1923 break 3;;
1924 esac
1925 done
1926 done
1927 done
1928 IFS=$as_save_IFS
1932 if test "${ac_cv_path_mkdir+set}" = set; then
1933 MKDIR_P="$ac_cv_path_mkdir -p"
1934 else
1935 # As a last resort, use the slow shell script. Don't cache a
1936 # value for MKDIR_P within a source directory, because that will
1937 # break other packages using the cache if that directory is
1938 # removed, or if the value is a relative name.
1939 test -d ./--version && rmdir ./--version
1940 MKDIR_P="$ac_install_sh -d"
1943 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1944 echo "${ECHO_T}$MKDIR_P" >&6; }
1946 mkdir_p="$MKDIR_P"
1947 case $mkdir_p in
1948 [\\/$]* | ?:[\\/]*) ;;
1949 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1950 esac
1952 for ac_prog in gawk mawk nawk awk
1954 # Extract the first word of "$ac_prog", so it can be a program name with args.
1955 set dummy $ac_prog; ac_word=$2
1956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1958 if test "${ac_cv_prog_AWK+set}" = set; then
1959 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 else
1961 if test -n "$AWK"; then
1962 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1963 else
1964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1965 for as_dir in $PATH
1967 IFS=$as_save_IFS
1968 test -z "$as_dir" && as_dir=.
1969 for ac_exec_ext in '' $ac_executable_extensions; do
1970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1971 ac_cv_prog_AWK="$ac_prog"
1972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973 break 2
1975 done
1976 done
1977 IFS=$as_save_IFS
1981 AWK=$ac_cv_prog_AWK
1982 if test -n "$AWK"; then
1983 { echo "$as_me:$LINENO: result: $AWK" >&5
1984 echo "${ECHO_T}$AWK" >&6; }
1985 else
1986 { echo "$as_me:$LINENO: result: no" >&5
1987 echo "${ECHO_T}no" >&6; }
1991 test -n "$AWK" && break
1992 done
1994 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1995 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1996 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1997 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 else
2000 cat >conftest.make <<\_ACEOF
2001 SHELL = /bin/sh
2002 all:
2003 @echo '@@@%%%=$(MAKE)=@@@%%%'
2004 _ACEOF
2005 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2006 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2007 *@@@%%%=?*=@@@%%%*)
2008 eval ac_cv_prog_make_${ac_make}_set=yes;;
2010 eval ac_cv_prog_make_${ac_make}_set=no;;
2011 esac
2012 rm -f conftest.make
2014 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2015 { echo "$as_me:$LINENO: result: yes" >&5
2016 echo "${ECHO_T}yes" >&6; }
2017 SET_MAKE=
2018 else
2019 { echo "$as_me:$LINENO: result: no" >&5
2020 echo "${ECHO_T}no" >&6; }
2021 SET_MAKE="MAKE=${MAKE-make}"
2024 rm -rf .tst 2>/dev/null
2025 mkdir .tst 2>/dev/null
2026 if test -d .tst; then
2027 am__leading_dot=.
2028 else
2029 am__leading_dot=_
2031 rmdir .tst 2>/dev/null
2033 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2034 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2035 # is not polluted with repeated "-I."
2036 am__isrc=' -I$(srcdir)'
2037 # test to see if srcdir already configured
2038 if test -f $srcdir/config.status; then
2039 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2040 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2041 { (exit 1); exit 1; }; }
2045 # test whether we have cygpath
2046 if test -z "$CYGPATH_W"; then
2047 if (cygpath --version) >/dev/null 2>/dev/null; then
2048 CYGPATH_W='cygpath -w'
2049 else
2050 CYGPATH_W=echo
2055 # Define the identity of the package.
2056 PACKAGE='automake'
2057 VERSION='1.10a'
2060 cat >>confdefs.h <<_ACEOF
2061 #define PACKAGE "$PACKAGE"
2062 _ACEOF
2065 cat >>confdefs.h <<_ACEOF
2066 #define VERSION "$VERSION"
2067 _ACEOF
2069 # Some tools Automake needs.
2071 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2074 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2077 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2080 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2083 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2085 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2087 # Installed binaries are usually stripped using `strip' when the user
2088 # run `make install-strip'. However `strip' might not be the right
2089 # tool to use in cross-compilation environments, therefore Automake
2090 # will honor the `STRIP' environment variable to overrule this program.
2091 if test "$cross_compiling" != no; then
2092 if test -n "$ac_tool_prefix"; then
2093 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2094 set dummy ${ac_tool_prefix}strip; ac_word=$2
2095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2097 if test "${ac_cv_prog_STRIP+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 else
2100 if test -n "$STRIP"; then
2101 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2102 else
2103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104 for as_dir in $PATH
2106 IFS=$as_save_IFS
2107 test -z "$as_dir" && as_dir=.
2108 for ac_exec_ext in '' $ac_executable_extensions; do
2109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2110 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 break 2
2114 done
2115 done
2116 IFS=$as_save_IFS
2120 STRIP=$ac_cv_prog_STRIP
2121 if test -n "$STRIP"; then
2122 { echo "$as_me:$LINENO: result: $STRIP" >&5
2123 echo "${ECHO_T}$STRIP" >&6; }
2124 else
2125 { echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6; }
2131 if test -z "$ac_cv_prog_STRIP"; then
2132 ac_ct_STRIP=$STRIP
2133 # Extract the first word of "strip", so it can be a program name with args.
2134 set dummy strip; ac_word=$2
2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2137 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 else
2140 if test -n "$ac_ct_STRIP"; then
2141 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2142 else
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2146 IFS=$as_save_IFS
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150 ac_cv_prog_ac_ct_STRIP="strip"
2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 break 2
2154 done
2155 done
2156 IFS=$as_save_IFS
2160 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2161 if test -n "$ac_ct_STRIP"; then
2162 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2163 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2164 else
2165 { echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6; }
2169 if test "x$ac_ct_STRIP" = x; then
2170 STRIP=":"
2171 else
2172 case $cross_compiling:$ac_tool_warned in
2173 yes:)
2174 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2175 whose name does not start with the host triplet. If you think this
2176 configuration is useful to you, please write to autoconf@gnu.org." >&5
2177 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2178 whose name does not start with the host triplet. If you think this
2179 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2180 ac_tool_warned=yes ;;
2181 esac
2182 STRIP=$ac_ct_STRIP
2184 else
2185 STRIP="$ac_cv_prog_STRIP"
2189 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2191 # We need awk for the "check" target. The system "awk" is bad on
2192 # some platforms.
2193 # Always define AMTAR for backward compatibility.
2195 AMTAR=${AMTAR-"${am_missing_run}tar"}
2197 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2204 # The API version is the base version. We must guarantee
2205 # compatibility for all releases with the same API version.
2206 # Our current rule is that:
2207 # * All releases, including the prereleases, in an X.Y series
2208 # are compatible. So 1.5.1c is compatible with 1.5.
2209 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2210 # aren't the same.
2211 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2214 # A versioned directory, defined here for convenience.
2215 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2218 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2219 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2220 ACLOCAL="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/aclocal\" --acdir=m4 -I m4"
2221 AUTOMAKE="perllibdir=\"`pwd`/lib$PATH_SEPARATOR./lib\" \"`pwd`/automake\" --libdir=lib"
2223 # Extract the first word of "perl", so it can be a program name with args.
2224 set dummy perl; ac_word=$2
2225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2227 if test "${ac_cv_path_PERL+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2229 else
2230 case $PERL in
2231 [\\/]* | ?:[\\/]*)
2232 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 for as_dir in $PATH
2238 IFS=$as_save_IFS
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 break 2
2246 done
2247 done
2248 IFS=$as_save_IFS
2251 esac
2253 PERL=$ac_cv_path_PERL
2254 if test -n "$PERL"; then
2255 { echo "$as_me:$LINENO: result: $PERL" >&5
2256 echo "${ECHO_T}$PERL" >&6; }
2257 else
2258 { echo "$as_me:$LINENO: result: no" >&5
2259 echo "${ECHO_T}no" >&6; }
2263 if test -z "$PERL"; then
2264 { { echo "$as_me:$LINENO: error: perl not found" >&5
2265 echo "$as_me: error: perl not found" >&2;}
2266 { (exit 1); exit 1; }; }
2268 $PERL -e 'require 5.006;' || {
2269 { { echo "$as_me:$LINENO: error: perl 5.6 or better is required; perl 5.8.2 or better
2270 is recommended. If you have several perl versions
2271 installed, select the one Automake should use using
2272 ./configure PERL=/path/to/perl" >&5
2273 echo "$as_me: error: perl 5.6 or better is required; perl 5.8.2 or better
2274 is recommended. If you have several perl versions
2275 installed, select the one Automake should use using
2276 ./configure PERL=/path/to/perl" >&2;}
2277 { (exit 1); exit 1; }; }
2280 # The test suite will skip some tests if tex is absent.
2281 # Extract the first word of "tex", so it can be a program name with args.
2282 set dummy tex; ac_word=$2
2283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2285 if test "${ac_cv_prog_TEX+set}" = set; then
2286 echo $ECHO_N "(cached) $ECHO_C" >&6
2287 else
2288 if test -n "$TEX"; then
2289 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2290 else
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292 for as_dir in $PATH
2294 IFS=$as_save_IFS
2295 test -z "$as_dir" && as_dir=.
2296 for ac_exec_ext in '' $ac_executable_extensions; do
2297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2298 ac_cv_prog_TEX="tex"
2299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2300 break 2
2302 done
2303 done
2304 IFS=$as_save_IFS
2308 TEX=$ac_cv_prog_TEX
2309 if test -n "$TEX"; then
2310 { echo "$as_me:$LINENO: result: $TEX" >&5
2311 echo "${ECHO_T}$TEX" >&6; }
2312 else
2313 { echo "$as_me:$LINENO: result: no" >&5
2314 echo "${ECHO_T}no" >&6; }
2319 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2320 # deletion of any files created (such as those added to
2321 # autom4te.cache). We used to perform only the last of the three
2322 # following tests, but some users were unable to figure out that their
2323 # installation was broken since --version appeared to work.
2325 { echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2326 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6; }
2327 if test "${am_cv_autoconf_installed+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 else
2330 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2331 (eval $am_AUTOCONF --version) >&5 2>&5
2332 ac_status=$?
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); };
2335 then
2336 am_cv_autoconf_installed=yes
2337 else
2338 am_cv_autoconf_installed=no
2341 { echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2342 echo "${ECHO_T}$am_cv_autoconf_installed" >&6; }
2343 if test "$am_cv_autoconf_installed" = no; then
2344 { { echo "$as_me:$LINENO: error: Autoconf 2.60 or better is required.
2345 Please make sure it is installed and in your PATH." >&5
2346 echo "$as_me: error: Autoconf 2.60 or better is required.
2347 Please make sure it is installed and in your PATH." >&2;}
2348 { (exit 1); exit 1; }; }
2351 { echo "$as_me:$LINENO: checking whether autoconf works" >&5
2352 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6; }
2353 if test "${am_cv_autoconf_works+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 else
2356 mkdir conftest
2357 echo 'AC''_INIT' > conftest/conftest.ac
2358 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2359 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); };
2363 then
2364 am_cv_autoconf_works=yes
2365 else
2366 am_cv_autoconf_works=no
2368 rm -rf conftest
2370 { echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2371 echo "${ECHO_T}$am_cv_autoconf_works" >&6; }
2372 if test "$am_cv_autoconf_works" = no; then
2373 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2374 Please check config.log for error messages before this one." >&5
2375 echo "$as_me: error: The installed version of autoconf does not work.
2376 Please check config.log for error messages before this one." >&2;}
2377 { (exit 1); exit 1; }; }
2380 { echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2381 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6; }
2382 if test "${am_cv_autoconf_version+set}" = set; then
2383 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 else
2385 mkdir conftest
2386 echo 'AC''_PREREQ(2.60)' > conftest/conftest.ac
2387 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2388 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2389 ac_status=$?
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); };
2392 then
2393 am_cv_autoconf_version=yes
2394 else
2395 am_cv_autoconf_version=no
2397 rm -rf conftest
2399 { echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2400 echo "${ECHO_T}$am_cv_autoconf_version" >&6; }
2401 if test "$am_cv_autoconf_version" = no; then
2402 { { echo "$as_me:$LINENO: error: Autoconf 2.60 or better is required." >&5
2403 echo "$as_me: error: Autoconf 2.60 or better is required." >&2;}
2404 { (exit 1); exit 1; }; }
2407 # Test for ln. We need use it to install the versioned binaries.
2408 { echo "$as_me:$LINENO: checking whether ln works" >&5
2409 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
2410 if test "${am_cv_prog_ln+set}" = set; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 else
2414 rm -f conftest conftest.file
2415 : >conftest.file
2416 if ln conftest.file conftest 2>/dev/null; then
2417 am_cv_prog_ln=ln
2418 else
2419 am_cv_prog_ln='cp -p'
2421 rm -f conftest conftest.file
2424 LN=$am_cv_prog_ln
2426 result=no
2427 test "x$am_cv_prog_ln" = xln && result=yes
2428 { echo "$as_me:$LINENO: result: $result" >&5
2429 echo "${ECHO_T}$result" >&6; }
2431 # The amount we should wait after modifying files depends on the platform.
2432 # On Windows '95, '98 and ME, files modifications have 2-seconds
2433 # granularity and can be up to 3 seconds in the future w.r.t. the
2434 # system clock. When it is important to ensure one file is older
2435 # than another we wait at least 5 seconds between creations.
2436 case $build in
2437 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2438 *) MODIFICATION_DELAY=2;;
2439 esac
2442 # Test for things needed by the test suite.
2443 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2444 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2445 if test "${ac_cv_path_GREP+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2447 else
2448 # Extract the first word of "grep ggrep" to use in msg output
2449 if test -z "$GREP"; then
2450 set dummy grep ggrep; ac_prog_name=$2
2451 if test "${ac_cv_path_GREP+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2453 else
2454 ac_path_GREP_found=false
2455 # Loop through the user's path and test for each of PROGNAME-LIST
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2459 IFS=$as_save_IFS
2460 test -z "$as_dir" && as_dir=.
2461 for ac_prog in grep ggrep; do
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2464 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2465 # Check for GNU ac_path_GREP and select it if it is found.
2466 # Check for GNU $ac_path_GREP
2467 case `"$ac_path_GREP" --version 2>&1` in
2468 *GNU*)
2469 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2471 ac_count=0
2472 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2473 while :
2475 cat "conftest.in" "conftest.in" >"conftest.tmp"
2476 mv "conftest.tmp" "conftest.in"
2477 cp "conftest.in" "conftest.nl"
2478 echo 'GREP' >> "conftest.nl"
2479 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2480 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2481 ac_count=`expr $ac_count + 1`
2482 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2483 # Best one so far, save it but keep looking for a better one
2484 ac_cv_path_GREP="$ac_path_GREP"
2485 ac_path_GREP_max=$ac_count
2487 # 10*(2^10) chars as input seems more than enough
2488 test $ac_count -gt 10 && break
2489 done
2490 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2491 esac
2494 $ac_path_GREP_found && break 3
2495 done
2496 done
2498 done
2499 IFS=$as_save_IFS
2504 GREP="$ac_cv_path_GREP"
2505 if test -z "$GREP"; then
2506 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2507 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2508 { (exit 1); exit 1; }; }
2511 else
2512 ac_cv_path_GREP=$GREP
2517 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2518 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2519 GREP="$ac_cv_path_GREP"
2522 { echo "$as_me:$LINENO: checking for egrep" >&5
2523 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2524 if test "${ac_cv_path_EGREP+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 else
2527 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2528 then ac_cv_path_EGREP="$GREP -E"
2529 else
2530 # Extract the first word of "egrep" to use in msg output
2531 if test -z "$EGREP"; then
2532 set dummy egrep; ac_prog_name=$2
2533 if test "${ac_cv_path_EGREP+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 else
2536 ac_path_EGREP_found=false
2537 # Loop through the user's path and test for each of PROGNAME-LIST
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2541 IFS=$as_save_IFS
2542 test -z "$as_dir" && as_dir=.
2543 for ac_prog in egrep; do
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2546 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2547 # Check for GNU ac_path_EGREP and select it if it is found.
2548 # Check for GNU $ac_path_EGREP
2549 case `"$ac_path_EGREP" --version 2>&1` in
2550 *GNU*)
2551 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2553 ac_count=0
2554 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2555 while :
2557 cat "conftest.in" "conftest.in" >"conftest.tmp"
2558 mv "conftest.tmp" "conftest.in"
2559 cp "conftest.in" "conftest.nl"
2560 echo 'EGREP' >> "conftest.nl"
2561 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2562 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2563 ac_count=`expr $ac_count + 1`
2564 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2565 # Best one so far, save it but keep looking for a better one
2566 ac_cv_path_EGREP="$ac_path_EGREP"
2567 ac_path_EGREP_max=$ac_count
2569 # 10*(2^10) chars as input seems more than enough
2570 test $ac_count -gt 10 && break
2571 done
2572 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2573 esac
2576 $ac_path_EGREP_found && break 3
2577 done
2578 done
2580 done
2581 IFS=$as_save_IFS
2586 EGREP="$ac_cv_path_EGREP"
2587 if test -z "$EGREP"; then
2588 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2589 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2590 { (exit 1); exit 1; }; }
2593 else
2594 ac_cv_path_EGREP=$EGREP
2600 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2601 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2602 EGREP="$ac_cv_path_EGREP"
2605 { echo "$as_me:$LINENO: checking for fgrep" >&5
2606 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
2607 if test "${ac_cv_path_FGREP+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2609 else
2610 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2611 then ac_cv_path_FGREP="$GREP -F"
2612 else
2613 # Extract the first word of "fgrep" to use in msg output
2614 if test -z "$FGREP"; then
2615 set dummy fgrep; ac_prog_name=$2
2616 if test "${ac_cv_path_FGREP+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 else
2619 ac_path_FGREP_found=false
2620 # Loop through the user's path and test for each of PROGNAME-LIST
2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2624 IFS=$as_save_IFS
2625 test -z "$as_dir" && as_dir=.
2626 for ac_prog in fgrep; do
2627 for ac_exec_ext in '' $ac_executable_extensions; do
2628 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2629 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
2630 # Check for GNU ac_path_FGREP and select it if it is found.
2631 # Check for GNU $ac_path_FGREP
2632 case `"$ac_path_FGREP" --version 2>&1` in
2633 *GNU*)
2634 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2636 ac_count=0
2637 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2638 while :
2640 cat "conftest.in" "conftest.in" >"conftest.tmp"
2641 mv "conftest.tmp" "conftest.in"
2642 cp "conftest.in" "conftest.nl"
2643 echo 'FGREP' >> "conftest.nl"
2644 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2645 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2646 ac_count=`expr $ac_count + 1`
2647 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2648 # Best one so far, save it but keep looking for a better one
2649 ac_cv_path_FGREP="$ac_path_FGREP"
2650 ac_path_FGREP_max=$ac_count
2652 # 10*(2^10) chars as input seems more than enough
2653 test $ac_count -gt 10 && break
2654 done
2655 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2656 esac
2659 $ac_path_FGREP_found && break 3
2660 done
2661 done
2663 done
2664 IFS=$as_save_IFS
2669 FGREP="$ac_cv_path_FGREP"
2670 if test -z "$FGREP"; then
2671 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2672 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2673 { (exit 1); exit 1; }; }
2676 else
2677 ac_cv_path_FGREP=$FGREP
2683 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2684 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
2685 FGREP="$ac_cv_path_FGREP"
2689 ac_config_files="$ac_config_files Makefile doc/Makefile lib/Automake/Makefile lib/Automake/tests/Makefile lib/Makefile lib/am/Makefile m4/Makefile tests/Makefile tests/defs"
2691 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2693 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2696 cat >confcache <<\_ACEOF
2697 # This file is a shell script that caches the results of configure
2698 # tests run on this system so they can be shared between configure
2699 # scripts and configure runs, see configure's option --config-cache.
2700 # It is not useful on other systems. If it contains results you don't
2701 # want to keep, you may remove or edit it.
2703 # config.status only pays attention to the cache file if you give it
2704 # the --recheck option to rerun configure.
2706 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2707 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2708 # following values.
2710 _ACEOF
2712 # The following way of writing the cache mishandles newlines in values,
2713 # but we know of no workaround that is simple, portable, and efficient.
2714 # So, we kill variables containing newlines.
2715 # Ultrix sh set writes to stderr and can't be redirected directly,
2716 # and sets the high bit in the cache file unless we assign to the vars.
2718 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2719 eval ac_val=\$$ac_var
2720 case $ac_val in #(
2721 *${as_nl}*)
2722 case $ac_var in #(
2723 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2724 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2725 esac
2726 case $ac_var in #(
2727 _ | IFS | as_nl) ;; #(
2728 *) $as_unset $ac_var ;;
2729 esac ;;
2730 esac
2731 done
2733 (set) 2>&1 |
2734 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2735 *${as_nl}ac_space=\ *)
2736 # `set' does not quote correctly, so add quotes (double-quote
2737 # substitution turns \\\\ into \\, and sed turns \\ into \).
2738 sed -n \
2739 "s/'/'\\\\''/g;
2740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2741 ;; #(
2743 # `set' quotes correctly as required by POSIX, so do not add quotes.
2744 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2746 esac |
2747 sort
2749 sed '
2750 /^ac_cv_env_/b end
2751 t clear
2752 :clear
2753 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2754 t end
2755 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2756 :end' >>confcache
2757 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2758 if test -w "$cache_file"; then
2759 test "x$cache_file" != "x/dev/null" &&
2760 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2761 echo "$as_me: updating cache $cache_file" >&6;}
2762 cat confcache >$cache_file
2763 else
2764 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2765 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2768 rm -f confcache
2770 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2771 # Let make expand exec_prefix.
2772 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2774 # Transform confdefs.h into DEFS.
2775 # Protect against shell expansion while executing Makefile rules.
2776 # Protect against Makefile macro expansion.
2778 # If the first sed substitution is executed (which looks for macros that
2779 # take arguments), then branch to the quote section. Otherwise,
2780 # look for a macro that doesn't take arguments.
2781 ac_script='
2782 t clear
2783 :clear
2784 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2785 t quote
2786 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2787 t quote
2788 b any
2789 :quote
2790 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2791 s/\[/\\&/g
2792 s/\]/\\&/g
2793 s/\$/$$/g
2795 :any
2798 s/^\n//
2799 s/\n/ /g
2803 DEFS=`sed -n "$ac_script" confdefs.h`
2806 ac_libobjs=
2807 ac_ltlibobjs=
2808 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2809 # 1. Remove the extension, and $U if already installed.
2810 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2811 ac_i=`echo "$ac_i" | sed "$ac_script"`
2812 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2813 # will be set to the directory where LIBOBJS objects are built.
2814 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2815 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2816 done
2817 LIBOBJS=$ac_libobjs
2819 LTLIBOBJS=$ac_ltlibobjs
2823 : ${CONFIG_STATUS=./config.status}
2824 ac_clean_files_save=$ac_clean_files
2825 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2826 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2827 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2828 cat >$CONFIG_STATUS <<_ACEOF
2829 #! $SHELL
2830 # Generated by $as_me.
2831 # Run this file to recreate the current configuration.
2832 # Compiler output produced by configure, useful for debugging
2833 # configure, is in config.log if it exists.
2835 debug=false
2836 ac_cs_recheck=false
2837 ac_cs_silent=false
2838 SHELL=\${CONFIG_SHELL-$SHELL}
2839 _ACEOF
2841 cat >>$CONFIG_STATUS <<\_ACEOF
2842 ## --------------------- ##
2843 ## M4sh Initialization. ##
2844 ## --------------------- ##
2846 # Be more Bourne compatible
2847 DUALCASE=1; export DUALCASE # for MKS sh
2848 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2849 emulate sh
2850 NULLCMD=:
2851 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2852 # is contrary to our usage. Disable this feature.
2853 alias -g '${1+"$@"}'='"$@"'
2854 setopt NO_GLOB_SUBST
2855 else
2856 case `(set -o) 2>/dev/null` in
2857 *posix*) set -o posix ;;
2858 esac
2865 # PATH needs CR
2866 # Avoid depending upon Character Ranges.
2867 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2868 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2869 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2870 as_cr_digits='0123456789'
2871 as_cr_alnum=$as_cr_Letters$as_cr_digits
2873 # The user is always right.
2874 if test "${PATH_SEPARATOR+set}" != set; then
2875 echo "#! /bin/sh" >conf$$.sh
2876 echo "exit 0" >>conf$$.sh
2877 chmod +x conf$$.sh
2878 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2879 PATH_SEPARATOR=';'
2880 else
2881 PATH_SEPARATOR=:
2883 rm -f conf$$.sh
2886 # Support unset when possible.
2887 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2888 as_unset=unset
2889 else
2890 as_unset=false
2894 # IFS
2895 # We need space, tab and new line, in precisely that order. Quoting is
2896 # there to prevent editors from complaining about space-tab.
2897 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2898 # splitting by setting IFS to empty value.)
2899 as_nl='
2901 IFS=" "" $as_nl"
2903 # Find who we are. Look in the path if we contain no directory separator.
2904 case $0 in
2905 *[\\/]* ) as_myself=$0 ;;
2906 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 for as_dir in $PATH
2909 IFS=$as_save_IFS
2910 test -z "$as_dir" && as_dir=.
2911 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2912 done
2913 IFS=$as_save_IFS
2916 esac
2917 # We did not find ourselves, most probably we were run as `sh COMMAND'
2918 # in which case we are not to be found in the path.
2919 if test "x$as_myself" = x; then
2920 as_myself=$0
2922 if test ! -f "$as_myself"; then
2923 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2924 { (exit 1); exit 1; }
2927 # Work around bugs in pre-3.0 UWIN ksh.
2928 for as_var in ENV MAIL MAILPATH
2929 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2930 done
2931 PS1='$ '
2932 PS2='> '
2933 PS4='+ '
2935 # NLS nuisances.
2936 for as_var in \
2937 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2938 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2939 LC_TELEPHONE LC_TIME
2941 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2942 eval $as_var=C; export $as_var
2943 else
2944 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2946 done
2948 # Required to use basename.
2949 if expr a : '\(a\)' >/dev/null 2>&1 &&
2950 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2951 as_expr=expr
2952 else
2953 as_expr=false
2956 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2957 as_basename=basename
2958 else
2959 as_basename=false
2963 # Name of the executable.
2964 as_me=`$as_basename -- "$0" ||
2965 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2966 X"$0" : 'X\(//\)$' \| \
2967 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2968 echo X/"$0" |
2969 sed '/^.*\/\([^/][^/]*\)\/*$/{
2970 s//\1/
2973 /^X\/\(\/\/\)$/{
2974 s//\1/
2977 /^X\/\(\/\).*/{
2978 s//\1/
2981 s/.*/./; q'`
2983 # CDPATH.
2984 $as_unset CDPATH
2988 as_lineno_1=$LINENO
2989 as_lineno_2=$LINENO
2990 test "x$as_lineno_1" != "x$as_lineno_2" &&
2991 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2993 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2994 # uniformly replaced by the line number. The first 'sed' inserts a
2995 # line-number line after each line using $LINENO; the second 'sed'
2996 # does the real work. The second script uses 'N' to pair each
2997 # line-number line with the line containing $LINENO, and appends
2998 # trailing '-' during substitution so that $LINENO is not a special
2999 # case at line end.
3000 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3001 # scripts with optimization help from Paolo Bonzini. Blame Lee
3002 # E. McMahon (1931-1989) for sed's syntax. :-)
3003 sed -n '
3005 /[$]LINENO/=
3006 ' <$as_myself |
3007 sed '
3008 s/[$]LINENO.*/&-/
3009 t lineno
3011 :lineno
3013 :loop
3014 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3015 t loop
3016 s/-\n.*//
3017 ' >$as_me.lineno &&
3018 chmod +x "$as_me.lineno" ||
3019 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3020 { (exit 1); exit 1; }; }
3022 # Don't try to exec as it changes $[0], causing all sort of problems
3023 # (the dirname of $[0] is not the place where we might find the
3024 # original and so on. Autoconf is especially sensitive to this).
3025 . "./$as_me.lineno"
3026 # Exit status is that of the last command.
3027 exit
3031 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3032 as_dirname=dirname
3033 else
3034 as_dirname=false
3037 ECHO_C= ECHO_N= ECHO_T=
3038 case `echo -n x` in
3039 -n*)
3040 case `echo 'x\c'` in
3041 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3042 *) ECHO_C='\c';;
3043 esac;;
3045 ECHO_N='-n';;
3046 esac
3048 if expr a : '\(a\)' >/dev/null 2>&1 &&
3049 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3050 as_expr=expr
3051 else
3052 as_expr=false
3055 rm -f conf$$ conf$$.exe conf$$.file
3056 if test -d conf$$.dir; then
3057 rm -f conf$$.dir/conf$$.file
3058 else
3059 rm -f conf$$.dir
3060 mkdir conf$$.dir
3062 echo >conf$$.file
3063 if ln -s conf$$.file conf$$ 2>/dev/null; then
3064 as_ln_s='ln -s'
3065 # ... but there are two gotchas:
3066 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3067 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3068 # In both cases, we have to default to `cp -p'.
3069 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3070 as_ln_s='cp -p'
3071 elif ln conf$$.file conf$$ 2>/dev/null; then
3072 as_ln_s=ln
3073 else
3074 as_ln_s='cp -p'
3076 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3077 rmdir conf$$.dir 2>/dev/null
3079 if mkdir -p . 2>/dev/null; then
3080 as_mkdir_p=:
3081 else
3082 test -d ./-p && rmdir ./-p
3083 as_mkdir_p=false
3086 if test -x / >/dev/null 2>&1; then
3087 as_test_x='test -x'
3088 else
3089 if ls -dL / >/dev/null 2>&1; then
3090 as_ls_L_option=L
3091 else
3092 as_ls_L_option=
3094 as_test_x='
3095 eval sh -c '\''
3096 if test -d "$1"; then
3097 test -d "$1/.";
3098 else
3099 case $1 in
3100 -*)set "./$1";;
3101 esac;
3102 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3103 ???[sx]*):;;*)false;;esac;fi
3104 '\'' sh
3107 as_executable_p=$as_test_x
3109 # Sed expression to map a string onto a valid CPP name.
3110 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3112 # Sed expression to map a string onto a valid variable name.
3113 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3116 exec 6>&1
3118 # Save the log message, to keep $[0] and so on meaningful, and to
3119 # report actual input values of CONFIG_FILES etc. instead of their
3120 # values after options handling.
3121 ac_log="
3122 This file was extended by GNU Automake $as_me 1.10a, which was
3123 generated by GNU Autoconf 2.61. Invocation command line was
3125 CONFIG_FILES = $CONFIG_FILES
3126 CONFIG_HEADERS = $CONFIG_HEADERS
3127 CONFIG_LINKS = $CONFIG_LINKS
3128 CONFIG_COMMANDS = $CONFIG_COMMANDS
3129 $ $0 $@
3131 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3134 _ACEOF
3136 cat >>$CONFIG_STATUS <<_ACEOF
3137 # Files that config.status was made for.
3138 config_files="$ac_config_files"
3140 _ACEOF
3142 cat >>$CONFIG_STATUS <<\_ACEOF
3143 ac_cs_usage="\
3144 \`$as_me' instantiates files from templates according to the
3145 current configuration.
3147 Usage: $0 [OPTIONS] [FILE]...
3149 -h, --help print this help, then exit
3150 -V, --version print version number and configuration settings, then exit
3151 -q, --quiet do not print progress messages
3152 -d, --debug don't remove temporary files
3153 --recheck update $as_me by reconfiguring in the same conditions
3154 --file=FILE[:TEMPLATE]
3155 instantiate the configuration file FILE
3157 Configuration files:
3158 $config_files
3160 Report bugs to <bug-autoconf@gnu.org>."
3162 _ACEOF
3163 cat >>$CONFIG_STATUS <<_ACEOF
3164 ac_cs_version="\\
3165 GNU Automake config.status 1.10a
3166 configured by $0, generated by GNU Autoconf 2.61,
3167 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3169 Copyright (C) 2006 Free Software Foundation, Inc.
3170 This config.status script is free software; the Free Software Foundation
3171 gives unlimited permission to copy, distribute and modify it."
3173 ac_pwd='$ac_pwd'
3174 srcdir='$srcdir'
3175 INSTALL='$INSTALL'
3176 MKDIR_P='$MKDIR_P'
3177 _ACEOF
3179 cat >>$CONFIG_STATUS <<\_ACEOF
3180 # If no file are specified by the user, then we need to provide default
3181 # value. By we need to know if files were specified by the user.
3182 ac_need_defaults=:
3183 while test $# != 0
3185 case $1 in
3186 --*=*)
3187 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3188 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3189 ac_shift=:
3192 ac_option=$1
3193 ac_optarg=$2
3194 ac_shift=shift
3196 esac
3198 case $ac_option in
3199 # Handling of the options.
3200 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3201 ac_cs_recheck=: ;;
3202 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3203 echo "$ac_cs_version"; exit ;;
3204 --debug | --debu | --deb | --de | --d | -d )
3205 debug=: ;;
3206 --file | --fil | --fi | --f )
3207 $ac_shift
3208 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3209 ac_need_defaults=false;;
3210 --he | --h | --help | --hel | -h )
3211 echo "$ac_cs_usage"; exit ;;
3212 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3213 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3214 ac_cs_silent=: ;;
3216 # This is an error.
3217 -*) { echo "$as_me: error: unrecognized option: $1
3218 Try \`$0 --help' for more information." >&2
3219 { (exit 1); exit 1; }; } ;;
3221 *) ac_config_targets="$ac_config_targets $1"
3222 ac_need_defaults=false ;;
3224 esac
3225 shift
3226 done
3228 ac_configure_extra_args=
3230 if $ac_cs_silent; then
3231 exec 6>/dev/null
3232 ac_configure_extra_args="$ac_configure_extra_args --silent"
3235 _ACEOF
3236 cat >>$CONFIG_STATUS <<_ACEOF
3237 if \$ac_cs_recheck; then
3238 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3239 CONFIG_SHELL=$SHELL
3240 export CONFIG_SHELL
3241 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3244 _ACEOF
3245 cat >>$CONFIG_STATUS <<\_ACEOF
3246 exec 5>>config.log
3248 echo
3249 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3250 ## Running $as_me. ##
3251 _ASBOX
3252 echo "$ac_log"
3253 } >&5
3255 _ACEOF
3256 cat >>$CONFIG_STATUS <<_ACEOF
3258 # INIT-COMMANDS
3260 APIVERSION=$APIVERSION
3262 _ACEOF
3264 cat >>$CONFIG_STATUS <<\_ACEOF
3266 # Handling of arguments.
3267 for ac_config_target in $ac_config_targets
3269 case $ac_config_target in
3270 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3271 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3272 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3273 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3274 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3275 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3276 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3277 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3278 "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3279 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3280 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3282 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3283 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3284 { (exit 1); exit 1; }; };;
3285 esac
3286 done
3289 # If the user did not use the arguments to specify the items to instantiate,
3290 # then the envvar interface is used. Set only those that are not.
3291 # We use the long form for the default assignment because of an extremely
3292 # bizarre bug on SunOS 4.1.3.
3293 if $ac_need_defaults; then
3294 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3297 # Have a temporary directory for convenience. Make it in the build tree
3298 # simply because there is no reason against having it here, and in addition,
3299 # creating and moving files from /tmp can sometimes cause problems.
3300 # Hook for its removal unless debugging.
3301 # Note that there is a small window in which the directory will not be cleaned:
3302 # after its creation but before its name has been assigned to `$tmp'.
3303 $debug ||
3305 tmp=
3306 trap 'exit_status=$?
3307 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3309 trap '{ (exit 1); exit 1; }' 1 2 13 15
3311 # Create a (secure) tmp directory for tmp files.
3314 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3315 test -n "$tmp" && test -d "$tmp"
3316 } ||
3318 tmp=./conf$$-$RANDOM
3319 (umask 077 && mkdir "$tmp")
3320 } ||
3322 echo "$me: cannot create a temporary directory in ." >&2
3323 { (exit 1); exit 1; }
3327 # Set up the sed scripts for CONFIG_FILES section.
3330 # No need to generate the scripts if there are no CONFIG_FILES.
3331 # This happens for instance when ./config.status config.h
3332 if test -n "$CONFIG_FILES"; then
3334 _ACEOF
3338 ac_delim='%!_!# '
3339 for ac_last_try in false false false false false :; do
3340 cat >conf$$subs.sed <<_ACEOF
3341 SHELL!$SHELL$ac_delim
3342 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3343 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3344 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3345 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3346 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3347 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3348 exec_prefix!$exec_prefix$ac_delim
3349 prefix!$prefix$ac_delim
3350 program_transform_name!$program_transform_name$ac_delim
3351 bindir!$bindir$ac_delim
3352 sbindir!$sbindir$ac_delim
3353 libexecdir!$libexecdir$ac_delim
3354 datarootdir!$datarootdir$ac_delim
3355 datadir!$datadir$ac_delim
3356 sysconfdir!$sysconfdir$ac_delim
3357 sharedstatedir!$sharedstatedir$ac_delim
3358 localstatedir!$localstatedir$ac_delim
3359 includedir!$includedir$ac_delim
3360 oldincludedir!$oldincludedir$ac_delim
3361 docdir!$docdir$ac_delim
3362 infodir!$infodir$ac_delim
3363 htmldir!$htmldir$ac_delim
3364 dvidir!$dvidir$ac_delim
3365 pdfdir!$pdfdir$ac_delim
3366 psdir!$psdir$ac_delim
3367 libdir!$libdir$ac_delim
3368 localedir!$localedir$ac_delim
3369 mandir!$mandir$ac_delim
3370 DEFS!$DEFS$ac_delim
3371 ECHO_C!$ECHO_C$ac_delim
3372 ECHO_N!$ECHO_N$ac_delim
3373 ECHO_T!$ECHO_T$ac_delim
3374 LIBS!$LIBS$ac_delim
3375 build_alias!$build_alias$ac_delim
3376 host_alias!$host_alias$ac_delim
3377 target_alias!$target_alias$ac_delim
3378 build!$build$ac_delim
3379 build_cpu!$build_cpu$ac_delim
3380 build_vendor!$build_vendor$ac_delim
3381 build_os!$build_os$ac_delim
3382 am_AUTOCONF!$am_AUTOCONF$ac_delim
3383 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3384 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3385 INSTALL_DATA!$INSTALL_DATA$ac_delim
3386 am__isrc!$am__isrc$ac_delim
3387 CYGPATH_W!$CYGPATH_W$ac_delim
3388 PACKAGE!$PACKAGE$ac_delim
3389 VERSION!$VERSION$ac_delim
3390 ACLOCAL!$ACLOCAL$ac_delim
3391 AUTOCONF!$AUTOCONF$ac_delim
3392 AUTOMAKE!$AUTOMAKE$ac_delim
3393 AUTOHEADER!$AUTOHEADER$ac_delim
3394 MAKEINFO!$MAKEINFO$ac_delim
3395 install_sh!$install_sh$ac_delim
3396 STRIP!$STRIP$ac_delim
3397 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3398 mkdir_p!$mkdir_p$ac_delim
3399 AWK!$AWK$ac_delim
3400 SET_MAKE!$SET_MAKE$ac_delim
3401 am__leading_dot!$am__leading_dot$ac_delim
3402 AMTAR!$AMTAR$ac_delim
3403 am__tar!$am__tar$ac_delim
3404 am__untar!$am__untar$ac_delim
3405 APIVERSION!$APIVERSION$ac_delim
3406 pkgvdatadir!$pkgvdatadir$ac_delim
3407 PERL!$PERL$ac_delim
3408 TEX!$TEX$ac_delim
3409 LN!$LN$ac_delim
3410 MODIFICATION_DELAY!$MODIFICATION_DELAY$ac_delim
3411 GREP!$GREP$ac_delim
3412 EGREP!$EGREP$ac_delim
3413 FGREP!$FGREP$ac_delim
3414 LIBOBJS!$LIBOBJS$ac_delim
3415 LTLIBOBJS!$LTLIBOBJS$ac_delim
3416 _ACEOF
3418 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 75; then
3419 break
3420 elif $ac_last_try; then
3421 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3422 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3423 { (exit 1); exit 1; }; }
3424 else
3425 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3427 done
3429 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3430 if test -n "$ac_eof"; then
3431 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3432 ac_eof=`expr $ac_eof + 1`
3435 cat >>$CONFIG_STATUS <<_ACEOF
3436 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3437 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3438 _ACEOF
3439 sed '
3440 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3441 s/^/s,@/; s/!/@,|#_!!_#|/
3444 s/'"$ac_delim"'$/,g/; t
3445 s/$/\\/; p
3446 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3447 ' >>$CONFIG_STATUS <conf$$subs.sed
3448 rm -f conf$$subs.sed
3449 cat >>$CONFIG_STATUS <<_ACEOF
3450 :end
3451 s/|#_!!_#|//g
3452 CEOF$ac_eof
3453 _ACEOF
3456 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3457 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3458 # trailing colons and then remove the whole line if VPATH becomes empty
3459 # (actually we leave an empty line to preserve line numbers).
3460 if test "x$srcdir" = x.; then
3461 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3462 s/:*\$(srcdir):*/:/
3463 s/:*\${srcdir}:*/:/
3464 s/:*@srcdir@:*/:/
3465 s/^\([^=]*=[ ]*\):*/\1/
3466 s/:*$//
3467 s/^[^=]*=[ ]*$//
3471 cat >>$CONFIG_STATUS <<\_ACEOF
3472 fi # test -n "$CONFIG_FILES"
3475 for ac_tag in :F $CONFIG_FILES
3477 case $ac_tag in
3478 :[FHLC]) ac_mode=$ac_tag; continue;;
3479 esac
3480 case $ac_mode$ac_tag in
3481 :[FHL]*:*);;
3482 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3483 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3484 { (exit 1); exit 1; }; };;
3485 :[FH]-) ac_tag=-:-;;
3486 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3487 esac
3488 ac_save_IFS=$IFS
3489 IFS=:
3490 set x $ac_tag
3491 IFS=$ac_save_IFS
3492 shift
3493 ac_file=$1
3494 shift
3496 case $ac_mode in
3497 :L) ac_source=$1;;
3498 :[FH])
3499 ac_file_inputs=
3500 for ac_f
3502 case $ac_f in
3503 -) ac_f="$tmp/stdin";;
3504 *) # Look for the file first in the build tree, then in the source tree
3505 # (if the path is not absolute). The absolute path cannot be DOS-style,
3506 # because $ac_f cannot contain `:'.
3507 test -f "$ac_f" ||
3508 case $ac_f in
3509 [\\/$]*) false;;
3510 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3511 esac ||
3512 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3513 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3514 { (exit 1); exit 1; }; };;
3515 esac
3516 ac_file_inputs="$ac_file_inputs $ac_f"
3517 done
3519 # Let's still pretend it is `configure' which instantiates (i.e., don't
3520 # use $as_me), people would be surprised to read:
3521 # /* config.h. Generated by config.status. */
3522 configure_input="Generated from "`IFS=:
3523 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3524 if test x"$ac_file" != x-; then
3525 configure_input="$ac_file. $configure_input"
3526 { echo "$as_me:$LINENO: creating $ac_file" >&5
3527 echo "$as_me: creating $ac_file" >&6;}
3530 case $ac_tag in
3531 *:-:* | *:-) cat >"$tmp/stdin";;
3532 esac
3534 esac
3536 ac_dir=`$as_dirname -- "$ac_file" ||
3537 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3538 X"$ac_file" : 'X\(//\)[^/]' \| \
3539 X"$ac_file" : 'X\(//\)$' \| \
3540 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3541 echo X"$ac_file" |
3542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3543 s//\1/
3546 /^X\(\/\/\)[^/].*/{
3547 s//\1/
3550 /^X\(\/\/\)$/{
3551 s//\1/
3554 /^X\(\/\).*/{
3555 s//\1/
3558 s/.*/./; q'`
3559 { as_dir="$ac_dir"
3560 case $as_dir in #(
3561 -*) as_dir=./$as_dir;;
3562 esac
3563 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3564 as_dirs=
3565 while :; do
3566 case $as_dir in #(
3567 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3568 *) as_qdir=$as_dir;;
3569 esac
3570 as_dirs="'$as_qdir' $as_dirs"
3571 as_dir=`$as_dirname -- "$as_dir" ||
3572 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3573 X"$as_dir" : 'X\(//\)[^/]' \| \
3574 X"$as_dir" : 'X\(//\)$' \| \
3575 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3576 echo X"$as_dir" |
3577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3578 s//\1/
3581 /^X\(\/\/\)[^/].*/{
3582 s//\1/
3585 /^X\(\/\/\)$/{
3586 s//\1/
3589 /^X\(\/\).*/{
3590 s//\1/
3593 s/.*/./; q'`
3594 test -d "$as_dir" && break
3595 done
3596 test -z "$as_dirs" || eval "mkdir $as_dirs"
3597 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3598 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3599 { (exit 1); exit 1; }; }; }
3600 ac_builddir=.
3602 case "$ac_dir" in
3603 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3605 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3606 # A ".." for each directory in $ac_dir_suffix.
3607 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3608 case $ac_top_builddir_sub in
3609 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3610 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3611 esac ;;
3612 esac
3613 ac_abs_top_builddir=$ac_pwd
3614 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3615 # for backward compatibility:
3616 ac_top_builddir=$ac_top_build_prefix
3618 case $srcdir in
3619 .) # We are building in place.
3620 ac_srcdir=.
3621 ac_top_srcdir=$ac_top_builddir_sub
3622 ac_abs_top_srcdir=$ac_pwd ;;
3623 [\\/]* | ?:[\\/]* ) # Absolute name.
3624 ac_srcdir=$srcdir$ac_dir_suffix;
3625 ac_top_srcdir=$srcdir
3626 ac_abs_top_srcdir=$srcdir ;;
3627 *) # Relative name.
3628 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3629 ac_top_srcdir=$ac_top_build_prefix$srcdir
3630 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3631 esac
3632 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3635 case $ac_mode in
3638 # CONFIG_FILE
3641 case $INSTALL in
3642 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3643 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3644 esac
3645 ac_MKDIR_P=$MKDIR_P
3646 case $MKDIR_P in
3647 [\\/$]* | ?:[\\/]* ) ;;
3648 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3649 esac
3650 _ACEOF
3652 cat >>$CONFIG_STATUS <<\_ACEOF
3653 # If the template does not know about datarootdir, expand it.
3654 # FIXME: This hack should be removed a few years after 2.60.
3655 ac_datarootdir_hack=; ac_datarootdir_seen=
3657 case `sed -n '/datarootdir/ {
3661 /@datadir@/p
3662 /@docdir@/p
3663 /@infodir@/p
3664 /@localedir@/p
3665 /@mandir@/p
3666 ' $ac_file_inputs` in
3667 *datarootdir*) ac_datarootdir_seen=yes;;
3668 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3669 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3670 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3671 _ACEOF
3672 cat >>$CONFIG_STATUS <<_ACEOF
3673 ac_datarootdir_hack='
3674 s&@datadir@&$datadir&g
3675 s&@docdir@&$docdir&g
3676 s&@infodir@&$infodir&g
3677 s&@localedir@&$localedir&g
3678 s&@mandir@&$mandir&g
3679 s&\\\${datarootdir}&$datarootdir&g' ;;
3680 esac
3681 _ACEOF
3683 # Neutralize VPATH when `$srcdir' = `.'.
3684 # Shell code in configure.ac might set extrasub.
3685 # FIXME: do we really want to maintain this feature?
3686 cat >>$CONFIG_STATUS <<_ACEOF
3687 sed "$ac_vpsub
3688 $extrasub
3689 _ACEOF
3690 cat >>$CONFIG_STATUS <<\_ACEOF
3692 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3693 s&@configure_input@&$configure_input&;t t
3694 s&@top_builddir@&$ac_top_builddir_sub&;t t
3695 s&@srcdir@&$ac_srcdir&;t t
3696 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3697 s&@top_srcdir@&$ac_top_srcdir&;t t
3698 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3699 s&@builddir@&$ac_builddir&;t t
3700 s&@abs_builddir@&$ac_abs_builddir&;t t
3701 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3702 s&@INSTALL@&$ac_INSTALL&;t t
3703 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3704 $ac_datarootdir_hack
3705 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3707 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3708 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3709 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3710 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3711 which seems to be undefined. Please make sure it is defined." >&5
3712 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3713 which seems to be undefined. Please make sure it is defined." >&2;}
3715 rm -f "$tmp/stdin"
3716 case $ac_file in
3717 -) cat "$tmp/out"; rm -f "$tmp/out";;
3718 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3719 esac
3724 esac
3727 case $ac_file$ac_mode in
3728 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3729 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3731 esac
3732 done # for ac_tag
3735 { (exit 0); exit 0; }
3736 _ACEOF
3737 chmod +x $CONFIG_STATUS
3738 ac_clean_files=$ac_clean_files_save
3741 # configure is writing to config.log, and then calls config.status.
3742 # config.status does its own redirection, appending to config.log.
3743 # Unfortunately, on DOS this fails, as config.log is still kept open
3744 # by configure, so config.status won't be able to write to it; its
3745 # output is simply discarded. So we exec the FD to /dev/null,
3746 # effectively closing config.log, so it can be properly (re)opened and
3747 # appended to by config.status. When coming back to configure, we
3748 # need to make the FD available again.
3749 if test "$no_create" != yes; then
3750 ac_cs_success=:
3751 ac_config_status_args=
3752 test "$silent" = yes &&
3753 ac_config_status_args="$ac_config_status_args --quiet"
3754 exec 5>/dev/null
3755 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3756 exec 5>>config.log
3757 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3758 # would make configure fail if this is the last instruction.
3759 $ac_cs_success || { (exit 1); exit 1; }