* doc/automake.texi (Macro search path): Using --acdir is not
[automake.git] / configure
blob8fb2df31911f2bc77def726e0bc2b376c3fbddf0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59c for GNU Automake 1.9a.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
8 # 2003, 2004 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # Find who we are. Look in the path if we contain no path at all
60 # relative or not.
61 case $0 in
62 *[\\/]* ) as_myself=$0 ;;
63 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64 for as_dir in $PATH
66 IFS=$as_save_IFS
67 test -z "$as_dir" && as_dir=.
68 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
69 done
72 esac
73 # We did not find ourselves, most probably we were run as `sh COMMAND'
74 # in which case we are not to be found in the path.
75 if test "x$as_myself" = x; then
76 as_myself=$0
78 if test ! -f "$as_myself"; then
79 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
80 { (exit 1); exit 1; }; }
83 # Work around bugs in pre-3.0 UWIN ksh.
84 for as_var in ENV MAIL MAILPATH
85 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
86 done
87 PS1='$ '
88 PS2='> '
89 PS4='+ '
91 # NLS nuisances.
92 for as_var in \
93 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95 LC_TELEPHONE LC_TIME
97 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98 eval $as_var=C; export $as_var
99 else
100 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 done
104 # Required to use basename.
105 if expr a : '\(a\)' >/dev/null 2>&1; then
106 as_expr=expr
107 else
108 as_expr=false
111 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
112 as_basename=basename
113 else
114 as_basename=false
118 # Name of the executable.
119 as_me=`$as_basename "$0" ||
120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121 X"$0" : 'X\(//\)$' \| \
122 X"$0" : 'X\(/\)$' \| \
123 . : '\(.\)' 2>/dev/null ||
124 echo X/"$0" |
125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
126 /^X\/\(\/\/\)$/{ s//\1/; q; }
127 /^X\/\(\/\).*/{ s//\1/; q; }
128 s/.*/./; q'`
132 if test "x$CONFIG_SHELL" = x; then
133 if (eval ":") 2>/dev/null; then
134 as_have_required=yes
135 else
136 as_have_required=no
139 if test $as_have_required = yes && (eval ":
140 (func_return () {
141 (exit \$1)
143 func_success () {
144 func_return 0
146 func_failure () {
147 func_return 1
149 func_ret_success () {
150 return 0
152 func_ret_failure () {
153 return 1
156 exitcode=0
157 if func_success; then
159 else
160 exitcode=1
161 echo func_failure succeeded.
164 if func_failure; then
165 exitcode=1
166 echo func_success failed.
169 if func_ret_success; then
171 else
172 exitcode=1
173 echo func_ret_success failed.
176 if func_ret_failure; then
177 exitcode=1
178 echo func_ret_failure succeeded.
181 test \$exitcode = 0) || { (exit 1); exit 1; }
184 as_lineno_1=\$LINENO
185 as_lineno_2=\$LINENO
186 as_lineno_3=\`(expr \$as_lineno_1 + 1) 2>/dev/null\`
187 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
188 test \"x\$as_lineno_3\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
189 ") 2> /dev/null; then
191 else
192 as_candidate_shells=
193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
196 IFS=$as_save_IFS
197 test -z "$as_dir" && as_dir=.
198 case $as_dir in
200 for as_base in sh bash ksh sh5; do
201 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
202 done
203 esac
204 done
207 for as_shell in $as_candidate_shells $SHELL; do
208 if { ($as_shell) 2> /dev/null <<\_ASEOF
209 # Be Bourne compatible
210 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
211 emulate sh
212 NULLCMD=:
213 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
214 # is contrary to our usage. Disable this feature.
215 alias -g '${1+"$@"}'='"$@"'
216 setopt NO_GLOB_SUBST
217 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
218 set -o posix
220 BIN_SH=xpg4; export BIN_SH # for Tru64
221 DUALCASE=1; export DUALCASE # for MKS sh
224 _ASEOF
225 }; then
226 CONFIG_SHELL=$as_shell
227 as_have_required=yes
228 if { $as_shell 2> /dev/null <<\_ASEOF
229 # Be Bourne compatible
230 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
231 emulate sh
232 NULLCMD=:
233 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
234 # is contrary to our usage. Disable this feature.
235 alias -g '${1+"$@"}'='"$@"'
236 setopt NO_GLOB_SUBST
237 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
238 set -o posix
240 BIN_SH=xpg4; export BIN_SH # for Tru64
241 DUALCASE=1; export DUALCASE # for MKS sh
244 (func_return () {
245 (exit $1)
247 func_success () {
248 func_return 0
250 func_failure () {
251 func_return 1
253 func_ret_success () {
254 return 0
256 func_ret_failure () {
257 return 1
260 exitcode=0
261 if func_success; then
263 else
264 exitcode=1
265 echo func_failure succeeded.
268 if func_failure; then
269 exitcode=1
270 echo func_success failed.
273 if func_ret_success; then
275 else
276 exitcode=1
277 echo func_ret_success failed.
280 if func_ret_failure; then
281 exitcode=1
282 echo func_ret_failure succeeded.
285 test $exitcode = 0) || { (exit 1); exit 1; }
288 as_lineno_1=$LINENO
289 as_lineno_2=$LINENO
290 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
291 test "x$as_lineno_1" != "x$as_lineno_2" &&
292 test "x$as_lineno_3" = "x$as_lineno_2") || { (exit 1); exit 1; }
294 _ASEOF
295 }; then
296 break
301 done
303 if test "x$CONFIG_SHELL" != x; then
304 for as_var in BASH_ENV ENV
305 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
306 done
307 export CONFIG_SHELL
308 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
312 if test $as_have_required = no; then
313 echo This script requires a shell more modern than all the
314 echo shells that I found on your system. Please install a
315 echo modern shell, or manually run the script under such a
316 echo shell if you do have one.
317 { (exit 1); exit 1; }
327 (eval "func_return () {
328 (exit \$1)
330 func_success () {
331 func_return 0
333 func_failure () {
334 func_return 1
336 func_ret_success () {
337 return 0
339 func_ret_failure () {
340 return 1
343 exitcode=0
344 if func_success; then
346 else
347 exitcode=1
348 echo func_failure succeeded.
351 if func_failure; then
352 exitcode=1
353 echo func_success failed.
356 if func_ret_success; then
358 else
359 exitcode=1
360 echo func_ret_success failed.
363 if func_ret_failure; then
364 exitcode=1
365 echo func_ret_failure succeeded.
368 test \$exitcode = 0") || {
369 echo No shell found that supports shell functions.
370 echo Please tell autoconf@gnu.org about your system,
371 echo including any error possibly output before this
372 echo message
377 as_lineno_1=$LINENO
378 as_lineno_2=$LINENO
379 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
380 test "x$as_lineno_1" != "x$as_lineno_2" &&
381 test "x$as_lineno_3" = "x$as_lineno_2" || {
383 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
384 # uniformly replaced by the line number. The first 'sed' inserts a
385 # line-number line after each line using $LINENO; the second 'sed'
386 # does the real work. The second script uses 'N' to pair each
387 # line-number line with the line containing $LINENO, and appends
388 # trailing '-' during substitution so that $LINENO is not a special
389 # case at line end.
390 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
391 # scripts with optimization help from Paolo Bonzini. Blame Lee
392 # E. McMahon (1931-1989) for sed's syntax. :-)
393 sed -n '
395 /[$]LINENO/=
396 ' <$as_myself |
397 sed '
398 s,[$]LINENO.*,&-,
399 t lineno
401 : lineno
403 : loop
404 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
405 t loop
406 s,-\n.*,,
407 ' >$as_me.lineno &&
408 chmod +x $as_me.lineno ||
409 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
410 { (exit 1); exit 1; }; }
412 # Don't try to exec as it changes $[0], causing all sort of problems
413 # (the dirname of $[0] is not the place where we might find the
414 # original and so on. Autoconf is especially sensible to this).
415 . ./$as_me.lineno
416 # Exit status is that of the last command.
417 exit
421 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
422 *c*,-n*) ECHO_N= ECHO_C='
423 ' ECHO_T=' ' ;;
424 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
425 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
426 esac
428 if expr a : '\(a\)' >/dev/null 2>&1; then
429 as_expr=expr
430 else
431 as_expr=false
434 rm -f conf$$ conf$$.exe conf$$.file
435 echo >conf$$.file
436 if ln -s conf$$.file conf$$ 2>/dev/null; then
437 # We could just check for DJGPP; but this test a) works b) is more generic
438 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
439 if test -f conf$$.exe; then
440 # Don't use ln at all; we don't have any links
441 as_ln_s='cp -p'
442 else
443 as_ln_s='ln -s'
445 elif ln conf$$.file conf$$ 2>/dev/null; then
446 as_ln_s=ln
447 else
448 as_ln_s='cp -p'
450 rm -f conf$$ conf$$.exe conf$$.file
452 if mkdir -p . 2>/dev/null; then
453 as_mkdir_p=:
454 else
455 test -d ./-p && rmdir ./-p
456 as_mkdir_p=false
459 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
460 # systems may use methods other than mode bits to determine executability.
461 cat >conf$$.file <<_ASEOF
462 #! /bin/sh
463 exit 0
464 _ASEOF
465 chmod +x conf$$.file
466 if test -x conf$$.file >/dev/null 2>&1; then
467 as_executable_p="test -x"
468 else
469 as_executable_p=:
471 rm -f conf$$.file
473 # Sed expression to map a string onto a valid CPP name.
474 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
476 # Sed expression to map a string onto a valid variable name.
477 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
480 # IFS
481 # We need space, tab and new line, in precisely that order.
482 as_nl='
484 IFS=" $as_nl"
486 # CDPATH.
487 $as_unset CDPATH
490 # Name of the host.
491 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
492 # so uname gets run too.
493 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
495 exec 6>&1
498 # Initializations.
500 ac_default_prefix=/usr/local
501 ac_config_libobj_dir=.
502 cross_compiling=no
503 subdirs=
504 MFLAGS=
505 MAKEFLAGS=
506 SHELL=${CONFIG_SHELL-/bin/sh}
508 # Maximum number of lines to put in a shell here document.
509 # This variable seems obsolete. It should probably be removed, and
510 # only ac_max_sed_lines should be used.
511 : ${ac_max_here_lines=38}
513 # Identity of this package.
514 PACKAGE_NAME='GNU Automake'
515 PACKAGE_TARNAME='automake'
516 PACKAGE_VERSION='1.9a'
517 PACKAGE_STRING='GNU Automake 1.9a'
518 PACKAGE_BUGREPORT='bug-automake@gnu.org'
520 ac_unique_file="automake.in"
521 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir localstatedir includedir oldincludedir docdir infodir htmldir dvidir pdfdir psdir libdir localedir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os am_AUTOCONF INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar APIVERSION pkgvdatadir PERL TEX LN MODIFICATION_DELAY GREP EGREP FGREP LIBOBJS LTLIBOBJS'
522 ac_subst_files=''
524 # Initialize some variables set by options.
525 ac_init_help=
526 ac_init_version=false
527 # The variables have the same names as the options, with
528 # dashes changed to underlines.
529 cache_file=/dev/null
530 exec_prefix=NONE
531 no_create=
532 no_recursion=
533 prefix=NONE
534 program_prefix=NONE
535 program_suffix=NONE
536 program_transform_name=s,x,x,
537 silent=
538 site=
539 srcdir=
540 verbose=
541 x_includes=NONE
542 x_libraries=NONE
544 # Installation directory options.
545 # These are left unexpanded so users can "make install exec_prefix=/foo"
546 # and all the variables that are supposed to be based on exec_prefix
547 # by default will actually change.
548 # Use braces instead of parens because sh, perl, etc. also accept them.
549 # (The list follows the same order as the GNU Coding Standards.)
550 bindir='${exec_prefix}/bin'
551 sbindir='${exec_prefix}/sbin'
552 libexecdir='${exec_prefix}/libexec'
553 datarootdir='${prefix}/share'
554 datadir='${datarootdir}'
555 sysconfdir='${prefix}/etc'
556 sharedstatedir='${prefix}/com'
557 localstatedir='${prefix}/var'
558 includedir='${prefix}/include'
559 oldincludedir='/usr/include'
560 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
561 infodir='${datarootdir}/info'
562 htmldir='${docdir}'
563 dvidir='${docdir}'
564 pdfdir='${docdir}'
565 psdir='${docdir}'
566 libdir='${exec_prefix}/lib'
567 localedir='${datarootdir}/locale'
568 mandir='${datarootdir}/man'
570 ac_prev=
571 ac_dashdash=
572 for ac_option
574 # If the previous option needs an argument, assign it.
575 if test -n "$ac_prev"; then
576 eval "$ac_prev=\$ac_option"
577 ac_prev=
578 continue
581 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
583 # Accept the important Cygnus configure options, so we can diagnose typos.
585 case $ac_dashdash$ac_option in
587 ac_dashdash=yes ;;
589 -bindir | --bindir | --bindi | --bind | --bin | --bi)
590 ac_prev=bindir ;;
591 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
592 bindir=$ac_optarg ;;
594 -build | --build | --buil | --bui | --bu)
595 ac_prev=build_alias ;;
596 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
597 build_alias=$ac_optarg ;;
599 -cache-file | --cache-file | --cache-fil | --cache-fi \
600 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
601 ac_prev=cache_file ;;
602 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
603 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
604 cache_file=$ac_optarg ;;
606 --config-cache | -C)
607 cache_file=config.cache ;;
609 -datadir | --datadir | --datadi | --datad)
610 ac_prev=datadir ;;
611 -datadir=* | --datadir=* | --datadi=* | --datad=*)
612 datadir=$ac_optarg ;;
614 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
615 | --dataroo | --dataro | --datar)
616 ac_prev=datarootdir ;;
617 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
618 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
619 datarootdir=$ac_optarg ;;
621 -disable-* | --disable-*)
622 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
623 # Reject names that are not valid shell variable names.
624 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
625 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
626 { (exit 1); exit 1; }; }
627 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
628 eval "enable_$ac_feature=no" ;;
630 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
631 ac_prev=dvidir ;;
632 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
633 dvidir=$ac_optarg ;;
635 -enable-* | --enable-*)
636 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
640 { (exit 1); exit 1; }; }
641 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
642 case $ac_option in
643 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
644 *) ac_optarg=yes ;;
645 esac
646 eval "enable_$ac_feature='$ac_optarg'" ;;
648 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
649 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
650 | --exec | --exe | --ex)
651 ac_prev=exec_prefix ;;
652 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
653 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
654 | --exec=* | --exe=* | --ex=*)
655 exec_prefix=$ac_optarg ;;
657 -gas | --gas | --ga | --g)
658 # Obsolete; use --with-gas.
659 with_gas=yes ;;
661 -help | --help | --hel | --he | -h)
662 ac_init_help=long ;;
663 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
664 ac_init_help=recursive ;;
665 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
666 ac_init_help=short ;;
668 -host | --host | --hos | --ho)
669 ac_prev=host_alias ;;
670 -host=* | --host=* | --hos=* | --ho=*)
671 host_alias=$ac_optarg ;;
673 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
674 ac_prev=htmldir ;;
675 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
676 | --ht=*)
677 htmldir=$ac_optarg ;;
679 -includedir | --includedir | --includedi | --included | --include \
680 | --includ | --inclu | --incl | --inc)
681 ac_prev=includedir ;;
682 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
683 | --includ=* | --inclu=* | --incl=* | --inc=*)
684 includedir=$ac_optarg ;;
686 -infodir | --infodir | --infodi | --infod | --info | --inf)
687 ac_prev=infodir ;;
688 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
689 infodir=$ac_optarg ;;
691 -libdir | --libdir | --libdi | --libd)
692 ac_prev=libdir ;;
693 -libdir=* | --libdir=* | --libdi=* | --libd=*)
694 libdir=$ac_optarg ;;
696 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
697 | --libexe | --libex | --libe)
698 ac_prev=libexecdir ;;
699 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
700 | --libexe=* | --libex=* | --libe=*)
701 libexecdir=$ac_optarg ;;
703 -localedir | --localedir | --localedi | --localed | --locale)
704 ac_prev=localedir ;;
705 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
706 localedir=$ac_optarg ;;
708 -localstatedir | --localstatedir | --localstatedi | --localstated \
709 | --localstate | --localstat | --localsta | --localst | --locals)
710 ac_prev=localstatedir ;;
711 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
712 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
713 localstatedir=$ac_optarg ;;
715 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
716 ac_prev=mandir ;;
717 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
718 mandir=$ac_optarg ;;
720 -nfp | --nfp | --nf)
721 # Obsolete; use --without-fp.
722 with_fp=no ;;
724 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
725 | --no-cr | --no-c | -n)
726 no_create=yes ;;
728 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
729 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
730 no_recursion=yes ;;
732 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
733 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
734 | --oldin | --oldi | --old | --ol | --o)
735 ac_prev=oldincludedir ;;
736 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
737 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
738 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
739 oldincludedir=$ac_optarg ;;
741 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
742 ac_prev=prefix ;;
743 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
744 prefix=$ac_optarg ;;
746 -program-prefix | --program-prefix | --program-prefi | --program-pref \
747 | --program-pre | --program-pr | --program-p)
748 ac_prev=program_prefix ;;
749 -program-prefix=* | --program-prefix=* | --program-prefi=* \
750 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
751 program_prefix=$ac_optarg ;;
753 -program-suffix | --program-suffix | --program-suffi | --program-suff \
754 | --program-suf | --program-su | --program-s)
755 ac_prev=program_suffix ;;
756 -program-suffix=* | --program-suffix=* | --program-suffi=* \
757 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
758 program_suffix=$ac_optarg ;;
760 -program-transform-name | --program-transform-name \
761 | --program-transform-nam | --program-transform-na \
762 | --program-transform-n | --program-transform- \
763 | --program-transform | --program-transfor \
764 | --program-transfo | --program-transf \
765 | --program-trans | --program-tran \
766 | --progr-tra | --program-tr | --program-t)
767 ac_prev=program_transform_name ;;
768 -program-transform-name=* | --program-transform-name=* \
769 | --program-transform-nam=* | --program-transform-na=* \
770 | --program-transform-n=* | --program-transform-=* \
771 | --program-transform=* | --program-transfor=* \
772 | --program-transfo=* | --program-transf=* \
773 | --program-trans=* | --program-tran=* \
774 | --progr-tra=* | --program-tr=* | --program-t=*)
775 program_transform_name=$ac_optarg ;;
777 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
778 ac_prev=pdfdir ;;
779 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
780 pdfdir=$ac_optarg ;;
782 -psdir | --psdir | --psdi | --psd | --ps)
783 ac_prev=psdir ;;
784 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
785 psdir=$ac_optarg ;;
787 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
788 | -silent | --silent | --silen | --sile | --sil)
789 silent=yes ;;
791 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
792 ac_prev=sbindir ;;
793 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
794 | --sbi=* | --sb=*)
795 sbindir=$ac_optarg ;;
797 -sharedstatedir | --sharedstatedir | --sharedstatedi \
798 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
799 | --sharedst | --shareds | --shared | --share | --shar \
800 | --sha | --sh)
801 ac_prev=sharedstatedir ;;
802 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
803 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
804 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
805 | --sha=* | --sh=*)
806 sharedstatedir=$ac_optarg ;;
808 -site | --site | --sit)
809 ac_prev=site ;;
810 -site=* | --site=* | --sit=*)
811 site=$ac_optarg ;;
813 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
814 ac_prev=srcdir ;;
815 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
816 srcdir=$ac_optarg ;;
818 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
819 | --syscon | --sysco | --sysc | --sys | --sy)
820 ac_prev=sysconfdir ;;
821 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
822 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
823 sysconfdir=$ac_optarg ;;
825 -target | --target | --targe | --targ | --tar | --ta | --t)
826 ac_prev=target_alias ;;
827 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
828 target_alias=$ac_optarg ;;
830 -v | -verbose | --verbose | --verbos | --verbo | --verb)
831 verbose=yes ;;
833 -version | --version | --versio | --versi | --vers | -V)
834 ac_init_version=: ;;
836 -with-* | --with-*)
837 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
840 { echo "$as_me: error: invalid package name: $ac_package" >&2
841 { (exit 1); exit 1; }; }
842 ac_package=`echo $ac_package| sed 's/-/_/g'`
843 case $ac_option in
844 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
845 *) ac_optarg=yes ;;
846 esac
847 eval "with_$ac_package='$ac_optarg'" ;;
849 -without-* | --without-*)
850 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
853 { echo "$as_me: error: invalid package name: $ac_package" >&2
854 { (exit 1); exit 1; }; }
855 ac_package=`echo $ac_package | sed 's/-/_/g'`
856 eval "with_$ac_package=no" ;;
858 --x)
859 # Obsolete; use --with-x.
860 with_x=yes ;;
862 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
863 | --x-incl | --x-inc | --x-in | --x-i)
864 ac_prev=x_includes ;;
865 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
866 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
867 x_includes=$ac_optarg ;;
869 -x-libraries | --x-libraries | --x-librarie | --x-librari \
870 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
871 ac_prev=x_libraries ;;
872 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
873 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
874 x_libraries=$ac_optarg ;;
876 -*) { echo "$as_me: error: unrecognized option: $ac_option
877 Try \`$0 --help' for more information." >&2
878 { (exit 1); exit 1; }; }
881 *=*)
882 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
885 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
886 { (exit 1); exit 1; }; }
887 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
888 eval "$ac_envvar='$ac_optarg'"
889 export $ac_envvar ;;
892 # FIXME: should be removed in autoconf 3.0.
893 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
894 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
895 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
896 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
899 esac
900 done
902 if test -n "$ac_prev"; then
903 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
904 { echo "$as_me: error: missing argument to $ac_option" >&2
905 { (exit 1); exit 1; }; }
908 # Be sure to have absolute directory names.
909 for ac_var in exec_prefix prefix
911 eval ac_val=$`echo $ac_var`
912 case $ac_val in
913 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
914 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
915 { (exit 1); exit 1; }; };;
916 esac
917 done
919 # Be sure to have absolute directory names.
920 for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir \
921 sharedstatedir localstatedir includedir oldincludedir \
922 docdir infodir htmldir dvidir pdfdir psdir libdir \
923 localedir mandir
925 eval ac_val=$`echo $ac_var`
926 case $ac_val in
927 [\\/$]* | ?:[\\/]* ) ;;
928 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
929 { (exit 1); exit 1; }; };;
930 esac
931 done
933 # There might be people who depend on the old broken behavior: `$host'
934 # used to hold the argument of --host etc.
935 # FIXME: To remove some day.
936 build=$build_alias
937 host=$host_alias
938 target=$target_alias
940 # FIXME: To remove some day.
941 if test "x$host_alias" != x; then
942 if test "x$build_alias" = x; then
943 cross_compiling=maybe
944 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
945 If a cross compiler is detected then cross compile mode will be used." >&2
946 elif test "x$build_alias" != "x$host_alias"; then
947 cross_compiling=yes
951 ac_tool_prefix=
952 test -n "$host_alias" && ac_tool_prefix=$host_alias-
954 test "$silent" = yes && exec 6>/dev/null
957 # Find the source files, if location was not specified.
958 if test -z "$srcdir"; then
959 ac_srcdir_defaulted=yes
960 # Try the directory containing this script, then its parent.
961 ac_confdir=`(dirname "$0") 2>/dev/null ||
962 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
963 X"$0" : 'X\(//\)[^/]' \| \
964 X"$0" : 'X\(//\)$' \| \
965 X"$0" : 'X\(/\)' \| \
966 . : '\(.\)' 2>/dev/null ||
967 echo X"$0" |
968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
969 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
970 /^X\(\/\/\)$/{ s//\1/; q; }
971 /^X\(\/\).*/{ s//\1/; q; }
972 s/.*/./; q'`
973 srcdir=$ac_confdir
974 if test ! -r $srcdir/$ac_unique_file; then
975 srcdir=..
977 else
978 ac_srcdir_defaulted=no
980 if test ! -r $srcdir/$ac_unique_file; then
981 if test "$ac_srcdir_defaulted" = yes; then
982 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
983 { (exit 1); exit 1; }; }
984 else
985 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
986 { (exit 1); exit 1; }; }
989 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
990 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
991 { (exit 1); exit 1; }; }
992 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
993 ac_env_build_alias_set=${build_alias+set}
994 ac_env_build_alias_value=$build_alias
995 ac_cv_env_build_alias_set=${build_alias+set}
996 ac_cv_env_build_alias_value=$build_alias
997 ac_env_host_alias_set=${host_alias+set}
998 ac_env_host_alias_value=$host_alias
999 ac_cv_env_host_alias_set=${host_alias+set}
1000 ac_cv_env_host_alias_value=$host_alias
1001 ac_env_target_alias_set=${target_alias+set}
1002 ac_env_target_alias_value=$target_alias
1003 ac_cv_env_target_alias_set=${target_alias+set}
1004 ac_cv_env_target_alias_value=$target_alias
1007 # Report the --help message.
1009 if test "$ac_init_help" = "long"; then
1010 # Omit some internal or obsolete options to make the list less imposing.
1011 # This message is too long to be a string in the A/UX 3.1 sh.
1012 cat <<_ACEOF
1013 \`configure' configures GNU Automake 1.9a to adapt to many kinds of systems.
1015 Usage: $0 [OPTION]... [VAR=VALUE]...
1017 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1018 VAR=VALUE. See below for descriptions of some of the useful variables.
1020 Defaults for the options are specified in brackets.
1022 Configuration:
1023 -h, --help display this help and exit
1024 --help=short display options specific to this package
1025 --help=recursive display the short help of all the included packages
1026 -V, --version display version information and exit
1027 -q, --quiet, --silent do not print \`checking...' messages
1028 --cache-file=FILE cache test results in FILE [disabled]
1029 -C, --config-cache alias for \`--cache-file=config.cache'
1030 -n, --no-create do not create output files
1031 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1033 _ACEOF
1035 cat <<_ACEOF
1036 Installation directories:
1037 --prefix=PREFIX install architecture-independent files in PREFIX
1038 [$ac_default_prefix]
1039 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1040 [PREFIX]
1042 By default, \`make install' will install all the files in
1043 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1044 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1045 for instance \`--prefix=\$HOME'.
1047 For better control, use the options below.
1049 Fine tuning of the installation directories:
1050 --bindir=DIR user executables [EPREFIX/bin]
1051 --sbindir=DIR system admin executables [EPREFIX/sbin]
1052 --libexecdir=DIR program executables [EPREFIX/libexec]
1053 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1054 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1055 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1056 --libdir=DIR object code libraries [EPREFIX/lib]
1057 --includedir=DIR C header files [PREFIX/include]
1058 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1059 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1060 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1061 --infodir=DIR info documentation [DATAROOTDIR/info]
1062 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1063 --mandir=DIR man documentation [DATAROOTDIR/man]
1064 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1065 --htmldir=DIR html documentation [DOCDIR]
1066 --dvidir=DIR dvi documentation [DOCDIR]
1067 --pdfdir=DIR pdf documentation [DOCDIR]
1068 --psdir=DIR ps documentation [DOCDIR]
1069 _ACEOF
1071 cat <<\_ACEOF
1073 Program names:
1074 --program-prefix=PREFIX prepend PREFIX to installed program names
1075 --program-suffix=SUFFIX append SUFFIX to installed program names
1076 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1078 System types:
1079 --build=BUILD configure for building on BUILD [guessed]
1080 _ACEOF
1083 if test -n "$ac_init_help"; then
1084 case $ac_init_help in
1085 short | recursive ) echo "Configuration of GNU Automake 1.9a:";;
1086 esac
1087 cat <<\_ACEOF
1089 Report bugs to <bug-automake@gnu.org>.
1090 _ACEOF
1093 if test "$ac_init_help" = "recursive"; then
1094 # If there are subdirs, report their specific --help.
1095 ac_popdir=`pwd`
1096 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1097 test -d $ac_dir || continue
1098 ac_builddir=.
1100 if test "$ac_dir" != .; then
1101 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1102 # A "../" for each directory in $ac_dir_suffix.
1103 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1104 else
1105 ac_dir_suffix= ac_top_builddir=
1108 case $srcdir in
1109 .) # No --srcdir option. We are building in place.
1110 ac_srcdir=.
1111 if test -z "$ac_top_builddir"; then
1112 ac_top_srcdir=.
1113 else
1114 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1115 fi ;;
1116 [\\/]* | ?:[\\/]* ) # Absolute name.
1117 ac_srcdir=$srcdir$ac_dir_suffix;
1118 ac_top_srcdir=$srcdir ;;
1119 *) # Relative name.
1120 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1121 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1122 esac
1124 # Do not use `cd foo && pwd` to compute absolute names, because
1125 # the directories may not exist.
1126 case `pwd` in
1127 .) ac_abs_builddir="$ac_dir";;
1129 case "$ac_dir" in
1130 .) ac_abs_builddir=`pwd`;;
1131 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1132 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1133 esac;;
1134 esac
1135 case $ac_abs_builddir in
1136 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1138 case ${ac_top_builddir}. in
1139 .) ac_abs_top_builddir=$ac_abs_builddir;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1141 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1142 esac;;
1143 esac
1144 case $ac_abs_builddir in
1145 .) ac_abs_srcdir=$ac_srcdir;;
1147 case $ac_srcdir in
1148 .) ac_abs_srcdir=$ac_abs_builddir;;
1149 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1150 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1151 esac;;
1152 esac
1153 case $ac_abs_builddir in
1154 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1156 case $ac_top_srcdir in
1157 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1158 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1159 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1160 esac;;
1161 esac
1163 cd $ac_dir
1164 # Check for guested configure; otherwise get Cygnus style configure.
1165 if test -f $ac_srcdir/configure.gnu; then
1166 echo
1167 $SHELL $ac_srcdir/configure.gnu --help=recursive
1168 elif test -f $ac_srcdir/configure; then
1169 echo
1170 $SHELL $ac_srcdir/configure --help=recursive
1171 elif test -f $ac_srcdir/configure.ac ||
1172 test -f $ac_srcdir/configure.in; then
1173 echo
1174 $ac_configure --help
1175 else
1176 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1178 cd "$ac_popdir"
1179 done
1182 test -n "$ac_init_help" && exit 0
1183 if $ac_init_version; then
1184 cat <<\_ACEOF
1185 GNU Automake configure 1.9a
1186 generated by GNU Autoconf 2.59c
1188 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
1189 2003, 2004 Free Software Foundation, Inc.
1190 This configure script is free software; the Free Software Foundation
1191 gives unlimited permission to copy, distribute and modify it.
1192 _ACEOF
1193 exit 0
1195 exec 5>config.log
1196 cat >&5 <<_ACEOF
1197 This file contains any messages produced by compilers while
1198 running configure, to aid debugging if configure makes a mistake.
1200 It was created by GNU Automake $as_me 1.9a, which was
1201 generated by GNU Autoconf 2.59c. Invocation command line was
1203 $ $0 $@
1205 _ACEOF
1207 cat <<_ASUNAME
1208 ## --------- ##
1209 ## Platform. ##
1210 ## --------- ##
1212 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1213 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1214 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1215 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1216 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1218 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1219 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1221 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1222 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1223 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1224 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1225 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1226 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1227 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1229 _ASUNAME
1231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1232 for as_dir in $PATH
1234 IFS=$as_save_IFS
1235 test -z "$as_dir" && as_dir=.
1236 echo "PATH: $as_dir"
1237 done
1239 } >&5
1241 cat >&5 <<_ACEOF
1244 ## ----------- ##
1245 ## Core tests. ##
1246 ## ----------- ##
1248 _ACEOF
1251 # Keep a trace of the command line.
1252 # Strip out --no-create and --no-recursion so they do not pile up.
1253 # Strip out --silent because we don't want to record it for future runs.
1254 # Also quote any args containing shell meta-characters.
1255 # Make two passes to allow for proper duplicate-argument suppression.
1256 ac_configure_args=
1257 ac_configure_args0=
1258 ac_configure_args1=
1259 ac_sep=
1260 ac_must_keep_next=false
1261 for ac_pass in 1 2
1263 for ac_arg
1265 case $ac_arg in
1266 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1267 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1268 | -silent | --silent | --silen | --sile | --sil)
1269 continue ;;
1270 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1271 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1272 esac
1273 case $ac_pass in
1274 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1276 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1277 if test $ac_must_keep_next = true; then
1278 ac_must_keep_next=false # Got value, back to normal.
1279 else
1280 case $ac_arg in
1281 *=* | --config-cache | -C | -disable-* | --disable-* \
1282 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1283 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1284 | -with-* | --with-* | -without-* | --without-* | --x)
1285 case "$ac_configure_args0 " in
1286 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1287 esac
1289 -* ) ac_must_keep_next=true ;;
1290 esac
1292 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1293 # Get rid of the leading space.
1294 ac_sep=" "
1296 esac
1297 done
1298 done
1299 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1300 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1302 # When interrupted or exit'd, cleanup temporary files, and complete
1303 # config.log. We remove comments because anyway the quotes in there
1304 # would cause problems or look ugly.
1305 # WARNING: Be sure not to use single quotes in there, as some shells,
1306 # such as our DU 5.0 friend, will then `close' the trap.
1307 trap 'exit_status=$?
1308 # Save into config.log some information that might help in debugging.
1310 echo
1312 cat <<\_ASBOX
1313 ## ---------------- ##
1314 ## Cache variables. ##
1315 ## ---------------- ##
1316 _ASBOX
1317 echo
1318 # The following way of writing the cache mishandles newlines in values,
1320 (set) 2>&1 |
1321 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1322 *ac_space=\ *)
1323 sed -n \
1324 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1328 sed -n \
1329 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1331 esac;
1333 echo
1335 cat <<\_ASBOX
1336 ## ----------------- ##
1337 ## Output variables. ##
1338 ## ----------------- ##
1339 _ASBOX
1340 echo
1341 for ac_var in $ac_subst_vars
1343 eval ac_val=$`echo $ac_var`
1344 echo "$ac_var='"'"'$ac_val'"'"'"
1345 done | sort
1346 echo
1348 if test -n "$ac_subst_files"; then
1349 cat <<\_ASBOX
1350 ## ------------- ##
1351 ## Output files. ##
1352 ## ------------- ##
1353 _ASBOX
1354 echo
1355 for ac_var in $ac_subst_files
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1359 done | sort
1360 echo
1363 if test -s confdefs.h; then
1364 cat <<\_ASBOX
1365 ## ----------- ##
1366 ## confdefs.h. ##
1367 ## ----------- ##
1368 _ASBOX
1369 echo
1370 sed "/^$/d" confdefs.h | sort
1371 echo
1373 test "$ac_signal" != 0 &&
1374 echo "$as_me: caught signal $ac_signal"
1375 echo "$as_me: exit $exit_status"
1376 } >&5
1377 rm -f core *.core &&
1378 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1379 exit $exit_status
1381 for ac_signal in 1 2 13 15; do
1382 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1383 done
1384 ac_signal=0
1386 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1387 rm -f -r conftest* confdefs.h
1388 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1389 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1390 ac_space=' '
1391 echo "$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space" >confdefs.h
1393 # Predefined preprocessor variables.
1395 cat >>confdefs.h <<_ACEOF
1396 #define PACKAGE_NAME "$PACKAGE_NAME"
1397 _ACEOF
1400 cat >>confdefs.h <<_ACEOF
1401 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1402 _ACEOF
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1407 _ACEOF
1410 cat >>confdefs.h <<_ACEOF
1411 #define PACKAGE_STRING "$PACKAGE_STRING"
1412 _ACEOF
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1417 _ACEOF
1420 # Let the site file select an alternate cache file if it wants to.
1421 # Prefer explicitly selected file to automatically selected ones.
1422 if test -z "$CONFIG_SITE"; then
1423 if test "x$prefix" != xNONE; then
1424 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1425 else
1426 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1429 for ac_site_file in $CONFIG_SITE; do
1430 if test -r "$ac_site_file"; then
1431 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1432 echo "$as_me: loading site script $ac_site_file" >&6;}
1433 sed 's/^/| /' "$ac_site_file" >&5
1434 . "$ac_site_file"
1436 done
1438 if test -r "$cache_file"; then
1439 # Some versions of bash will fail to source /dev/null (special
1440 # files actually), so we avoid doing that.
1441 if test -f "$cache_file"; then
1442 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1443 echo "$as_me: loading cache $cache_file" >&6;}
1444 case $cache_file in
1445 [\\/]* | ?:[\\/]* ) . $cache_file;;
1446 *) . ./$cache_file;;
1447 esac
1449 else
1450 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1451 echo "$as_me: creating cache $cache_file" >&6;}
1452 >$cache_file
1455 # Check that the precious variables saved in the cache have kept the same
1456 # value.
1457 ac_cache_corrupted=false
1458 for ac_var in `(set) 2>&1 |
1459 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1460 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1461 eval ac_new_set=\$ac_env_${ac_var}_set
1462 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1463 eval ac_new_val="\$ac_env_${ac_var}_value"
1464 case $ac_old_set,$ac_new_set in
1465 set,)
1466 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1467 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1468 ac_cache_corrupted=: ;;
1469 ,set)
1470 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1472 ac_cache_corrupted=: ;;
1473 ,);;
1475 if test "x$ac_old_val" != "x$ac_new_val"; then
1476 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1477 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1478 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1479 echo "$as_me: former value: $ac_old_val" >&2;}
1480 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1481 echo "$as_me: current value: $ac_new_val" >&2;}
1482 ac_cache_corrupted=:
1483 fi;;
1484 esac
1485 # Pass precious variables to config.status.
1486 if test "$ac_new_set" = set; then
1487 case $ac_new_val in
1488 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1489 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1490 *) ac_arg=$ac_var=$ac_new_val ;;
1491 esac
1492 case " $ac_configure_args " in
1493 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1494 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1495 esac
1497 done
1498 if $ac_cache_corrupted; then
1499 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1500 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1501 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1502 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1503 { (exit 1); exit 1; }; }
1506 ac_ext=c
1507 ac_cpp='$CPP $CPPFLAGS'
1508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1540 ac_aux_dir=
1541 for ac_dir in lib $srcdir/lib; do
1542 if test -f $ac_dir/install-sh; then
1543 ac_aux_dir=$ac_dir
1544 ac_install_sh="$ac_aux_dir/install-sh -c"
1545 break
1546 elif test -f $ac_dir/install.sh; then
1547 ac_aux_dir=$ac_dir
1548 ac_install_sh="$ac_aux_dir/install.sh -c"
1549 break
1550 elif test -f $ac_dir/shtool; then
1551 ac_aux_dir=$ac_dir
1552 ac_install_sh="$ac_aux_dir/shtool install -c"
1553 break
1555 done
1556 if test -z "$ac_aux_dir"; then
1557 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1558 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1559 { (exit 1); exit 1; }; }
1561 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1562 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1563 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1566 # Make sure we can run config.sub.
1567 $ac_config_sub sun4 >/dev/null 2>&1 ||
1568 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1569 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1570 { (exit 1); exit 1; }; }
1572 echo "$as_me:$LINENO: checking build system type" >&5
1573 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1574 if test "${ac_cv_build+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 else
1577 ac_cv_build_alias=$build_alias
1578 test -z "$ac_cv_build_alias" &&
1579 ac_cv_build_alias=`$ac_config_guess`
1580 test -z "$ac_cv_build_alias" &&
1581 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1582 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1583 { (exit 1); exit 1; }; }
1584 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1585 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1586 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1587 { (exit 1); exit 1; }; }
1590 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1591 echo "${ECHO_T}$ac_cv_build" >&6
1592 build=$ac_cv_build
1593 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1594 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1595 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1599 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1600 # way we can run Autoconf tests from configure (or from the test
1601 # suite) without being bothered by `missing'.
1602 am_AUTOCONF="${AUTOCONF-autoconf}"
1605 am__api_version='1.9a'
1607 # Find a good install program. We prefer a C program (faster),
1608 # so one script is as good as another. But avoid the broken or
1609 # incompatible versions:
1610 # SysV /etc/install, /usr/sbin/install
1611 # SunOS /usr/etc/install
1612 # IRIX /sbin/install
1613 # AIX /bin/install
1614 # AmigaOS /C/install, which installs bootblocks on floppy discs
1615 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1616 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1617 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1618 # OS/2's system install, which has a completely different semantic
1619 # ./install, which can be erroneously created by make from ./install.sh.
1620 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1621 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1622 if test -z "$INSTALL"; then
1623 if test "${ac_cv_path_install+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1625 else
1626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1627 for as_dir in $PATH
1629 IFS=$as_save_IFS
1630 test -z "$as_dir" && as_dir=.
1631 # Account for people who put trailing slashes in PATH elements.
1632 case $as_dir/ in
1633 ./ | .// | /cC/* | \
1634 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1635 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1636 /usr/ucb/* ) ;;
1638 # OSF1 and SCO ODT 3.0 have their own names for install.
1639 # Don't use installbsd from OSF since it installs stuff as root
1640 # by default.
1641 for ac_prog in ginstall scoinst install; do
1642 for ac_exec_ext in '' $ac_executable_extensions; do
1643 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1644 if test $ac_prog = install &&
1645 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1646 # AIX install. It has an incompatible calling convention.
1648 elif test $ac_prog = install &&
1649 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1650 # program-specific install script used by HP pwplus--don't use.
1652 else
1653 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1654 break 3
1657 done
1658 done
1660 esac
1661 done
1665 if test "${ac_cv_path_install+set}" = set; then
1666 INSTALL=$ac_cv_path_install
1667 else
1668 # As a last resort, use the slow shell script. Don't cache a
1669 # value for INSTALL within a source directory, because that will
1670 # break other packages using the cache if that directory is
1671 # removed, or if the value is a relative name.
1672 INSTALL=$ac_install_sh
1675 echo "$as_me:$LINENO: result: $INSTALL" >&5
1676 echo "${ECHO_T}$INSTALL" >&6
1678 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1679 # It thinks the first close brace ends the variable substitution.
1680 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1682 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1684 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1686 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1687 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1688 # Just in case
1689 sleep 1
1690 echo timestamp > conftest.file
1691 # Do `set' in a subshell so we don't clobber the current shell's
1692 # arguments. Must try -L first in case configure is actually a
1693 # symlink; some systems play weird games with the mod time of symlinks
1694 # (eg FreeBSD returns the mod time of the symlink's containing
1695 # directory).
1696 if (
1697 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1698 if test "$*" = "X"; then
1699 # -L didn't work.
1700 set X `ls -t $srcdir/configure conftest.file`
1702 rm -f conftest.file
1703 if test "$*" != "X $srcdir/configure conftest.file" \
1704 && test "$*" != "X conftest.file $srcdir/configure"; then
1706 # If neither matched, then we have a broken ls. This can happen
1707 # if, for instance, CONFIG_SHELL is bash and it inherits a
1708 # broken ls alias from the environment. This has actually
1709 # happened. Such a system could not be considered "sane".
1710 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1711 alias in your environment" >&5
1712 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1713 alias in your environment" >&2;}
1714 { (exit 1); exit 1; }; }
1717 test "$2" = conftest.file
1719 then
1720 # Ok.
1722 else
1723 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1724 Check your system clock" >&5
1725 echo "$as_me: error: newly created file is older than distributed files!
1726 Check your system clock" >&2;}
1727 { (exit 1); exit 1; }; }
1729 echo "$as_me:$LINENO: result: yes" >&5
1730 echo "${ECHO_T}yes" >&6
1731 test "$program_prefix" != NONE &&
1732 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1733 # Use a double $ so make ignores it.
1734 test "$program_suffix" != NONE &&
1735 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1736 # Double any \ or $. echo might interpret backslashes.
1737 # By default was `s,x,x', remove it if useless.
1738 cat <<\_ACEOF >conftest.sed
1739 s/[\\$]/&&/g;s/;s,x,x,$//
1740 _ACEOF
1741 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1742 rm -f conftest.sed
1744 # expand $ac_aux_dir to an absolute path
1745 am_aux_dir=`cd $ac_aux_dir && pwd`
1747 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1748 # Use eval to expand $SHELL
1749 if eval "$MISSING --run true"; then
1750 am_missing_run="$MISSING --run "
1751 else
1752 am_missing_run=
1753 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1754 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1757 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1758 # We used to keeping the `.' as first argument, in order to
1759 # allow $(mkdir_p) to be used without argument. As in
1760 # $(mkdir_p) $(somedir)
1761 # where $(somedir) is conditionally defined. However this is wrong
1762 # for two reasons:
1763 # 1. if the package is installed by a user who cannot write `.'
1764 # make install will fail,
1765 # 2. the above comment should most certainly read
1766 # $(mkdir_p) $(DESTDIR)$(somedir)
1767 # so it does not work when $(somedir) is undefined and
1768 # $(DESTDIR) is not.
1769 # To support the latter case, we have to write
1770 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1771 # so the `.' trick is pointless.
1772 mkdir_p='mkdir -p --'
1773 else
1774 # On NextStep and OpenStep, the `mkdir' command does not
1775 # recognize any option. It will interpret all options as
1776 # directories to create, and then abort because `.' already
1777 # exists.
1778 for d in ./-p ./--version;
1780 test -d $d && rmdir $d
1781 done
1782 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1783 if test -f "$ac_aux_dir/mkinstalldirs"; then
1784 mkdir_p='$(mkinstalldirs)'
1785 else
1786 mkdir_p='$(install_sh) -d'
1790 for ac_prog in gawk mawk nawk awk
1792 # Extract the first word of "$ac_prog", so it can be a program name with args.
1793 set dummy $ac_prog; ac_word=$2
1794 echo "$as_me:$LINENO: checking for $ac_word" >&5
1795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1796 if test "${ac_cv_prog_AWK+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1798 else
1799 if test -n "$AWK"; then
1800 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1801 else
1802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803 for as_dir in $PATH
1805 IFS=$as_save_IFS
1806 test -z "$as_dir" && as_dir=.
1807 for ac_exec_ext in '' $ac_executable_extensions; do
1808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1809 ac_cv_prog_AWK="$ac_prog"
1810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1811 break 2
1813 done
1814 done
1818 AWK=$ac_cv_prog_AWK
1819 if test -n "$AWK"; then
1820 echo "$as_me:$LINENO: result: $AWK" >&5
1821 echo "${ECHO_T}$AWK" >&6
1822 else
1823 echo "$as_me:$LINENO: result: no" >&5
1824 echo "${ECHO_T}no" >&6
1827 test -n "$AWK" && break
1828 done
1830 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1831 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1832 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1833 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 else
1836 cat >conftest.make <<\_ACEOF
1837 SHELL = /bin/sh
1838 all:
1839 @echo 'ac_maketemp=X"$(MAKE)"'
1840 _ACEOF
1841 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1842 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1843 if test "$ac_maketemp" != X ; then
1844 eval ac_cv_prog_make_${ac_make}_set=yes
1845 else
1846 eval ac_cv_prog_make_${ac_make}_set=no
1848 rm -f conftest.make
1850 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1851 echo "$as_me:$LINENO: result: yes" >&5
1852 echo "${ECHO_T}yes" >&6
1853 SET_MAKE=
1854 else
1855 echo "$as_me:$LINENO: result: no" >&5
1856 echo "${ECHO_T}no" >&6
1857 SET_MAKE="MAKE=${MAKE-make}"
1860 rm -rf .tst 2>/dev/null
1861 mkdir .tst 2>/dev/null
1862 if test -d .tst; then
1863 am__leading_dot=.
1864 else
1865 am__leading_dot=_
1867 rmdir .tst 2>/dev/null
1869 # test to see if srcdir already configured
1870 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1871 test -f $srcdir/config.status; then
1872 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1873 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1874 { (exit 1); exit 1; }; }
1877 # test whether we have cygpath
1878 if test -z "$CYGPATH_W"; then
1879 if (cygpath --version) >/dev/null 2>/dev/null; then
1880 CYGPATH_W='cygpath -w'
1881 else
1882 CYGPATH_W=echo
1887 # Define the identity of the package.
1888 PACKAGE='automake'
1889 VERSION='1.9a'
1892 cat >>confdefs.h <<_ACEOF
1893 #define PACKAGE "$PACKAGE"
1894 _ACEOF
1897 cat >>confdefs.h <<_ACEOF
1898 #define VERSION "$VERSION"
1899 _ACEOF
1901 # Some tools Automake needs.
1903 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1906 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1909 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1912 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1915 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1917 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1919 # Installed binaries are usually stripped using `strip' when the user
1920 # run `make install-strip'. However `strip' might not be the right
1921 # tool to use in cross-compilation environments, therefore Automake
1922 # will honor the `STRIP' environment variable to overrule this program.
1923 if test "$cross_compiling" != no; then
1924 if test -n "$ac_tool_prefix"; then
1925 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1926 set dummy ${ac_tool_prefix}strip; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_STRIP+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 else
1932 if test -n "$STRIP"; then
1933 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1934 else
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in $PATH
1938 IFS=$as_save_IFS
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1942 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1944 break 2
1946 done
1947 done
1951 STRIP=$ac_cv_prog_STRIP
1952 if test -n "$STRIP"; then
1953 echo "$as_me:$LINENO: result: $STRIP" >&5
1954 echo "${ECHO_T}$STRIP" >&6
1955 else
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1961 if test -z "$ac_cv_prog_STRIP"; then
1962 ac_ct_STRIP=$STRIP
1963 # Extract the first word of "strip", so it can be a program name with args.
1964 set dummy strip; ac_word=$2
1965 echo "$as_me:$LINENO: checking for $ac_word" >&5
1966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1967 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 else
1970 if test -n "$ac_ct_STRIP"; then
1971 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1972 else
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 for as_dir in $PATH
1976 IFS=$as_save_IFS
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1980 ac_cv_prog_ac_ct_STRIP="strip"
1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1982 break 2
1984 done
1985 done
1989 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1990 if test -n "$ac_ct_STRIP"; then
1991 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1992 echo "${ECHO_T}$ac_ct_STRIP" >&6
1993 else
1994 echo "$as_me:$LINENO: result: no" >&5
1995 echo "${ECHO_T}no" >&6
1998 if test "x$ac_ct_STRIP" = x; then
1999 STRIP=":"
2000 else
2001 if test "$build" != "$host"; then
2002 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2003 whose name does not start with the host triplet. If you think this
2004 configuration is useful to you, please write to autoconf@gnu.org." >&5
2005 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2006 whose name does not start with the host triplet. If you think this
2007 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2009 STRIP=$ac_ct_STRIP
2011 else
2012 STRIP="$ac_cv_prog_STRIP"
2016 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2018 # We need awk for the "check" target. The system "awk" is bad on
2019 # some platforms.
2020 # Always define AMTAR for backward compatibility.
2022 AMTAR=${AMTAR-"${am_missing_run}tar"}
2024 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2031 # The API version is the base version. We must guarantee
2032 # compatibility for all releases with the same API version.
2033 # Our current rule is that:
2034 # * All releases, including the prereleases, in an X.Y series
2035 # are compatible. So 1.5.1c is compatible with 1.5.
2036 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2037 # aren't the same.
2038 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2041 # A versioned directory, defined here for convenience.
2042 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2045 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2046 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2047 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4"
2048 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
2050 # Extract the first word of "perl", so it can be a program name with args.
2051 set dummy perl; ac_word=$2
2052 echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2054 if test "${ac_cv_path_PERL+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 else
2057 case $PERL in
2058 [\\/]* | ?:[\\/]*)
2059 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2069 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 break 2
2073 done
2074 done
2077 esac
2079 PERL=$ac_cv_path_PERL
2081 if test -n "$PERL"; then
2082 echo "$as_me:$LINENO: result: $PERL" >&5
2083 echo "${ECHO_T}$PERL" >&6
2084 else
2085 echo "$as_me:$LINENO: result: no" >&5
2086 echo "${ECHO_T}no" >&6
2089 if test -z "$PERL"; then
2090 { { echo "$as_me:$LINENO: error: perl not found" >&5
2091 echo "$as_me: error: perl not found" >&2;}
2092 { (exit 1); exit 1; }; }
2094 $PERL -e 'require 5.006;' || {
2095 { { echo "$as_me:$LINENO: error: perl 5.6 or better is required. If you have several perl
2096 versions installed, select the one Automake should use using
2097 ./configure PERL=/path/to/perl" >&5
2098 echo "$as_me: error: perl 5.6 or better is required. If you have several perl
2099 versions installed, select the one Automake should use using
2100 ./configure PERL=/path/to/perl" >&2;}
2101 { (exit 1); exit 1; }; }
2104 # The test suite will skip some tests if tex is absent.
2105 # Extract the first word of "tex", so it can be a program name with args.
2106 set dummy tex; ac_word=$2
2107 echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2109 if test "${ac_cv_prog_TEX+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 else
2112 if test -n "$TEX"; then
2113 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2114 else
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 for as_dir in $PATH
2118 IFS=$as_save_IFS
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_TEX="tex"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 break 2
2126 done
2127 done
2131 TEX=$ac_cv_prog_TEX
2132 if test -n "$TEX"; then
2133 echo "$as_me:$LINENO: result: $TEX" >&5
2134 echo "${ECHO_T}$TEX" >&6
2135 else
2136 echo "$as_me:$LINENO: result: no" >&5
2137 echo "${ECHO_T}no" >&6
2141 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2142 # deletion of any files created (such as those added to
2143 # autom4te.cache). We used to perform only the last of the three
2144 # following tests, but some users were unable to figure out that their
2145 # installation was broken since --version appeared to work.
2147 echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2148 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6
2149 if test "${am_cv_autoconf_installed+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 else
2152 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2153 (eval $am_AUTOCONF --version) >&5 2>&5
2154 ac_status=$?
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); };
2157 then
2158 am_cv_autoconf_installed=yes
2159 else
2160 am_cv_autoconf_installed=no
2163 echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2164 echo "${ECHO_T}$am_cv_autoconf_installed" >&6
2165 if test "$am_cv_autoconf_installed" = no; then
2166 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2167 Please make sure it is installed and in your PATH." >&5
2168 echo "$as_me: error: Autoconf 2.58 or better is required.
2169 Please make sure it is installed and in your PATH." >&2;}
2170 { (exit 1); exit 1; }; }
2173 echo "$as_me:$LINENO: checking whether autoconf works" >&5
2174 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6
2175 if test "${am_cv_autoconf_works+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 else
2178 mkdir conftest
2179 echo 'AC''_INIT' > conftest/conftest.ac
2180 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2181 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2182 ac_status=$?
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); };
2185 then
2186 am_cv_autoconf_works=yes
2187 else
2188 am_cv_autoconf_works=no
2190 rm -rf conftest
2192 echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2193 echo "${ECHO_T}$am_cv_autoconf_works" >&6
2194 if test "$am_cv_autoconf_works" = no; then
2195 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2196 Please check config.log for error messages before this one." >&5
2197 echo "$as_me: error: The installed version of autoconf does not work.
2198 Please check config.log for error messages before this one." >&2;}
2199 { (exit 1); exit 1; }; }
2202 echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2203 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6
2204 if test "${am_cv_autoconf_version+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 else
2207 mkdir conftest
2208 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2209 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2210 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2211 ac_status=$?
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); };
2214 then
2215 am_cv_autoconf_version=yes
2216 else
2217 am_cv_autoconf_version=no
2219 rm -rf conftest
2221 echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2222 echo "${ECHO_T}$am_cv_autoconf_version" >&6
2223 if test "$am_cv_autoconf_version" = no; then
2224 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2225 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2226 { (exit 1); exit 1; }; }
2229 # Test for ln. We need use it to install the versioned binaries.
2230 echo "$as_me:$LINENO: checking whether ln works" >&5
2231 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
2232 if test "${am_cv_prog_ln+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 else
2236 rm -f conftest conftest.file
2237 : >conftest.file
2238 if ln conftest.file conftest 2>/dev/null; then
2239 am_cv_prog_ln=ln
2240 else
2241 am_cv_prog_ln='cp -p'
2243 rm -f conftest conftest.file
2246 LN=$am_cv_prog_ln
2248 result=no
2249 test "x$am_cv_prog_ln" = xln && result=yes
2250 echo "$as_me:$LINENO: result: $result" >&5
2251 echo "${ECHO_T}$result" >&6
2253 # The amount we should wait after modifying files depends on the platform.
2254 # On Windows '95, '98 and ME, files modifications have 2-seconds
2255 # granularity and can be up to 3 seconds in the future w.r.t. the
2256 # system clock. When it is important to ensure one file is older
2257 # than another we wait at least 5 seconds between creations.
2258 case $build in
2259 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2260 *) MODIFICATION_DELAY=2;;
2261 esac
2264 # Test for things needed by the test suite.
2265 echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2266 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
2267 if test "${ac_cv_path_GREP+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 else
2270 # Extract the first word of "grep ggrep" to use in msg output
2271 if test -z "$GREP"; then
2272 set dummy grep ggrep; ac_prog_name=$2
2273 if test "${ac_cv_path_GREP+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 else
2276 ac_path_GREP_found=false
2277 # Loop through the user's path and test for each of PROGNAME-LIST
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 as_dummy="$PATH:/usr/xpg4/bin"
2280 for as_dir in $as_dummy
2282 IFS=$as_save_IFS
2283 test -z "$as_dir" && as_dir=.
2284 for ac_prog in grep ggrep; do
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2287 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2288 # Check for GNU ac_path_GREP and select it if it is found.
2289 # Check for GNU $ac_path_GREP
2290 if "$ac_path_GREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2291 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:
2292 else
2293 ac_count=0
2294 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2295 while :
2297 cat "conftest.in" "conftest.in" >"conftest.tmp"
2298 mv "conftest.tmp" "conftest.in"
2299 cp "conftest.in" "conftest.nl"
2300 echo 'GREP' >> "conftest.nl"
2301 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2302 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2303 ac_count=`expr $ac_count + 1`
2304 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2305 # Best one so far, save it but keep looking for a better one
2306 ac_cv_path_GREP="$ac_path_GREP"
2307 ac_path_GREP_max=$ac_count
2309 # 10*(2^10) chars as input seems more than enough
2310 test $ac_count -gt 10 && break
2311 done
2312 rm -f conftest.*
2316 $ac_path_GREP_found && break 3
2317 done
2318 done
2320 done
2325 GREP="$ac_cv_path_GREP"
2326 if test -z "$GREP"; then
2327 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2328 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2329 { (exit 1); exit 1; }; }
2332 else
2333 ac_cv_path_GREP=$GREP
2338 echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2339 echo "${ECHO_T}$ac_cv_path_GREP" >&6
2340 GREP="$ac_cv_path_GREP"
2343 echo "$as_me:$LINENO: checking for egrep" >&5
2344 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2345 if test "${ac_cv_path_EGREP+set}" = set; then
2346 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 else
2348 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1
2349 then ac_cv_path_EGREP="$GREP -E"
2350 else
2351 # Extract the first word of "egrep" to use in msg output
2352 if test -z "$EGREP"; then
2353 set dummy egrep; ac_prog_name=$2
2354 if test "${ac_cv_path_EGREP+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 else
2357 ac_path_EGREP_found=false
2358 # Loop through the user's path and test for each of PROGNAME-LIST
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 as_dummy="$PATH:/usr/xpg4/bin"
2361 for as_dir in $as_dummy
2363 IFS=$as_save_IFS
2364 test -z "$as_dir" && as_dir=.
2365 for ac_prog in egrep; do
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2368 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2369 # Check for GNU ac_path_EGREP and select it if it is found.
2370 # Check for GNU $ac_path_EGREP
2371 if "$ac_path_EGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2372 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:
2373 else
2374 ac_count=0
2375 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2376 while :
2378 cat "conftest.in" "conftest.in" >"conftest.tmp"
2379 mv "conftest.tmp" "conftest.in"
2380 cp "conftest.in" "conftest.nl"
2381 echo 'EGREP' >> "conftest.nl"
2382 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2383 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2384 ac_count=`expr $ac_count + 1`
2385 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2386 # Best one so far, save it but keep looking for a better one
2387 ac_cv_path_EGREP="$ac_path_EGREP"
2388 ac_path_EGREP_max=$ac_count
2390 # 10*(2^10) chars as input seems more than enough
2391 test $ac_count -gt 10 && break
2392 done
2393 rm -f conftest.*
2397 $ac_path_EGREP_found && break 3
2398 done
2399 done
2401 done
2406 EGREP="$ac_cv_path_EGREP"
2407 if test -z "$EGREP"; then
2408 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2409 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2410 { (exit 1); exit 1; }; }
2413 else
2414 ac_cv_path_EGREP=$EGREP
2420 echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2421 echo "${ECHO_T}$ac_cv_path_EGREP" >&6
2422 EGREP="$ac_cv_path_EGREP"
2425 echo "$as_me:$LINENO: checking for fgrep" >&5
2426 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
2427 if test "${ac_cv_path_FGREP+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 else
2430 if echo 'ab*c' | ($GREP -F 'ab*c') >/dev/null 2>&1
2431 then ac_cv_path_FGREP="$GREP -F"
2432 else
2433 # Extract the first word of "fgrep" to use in msg output
2434 if test -z "$FGREP"; then
2435 set dummy fgrep; ac_prog_name=$2
2436 if test "${ac_cv_path_FGREP+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 else
2439 ac_path_FGREP_found=false
2440 # Loop through the user's path and test for each of PROGNAME-LIST
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442 as_dummy="$PATH:/usr/xpg4/bin"
2443 for as_dir in $as_dummy
2445 IFS=$as_save_IFS
2446 test -z "$as_dir" && as_dir=.
2447 for ac_prog in fgrep; do
2448 for ac_exec_ext in '' $ac_executable_extensions; do
2449 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2450 { test -f "$ac_path_FGREP" && $as_executable_p "$ac_path_FGREP"; } || continue
2451 # Check for GNU ac_path_FGREP and select it if it is found.
2452 # Check for GNU $ac_path_FGREP
2453 if "$ac_path_FGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2454 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:
2455 else
2456 ac_count=0
2457 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2458 while :
2460 cat "conftest.in" "conftest.in" >"conftest.tmp"
2461 mv "conftest.tmp" "conftest.in"
2462 cp "conftest.in" "conftest.nl"
2463 echo 'FGREP' >> "conftest.nl"
2464 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2465 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2466 ac_count=`expr $ac_count + 1`
2467 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2468 # Best one so far, save it but keep looking for a better one
2469 ac_cv_path_FGREP="$ac_path_FGREP"
2470 ac_path_FGREP_max=$ac_count
2472 # 10*(2^10) chars as input seems more than enough
2473 test $ac_count -gt 10 && break
2474 done
2475 rm -f conftest.*
2479 $ac_path_FGREP_found && break 3
2480 done
2481 done
2483 done
2488 FGREP="$ac_cv_path_FGREP"
2489 if test -z "$FGREP"; then
2490 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2491 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2492 { (exit 1); exit 1; }; }
2495 else
2496 ac_cv_path_FGREP=$FGREP
2502 echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2503 echo "${ECHO_T}$ac_cv_path_FGREP" >&6
2504 FGREP="$ac_cv_path_FGREP"
2508 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"
2510 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2512 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2515 cat >confcache <<\_ACEOF
2516 # This file is a shell script that caches the results of configure
2517 # tests run on this system so they can be shared between configure
2518 # scripts and configure runs, see configure's option --config-cache.
2519 # It is not useful on other systems. If it contains results you don't
2520 # want to keep, you may remove or edit it.
2522 # config.status only pays attention to the cache file if you give it
2523 # the --recheck option to rerun configure.
2525 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2526 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2527 # following values.
2529 _ACEOF
2531 # The following way of writing the cache mishandles newlines in values,
2532 # but we know of no workaround that is simple, portable, and efficient.
2533 # So, don't put newlines in cache variables' values.
2534 # Ultrix sh set writes to stderr and can't be redirected directly,
2535 # and sets the high bit in the cache file unless we assign to the vars.
2537 (set) 2>&1 |
2538 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2539 *ac_space=\ *)
2540 # `set' does not quote correctly, so add quotes (double-quote
2541 # substitution turns \\\\ into \\, and sed turns \\ into \).
2542 sed -n \
2543 "s/'/'\\\\''/g;
2544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2547 # `set' quotes correctly as required by POSIX, so do not add quotes.
2548 sed -n \
2549 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2551 esac;
2553 sed '
2554 t clear
2555 : clear
2556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2557 t end
2558 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2559 : end' >>confcache
2560 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2561 if test -w $cache_file; then
2562 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2563 cat confcache >$cache_file
2564 else
2565 echo "not updating unwritable cache $cache_file"
2568 rm -f confcache
2570 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2571 # Let make expand exec_prefix.
2572 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2574 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2575 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2576 # trailing colons and then remove the whole line if VPATH becomes empty
2577 # (actually we leave an empty line to preserve line numbers).
2578 if test "x$srcdir" = x.; then
2579 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2580 s/:*\$(srcdir):*/:/;
2581 s/:*\${srcdir}:*/:/;
2582 s/:*@srcdir@:*/:/;
2583 s/^\([^=]*=[ ]*\):*/\1/;
2584 s/:*$//;
2585 s/^[^=]*=[ ]*$//;
2589 # Transform confdefs.h into DEFS.
2590 # Protect against shell expansion while executing Makefile rules.
2591 # Protect against Makefile macro expansion.
2593 # If the first sed substitution is executed (which looks for macros that
2594 # take arguments), then we branch to the quote section. Otherwise,
2595 # look for a macro that doesn't take arguments.
2596 cat >confdef2opt.sed <<\_ACEOF
2597 t clear
2598 : clear
2599 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2600 t quote
2601 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2602 t quote
2604 : quote
2605 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2606 s,\[,\\&,g
2607 s,\],\\&,g
2608 s,\$,$$,g
2610 _ACEOF
2611 # We use echo to avoid assuming a particular line-breaking character.
2612 # The extra dot is to prevent the shell from consuming trailing
2613 # line-breaks from the sub-command output. A line-break within
2614 # single-quotes doesn't work because, if this script is created in a
2615 # platform that uses two characters for line-breaks (e.g., DOS), tr
2616 # would break.
2617 ac_LF_and_DOT=`echo; echo .`
2618 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2619 rm -f confdef2opt.sed
2622 ac_libobjs=
2623 ac_ltlibobjs=
2624 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2625 # 1. Remove the extension, and $U if already installed.
2626 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2627 ac_i=`echo "$ac_i" | sed "$ac_script"`
2628 # 2. Add them.
2629 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2630 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2631 done
2632 LIBOBJS=$ac_libobjs
2634 LTLIBOBJS=$ac_ltlibobjs
2638 : ${CONFIG_STATUS=./config.status}
2639 ac_clean_files_save=$ac_clean_files
2640 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2641 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2642 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2643 cat >$CONFIG_STATUS <<_ACEOF
2644 #! $SHELL
2645 # Generated by $as_me.
2646 # Run this file to recreate the current configuration.
2647 # Compiler output produced by configure, useful for debugging
2648 # configure, is in config.log if it exists.
2650 debug=false
2651 ac_cs_recheck=false
2652 ac_cs_silent=false
2653 SHELL=\${CONFIG_SHELL-$SHELL}
2654 _ACEOF
2656 cat >>$CONFIG_STATUS <<\_ACEOF
2657 ## --------------------- ##
2658 ## M4sh Initialization. ##
2659 ## --------------------- ##
2661 # Be Bourne compatible
2662 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2663 emulate sh
2664 NULLCMD=:
2665 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2666 # is contrary to our usage. Disable this feature.
2667 alias -g '${1+"$@"}'='"$@"'
2668 setopt NO_GLOB_SUBST
2669 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2670 set -o posix
2672 BIN_SH=xpg4; export BIN_SH # for Tru64
2673 DUALCASE=1; export DUALCASE # for MKS sh
2676 # PATH needs CR
2677 # Avoid depending upon Character Ranges.
2678 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2679 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2680 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2681 as_cr_digits='0123456789'
2682 as_cr_alnum=$as_cr_Letters$as_cr_digits
2684 # The user is always right.
2685 if test "${PATH_SEPARATOR+set}" != set; then
2686 echo "#! /bin/sh" >conf$$.sh
2687 echo "exit 0" >>conf$$.sh
2688 chmod +x conf$$.sh
2689 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2690 PATH_SEPARATOR=';'
2691 else
2692 PATH_SEPARATOR=:
2694 rm -f conf$$.sh
2697 # Support unset when possible.
2698 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2699 as_unset=unset
2700 else
2701 as_unset=false
2705 # Find who we are. Look in the path if we contain no path at all
2706 # relative or not.
2707 case $0 in
2708 *[\\/]* ) as_myself=$0 ;;
2709 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710 for as_dir in $PATH
2712 IFS=$as_save_IFS
2713 test -z "$as_dir" && as_dir=.
2714 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2715 done
2718 esac
2719 # We did not find ourselves, most probably we were run as `sh COMMAND'
2720 # in which case we are not to be found in the path.
2721 if test "x$as_myself" = x; then
2722 as_myself=$0
2724 if test ! -f "$as_myself"; then
2725 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
2726 echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
2727 { (exit 1); exit 1; }; }
2730 # Work around bugs in pre-3.0 UWIN ksh.
2731 for as_var in ENV MAIL MAILPATH
2732 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2733 done
2734 PS1='$ '
2735 PS2='> '
2736 PS4='+ '
2738 # NLS nuisances.
2739 for as_var in \
2740 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2741 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2742 LC_TELEPHONE LC_TIME
2744 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2745 eval $as_var=C; export $as_var
2746 else
2747 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2749 done
2751 # Required to use basename.
2752 if expr a : '\(a\)' >/dev/null 2>&1; then
2753 as_expr=expr
2754 else
2755 as_expr=false
2758 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2759 as_basename=basename
2760 else
2761 as_basename=false
2765 # Name of the executable.
2766 as_me=`$as_basename "$0" ||
2767 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2768 X"$0" : 'X\(//\)$' \| \
2769 X"$0" : 'X\(/\)$' \| \
2770 . : '\(.\)' 2>/dev/null ||
2771 echo X/"$0" |
2772 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2773 /^X\/\(\/\/\)$/{ s//\1/; q; }
2774 /^X\/\(\/\).*/{ s//\1/; q; }
2775 s/.*/./; q'`
2780 as_lineno_1=$LINENO
2781 as_lineno_2=$LINENO
2782 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2783 test "x$as_lineno_1" != "x$as_lineno_2" &&
2784 test "x$as_lineno_3" = "x$as_lineno_2" || {
2786 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2787 # uniformly replaced by the line number. The first 'sed' inserts a
2788 # line-number line after each line using $LINENO; the second 'sed'
2789 # does the real work. The second script uses 'N' to pair each
2790 # line-number line with the line containing $LINENO, and appends
2791 # trailing '-' during substitution so that $LINENO is not a special
2792 # case at line end.
2793 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2794 # scripts with optimization help from Paolo Bonzini. Blame Lee
2795 # E. McMahon (1931-1989) for sed's syntax. :-)
2796 sed -n '
2798 /[$]LINENO/=
2799 ' <$as_myself |
2800 sed '
2801 s,[$]LINENO.*,&-,
2802 t lineno
2804 : lineno
2806 : loop
2807 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2808 t loop
2809 s,-\n.*,,
2810 ' >$as_me.lineno &&
2811 chmod +x $as_me.lineno ||
2812 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2813 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2814 { (exit 1); exit 1; }; }
2816 # Don't try to exec as it changes $[0], causing all sort of problems
2817 # (the dirname of $[0] is not the place where we might find the
2818 # original and so on. Autoconf is especially sensible to this).
2819 . ./$as_me.lineno
2820 # Exit status is that of the last command.
2821 exit
2825 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2826 *c*,-n*) ECHO_N= ECHO_C='
2827 ' ECHO_T=' ' ;;
2828 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2829 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2830 esac
2832 if expr a : '\(a\)' >/dev/null 2>&1; then
2833 as_expr=expr
2834 else
2835 as_expr=false
2838 rm -f conf$$ conf$$.exe conf$$.file
2839 echo >conf$$.file
2840 if ln -s conf$$.file conf$$ 2>/dev/null; then
2841 # We could just check for DJGPP; but this test a) works b) is more generic
2842 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2843 if test -f conf$$.exe; then
2844 # Don't use ln at all; we don't have any links
2845 as_ln_s='cp -p'
2846 else
2847 as_ln_s='ln -s'
2849 elif ln conf$$.file conf$$ 2>/dev/null; then
2850 as_ln_s=ln
2851 else
2852 as_ln_s='cp -p'
2854 rm -f conf$$ conf$$.exe conf$$.file
2856 if mkdir -p . 2>/dev/null; then
2857 as_mkdir_p=:
2858 else
2859 test -d ./-p && rmdir ./-p
2860 as_mkdir_p=false
2863 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2864 # systems may use methods other than mode bits to determine executability.
2865 cat >conf$$.file <<_ASEOF
2866 #! /bin/sh
2867 exit 0
2868 _ASEOF
2869 chmod +x conf$$.file
2870 if test -x conf$$.file >/dev/null 2>&1; then
2871 as_executable_p="test -x"
2872 else
2873 as_executable_p=:
2875 rm -f conf$$.file
2877 # Sed expression to map a string onto a valid CPP name.
2878 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2880 # Sed expression to map a string onto a valid variable name.
2881 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2884 # IFS
2885 # We need space, tab and new line, in precisely that order.
2886 as_nl='
2888 IFS=" $as_nl"
2890 # CDPATH.
2891 $as_unset CDPATH
2893 exec 6>&1
2895 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2896 # report actual input values of CONFIG_FILES etc. instead of their
2897 # values after options handling. Logging --version etc. is OK.
2898 exec 5>>config.log
2900 echo
2901 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2902 ## Running $as_me. ##
2903 _ASBOX
2904 } >&5
2905 cat >&5 <<_CSEOF
2907 This file was extended by GNU Automake $as_me 1.9a, which was
2908 generated by GNU Autoconf 2.59c. Invocation command line was
2910 CONFIG_FILES = $CONFIG_FILES
2911 CONFIG_HEADERS = $CONFIG_HEADERS
2912 CONFIG_LINKS = $CONFIG_LINKS
2913 CONFIG_COMMANDS = $CONFIG_COMMANDS
2914 $ $0 $@
2916 _CSEOF
2917 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2918 echo >&5
2919 _ACEOF
2921 # Files that config.status was made for.
2922 if test -n "$ac_config_files"; then
2923 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2926 if test -n "$ac_config_headers"; then
2927 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2930 if test -n "$ac_config_links"; then
2931 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2934 if test -n "$ac_config_commands"; then
2935 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2938 cat >>$CONFIG_STATUS <<\_ACEOF
2940 ac_cs_usage="\
2941 \`$as_me' instantiates files from templates according to the
2942 current configuration.
2944 Usage: $0 [OPTIONS] [FILE]...
2946 -h, --help print this help, then exit
2947 -V, --version print version number, then exit
2948 -q, --quiet do not print progress messages
2949 -d, --debug don't remove temporary files
2950 --recheck update $as_me by reconfiguring in the same conditions
2951 --file=FILE[:TEMPLATE]
2952 instantiate the configuration file FILE
2954 Configuration files:
2955 $config_files
2957 Report bugs to <bug-autoconf@gnu.org>."
2958 _ACEOF
2960 cat >>$CONFIG_STATUS <<_ACEOF
2961 ac_cs_version="\\
2962 GNU Automake config.status 1.9a
2963 configured by $0, generated by GNU Autoconf 2.59c,
2964 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2966 Copyright (C) 2004 Free Software Foundation, Inc.
2967 This config.status script is free software; the Free Software Foundation
2968 gives unlimited permission to copy, distribute and modify it."
2969 srcdir=$srcdir
2970 INSTALL="$INSTALL"
2971 _ACEOF
2973 cat >>$CONFIG_STATUS <<\_ACEOF
2974 # If no file are specified by the user, then we need to provide default
2975 # value. By we need to know if files were specified by the user.
2976 ac_need_defaults=:
2977 while test $# != 0
2979 case $1 in
2980 --*=*)
2981 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2982 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2983 ac_shift=:
2986 ac_option=$1
2987 ac_optarg=$2
2988 ac_shift=shift
2990 *) # This is not an option, so the user has probably given explicit
2991 # arguments.
2992 ac_option=$1
2993 ac_need_defaults=false;;
2994 esac
2996 case $ac_option in
2997 # Handling of the options.
2998 _ACEOF
2999 cat >>$CONFIG_STATUS <<\_ACEOF
3000 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3001 ac_cs_recheck=: ;;
3002 --version | --vers* | -V )
3003 echo "$ac_cs_version"; exit 0 ;;
3004 --he | --h)
3005 # Conflict between --help and --header
3006 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3007 Try \`$0 --help' for more information." >&5
3008 echo "$as_me: error: ambiguous option: $1
3009 Try \`$0 --help' for more information." >&2;}
3010 { (exit 1); exit 1; }; };;
3011 --help | --hel | -h )
3012 echo "$ac_cs_usage"; exit 0 ;;
3013 --debug | --d* | -d )
3014 debug=: ;;
3015 --file | --fil | --fi | --f )
3016 $ac_shift
3017 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3018 ac_need_defaults=false;;
3019 --header | --heade | --head | --hea )
3020 $ac_shift
3021 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3022 ac_need_defaults=false;;
3023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3024 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3025 ac_cs_silent=: ;;
3027 # This is an error.
3028 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3029 Try \`$0 --help' for more information." >&5
3030 echo "$as_me: error: unrecognized option: $1
3031 Try \`$0 --help' for more information." >&2;}
3032 { (exit 1); exit 1; }; } ;;
3034 *) ac_config_targets="$ac_config_targets $1" ;;
3036 esac
3037 shift
3038 done
3040 ac_configure_extra_args=
3042 if $ac_cs_silent; then
3043 exec 6>/dev/null
3044 ac_configure_extra_args="$ac_configure_extra_args --silent"
3047 _ACEOF
3048 cat >>$CONFIG_STATUS <<_ACEOF
3049 if \$ac_cs_recheck; then
3050 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3051 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3054 _ACEOF
3056 cat >>$CONFIG_STATUS <<_ACEOF
3058 # INIT-COMMANDS section.
3061 APIVERSION=$APIVERSION
3063 _ACEOF
3067 cat >>$CONFIG_STATUS <<\_ACEOF
3068 for ac_config_target in $ac_config_targets
3070 case "$ac_config_target" in
3071 # Handling of arguments.
3072 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3073 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3074 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3075 "lib/Automake/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3076 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3077 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3078 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3079 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3080 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3081 "tests/aclocal-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3082 "tests/automake-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3083 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3084 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3085 { (exit 1); exit 1; }; };;
3086 esac
3087 done
3089 # If the user did not use the arguments to specify the items to instantiate,
3090 # then the envvar interface is used. Set only those that are not.
3091 # We use the long form for the default assignment because of an extremely
3092 # bizarre bug on SunOS 4.1.3.
3093 if $ac_need_defaults; then
3094 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3097 # Have a temporary directory for convenience. Make it in the build tree
3098 # simply because there is no reason against having it here, and in addition,
3099 # creating and moving files from /tmp can sometimes cause problems.
3100 # Hook for its removal unless debugging.
3101 $debug ||
3103 trap 'exit_status=$?; rm -fr "$tmp" && exit $exit_status' 0
3104 trap '{ (exit 1); exit 1; }' 1 2 13 15
3106 # Create a (secure) tmp directory for tmp files.
3109 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3110 test -n "$tmp" && test -d "$tmp"
3111 } ||
3113 tmp=./conf$$-$RANDOM
3114 (umask 077 && mkdir "$tmp")
3115 } ||
3117 echo "$me: cannot create a temporary directory in ." >&2
3118 { (exit 1); exit 1; }
3121 _ACEOF
3123 cat >>$CONFIG_STATUS <<_ACEOF
3126 # CONFIG_FILES section.
3129 # No need to generate the scripts if there are no CONFIG_FILES.
3130 # This happens for instance when ./config.status config.h
3131 if test -n "\$CONFIG_FILES"; then
3132 # Protect against being on the right side of a sed subst in config.status.
3133 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3134 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >"\$tmp/subs.sed" <<\\CEOF
3135 s,@SHELL@,$SHELL,;t t
3136 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3137 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3138 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3139 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3140 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3141 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3142 s,@exec_prefix@,$exec_prefix,;t t
3143 s,@prefix@,$prefix,;t t
3144 s,@program_transform_name@,$program_transform_name,;t t
3145 s,@bindir@,$bindir,;t t
3146 s,@sbindir@,$sbindir,;t t
3147 s,@libexecdir@,$libexecdir,;t t
3148 s,@datarootdir@,$datarootdir,;t t
3149 s,@datadir@,$datadir,;t t
3150 s,@sysconfdir@,$sysconfdir,;t t
3151 s,@sharedstatedir@,$sharedstatedir,;t t
3152 s,@localstatedir@,$localstatedir,;t t
3153 s,@includedir@,$includedir,;t t
3154 s,@oldincludedir@,$oldincludedir,;t t
3155 s,@docdir@,$docdir,;t t
3156 s,@infodir@,$infodir,;t t
3157 s,@htmldir@,$htmldir,;t t
3158 s,@dvidir@,$dvidir,;t t
3159 s,@pdfdir@,$pdfdir,;t t
3160 s,@psdir@,$psdir,;t t
3161 s,@libdir@,$libdir,;t t
3162 s,@localedir@,$localedir,;t t
3163 s,@mandir@,$mandir,;t t
3164 s,@build_alias@,$build_alias,;t t
3165 s,@host_alias@,$host_alias,;t t
3166 s,@target_alias@,$target_alias,;t t
3167 s,@DEFS@,$DEFS,;t t
3168 s,@ECHO_C@,$ECHO_C,;t t
3169 s,@ECHO_N@,$ECHO_N,;t t
3170 s,@ECHO_T@,$ECHO_T,;t t
3171 s,@LIBS@,$LIBS,;t t
3172 s,@build@,$build,;t t
3173 s,@build_cpu@,$build_cpu,;t t
3174 s,@build_vendor@,$build_vendor,;t t
3175 s,@build_os@,$build_os,;t t
3176 s,@am_AUTOCONF@,$am_AUTOCONF,;t t
3177 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3178 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3179 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3180 s,@CYGPATH_W@,$CYGPATH_W,;t t
3181 s,@PACKAGE@,$PACKAGE,;t t
3182 s,@VERSION@,$VERSION,;t t
3183 s,@ACLOCAL@,$ACLOCAL,;t t
3184 s,@AUTOCONF@,$AUTOCONF,;t t
3185 s,@AUTOMAKE@,$AUTOMAKE,;t t
3186 s,@AUTOHEADER@,$AUTOHEADER,;t t
3187 s,@MAKEINFO@,$MAKEINFO,;t t
3188 s,@install_sh@,$install_sh,;t t
3189 s,@STRIP@,$STRIP,;t t
3190 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3191 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3192 s,@mkdir_p@,$mkdir_p,;t t
3193 s,@AWK@,$AWK,;t t
3194 s,@SET_MAKE@,$SET_MAKE,;t t
3195 s,@am__leading_dot@,$am__leading_dot,;t t
3196 s,@AMTAR@,$AMTAR,;t t
3197 s,@am__tar@,$am__tar,;t t
3198 s,@am__untar@,$am__untar,;t t
3199 s,@APIVERSION@,$APIVERSION,;t t
3200 s,@pkgvdatadir@,$pkgvdatadir,;t t
3201 s,@PERL@,$PERL,;t t
3202 s,@TEX@,$TEX,;t t
3203 s,@LN@,$LN,;t t
3204 s,@MODIFICATION_DELAY@,$MODIFICATION_DELAY,;t t
3205 s,@GREP@,$GREP,;t t
3206 s,@EGREP@,$EGREP,;t t
3207 s,@FGREP@,$FGREP,;t t
3208 s,@LIBOBJS@,$LIBOBJS,;t t
3209 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3210 CEOF
3212 _ACEOF
3214 cat >>$CONFIG_STATUS <<\_ACEOF
3215 # Split the substitutions into bite-sized pieces for seds with
3216 # small command number limits, like on Digital OSF/1 and HP-UX.
3217 ac_max_sed_lines=48
3218 ac_sed_frag=1 # Number of current file.
3219 ac_beg=1 # First line for current file.
3220 ac_end=$ac_max_sed_lines # Line after last line for current file.
3221 ac_more_lines=:
3222 ac_sed_cmds=
3223 while $ac_more_lines; do
3224 if test $ac_beg -gt 1; then
3225 sed "1,${ac_beg}d; ${ac_end}q" "$tmp/subs.sed" >"$tmp/subs.frag"
3226 else
3227 sed "${ac_end}q" "$tmp/subs.sed" >"$tmp/subs.frag"
3229 if test ! -s "$tmp/subs.frag"; then
3230 ac_more_lines=false
3231 else
3232 # The purpose of the label and of the branching condition is to
3233 # speed up the sed processing (if there are no `@' at all, there
3234 # is no need to browse any of the substitutions).
3235 # These are the two extra sed commands mentioned above.
3236 (echo ':t
3237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat "$tmp/subs.frag") >"$tmp/subs-$ac_sed_frag.sed"
3238 if test -z "$ac_sed_cmds"; then
3239 ac_sed_cmds="sed -f '$tmp/subs-$ac_sed_frag.sed'"
3240 else
3241 ac_sed_cmds="$ac_sed_cmds | sed -f '$tmp/subs-$ac_sed_frag.sed'"
3243 ac_sed_frag=`expr $ac_sed_frag + 1`
3244 ac_beg=$ac_end
3245 ac_end=`expr $ac_end + $ac_max_sed_lines`
3247 done
3248 if test -z "$ac_sed_cmds"; then
3249 ac_sed_cmds=cat
3251 fi # test -n "$CONFIG_FILES"
3253 _ACEOF
3254 cat >>$CONFIG_STATUS <<\_ACEOF
3255 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3256 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3257 case $ac_file in
3258 - | *:- | *:-:* ) # input from stdin
3259 cat >"$tmp/stdin"
3260 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3261 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3262 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3263 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3264 * ) ac_file_in=$ac_file.in ;;
3265 esac
3267 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3268 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3269 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3270 X"$ac_file" : 'X\(//\)[^/]' \| \
3271 X"$ac_file" : 'X\(//\)$' \| \
3272 X"$ac_file" : 'X\(/\)' \| \
3273 . : '\(.\)' 2>/dev/null ||
3274 echo X"$ac_file" |
3275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3276 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3277 /^X\(\/\/\)$/{ s//\1/; q; }
3278 /^X\(\/\).*/{ s//\1/; q; }
3279 s/.*/./; q'`
3280 { if $as_mkdir_p; then
3281 test -d "$ac_dir" || mkdir -p "$ac_dir"
3282 else
3283 as_dir="$ac_dir"
3284 as_dirs=
3285 while test ! -d "$as_dir"; do
3286 as_dirs="$as_dir $as_dirs"
3287 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3288 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3289 X"$as_dir" : 'X\(//\)[^/]' \| \
3290 X"$as_dir" : 'X\(//\)$' \| \
3291 X"$as_dir" : 'X\(/\)' \| \
3292 . : '\(.\)' 2>/dev/null ||
3293 echo X"$as_dir" |
3294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3295 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3296 /^X\(\/\/\)$/{ s//\1/; q; }
3297 /^X\(\/\).*/{ s//\1/; q; }
3298 s/.*/./; q'`
3299 done
3300 test ! -n "$as_dirs" || mkdir $as_dirs
3301 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3302 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3303 { (exit 1); exit 1; }; }; }
3305 ac_builddir=.
3307 if test "$ac_dir" != .; then
3308 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3309 # A "../" for each directory in $ac_dir_suffix.
3310 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3311 else
3312 ac_dir_suffix= ac_top_builddir=
3315 case $srcdir in
3316 .) # No --srcdir option. We are building in place.
3317 ac_srcdir=.
3318 if test -z "$ac_top_builddir"; then
3319 ac_top_srcdir=.
3320 else
3321 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3322 fi ;;
3323 [\\/]* | ?:[\\/]* ) # Absolute name.
3324 ac_srcdir=$srcdir$ac_dir_suffix;
3325 ac_top_srcdir=$srcdir ;;
3326 *) # Relative name.
3327 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3328 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3329 esac
3331 # Do not use `cd foo && pwd` to compute absolute names, because
3332 # the directories may not exist.
3333 case `pwd` in
3334 .) ac_abs_builddir="$ac_dir";;
3336 case "$ac_dir" in
3337 .) ac_abs_builddir=`pwd`;;
3338 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3339 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3340 esac;;
3341 esac
3342 case $ac_abs_builddir in
3343 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3345 case ${ac_top_builddir}. in
3346 .) ac_abs_top_builddir=$ac_abs_builddir;;
3347 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3348 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3349 esac;;
3350 esac
3351 case $ac_abs_builddir in
3352 .) ac_abs_srcdir=$ac_srcdir;;
3354 case $ac_srcdir in
3355 .) ac_abs_srcdir=$ac_abs_builddir;;
3356 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3357 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3358 esac;;
3359 esac
3360 case $ac_abs_builddir in
3361 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3363 case $ac_top_srcdir in
3364 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3365 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3366 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3367 esac;;
3368 esac
3371 case $INSTALL in
3372 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3373 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3374 esac
3376 if test x"$ac_file" != x-; then
3377 { echo "$as_me:$LINENO: creating $ac_file" >&5
3378 echo "$as_me: creating $ac_file" >&6;}
3379 rm -f "$ac_file"
3381 # Let's still pretend it is `configure' which instantiates (i.e., don't
3382 # use $as_me), people would be surprised to read:
3383 # /* config.h. Generated by config.status. */
3384 if test x"$ac_file" = x-; then
3385 configure_input=
3386 else
3387 configure_input="$ac_file. "
3389 configure_input=$configure_input"Generated from `echo $ac_file_in |
3390 sed 's,.*/,,'` by configure."
3392 # First look for the input files in the build tree, otherwise in the
3393 # src tree.
3394 ac_file_inputs=`IFS=:
3395 for f in $ac_file_in; do
3396 case $f in
3397 -) echo "$tmp/stdin" ;;
3398 [\\/$]*)
3399 # Absolute (can't be DOS-style, as IFS=:)
3400 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3401 echo "$as_me: error: cannot find input file: $f" >&2;}
3402 { (exit 1); exit 1; }; }
3403 echo "$f";;
3404 *) # Relative
3405 if test -f "$f"; then
3406 # Build tree
3407 echo "$f"
3408 elif test -f "$srcdir/$f"; then
3409 # Source tree
3410 echo "$srcdir/$f"
3411 else
3412 # /dev/null tree
3413 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3414 echo "$as_me: error: cannot find input file: $f" >&2;}
3415 { (exit 1); exit 1; }; }
3416 fi;;
3417 esac
3418 done` || { (exit 1); exit 1; }
3419 _ACEOF
3420 cat >>$CONFIG_STATUS <<_ACEOF
3421 sed "$ac_vpsub
3422 $extrasub
3423 _ACEOF
3424 cat >>$CONFIG_STATUS <<\_ACEOF
3426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3427 s,@configure_input@,$configure_input,;t t
3428 s,@srcdir@,$ac_srcdir,;t t
3429 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3430 s,@top_srcdir@,$ac_top_srcdir,;t t
3431 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3432 s,@builddir@,$ac_builddir,;t t
3433 s,@abs_builddir@,$ac_abs_builddir,;t t
3434 s,@top_builddir@,$ac_top_builddir,;t t
3435 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3436 s,@INSTALL@,$ac_INSTALL,;t t
3437 " $ac_file_inputs | (eval "$ac_sed_cmds") >"$tmp/out"
3438 rm -f "$tmp/stdin"
3439 if test x"$ac_file" != x-; then
3440 mv "$tmp/out" $ac_file
3441 else
3442 cat "$tmp/out"
3443 rm -f "$tmp/out"
3446 # Run the commands associated with the file.
3447 case $ac_file in
3448 tests/aclocal-${APIVERSION} ) chmod +x tests/aclocal-${APIVERSION} ;;
3449 tests/automake-${APIVERSION} ) chmod +x tests/automake-${APIVERSION} ;;
3450 esac
3451 done
3452 _ACEOF
3454 cat >>$CONFIG_STATUS <<\_ACEOF
3456 { (exit 0); exit 0; }
3457 _ACEOF
3458 chmod +x $CONFIG_STATUS
3459 ac_clean_files=$ac_clean_files_save
3462 # configure is writing to config.log, and then calls config.status.
3463 # config.status does its own redirection, appending to config.log.
3464 # Unfortunately, on DOS this fails, as config.log is still kept open
3465 # by configure, so config.status won't be able to write to it; its
3466 # output is simply discarded. So we exec the FD to /dev/null,
3467 # effectively closing config.log, so it can be properly (re)opened and
3468 # appended to by config.status. When coming back to configure, we
3469 # need to make the FD available again.
3470 if test "$no_create" != yes; then
3471 ac_cs_success=:
3472 ac_config_status_args=
3473 test "$silent" = yes &&
3474 ac_config_status_args="$ac_config_status_args --quiet"
3475 exec 5>/dev/null
3476 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3477 exec 5>>config.log
3478 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3479 # would make configure fail if this is the last instruction.
3480 $ac_cs_success || { (exit 1); exit 1; }