* automake.in (parse_arguments, MAIN): Give more precise
[automake.git] / configure
blob4b448c8a278161824349a0f373296332f69ccb96
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59a for GNU Automake 1.8a.
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 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
25 DUALCASE=1; export DUALCASE # for MKS sh
28 # PATH needs CR
29 # Avoid depending upon Character Ranges.
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits='0123456789'
34 as_cr_alnum=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
40 chmod +x conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42 PATH_SEPARATOR=';'
43 else
44 PATH_SEPARATOR=:
46 rm -f conf$$.sh
49 # Support unset when possible.
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51 as_unset=unset
52 else
53 as_unset=false
57 # Find who we are. Look in the path if we contain no path at all
58 # relative or not.
59 case $0 in
60 *[\\/]* ) as_myself=$0 ;;
61 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62 for as_dir in $PATH
64 IFS=$as_save_IFS
65 test -z "$as_dir" && as_dir=.
66 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
67 done
70 esac
71 # We did not find ourselves, most probably we were run as `sh COMMAND'
72 # in which case we are not to be found in the path.
73 if test "x$as_myself" = x; then
74 as_myself=$0
76 if test ! -f "$as_myself"; then
77 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
78 { (exit 1); exit 1; }; }
81 # Work around bugs in pre-3.0 UWIN ksh.
82 $as_unset ENV MAIL MAILPATH
83 PS1='$ '
84 PS2='> '
85 PS4='+ '
87 # NLS nuisances.
88 for as_var in \
89 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
90 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
91 LC_TELEPHONE LC_TIME
93 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
94 eval $as_var=C; export $as_var
95 else
96 $as_unset $as_var
98 done
100 # Required to use basename.
101 if expr a : '\(a\)' >/dev/null 2>&1; then
102 as_expr=expr
103 else
104 as_expr=false
107 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
108 as_basename=basename
109 else
110 as_basename=false
114 # Name of the executable.
115 as_me=`$as_basename "$0" ||
116 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
117 X"$0" : 'X\(//\)$' \| \
118 X"$0" : 'X\(/\)$' \| \
119 . : '\(.\)' 2>/dev/null ||
120 echo X/"$0" |
121 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
122 /^X\/\(\/\/\)$/{ s//\1/; q; }
123 /^X\/\(\/\).*/{ s//\1/; q; }
124 s/.*/./; q'`
128 if test "x$CONFIG_SHELL" = x; then
129 if (eval ":") 2>/dev/null; then
130 as_have_required=yes
131 else
132 as_have_required=no
135 if test $as_have_required = yes && (eval ":
136 (func_return () {
137 (exit \$1)
139 func_success () {
140 func_return 0
142 func_failure () {
143 func_return 1
145 func_ret_success () {
146 return 0
148 func_ret_failure () {
149 return 1
152 exitcode=0
153 if func_success; then
155 else
156 exitcode=1
157 echo func_failure succeeded.
160 if func_failure; then
161 exitcode=1
162 echo func_success failed.
165 if func_ret_success; then
167 else
168 exitcode=1
169 echo func_ret_success failed.
172 if func_ret_failure; then
173 exitcode=1
174 echo func_ret_failure succeeded.
177 test \$exitcode = 0) || { (exit 1); exit 1; }
180 as_lineno_1=\$LINENO
181 as_lineno_2=\$LINENO
182 as_lineno_3=\`(expr \$as_lineno_1 + 1) 2>/dev/null\`
183 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
184 test \"x\$as_lineno_3\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
185 ") 2> /dev/null; then
187 else
188 as_candidate_shells="$SHELL"
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 IFS=$as_save_IFS
193 test -z "$as_dir" && as_dir=.
194 case $as_dir in
196 for as_base in sh bash ksh sh5; do
197 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
198 done
199 esac
200 done
203 for as_shell in $as_candidate_shells; do
204 if { $as_shell 2> /dev/null <<\_ASEOF
205 # Be Bourne compatible
206 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
207 emulate sh
208 NULLCMD=:
209 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
210 # is contrary to our usage. Disable this feature.
211 alias -g '${1+"$@"}'='"$@"'
212 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
213 set -o posix
215 DUALCASE=1; export DUALCASE # for MKS sh
218 _ASEOF
219 }; then
220 CONFIG_SHELL=$as_shell
221 as_have_required=yes
222 if { $as_shell 2> /dev/null <<\_ASEOF
223 # Be Bourne compatible
224 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
225 emulate sh
226 NULLCMD=:
227 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
228 # is contrary to our usage. Disable this feature.
229 alias -g '${1+"$@"}'='"$@"'
230 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
231 set -o posix
233 DUALCASE=1; export DUALCASE # for MKS sh
236 (func_return () {
237 (exit $1)
239 func_success () {
240 func_return 0
242 func_failure () {
243 func_return 1
245 func_ret_success () {
246 return 0
248 func_ret_failure () {
249 return 1
252 exitcode=0
253 if func_success; then
255 else
256 exitcode=1
257 echo func_failure succeeded.
260 if func_failure; then
261 exitcode=1
262 echo func_success failed.
265 if func_ret_success; then
267 else
268 exitcode=1
269 echo func_ret_success failed.
272 if func_ret_failure; then
273 exitcode=1
274 echo func_ret_failure succeeded.
277 test $exitcode = 0) || { (exit 1); exit 1; }
280 as_lineno_1=$LINENO
281 as_lineno_2=$LINENO
282 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
283 test "x$as_lineno_1" != "x$as_lineno_2" &&
284 test "x$as_lineno_3" = "x$as_lineno_2") || { (exit 1); exit 1; }
286 _ASEOF
287 }; then
288 break
293 done
295 if test "x$CONFIG_SHELL" != x; then
296 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
297 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
298 export CONFIG_SHELL
299 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
303 if test $as_have_required = no; then
304 echo This script requires a shell more modern than all the
305 echo shells that I found on your system. Please install a
306 echo modern shell, or manually run the script under such a
307 echo shell if you do have one.
308 { (exit 1); exit 1; }
318 (eval "func_return () {
319 (exit \$1)
321 func_success () {
322 func_return 0
324 func_failure () {
325 func_return 1
327 func_ret_success () {
328 return 0
330 func_ret_failure () {
331 return 1
334 exitcode=0
335 if func_success; then
337 else
338 exitcode=1
339 echo func_failure succeeded.
342 if func_failure; then
343 exitcode=1
344 echo func_success failed.
347 if func_ret_success; then
349 else
350 exitcode=1
351 echo func_ret_success failed.
354 if func_ret_failure; then
355 exitcode=1
356 echo func_ret_failure succeeded.
359 test \$exitcode = 0") || {
360 echo No shell found that supports shell functions.
361 echo Please tell autoconf@gnu.org about your system,
362 echo including any error possibly output before this
363 echo message
368 as_lineno_1=$LINENO
369 as_lineno_2=$LINENO
370 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
371 test "x$as_lineno_1" != "x$as_lineno_2" &&
372 test "x$as_lineno_3" = "x$as_lineno_2" || {
374 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
375 # uniformly replaced by the line number. The first 'sed' inserts a
376 # line-number line after each line using $LINENO; the second 'sed'
377 # does the real work. The second script uses 'N' to pair each
378 # line-number line with the line containing $LINENO, and appends
379 # trailing '-' during substitution so that $LINENO is not a special
380 # case at line end.
381 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
382 # scripts with optimization help from Paolo Bonzini. Blame Lee
383 # E. McMahon (1931-1989) for sed's syntax. :-)
384 sed -n '
386 /[$]LINENO/=
387 ' <$as_myself |
388 sed '
389 s,[$]LINENO.*,&-,
390 t lineno
392 : lineno
394 : loop
395 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
396 t loop
397 s,-\n.*,,
398 ' >$as_me.lineno &&
399 chmod +x $as_me.lineno ||
400 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
401 { (exit 1); exit 1; }; }
403 # Don't try to exec as it changes $[0], causing all sort of problems
404 # (the dirname of $[0] is not the place where we might find the
405 # original and so on. Autoconf is especially sensible to this).
406 . ./$as_me.lineno
407 # Exit status is that of the last command.
408 exit
412 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
413 *c*,-n*) ECHO_N= ECHO_C='
414 ' ECHO_T=' ' ;;
415 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
416 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
417 esac
419 if expr a : '\(a\)' >/dev/null 2>&1; then
420 as_expr=expr
421 else
422 as_expr=false
425 rm -f conf$$ conf$$.exe conf$$.file
426 echo >conf$$.file
427 if ln -s conf$$.file conf$$ 2>/dev/null; then
428 # We could just check for DJGPP; but this test a) works b) is more generic
429 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
430 if test -f conf$$.exe; then
431 # Don't use ln at all; we don't have any links
432 as_ln_s='cp -p'
433 else
434 as_ln_s='ln -s'
436 elif ln conf$$.file conf$$ 2>/dev/null; then
437 as_ln_s=ln
438 else
439 as_ln_s='cp -p'
441 rm -f conf$$ conf$$.exe conf$$.file
443 if mkdir -p . 2>/dev/null; then
444 as_mkdir_p=:
445 else
446 test -d ./-p && rmdir ./-p
447 as_mkdir_p=false
450 as_executable_p="test -f"
452 # Sed expression to map a string onto a valid CPP name.
453 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
455 # Sed expression to map a string onto a valid variable name.
456 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
459 # IFS
460 # We need space, tab and new line, in precisely that order.
461 as_nl='
463 IFS=" $as_nl"
465 # CDPATH.
466 $as_unset CDPATH
469 # Name of the host.
470 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
471 # so uname gets run too.
472 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
474 exec 6>&1
477 # Initializations.
479 ac_default_prefix=/usr/local
480 ac_config_libobj_dir=.
481 cross_compiling=no
482 subdirs=
483 MFLAGS=
484 MAKEFLAGS=
485 SHELL=${CONFIG_SHELL-/bin/sh}
487 # Maximum number of lines to put in a shell here document.
488 # This variable seems obsolete. It should probably be removed, and
489 # only ac_max_sed_lines should be used.
490 : ${ac_max_here_lines=38}
492 # Identity of this package.
493 PACKAGE_NAME='GNU Automake'
494 PACKAGE_TARNAME='automake'
495 PACKAGE_VERSION='1.8a'
496 PACKAGE_STRING='GNU Automake 1.8a'
497 PACKAGE_BUGREPORT='bug-automake@gnu.org'
499 ac_unique_file="automake.in"
500 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 datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os 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'
501 ac_subst_files=''
503 # Initialize some variables set by options.
504 ac_init_help=
505 ac_init_version=false
506 # The variables have the same names as the options, with
507 # dashes changed to underlines.
508 cache_file=/dev/null
509 exec_prefix=NONE
510 no_create=
511 no_recursion=
512 prefix=NONE
513 program_prefix=NONE
514 program_suffix=NONE
515 program_transform_name=s,x,x,
516 silent=
517 site=
518 srcdir=
519 verbose=
520 x_includes=NONE
521 x_libraries=NONE
523 # Installation directory options.
524 # These are left unexpanded so users can "make install exec_prefix=/foo"
525 # and all the variables that are supposed to be based on exec_prefix
526 # by default will actually change.
527 # Use braces instead of parens because sh, perl, etc. also accept them.
528 bindir='${exec_prefix}/bin'
529 sbindir='${exec_prefix}/sbin'
530 libexecdir='${exec_prefix}/libexec'
531 datadir='${prefix}/share'
532 sysconfdir='${prefix}/etc'
533 sharedstatedir='${prefix}/com'
534 localstatedir='${prefix}/var'
535 libdir='${exec_prefix}/lib'
536 includedir='${prefix}/include'
537 oldincludedir='/usr/include'
538 infodir='${prefix}/info'
539 mandir='${prefix}/man'
541 ac_prev=
542 for ac_option
544 # If the previous option needs an argument, assign it.
545 if test -n "$ac_prev"; then
546 eval "$ac_prev=\$ac_option"
547 ac_prev=
548 continue
551 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
553 # Accept the important Cygnus configure options, so we can diagnose typos.
555 case $ac_option in
557 -bindir | --bindir | --bindi | --bind | --bin | --bi)
558 ac_prev=bindir ;;
559 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
560 bindir=$ac_optarg ;;
562 -build | --build | --buil | --bui | --bu)
563 ac_prev=build_alias ;;
564 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
565 build_alias=$ac_optarg ;;
567 -cache-file | --cache-file | --cache-fil | --cache-fi \
568 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
569 ac_prev=cache_file ;;
570 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
571 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
572 cache_file=$ac_optarg ;;
574 --config-cache | -C)
575 cache_file=config.cache ;;
577 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
578 ac_prev=datadir ;;
579 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
580 | --da=*)
581 datadir=$ac_optarg ;;
583 -disable-* | --disable-*)
584 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
585 # Reject names that are not valid shell variable names.
586 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
587 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
588 { (exit 1); exit 1; }; }
589 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
590 eval "enable_$ac_feature=no" ;;
592 -enable-* | --enable-*)
593 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
596 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
597 { (exit 1); exit 1; }; }
598 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
599 case $ac_option in
600 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 *) ac_optarg=yes ;;
602 esac
603 eval "enable_$ac_feature='$ac_optarg'" ;;
605 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
606 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
607 | --exec | --exe | --ex)
608 ac_prev=exec_prefix ;;
609 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
610 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
611 | --exec=* | --exe=* | --ex=*)
612 exec_prefix=$ac_optarg ;;
614 -gas | --gas | --ga | --g)
615 # Obsolete; use --with-gas.
616 with_gas=yes ;;
618 -help | --help | --hel | --he | -h)
619 ac_init_help=long ;;
620 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
621 ac_init_help=recursive ;;
622 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
623 ac_init_help=short ;;
625 -host | --host | --hos | --ho)
626 ac_prev=host_alias ;;
627 -host=* | --host=* | --hos=* | --ho=*)
628 host_alias=$ac_optarg ;;
630 -includedir | --includedir | --includedi | --included | --include \
631 | --includ | --inclu | --incl | --inc)
632 ac_prev=includedir ;;
633 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
634 | --includ=* | --inclu=* | --incl=* | --inc=*)
635 includedir=$ac_optarg ;;
637 -infodir | --infodir | --infodi | --infod | --info | --inf)
638 ac_prev=infodir ;;
639 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
640 infodir=$ac_optarg ;;
642 -libdir | --libdir | --libdi | --libd)
643 ac_prev=libdir ;;
644 -libdir=* | --libdir=* | --libdi=* | --libd=*)
645 libdir=$ac_optarg ;;
647 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
648 | --libexe | --libex | --libe)
649 ac_prev=libexecdir ;;
650 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
651 | --libexe=* | --libex=* | --libe=*)
652 libexecdir=$ac_optarg ;;
654 -localstatedir | --localstatedir | --localstatedi | --localstated \
655 | --localstate | --localstat | --localsta | --localst \
656 | --locals | --local | --loca | --loc | --lo)
657 ac_prev=localstatedir ;;
658 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
659 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
660 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
661 localstatedir=$ac_optarg ;;
663 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
664 ac_prev=mandir ;;
665 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
666 mandir=$ac_optarg ;;
668 -nfp | --nfp | --nf)
669 # Obsolete; use --without-fp.
670 with_fp=no ;;
672 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
673 | --no-cr | --no-c | -n)
674 no_create=yes ;;
676 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
677 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
678 no_recursion=yes ;;
680 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
681 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
682 | --oldin | --oldi | --old | --ol | --o)
683 ac_prev=oldincludedir ;;
684 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
685 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
686 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
687 oldincludedir=$ac_optarg ;;
689 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
690 ac_prev=prefix ;;
691 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
692 prefix=$ac_optarg ;;
694 -program-prefix | --program-prefix | --program-prefi | --program-pref \
695 | --program-pre | --program-pr | --program-p)
696 ac_prev=program_prefix ;;
697 -program-prefix=* | --program-prefix=* | --program-prefi=* \
698 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
699 program_prefix=$ac_optarg ;;
701 -program-suffix | --program-suffix | --program-suffi | --program-suff \
702 | --program-suf | --program-su | --program-s)
703 ac_prev=program_suffix ;;
704 -program-suffix=* | --program-suffix=* | --program-suffi=* \
705 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
706 program_suffix=$ac_optarg ;;
708 -program-transform-name | --program-transform-name \
709 | --program-transform-nam | --program-transform-na \
710 | --program-transform-n | --program-transform- \
711 | --program-transform | --program-transfor \
712 | --program-transfo | --program-transf \
713 | --program-trans | --program-tran \
714 | --progr-tra | --program-tr | --program-t)
715 ac_prev=program_transform_name ;;
716 -program-transform-name=* | --program-transform-name=* \
717 | --program-transform-nam=* | --program-transform-na=* \
718 | --program-transform-n=* | --program-transform-=* \
719 | --program-transform=* | --program-transfor=* \
720 | --program-transfo=* | --program-transf=* \
721 | --program-trans=* | --program-tran=* \
722 | --progr-tra=* | --program-tr=* | --program-t=*)
723 program_transform_name=$ac_optarg ;;
725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
726 | -silent | --silent | --silen | --sile | --sil)
727 silent=yes ;;
729 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
730 ac_prev=sbindir ;;
731 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
732 | --sbi=* | --sb=*)
733 sbindir=$ac_optarg ;;
735 -sharedstatedir | --sharedstatedir | --sharedstatedi \
736 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
737 | --sharedst | --shareds | --shared | --share | --shar \
738 | --sha | --sh)
739 ac_prev=sharedstatedir ;;
740 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
741 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
742 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
743 | --sha=* | --sh=*)
744 sharedstatedir=$ac_optarg ;;
746 -site | --site | --sit)
747 ac_prev=site ;;
748 -site=* | --site=* | --sit=*)
749 site=$ac_optarg ;;
751 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
752 ac_prev=srcdir ;;
753 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
754 srcdir=$ac_optarg ;;
756 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
757 | --syscon | --sysco | --sysc | --sys | --sy)
758 ac_prev=sysconfdir ;;
759 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
760 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
761 sysconfdir=$ac_optarg ;;
763 -target | --target | --targe | --targ | --tar | --ta | --t)
764 ac_prev=target_alias ;;
765 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
766 target_alias=$ac_optarg ;;
768 -v | -verbose | --verbose | --verbos | --verbo | --verb)
769 verbose=yes ;;
771 -version | --version | --versio | --versi | --vers | -V)
772 ac_init_version=: ;;
774 -with-* | --with-*)
775 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
778 { echo "$as_me: error: invalid package name: $ac_package" >&2
779 { (exit 1); exit 1; }; }
780 ac_package=`echo $ac_package| sed 's/-/_/g'`
781 case $ac_option in
782 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
783 *) ac_optarg=yes ;;
784 esac
785 eval "with_$ac_package='$ac_optarg'" ;;
787 -without-* | --without-*)
788 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
791 { echo "$as_me: error: invalid package name: $ac_package" >&2
792 { (exit 1); exit 1; }; }
793 ac_package=`echo $ac_package | sed 's/-/_/g'`
794 eval "with_$ac_package=no" ;;
796 --x)
797 # Obsolete; use --with-x.
798 with_x=yes ;;
800 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
801 | --x-incl | --x-inc | --x-in | --x-i)
802 ac_prev=x_includes ;;
803 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
804 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
805 x_includes=$ac_optarg ;;
807 -x-libraries | --x-libraries | --x-librarie | --x-librari \
808 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
809 ac_prev=x_libraries ;;
810 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
811 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
812 x_libraries=$ac_optarg ;;
814 -*) { echo "$as_me: error: unrecognized option: $ac_option
815 Try \`$0 --help' for more information." >&2
816 { (exit 1); exit 1; }; }
819 *=*)
820 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
823 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
824 { (exit 1); exit 1; }; }
825 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
826 eval "$ac_envvar='$ac_optarg'"
827 export $ac_envvar ;;
830 # FIXME: should be removed in autoconf 3.0.
831 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
832 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
833 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
834 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
837 esac
838 done
840 if test -n "$ac_prev"; then
841 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
842 { echo "$as_me: error: missing argument to $ac_option" >&2
843 { (exit 1); exit 1; }; }
846 # Be sure to have absolute paths.
847 for ac_var in exec_prefix prefix
849 eval ac_val=$`echo $ac_var`
850 case $ac_val in
851 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
852 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
853 { (exit 1); exit 1; }; };;
854 esac
855 done
857 # Be sure to have absolute paths.
858 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
859 localstatedir libdir includedir oldincludedir infodir mandir
861 eval ac_val=$`echo $ac_var`
862 case $ac_val in
863 [\\/$]* | ?:[\\/]* ) ;;
864 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
865 { (exit 1); exit 1; }; };;
866 esac
867 done
869 # There might be people who depend on the old broken behavior: `$host'
870 # used to hold the argument of --host etc.
871 # FIXME: To remove some day.
872 build=$build_alias
873 host=$host_alias
874 target=$target_alias
876 # FIXME: To remove some day.
877 if test "x$host_alias" != x; then
878 if test "x$build_alias" = x; then
879 cross_compiling=maybe
880 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
881 If a cross compiler is detected then cross compile mode will be used." >&2
882 elif test "x$build_alias" != "x$host_alias"; then
883 cross_compiling=yes
887 ac_tool_prefix=
888 test -n "$host_alias" && ac_tool_prefix=$host_alias-
890 test "$silent" = yes && exec 6>/dev/null
893 # Find the source files, if location was not specified.
894 if test -z "$srcdir"; then
895 ac_srcdir_defaulted=yes
896 # Try the directory containing this script, then its parent.
897 ac_confdir=`(dirname "$0") 2>/dev/null ||
898 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
899 X"$0" : 'X\(//\)[^/]' \| \
900 X"$0" : 'X\(//\)$' \| \
901 X"$0" : 'X\(/\)' \| \
902 . : '\(.\)' 2>/dev/null ||
903 echo X"$0" |
904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
905 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
906 /^X\(\/\/\)$/{ s//\1/; q; }
907 /^X\(\/\).*/{ s//\1/; q; }
908 s/.*/./; q'`
909 srcdir=$ac_confdir
910 if test ! -r $srcdir/$ac_unique_file; then
911 srcdir=..
913 else
914 ac_srcdir_defaulted=no
916 if test ! -r $srcdir/$ac_unique_file; then
917 if test "$ac_srcdir_defaulted" = yes; then
918 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
919 { (exit 1); exit 1; }; }
920 else
921 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
922 { (exit 1); exit 1; }; }
925 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
926 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
927 { (exit 1); exit 1; }; }
928 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
929 ac_env_build_alias_set=${build_alias+set}
930 ac_env_build_alias_value=$build_alias
931 ac_cv_env_build_alias_set=${build_alias+set}
932 ac_cv_env_build_alias_value=$build_alias
933 ac_env_host_alias_set=${host_alias+set}
934 ac_env_host_alias_value=$host_alias
935 ac_cv_env_host_alias_set=${host_alias+set}
936 ac_cv_env_host_alias_value=$host_alias
937 ac_env_target_alias_set=${target_alias+set}
938 ac_env_target_alias_value=$target_alias
939 ac_cv_env_target_alias_set=${target_alias+set}
940 ac_cv_env_target_alias_value=$target_alias
943 # Report the --help message.
945 if test "$ac_init_help" = "long"; then
946 # Omit some internal or obsolete options to make the list less imposing.
947 # This message is too long to be a string in the A/UX 3.1 sh.
948 cat <<_ACEOF
949 \`configure' configures GNU Automake 1.8a to adapt to many kinds of systems.
951 Usage: $0 [OPTION]... [VAR=VALUE]...
953 To assign environment variables (e.g., CC, CFLAGS...), specify them as
954 VAR=VALUE. See below for descriptions of some of the useful variables.
956 Defaults for the options are specified in brackets.
958 Configuration:
959 -h, --help display this help and exit
960 --help=short display options specific to this package
961 --help=recursive display the short help of all the included packages
962 -V, --version display version information and exit
963 -q, --quiet, --silent do not print \`checking...' messages
964 --cache-file=FILE cache test results in FILE [disabled]
965 -C, --config-cache alias for \`--cache-file=config.cache'
966 -n, --no-create do not create output files
967 --srcdir=DIR find the sources in DIR [configure dir or \`..']
969 _ACEOF
971 cat <<_ACEOF
972 Installation directories:
973 --prefix=PREFIX install architecture-independent files in PREFIX
974 [$ac_default_prefix]
975 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
976 [PREFIX]
978 By default, \`make install' will install all the files in
979 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
980 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
981 for instance \`--prefix=\$HOME'.
983 For better control, use the options below.
985 Fine tuning of the installation directories:
986 --bindir=DIR user executables [EPREFIX/bin]
987 --sbindir=DIR system admin executables [EPREFIX/sbin]
988 --libexecdir=DIR program executables [EPREFIX/libexec]
989 --datadir=DIR read-only architecture-independent data [PREFIX/share]
990 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
991 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
992 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
993 --libdir=DIR object code libraries [EPREFIX/lib]
994 --includedir=DIR C header files [PREFIX/include]
995 --oldincludedir=DIR C header files for non-gcc [/usr/include]
996 --infodir=DIR info documentation [PREFIX/info]
997 --mandir=DIR man documentation [PREFIX/man]
998 _ACEOF
1000 cat <<\_ACEOF
1002 Program names:
1003 --program-prefix=PREFIX prepend PREFIX to installed program names
1004 --program-suffix=SUFFIX append SUFFIX to installed program names
1005 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1007 System types:
1008 --build=BUILD configure for building on BUILD [guessed]
1009 _ACEOF
1012 if test -n "$ac_init_help"; then
1013 case $ac_init_help in
1014 short | recursive ) echo "Configuration of GNU Automake 1.8a:";;
1015 esac
1016 cat <<\_ACEOF
1018 Report bugs to <bug-automake@gnu.org>.
1019 _ACEOF
1022 if test "$ac_init_help" = "recursive"; then
1023 # If there are subdirs, report their specific --help.
1024 ac_popdir=`pwd`
1025 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1026 test -d $ac_dir || continue
1027 ac_builddir=.
1029 if test "$ac_dir" != .; then
1030 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1031 # A "../" for each directory in $ac_dir_suffix.
1032 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1033 else
1034 ac_dir_suffix= ac_top_builddir=
1037 case $srcdir in
1038 .) # No --srcdir option. We are building in place.
1039 ac_srcdir=.
1040 if test -z "$ac_top_builddir"; then
1041 ac_top_srcdir=.
1042 else
1043 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1044 fi ;;
1045 [\\/]* | ?:[\\/]* ) # Absolute path.
1046 ac_srcdir=$srcdir$ac_dir_suffix;
1047 ac_top_srcdir=$srcdir ;;
1048 *) # Relative path.
1049 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1050 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1051 esac
1053 # Do not use `cd foo && pwd` to compute absolute paths, because
1054 # the directories may not exist.
1055 case `pwd` in
1056 .) ac_abs_builddir="$ac_dir";;
1058 case "$ac_dir" in
1059 .) ac_abs_builddir=`pwd`;;
1060 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1061 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1062 esac;;
1063 esac
1064 case $ac_abs_builddir in
1065 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1067 case ${ac_top_builddir}. in
1068 .) ac_abs_top_builddir=$ac_abs_builddir;;
1069 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1070 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1071 esac;;
1072 esac
1073 case $ac_abs_builddir in
1074 .) ac_abs_srcdir=$ac_srcdir;;
1076 case $ac_srcdir in
1077 .) ac_abs_srcdir=$ac_abs_builddir;;
1078 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1079 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1080 esac;;
1081 esac
1082 case $ac_abs_builddir in
1083 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1085 case $ac_top_srcdir in
1086 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1087 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1088 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1089 esac;;
1090 esac
1092 cd $ac_dir
1093 # Check for guested configure; otherwise get Cygnus style configure.
1094 if test -f $ac_srcdir/configure.gnu; then
1095 echo
1096 $SHELL $ac_srcdir/configure.gnu --help=recursive
1097 elif test -f $ac_srcdir/configure; then
1098 echo
1099 $SHELL $ac_srcdir/configure --help=recursive
1100 elif test -f $ac_srcdir/configure.ac ||
1101 test -f $ac_srcdir/configure.in; then
1102 echo
1103 $ac_configure --help
1104 else
1105 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1107 cd $ac_popdir
1108 done
1111 test -n "$ac_init_help" && exit 0
1112 if $ac_init_version; then
1113 cat <<\_ACEOF
1114 GNU Automake configure 1.8a
1115 generated by GNU Autoconf 2.59a
1117 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
1118 2003, 2004 Free Software Foundation, Inc.
1119 This configure script is free software; the Free Software Foundation
1120 gives unlimited permission to copy, distribute and modify it.
1121 _ACEOF
1122 exit 0
1124 exec 5>config.log
1125 cat >&5 <<_ACEOF
1126 This file contains any messages produced by compilers while
1127 running configure, to aid debugging if configure makes a mistake.
1129 It was created by GNU Automake $as_me 1.8a, which was
1130 generated by GNU Autoconf 2.59a. Invocation command line was
1132 $ $0 $@
1134 _ACEOF
1136 cat <<_ASUNAME
1137 ## --------- ##
1138 ## Platform. ##
1139 ## --------- ##
1141 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1142 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1143 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1144 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1145 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1147 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1148 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1150 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1151 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1152 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1153 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1154 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1155 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1156 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1158 _ASUNAME
1160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1161 for as_dir in $PATH
1163 IFS=$as_save_IFS
1164 test -z "$as_dir" && as_dir=.
1165 echo "PATH: $as_dir"
1166 done
1168 } >&5
1170 cat >&5 <<_ACEOF
1173 ## ----------- ##
1174 ## Core tests. ##
1175 ## ----------- ##
1177 _ACEOF
1180 # Keep a trace of the command line.
1181 # Strip out --no-create and --no-recursion so they do not pile up.
1182 # Strip out --silent because we don't want to record it for future runs.
1183 # Also quote any args containing shell meta-characters.
1184 # Make two passes to allow for proper duplicate-argument suppression.
1185 ac_configure_args=
1186 ac_configure_args0=
1187 ac_configure_args1=
1188 ac_sep=
1189 ac_must_keep_next=false
1190 for ac_pass in 1 2
1192 for ac_arg
1194 case $ac_arg in
1195 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1197 | -silent | --silent | --silen | --sile | --sil)
1198 continue ;;
1199 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1200 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1201 esac
1202 case $ac_pass in
1203 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1205 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1206 if test $ac_must_keep_next = true; then
1207 ac_must_keep_next=false # Got value, back to normal.
1208 else
1209 case $ac_arg in
1210 *=* | --config-cache | -C | -disable-* | --disable-* \
1211 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1212 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1213 | -with-* | --with-* | -without-* | --without-* | --x)
1214 case "$ac_configure_args0 " in
1215 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1216 esac
1218 -* ) ac_must_keep_next=true ;;
1219 esac
1221 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1222 # Get rid of the leading space.
1223 ac_sep=" "
1225 esac
1226 done
1227 done
1228 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1229 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1231 # When interrupted or exit'd, cleanup temporary files, and complete
1232 # config.log. We remove comments because anyway the quotes in there
1233 # would cause problems or look ugly.
1234 # WARNING: Be sure not to use single quotes in there, as some shells,
1235 # such as our DU 5.0 friend, will then `close' the trap.
1236 trap 'exit_status=$?
1237 # Save into config.log some information that might help in debugging.
1239 echo
1241 cat <<\_ASBOX
1242 ## ---------------- ##
1243 ## Cache variables. ##
1244 ## ---------------- ##
1245 _ASBOX
1246 echo
1247 # The following way of writing the cache mishandles newlines in values,
1249 (set) 2>&1 |
1250 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1251 *ac_space=\ *)
1252 sed -n \
1253 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1254 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1257 sed -n \
1258 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1260 esac;
1262 echo
1264 cat <<\_ASBOX
1265 ## ----------------- ##
1266 ## Output variables. ##
1267 ## ----------------- ##
1268 _ASBOX
1269 echo
1270 for ac_var in $ac_subst_vars
1272 eval ac_val=$`echo $ac_var`
1273 echo "$ac_var='"'"'$ac_val'"'"'"
1274 done | sort
1275 echo
1277 if test -n "$ac_subst_files"; then
1278 cat <<\_ASBOX
1279 ## ------------- ##
1280 ## Output files. ##
1281 ## ------------- ##
1282 _ASBOX
1283 echo
1284 for ac_var in $ac_subst_files
1286 eval ac_val=$`echo $ac_var`
1287 echo "$ac_var='"'"'$ac_val'"'"'"
1288 done | sort
1289 echo
1292 if test -s confdefs.h; then
1293 cat <<\_ASBOX
1294 ## ----------- ##
1295 ## confdefs.h. ##
1296 ## ----------- ##
1297 _ASBOX
1298 echo
1299 sed "/^$/d" confdefs.h | sort
1300 echo
1302 test "$ac_signal" != 0 &&
1303 echo "$as_me: caught signal $ac_signal"
1304 echo "$as_me: exit $exit_status"
1305 } >&5
1306 rm -f core *.core &&
1307 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1308 exit $exit_status
1310 for ac_signal in 1 2 13 15; do
1311 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1312 done
1313 ac_signal=0
1315 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1316 rm -f -r conftest* confdefs.h
1317 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1318 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1319 ac_space=' '
1320 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
1322 # Predefined preprocessor variables.
1324 cat >>confdefs.h <<_ACEOF
1325 #define PACKAGE_NAME "$PACKAGE_NAME"
1326 _ACEOF
1329 cat >>confdefs.h <<_ACEOF
1330 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1331 _ACEOF
1334 cat >>confdefs.h <<_ACEOF
1335 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1336 _ACEOF
1339 cat >>confdefs.h <<_ACEOF
1340 #define PACKAGE_STRING "$PACKAGE_STRING"
1341 _ACEOF
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1346 _ACEOF
1349 # Let the site file select an alternate cache file if it wants to.
1350 # Prefer explicitly selected file to automatically selected ones.
1351 if test -z "$CONFIG_SITE"; then
1352 if test "x$prefix" != xNONE; then
1353 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1354 else
1355 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1358 for ac_site_file in $CONFIG_SITE; do
1359 if test -r "$ac_site_file"; then
1360 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1361 echo "$as_me: loading site script $ac_site_file" >&6;}
1362 sed 's/^/| /' "$ac_site_file" >&5
1363 . "$ac_site_file"
1365 done
1367 if test -r "$cache_file"; then
1368 # Some versions of bash will fail to source /dev/null (special
1369 # files actually), so we avoid doing that.
1370 if test -f "$cache_file"; then
1371 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1372 echo "$as_me: loading cache $cache_file" >&6;}
1373 case $cache_file in
1374 [\\/]* | ?:[\\/]* ) . $cache_file;;
1375 *) . ./$cache_file;;
1376 esac
1378 else
1379 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1380 echo "$as_me: creating cache $cache_file" >&6;}
1381 >$cache_file
1384 # Check that the precious variables saved in the cache have kept the same
1385 # value.
1386 ac_cache_corrupted=false
1387 for ac_var in `(set) 2>&1 |
1388 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1389 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1390 eval ac_new_set=\$ac_env_${ac_var}_set
1391 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1392 eval ac_new_val="\$ac_env_${ac_var}_value"
1393 case $ac_old_set,$ac_new_set in
1394 set,)
1395 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1396 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1397 ac_cache_corrupted=: ;;
1398 ,set)
1399 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1400 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1401 ac_cache_corrupted=: ;;
1402 ,);;
1404 if test "x$ac_old_val" != "x$ac_new_val"; then
1405 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1406 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1407 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1408 echo "$as_me: former value: $ac_old_val" >&2;}
1409 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1410 echo "$as_me: current value: $ac_new_val" >&2;}
1411 ac_cache_corrupted=:
1412 fi;;
1413 esac
1414 # Pass precious variables to config.status.
1415 if test "$ac_new_set" = set; then
1416 case $ac_new_val in
1417 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1418 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1419 *) ac_arg=$ac_var=$ac_new_val ;;
1420 esac
1421 case " $ac_configure_args " in
1422 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1423 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1424 esac
1426 done
1427 if $ac_cache_corrupted; then
1428 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1429 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1430 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1431 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1432 { (exit 1); exit 1; }; }
1435 ac_ext=c
1436 ac_cpp='$CPP $CPPFLAGS'
1437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1469 ac_aux_dir=
1470 for ac_dir in lib $srcdir/lib; do
1471 if test -f $ac_dir/install-sh; then
1472 ac_aux_dir=$ac_dir
1473 ac_install_sh="$ac_aux_dir/install-sh -c"
1474 break
1475 elif test -f $ac_dir/install.sh; then
1476 ac_aux_dir=$ac_dir
1477 ac_install_sh="$ac_aux_dir/install.sh -c"
1478 break
1479 elif test -f $ac_dir/shtool; then
1480 ac_aux_dir=$ac_dir
1481 ac_install_sh="$ac_aux_dir/shtool install -c"
1482 break
1484 done
1485 if test -z "$ac_aux_dir"; then
1486 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1487 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1488 { (exit 1); exit 1; }; }
1490 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1491 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1492 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1495 # Make sure we can run config.sub.
1496 $ac_config_sub sun4 >/dev/null 2>&1 ||
1497 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1498 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1499 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: checking build system type" >&5
1502 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1503 if test "${ac_cv_build+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 else
1506 ac_cv_build_alias=$build_alias
1507 test -z "$ac_cv_build_alias" &&
1508 ac_cv_build_alias=`$ac_config_guess`
1509 test -z "$ac_cv_build_alias" &&
1510 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1511 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1512 { (exit 1); exit 1; }; }
1513 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1514 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1515 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1516 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1520 echo "${ECHO_T}$ac_cv_build" >&6
1521 build=$ac_cv_build
1522 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1523 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1524 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it;
1529 # this way we can run Autoconf tests from configure without being
1530 # bothered by `missing'.
1531 am_AUTOCONF=${AUTOCONF-autoconf}
1533 am__api_version="1.8a"
1534 # Find a good install program. We prefer a C program (faster),
1535 # so one script is as good as another. But avoid the broken or
1536 # incompatible versions:
1537 # SysV /etc/install, /usr/sbin/install
1538 # SunOS /usr/etc/install
1539 # IRIX /sbin/install
1540 # AIX /bin/install
1541 # AmigaOS /C/install, which installs bootblocks on floppy discs
1542 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1543 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1544 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1545 # OS/2's system install, which has a completely different semantic
1546 # ./install, which can be erroneously created by make from ./install.sh.
1547 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1548 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1549 if test -z "$INSTALL"; then
1550 if test "${ac_cv_path_install+set}" = set; then
1551 echo $ECHO_N "(cached) $ECHO_C" >&6
1552 else
1553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1554 for as_dir in $PATH
1556 IFS=$as_save_IFS
1557 test -z "$as_dir" && as_dir=.
1558 # Account for people who put trailing slashes in PATH elements.
1559 case $as_dir/ in
1560 ./ | .// | /cC/* | \
1561 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1562 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1563 /usr/ucb/* ) ;;
1565 # OSF1 and SCO ODT 3.0 have their own names for install.
1566 # Don't use installbsd from OSF since it installs stuff as root
1567 # by default.
1568 for ac_prog in ginstall scoinst install; do
1569 for ac_exec_ext in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1571 if test $ac_prog = install &&
1572 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1573 # AIX install. It has an incompatible calling convention.
1575 elif test $ac_prog = install &&
1576 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1577 # program-specific install script used by HP pwplus--don't use.
1579 else
1580 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1581 break 3
1584 done
1585 done
1587 esac
1588 done
1592 if test "${ac_cv_path_install+set}" = set; then
1593 INSTALL=$ac_cv_path_install
1594 else
1595 # As a last resort, use the slow shell script. We don't cache a
1596 # path for INSTALL within a source directory, because that will
1597 # break other packages using the cache if that directory is
1598 # removed, or if the path is relative.
1599 INSTALL=$ac_install_sh
1602 echo "$as_me:$LINENO: result: $INSTALL" >&5
1603 echo "${ECHO_T}$INSTALL" >&6
1605 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1606 # It thinks the first close brace ends the variable substitution.
1607 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1609 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1611 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1613 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1614 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1615 # Just in case
1616 sleep 1
1617 echo timestamp > conftest.file
1618 # Do `set' in a subshell so we don't clobber the current shell's
1619 # arguments. Must try -L first in case configure is actually a
1620 # symlink; some systems play weird games with the mod time of symlinks
1621 # (eg FreeBSD returns the mod time of the symlink's containing
1622 # directory).
1623 if (
1624 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1625 if test "$*" = "X"; then
1626 # -L didn't work.
1627 set X `ls -t $srcdir/configure conftest.file`
1629 rm -f conftest.file
1630 if test "$*" != "X $srcdir/configure conftest.file" \
1631 && test "$*" != "X conftest.file $srcdir/configure"; then
1633 # If neither matched, then we have a broken ls. This can happen
1634 # if, for instance, CONFIG_SHELL is bash and it inherits a
1635 # broken ls alias from the environment. This has actually
1636 # happened. Such a system could not be considered "sane".
1637 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1638 alias in your environment" >&5
1639 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1640 alias in your environment" >&2;}
1641 { (exit 1); exit 1; }; }
1644 test "$2" = conftest.file
1646 then
1647 # Ok.
1649 else
1650 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1651 Check your system clock" >&5
1652 echo "$as_me: error: newly created file is older than distributed files!
1653 Check your system clock" >&2;}
1654 { (exit 1); exit 1; }; }
1656 echo "$as_me:$LINENO: result: yes" >&5
1657 echo "${ECHO_T}yes" >&6
1658 test "$program_prefix" != NONE &&
1659 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1660 # Use a double $ so make ignores it.
1661 test "$program_suffix" != NONE &&
1662 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1663 # Double any \ or $. echo might interpret backslashes.
1664 # By default was `s,x,x', remove it if useless.
1665 cat <<\_ACEOF >conftest.sed
1666 s/[\\$]/&&/g;s/;s,x,x,$//
1667 _ACEOF
1668 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1669 rm -f conftest.sed
1671 # expand $ac_aux_dir to an absolute path
1672 am_aux_dir=`cd $ac_aux_dir && pwd`
1674 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1675 # Use eval to expand $SHELL
1676 if eval "$MISSING --run true"; then
1677 am_missing_run="$MISSING --run "
1678 else
1679 am_missing_run=
1680 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1681 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1684 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1685 # Keeping the `.' argument allows $(mkdir_p) to be used without
1686 # argument. Indeed, we sometimes output rules like
1687 # $(mkdir_p) $(somedir)
1688 # where $(somedir) is conditionally defined.
1689 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1690 # expensive solution, as it forces Make to start a sub-shell.)
1691 mkdir_p='mkdir -p -- .'
1692 else
1693 # On NextStep and OpenStep, the `mkdir' command does not
1694 # recognize any option. It will interpret all options as
1695 # directories to create, and then abort because `.' already
1696 # exists.
1697 for d in ./-p ./--version;
1699 test -d $d && rmdir $d
1700 done
1701 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1702 if test -f "$ac_aux_dir/mkinstalldirs"; then
1703 mkdir_p='$(mkinstalldirs)'
1704 else
1705 mkdir_p='$(install_sh) -d'
1709 for ac_prog in gawk mawk nawk awk
1711 # Extract the first word of "$ac_prog", so it can be a program name with args.
1712 set dummy $ac_prog; ac_word=$2
1713 echo "$as_me:$LINENO: checking for $ac_word" >&5
1714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1715 if test "${ac_cv_prog_AWK+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 else
1718 if test -n "$AWK"; then
1719 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1720 else
1721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722 for as_dir in $PATH
1724 IFS=$as_save_IFS
1725 test -z "$as_dir" && as_dir=.
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1728 ac_cv_prog_AWK="$ac_prog"
1729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 break 2
1732 done
1733 done
1737 AWK=$ac_cv_prog_AWK
1738 if test -n "$AWK"; then
1739 echo "$as_me:$LINENO: result: $AWK" >&5
1740 echo "${ECHO_T}$AWK" >&6
1741 else
1742 echo "$as_me:$LINENO: result: no" >&5
1743 echo "${ECHO_T}no" >&6
1746 test -n "$AWK" && break
1747 done
1749 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1750 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1751 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1752 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 cat >conftest.make <<\_ACEOF
1756 all:
1757 @echo 'ac_maketemp="$(MAKE)"'
1758 _ACEOF
1759 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1760 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1761 if test -n "$ac_maketemp"; then
1762 eval ac_cv_prog_make_${ac_make}_set=yes
1763 else
1764 eval ac_cv_prog_make_${ac_make}_set=no
1766 rm -f conftest.make
1768 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1769 echo "$as_me:$LINENO: result: yes" >&5
1770 echo "${ECHO_T}yes" >&6
1771 SET_MAKE=
1772 else
1773 echo "$as_me:$LINENO: result: no" >&5
1774 echo "${ECHO_T}no" >&6
1775 SET_MAKE="MAKE=${MAKE-make}"
1778 rm -rf .tst 2>/dev/null
1779 mkdir .tst 2>/dev/null
1780 if test -d .tst; then
1781 am__leading_dot=.
1782 else
1783 am__leading_dot=_
1785 rmdir .tst 2>/dev/null
1787 # test to see if srcdir already configured
1788 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1789 test -f $srcdir/config.status; then
1790 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1791 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1792 { (exit 1); exit 1; }; }
1795 # test whether we have cygpath
1796 if test -z "$CYGPATH_W"; then
1797 if (cygpath --version) >/dev/null 2>/dev/null; then
1798 CYGPATH_W='cygpath -w'
1799 else
1800 CYGPATH_W=echo
1805 # Define the identity of the package.
1806 PACKAGE='automake'
1807 VERSION='1.8a'
1810 cat >>confdefs.h <<_ACEOF
1811 #define PACKAGE "$PACKAGE"
1812 _ACEOF
1815 cat >>confdefs.h <<_ACEOF
1816 #define VERSION "$VERSION"
1817 _ACEOF
1819 # Some tools Automake needs.
1821 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1824 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1827 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1830 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1833 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1835 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1837 # Installed binaries are usually stripped using `strip' when the user
1838 # run `make install-strip'. However `strip' might not be the right
1839 # tool to use in cross-compilation environments, therefore Automake
1840 # will honor the `STRIP' environment variable to overrule this program.
1841 if test "$cross_compiling" != no; then
1842 if test -n "$ac_tool_prefix"; then
1843 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1844 set dummy ${ac_tool_prefix}strip; ac_word=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_STRIP+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1849 else
1850 if test -n "$STRIP"; then
1851 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1852 else
1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1854 for as_dir in $PATH
1856 IFS=$as_save_IFS
1857 test -z "$as_dir" && as_dir=.
1858 for ac_exec_ext in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 break 2
1864 done
1865 done
1869 STRIP=$ac_cv_prog_STRIP
1870 if test -n "$STRIP"; then
1871 echo "$as_me:$LINENO: result: $STRIP" >&5
1872 echo "${ECHO_T}$STRIP" >&6
1873 else
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1879 if test -z "$ac_cv_prog_STRIP"; then
1880 ac_ct_STRIP=$STRIP
1881 # Extract the first word of "strip", so it can be a program name with args.
1882 set dummy strip; ac_word=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888 if test -n "$ac_ct_STRIP"; then
1889 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1890 else
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 for as_dir in $PATH
1894 IFS=$as_save_IFS
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_ac_ct_STRIP="strip"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 break 2
1902 done
1903 done
1907 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1908 if test -n "$ac_ct_STRIP"; then
1909 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1910 echo "${ECHO_T}$ac_ct_STRIP" >&6
1911 else
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1916 if test "x$ac_ct_STRIP" = x; then
1917 STRIP=":"
1918 else
1919 if test "$build" != "$host"; then
1920 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1921 whose name does not start with the host triplet. If you think this
1922 configuration is useful to you, please write to autoconf@gnu.org." >&5
1923 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1924 whose name does not start with the host triplet. If you think this
1925 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1927 STRIP=$ac_ct_STRIP
1929 else
1930 STRIP="$ac_cv_prog_STRIP"
1934 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1936 # We need awk for the "check" target. The system "awk" is bad on
1937 # some platforms.
1938 # Always define AMTAR for backward compatibility.
1940 AMTAR=${AMTAR-"${am_missing_run}tar"}
1942 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1949 # The API version is the base version. We must guarantee
1950 # compatibility for all releases with the same API version.
1951 # Our current rule is that:
1952 # * All releases, including the prereleases, in an X.Y series
1953 # are compatible. So 1.5.1c is compatible with 1.5.
1954 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1955 # aren't the same.
1956 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
1959 # A versioned directory, defined here for convenience.
1960 pkgvdatadir="\${datadir}/automake-${APIVERSION}"
1963 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1964 # hence `.' is really what we want for perllibdir, libdir, and acdir.
1965 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4"
1966 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
1968 # Extract the first word of "perl", so it can be a program name with args.
1969 set dummy perl; ac_word=$2
1970 echo "$as_me:$LINENO: checking for $ac_word" >&5
1971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1972 if test "${ac_cv_path_PERL+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 else
1975 case $PERL in
1976 [\\/]* | ?:[\\/]*)
1977 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 for as_dir in $PATH
1983 IFS=$as_save_IFS
1984 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
1986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989 break 2
1991 done
1992 done
1995 esac
1997 PERL=$ac_cv_path_PERL
1999 if test -n "$PERL"; then
2000 echo "$as_me:$LINENO: result: $PERL" >&5
2001 echo "${ECHO_T}$PERL" >&6
2002 else
2003 echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6
2007 if test -z "$PERL"; then
2008 { { echo "$as_me:$LINENO: error: perl not found" >&5
2009 echo "$as_me: error: perl not found" >&2;}
2010 { (exit 1); exit 1; }; }
2012 $PERL -e 'require 5.005;' || {
2013 { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
2014 echo "$as_me: error: perl 5.005 or better is required" >&2;}
2015 { (exit 1); exit 1; }; }
2018 # The test suite will skip some tests if tex is absent.
2019 # Extract the first word of "tex", so it can be a program name with args.
2020 set dummy tex; ac_word=$2
2021 echo "$as_me:$LINENO: checking for $ac_word" >&5
2022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2023 if test "${ac_cv_prog_TEX+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 else
2026 if test -n "$TEX"; then
2027 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2028 else
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 for as_dir in $PATH
2032 IFS=$as_save_IFS
2033 test -z "$as_dir" && as_dir=.
2034 for ac_exec_ext in '' $ac_executable_extensions; do
2035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2036 ac_cv_prog_TEX="tex"
2037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2038 break 2
2040 done
2041 done
2045 TEX=$ac_cv_prog_TEX
2046 if test -n "$TEX"; then
2047 echo "$as_me:$LINENO: result: $TEX" >&5
2048 echo "${ECHO_T}$TEX" >&6
2049 else
2050 echo "$as_me:$LINENO: result: no" >&5
2051 echo "${ECHO_T}no" >&6
2055 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2056 # deletion of any files created (such as those added to
2057 # autom4te.cache). We used to perform only the last of the three
2058 # following tests, but some users were unable to figure out that their
2059 # installation was broken since --version appeared to work.
2061 echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2062 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6
2063 if test "${am_cv_autoconf_installed+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 else
2066 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2067 (eval $am_AUTOCONF --version) >&5 2>&5
2068 ac_status=$?
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); };
2071 then
2072 am_cv_autoconf_installed=yes
2073 else
2074 am_cv_autoconf_installed=no
2077 echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2078 echo "${ECHO_T}$am_cv_autoconf_installed" >&6
2079 if test "$am_cv_autoconf_installed" = no; then
2080 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2081 Please make sure it is installed and in your PATH." >&5
2082 echo "$as_me: error: Autoconf 2.58 or better is required.
2083 Please make sure it is installed and in your PATH." >&2;}
2084 { (exit 1); exit 1; }; }
2087 echo "$as_me:$LINENO: checking whether autoconf works" >&5
2088 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6
2089 if test "${am_cv_autoconf_works+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 else
2092 mkdir conftest
2093 echo 'AC''_INIT' > conftest/conftest.ac
2094 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2095 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2096 ac_status=$?
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); };
2099 then
2100 am_cv_autoconf_works=yes
2101 else
2102 am_cv_autoconf_works=no
2104 rm -rf conftest
2106 echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2107 echo "${ECHO_T}$am_cv_autoconf_works" >&6
2108 if test "$am_cv_autoconf_works" = no; then
2109 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2110 Please check config.log for error messages before this one." >&5
2111 echo "$as_me: error: The installed version of autoconf does not work.
2112 Please check config.log for error messages before this one." >&2;}
2113 { (exit 1); exit 1; }; }
2116 echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2117 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6
2118 if test "${am_cv_autoconf_version+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2120 else
2121 mkdir conftest
2122 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2123 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2124 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2125 ac_status=$?
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); };
2128 then
2129 am_cv_autoconf_version=yes
2130 else
2131 am_cv_autoconf_version=no
2133 rm -rf conftest
2135 echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2136 echo "${ECHO_T}$am_cv_autoconf_version" >&6
2137 if test "$am_cv_autoconf_version" = no; then
2138 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2139 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2140 { (exit 1); exit 1; }; }
2143 # Test for ln. We need use it to install the versioned binaries.
2144 echo "$as_me:$LINENO: checking whether ln works" >&5
2145 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
2146 if test "${am_cv_prog_ln+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 else
2150 rm -f conftest conftest.file
2151 : >conftest.file
2152 if ln conftest.file conftest 2>/dev/null; then
2153 am_cv_prog_ln=ln
2154 else
2155 am_cv_prog_ln='cp -p'
2157 rm -f conftest conftest.file
2160 LN=$am_cv_prog_ln
2162 result=no
2163 test "x$am_cv_prog_ln" = xln && result=yes
2164 echo "$as_me:$LINENO: result: $result" >&5
2165 echo "${ECHO_T}$result" >&6
2167 # The amount we should wait after modifying files depends on the platform.
2168 # On Windows '95, '98 and ME, files modifications have 2-seconds
2169 # granularity and can be up to 3 seconds in the future w.r.t. the
2170 # system clock. When it is important to ensure one file is older
2171 # than another we wait at least 5 seconds between creations.
2172 case $build in
2173 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2174 *) MODIFICATION_DELAY=2;;
2175 esac
2178 # Test for things needed by the test suite.
2179 echo "$as_me:$LINENO: checking for grep that handles long lines" >&5
2180 echo $ECHO_N "checking for grep that handles long lines... $ECHO_C" >&6
2181 if test "${ac_cv_path_GREP+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 else
2184 # Extract the first word of "grep ggrep" to use in msg output
2185 if test -z "$GREP"; then
2186 set dummy grep ggrep; ac_prog_name=$2
2187 if test "${ac_cv_path_GREP+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 else
2190 # Create a temporary directory, and hook for its removal unless debugging.
2191 $debug ||
2193 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2194 trap '{ (exit 1); exit 1; }' 1 2 13 15
2197 # Create a (secure) tmp directory for tmp files.
2198 : ${TMPDIR=/tmp}
2200 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/GREPXXXXXX") 2>/dev/null` &&
2201 test -n "$tmp" && test -d "$tmp"
2202 } ||
2204 tmp=$TMPDIR/GREP$$-$RANDOM
2205 (umask 077 && mkdir $tmp)
2206 } ||
2208 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2209 { (exit 1); exit 1; }
2211 ac_path_GREP_found=false
2212 # Loop through the user's path and test for each of PROGNAME-LIST
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 for as_dir in $PATH
2216 IFS=$as_save_IFS
2217 test -z "$as_dir" && as_dir=.
2218 for ac_prog in grep ggrep; do
2219 for ac_exec_ext in '' $ac_executable_extensions; do
2220 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2221 test -f "$ac_path_GREP" || continue
2222 $ac_path_GREP_found || if $as_executable_p "$ac_path_GREP"; then
2223 # Check for GNU ac_path_GREP and select it if it is found.
2224 # Check for GNU $ac_path_GREP
2225 if "$ac_path_GREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2226 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:
2227 else
2228 ac_count=0
2229 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2230 while :
2232 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2233 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2234 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2235 echo 'GREP' >> "$tmp/conftest.nl"
2236 "$ac_path_GREP" 'GREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" || break
2237 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2238 ac_count=`expr $ac_count + 1`
2239 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2240 # Best one so far, save it but keep looking for a better one
2241 ac_cv_path_GREP="$ac_path_GREP"
2242 ac_path_GREP_max=$ac_count
2244 # 10*(2^10) chars as input seems more than enough
2245 test $ac_count -gt 10 && break
2246 done
2251 $ac_path_GREP_found && break 3
2252 done
2253 done
2255 done
2257 rm -rf "$tmp"
2261 GREP="$ac_cv_path_GREP"
2262 if test -z "$GREP"; then
2263 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2264 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2265 { (exit 1); exit 1; }; }
2272 echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2273 echo "${ECHO_T}$ac_cv_path_GREP" >&6
2274 GREP="$ac_cv_path_GREP"
2277 echo "$as_me:$LINENO: checking for egrep" >&5
2278 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2279 if test "${ac_cv_path_EGREP+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 else
2282 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1
2283 then ac_cv_path_EGREP="$GREP -E"
2284 else
2285 # Extract the first word of "egrep" to use in msg output
2286 if test -z "$EGREP"; then
2287 set dummy egrep; ac_prog_name=$2
2288 if test "${ac_cv_path_EGREP+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 else
2291 # Create a temporary directory, and hook for its removal unless debugging.
2292 $debug ||
2294 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2295 trap '{ (exit 1); exit 1; }' 1 2 13 15
2298 # Create a (secure) tmp directory for tmp files.
2299 : ${TMPDIR=/tmp}
2301 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/EGREPXXXXXX") 2>/dev/null` &&
2302 test -n "$tmp" && test -d "$tmp"
2303 } ||
2305 tmp=$TMPDIR/EGREP$$-$RANDOM
2306 (umask 077 && mkdir $tmp)
2307 } ||
2309 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2310 { (exit 1); exit 1; }
2312 ac_path_EGREP_found=false
2313 # Loop through the user's path and test for each of PROGNAME-LIST
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH
2317 IFS=$as_save_IFS
2318 test -z "$as_dir" && as_dir=.
2319 for ac_prog in egrep; do
2320 for ac_exec_ext in '' $ac_executable_extensions; do
2321 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2322 test -f "$ac_path_EGREP" || continue
2323 $ac_path_EGREP_found || if $as_executable_p "$ac_path_EGREP"; then
2324 # Check for GNU ac_path_EGREP and select it if it is found.
2325 # Check for GNU $ac_path_EGREP
2326 if "$ac_path_EGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2327 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:
2328 else
2329 ac_count=0
2330 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2331 while :
2333 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2334 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2335 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2336 echo 'EGREP' >> "$tmp/conftest.nl"
2337 "$ac_path_EGREP" 'EGREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" || break
2338 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2339 ac_count=`expr $ac_count + 1`
2340 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2341 # Best one so far, save it but keep looking for a better one
2342 ac_cv_path_EGREP="$ac_path_EGREP"
2343 ac_path_EGREP_max=$ac_count
2345 # 10*(2^10) chars as input seems more than enough
2346 test $ac_count -gt 10 && break
2347 done
2352 $ac_path_EGREP_found && break 3
2353 done
2354 done
2356 done
2358 rm -rf "$tmp"
2362 EGREP="$ac_cv_path_EGREP"
2363 if test -z "$EGREP"; then
2364 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2365 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2366 { (exit 1); exit 1; }; }
2374 echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2375 echo "${ECHO_T}$ac_cv_path_EGREP" >&6
2376 EGREP="$ac_cv_path_EGREP"
2379 echo "$as_me:$LINENO: checking for fgrep" >&5
2380 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
2381 if test "${ac_cv_path_FGREP+set}" = set; then
2382 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 else
2384 if echo 'ab*c' | ($GREP -F 'ab*c') >/dev/null 2>&1
2385 then ac_cv_path_FGREP="$GREP -F"
2386 else
2387 # Extract the first word of "fgrep" to use in msg output
2388 if test -z "$FGREP"; then
2389 set dummy fgrep; ac_prog_name=$2
2390 if test "${ac_cv_path_FGREP+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2392 else
2393 # Create a temporary directory, and hook for its removal unless debugging.
2394 $debug ||
2396 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2397 trap '{ (exit 1); exit 1; }' 1 2 13 15
2400 # Create a (secure) tmp directory for tmp files.
2401 : ${TMPDIR=/tmp}
2403 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/FGREPXXXXXX") 2>/dev/null` &&
2404 test -n "$tmp" && test -d "$tmp"
2405 } ||
2407 tmp=$TMPDIR/FGREP$$-$RANDOM
2408 (umask 077 && mkdir $tmp)
2409 } ||
2411 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2412 { (exit 1); exit 1; }
2414 ac_path_FGREP_found=false
2415 # Loop through the user's path and test for each of PROGNAME-LIST
2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 for as_dir in $PATH
2419 IFS=$as_save_IFS
2420 test -z "$as_dir" && as_dir=.
2421 for ac_prog in fgrep; do
2422 for ac_exec_ext in '' $ac_executable_extensions; do
2423 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2424 test -f "$ac_path_FGREP" || continue
2425 $ac_path_FGREP_found || if $as_executable_p "$ac_path_FGREP"; then
2426 # Check for GNU ac_path_FGREP and select it if it is found.
2427 # Check for GNU $ac_path_FGREP
2428 if "$ac_path_FGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2429 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:
2430 else
2431 ac_count=0
2432 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2433 while :
2435 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2436 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2437 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2438 echo 'FGREP' >> "$tmp/conftest.nl"
2439 "$ac_path_FGREP" 'FGREP' < "$tmp/conftest.nl" >"$tmp/conftest.out" || break
2440 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2441 ac_count=`expr $ac_count + 1`
2442 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2443 # Best one so far, save it but keep looking for a better one
2444 ac_cv_path_FGREP="$ac_path_FGREP"
2445 ac_path_FGREP_max=$ac_count
2447 # 10*(2^10) chars as input seems more than enough
2448 test $ac_count -gt 10 && break
2449 done
2454 $ac_path_FGREP_found && break 3
2455 done
2456 done
2458 done
2460 rm -rf "$tmp"
2464 FGREP="$ac_cv_path_FGREP"
2465 if test -z "$FGREP"; then
2466 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
2467 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
2468 { (exit 1); exit 1; }; }
2476 echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2477 echo "${ECHO_T}$ac_cv_path_FGREP" >&6
2478 FGREP="$ac_cv_path_FGREP"
2482 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"
2484 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2486 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2489 cat >confcache <<\_ACEOF
2490 # This file is a shell script that caches the results of configure
2491 # tests run on this system so they can be shared between configure
2492 # scripts and configure runs, see configure's option --config-cache.
2493 # It is not useful on other systems. If it contains results you don't
2494 # want to keep, you may remove or edit it.
2496 # config.status only pays attention to the cache file if you give it
2497 # the --recheck option to rerun configure.
2499 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2500 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2501 # following values.
2503 _ACEOF
2505 # The following way of writing the cache mishandles newlines in values,
2506 # but we know of no workaround that is simple, portable, and efficient.
2507 # So, don't put newlines in cache variables' values.
2508 # Ultrix sh set writes to stderr and can't be redirected directly,
2509 # and sets the high bit in the cache file unless we assign to the vars.
2511 (set) 2>&1 |
2512 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2513 *ac_space=\ *)
2514 # `set' does not quote correctly, so add quotes (double-quote
2515 # substitution turns \\\\ into \\, and sed turns \\ into \).
2516 sed -n \
2517 "s/'/'\\\\''/g;
2518 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2521 # `set' quotes correctly as required by POSIX, so do not add quotes.
2522 sed -n \
2523 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2525 esac;
2527 sed '
2528 t clear
2529 : clear
2530 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2531 t end
2532 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2533 : end' >>confcache
2534 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2535 if test -w $cache_file; then
2536 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2537 cat confcache >$cache_file
2538 else
2539 echo "not updating unwritable cache $cache_file"
2542 rm -f confcache
2544 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2545 # Let make expand exec_prefix.
2546 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2548 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2549 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2550 # trailing colons and then remove the whole line if VPATH becomes empty
2551 # (actually we leave an empty line to preserve line numbers).
2552 if test "x$srcdir" = x.; then
2553 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2554 s/:*\$(srcdir):*/:/;
2555 s/:*\${srcdir}:*/:/;
2556 s/:*@srcdir@:*/:/;
2557 s/^\([^=]*=[ ]*\):*/\1/;
2558 s/:*$//;
2559 s/^[^=]*=[ ]*$//;
2563 # Transform confdefs.h into DEFS.
2564 # Protect against shell expansion while executing Makefile rules.
2565 # Protect against Makefile macro expansion.
2567 # If the first sed substitution is executed (which looks for macros that
2568 # take arguments), then we branch to the quote section. Otherwise,
2569 # look for a macro that doesn't take arguments.
2570 cat >confdef2opt.sed <<\_ACEOF
2571 t clear
2572 : clear
2573 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2574 t quote
2575 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2576 t quote
2578 : quote
2579 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2580 s,\[,\\&,g
2581 s,\],\\&,g
2582 s,\$,$$,g
2584 _ACEOF
2585 # We use echo to avoid assuming a particular line-breaking character.
2586 # The extra dot is to prevent the shell from consuming trailing
2587 # line-breaks from the sub-command output. A line-break within
2588 # single-quotes doesn't work because, if this script is created in a
2589 # platform that uses two characters for line-breaks (e.g., DOS), tr
2590 # would break.
2591 ac_LF_and_DOT=`echo; echo .`
2592 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2593 rm -f confdef2opt.sed
2596 ac_libobjs=
2597 ac_ltlibobjs=
2598 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2599 # 1. Remove the extension, and $U if already installed.
2600 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2601 ac_i=`echo "$ac_i" | sed "$ac_script"`
2602 # 2. Add them.
2603 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2604 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2605 done
2606 LIBOBJS=$ac_libobjs
2608 LTLIBOBJS=$ac_ltlibobjs
2612 : ${CONFIG_STATUS=./config.status}
2613 ac_clean_files_save=$ac_clean_files
2614 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2615 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2616 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2617 cat >$CONFIG_STATUS <<_ACEOF
2618 #! $SHELL
2619 # Generated by $as_me.
2620 # Run this file to recreate the current configuration.
2621 # Compiler output produced by configure, useful for debugging
2622 # configure, is in config.log if it exists.
2624 debug=false
2625 ac_cs_recheck=false
2626 ac_cs_silent=false
2627 SHELL=\${CONFIG_SHELL-$SHELL}
2628 _ACEOF
2630 cat >>$CONFIG_STATUS <<\_ACEOF
2631 ## --------------------- ##
2632 ## M4sh Initialization. ##
2633 ## --------------------- ##
2635 # Be Bourne compatible
2636 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2637 emulate sh
2638 NULLCMD=:
2639 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2640 # is contrary to our usage. Disable this feature.
2641 alias -g '${1+"$@"}'='"$@"'
2642 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2643 set -o posix
2645 DUALCASE=1; export DUALCASE # for MKS sh
2648 # PATH needs CR
2649 # Avoid depending upon Character Ranges.
2650 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2651 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2652 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2653 as_cr_digits='0123456789'
2654 as_cr_alnum=$as_cr_Letters$as_cr_digits
2656 # The user is always right.
2657 if test "${PATH_SEPARATOR+set}" != set; then
2658 echo "#! /bin/sh" >conf$$.sh
2659 echo "exit 0" >>conf$$.sh
2660 chmod +x conf$$.sh
2661 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2662 PATH_SEPARATOR=';'
2663 else
2664 PATH_SEPARATOR=:
2666 rm -f conf$$.sh
2669 # Support unset when possible.
2670 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2671 as_unset=unset
2672 else
2673 as_unset=false
2677 # Find who we are. Look in the path if we contain no path at all
2678 # relative or not.
2679 case $0 in
2680 *[\\/]* ) as_myself=$0 ;;
2681 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 for as_dir in $PATH
2684 IFS=$as_save_IFS
2685 test -z "$as_dir" && as_dir=.
2686 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2687 done
2690 esac
2691 # We did not find ourselves, most probably we were run as `sh COMMAND'
2692 # in which case we are not to be found in the path.
2693 if test "x$as_myself" = x; then
2694 as_myself=$0
2696 if test ! -f "$as_myself"; then
2697 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2698 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2699 { (exit 1); exit 1; }; }
2702 # Work around bugs in pre-3.0 UWIN ksh.
2703 $as_unset ENV MAIL MAILPATH
2704 PS1='$ '
2705 PS2='> '
2706 PS4='+ '
2708 # NLS nuisances.
2709 for as_var in \
2710 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2711 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2712 LC_TELEPHONE LC_TIME
2714 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2715 eval $as_var=C; export $as_var
2716 else
2717 $as_unset $as_var
2719 done
2721 # Required to use basename.
2722 if expr a : '\(a\)' >/dev/null 2>&1; then
2723 as_expr=expr
2724 else
2725 as_expr=false
2728 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2729 as_basename=basename
2730 else
2731 as_basename=false
2735 # Name of the executable.
2736 as_me=`$as_basename "$0" ||
2737 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2738 X"$0" : 'X\(//\)$' \| \
2739 X"$0" : 'X\(/\)$' \| \
2740 . : '\(.\)' 2>/dev/null ||
2741 echo X/"$0" |
2742 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2743 /^X\/\(\/\/\)$/{ s//\1/; q; }
2744 /^X\/\(\/\).*/{ s//\1/; q; }
2745 s/.*/./; q'`
2750 as_lineno_1=$LINENO
2751 as_lineno_2=$LINENO
2752 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2753 test "x$as_lineno_1" != "x$as_lineno_2" &&
2754 test "x$as_lineno_3" = "x$as_lineno_2" || {
2756 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2757 # uniformly replaced by the line number. The first 'sed' inserts a
2758 # line-number line after each line using $LINENO; the second 'sed'
2759 # does the real work. The second script uses 'N' to pair each
2760 # line-number line with the line containing $LINENO, and appends
2761 # trailing '-' during substitution so that $LINENO is not a special
2762 # case at line end.
2763 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2764 # scripts with optimization help from Paolo Bonzini. Blame Lee
2765 # E. McMahon (1931-1989) for sed's syntax. :-)
2766 sed -n '
2768 /[$]LINENO/=
2769 ' <$as_myself |
2770 sed '
2771 s,[$]LINENO.*,&-,
2772 t lineno
2774 : lineno
2776 : loop
2777 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2778 t loop
2779 s,-\n.*,,
2780 ' >$as_me.lineno &&
2781 chmod +x $as_me.lineno ||
2782 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2783 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2784 { (exit 1); exit 1; }; }
2786 # Don't try to exec as it changes $[0], causing all sort of problems
2787 # (the dirname of $[0] is not the place where we might find the
2788 # original and so on. Autoconf is especially sensible to this).
2789 . ./$as_me.lineno
2790 # Exit status is that of the last command.
2791 exit
2795 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2796 *c*,-n*) ECHO_N= ECHO_C='
2797 ' ECHO_T=' ' ;;
2798 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2799 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2800 esac
2802 if expr a : '\(a\)' >/dev/null 2>&1; then
2803 as_expr=expr
2804 else
2805 as_expr=false
2808 rm -f conf$$ conf$$.exe conf$$.file
2809 echo >conf$$.file
2810 if ln -s conf$$.file conf$$ 2>/dev/null; then
2811 # We could just check for DJGPP; but this test a) works b) is more generic
2812 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2813 if test -f conf$$.exe; then
2814 # Don't use ln at all; we don't have any links
2815 as_ln_s='cp -p'
2816 else
2817 as_ln_s='ln -s'
2819 elif ln conf$$.file conf$$ 2>/dev/null; then
2820 as_ln_s=ln
2821 else
2822 as_ln_s='cp -p'
2824 rm -f conf$$ conf$$.exe conf$$.file
2826 if mkdir -p . 2>/dev/null; then
2827 as_mkdir_p=:
2828 else
2829 test -d ./-p && rmdir ./-p
2830 as_mkdir_p=false
2833 as_executable_p="test -f"
2835 # Sed expression to map a string onto a valid CPP name.
2836 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2838 # Sed expression to map a string onto a valid variable name.
2839 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2842 # IFS
2843 # We need space, tab and new line, in precisely that order.
2844 as_nl='
2846 IFS=" $as_nl"
2848 # CDPATH.
2849 $as_unset CDPATH
2851 exec 6>&1
2853 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2854 # report actual input values of CONFIG_FILES etc. instead of their
2855 # values after options handling. Logging --version etc. is OK.
2856 exec 5>>config.log
2858 echo
2859 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2860 ## Running $as_me. ##
2861 _ASBOX
2862 } >&5
2863 cat >&5 <<_CSEOF
2865 This file was extended by GNU Automake $as_me 1.8a, which was
2866 generated by GNU Autoconf 2.59a. Invocation command line was
2868 CONFIG_FILES = $CONFIG_FILES
2869 CONFIG_HEADERS = $CONFIG_HEADERS
2870 CONFIG_LINKS = $CONFIG_LINKS
2871 CONFIG_COMMANDS = $CONFIG_COMMANDS
2872 $ $0 $@
2874 _CSEOF
2875 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2876 echo >&5
2877 _ACEOF
2879 # Files that config.status was made for.
2880 if test -n "$ac_config_files"; then
2881 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2884 if test -n "$ac_config_headers"; then
2885 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2888 if test -n "$ac_config_links"; then
2889 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2892 if test -n "$ac_config_commands"; then
2893 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2896 cat >>$CONFIG_STATUS <<\_ACEOF
2898 ac_cs_usage="\
2899 \`$as_me' instantiates files from templates according to the
2900 current configuration.
2902 Usage: $0 [OPTIONS] [FILE]...
2904 -h, --help print this help, then exit
2905 -V, --version print version number, then exit
2906 -q, --quiet do not print progress messages
2907 -d, --debug don't remove temporary files
2908 --recheck update $as_me by reconfiguring in the same conditions
2909 --file=FILE[:TEMPLATE]
2910 instantiate the configuration file FILE
2912 Configuration files:
2913 $config_files
2915 Report bugs to <bug-autoconf@gnu.org>."
2916 _ACEOF
2918 cat >>$CONFIG_STATUS <<_ACEOF
2919 ac_cs_version="\\
2920 GNU Automake config.status 1.8a
2921 configured by $0, generated by GNU Autoconf 2.59a,
2922 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2924 Copyright (C) 2004 Free Software Foundation, Inc.
2925 This config.status script is free software; the Free Software Foundation
2926 gives unlimited permission to copy, distribute and modify it."
2927 srcdir=$srcdir
2928 INSTALL="$INSTALL"
2929 _ACEOF
2931 cat >>$CONFIG_STATUS <<\_ACEOF
2932 # If no file are specified by the user, then we need to provide default
2933 # value. By we need to know if files were specified by the user.
2934 ac_need_defaults=:
2935 while test $# != 0
2937 case $1 in
2938 --*=*)
2939 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2940 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2941 ac_shift=:
2944 ac_option=$1
2945 ac_optarg=$2
2946 ac_shift=shift
2948 *) # This is not an option, so the user has probably given explicit
2949 # arguments.
2950 ac_option=$1
2951 ac_need_defaults=false;;
2952 esac
2954 case $ac_option in
2955 # Handling of the options.
2956 _ACEOF
2957 cat >>$CONFIG_STATUS <<\_ACEOF
2958 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2959 ac_cs_recheck=: ;;
2960 --version | --vers* | -V )
2961 echo "$ac_cs_version"; exit 0 ;;
2962 --he | --h)
2963 # Conflict between --help and --header
2964 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2965 Try \`$0 --help' for more information." >&5
2966 echo "$as_me: error: ambiguous option: $1
2967 Try \`$0 --help' for more information." >&2;}
2968 { (exit 1); exit 1; }; };;
2969 --help | --hel | -h )
2970 echo "$ac_cs_usage"; exit 0 ;;
2971 --debug | --d* | -d )
2972 debug=: ;;
2973 --file | --fil | --fi | --f )
2974 $ac_shift
2975 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2976 ac_need_defaults=false;;
2977 --header | --heade | --head | --hea )
2978 $ac_shift
2979 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2980 ac_need_defaults=false;;
2981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2982 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2983 ac_cs_silent=: ;;
2985 # This is an error.
2986 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2987 Try \`$0 --help' for more information." >&5
2988 echo "$as_me: error: unrecognized option: $1
2989 Try \`$0 --help' for more information." >&2;}
2990 { (exit 1); exit 1; }; } ;;
2992 *) ac_config_targets="$ac_config_targets $1" ;;
2994 esac
2995 shift
2996 done
2998 ac_configure_extra_args=
3000 if $ac_cs_silent; then
3001 exec 6>/dev/null
3002 ac_configure_extra_args="$ac_configure_extra_args --silent"
3005 _ACEOF
3006 cat >>$CONFIG_STATUS <<_ACEOF
3007 if \$ac_cs_recheck; then
3008 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3009 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3012 _ACEOF
3014 cat >>$CONFIG_STATUS <<_ACEOF
3016 # INIT-COMMANDS section.
3019 APIVERSION=$APIVERSION
3021 _ACEOF
3025 cat >>$CONFIG_STATUS <<\_ACEOF
3026 for ac_config_target in $ac_config_targets
3028 case "$ac_config_target" in
3029 # Handling of arguments.
3030 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3031 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3032 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3033 "lib/Automake/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3034 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3035 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3036 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3037 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3038 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3039 "tests/aclocal-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3040 "tests/automake-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3041 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3042 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3043 { (exit 1); exit 1; }; };;
3044 esac
3045 done
3047 # If the user did not use the arguments to specify the items to instantiate,
3048 # then the envvar interface is used. Set only those that are not.
3049 # We use the long form for the default assignment because of an extremely
3050 # bizarre bug on SunOS 4.1.3.
3051 if $ac_need_defaults; then
3052 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3055 # Have a temporary directory for convenience. Make it in the build tree
3056 # simply because there is no reason to put it here, and in addition,
3057 # creating and moving files from /tmp can sometimes cause problems.
3058 # Create a temporary directory, and hook for its removal unless debugging.
3059 $debug ||
3061 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
3062 trap '{ (exit 1); exit 1; }' 1 2 13 15
3065 # Create a (secure) tmp directory for tmp files.
3068 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3069 test -n "$tmp" && test -d "$tmp"
3070 } ||
3072 tmp=./confstat$$-$RANDOM
3073 (umask 077 && mkdir $tmp)
3074 } ||
3076 echo "$me: cannot create a temporary directory in ." >&2
3077 { (exit 1); exit 1; }
3080 _ACEOF
3082 cat >>$CONFIG_STATUS <<_ACEOF
3085 # CONFIG_FILES section.
3088 # No need to generate the scripts if there are no CONFIG_FILES.
3089 # This happens for instance when ./config.status config.h
3090 if test -n "\$CONFIG_FILES"; then
3091 # Protect against being on the right side of a sed subst in config.status.
3092 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3093 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3094 s,@SHELL@,$SHELL,;t t
3095 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3096 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3097 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3098 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3099 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3100 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3101 s,@exec_prefix@,$exec_prefix,;t t
3102 s,@prefix@,$prefix,;t t
3103 s,@program_transform_name@,$program_transform_name,;t t
3104 s,@bindir@,$bindir,;t t
3105 s,@sbindir@,$sbindir,;t t
3106 s,@libexecdir@,$libexecdir,;t t
3107 s,@datadir@,$datadir,;t t
3108 s,@sysconfdir@,$sysconfdir,;t t
3109 s,@sharedstatedir@,$sharedstatedir,;t t
3110 s,@localstatedir@,$localstatedir,;t t
3111 s,@libdir@,$libdir,;t t
3112 s,@includedir@,$includedir,;t t
3113 s,@oldincludedir@,$oldincludedir,;t t
3114 s,@infodir@,$infodir,;t t
3115 s,@mandir@,$mandir,;t t
3116 s,@build_alias@,$build_alias,;t t
3117 s,@host_alias@,$host_alias,;t t
3118 s,@target_alias@,$target_alias,;t t
3119 s,@DEFS@,$DEFS,;t t
3120 s,@ECHO_C@,$ECHO_C,;t t
3121 s,@ECHO_N@,$ECHO_N,;t t
3122 s,@ECHO_T@,$ECHO_T,;t t
3123 s,@LIBS@,$LIBS,;t t
3124 s,@build@,$build,;t t
3125 s,@build_cpu@,$build_cpu,;t t
3126 s,@build_vendor@,$build_vendor,;t t
3127 s,@build_os@,$build_os,;t t
3128 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3129 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3130 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3131 s,@CYGPATH_W@,$CYGPATH_W,;t t
3132 s,@PACKAGE@,$PACKAGE,;t t
3133 s,@VERSION@,$VERSION,;t t
3134 s,@ACLOCAL@,$ACLOCAL,;t t
3135 s,@AUTOCONF@,$AUTOCONF,;t t
3136 s,@AUTOMAKE@,$AUTOMAKE,;t t
3137 s,@AUTOHEADER@,$AUTOHEADER,;t t
3138 s,@MAKEINFO@,$MAKEINFO,;t t
3139 s,@install_sh@,$install_sh,;t t
3140 s,@STRIP@,$STRIP,;t t
3141 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3142 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3143 s,@mkdir_p@,$mkdir_p,;t t
3144 s,@AWK@,$AWK,;t t
3145 s,@SET_MAKE@,$SET_MAKE,;t t
3146 s,@am__leading_dot@,$am__leading_dot,;t t
3147 s,@AMTAR@,$AMTAR,;t t
3148 s,@am__tar@,$am__tar,;t t
3149 s,@am__untar@,$am__untar,;t t
3150 s,@APIVERSION@,$APIVERSION,;t t
3151 s,@pkgvdatadir@,$pkgvdatadir,;t t
3152 s,@PERL@,$PERL,;t t
3153 s,@TEX@,$TEX,;t t
3154 s,@LN@,$LN,;t t
3155 s,@MODIFICATION_DELAY@,$MODIFICATION_DELAY,;t t
3156 s,@GREP@,$GREP,;t t
3157 s,@EGREP@,$EGREP,;t t
3158 s,@FGREP@,$FGREP,;t t
3159 s,@LIBOBJS@,$LIBOBJS,;t t
3160 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3161 CEOF
3163 _ACEOF
3165 cat >>$CONFIG_STATUS <<\_ACEOF
3166 # Split the substitutions into bite-sized pieces for seds with
3167 # small command number limits, like on Digital OSF/1 and HP-UX.
3168 ac_max_sed_lines=48
3169 ac_sed_frag=1 # Number of current file.
3170 ac_beg=1 # First line for current file.
3171 ac_end=$ac_max_sed_lines # Line after last line for current file.
3172 ac_more_lines=:
3173 ac_sed_cmds=
3174 while $ac_more_lines; do
3175 if test $ac_beg -gt 1; then
3176 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3177 else
3178 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3180 if test ! -s $tmp/subs.frag; then
3181 ac_more_lines=false
3182 else
3183 # The purpose of the label and of the branching condition is to
3184 # speed up the sed processing (if there are no `@' at all, there
3185 # is no need to browse any of the substitutions).
3186 # These are the two extra sed commands mentioned above.
3187 (echo ':t
3188 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3189 if test -z "$ac_sed_cmds"; then
3190 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3191 else
3192 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3194 ac_sed_frag=`expr $ac_sed_frag + 1`
3195 ac_beg=$ac_end
3196 ac_end=`expr $ac_end + $ac_max_sed_lines`
3198 done
3199 if test -z "$ac_sed_cmds"; then
3200 ac_sed_cmds=cat
3202 fi # test -n "$CONFIG_FILES"
3204 _ACEOF
3205 cat >>$CONFIG_STATUS <<\_ACEOF
3206 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3207 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3208 case $ac_file in
3209 - | *:- | *:-:* ) # input from stdin
3210 cat >$tmp/stdin
3211 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3212 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3213 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3214 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3215 * ) ac_file_in=$ac_file.in ;;
3216 esac
3218 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3219 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3220 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3221 X"$ac_file" : 'X\(//\)[^/]' \| \
3222 X"$ac_file" : 'X\(//\)$' \| \
3223 X"$ac_file" : 'X\(/\)' \| \
3224 . : '\(.\)' 2>/dev/null ||
3225 echo X"$ac_file" |
3226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3227 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3228 /^X\(\/\/\)$/{ s//\1/; q; }
3229 /^X\(\/\).*/{ s//\1/; q; }
3230 s/.*/./; q'`
3231 { if $as_mkdir_p; then
3232 test -d "$ac_dir" || mkdir -p "$ac_dir"
3233 else
3234 as_dir="$ac_dir"
3235 as_dirs=
3236 while test ! -d "$as_dir"; do
3237 as_dirs="$as_dir $as_dirs"
3238 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3240 X"$as_dir" : 'X\(//\)[^/]' \| \
3241 X"$as_dir" : 'X\(//\)$' \| \
3242 X"$as_dir" : 'X\(/\)' \| \
3243 . : '\(.\)' 2>/dev/null ||
3244 echo X"$as_dir" |
3245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3247 /^X\(\/\/\)$/{ s//\1/; q; }
3248 /^X\(\/\).*/{ s//\1/; q; }
3249 s/.*/./; q'`
3250 done
3251 test ! -n "$as_dirs" || mkdir $as_dirs
3252 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3253 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3254 { (exit 1); exit 1; }; }; }
3256 ac_builddir=.
3258 if test "$ac_dir" != .; then
3259 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3260 # A "../" for each directory in $ac_dir_suffix.
3261 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3262 else
3263 ac_dir_suffix= ac_top_builddir=
3266 case $srcdir in
3267 .) # No --srcdir option. We are building in place.
3268 ac_srcdir=.
3269 if test -z "$ac_top_builddir"; then
3270 ac_top_srcdir=.
3271 else
3272 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3273 fi ;;
3274 [\\/]* | ?:[\\/]* ) # Absolute path.
3275 ac_srcdir=$srcdir$ac_dir_suffix;
3276 ac_top_srcdir=$srcdir ;;
3277 *) # Relative path.
3278 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3279 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3280 esac
3282 # Do not use `cd foo && pwd` to compute absolute paths, because
3283 # the directories may not exist.
3284 case `pwd` in
3285 .) ac_abs_builddir="$ac_dir";;
3287 case "$ac_dir" in
3288 .) ac_abs_builddir=`pwd`;;
3289 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3290 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3291 esac;;
3292 esac
3293 case $ac_abs_builddir in
3294 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3296 case ${ac_top_builddir}. in
3297 .) ac_abs_top_builddir=$ac_abs_builddir;;
3298 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3299 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3300 esac;;
3301 esac
3302 case $ac_abs_builddir in
3303 .) ac_abs_srcdir=$ac_srcdir;;
3305 case $ac_srcdir in
3306 .) ac_abs_srcdir=$ac_abs_builddir;;
3307 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3308 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3309 esac;;
3310 esac
3311 case $ac_abs_builddir in
3312 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3314 case $ac_top_srcdir in
3315 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3316 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3317 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3318 esac;;
3319 esac
3322 case $INSTALL in
3323 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3324 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3325 esac
3327 if test x"$ac_file" != x-; then
3328 { echo "$as_me:$LINENO: creating $ac_file" >&5
3329 echo "$as_me: creating $ac_file" >&6;}
3330 rm -f "$ac_file"
3332 # Let's still pretend it is `configure' which instantiates (i.e., don't
3333 # use $as_me), people would be surprised to read:
3334 # /* config.h. Generated by config.status. */
3335 if test x"$ac_file" = x-; then
3336 configure_input=
3337 else
3338 configure_input="$ac_file. "
3340 configure_input=$configure_input"Generated from `echo $ac_file_in |
3341 sed 's,.*/,,'` by configure."
3343 # First look for the input files in the build tree, otherwise in the
3344 # src tree.
3345 ac_file_inputs=`IFS=:
3346 for f in $ac_file_in; do
3347 case $f in
3348 -) echo $tmp/stdin ;;
3349 [\\/$]*)
3350 # Absolute (can't be DOS-style, as IFS=:)
3351 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3352 echo "$as_me: error: cannot find input file: $f" >&2;}
3353 { (exit 1); exit 1; }; }
3354 echo "$f";;
3355 *) # Relative
3356 if test -f "$f"; then
3357 # Build tree
3358 echo "$f"
3359 elif test -f "$srcdir/$f"; then
3360 # Source tree
3361 echo "$srcdir/$f"
3362 else
3363 # /dev/null tree
3364 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3365 echo "$as_me: error: cannot find input file: $f" >&2;}
3366 { (exit 1); exit 1; }; }
3367 fi;;
3368 esac
3369 done` || { (exit 1); exit 1; }
3370 _ACEOF
3371 cat >>$CONFIG_STATUS <<_ACEOF
3372 sed "$ac_vpsub
3373 $extrasub
3374 _ACEOF
3375 cat >>$CONFIG_STATUS <<\_ACEOF
3377 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3378 s,@configure_input@,$configure_input,;t t
3379 s,@srcdir@,$ac_srcdir,;t t
3380 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3381 s,@top_srcdir@,$ac_top_srcdir,;t t
3382 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3383 s,@builddir@,$ac_builddir,;t t
3384 s,@abs_builddir@,$ac_abs_builddir,;t t
3385 s,@top_builddir@,$ac_top_builddir,;t t
3386 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3387 s,@INSTALL@,$ac_INSTALL,;t t
3388 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3389 rm -f $tmp/stdin
3390 if test x"$ac_file" != x-; then
3391 mv $tmp/out $ac_file
3392 else
3393 cat $tmp/out
3394 rm -f $tmp/out
3397 # Run the commands associated with the file.
3398 case $ac_file in
3399 tests/aclocal-${APIVERSION} ) chmod +x tests/aclocal-${APIVERSION} ;;
3400 tests/automake-${APIVERSION} ) chmod +x tests/automake-${APIVERSION} ;;
3401 esac
3402 done
3403 _ACEOF
3405 cat >>$CONFIG_STATUS <<\_ACEOF
3407 { (exit 0); exit 0; }
3408 _ACEOF
3409 chmod +x $CONFIG_STATUS
3410 ac_clean_files=$ac_clean_files_save
3413 # configure is writing to config.log, and then calls config.status.
3414 # config.status does its own redirection, appending to config.log.
3415 # Unfortunately, on DOS this fails, as config.log is still kept open
3416 # by configure, so config.status won't be able to write to it; its
3417 # output is simply discarded. So we exec the FD to /dev/null,
3418 # effectively closing config.log, so it can be properly (re)opened and
3419 # appended to by config.status. When coming back to configure, we
3420 # need to make the FD available again.
3421 if test "$no_create" != yes; then
3422 ac_cs_success=:
3423 ac_config_status_args=
3424 test "$silent" = yes &&
3425 ac_config_status_args="$ac_config_status_args --quiet"
3426 exec 5>/dev/null
3427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3428 exec 5>>config.log
3429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3430 # would make configure fail if this is the last instruction.
3431 $ac_cs_success || { (exit 1); exit 1; }